2018-02-05 12:25:39 -05:00
|
|
|
.select-kit {
|
2017-10-19 15:51:08 -04:00
|
|
|
&.combo-box {
|
2018-05-09 02:28:45 -04:00
|
|
|
min-width: auto;
|
2018-02-05 12:25:39 -05:00
|
|
|
.select-kit-body {
|
2017-10-19 15:51:08 -04:00
|
|
|
width: 100%;
|
2018-05-01 20:41:28 -04:00
|
|
|
min-width: 150px;
|
|
|
|
border-radius: 0;
|
2018-05-15 03:28:27 -04:00
|
|
|
box-shadow: shadow("dropdown");
|
2017-10-19 15:51:08 -04:00
|
|
|
}
|
|
|
|
|
2018-02-05 12:25:39 -05:00
|
|
|
.select-kit-row {
|
2018-04-19 11:36:09 -04:00
|
|
|
margin: 0;
|
2017-10-19 15:51:08 -04:00
|
|
|
min-height: 1px;
|
2018-04-19 11:36:09 -04:00
|
|
|
padding: 6px 10px;
|
2018-05-01 20:41:28 -04:00
|
|
|
&.no-content {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2017-10-19 15:51:08 -04:00
|
|
|
}
|
|
|
|
|
2018-02-05 12:25:39 -05:00
|
|
|
.select-kit-filter {
|
2018-09-19 11:12:34 -04:00
|
|
|
padding: $input-padding;
|
2019-01-02 17:54:22 -05:00
|
|
|
border-top: 1px solid $primary-low;
|
|
|
|
border-bottom: 1px solid $primary-low;
|
2017-10-19 15:51:08 -04:00
|
|
|
|
2018-09-18 11:27:01 -04:00
|
|
|
.spinner {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
|
2018-05-15 03:28:27 -04:00
|
|
|
.filter-input,
|
|
|
|
.filter-input:focus,
|
|
|
|
.filter-input:active {
|
2018-10-26 13:28:05 -04:00
|
|
|
flex: 0 0 auto;
|
|
|
|
width: 90%; // Firefox quirk
|
2018-05-15 03:28:27 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.filter-icon {
|
|
|
|
padding-left: 5px;
|
2017-10-19 15:51:08 -04:00
|
|
|
}
|
|
|
|
}
|
2018-05-15 03:28:27 -04:00
|
|
|
|
2018-02-05 12:25:39 -05:00
|
|
|
.select-kit-header {
|
2017-10-19 15:51:08 -04:00
|
|
|
background: $secondary;
|
2017-11-27 15:23:18 -05:00
|
|
|
border: 1px solid $primary-medium;
|
2018-10-01 11:53:18 -04:00
|
|
|
padding: 0 5px 0 10px;
|
2017-10-19 15:51:08 -04:00
|
|
|
font-weight: 500;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-0;
|
2017-10-19 15:51:08 -04:00
|
|
|
|
|
|
|
&.is-focused {
|
|
|
|
border: 1px solid $tertiary;
|
2018-02-20 12:18:20 -05:00
|
|
|
box-shadow: shadow("focus");
|
2017-10-19 15:51:08 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-01 20:41:28 -04:00
|
|
|
.select-kit-collection {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: 0;
|
|
|
|
min-width: 100px;
|
2018-05-02 12:23:37 -04:00
|
|
|
max-height: 200px;
|
2018-05-01 20:41:28 -04:00
|
|
|
max-width: 32em;
|
|
|
|
|
|
|
|
.collection-header {
|
|
|
|
a {
|
|
|
|
white-space: nowrap;
|
|
|
|
color: $primary;
|
|
|
|
line-height: $line-height-medium;
|
|
|
|
font-weight: bold;
|
|
|
|
display: block;
|
|
|
|
padding: 6px 10px;
|
|
|
|
color: $tertiary;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-19 15:51:08 -04:00
|
|
|
&.is-disabled {
|
2017-11-21 05:53:09 -05:00
|
|
|
.select-kit-header {
|
2019-10-22 16:32:24 -04:00
|
|
|
background: $primary-low;
|
|
|
|
border-color: $primary-low-mid;
|
|
|
|
color: $primary-medium;
|
|
|
|
.d-icon {
|
|
|
|
color: $primary-medium;
|
|
|
|
}
|
2017-10-19 15:51:08 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-highlighted {
|
2017-11-21 05:53:09 -05:00
|
|
|
.select-kit-header {
|
2017-10-19 15:51:08 -04:00
|
|
|
border: 1px solid $tertiary;
|
2018-02-20 12:18:20 -05:00
|
|
|
box-shadow: shadow("focus");
|
2017-10-19 15:51:08 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-expanded {
|
2017-11-21 05:53:09 -05:00
|
|
|
.select-kit-wrapper {
|
2017-10-19 15:51:08 -04:00
|
|
|
display: block;
|
|
|
|
border: 1px solid $tertiary;
|
2018-02-20 12:18:20 -05:00
|
|
|
box-shadow: shadow("focus");
|
2017-10-19 15:51:08 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-expanded.is-above {
|
2017-11-21 05:53:09 -05:00
|
|
|
.select-kit-header {
|
2017-10-19 15:51:08 -04:00
|
|
|
border-radius: 0 0 3px 3px;
|
|
|
|
}
|
2017-11-26 11:21:39 -05:00
|
|
|
|
|
|
|
.select-kit-body {
|
|
|
|
border-radius: 3px 3px 0 0;
|
|
|
|
}
|
2017-10-19 15:51:08 -04:00
|
|
|
}
|
2018-05-01 20:41:28 -04:00
|
|
|
|
2018-05-15 03:28:27 -04:00
|
|
|
&.tag-drop,
|
|
|
|
&.group-dropdown {
|
2018-05-01 20:41:28 -04:00
|
|
|
min-width: auto;
|
|
|
|
.select-kit-row {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2018-05-03 11:08:14 -04:00
|
|
|
}
|
2018-05-01 20:41:28 -04:00
|
|
|
|
2018-05-15 03:28:27 -04:00
|
|
|
&.is-expanded .select-kit-wrapper,
|
|
|
|
.select-kit-wrapper {
|
2018-05-03 11:08:14 -04:00
|
|
|
display: none;
|
2018-05-01 20:41:28 -04:00
|
|
|
}
|
2017-10-19 15:51:08 -04:00
|
|
|
}
|
|
|
|
}
|