From 35481241d1c0454a308d32ed7bb62b6f1d66070d Mon Sep 17 00:00:00 2001 From: qkiroc <30946345+qkiroc@users.noreply.github.com> Date: Fri, 1 Dec 2023 14:56:21 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E5=A4=8D=E9=80=89?= =?UTF-8?q?=E6=A1=86=E5=8D=8A=E9=80=89=E7=A6=81=E7=94=A8=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=20(#8975)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com> --- packages/amis-ui/scss/components/form/_checks.scss | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/amis-ui/scss/components/form/_checks.scss b/packages/amis-ui/scss/components/form/_checks.scss index a94cf5daf..e116a38af 100644 --- a/packages/amis-ui/scss/components/form/_checks.scss +++ b/packages/amis-ui/scss/components/form/_checks.scss @@ -137,12 +137,12 @@ } &[disabled] + i { - border-color: var(--Checkbox-onDisabled-color); + border-color: var(--Checkbox-color) !important; cursor: not-allowed; - + background-color: var(--checkbox-checkbox-disabled-bg-color); &:before { - width: var(--Checkbox-inner-size); - height: calc(var(--Checkbox-inner-size) / 2); + background-color: var(--Checkbox-onDisabled-color); + border-width: 0; } } @@ -285,6 +285,7 @@ &:before { border-color: var(--Checkbox-onDisabled-color); background: var(--Checkbox-onDisabled-bg); + border-width: 0 0 px2rem(1px) px2rem(1px); } }