You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.0 KiB
48 lines
1.0 KiB
@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 {
|
|
.@{collapse-prefix-cls}-rtl& {
|
|
margin-right: 0;
|
|
margin-left: @margin-sm;
|
|
}
|
|
|
|
& svg {
|
|
.@{collapse-prefix-cls}-rtl& {
|
|
transform: rotate(180deg);
|
|
}
|
|
}
|
|
}
|
|
|
|
.@{collapse-prefix-cls}-extra {
|
|
.@{collapse-prefix-cls}-rtl& {
|
|
margin-right: auto;
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.@{collapse-prefix-cls}-no-arrow {
|
|
> .@{collapse-prefix-cls}-header {
|
|
.@{collapse-prefix-cls}-rtl& {
|
|
padding-right: @padding-sm;
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|