2018-02-06 01:25:39 +08:00
|
|
|
.select-kit {
|
2017-10-20 03:51:08 +08:00
|
|
|
&.dropdown-select-box {
|
|
|
|
display: inline-flex;
|
|
|
|
min-width: auto;
|
2017-11-21 18:53:09 +08:00
|
|
|
border: none;
|
|
|
|
|
2017-10-20 03:51:08 +08:00
|
|
|
&.is-expanded {
|
2017-11-21 18:53:09 +08:00
|
|
|
.select-kit-collection,
|
|
|
|
.select-kit-body {
|
2017-10-20 03:51:08 +08:00
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-06 01:25:39 +08:00
|
|
|
.select-kit-body {
|
2020-08-04 10:57:10 +08:00
|
|
|
border: 1px solid var(--primary-low);
|
2017-10-20 03:51:08 +08:00
|
|
|
background-clip: padding-box;
|
2018-02-21 01:18:20 +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 {
|
2017-10-20 03:51:08 +08:00
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
.icons {
|
|
|
|
display: flex;
|
2020-06-05 05:26:57 +08:00
|
|
|
align-self: flex-start;
|
2020-05-29 17:11:28 +08:00
|
|
|
margin-right: 0.5em;
|
2017-10-20 03:51:08 +08:00
|
|
|
|
|
|
|
.d-icon {
|
2020-06-05 05:26:57 +08:00
|
|
|
flex: 0 0 100%;
|
2020-06-20 04:49:56 +08:00
|
|
|
overflow: hidden;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-2;
|
2018-06-08 17:49:31 +08:00
|
|
|
align-self: center;
|
2017-10-20 03:51:08 +08:00
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.texts {
|
2020-05-29 17:11:28 +08:00
|
|
|
line-height: $line-height-medium;
|
2018-11-13 01:21:54 +08:00
|
|
|
flex: 1 1 0%;
|
2018-06-08 17:49:31 +08:00
|
|
|
align-items: flex-start;
|
2017-10-20 03:51:08 +08:00
|
|
|
display: flex;
|
2018-06-08 17:49:31 +08:00
|
|
|
flex-wrap: wrap;
|
|
|
|
flex-direction: column;
|
2017-10-20 03:51:08 +08:00
|
|
|
|
|
|
|
.name {
|
2018-11-14 00:21:19 +08:00
|
|
|
flex: 1 1 auto;
|
2017-10-20 03:51:08 +08:00
|
|
|
font-weight: bold;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-0;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2017-10-20 03:51:08 +08:00
|
|
|
padding: 0;
|
2019-11-07 03:00:29 +08:00
|
|
|
@include ellipsis;
|
2018-04-12 17:39:45 +08:00
|
|
|
max-width: 100%;
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.desc {
|
2018-11-14 00:21:19 +08:00
|
|
|
flex: 1 1 auto;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-down-1;
|
2017-10-20 03:51:08 +08:00
|
|
|
font-weight: normal;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2017-10-20 03:51:08 +08:00
|
|
|
white-space: normal;
|
2020-05-05 18:59:47 +08:00
|
|
|
min-width: 350px;
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-06 01:25:39 +08:00
|
|
|
.select-kit-collection {
|
2017-10-20 03:51:08 +08:00
|
|
|
padding: 0;
|
2018-02-02 01:08:55 +08:00
|
|
|
max-height: 100%;
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-select-box-header {
|
2018-06-08 17:49:31 +08:00
|
|
|
box-sizing: border-box;
|
2017-10-20 03:51:08 +08:00
|
|
|
border: 0;
|
2018-06-08 17:49:31 +08:00
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
flex-direction: row;
|
2017-11-21 18:53:09 +08:00
|
|
|
display: inline-flex;
|
2017-10-20 03:51:08 +08:00
|
|
|
|
|
|
|
.d-icon + .d-icon {
|
2020-05-29 17:11:28 +08:00
|
|
|
margin-left: 0.25em;
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
|
2017-11-21 18:53:09 +08:00
|
|
|
&.is-focused {
|
|
|
|
outline-style: auto;
|
2020-08-04 10:57:10 +08:00
|
|
|
outline-color: var(--tertiary);
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|