|
|
@ -1,5 +1,5 @@ |
|
|
|
@prefixCls: ant-collapse; |
|
|
|
@borderStyle: 1px solid #e9e9e9; |
|
|
|
@borderStyle: 1px solid #d9d9d9; |
|
|
|
|
|
|
|
#arrow { |
|
|
|
.common(){ |
|
|
@ -24,17 +24,19 @@ |
|
|
|
.@{prefixCls} { |
|
|
|
background-color: #f4f4f4; |
|
|
|
border-radius: 3px; |
|
|
|
border-top: @borderStyle; |
|
|
|
border-left: @borderStyle; |
|
|
|
border-right: @borderStyle; |
|
|
|
border: @borderStyle; |
|
|
|
|
|
|
|
& > &-item { |
|
|
|
border-top: @borderStyle; |
|
|
|
&:first-child { |
|
|
|
border-top: none; |
|
|
|
} |
|
|
|
|
|
|
|
> .@{prefixCls}-header { |
|
|
|
height: 38px; |
|
|
|
line-height: 38px; |
|
|
|
text-indent: 16px; |
|
|
|
color: #666; |
|
|
|
border-bottom: @borderStyle; |
|
|
|
&:before { |
|
|
|
display: inline-block; |
|
|
|
content: '\20'; |
|
|
@ -68,12 +70,10 @@ |
|
|
|
} |
|
|
|
|
|
|
|
&-content-active { |
|
|
|
border-bottom: @borderStyle; |
|
|
|
} |
|
|
|
|
|
|
|
& > &-item-active { |
|
|
|
> .@{prefixCls}-header { |
|
|
|
border-bottom: none; |
|
|
|
|
|
|
|
&:before { |
|
|
|
#arrow > .bottom(3px, 4px, #666); |
|
|
|