2018-02-06 01:25:39 +08:00
|
|
|
.select-kit {
|
2017-10-20 03:51:08 +08:00
|
|
|
&.combo-box {
|
2018-05-09 14:28:45 +08:00
|
|
|
min-width: auto;
|
2018-02-06 01:25:39 +08:00
|
|
|
.select-kit-body {
|
2017-10-20 03:51:08 +08:00
|
|
|
width: 100%;
|
2018-05-02 08:41:28 +08:00
|
|
|
min-width: 150px;
|
|
|
|
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;
|
2018-04-19 23:36:09 +08:00
|
|
|
padding: 6px 10px;
|
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-09-19 23:12:34 +08:00
|
|
|
padding: $input-padding;
|
2019-01-03 06:54:22 +08:00
|
|
|
border-top: 1px solid $primary-low;
|
|
|
|
border-bottom: 1px solid $primary-low;
|
2017-10-20 03:51:08 +08:00
|
|
|
|
2018-09-18 23:27:01 +08:00
|
|
|
.spinner {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
|
2018-05-15 15:28:27 +08:00
|
|
|
.filter-input,
|
|
|
|
.filter-input:focus,
|
|
|
|
.filter-input:active {
|
2018-10-27 01:28:05 +08:00
|
|
|
flex: 0 0 auto;
|
|
|
|
width: 90%; // Firefox quirk
|
2018-05-15 15:28:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.filter-icon {
|
|
|
|
padding-left: 5px;
|
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;
|
2018-10-01 23:53:18 +08:00
|
|
|
padding: 0 5px 0 10px;
|
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;
|
2018-05-03 00:23:37 +08:00
|
|
|
max-height: 200px;
|
2018-05-02 08:41:28 +08: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-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;
|
|
|
|
.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
|
|
|
}
|
|
|
|
}
|