2018-02-06 01:25:39 +08:00
|
|
|
.select-kit {
|
2017-11-21 18:53:09 +08:00
|
|
|
&.multi-select {
|
2017-11-10 02:57:53 +08:00
|
|
|
width: 300px;
|
2020-08-04 10:57:10 +08:00
|
|
|
background: var(--secondary);
|
2017-11-10 02:57:53 +08:00
|
|
|
|
2018-02-06 01:25:39 +08:00
|
|
|
.select-kit-filter {
|
2021-08-23 16:44:19 +08:00
|
|
|
& + .selected-content,
|
|
|
|
& + .select-kit-collection {
|
|
|
|
border-top: 1px solid var(--primary-low);
|
|
|
|
}
|
2017-11-10 02:57:53 +08:00
|
|
|
}
|
|
|
|
|
2021-08-23 16:44:19 +08:00
|
|
|
.select-kit-row {
|
|
|
|
min-height: 1px;
|
2017-11-10 02:57:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&.is-disabled {
|
2017-11-21 18:53:09 +08:00
|
|
|
.multi-select-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-11-10 02:57:53 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-23 16:44:19 +08:00
|
|
|
.selected-content {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
padding: 0;
|
|
|
|
justify-content: flex-start;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-bottom: 1px solid var(--primary-low);
|
|
|
|
padding: 0.25em 0.25em 0 0.25em;
|
2017-11-10 02:57:53 +08:00
|
|
|
|
2021-08-23 16:44:19 +08:00
|
|
|
.selected-choice {
|
|
|
|
margin: 0 0.25em 0.25em 0;
|
|
|
|
font-size: var(--font-down-1);
|
2017-11-10 02:57:53 +08:00
|
|
|
|
2021-08-23 16:44:19 +08:00
|
|
|
&.selected-choice-color {
|
|
|
|
border-bottom: 2px solid transparent;
|
2021-02-04 00:45:54 +08:00
|
|
|
}
|
2017-11-10 02:57:53 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-23 16:44:19 +08:00
|
|
|
.multi-select-header {
|
|
|
|
background: var(--secondary);
|
2021-09-09 23:01:56 +08:00
|
|
|
border-color: var(--primary-medium);
|
2017-11-10 02:57:53 +08:00
|
|
|
|
2021-08-23 16:44:19 +08:00
|
|
|
.formated-selection {
|
|
|
|
margin: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
@include ellipsis;
|
2021-09-10 21:00:41 +08:00
|
|
|
display: inline-block;
|
2018-02-26 18:42:57 +08:00
|
|
|
}
|
2021-08-23 16:44:19 +08:00
|
|
|
}
|
2018-02-26 18:42:57 +08:00
|
|
|
|
2021-09-10 21:00:41 +08:00
|
|
|
&.is-expanded .multi-select-header,
|
2021-08-23 16:44:19 +08:00
|
|
|
.multi-select-header:focus {
|
|
|
|
@include default-focus;
|
|
|
|
}
|
2017-11-10 02:57:53 +08:00
|
|
|
}
|
|
|
|
}
|