Ulepszone zmienianie rozmiaru. Fixes #58.
[redakcja.git] / project / static / css / master.css
index 71c9fb4..88e6583 100644 (file)
@@ -94,13 +94,6 @@ label {
        bottom: 0px; left: 0px; right: 0px; top: 50px;
 }
 
-.panels-mouse-overlay {
-       position: absolute;
-       top: 0px; bottom: 0px; left: 0px; right: 0px;
-       z-index: 0;
-       background: transparent;
-}
-
 .panel-wrap {
     overflow: hidden;
        position: absolute; /* absolute to relation with #panels */
@@ -120,12 +113,26 @@ label {
 }
 
 /* contents */
-.panel-contents {
+.panel-content {
+       position: absolute;
+       top: 22px; left: 0px; bottom:0px; right: 0px;
+}
+
+.panel-overlay {
        position: absolute;
-       top: 22px; left: 0px; right: 8px; bottom:0px;
+       top: 0px; bottom: 0px; left: 0px; right: 0px;
+       z-index: 10;
+       background: gray;
+       opacity: 0.8;
+       text-align: center;
+       overflow: hidden;
+       display: none;
+}
+
+.panel-content-overlay {
 }
 
-.panel-wrap.no-slider .panel-contents {
+.panel-wrap.last-panel .panel-content {
        right: 0px;
 }
 
@@ -152,12 +159,17 @@ label {
 
 /* Slider between panels */
 .panel-wrap .panel-slider {
-       position: absolute;
+    position: absolute;
+       background-color: #DDD;
 
-       top: 0px; bottom: 0px; right: 0px; width: 6px;
+    top: 0px; bottom: 0px; right: 0px; width: 6px;
 
     border-left: 1px solid #999;
     border-right: 1px solid #999;
+    border-top: none;
+    border-bottom: none;
+
+       z-index: 5;
 }
 
 .panel-wrap .panel-slider:hover {
@@ -165,6 +177,10 @@ label {
     cursor: col-resize;
 }
 
+.panel-content-overlay.panel-wrap .panel-slider {
+       background-color: #DDD;
+}
+
 /* ================= */
 /* = Gallery panel = */
 /* ================= */