From 8fc3d8505b109795a205f4d48bceb3806f638291 Mon Sep 17 00:00:00 2001 From: zuber Date: Fri, 21 Aug 2009 10:59:58 +0200 Subject: [PATCH] =?utf8?q?Dodanie=20select=C3=B3w=20do=20wyboru=20paneli.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- project/static/css/master.css | 24 ++++++++++++++++++++++-- project/templates/explorer/file_xml.html | 16 +++++++++++++++- 2 files changed, 37 insertions(+), 3 deletions(-) diff --git a/project/static/css/master.css b/project/static/css/master.css index c7a6ddee..c9835892 100644 --- a/project/static/css/master.css +++ b/project/static/css/master.css @@ -77,14 +77,34 @@ label { /* ========== */ /* = Panels = */ /* ========== */ +.panel-wrap { + position: relative; + overflow: hidden; +} + #left-panel-wrap { float: left; width: 8px; +} + + +/* Toolbars with select box to change panel contents*/ +.panel-toolbar { + height: 20px; + padding: 0 0 2px 0; + border-top: 1px solid #AAA; + border-bottom: 1px solid #AAA; + font-size: 12px; + line-height: 20px; + background-color: #DDD; + white-space: nowrap; overflow: hidden; } -#right-panel-wrap { - +.panel-toolbar label { + display: block; + float: left; + margin: 0 10px 0 2px; } /* Slider between panels */ diff --git a/project/templates/explorer/file_xml.html b/project/templates/explorer/file_xml.html index b906512c..5a6a443e 100644 --- a/project/templates/explorer/file_xml.html +++ b/project/templates/explorer/file_xml.html @@ -14,7 +14,7 @@ // ======================== function resizePanels() { $('.panel').height($(window).height() - $('.panel').position().top); - $('#right-panel-wrap').width($(window).width() - $('#right-panel-wrap').position().left); + $('#right-panel-wrap').width($(window).width() - $('#left-panel-wrap').outerWidth()); } $(window).resize(function() { @@ -114,10 +114,24 @@
+
+ + +
+
+ + +
{# #}
-- 2.20.1