summaryrefslogtreecommitdiffstats
path: root/web_src/less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-12-09 20:03:19 +0100
committerGitHub <noreply@github.com>2020-12-09 14:03:19 -0500
commitc85bb6263503ebd335863f413214a775973a1fac (patch)
tree4264266101a847d0895d6c9ad6442f9cb240b1db /web_src/less
parent6edfa6bc88ed73fc5a31f1b2fe9f5587c932ada7 (diff)
downloadgitea-c85bb6263503ebd335863f413214a775973a1fac.tar.gz
gitea-c85bb6263503ebd335863f413214a775973a1fac.zip
Replace more icons with SVG, repo search tweaks (#13860)
* Replace more icons with SVG - Replace remaining icons on admin page with SVG - Fix vertical menu background on arc-green - Minor improvments to frontpage repo search - More icon replacements here and there * fix integration * whitespace tweak * add comment Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'web_src/less')
-rw-r--r--web_src/less/_base.less24
1 files changed, 23 insertions, 1 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index be43bfbe36..2cecd59c93 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -253,7 +253,8 @@ a.muted:hover,
border-right-color: var(--color-primary);
}
-.ui.menu {
+.ui.menu,
+.ui.vertical.menu {
background: var(--color-menu);
border-color: var(--color-secondary);
}
@@ -272,6 +273,7 @@ a.muted:hover,
.ui.menu .active.item,
.ui.menu .active.item:hover,
+.ui.vertical.menu .active.item,
.ui.vertical.menu .active.item:hover {
color: var(--color-text);
background: var(--color-active);
@@ -332,6 +334,15 @@ a.muted:hover,
background: var(--color-hover);
}
+.ui.menu .ui.dropdown .menu > .selected.item {
+ color: var(--color-text) !important;
+ background: var(--color-hover) !important;
+}
+
+.ui.dropdown .menu > .message:not(.ui) {
+ color: var(--color-text-light-2);
+}
+
.ui.secondary.menu .dropdown.item:hover,
.ui.secondary.menu .link.item:hover,
.ui.secondary.menu a.item:hover {
@@ -451,8 +462,15 @@ a.ui.card:hover,
background: var(--color-body);
}
+.ui.modal > .header {
+ border-color: var(--color-secondary);
+ border-top-left-radius: var(--border-radius);
+ border-top-right-radius: var(--border-radius);
+}
+
.ui.modal > .close.inside,
.ui.fullscreen.modal > .close {
+ top: 11px; /* align modal close icon, for example admin notices */
color: var(--body-color);
}
@@ -1048,6 +1066,10 @@ a.ui.card:hover,
}
}
+.ui.dropdown .scrolling.menu {
+ border-color: var(--color-secondary);
+}
+
footer {
background-color: var(--color-footer);
border-top: 1px solid var(--color-secondary);