mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-26 20:20:00 +08:00
43 lines
881 B
Plaintext
43 lines
881 B
Plaintext
@import '../../style/themes/index';
|
|
@import '../../style/mixins/index';
|
|
|
|
@collapse-prefix-cls: ~'@{ant-prefix}-collapse';
|
|
|
|
.@{collapse-prefix-cls} {
|
|
&-rtl {
|
|
direction: rtl;
|
|
}
|
|
|
|
& > &-item {
|
|
> .@{collapse-prefix-cls}-header {
|
|
.@{collapse-prefix-cls}-rtl & {
|
|
padding: @collapse-header-padding;
|
|
padding-right: @collapse-header-padding-extra;
|
|
}
|
|
|
|
.@{collapse-prefix-cls}-arrow {
|
|
& svg {
|
|
.@{collapse-prefix-cls}-rtl& {
|
|
transform: rotate(180deg);
|
|
}
|
|
}
|
|
}
|
|
|
|
.@{collapse-prefix-cls}-extra {
|
|
.@{collapse-prefix-cls}-rtl& {
|
|
float: left;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.@{collapse-prefix-cls}-no-arrow {
|
|
> .@{collapse-prefix-cls}-header {
|
|
.@{collapse-prefix-cls}-rtl& {
|
|
padding-right: 12px;
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|