diff options
| author | Chad Kieffer <chad@2tbsp.com> | 2008-12-30 02:50:52 +0000 | 
|---|---|---|
| committer | Chad Kieffer <chad@2tbsp.com> | 2008-12-30 02:50:52 +0000 | 
| commit | 27009ad852d987319f37b38660cd91fc46375b17 (patch) | |
| tree | 103e843b74914a7e89bf52221ca1b10b89c3f94c /themes/default/css | |
| parent | 96a2f929ca6b07d25be70273151738ebda719883 (diff) | |
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 :(
Diffstat (limited to 'themes/default/css')
| -rw-r--r-- | themes/default/css/screen.css | 16 | 
1 files changed, 10 insertions, 6 deletions
| 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;  } | 
