From faac0a7c3224b2c59d2814390b9d04c377c84bd1 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 8 Mar 2024 10:42:12 +0100 Subject: [PATCH] Style fomantic grey labels (#29458) Fomantic grey labels in the dashboard repo lists were showing original fomantic colors, fixed that. Also slightly tweaked the light theme colors so it uses same opacity values as dark theme. Screenshot 2024-03-07 at 21 06 23 Screenshot 2024-03-07 at 21 06 00 (cherry picked from commit 114bb505a3b0819db683d4b586e950df6a17bff8) --- web_src/css/base.css | 4 +++- web_src/css/themes/theme-gitea-light.css | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/web_src/css/base.css b/web_src/css/base.css index 976f2f9f3..9f402d900 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -1459,7 +1459,9 @@ strong.attention-caution, span.attention-caution { } .ui.label, -.ui.menu .item > .label { +.ui.menu .item > .label, +.ui.grey.labels .label, +.ui.ui.ui.grey.label { background: var(--color-label-bg); color: var(--color-label-text); } diff --git a/web_src/css/themes/theme-gitea-light.css b/web_src/css/themes/theme-gitea-light.css index 5137e0774..fbe2458ed 100644 --- a/web_src/css/themes/theme-gitea-light.css +++ b/web_src/css/themes/theme-gitea-light.css @@ -228,9 +228,9 @@ --color-nav-hover-bg: #ebebeb; --color-nav-text: var(--color-text); --color-label-text: var(--color-text); - --color-label-bg: #cacaca5b; - --color-label-hover-bg: #cacacaa0; - --color-label-active-bg: #cacacaff; + --color-label-bg: #9d9d9d4b; + --color-label-hover-bg: #9d9d9da0; + --color-label-active-bg: #9d9d9dff; --color-accent: var(--color-primary-light-1); --color-small-accent: var(--color-primary-light-6); --color-active-line: #fffbdd;