mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
chore: collapse样式调整
This commit is contained in:
parent
2902e33070
commit
be3d529917
@ -2,7 +2,7 @@
|
||||
|
||||
- order: 1
|
||||
|
||||
手风琴,每次只打开一个tab。默认打开第一个
|
||||
手风琴,每次只打开一个tab。默认打开第一个。
|
||||
|
||||
---
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
- order: 2
|
||||
|
||||
手风琴嵌套折叠面板
|
||||
手风琴嵌套折叠面板。
|
||||
|
||||
---
|
||||
|
||||
|
@ -37,7 +37,7 @@
|
||||
"object-assign": "~3.0.0",
|
||||
"rc-calendar": "~3.11.0",
|
||||
"rc-checkbox": "~1.0.6",
|
||||
"rc-collapse": "~1.2.2",
|
||||
"rc-collapse": "~1.2.3",
|
||||
"rc-dialog": "~4.4.0",
|
||||
"rc-dropdown": "~1.1.1",
|
||||
"rc-input-number": "~2.0.1",
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user