aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorAlexandr Danilov <bitbucket@modos189.ru>2015-08-07 23:29:21 +0300
committerAlexandr Danilov <bitbucket@modos189.ru>2015-08-07 23:29:21 +0300
commit768303a573e20b80911c6442f22fa3cda3caa550 (patch)
tree94a4b0531c574cd008fcd528bbf928fcc2d4e296 /src
parent54139268f8648ee8d08f120949df4f1f5b8dd938 (diff)
downloadwallabag-768303a573e20b80911c6442f22fa3cda3caa550.tar.gz
wallabag-768303a573e20b80911c6442f22fa3cda3caa550.tar.zst
wallabag-768303a573e20b80911c6442f22fa3cda3caa550.zip
fix #1282
Diffstat (limited to 'src')
-rwxr-xr-xsrc/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css8
-rwxr-xr-xsrc/Wallabag/CoreBundle/Resources/views/themes/material/public/js/init.js2
2 files changed, 10 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 8ec83f89..3815ff3c 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
@@ -80,6 +80,14 @@ nav, main, footer {
80 float: right; 80 float: right;
81} 81}
82 82
83.nav-panels {
84 transition: background 0.2s ease;
85}
86
87.nav-panel-search .mdi-navigation-close, .nav-panel-search .mdi-action-search {
88 color: #444 !important;
89}
90
83/* ========================================================================== 91/* ==========================================================================
84 2 = Side-nav 92 2 = Side-nav
85 ========================================================================== */ 93 ========================================================================== */
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 b0f82c4b..ff8bba7b 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
@@ -16,6 +16,7 @@ $(document).ready(function(){
16 $(".nav-panel-buttom").hide(100); 16 $(".nav-panel-buttom").hide(100);
17 $(".nav-panel-search").show(100); 17 $(".nav-panel-search").show(100);
18 $(".nav-panel-menu").addClass('hidden'); 18 $(".nav-panel-menu").addClass('hidden');
19 $(".nav-panels").css('background', 'white');
19 return false; 20 return false;
20 }); 21 });
21 $('.mdi-navigation-close').click(function(){ 22 $('.mdi-navigation-close').click(function(){
@@ -23,6 +24,7 @@ $(document).ready(function(){
23 $(".nav-panel-search").hide(100); 24 $(".nav-panel-search").hide(100);
24 $(".nav-panel-buttom").show(100); 25 $(".nav-panel-buttom").show(100);
25 $(".nav-panel-menu").removeClass('hidden'); 26 $(".nav-panel-menu").removeClass('hidden');
27 $(".nav-panels").css('background', 'transparent');
26 return false; 28 return false;
27 }); 29 });
28}); \ No newline at end of file 30}); \ No newline at end of file