From 1c7e01ebce8aa06f7ed28da6f26b3a37e468c54e Mon Sep 17 00:00:00 2001 From: Red Adaya Date: Fri, 22 Nov 2024 07:10:41 +0800 Subject: [PATCH] init --- frontend/app/tab/tab.less | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/frontend/app/tab/tab.less b/frontend/app/tab/tab.less index 12f276dd5..b9eab776f 100644 --- a/frontend/app/tab/tab.less +++ b/frontend/app/tab/tab.less @@ -17,8 +17,13 @@ height: 100%; white-space: nowrap; border-radius: 6px; - background: rgba(255, 255, 255, 0.05); - border: 0.5px solid rgba(255, 255, 255, 0.08); + // background: rgba(255, 255, 255, 0.05); + // border: 0.5px solid rgba(255, 255, 255, 0.08); + transition: background 0.15s ease-in; + + &:hover { + background: rgba(255, 255, 255, 0.07); + } } &.animate { @@ -29,9 +34,10 @@ &.active { .tab-inner { - border: 0.5px solid rgba(255, 255, 255, 0.2); - background: radial-gradient(ellipse 92px 32px at bottom, rgba(118, 255, 53, 0.3) 0%, transparent 100%), - rgba(255, 255, 255, 0.2); + // border: 0.5px solid rgba(255, 255, 255, 0.2); + // background: radial-gradient(ellipse 92px 32px at bottom, rgba(118, 255, 53, 0.3) 0%, transparent 100%), + // rgba(255, 255, 255, 0.2); + background: rgba(255, 255, 255, 0.07); } .name {