2016-12-21 17:25:54 +00:00
|
|
|
.dropdown {
|
|
|
|
|
&__label {
|
|
|
|
|
display: block;
|
2021-04-30 21:32:50 +00:00
|
|
|
font-size: $small;
|
2020-11-20 00:51:22 +00:00
|
|
|
font-weight: $regular;
|
2021-04-30 21:32:50 +00:00
|
|
|
color: $core-fleet-black;
|
2016-12-21 17:25:54 +00:00
|
|
|
margin-bottom: $pad-xsmall;
|
|
|
|
|
|
|
|
|
|
&--error {
|
2021-06-18 18:56:11 +00:00
|
|
|
font-weight: $bold;
|
2016-12-21 17:25:54 +00:00
|
|
|
}
|
|
|
|
|
}
|
2017-01-06 15:36:51 +00:00
|
|
|
|
|
|
|
|
&__select {
|
|
|
|
|
&--error {
|
|
|
|
|
&.Select {
|
|
|
|
|
.Select-control {
|
2021-06-18 18:56:11 +00:00
|
|
|
color: $core-vibrant-red;
|
|
|
|
|
border: 1px solid $core-vibrant-red;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
border-radius: 4px;
|
2017-01-06 15:36:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.Select-arrow {
|
2021-04-09 19:04:11 +00:00
|
|
|
border-top-color: $ui-error;
|
2017-01-06 15:36:51 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-12-21 23:47:35 +00:00
|
|
|
|
|
|
|
|
&__option {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&__help-text {
|
2021-04-10 00:30:42 +00:00
|
|
|
margin-top: $pad-xsmall;
|
2020-12-21 23:47:35 +00:00
|
|
|
font-size: $xx-small;
|
|
|
|
|
white-space: normal;
|
2021-04-09 19:04:11 +00:00
|
|
|
color: $core-fleet-blue;
|
2020-12-21 23:47:35 +00:00
|
|
|
font-style: italic;
|
|
|
|
|
}
|
2016-12-21 17:25:54 +00:00
|
|
|
}
|
|
|
|
|
|
2016-11-10 16:33:04 +00:00
|
|
|
.Select {
|
2022-10-19 17:57:06 +00:00
|
|
|
&.dropdown__select {
|
2023-01-05 15:23:27 +00:00
|
|
|
border: 1px solid $ui-fleet-black-10;
|
2021-04-10 00:30:42 +00:00
|
|
|
border-radius: $border-radius;
|
2022-10-05 14:43:54 +00:00
|
|
|
&:hover {
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
border: 1px solid $core-vibrant-blue;
|
|
|
|
|
}
|
2022-10-19 17:57:06 +00:00
|
|
|
}
|
|
|
|
|
.Select-control {
|
|
|
|
|
background-color: $ui-light-grey;
|
|
|
|
|
border: 0;
|
2022-10-20 21:34:32 +00:00
|
|
|
border-radius: $border-radius;
|
2021-06-01 13:10:35 +00:00
|
|
|
.Select-value {
|
2021-11-17 18:08:00 +00:00
|
|
|
font-size: $small;
|
2022-11-10 16:55:43 +00:00
|
|
|
background-color: $ui-light-grey;
|
2021-06-01 13:10:35 +00:00
|
|
|
}
|
2016-11-10 16:33:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.Select-value {
|
2021-11-17 18:08:00 +00:00
|
|
|
font-size: $small;
|
2021-04-10 00:30:42 +00:00
|
|
|
border-radius: $border-radius;
|
2022-11-10 16:55:43 +00:00
|
|
|
background-color: $ui-light-grey;
|
2017-01-24 23:52:48 +00:00
|
|
|
|
|
|
|
|
.Select-value-icon {
|
|
|
|
|
border: 0;
|
|
|
|
|
float: right;
|
|
|
|
|
position: relative;
|
2021-05-24 17:47:05 +00:00
|
|
|
line-height: 28px;
|
|
|
|
|
width: 20px;
|
2017-01-24 23:52:48 +00:00
|
|
|
padding: 0;
|
|
|
|
|
margin: 0 5px;
|
2017-06-18 18:38:16 +00:00
|
|
|
text-indent: -999em;
|
2017-01-24 23:52:48 +00:00
|
|
|
|
|
|
|
|
&::after {
|
2019-01-03 20:46:55 +00:00
|
|
|
transition: color 150ms ease-in-out;
|
2021-10-27 17:51:52 +00:00
|
|
|
content: url(../assets/images/icon-close-fleet-black-16x16@2x.png);
|
2021-05-24 17:47:05 +00:00
|
|
|
transform: scale(0.5);
|
2017-01-24 23:52:48 +00:00
|
|
|
position: absolute;
|
2021-05-24 17:47:05 +00:00
|
|
|
top: -5px;
|
|
|
|
|
left: -5px;
|
2017-01-24 23:52:48 +00:00
|
|
|
visibility: visible;
|
2021-04-30 21:32:50 +00:00
|
|
|
font-size: $small;
|
2021-04-09 19:04:11 +00:00
|
|
|
color: $ui-gray;
|
2017-06-18 18:38:16 +00:00
|
|
|
text-indent: 0;
|
2017-01-24 23:52:48 +00:00
|
|
|
}
|
2022-12-22 22:47:21 +00:00
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
&::after {
|
|
|
|
|
content: url("../assets/images/icon-close-vibrant-blue-16x16@2x.png");
|
|
|
|
|
transform: scale(0.5);
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-01-24 23:52:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.Select-value-label {
|
2021-11-17 18:08:00 +00:00
|
|
|
font-size: $small;
|
2021-10-27 17:51:52 +00:00
|
|
|
color: $core-fleet-black;
|
2022-11-01 20:09:57 +00:00
|
|
|
vertical-align: middle;
|
2017-01-24 23:52:48 +00:00
|
|
|
}
|
2016-11-10 16:33:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&--single {
|
|
|
|
|
> .Select-control {
|
|
|
|
|
.Select-value {
|
2023-05-12 13:40:43 +00:00
|
|
|
line-height: 34px;
|
2021-06-01 13:10:35 +00:00
|
|
|
border: none;
|
2016-11-10 16:33:04 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.Select-arrow {
|
2021-05-10 20:00:34 +00:00
|
|
|
content: url("../assets/images/icon-chevron-black-16x16@2x.png");
|
|
|
|
|
height: 16px;
|
|
|
|
|
width: 16px;
|
2022-11-01 20:09:57 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
|
margin-top: -1px;
|
2021-05-10 20:00:34 +00:00
|
|
|
margin-left: -4px;
|
|
|
|
|
border: none;
|
2021-07-15 17:02:58 +00:00
|
|
|
}
|
2021-05-10 20:00:34 +00:00
|
|
|
|
2021-07-15 17:02:58 +00:00
|
|
|
&.is-focused {
|
2022-10-19 17:57:06 +00:00
|
|
|
&.dropdown__select {
|
2021-07-15 17:02:58 +00:00
|
|
|
border: 1px solid $core-vibrant-blue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:not(.is-open) {
|
|
|
|
|
.Select-control {
|
|
|
|
|
box-shadow: none;
|
2022-03-28 21:31:36 +00:00
|
|
|
border-color: $core-vibrant-blue;
|
2021-07-15 17:02:58 +00:00
|
|
|
}
|
2021-05-10 20:00:34 +00:00
|
|
|
}
|
2016-11-10 16:33:04 +00:00
|
|
|
}
|
|
|
|
|
|
2021-05-10 20:00:34 +00:00
|
|
|
&.is-open {
|
2022-10-20 21:34:32 +00:00
|
|
|
.Select-control {
|
|
|
|
|
border-radius: $border-radius;
|
2022-11-01 20:09:57 +00:00
|
|
|
|
|
|
|
|
.Select-arrow {
|
|
|
|
|
content: url("../assets/images/icon-chevron-blue-16x16@2x.png");
|
|
|
|
|
height: 16px;
|
|
|
|
|
width: 16px;
|
|
|
|
|
margin-left: -4px;
|
|
|
|
|
border: none;
|
|
|
|
|
top: 0px;
|
|
|
|
|
}
|
2022-10-20 21:34:32 +00:00
|
|
|
}
|
2016-11-10 16:33:04 +00:00
|
|
|
}
|
2021-07-15 17:02:58 +00:00
|
|
|
:hover {
|
|
|
|
|
.Select-arrow {
|
|
|
|
|
content: url("../assets/images/icon-chevron-blue-16x16@2x.png");
|
|
|
|
|
height: 16px;
|
|
|
|
|
width: 16px;
|
|
|
|
|
margin-left: -4px;
|
|
|
|
|
border: none;
|
2021-07-12 21:50:32 +00:00
|
|
|
}
|
2021-07-15 17:02:58 +00:00
|
|
|
&.is-open {
|
|
|
|
|
.Select-arrow {
|
|
|
|
|
content: url("../assets/images/icon-chevron-blue-16x16@2x.png");
|
|
|
|
|
height: 16px;
|
|
|
|
|
width: 16px;
|
|
|
|
|
margin-left: -4px;
|
|
|
|
|
border: none;
|
2021-07-12 21:50:32 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-05-10 20:00:34 +00:00
|
|
|
|
2016-12-21 17:25:54 +00:00
|
|
|
&.has-value {
|
|
|
|
|
> .Select-control,
|
|
|
|
|
&.is-pseudo-focused > .Select-control {
|
|
|
|
|
.Select-value {
|
|
|
|
|
.Select-value-label {
|
2021-10-27 17:51:52 +00:00
|
|
|
color: $core-fleet-black;
|
2021-11-17 18:08:00 +00:00
|
|
|
font-size: $small;
|
2016-12-21 17:25:54 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-11-10 16:33:04 +00:00
|
|
|
.Select-menu-outer {
|
2020-12-07 23:08:59 +00:00
|
|
|
box-shadow: 0 4px 10px rgba(52, 59, 96, 0.15);
|
2016-12-21 18:39:40 +00:00
|
|
|
z-index: 6;
|
2020-12-07 23:08:59 +00:00
|
|
|
overflow: hidden;
|
|
|
|
|
border: 0;
|
2022-10-20 21:34:32 +00:00
|
|
|
margin: 1px 0 0;
|
2021-07-15 17:02:58 +00:00
|
|
|
padding: $pad-small;
|
2023-01-04 16:06:30 +00:00
|
|
|
animation: fade-in 150ms ease-out;
|
2016-11-10 16:33:04 +00:00
|
|
|
}
|
|
|
|
|
|
2020-12-10 21:09:05 +00:00
|
|
|
.Select-noresults {
|
|
|
|
|
font-size: $x-small;
|
|
|
|
|
}
|
|
|
|
|
|
2016-11-10 16:33:04 +00:00
|
|
|
.Select-option {
|
2021-04-09 19:04:11 +00:00
|
|
|
color: $core-fleet-black;
|
2020-12-07 23:08:59 +00:00
|
|
|
font-size: $x-small;
|
2021-07-15 17:02:58 +00:00
|
|
|
margin: 0;
|
2021-08-05 14:48:00 +00:00
|
|
|
padding: 10px;
|
2020-12-07 23:08:59 +00:00
|
|
|
display: block;
|
2016-11-10 16:33:04 +00:00
|
|
|
|
|
|
|
|
&.is-focused {
|
2021-04-30 21:32:50 +00:00
|
|
|
background-color: $ui-vibrant-blue-10;
|
2016-11-10 16:33:04 +00:00
|
|
|
|
|
|
|
|
.Select-icon {
|
2021-04-30 21:32:50 +00:00
|
|
|
color: $ui-vibrant-blue-10;
|
2016-11-10 16:33:04 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-07-12 21:50:32 +00:00
|
|
|
&:last-child {
|
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2016-11-10 16:33:04 +00:00
|
|
|
&.is-disabled {
|
2021-08-27 16:25:04 +00:00
|
|
|
color: $ui-fleet-black-50;
|
|
|
|
|
font-style: italic;
|
2016-11-10 16:33:04 +00:00
|
|
|
|
|
|
|
|
.Select-icon {
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.Select-icon {
|
2021-04-09 19:04:11 +00:00
|
|
|
color: $ui-gray;
|
2016-11-10 16:33:04 +00:00
|
|
|
}
|
|
|
|
|
|
2021-10-27 17:51:52 +00:00
|
|
|
.Select-placeholder {
|
2021-04-30 21:32:50 +00:00
|
|
|
color: $core-fleet-blue;
|
2020-11-24 16:59:03 +00:00
|
|
|
font-size: $small;
|
2023-05-12 13:40:43 +00:00
|
|
|
line-height: 34px;
|
2021-10-27 17:51:52 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
.Select-input {
|
|
|
|
|
color: $core-fleet-blue;
|
|
|
|
|
font-size: $small;
|
2016-12-21 17:25:54 +00:00
|
|
|
box-sizing: border-box;
|
2023-05-12 13:40:43 +00:00
|
|
|
height: 34px;
|
2022-07-27 21:22:35 +00:00
|
|
|
|
|
|
|
|
> input {
|
2023-05-12 13:40:43 +00:00
|
|
|
line-height: 34px;
|
2022-07-27 21:22:35 +00:00
|
|
|
padding: 0;
|
|
|
|
|
}
|
2016-12-21 17:25:54 +00:00
|
|
|
}
|
|
|
|
|
|
2016-11-10 16:33:04 +00:00
|
|
|
&.Select--multi {
|
2017-01-24 23:52:48 +00:00
|
|
|
.Select-control {
|
2019-01-03 20:46:55 +00:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2017-01-24 23:52:48 +00:00
|
|
|
height: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.Select-multi-value-wrapper {
|
2019-01-03 20:46:55 +00:00
|
|
|
flex-grow: 1;
|
2021-10-27 17:51:52 +00:00
|
|
|
|
|
|
|
|
.Select-value {
|
2022-12-22 21:34:47 +00:00
|
|
|
border: 1px solid $ui-fleet-black-75;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
flex-direction: row-reverse;
|
2021-11-17 18:08:00 +00:00
|
|
|
|
2022-12-22 22:47:21 +00:00
|
|
|
.Select-value-icon:hover {
|
|
|
|
|
background-color: initial;
|
|
|
|
|
}
|
|
|
|
|
|
2021-11-17 18:08:00 +00:00
|
|
|
.Select-value-label {
|
|
|
|
|
font-size: $x-small;
|
2022-12-22 21:34:47 +00:00
|
|
|
align-self: center;
|
2021-11-17 18:08:00 +00:00
|
|
|
}
|
2021-10-27 17:51:52 +00:00
|
|
|
}
|
2017-01-24 23:52:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.Select-arrow-zone {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
2016-11-10 16:33:04 +00:00
|
|
|
.Select-option {
|
|
|
|
|
&.is-disabled {
|
2021-04-09 19:04:11 +00:00
|
|
|
color: $core-fleet-black;
|
2016-11-10 16:33:04 +00:00
|
|
|
cursor: default;
|
2016-11-03 19:40:54 +00:00
|
|
|
|
2016-11-10 16:33:04 +00:00
|
|
|
&.is-focused {
|
2021-04-30 21:32:50 +00:00
|
|
|
background-color: $ui-vibrant-blue-10;
|
2021-04-09 19:04:11 +00:00
|
|
|
color: $core-white;
|
2016-11-10 16:33:04 +00:00
|
|
|
}
|
|
|
|
|
}
|
2016-11-03 19:40:54 +00:00
|
|
|
}
|
2017-01-24 23:52:48 +00:00
|
|
|
|
|
|
|
|
.Select-value-label {
|
2021-05-24 17:47:05 +00:00
|
|
|
padding: 0 0 0 10px;
|
2017-01-24 23:52:48 +00:00
|
|
|
}
|
2016-11-03 19:40:54 +00:00
|
|
|
}
|
2023-04-27 15:53:30 +00:00
|
|
|
|
|
|
|
|
.premium-feature-icon {
|
|
|
|
|
position: relative;
|
|
|
|
|
top: 4px;
|
|
|
|
|
margin-left: 3px;
|
|
|
|
|
}
|
2022-11-01 20:09:57 +00:00
|
|
|
}
|