From a754db33c9f1df9f4b6e8b2f580d51b6f3925c02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Mon, 24 Aug 2015 11:59:53 +0200 Subject: fix #1378: nice display for tags list --- .../views/themes/material/public/css/main.css | 24 ++++++++++++++++++++++ .../views/themes/material/public/js/init.js | 6 ++++++ 2 files changed, 30 insertions(+) (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/public') 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 { margin: 0; z-index: 9999; } + +#article aside .link { + color: #000; + font-size: 0.6em; + text-decoration: none; +} + +#article aside #list { + float: right; + margin-right: 15px; +} + +#article aside span a { + background-color: #039be5; + color: #fff; + border-radius: 3px; + float: left; + font-size: 0.6em; + margin-left: 0.5em; + margin-bottom: 0.5em; + padding: 4px; + text-decoration: none; +} + /* ========================================================================== 6 = Media queries ========================================================================== */ 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(){ }); init_filters(); + $('#nav-btn-add-tag').on('click', function(){ + $(".nav-panel-add-tag").toggle(100); + $(".nav-panel-menu").addClass('hidden'); + $("#tag_label").focus(); + return false; + }); $('#nav-btn-add').on('click', function(){ $(".nav-panel-buttom").hide(100); $(".nav-panel-add").show(100); -- cgit v1.2.3