diff --git a/assets/index.less b/assets/index.less index e287fd2..6e40abb 100644 --- a/assets/index.less +++ b/assets/index.less @@ -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; @@ -62,7 +62,7 @@ } /* Checked state */ -.@{checkboxWarpPrefixCls}-checked { +.@{checkboxPrefixCls}-checked { &:hover { .@{checkboxInnerPrefixCls} { @@ -97,9 +97,9 @@ } } -.@{checkboxWarpPrefixCls}-disabled { +.@{checkboxPrefixCls}-disabled { - &.@{checkboxWarpPrefixCls}-checked { + &.@{checkboxPrefixCls}-checked { &:hover { .@{checkboxInnerPrefixCls} { @@ -137,7 +137,7 @@ } } - .@{checkboxWarpPrefixCls}-input { + .@{checkboxPrefixCls}-input { cursor: default; } }