Galeria skanów jest domyślnie zamknięta.
authorzuber <marek@stepniowski.com>
Mon, 17 Aug 2009 20:52:52 +0000 (22:52 +0200)
committerzuber <marek@stepniowski.com>
Mon, 17 Aug 2009 20:52:52 +0000 (22:52 +0200)
project/static/css/master.css
project/templates/explorer/file_xml.html

index aeb1f09..f1b48d9 100644 (file)
@@ -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;
index 350d078..4efd697 100644 (file)
             }
             
             $('#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() {