From 99db7e274818e4c3331cf55aba1d8a47d6ab8dde Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Fri, 16 Oct 2009 01:35:05 -0600 Subject: Remove bg icons when an
  • in a form is tagged with g-error, etc. Minor consistency updates for form layout styles in views and dialogs. --- lib/gallery.common.css | 13 ++++++++++++- themes/wind/css/screen.css | 6 +++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/lib/gallery.common.css b/lib/gallery.common.css index 264d3c2e..b8d1eae9 100644 --- a/lib/gallery.common.css +++ b/lib/gallery.common.css @@ -62,7 +62,15 @@ .g-info, .g-success, .g-warning { - padding: .4em .5em .4em 30px; + padding-left: 30px; +} + +form li.g-error, +form li.g-info, +form li.g-success, +form li.g-warning { + background-image: none; + padding: .3em .8em .3em 1em; } .g-error, @@ -212,6 +220,7 @@ form .g-error { #g-site-status li { border-bottom: 1px solid #ccc; + padding: .3em .3em .3em 30px; } .g-module-status { @@ -290,6 +299,8 @@ form .g-error { #g-dialog fieldset { border: none; + padding: 0 !important; + width: 99%; } #g-dialog legend { diff --git a/themes/wind/css/screen.css b/themes/wind/css/screen.css index ab3730c7..cae472be 100644 --- a/themes/wind/css/screen.css +++ b/themes/wind/css/screen.css @@ -122,7 +122,7 @@ td { fieldset { border: 1px solid #ccc; - padding-bottom: .8em; + padding: .8em 1em !important; } #g-banner fieldset, @@ -133,7 +133,7 @@ fieldset { legend { font-weight: bold; - margin-left: 1em; + margin-left: .8em; } #g-banner legend, @@ -178,7 +178,7 @@ option:focus { form li { margin: 0 !important; - padding: .3em 1.5em .3em 1em; + padding: .3em 0; } form ul ul { -- cgit v1.2.3