aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/css
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-03-25 11:14:43 +0100
committerGitHub <noreply@github.com>2024-03-25 10:14:43 +0000
commitbbaf62589fe538be4afc86455d772360de80e7d8 (patch)
tree22de5e2fab13217917cd4d07d45e42c1dc06fc42 /web_src/css
parent475b6e839caa88994318f905f0965c3b418f876a (diff)
downloadgitea-bbaf62589fe538be4afc86455d772360de80e7d8.tar.gz
gitea-bbaf62589fe538be4afc86455d772360de80e7d8.zip
Fix button hover border (#30048)
Fix regression from https://github.com/go-gitea/gitea/pull/30014. The rule was to broad and affecting things like `primary` button unintentionally.
Diffstat (limited to 'web_src/css')
-rw-r--r--web_src/css/modules/button.css5
1 files changed, 4 insertions, 1 deletions
diff --git a/web_src/css/modules/button.css b/web_src/css/modules/button.css
index 849956b72c..faeed8c9a1 100644
--- a/web_src/css/modules/button.css
+++ b/web_src/css/modules/button.css
@@ -11,7 +11,6 @@
.ui.button:hover {
background: var(--color-hover);
color: var(--color-text);
- border-color: var(--color-secondary-dark-2);
}
.page-content .ui.button {
@@ -62,6 +61,10 @@ It needs some tricks to tweak the left/right borders with active state */
border-right: none;
}
+.ui.buttons .button:hover {
+ border-color: var(--color-secondary-dark-2);
+}
+
.ui.buttons .button:hover + .button {
border-left: 1px solid var(--color-secondary-dark-2);
}