From: zuber Date: Thu, 20 Aug 2009 20:36:35 +0000 (+0200) Subject: Drobne poprawki stylów. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/09fa65b2de2f428bc63082d379ecd6bfbd94f63c?ds=inline;hp=-c Drobne poprawki stylów. --- 09fa65b2de2f428bc63082d379ecd6bfbd94f63c diff --git a/project/static/css/master.css b/project/static/css/master.css index 0dd4d783..1efa2d66 100644 --- a/project/static/css/master.css +++ b/project/static/css/master.css @@ -104,7 +104,7 @@ label { #toggle-sidebar:hover { background-color: #999; - cursor: ew-resize; + cursor: col-resize; } #status-bar { @@ -138,7 +138,7 @@ p { margin: 0; padding: 0; background-color: #CCC; - border-bottom: 1px solid #AAA; + border-top: 1px solid #AAA; } #toolbar { @@ -175,6 +175,12 @@ p { -webkit-border-top-right-radius: 8px; } +#sidebar-tabs, #toolbar-tabs { + height: 21px; + z-index: 1000; +/* overflow: hidden;*/ +} + #sidebar-tabs li:hover, #sidebar-tabs li.active, #toolbar-tabs li:hover, #toolbar-tabs li.active { cursor: default; background-color: #EEE; @@ -183,6 +189,7 @@ p { #toolbar-buttons { background-color: #EEE; + border-bottom: 1px solid #AAA; } #toolbar-buttons li { diff --git a/project/static/js/jquery.resizable.js b/project/static/js/jquery.resizable.js index fafddc9e..44111ee9 100644 --- a/project/static/js/jquery.resizable.js +++ b/project/static/js/jquery.resizable.js @@ -13,7 +13,7 @@ stop: function(event) { $.resizable.element.element.trigger('resizable:stop'); $(document).unbind('mousemove', $.resizable.drag).unbind('mouseup', $.resizable.stop) - .children('body').css({cursor: 'auto'}) + $('body').css('cursor', 'auto'); return false; } }; @@ -36,9 +36,8 @@ width: parseInt(element.css('width')) || element[0].scrollWidth || 0, mouseX: event.pageX, }; - $(document).mousemove($.resizable.drag).mouseup($.resizable.stop) - .children('body').css({cursor: 'se-resize'}); - event.stopImmediatePropagation(); + $(document).mousemove($.resizable.drag).mouseup($.resizable.stop); + $('body').css('cursor', 'col-resize'); }).bind('dragstart', function(event) { event.preventDefault() }); }; })(jQuery);