style: update rate、result、row

feat-css-var
tangjinzhou 2022-03-05 17:15:05 +08:00
parent 788ee2f64a
commit 72e5afab9f
6 changed files with 10 additions and 4 deletions

View File

@ -17,6 +17,7 @@
&-disabled &-star {
cursor: default;
&:hover {
transform: scale(1);
}
@ -33,16 +34,20 @@
}
> div {
transition: all 0.3s;
transition: all 0.3s, outline 0s;
&:hover,
&:focus-visible {
transform: @rate-star-hover-scale;
}
&:focus:not(:focus-visible) {
&:focus {
outline: 0;
}
&:focus-visible {
outline: 1px dashed @rate-star-color;
}
}
&-first,

View File

@ -1,4 +1,4 @@
@import '../../style/themes/default';
@import '../../style/themes/index';
@import '../../style/mixins/index';
@result-prefix-cls: ~'@{ant-prefix}-result';
@ -55,6 +55,7 @@
&-extra {
margin: @result-extra-margin;
text-align: center;
> * {
margin-right: 8px;

View File

@ -1,4 +1,4 @@
@import '../../style/themes/default';
@import '../../style/themes/index';
@import '../../style/mixins/index';
@result-prefix-cls: ~'@{ant-prefix}-result';