From 008decfb2838b94486c36dcf35a2239bf7f1076e Mon Sep 17 00:00:00 2001 From: zuber Date: Mon, 17 Aug 2009 22:52:52 +0200 Subject: [PATCH 1/1] =?utf8?q?Galeria=20skan=C3=B3w=20jest=20domy=C5=9Blni?= =?utf8?q?e=20zamkni=C4=99ta.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- project/static/css/master.css | 12 +++++++++--- project/templates/explorer/file_xml.html | 8 ++++---- 2 files changed, 13 insertions(+), 7 deletions(-) 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() { -- 2.20.1