|
@@ -2,23 +2,27 @@
|
|
|
@import "common/var";
|
|
|
|
|
|
@include b(collapse) {
|
|
|
- border: 1px solid $--collapse-border-color;
|
|
|
- border-radius: $--collapse-border-radius;
|
|
|
+ border-top: 1px solid $--collapse-border-color;
|
|
|
+ border-bottom: 1px solid $--collapse-border-color;
|
|
|
}
|
|
|
@include b(collapse-item) {
|
|
|
@include e(header) {
|
|
|
height: $--collapse-header-height;
|
|
|
line-height: $--collapse-header-height;
|
|
|
- padding-left: 15px;
|
|
|
background-color: $--collapse-header-fill;
|
|
|
color: $--collapse-header-color;
|
|
|
cursor: pointer;
|
|
|
border-bottom: 1px solid $--collapse-border-color;
|
|
|
font-size: $--collapse-header-size;
|
|
|
+ font-weight: 500;
|
|
|
+ transition: border-bottom-color .3s;
|
|
|
|
|
|
@include e(arrow) {
|
|
|
margin-right: 8px;
|
|
|
transition: transform .3s;
|
|
|
+ float: right;
|
|
|
+ line-height: 48px;
|
|
|
+ font-weight: 300;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -31,7 +35,7 @@
|
|
|
}
|
|
|
|
|
|
@include e(content) {
|
|
|
- padding: 10px 15px;
|
|
|
+ padding-bottom: 25px;
|
|
|
font-size: $--collapse-content-size;
|
|
|
color: $--collapse-content-color;
|
|
|
line-height: 1.769230769230769;
|
|
@@ -39,6 +43,8 @@
|
|
|
|
|
|
@include when(active) {
|
|
|
> .el-collapse-item__header {
|
|
|
+ border-bottom-color: transparent;
|
|
|
+
|
|
|
.el-collapse-item__arrow {
|
|
|
transform: rotate(90deg);
|
|
|
}
|