From 0149c0972c7eef265fa60e977f360e82590c66f9 Mon Sep 17 00:00:00 2001 From: guy Date: Sun, 14 Feb 2021 16:20:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/less/base/segment/button.segment.less | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/less/base/segment/button.segment.less b/src/less/base/segment/button.segment.less index 5599bf515..fa24f8331 100644 --- a/src/less/base/segment/button.segment.less +++ b/src/less/base/segment/button.segment.less @@ -2,6 +2,12 @@ .bi-segment-button { color: @color-bi-text-highlight; + &.active { + &:active { + color: @color-bi-text; + background-color: @color-bi-background-highlight; + } + } &:active { color: @color-bi-text-highlight; .background-color(@color-bi-background-highlight, 10%);