aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources/static/themes/material
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2020-04-27 06:08:10 +0200
committerGitHub <noreply@github.com>2020-04-27 06:08:10 +0200
commitb23d9403ece494a60ecba5867bb68c94ec497052 (patch)
treea6a9e1c296d6f9bfa3ada4c912a07569b5285498 /app/Resources/static/themes/material
parent0e8a0f77d0b643a884e6687bd9c463267852a970 (diff)
parentd9a68f6ced3f510e5a52d5f857ca9c19aed8924b (diff)
downloadwallabag-b23d9403ece494a60ecba5867bb68c94ec497052.tar.gz
wallabag-b23d9403ece494a60ecba5867bb68c94ec497052.tar.zst
wallabag-b23d9403ece494a60ecba5867bb68c94ec497052.zip
Merge pull request #4343 from wallabag/enhance-material-nav
Enhanced navigation menu in material theme
Diffstat (limited to 'app/Resources/static/themes/material')
-rw-r--r--app/Resources/static/themes/material/css/nav.scss12
-rwxr-xr-xapp/Resources/static/themes/material/index.js2
2 files changed, 14 insertions, 0 deletions
diff --git a/app/Resources/static/themes/material/css/nav.scss b/app/Resources/static/themes/material/css/nav.scss
index b7288278..c84f7957 100644
--- a/app/Resources/static/themes/material/css/nav.scss
+++ b/app/Resources/static/themes/material/css/nav.scss
@@ -141,3 +141,15 @@ nav {
141 display: none; 141 display: none;
142 } 142 }
143} 143}
144
145.dropdown-content {
146 min-width: 300px;
147
148 .material-icons {
149 line-height: initial !important;
150 }
151
152 li > a {
153 padding: 10px;
154 }
155}
diff --git a/app/Resources/static/themes/material/index.js b/app/Resources/static/themes/material/index.js
index 1c28401d..d8f5628c 100755
--- a/app/Resources/static/themes/material/index.js
+++ b/app/Resources/static/themes/material/index.js
@@ -63,6 +63,8 @@ $(document).ready(() => {
63 container: 'body', 63 container: 'body',
64 }); 64 });
65 65
66 $('.dropdown-trigger').dropdown({ hover: false });
67
66 initFilters(); 68 initFilters();
67 initExport(); 69 initExport();
68 initRandom(); 70 initRandom();