From b1d77dd2feac824ad992b12a578fdab0090c8175 Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 13 Jan 2022 21:40:01 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20button=E6=A0=B7=E5=BC=8F=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/less/base/single/button/button.less | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/less/base/single/button/button.less b/src/less/base/single/button/button.less index 495342bbb..652784936 100644 --- a/src/less/base/single/button/button.less +++ b/src/less/base/single/button/button.less @@ -2,7 +2,7 @@ @hoverVal: opacity .3s ease; @activeVal: transform .5s ease, opacity 1s ease; @activeStopVal: transform 0s; -body .bi-button, #body .bi-button { +.bi-button, #body .bi-button { &.hack { .border-radius(0px); } @@ -221,6 +221,11 @@ body .bi-button, #body .bi-button { .opacity(0.5); } } + &.button-ignore.disabled { + &.ghost { + .opacity(1); + } + } &.button-common.disabled { &.ghost { &, & .b-font:before { @@ -361,7 +366,7 @@ body .bi-button, #body .bi-button { color: @color-bi-text-disabled-theme-dark !important; } background: transparent !important; - .opacity(0.8); + .opacity(1); } } } @@ -377,7 +382,7 @@ body .bi-button, #body .bi-button { } &.ghost { background: transparent !important; - .opacity(0.8); + .opacity(1); } } }