diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2020-04-21 07:58:44 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2020-04-26 21:08:22 +0200 |
commit | d9a68f6ced3f510e5a52d5f857ca9c19aed8924b (patch) | |
tree | a6a9e1c296d6f9bfa3ada4c912a07569b5285498 /app/Resources | |
parent | 0e8a0f77d0b643a884e6687bd9c463267852a970 (diff) | |
download | wallabag-d9a68f6ced3f510e5a52d5f857ca9c19aed8924b.tar.gz wallabag-d9a68f6ced3f510e5a52d5f857ca9c19aed8924b.tar.zst wallabag-d9a68f6ced3f510e5a52d5f857ca9c19aed8924b.zip |
Enhanced navigation menu in material theme
Diffstat (limited to 'app/Resources')
-rw-r--r-- | app/Resources/static/themes/material/css/nav.scss | 12 | ||||
-rwxr-xr-x | app/Resources/static/themes/material/index.js | 2 |
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(); |