From ac242fad7207d8b47351f00c30c6336056a2ca0a Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 14 Aug 2024 14:04:35 +0800 Subject: [PATCH] Update index.less --- assets/index.less | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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; } }