From 7c17d7b8f613a4adc5ffc1d9c11bbbe41e468fbb Mon Sep 17 00:00:00 2001 From: Dong Xia Date: Thu, 23 Feb 2023 06:38:32 +0000 Subject: [PATCH] =?UTF-8?q?=E7=BA=A2=E8=89=B2=E4=B8=BB=E9=A2=98=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=BA=93=E6=8C=89=E9=92=AE=E7=BB=84=E4=BB=B6=E7=9A=84?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dong Xia --- src/assets/theme/red.scss | 52 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/src/assets/theme/red.scss b/src/assets/theme/red.scss index c0e4d40..f0b981c 100644 --- a/src/assets/theme/red.scss +++ b/src/assets/theme/red.scss @@ -33,4 +33,56 @@ body[data-theme='red'] { color: $linx-red-warning-color; font-size: 12px; } + +.ant-btn { + &:active{ + color: $linx-red-theme; + border-color: $linx-red-theme; + } + border-radius: 20px; + &:hover{ + border-color: $linx-red-theme; + color: $linx-red-theme; + } + &[disabled] { + background-color: #f5f5f5 !important; + border-color: #d9d9d9 !important; + &:hover{ + color:rgba(0, 0, 0, 0.25)!important; + } + } + &.ant-btn-primary{ + background-color: $linx-red-theme; + border-color: $linx-red-theme; + &:hover{ + color: #fff; + } + } + &.ant-btn-danger{ + background-color: $linx-red-danger-color; + border-color: $linx-red-danger-color; + &:hover{ + color: #fff; + } + } + &.ant-btn-link{ + &[disabled] { + background-color: transparent !important; + border-color: transparent !important; + &:hover{ + span{ + color: $linx-red-dark-color !important; + } + } + } + color: $linx-red-dark-color; + &:hover{ + border-color: transparent; + span{ + color: $linx-red-theme; + } + } + } + } + } -- Gitee