2017-07-20 10:25:32 +02:00
|
|
|
@import "constants";
|
2017-06-14 17:39:46 +02:00
|
|
|
@import "colors";
|
2019-11-14 09:22:02 +01:00
|
|
|
@import "placeholders";
|
2017-06-14 17:39:46 +02:00
|
|
|
|
|
|
|
.form {
|
2017-06-20 10:09:19 +02:00
|
|
|
h1 {
|
|
|
|
text-align: center;
|
|
|
|
margin-bottom: 20px;
|
2019-01-16 11:57:58 +01:00
|
|
|
|
|
|
|
@media (max-width: $two-columns-breakpoint) {
|
2019-04-01 15:04:11 +02:00
|
|
|
font-size: 26px;
|
2019-01-16 11:57:58 +01:00
|
|
|
}
|
2017-06-20 10:09:19 +02:00
|
|
|
}
|
|
|
|
|
2018-07-11 17:11:19 +02:00
|
|
|
hr {
|
|
|
|
width: 100%;
|
|
|
|
height: 0;
|
|
|
|
margin-top: $default-padding;
|
2020-02-10 15:59:00 +01:00
|
|
|
margin-bottom: $default-fields-spacer;
|
2018-07-11 17:11:19 +02:00
|
|
|
border: none;
|
2020-02-10 14:46:45 +01:00
|
|
|
border-bottom: 2px solid $border-grey;
|
2018-07-11 17:11:19 +02:00
|
|
|
}
|
|
|
|
|
2017-12-07 14:37:34 +01:00
|
|
|
@mixin notice-text-style {
|
2020-02-10 16:00:01 +01:00
|
|
|
font-size: 16px;
|
2020-06-11 14:33:15 +02:00
|
|
|
color: $dark-grey;
|
2017-12-07 14:37:34 +01:00
|
|
|
}
|
|
|
|
|
2018-07-09 18:29:32 +02:00
|
|
|
.mandatory {
|
|
|
|
color: $dark-red;
|
|
|
|
}
|
|
|
|
|
2017-06-14 17:39:46 +02:00
|
|
|
label {
|
2020-02-10 16:00:01 +01:00
|
|
|
font-size: 18px;
|
2017-08-02 15:29:12 +02:00
|
|
|
margin-bottom: $default-padding;
|
|
|
|
display: block;
|
2018-02-21 18:32:07 +01:00
|
|
|
font-weight: bold;
|
2017-08-02 15:29:12 +02:00
|
|
|
|
2018-02-08 17:13:15 +01:00
|
|
|
&.required {
|
|
|
|
&::after {
|
|
|
|
color: $dark-red;
|
|
|
|
content: " *";
|
|
|
|
}
|
|
|
|
}
|
2017-12-07 14:37:34 +01:00
|
|
|
}
|
|
|
|
|
2020-03-23 16:11:20 +01:00
|
|
|
.form-label {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 18px;
|
|
|
|
margin-bottom: $default-padding;
|
|
|
|
}
|
|
|
|
|
2019-11-20 18:16:30 +01:00
|
|
|
.notice {
|
|
|
|
@include notice-text-style;
|
|
|
|
margin-top: - $default-spacer;
|
|
|
|
margin-bottom: $default-padding;
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin-bottom: $default-spacer;
|
|
|
|
}
|
2020-02-29 03:49:31 +01:00
|
|
|
|
|
|
|
input[type='date'] {
|
|
|
|
display: inline;
|
|
|
|
}
|
2019-11-20 18:16:30 +01:00
|
|
|
}
|
|
|
|
|
2017-12-14 16:21:14 +01:00
|
|
|
.editable-champ {
|
2018-04-09 18:27:15 +02:00
|
|
|
position: relative;
|
|
|
|
|
2017-12-07 14:37:34 +01:00
|
|
|
.updated-at {
|
|
|
|
@include notice-text-style;
|
|
|
|
float: right;
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: $default-spacer;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover .updated-at,
|
|
|
|
.updated-at.highlighted {
|
|
|
|
visibility: visible;
|
2017-08-02 15:29:12 +02:00
|
|
|
}
|
2018-04-03 17:53:14 +02:00
|
|
|
|
2020-02-10 19:16:00 +01:00
|
|
|
// Move checkbox to the top-left side of the label
|
2018-06-18 11:30:26 +02:00
|
|
|
&.editable-champ-checkbox,
|
|
|
|
&.editable-champ-engagement {
|
2019-11-20 18:16:30 +01:00
|
|
|
p,
|
2018-06-18 11:30:26 +02:00
|
|
|
label {
|
|
|
|
padding-left: 28px;
|
|
|
|
}
|
|
|
|
|
2020-02-10 19:16:00 +01:00
|
|
|
input[type=checkbox] {
|
2018-06-18 11:30:26 +02:00
|
|
|
position: absolute;
|
2020-02-10 16:00:01 +01:00
|
|
|
top: 3px;
|
2018-06-18 11:30:26 +02:00
|
|
|
left: 0px;
|
|
|
|
}
|
2020-02-10 15:59:36 +01:00
|
|
|
|
2020-02-10 19:16:00 +01:00
|
|
|
// When an (eventual) notice is displayed after the input, give it some bottom margin.
|
2020-02-10 15:59:36 +01:00
|
|
|
.notice {
|
|
|
|
margin-bottom: $default-fields-spacer;
|
|
|
|
}
|
|
|
|
}
|
2017-06-14 17:39:46 +02:00
|
|
|
}
|
|
|
|
|
2017-11-17 19:23:46 +01:00
|
|
|
.radios {
|
2020-02-10 19:16:00 +01:00
|
|
|
display: flex;
|
|
|
|
|
|
|
|
// Horizontal layout (default)
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: flex-start;
|
2021-01-04 17:14:28 +01:00
|
|
|
flex-wrap: wrap;
|
2020-02-10 19:16:00 +01:00
|
|
|
|
|
|
|
label {
|
|
|
|
margin-right: $default-padding;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Vertical layout
|
|
|
|
&.vertical {
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
|
|
|
|
|
|
|
label {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-17 19:23:46 +01:00
|
|
|
label {
|
2020-02-10 19:16:00 +01:00
|
|
|
padding: $default-padding $default-padding $default-padding $default-spacer;
|
|
|
|
border: 1px solid $border-grey;
|
|
|
|
border-radius: 4px;
|
|
|
|
font-weight: normal;
|
|
|
|
background: $white;
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
&:last-of-type {
|
|
|
|
margin-bottom: $default-fields-spacer;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $light-grey;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
border-color: darken($border-grey, 10);
|
|
|
|
}
|
2017-11-17 19:23:46 +01:00
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2020-02-10 19:16:00 +01:00
|
|
|
|
2020-08-19 17:27:57 +02:00
|
|
|
&.blank-radio {
|
|
|
|
color: $dark-grey;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2020-02-10 19:16:00 +01:00
|
|
|
input[type=radio] {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice {
|
|
|
|
margin: 4px 0 0 27px;
|
|
|
|
}
|
2017-11-17 19:23:46 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-26 12:09:21 +02:00
|
|
|
input[type=text]:not([data-address='true']),
|
2017-06-20 10:03:49 +02:00
|
|
|
input[type=email],
|
2017-07-20 09:54:05 +02:00
|
|
|
input[type=password],
|
2017-07-25 14:33:03 +02:00
|
|
|
input[type=date],
|
|
|
|
input[type=number],
|
|
|
|
input[type=tel],
|
|
|
|
textarea,
|
2019-02-18 18:00:37 +01:00
|
|
|
select,
|
2019-10-22 10:58:04 +02:00
|
|
|
.attachment {
|
2017-06-14 17:39:46 +02:00
|
|
|
display: block;
|
2020-02-10 15:59:00 +01:00
|
|
|
margin-bottom: $default-fields-spacer;
|
2018-07-23 14:52:14 +02:00
|
|
|
|
|
|
|
&.small-margin {
|
2021-04-23 13:45:04 +02:00
|
|
|
margin-bottom: $default-spacer;
|
2018-07-23 14:52:14 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-30 16:14:15 +01:00
|
|
|
.add-row {
|
2020-02-10 15:59:00 +01:00
|
|
|
margin-bottom: $default-fields-spacer;
|
2019-01-30 16:14:15 +01:00
|
|
|
}
|
|
|
|
|
2018-11-14 16:26:00 +01:00
|
|
|
input[type=checkbox] {
|
|
|
|
&.small-margin {
|
2021-04-23 13:45:04 +02:00
|
|
|
margin-bottom: $default-spacer;
|
2018-11-14 16:26:00 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-23 14:52:14 +02:00
|
|
|
input[type=text]:not([data-address='true']),
|
|
|
|
input[type=email],
|
|
|
|
input[type=password],
|
|
|
|
input[type=date],
|
|
|
|
input[type=number],
|
|
|
|
input[type=tel],
|
|
|
|
textarea,
|
|
|
|
select {
|
2017-06-14 17:39:46 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
border: solid 1px $border-grey;
|
2017-07-20 10:25:32 +02:00
|
|
|
padding: $default-padding;
|
2017-06-20 10:03:49 +02:00
|
|
|
|
2019-07-15 17:55:22 +02:00
|
|
|
&.small {
|
2021-04-23 13:45:04 +02:00
|
|
|
padding: $default-spacer;
|
2019-07-15 17:55:22 +02:00
|
|
|
}
|
|
|
|
|
2017-06-20 10:03:49 +02:00
|
|
|
&:disabled {
|
|
|
|
background-color: $border-grey;
|
|
|
|
}
|
2018-02-08 17:13:15 +01:00
|
|
|
|
2019-07-15 17:55:22 +02:00
|
|
|
&:focus {
|
|
|
|
border: 1px solid $blue;
|
|
|
|
box-shadow: 0px 0px 2px 1px $blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Hide the browser default invalidity indicator until the field is touched
|
|
|
|
&:invalid:not(:focus) {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.touched:invalid {
|
|
|
|
border: 1px solid $dark-red;
|
|
|
|
box-shadow: 0px 0px 2px 1px $dark-red;
|
2018-02-08 17:13:15 +01:00
|
|
|
}
|
2017-06-14 17:39:46 +02:00
|
|
|
}
|
2017-07-24 09:46:13 +02:00
|
|
|
|
2017-07-25 14:33:03 +02:00
|
|
|
input[type=text],
|
|
|
|
input[type=email],
|
|
|
|
input[type=password],
|
|
|
|
input[type=date],
|
|
|
|
input[type=number],
|
|
|
|
input[type=tel],
|
|
|
|
textarea {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=email],
|
|
|
|
input[type=number],
|
|
|
|
input[type=tel], {
|
|
|
|
max-width: 500px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=checkbox],
|
|
|
|
input[type=radio] {
|
2019-11-14 09:22:02 +01:00
|
|
|
@extend %outline;
|
|
|
|
|
2020-02-10 19:16:00 +01:00
|
|
|
// Firefox tends to display some controls smaller than other browsers.
|
2018-06-18 11:30:26 +02:00
|
|
|
// Ensure a consistency of size between browsers.
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2020-02-10 19:16:00 +01:00
|
|
|
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-right: 4px;
|
|
|
|
margin-bottom: $default-fields-spacer;
|
2018-06-18 11:30:26 +02:00
|
|
|
}
|
|
|
|
|
2017-07-25 14:33:03 +02:00
|
|
|
input[type=date] {
|
|
|
|
max-width: 180px;
|
|
|
|
}
|
|
|
|
|
2021-02-16 16:46:16 +01:00
|
|
|
select {
|
2017-07-25 14:33:03 +02:00
|
|
|
// hack found here: https://stackoverflow.com/questions/1895476/how-to-style-a-select-dropdown-with-css-only-without-javascript
|
|
|
|
-webkit-appearance: none;
|
|
|
|
-moz-appearance: none;
|
|
|
|
appearance: none;
|
2018-02-08 17:13:15 +01:00
|
|
|
background-color: #FFFFFF;
|
|
|
|
background-image: image-url("icons/chevron-down.svg");
|
|
|
|
background-repeat: no-repeat;
|
2017-07-25 14:33:03 +02:00
|
|
|
background-size: 14px;
|
|
|
|
background-position: right 10px center;
|
2017-12-19 13:55:02 +01:00
|
|
|
padding-right: 4 * $default-spacer;
|
2020-07-02 11:36:29 +02:00
|
|
|
max-width: 100%;
|
2017-07-25 14:33:03 +02:00
|
|
|
|
2018-02-08 17:13:15 +01:00
|
|
|
&.small {
|
|
|
|
padding-right: 3 * $default-spacer;
|
|
|
|
}
|
|
|
|
|
2017-07-25 14:33:03 +02:00
|
|
|
// CAUTION: IE hackery ahead
|
|
|
|
&::-ms-expand {
|
|
|
|
display: none; // remove default arrow in IE 10 and 11 */
|
2018-09-20 14:34:49 +02:00
|
|
|
}
|
2017-07-25 14:33:03 +02:00
|
|
|
|
|
|
|
// target Internet Explorer 9 to undo the custom arrow */
|
|
|
|
@media screen and (min-width:0\0) {
|
|
|
|
select {
|
|
|
|
background: none\9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-07 17:41:20 +02:00
|
|
|
|
|
|
|
[data-reach-combobox-input] {
|
|
|
|
width: 100%;
|
|
|
|
min-width: 50%;
|
|
|
|
max-width: 100%;
|
|
|
|
min-height: 62px;
|
2021-04-23 13:45:04 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
border: solid 1px $border-grey;
|
|
|
|
padding: $default-padding;
|
2020-10-07 17:41:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
[data-reach-combobox-input]:focus {
|
|
|
|
border-color: $blue;
|
|
|
|
}
|
|
|
|
|
2021-02-11 15:37:45 +01:00
|
|
|
[data-reach-combobox-token-list] {
|
2021-04-23 13:45:04 +02:00
|
|
|
padding: $default-spacer;
|
2021-02-11 15:37:45 +01:00
|
|
|
display: flex;
|
2021-04-23 13:45:04 +02:00
|
|
|
align-items: center;
|
|
|
|
list-style: none;
|
2021-02-11 15:37:45 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
[data-reach-combobox-token] {
|
|
|
|
border: solid 1px $border-grey;
|
|
|
|
color: $black;
|
|
|
|
border-radius: 4px;
|
2021-04-23 13:45:04 +02:00
|
|
|
padding: $default-spacer;
|
|
|
|
margin-right: $default-spacer;
|
2021-02-11 15:37:45 +01:00
|
|
|
cursor: pointer;
|
2021-04-23 13:45:04 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2021-02-11 15:37:45 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
[data-reach-combobox-token]:focus {
|
|
|
|
background-color: $black;
|
|
|
|
color: $white;
|
2021-04-23 13:45:04 +02:00
|
|
|
|
|
|
|
[data-combobox-remove-token] {
|
|
|
|
background-color: $black;
|
|
|
|
color: $white;
|
|
|
|
}
|
2021-02-11 15:37:45 +01:00
|
|
|
}
|
|
|
|
|
2018-10-17 12:07:12 +02:00
|
|
|
.editable-champ {
|
|
|
|
&:not(.editable-champ-carte) .algolia-autocomplete {
|
|
|
|
margin-bottom: 2 * $default-padding;
|
|
|
|
}
|
|
|
|
|
|
|
|
.geo-areas {
|
|
|
|
margin-bottom: 2 * $default-padding;
|
|
|
|
}
|
2019-01-30 16:14:15 +01:00
|
|
|
|
|
|
|
&.editable-champ-repetition {
|
|
|
|
.row {
|
|
|
|
border-radius: 4px;
|
|
|
|
border: 1px solid $border-grey;
|
|
|
|
padding: $default-padding;
|
|
|
|
margin-bottom: 2 * $default-padding;
|
|
|
|
}
|
|
|
|
}
|
2017-07-26 12:09:21 +02:00
|
|
|
}
|
|
|
|
|
2018-08-22 15:06:19 +02:00
|
|
|
input.aa-input,
|
|
|
|
input.aa-hint {
|
2017-07-26 12:09:21 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
border: solid 1px $border-grey;
|
|
|
|
padding: $default-padding;
|
|
|
|
}
|
|
|
|
|
2018-08-22 15:06:19 +02:00
|
|
|
input.aa-hint {
|
2020-06-11 14:33:15 +02:00
|
|
|
color: $dark-grey;
|
2017-07-26 12:09:21 +02:00
|
|
|
}
|
|
|
|
|
2017-07-25 14:33:03 +02:00
|
|
|
.datetime {
|
|
|
|
input[type=date] {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-section {
|
2020-02-10 14:47:00 +01:00
|
|
|
display: inline-block;
|
2017-11-21 16:36:26 +01:00
|
|
|
color: $blue;
|
2020-02-10 14:47:00 +01:00
|
|
|
font-size: 30px;
|
2020-02-10 15:59:36 +01:00
|
|
|
margin-bottom: 3 * $default-padding;
|
2020-02-10 14:47:00 +01:00
|
|
|
border-bottom: 3px solid $blue;
|
2017-07-25 14:33:03 +02:00
|
|
|
}
|
|
|
|
|
2020-02-10 18:42:49 +01:00
|
|
|
.header-subsection {
|
|
|
|
font-size: 22px;
|
|
|
|
color: $blue;
|
|
|
|
margin-bottom: $default-padding;
|
|
|
|
}
|
|
|
|
|
2017-07-25 14:33:03 +02:00
|
|
|
.explication-libelle {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 20px;
|
|
|
|
margin-bottom: $default-padding;
|
|
|
|
}
|
|
|
|
|
|
|
|
.explication {
|
2020-02-10 15:59:36 +01:00
|
|
|
margin-bottom: $default-fields-spacer;
|
2021-04-23 13:45:04 +02:00
|
|
|
padding: $default-spacer;
|
2018-07-09 18:18:42 +02:00
|
|
|
background-color: $light-grey;
|
2018-07-09 18:16:59 +02:00
|
|
|
|
|
|
|
p:not(:last-child) {
|
|
|
|
margin-bottom: $default-padding;
|
|
|
|
}
|
2017-07-25 14:33:03 +02:00
|
|
|
}
|
|
|
|
|
2020-02-10 16:44:37 +01:00
|
|
|
.siret-info {
|
|
|
|
margin-top: -$default-fields-spacer;
|
|
|
|
margin-bottom: $default-fields-spacer;
|
|
|
|
// Ensure the bottom-margin is not collapsed when the element is empty
|
|
|
|
min-height: 1px;
|
|
|
|
}
|
|
|
|
|
2017-07-26 12:41:58 +02:00
|
|
|
.send-wrapper {
|
2018-07-24 18:10:00 +02:00
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
margin-top: $default-padding;
|
2018-06-19 16:23:43 +02:00
|
|
|
margin-bottom: 2 * $default-padding;
|
2017-07-26 12:41:58 +02:00
|
|
|
|
2018-06-19 16:23:43 +02:00
|
|
|
.button {
|
2018-07-24 18:10:00 +02:00
|
|
|
margin-top: $default-padding;
|
2018-06-19 16:23:43 +02:00
|
|
|
margin-bottom: 0;
|
2017-07-26 12:41:58 +02:00
|
|
|
}
|
2018-07-24 18:10:00 +02:00
|
|
|
|
|
|
|
// Wide layout: align buttons on a single row
|
|
|
|
@media (min-width: 550px) {
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
.button:not(:first-of-type) {
|
|
|
|
margin-left: $default-spacer;
|
|
|
|
}
|
|
|
|
|
2019-01-24 16:30:41 +01:00
|
|
|
// If there are more than one button, align the "Send" button to the right
|
|
|
|
.button:not(:first-of-type).send {
|
|
|
|
margin-left: auto;
|
2018-07-24 18:10:00 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Narrow layout: stack buttons vertically
|
|
|
|
@media (max-width: 550px) {
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
align-items: center;
|
|
|
|
|
2019-01-24 16:30:41 +01:00
|
|
|
.button {
|
2018-07-24 18:10:00 +02:00
|
|
|
width: 100%;
|
|
|
|
max-width: 350px;
|
|
|
|
line-height: 30px;
|
|
|
|
margin-left: none;
|
|
|
|
margin-right: none;
|
|
|
|
}
|
2018-07-24 17:43:28 +02:00
|
|
|
}
|
2017-07-24 09:46:13 +02:00
|
|
|
}
|
2018-02-08 17:13:15 +01:00
|
|
|
|
2018-08-01 17:27:50 +02:00
|
|
|
.send-notice {
|
|
|
|
@include notice-text-style;
|
|
|
|
margin-bottom: $default-padding;
|
|
|
|
}
|
|
|
|
|
|
|
|
.send-wrapper + .send-notice {
|
|
|
|
margin-top: - $default-padding;
|
|
|
|
}
|
|
|
|
|
2018-02-08 17:13:15 +01:00
|
|
|
.inline-champ {
|
|
|
|
margin-left: $default-spacer;
|
|
|
|
margin-right: $default-spacer;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
2017-06-14 17:39:46 +02:00
|
|
|
}
|
2020-10-07 17:41:20 +02:00
|
|
|
|
2021-04-23 13:45:04 +02:00
|
|
|
[data-react-class]:not([data-react-class="ComboMultipleDropdownList"]) {
|
|
|
|
[data-reach-combobox-input] {
|
|
|
|
margin-bottom: $default-fields-spacer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-11 15:37:45 +01:00
|
|
|
[data-react-class="ComboMultipleDropdownList"] {
|
|
|
|
margin-bottom: $default-fields-spacer;
|
|
|
|
|
|
|
|
[data-reach-combobox-input] {
|
|
|
|
flex-grow: 1;
|
|
|
|
background-image: image-url("icons/chevron-down");
|
|
|
|
background-size: 14px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: right 10px center;
|
2021-04-23 13:45:04 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
border: solid 1px $border-grey;
|
|
|
|
padding: $default-padding;
|
|
|
|
margin: $default-spacer;
|
|
|
|
margin-top: 0;
|
2021-02-11 15:37:45 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-combobox-token-label] {
|
|
|
|
border: 1px solid #CCCCCC;
|
|
|
|
border-radius: 4px;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
2020-10-07 17:41:20 +02:00
|
|
|
[data-reach-combobox-option] {
|
|
|
|
font-size: 16px;
|
2021-02-11 15:37:45 +01:00
|
|
|
list-style-type: none;
|
2020-10-07 17:41:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
[data-reach-combobox-option][aria-selected="true"] {
|
|
|
|
background: $light-blue !important;
|
|
|
|
color: $white;
|
|
|
|
}
|
2021-02-11 15:37:45 +01:00
|
|
|
|
|
|
|
[data-combobox-separator] {
|
|
|
|
font-size: 16px;
|
|
|
|
color: $dark-grey;
|
2021-04-23 13:45:04 +02:00
|
|
|
background: $light-grey;
|
|
|
|
padding: $default-spacer;
|
2021-02-11 15:37:45 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
[data-combobox-remove-token] {
|
2021-04-23 13:45:04 +02:00
|
|
|
cursor: pointer;
|
|
|
|
background-color: transparent;
|
|
|
|
background-image: none;
|
|
|
|
border: none;
|
|
|
|
line-height: 1;
|
|
|
|
padding: 0;
|
|
|
|
margin-right: 4px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center !important;
|
2021-02-11 15:37:45 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
[data-reach-combobox-input]:focus {
|
|
|
|
outline-color: $light-blue;
|
|
|
|
}
|
2021-04-23 13:45:04 +02:00
|
|
|
|
|
|
|
[data-reach-combobox-popover] {
|
|
|
|
z-index: 20;
|
|
|
|
}
|