From: zuber Date: Fri, 21 Aug 2009 08:59:58 +0000 (+0200) Subject: Dodanie selectów do wyboru paneli. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/8fc3d8505b109795a205f4d48bceb3806f638291?ds=sidebyside Dodanie selectów do wyboru paneli. --- 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 @@
+
+ + +
+
+ + +
{# #}