summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-04-21 03:53:17 +0200
committerGitHub <noreply@github.com>2023-04-20 21:53:17 -0400
commit948a9ee5e83586354461e2a0e5cdf00e0513e89d (patch)
tree5799cc231c4c0be4200a0b7976dcf0af3af2d93f
parent7b34cba0b83a3ae7861916054713baf282281fe8 (diff)
downloadgitea-948a9ee5e83586354461e2a0e5cdf00e0513e89d.tar.gz
gitea-948a9ee5e83586354461e2a0e5cdf00e0513e89d.zip
Fix label color, fix divider in dropdown (#24215)
Two small CSS fixes: 1. Fix basic primary label hover 2. Fix border color of divider in dropdown and remove margin so it looks better with hover effect, as discussed in https://github.com/go-gitea/gitea/pull/24143:
-rw-r--r--web_src/css/base.css12
1 files changed, 12 insertions, 0 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css
index 79e1566b64..2079c3749f 100644
--- a/web_src/css/base.css
+++ b/web_src/css/base.css
@@ -2380,6 +2380,13 @@ a.ui.label:hover {
color: var(--color-primary);
}
+.ui.basic.labels a.primary.label:hover,
+a.ui.ui.ui.basic.primary.label:hover {
+ background: var(--color-hover);
+ border-color: var(--color-primary-dark-1);
+ color: var(--color-primary-dark-1);
+}
+
.ui.basic.labels .secondary.label,
.ui.ui.ui.basic.secondary.label {
background: transparent;
@@ -2629,6 +2636,11 @@ table th[data-sortt-desc] .svg {
border-radius: 0 0 var(--border-radius) var(--border-radius);
}
+.ui.dropdown .menu > .divider {
+ border-top: 1px solid var(--color-secondary);
+ margin: 4px 0;
+}
+
.ui.multiple.dropdown > .label {
box-shadow: 0 0 0 1px var(--color-secondary) inset;
}