From a63502b3c69b59b6246f66d6e7a6f8558033546c Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 6 Jan 2009 08:33:39 +0000 Subject: Refactor the way that dialogs work: 1) Get rid of the resizing behavior; create the dialog in the right place and then show it. 2) Grab the fieldset legend and put it into the title of the dialog, so that we don't have to use title="" params in anchors. 3) Stop using fixed buttons and let the form define its own buttons. 4) Stop suppressing all form buttons. --- themes/default/css/screen.css | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'themes/default/css') diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css index 57bb3af1..e990571a 100644 --- a/themes/default/css/screen.css +++ b/themes/default/css/screen.css @@ -13,7 +13,7 @@ * 7) Browser hacks * 8) jQuery and jQuery UI * - * @todo Default user icon (user w/ camera) + * @todo Default user icon (user w/ camera) * @todo Apply :hover bg image to #gViewMenu (will clear fix correct this?) * @todo Refactor form layout styles to reserve room for validation messages in default state. This * will eliminate layout shifts when validation messages are displayed. @@ -85,7 +85,7 @@ table { margin: 1em 0; } -caption, +caption, th { text-align: left; } @@ -97,7 +97,7 @@ th { td { } -th, +th, td { border: 1px solid #ccc; padding: .3em; @@ -272,9 +272,9 @@ li.gError select { margin-bottom: .4em; } -.gError, -.gInfo, -.gSuccess, +.gError, +.gInfo, +.gSuccess, .gWarning { background-position: .4em 50%; background-repeat: no-repeat; @@ -782,8 +782,7 @@ li.gError select { border: none; } -#gDialog legend, -#gDialog button.submit { +#gDialog legend { display: none; } -- cgit v1.2.3