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;
|
2018-05-15 15:28:27 +08:00
|
|
|
box-shadow: shadow("dropdown");
|
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 {
|
2017-10-20 03:51:08 +08:00
|
|
|
background: $secondary;
|
2017-11-28 04:23:18 +08:00
|
|
|
border: 1px solid $primary-medium;
|
2020-02-03 21:22:14 +08:00
|
|
|
padding: 0 0.25em 0 0.5em;
|
2017-10-20 03:51:08 +08:00
|
|
|
font-weight: 500;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-0;
|
2017-10-20 03:51:08 +08:00
|
|
|
|
|
|
|
&.is-focused {
|
|
|
|
border: 1px solid $tertiary;
|
2018-02-21 01:18:20 +08:00
|
|
|
box-shadow: shadow("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;
|
|
|
|
color: $primary;
|
|
|
|
line-height: $line-height-medium;
|
|
|
|
font-weight: bold;
|
|
|
|
display: block;
|
2020-05-29 15:35:43 +08:00
|
|
|
padding: 0.75em;
|
2018-05-02 08:41:28 +08:00
|
|
|
color: $tertiary;
|
|
|
|
|
|
|
|
&: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 {
|
2019-10-23 04:32:24 +08:00
|
|
|
background: $primary-low;
|
|
|
|
border-color: $primary-low-mid;
|
|
|
|
color: $primary-medium;
|
|
|
|
.d-icon {
|
|
|
|
color: $primary-medium;
|
|
|
|
}
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-highlighted {
|
2017-11-21 18:53:09 +08:00
|
|
|
.select-kit-header {
|
2017-10-20 03:51:08 +08:00
|
|
|
border: 1px solid $tertiary;
|
2018-02-21 01:18:20 +08:00
|
|
|
box-shadow: shadow("focus");
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-expanded {
|
2017-11-21 18:53:09 +08:00
|
|
|
.select-kit-wrapper {
|
2017-10-20 03:51:08 +08:00
|
|
|
display: block;
|
|
|
|
border: 1px solid $tertiary;
|
2018-02-21 01:18:20 +08:00
|
|
|
box-shadow: shadow("focus");
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-expanded.is-above {
|
2017-11-21 18:53:09 +08:00
|
|
|
.select-kit-header {
|
2017-10-20 03:51:08 +08:00
|
|
|
border-radius: 0 0 3px 3px;
|
|
|
|
}
|
2017-11-27 00:21:39 +08:00
|
|
|
|
|
|
|
.select-kit-body {
|
|
|
|
border-radius: 3px 3px 0 0;
|
|
|
|
}
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
2018-05-02 08:41:28 +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 {
|
|
|
|
color: $primary-high;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.group-dropdown {
|
2018-05-02 08:41:28 +08:00
|
|
|
.select-kit-row {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2018-05-03 23:08:14 +08:00
|
|
|
}
|
2018-05-02 08:41:28 +08:00
|
|
|
|
2018-05-15 15:28:27 +08:00
|
|
|
&.is-expanded .select-kit-wrapper,
|
|
|
|
.select-kit-wrapper {
|
2018-05-03 23:08:14 +08:00
|
|
|
display: none;
|
2018-05-02 08:41:28 +08:00
|
|
|
}
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
}
|