From a1bba9c5475065aa38de085e3cce3e5cfa706fef Mon Sep 17 00:00:00 2001 From: Gusted Date: Tue, 16 Apr 2024 12:25:09 +0200 Subject: [PATCH] [BUG] Fix styling of close button - This is a partial revert of c2280a20097b938315b7f00b1aa18a9f5891ef45, it was already fixed upstream, but not for the `.basic` variant. - Resolves #3252 (cherry picked from commit 7fcb9c3636832078dfa03a0ee95b6d4531d56d2f) --- web_src/css/themes/theme-forgejo-dark.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/web_src/css/themes/theme-forgejo-dark.css b/web_src/css/themes/theme-forgejo-dark.css index 862aaf4ba4..3b11d16cd9 100644 --- a/web_src/css/themes/theme-forgejo-dark.css +++ b/web_src/css/themes/theme-forgejo-dark.css @@ -318,3 +318,16 @@ strong.attention-note, svg.attention-note { strong.attention-caution, svg.attention-caution { color: var(--color-red-light); } +.ui.basic.red.button { + background-color: var(--color-red); + color: var(--color-white); +} +.ui.basic.red.button:hover, +.ui.basic.red.button:focus { + background-color: var(--color-red-dark-1); + color: var(--color-white); +} +.ui.basic.red.button:active { + background-color: var(--color-red-dark-2); + color: var(--color-white); +}