49306c7a
梁灏
add Collapse comp...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
@collapse-prefix-cls: ~"@{css-prefix}collapse";
.@{collapse-prefix-cls}{
background-color: @background-color-base;
border-radius: 3px;
border: 1px solid @border-color-base;
& > &-item{
border-top: 1px solid @border-color-base;
&:first-child {
border-top: 0;
}
> .@{collapse-prefix-cls}-header{
height: 38px;
line-height: 38px;
padding-left: 32px;
color: #666;
cursor: pointer;
position: relative;
> i{
|
e2645048
jingsam
remove tra...
|
23
|
transition: transform @transition-time @ease-in-out;
|
49306c7a
梁灏
add Collapse comp...
|
24
25
26
27
|
}
}
}
& > &-item&-item-active > &-header > i{
|
e2645048
jingsam
remove tra...
|
28
|
transform: rotate(90deg);
|
49306c7a
梁灏
add Collapse comp...
|
29
30
31
32
|
}
&-content{
//display: none;
|
10f31b2c
梁灏
fixed #2973
|
33
|
//overflow: hidden;
|
49306c7a
梁灏
add Collapse comp...
|
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
color: @text-color;
padding: 0 16px;
background-color: #fff;
& > &-box {
padding-top: 16px;
padding-bottom: 16px;
}
}
&-item-active > &-content{
//display: block;
}
&-item:last-child {
> .@{collapse-prefix-cls}-content {
border-radius: 0 0 3px 3px;
}
}
|
e2645048
jingsam
remove tra...
|
51
|
}
|