From: Lukasz Rekucki Date: Mon, 24 Aug 2009 08:05:50 +0000 (+0200) Subject: Zmiana layout-u na divy absolute. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/bc45c0b826b50a6d5f472d0ebcbe92bb1b5a68c4?ds=sidebyside Zmiana layout-u na divy absolute. --- diff --git a/project/static/css/master.css b/project/static/css/master.css index 71c9fb4b..84a91294 100644 --- a/project/static/css/master.css +++ b/project/static/css/master.css @@ -152,12 +152,14 @@ label { /* Slider between panels */ .panel-wrap .panel-slider { - position: absolute; + position: absolute; - 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; } .panel-wrap .panel-slider:hover { diff --git a/project/static/js/panels.js b/project/static/js/panels.js index c680331b..5d0aa08e 100644 --- a/project/static/js/panels.js +++ b/project/static/js/panels.js @@ -57,7 +57,8 @@ $(function() { // resizePanels(); // }) - $('#panels').make_hpanel({}); + $('#panels').make_hpanel({}); + $('#panels').css('top', ($('#header').outerHeight() ) + 'px'); // $('#left-panel-wrap').bind('resizable:stop', resizePanels) // .resizable({minWidth: 8});