2018-02-05 12:25:39 -05:00
|
|
|
.select-kit {
|
2017-10-19 15:51:08 -04:00
|
|
|
&.combo-box {
|
2018-02-05 12:25:39 -05:00
|
|
|
.select-kit-body {
|
2018-05-01 20:41:28 -04:00
|
|
|
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;
|
2020-05-29 03:35:43 -04:00
|
|
|
|
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-05-15 03:28:27 -04:00
|
|
|
.filter-input,
|
|
|
|
.filter-input:focus,
|
|
|
|
.filter-input:active {
|
2020-02-03 08:22:14 -05:00
|
|
|
flex: 1;
|
2018-05-15 03:28:27 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.filter-icon {
|
2020-02-03 08:22:14 -05:00
|
|
|
margin-left: 0.25em;
|
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 {
|
2020-08-03 22:57:10 -04:00
|
|
|
background: var(--secondary);
|
|
|
|
border: 1px solid var(--primary-medium);
|
2020-02-03 08:22:14 -05:00
|
|
|
padding: 0 0.25em 0 0.5em;
|
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 {
|
2020-08-03 22:57:10 -04:00
|
|
|
border: 1px solid var(--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;
|
|
|
|
|
|
|
|
.collection-header {
|
|
|
|
a {
|
|
|
|
white-space: nowrap;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary);
|
2018-05-01 20:41:28 -04:00
|
|
|
line-height: $line-height-medium;
|
|
|
|
font-weight: bold;
|
|
|
|
display: block;
|
2020-05-29 03:35:43 -04:00
|
|
|
padding: 0.75em;
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--tertiary);
|
2018-05-01 20:41:28 -04:00
|
|
|
|
|
|
|
&: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 {
|
2020-08-03 22:57:10 -04:00
|
|
|
background: var(--primary-low);
|
|
|
|
border-color: var(--primary-low-mid);
|
|
|
|
color: var(--primary-medium);
|
2019-10-22 16:32:24 -04:00
|
|
|
.d-icon {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-medium);
|
2019-10-22 16:32:24 -04:00
|
|
|
}
|
2017-10-19 15:51:08 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-highlighted {
|
2017-11-21 05:53:09 -05:00
|
|
|
.select-kit-header {
|
2020-08-03 22:57:10 -04:00
|
|
|
border: 1px solid var(--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;
|
2020-08-03 22:57:10 -04:00
|
|
|
border: 1px solid var(--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;
|
2019-12-11 14:49:39 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&.tag-drop {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary-high);
|
2019-12-11 14:49:39 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&.group-dropdown {
|
2018-05-01 20:41:28 -04:00
|
|
|
.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
|
|
|
}
|
|
|
|
}
|