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
|
|
|
border-radius: 0;
|
|
|
|
|
2018-02-06 01:25:39 +08:00
|
|
|
.select-kit-row {
|
2017-11-10 02:57:53 +08:00
|
|
|
margin: 5px;
|
|
|
|
min-height: 1px;
|
|
|
|
padding: 5px;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
2018-02-06 01:25:39 +08:00
|
|
|
.select-kit-filter {
|
2017-11-10 02:57:53 +08:00
|
|
|
border: 0;
|
2019-01-22 02:40:55 +08:00
|
|
|
flex: 1 0 0px;
|
2018-09-19 20:37:04 +08:00
|
|
|
margin: 1px;
|
2017-11-10 02:57:53 +08:00
|
|
|
}
|
|
|
|
|
2017-11-21 18:53:09 +08:00
|
|
|
.multi-select-header {
|
2020-08-04 10:57:10 +08:00
|
|
|
background: var(--secondary);
|
|
|
|
border: 1px solid var(--primary-medium);
|
2017-11-10 02:57:53 +08:00
|
|
|
|
2021-02-04 00:45:54 +08:00
|
|
|
&.is-focused,
|
|
|
|
&:focus {
|
|
|
|
@include default-focus;
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-expanded {
|
2018-02-06 01:25:39 +08:00
|
|
|
.select-kit-wrapper {
|
2017-11-10 02:57:53 +08:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2017-11-21 18:53:09 +08:00
|
|
|
.multi-select-header {
|
2017-11-10 02:57:53 +08:00
|
|
|
border-radius: 0;
|
2021-02-04 00:45:54 +08:00
|
|
|
@include default-focus;
|
2017-11-10 02:57:53 +08:00
|
|
|
}
|
|
|
|
|
2018-02-06 01:25:39 +08:00
|
|
|
.select-kit-body {
|
2017-11-10 02:57:53 +08:00
|
|
|
border-radius: 0;
|
2021-02-04 00:45:54 +08:00
|
|
|
box-shadow: shadow("dropdown");
|
|
|
|
&.empty-body {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2017-11-10 02:57:53 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.choices {
|
2020-02-03 21:22:14 +08:00
|
|
|
margin: 0;
|
|
|
|
padding: 0 0 2px 0;
|
2017-11-10 02:57:53 +08:00
|
|
|
box-sizing: border-box;
|
2020-02-03 21:22:14 +08:00
|
|
|
display: block;
|
2018-09-21 04:12:08 +08:00
|
|
|
width: 100%;
|
2017-11-10 02:57:53 +08:00
|
|
|
|
2017-11-21 18:53:09 +08:00
|
|
|
.choice {
|
2017-11-10 02:57:53 +08:00
|
|
|
display: inline-flex;
|
|
|
|
box-sizing: border-box;
|
2017-11-21 18:53:09 +08:00
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
2020-02-03 21:22:14 +08:00
|
|
|
margin: 2px 0 0px 3px;
|
|
|
|
padding: 0;
|
|
|
|
float: left;
|
|
|
|
height: 30px;
|
|
|
|
|
|
|
|
&.input-wrapper {
|
|
|
|
min-width: 120px;
|
|
|
|
}
|
2017-11-10 02:57:53 +08:00
|
|
|
}
|
|
|
|
|
2021-06-18 01:42:16 +08:00
|
|
|
.multi-select-filter .filter-input {
|
|
|
|
padding-left: 5px;
|
2017-11-21 18:53:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.selected-color {
|
|
|
|
.selected-color-wrapper {
|
|
|
|
display: flex;
|
2019-01-22 02:40:55 +08:00
|
|
|
flex: 1 0 0px;
|
2017-11-21 18:53:09 +08:00
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.color-preview {
|
|
|
|
height: 5px;
|
2018-09-19 20:37:04 +08:00
|
|
|
margin: 0 2px 2px 0px;
|
2018-01-11 20:05:29 +08:00
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
2017-11-10 02:57:53 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-26 18:42:57 +08:00
|
|
|
.selected-category {
|
2018-11-27 05:49:57 +08:00
|
|
|
.body {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2018-02-26 18:42:57 +08:00
|
|
|
.badge-wrapper {
|
|
|
|
&.bullet {
|
|
|
|
margin-right: 2.5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
padding: 2px 4px;
|
|
|
|
line-height: $line-height-medium;
|
|
|
|
display: flex;
|
2019-01-22 02:40:55 +08:00
|
|
|
flex: 1 0 0px;
|
2018-02-26 18:42:57 +08:00
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-10 02:57:53 +08:00
|
|
|
.selected-name {
|
2020-08-04 10:57:10 +08:00
|
|
|
background: var(--primary-low);
|
2020-02-03 21:22:14 +08:00
|
|
|
padding: 0.25em;
|
|
|
|
flex: 1;
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2021-04-29 03:12:01 +08:00
|
|
|
max-width: calc(100% - 5px);
|
|
|
|
|
|
|
|
.name {
|
|
|
|
@include ellipsis;
|
|
|
|
}
|
2018-01-11 20:05:29 +08:00
|
|
|
|
2018-11-27 05:49:57 +08:00
|
|
|
.d-icon {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-low-mid);
|
2018-11-27 05:49:57 +08:00
|
|
|
vertical-align: middle;
|
2020-02-03 21:22:14 +08:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
2018-11-27 05:49:57 +08:00
|
|
|
}
|
2019-04-06 05:43:14 +08:00
|
|
|
&:hover .d-icon:last-child {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--danger);
|
2018-01-13 06:27:38 +08:00
|
|
|
}
|
2017-11-10 02:57:53 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|