From 114bb505a3b0819db683d4b586e950df6a17bff8 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 --- 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 77359b36e5..3db9cd894c 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -1448,7 +1448,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 5137e0774c..fbe2458ed6 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;