2018-02-06 01:25:39 +08:00
|
|
|
.select-kit {
|
2021-08-23 16:44:19 +08:00
|
|
|
&.single-select {
|
|
|
|
&.dropdown-select-box {
|
|
|
|
display: inline-flex;
|
|
|
|
min-width: auto;
|
|
|
|
border: none;
|
2017-11-21 18:53:09 +08:00
|
|
|
|
2021-08-23 16:44:19 +08:00
|
|
|
&.is-expanded {
|
|
|
|
.select-kit-collection,
|
|
|
|
.select-kit-body {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
|
2021-08-23 16:44:19 +08:00
|
|
|
.select-kit-body {
|
|
|
|
border: 1px solid var(--primary-low);
|
|
|
|
background-clip: padding-box;
|
|
|
|
box-shadow: shadow("dropdown");
|
|
|
|
}
|
2017-10-20 03:51:08 +08:00
|
|
|
|
2021-08-23 16:44:19 +08:00
|
|
|
.select-kit-row {
|
|
|
|
margin: 0;
|
2017-10-20 03:51:08 +08:00
|
|
|
|
2021-08-23 16:44:19 +08:00
|
|
|
.icons {
|
|
|
|
display: flex;
|
|
|
|
align-self: flex-start;
|
|
|
|
margin-right: 0.5em;
|
2017-10-20 03:51:08 +08:00
|
|
|
|
2021-08-23 16:44:19 +08:00
|
|
|
.d-icon {
|
|
|
|
flex: 0 0 100%;
|
|
|
|
overflow: hidden;
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-up-2);
|
2021-08-23 16:44:19 +08:00
|
|
|
margin-right: 0;
|
|
|
|
}
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
|
2021-08-23 16:44:19 +08:00
|
|
|
.texts {
|
2022-10-12 22:05:42 +08:00
|
|
|
line-height: var(--line-height-medium);
|
2021-08-23 16:44:19 +08:00
|
|
|
flex: 1 1 0%;
|
|
|
|
align-items: flex-start;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
flex-direction: column;
|
2017-10-20 03:51:08 +08:00
|
|
|
|
2021-08-23 16:44:19 +08:00
|
|
|
.name {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
font-weight: bold;
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-0);
|
2021-08-23 16:44:19 +08:00
|
|
|
color: var(--primary);
|
|
|
|
padding: 0;
|
|
|
|
@include ellipsis;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2017-10-20 03:51:08 +08:00
|
|
|
|
2021-08-23 16:44:19 +08:00
|
|
|
.desc {
|
|
|
|
flex: 1 1 auto;
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2021-08-23 16:44:19 +08:00
|
|
|
font-weight: normal;
|
|
|
|
color: var(--primary-medium);
|
|
|
|
white-space: normal;
|
|
|
|
}
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-23 16:44:19 +08:00
|
|
|
.select-kit-collection {
|
|
|
|
padding: 0;
|
|
|
|
max-height: 100%;
|
|
|
|
}
|
2017-10-20 03:51:08 +08:00
|
|
|
|
2021-08-23 16:44:19 +08:00
|
|
|
.select-kit-header {
|
2021-09-09 23:01:56 +08:00
|
|
|
display: inline-flex;
|
2021-08-23 16:44:19 +08:00
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
flex-direction: row;
|
2017-10-20 03:51:08 +08:00
|
|
|
|
2021-08-23 16:44:19 +08:00
|
|
|
.d-icon + .d-icon {
|
|
|
|
margin-left: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-focused {
|
|
|
|
outline-style: auto;
|
|
|
|
outline-color: var(--tertiary);
|
|
|
|
}
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-09-10 21:00:41 +08:00
|
|
|
&.user-notifications-dropdown {
|
|
|
|
.select-kit-header .d-icon {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
.select-kit-header-wrapper {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
}
|
2017-10-20 03:51:08 +08:00
|
|
|
}
|