mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-26 12:10:06 +08:00
e652eef04c
* style: add rtl base * fix: add test snap
27 lines
550 B
Plaintext
27 lines
550 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: 8px;
|
|
}
|
|
&:last-child {
|
|
.@{checkbox-prefix-cls}-group-rtl & {
|
|
margin-left: 0 !important;
|
|
}
|
|
}
|
|
}
|
|
&-item + &-item {
|
|
.@{checkbox-prefix-cls}-group-rtl & {
|
|
margin-left: 8px;
|
|
}
|
|
}
|
|
}
|
|
}
|