mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
style: fix Rate focused style (#30451)
* style: fix Rate focused style close #30449 * Apply suggestions from code review Co-authored-by: xrkffgg <xrkffgg@gmail.com> Co-authored-by: xrkffgg <xrkffgg@gmail.com>
This commit is contained in:
parent
effb9d9eef
commit
7e8075b06b
@ -27,21 +27,22 @@
|
||||
display: inline-block;
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s;
|
||||
|
||||
&:not(:last-child) {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
> div {
|
||||
&:focus {
|
||||
outline: 0;
|
||||
}
|
||||
transition: all 0.3s;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
&:focus-visible {
|
||||
transform: @rate-star-hover-scale;
|
||||
}
|
||||
|
||||
&:focus:not(:focus-visible) {
|
||||
outline: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&-first,
|
||||
|
Loading…
Reference in New Issue
Block a user