mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 09:49:57 +08:00
27 lines
414 B
Plaintext
27 lines
414 B
Plaintext
|
@import '../../style/themes/index';
|
||
|
@import '../../style/mixins/index';
|
||
|
|
||
|
@rate-prefix-cls: ~'@{ant-prefix}-rate';
|
||
|
|
||
|
.@{rate-prefix-cls} {
|
||
|
&-rtl {
|
||
|
direction: rtl;
|
||
|
}
|
||
|
|
||
|
&-star {
|
||
|
&:not(:last-child) {
|
||
|
.@{rate-prefix-cls}-rtl & {
|
||
|
margin-right: 0;
|
||
|
margin-left: 8px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&-first {
|
||
|
.@{rate-prefix-cls}-rtl & {
|
||
|
right: 0;
|
||
|
left: auto;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|