Collapse add simple prop

This commit is contained in:
梁灏 2018-06-21 19:14:09 +08:00
parent 0c9f8fabb3
commit 3f611f57ed
4 changed files with 25 additions and 4 deletions

View file

@ -5,6 +5,12 @@
border-radius: 3px;
border: 1px solid @border-color-base;
&-simple{
border-left: none;
border-right: none;
background-color: #fff;
}
& > &-item{
border-top: 1px solid @border-color-base;
&:first-child {
@ -30,6 +36,9 @@
& > &-item&-item-active > &-header{
border-bottom: 1px solid @border-color-base;
}
&-simple > &-item&-item-active > &-header{
border-bottom: 1px solid transparent;
}
& > &-item&-item-active > &-header > i{
transform: rotate(90deg);
}
@ -46,6 +55,9 @@
padding-bottom: 16px;
}
}
&-simple > &-item > &-content > &-content-box{
padding-top: 0;
}
&-item-active > &-content{
//display: block;
}