From 27009ad852d987319f37b38660cd91fc46375b17 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Tue, 30 Dec 2008 02:50:52 +0000 Subject: Drop .gShortForm in favor of using specific form ids (gSearchForm, gAddTagForm). This maintains styles when forms are are reloaded into the DOM. Haven't figured out how to fire shortFormInit() when a form is reloaded into the DOM, as gAddTagForm is :( --- themes/default/css/screen.css | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'themes/default/css') diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css index 1b2e8001..ffb7a8b0 100644 --- a/themes/default/css/screen.css +++ b/themes/default/css/screen.css @@ -14,7 +14,6 @@ * 8) jQuery and jQuery UI * * @todo Group Credits and gLoginMenu seperator styles - * @todo Drop .gShortForm in favor of styling specific IDs (gSearchForm, gAddTagForm) * @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. @@ -281,21 +280,26 @@ li.gError select { /* Inline layout (forms, lists) ~~~~~~~~~~ */ -.gShortForm li { +#gHeader #gSearchForm li, +#gSidebar #gAddTagForm li { float: left; padding: .4em .5em; } -.gShortForm legend, -.gShortForm label { +#gHeader #gSearchForm legend, +#gHeader #gSearchForm label, +#gSidebar #gAddTagForm legend, +#gSidebar #gAddTagForm label { display: none; } -.gShortForm fieldset { +#gHeader #gSearchForm fieldset, +#gSidebar #gAddTagForm fieldset { border: none; } -.gShortForm input[type="text"] { +#gHeader #gSearchForm input[type="text"], +#gSidebar #gAddTagForm input[type="text"] { width: 10em; } -- cgit v1.2.3