Collapse add simple prop
This commit is contained in:
parent
0c9f8fabb3
commit
3f611f57ed
4 changed files with 25 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue