Skip to content

Commit ac242fa

Browse files
authored
Update index.less
1 parent 87275a2 commit ac242fa

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

assets/index.less

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
@checkboxWarpPrefixCls: rc-checkbox;
2-
@checkboxInnerPrefixCls: ~"@{checkboxWarpPrefixCls}-inner";
1+
@checkboxPrefixCls: rc-checkbox;
2+
@checkboxInnerPrefixCls: ~"@{checkboxPrefixCls}-inner";
33

44
/* Default state */
5-
.@{checkboxWarpPrefixCls} {
5+
.@{checkboxPrefixCls} {
66
white-space: nowrap;
77
cursor: pointer;
88
outline: none;
@@ -62,7 +62,7 @@
6262
}
6363

6464
/* Checked state */
65-
.@{checkboxWarpPrefixCls}-checked {
65+
.@{checkboxPrefixCls}-checked {
6666

6767
&:hover {
6868
.@{checkboxInnerPrefixCls} {
@@ -97,9 +97,9 @@
9797
}
9898
}
9999

100-
.@{checkboxWarpPrefixCls}-disabled {
100+
.@{checkboxPrefixCls}-disabled {
101101

102-
&.@{checkboxWarpPrefixCls}-checked {
102+
&.@{checkboxPrefixCls}-checked {
103103

104104
&:hover {
105105
.@{checkboxInnerPrefixCls} {
@@ -137,7 +137,7 @@
137137
}
138138
}
139139

140-
.@{checkboxWarpPrefixCls}-input {
140+
.@{checkboxPrefixCls}-input {
141141
cursor: default;
142142
}
143143
}

0 commit comments

Comments
 (0)