From: Yarden Shoham Date: Wed, 8 Feb 2023 15:44:40 +0000 (+0200) Subject: Fix color of tertiary button on dark theme (#22739) (#22744) X-Git-Tag: v1.18.4~15 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3647e62ef9951368af2b2824e82f5ea76cb6ad8a;p=gitea.git Fix color of tertiary button on dark theme (#22739) (#22744) Backport #22739 Before: Screenshot 2023-02-03 at 14 07 34 After: Screenshot 2023-02-03 at 14 07 52 This is the only instance of such a button in all templates. Co-authored-by: silverwind Co-authored-by: Lauris BH Co-authored-by: Lunny Xiao --- diff --git a/web_src/less/_base.less b/web_src/less/_base.less index 09ed503776..f03eb67818 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -2126,9 +2126,7 @@ a.ui.label:hover { border: 1px solid var(--color-light-border); color: var(--color-text); } -.ui.tertiary.button { - border: none; -} + .page-content .ui.button { box-shadow: none !important; } @@ -2244,6 +2242,15 @@ a.ui.label:hover { color: var(--color-secondary-dark-8) !important; } +.ui.tertiary.button { + color: var(--color-text-light); + border: none; +} + +.ui.tertiary.button:hover { + color: var(--color-text); +} + .ui.primary.label, .ui.primary.labels .label { background-color: var(--color-primary) !important;