diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-24 11:59:53 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-24 11:59:53 +0200 |
commit | a754db33c9f1df9f4b6e8b2f580d51b6f3925c02 (patch) | |
tree | dd0bdc75b7585ab1b6880e559c00e1fa1ba22fad /src/Wallabag/CoreBundle/Resources/views/themes/material/public | |
parent | 7083d183b9df11f350be0d7039f5f0e33536b94b (diff) | |
download | wallabag-a754db33c9f1df9f4b6e8b2f580d51b6f3925c02.tar.gz wallabag-a754db33c9f1df9f4b6e8b2f580d51b6f3925c02.tar.zst wallabag-a754db33c9f1df9f4b6e8b2f580d51b6f3925c02.zip |
fix #1378: nice display for tags list
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/public')
-rwxr-xr-x | src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css | 24 | ||||
-rwxr-xr-x | src/Wallabag/CoreBundle/Resources/views/themes/material/public/js/init.js | 6 |
2 files changed, 30 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css index a976da10..286fa641 100755 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css | |||
@@ -303,6 +303,30 @@ main ul.row { | |||
303 | margin: 0; | 303 | margin: 0; |
304 | z-index: 9999; | 304 | z-index: 9999; |
305 | } | 305 | } |
306 | |||
307 | #article aside .link { | ||
308 | color: #000; | ||
309 | font-size: 0.6em; | ||
310 | text-decoration: none; | ||
311 | } | ||
312 | |||
313 | #article aside #list { | ||
314 | float: right; | ||
315 | margin-right: 15px; | ||
316 | } | ||
317 | |||
318 | #article aside span a { | ||
319 | background-color: #039be5; | ||
320 | color: #fff; | ||
321 | border-radius: 3px; | ||
322 | float: left; | ||
323 | font-size: 0.6em; | ||
324 | margin-left: 0.5em; | ||
325 | margin-bottom: 0.5em; | ||
326 | padding: 4px; | ||
327 | text-decoration: none; | ||
328 | } | ||
329 | |||
306 | /* ========================================================================== | 330 | /* ========================================================================== |
307 | 6 = Media queries | 331 | 6 = Media queries |
308 | ========================================================================== */ | 332 | ========================================================================== */ |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/js/init.js b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/js/init.js index d397f8e5..edfdee82 100755 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/js/init.js +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/js/init.js | |||
@@ -27,6 +27,12 @@ $(document).ready(function(){ | |||
27 | }); | 27 | }); |
28 | init_filters(); | 28 | init_filters(); |
29 | 29 | ||
30 | $('#nav-btn-add-tag').on('click', function(){ | ||
31 | $(".nav-panel-add-tag").toggle(100); | ||
32 | $(".nav-panel-menu").addClass('hidden'); | ||
33 | $("#tag_label").focus(); | ||
34 | return false; | ||
35 | }); | ||
30 | $('#nav-btn-add').on('click', function(){ | 36 | $('#nav-btn-add').on('click', function(){ |
31 | $(".nav-panel-buttom").hide(100); | 37 | $(".nav-panel-buttom").hide(100); |
32 | $(".nav-panel-add").show(100); | 38 | $(".nav-panel-add").show(100); |