From: zuber Date: Mon, 17 Aug 2009 20:52:52 +0000 (+0200) Subject: Galeria skanów jest domyślnie zamknięta. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/008decfb2838b94486c36dcf35a2239bf7f1076e?ds=sidebyside;hp=-c Galeria skanów jest domyślnie zamknięta. --- 008decfb2838b94486c36dcf35a2239bf7f1076e diff --git a/project/static/css/master.css b/project/static/css/master.css index aeb1f099..f1b48d92 100644 --- a/project/static/css/master.css +++ b/project/static/css/master.css @@ -75,7 +75,7 @@ label { } #images-wrap { - width: 480px; + width: 0px; height: 480px; border-right: 1px solid #999; overflow-y: scroll; @@ -86,16 +86,22 @@ label { #sidebar { float: left; - width: 488px; + width: 8px; + overflow: hidden; } #toggle-sidebar { - background-color: #999; + background-color: #DDD; width: 7px; height: 100%; float: left; } +#toggle-sidebar:hover { + background-color: #999; + cursor: pointer; +} + #status-bar { border-top: 1px solid #999; background-color: #EEE; diff --git a/project/templates/explorer/file_xml.html b/project/templates/explorer/file_xml.html index 350d0788..4efd6975 100644 --- a/project/templates/explorer/file_xml.html +++ b/project/templates/explorer/file_xml.html @@ -27,13 +27,13 @@ } $('#toggle-sidebar').toggle(function() { - $('#images-wrap').width(0); - $('#sidebar').width(8); - resizePanels(); - }, function() { $('#images-wrap').width(480); $('#sidebar').width(488); resizePanels(); + }, function() { + $('#images-wrap').width(0); + $('#sidebar').width(8); + resizePanels(); }) $(window).resize(function() {