You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
84 lines
1.6 KiB
SCSS
84 lines
1.6 KiB
SCSS
@import '../common/abstracts/variable';
|
|
@import '../common/abstracts/mixin';
|
|
|
|
.wot-theme-dark {
|
|
@include b(collapse-item) {
|
|
@include halfPixelBorder('top', 0, $-dark-border-color);
|
|
|
|
|
|
@include e(title) {
|
|
color: $-dark-color;
|
|
}
|
|
|
|
@include e(body) {
|
|
color: $-dark-color3;
|
|
}
|
|
|
|
@include when(disabled) {
|
|
.wd-collapse-item__title {
|
|
color: $-dark-color-gray;
|
|
}
|
|
.wd-collapse-item__arrow {
|
|
color: $-dark-color-gray;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@include b(collapse-item) {
|
|
position: relative;
|
|
@include halfPixelBorder('top');
|
|
|
|
|
|
@include e(header) {
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: $-collapse-header-padding;
|
|
overflow: hidden;
|
|
user-select: none;
|
|
}
|
|
|
|
@include e(title) {
|
|
color: $-collapse-title-color;
|
|
font-weight: $-fw-medium;
|
|
font-size: $-collapse-title-fs;
|
|
}
|
|
|
|
@include edeep(arrow) {
|
|
display: block;
|
|
font-size: $-collapse-arrow-size;
|
|
color: $-collapse-arrow-color;
|
|
transition: transform 0.3s;
|
|
|
|
@include when(retract) {
|
|
transform: rotate(-180deg);
|
|
}
|
|
}
|
|
|
|
@include e(wrapper) {
|
|
position: relative;
|
|
transition: height 0.3s ease-in-out;
|
|
overflow: hidden;
|
|
will-change: height;
|
|
}
|
|
|
|
@include e(body) {
|
|
color: $-collapse-body-color;
|
|
font-size: $-collapse-body-fs;
|
|
padding: $-collapse-body-padding;
|
|
line-height: 1.43;
|
|
}
|
|
|
|
@include when(disabled) {
|
|
.wd-collapse-item__title {
|
|
color: $-collapse-disabled-color;
|
|
}
|
|
.wd-collapse-item__arrow {
|
|
color: $-collapse-disabled-color;
|
|
}
|
|
}
|
|
}
|