mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 17:31:25 +08:00
27 lines
610 B
Plaintext
27 lines
610 B
Plaintext
@import '../../style/mixins/index';
|
|
|
|
.antCheckboxFn(@checkbox-prefix-cls: ~'@{ant-prefix}-checkbox') {
|
|
.@{checkbox-prefix-cls}-rtl {
|
|
direction: rtl;
|
|
}
|
|
|
|
.@{checkbox-prefix-cls}-group {
|
|
&-item {
|
|
.@{checkbox-prefix-cls}-group-rtl & {
|
|
margin-right: 0;
|
|
margin-left: @checkbox-group-item-margin-right;
|
|
}
|
|
&:last-child {
|
|
.@{checkbox-prefix-cls}-group-rtl & {
|
|
margin-left: 0 !important;
|
|
}
|
|
}
|
|
}
|
|
&-item + &-item {
|
|
.@{checkbox-prefix-cls}-group-rtl & {
|
|
margin-left: @checkbox-group-item-margin-right;
|
|
}
|
|
}
|
|
}
|
|
}
|