Skip to content

Commit

Permalink
Update index.less
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 authored Aug 14, 2024
1 parent 87275a2 commit ac242fa
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions assets/index.less
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@checkboxWarpPrefixCls: rc-checkbox;
@checkboxInnerPrefixCls: ~"@{checkboxWarpPrefixCls}-inner";
@checkboxPrefixCls: rc-checkbox;
@checkboxInnerPrefixCls: ~"@{checkboxPrefixCls}-inner";

/* Default state */
.@{checkboxWarpPrefixCls} {
.@{checkboxPrefixCls} {
white-space: nowrap;
cursor: pointer;
outline: none;
Expand Down Expand Up @@ -62,7 +62,7 @@
}

/* Checked state */
.@{checkboxWarpPrefixCls}-checked {
.@{checkboxPrefixCls}-checked {

&:hover {
.@{checkboxInnerPrefixCls} {
Expand Down Expand Up @@ -97,9 +97,9 @@
}
}

.@{checkboxWarpPrefixCls}-disabled {
.@{checkboxPrefixCls}-disabled {

&.@{checkboxWarpPrefixCls}-checked {
&.@{checkboxPrefixCls}-checked {

&:hover {
.@{checkboxInnerPrefixCls} {
Expand Down Expand Up @@ -137,7 +137,7 @@
}
}

.@{checkboxWarpPrefixCls}-input {
.@{checkboxPrefixCls}-input {
cursor: default;
}
}
Expand Down

0 comments on commit ac242fa

Please sign in to comment.