From e4027627c2c72c7519a858e6e0179e505801ba6b Mon Sep 17 00:00:00 2001 From: zuber Date: Wed, 26 Aug 2009 13:19:32 +0200 Subject: [PATCH] =?utf8?q?Drobne=20poprawki=20w=20CSS:=20=20-=20Ustawienie?= =?utf8?q?=20poprawnych=20z-index=20dla=20element=C3=B3w.=20=20-=20Zmniejs?= =?utf8?q?zenie=20szeroko=C5=9Bci=20slidera=20(bardziej=20si=C4=99=20chyba?= =?utf8?q?=20nie=20da=20:-/).=20=20-=20Dodanie=20cursor:=20col-resize=20pr?= =?utf8?q?zy=20zmienianiu=20szeroko=C5=9Bci=20paneli.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- project/static/css/master.css | 18 +++++++++++------- project/templates/explorer/file_xml.html | 2 +- project/templates/explorer/panels/gallery.html | 13 +++++++------ 3 files changed, 19 insertions(+), 14 deletions(-) diff --git a/project/static/css/master.css b/project/static/css/master.css index f2ca8c1d..12085b2c 100644 --- a/project/static/css/master.css +++ b/project/static/css/master.css @@ -127,12 +127,13 @@ label { .panel-overlay { position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px; - z-index: 10; + z-index: 100; background: gray; opacity: 0.8; text-align: center; overflow: hidden; display: none; + cursor: col-resize; } .panel-content-overlay { @@ -155,6 +156,7 @@ label { background-color: #DDD; white-space: nowrap; overflow: hidden; + z-index: 80; } .panel-toolbar label { @@ -168,19 +170,19 @@ label { position: absolute; background-color: #DDD; - top: 0px; bottom: 0px; right: 0px; width: 6px; + top: 0px; bottom: 0px; right: 0px; width: 4px; border-left: 1px solid #999; border-right: 1px solid #999; border-top: none; border-bottom: none; - z-index: 5; + z-index: 90; + cursor: col-resize; } .panel-wrap .panel-slider:hover { background-color: #999; - cursor: hand; } .panel-content-overlay.panel-wrap .panel-slider { @@ -190,7 +192,7 @@ label { /* ================= */ /* = Gallery panel = */ /* ================= */ -.images-wrap, .panel-htmleditor { +.images-wrap { overflow-x: hidden; overflow-y: scroll; } @@ -201,8 +203,8 @@ label { /* ==================== */ .toolbar { - height: 48px; overflow: hidden; + z-index: 70; } .toolbar, .toolbar ol { @@ -232,7 +234,7 @@ label { .toolbar-tabs { height: 21px; - z-index: 1000; +/* z-index: 1000;*/ /* overflow: hidden;*/ } @@ -272,6 +274,7 @@ label { } .panel-dceditor label { + display: block; font-size: 12px; margin-top: 10px; color: #666; @@ -280,6 +283,7 @@ label { .panel-dceditor input, .panel-dceditor textarea { width: 400px; + display: block; } div.isection { diff --git a/project/templates/explorer/file_xml.html b/project/templates/explorer/file_xml.html index 805f59c4..94f9e011 100644 --- a/project/templates/explorer/file_xml.html +++ b/project/templates/explorer/file_xml.html @@ -28,7 +28,7 @@
- +
diff --git a/project/templates/explorer/panels/gallery.html b/project/templates/explorer/panels/gallery.html index d339bce6..987875aa 100644 --- a/project/templates/explorer/panels/gallery.html +++ b/project/templates/explorer/panels/gallery.html @@ -1,11 +1,12 @@
-
-
-

Aby zobaczyć obrazki wybierz folder poniżej:

-

-

+ +
+
+
@@ -16,7 +17,7 @@ panel_hooks = { var contentDiv = this.contentDiv; $('.id_folders', contentDiv).change(function() { - $('.images', contentDiv).load('{% url folder_image_ajax %}' + $('.id_folders', panel).val() + '/', + $('.images', contentDiv).load('{% url folder_image_ajax %}' + $('.id_folders', contentDiv).val() + '/', function() { $('.images-wrap', contentDiv).data('lazyload:lastCheckedScrollTop', -10000); }); -- 2.20.1