2021-09-19 19:34:25 +08:00
|
|
|
@use 'sass:map';
|
2021-08-01 18:10:30 +08:00
|
|
|
|
2021-09-28 20:42:12 +08:00
|
|
|
@use 'mixins/mixins' as *;
|
|
|
|
@use 'common/var' as *;
|
2020-08-28 11:09:05 +08:00
|
|
|
|
|
|
|
@include b(select-group) {
|
|
|
|
$gap: 20px;
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
@include e(wrap) {
|
|
|
|
position: relative;
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
&:not(:last-of-type) {
|
|
|
|
padding-bottom: 24px;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
left: $gap;
|
|
|
|
right: $gap;
|
|
|
|
bottom: 12px;
|
|
|
|
height: 1px;
|
2021-07-15 21:06:30 +08:00
|
|
|
background: var(--el-border-color-light);
|
2020-08-28 11:09:05 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-08 14:12:16 +08:00
|
|
|
@include e(split) {
|
|
|
|
&-dash {
|
|
|
|
position: absolute;
|
|
|
|
left: $gap;
|
|
|
|
right: $gap;
|
|
|
|
height: 1px;
|
2021-07-15 21:06:30 +08:00
|
|
|
background: var(--el-border-color-light);
|
2021-06-08 14:12:16 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-28 11:09:05 +08:00
|
|
|
@include e(title) {
|
|
|
|
padding-left: $gap;
|
2021-09-28 20:42:12 +08:00
|
|
|
font-size: map.get($select-group, 'font-size');
|
2021-11-22 11:19:44 +08:00
|
|
|
color: map.get($select-group, 'text-color');
|
2021-09-28 20:42:12 +08:00
|
|
|
line-height: map.get($select-group, 'height');
|
2020-08-28 11:09:05 +08:00
|
|
|
}
|
|
|
|
|
2021-02-04 16:29:23 +08:00
|
|
|
& .#{$namespace}-select-dropdown__item {
|
2020-08-28 11:09:05 +08:00
|
|
|
padding-left: $gap;
|
|
|
|
}
|
|
|
|
}
|