2018-02-06 01:25:39 +08:00
|
|
|
.select-kit {
|
2017-10-20 03:51:08 +08:00
|
|
|
&.combo-box {
|
2018-02-06 01:25:39 +08:00
|
|
|
.select-kit-body {
|
2018-05-02 08:41:28 +08:00
|
|
|
border-radius: 0;
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
|
2018-02-06 01:25:39 +08:00
|
|
|
.select-kit-row {
|
2018-04-19 23:36:09 +08:00
|
|
|
margin: 0;
|
2017-10-20 03:51:08 +08:00
|
|
|
min-height: 1px;
|
2020-05-29 15:35:43 +08:00
|
|
|
|
2018-05-02 08:41:28 +08:00
|
|
|
&.no-content {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
|
2018-02-06 01:25:39 +08:00
|
|
|
.select-kit-filter {
|
2018-05-15 15:28:27 +08:00
|
|
|
.filter-input,
|
|
|
|
.filter-input:focus,
|
|
|
|
.filter-input:active {
|
2020-02-03 21:22:14 +08:00
|
|
|
flex: 1;
|
2018-05-15 15:28:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.filter-icon {
|
2020-02-03 21:22:14 +08:00
|
|
|
margin-left: 0.25em;
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
}
|
2018-05-15 15:28:27 +08:00
|
|
|
|
2018-02-06 01:25:39 +08:00
|
|
|
.select-kit-header {
|
2020-08-04 10:57:10 +08:00
|
|
|
background: var(--secondary);
|
2021-09-09 23:01:56 +08:00
|
|
|
border-color: var(--primary-medium);
|
2017-10-20 03:51:08 +08:00
|
|
|
|
|
|
|
&.is-focused {
|
2021-02-04 00:45:54 +08:00
|
|
|
@include default-focus;
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-02 08:41:28 +08:00
|
|
|
.select-kit-collection {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: 0;
|
|
|
|
min-width: 100px;
|
|
|
|
|
|
|
|
.collection-header {
|
|
|
|
a {
|
|
|
|
white-space: nowrap;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2022-10-12 22:05:42 +08:00
|
|
|
line-height: var(--line-height-medium);
|
2018-05-02 08:41:28 +08:00
|
|
|
font-weight: bold;
|
|
|
|
display: block;
|
2020-05-29 15:35:43 +08:00
|
|
|
padding: 0.75em;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--tertiary);
|
2018-05-02 08:41:28 +08:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-20 03:51:08 +08:00
|
|
|
&.is-disabled {
|
2017-11-21 18:53:09 +08:00
|
|
|
.select-kit-header {
|
2020-08-04 10:57:10 +08:00
|
|
|
background: var(--primary-low);
|
|
|
|
border-color: var(--primary-low-mid);
|
|
|
|
color: var(--primary-medium);
|
2019-10-23 04:32:24 +08:00
|
|
|
.d-icon {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2019-10-23 04:32:24 +08:00
|
|
|
}
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-highlighted {
|
2017-11-21 18:53:09 +08:00
|
|
|
.select-kit-header {
|
2021-02-04 00:45:54 +08:00
|
|
|
@include default-focus;
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-15 15:28:27 +08:00
|
|
|
&.tag-drop,
|
|
|
|
&.group-dropdown {
|
2018-05-02 08:41:28 +08:00
|
|
|
min-width: auto;
|
2019-12-12 03:49:39 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&.tag-drop {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-high);
|
2019-12-12 03:49:39 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&.group-dropdown {
|
2018-05-02 08:41:28 +08:00
|
|
|
.select-kit-row {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2018-05-03 23:08:14 +08:00
|
|
|
}
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
}
|