From 912eb62ccb77059148a1fe14bdb57b7f9e44a14c Mon Sep 17 00:00:00 2001 From: TJ VanToll Date: Wed, 28 Jan 2015 13:31:59 -0500 Subject: [PATCH] Dialog: Remove overflow: hidden and reposition resize handles Fixes #10543 Closes gh-1439 --- themes/base/dialog.css | 43 ++++++++++++++++++++++++++++++++++++------ 1 file changed, 37 insertions(+), 6 deletions(-) diff --git a/themes/base/dialog.css b/themes/base/dialog.css index 10c89d0b8..7146fe953 100644 --- a/themes/base/dialog.css +++ b/themes/base/dialog.css @@ -9,7 +9,6 @@ * http://api.jqueryui.com/dialog/#theming */ .ui-dialog { - overflow: hidden; position: absolute; top: 0; left: 0; @@ -58,12 +57,44 @@ margin: .5em .4em .5em 0; cursor: pointer; } +.ui-dialog .ui-resizable-n { + height: 2px; + top: 0; +} +.ui-dialog .ui-resizable-e { + width: 2px; + right: 0; +} +.ui-dialog .ui-resizable-s { + height: 2px; + bottom: 0; +} +.ui-dialog .ui-resizable-w { + width: 2px; + left: 0; +} +.ui-dialog .ui-resizable-se, +.ui-dialog .ui-resizable-sw, +.ui-dialog .ui-resizable-ne, +.ui-dialog .ui-resizable-nw { + width: 7px; + height: 7px; +} .ui-dialog .ui-resizable-se { - width: 12px; - height: 12px; - right: -5px; - bottom: -5px; - background-position: 16px 16px; + right: 0; + bottom: 0; +} +.ui-dialog .ui-resizable-sw { + left: 0; + bottom: 0; +} +.ui-dialog .ui-resizable-ne { + right: 0; + top: 0; +} +.ui-dialog .ui-resizable-nw { + left: 0; + top: 0; } .ui-draggable .ui-dialog-titlebar { cursor: move;