summaryrefslogtreecommitdiffstats
path: root/web_src/css/index.css
diff options
context:
space:
mode:
authorHesterG <hestergong@gmail.com>2023-06-07 10:49:48 +0800
committerGitHub <noreply@github.com>2023-06-07 10:49:48 +0800
commit58536093b3112841bc69edb542189893b57e7a47 (patch)
tree0402280727eb536151dd3edc4cf8f54d42c27a49 /web_src/css/index.css
parent379ec1303013d0440dbeebf8e639f2e7844ecb18 (diff)
downloadgitea-58536093b3112841bc69edb542189893b57e7a47.tar.gz
gitea-58536093b3112841bc69edb542189893b57e7a47.zip
Add details summary for vertical menus in settings to allow toggling (#25098)
Close #25051 [referenced answer](https://stackoverflow.com/questions/10813581/can-i-replace-the-expand-icon-of-the-details-element/69722686#69722686) for marker overwrite. One limitation is that fomantic does not have hover and active effects for the vertical submenu ([reference](https://fomantic-ui.com/collections/menu.html#sub-menu)). And we might need to overwrite some styles if hover and active effects are needed. Update: Used `data:image/svg` instead of `marker` content. And adjusted styles for hover effect. Take admin settings as an example: https://github.com/go-gitea/gitea/assets/17645053/63f69823-ef43-47d5-a518-544b5ea35ba6 --------- Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'web_src/css/index.css')
-rw-r--r--web_src/css/index.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/web_src/css/index.css b/web_src/css/index.css
index 90ee41f524..689c3f4a29 100644
--- a/web_src/css/index.css
+++ b/web_src/css/index.css
@@ -9,6 +9,7 @@
@import "./shared/issuelist.css";
@import "./shared/repoorg.css";
+@import "./shared/settings.css";
@import "./features/dropzone.css";
@import "./features/gitgraph.css";