diff options
author | rvelices <rv-github@modusoptimus.com> | 2011-01-19 20:45:44 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2011-01-19 20:45:44 +0000 |
commit | 4a6f62bb8d456077986f32759a73c87664e49e96 (patch) | |
tree | 3c13309538a0f67914aaf7ebcd7d3da7962e98e4 /themes/default/theme.css | |
parent | c840dbfc288ed2634726221ba2773f0e04239488 (diff) |
got rid of the last three very inefficient css rules
git-svn-id: http://piwigo.org/svn/trunk@8772 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/theme.css')
-rw-r--r-- | themes/default/theme.css | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/themes/default/theme.css b/themes/default/theme.css index 9a74d6a7d..3a19b081a 100644 --- a/themes/default/theme.css +++ b/themes/default/theme.css @@ -530,20 +530,21 @@ FIELDSET { margin-right:0.5em;/*reduce from above*/ } -/* cannot use FIELDSET>LABEL because of IE<=6 */ -.filter LABEL INPUT, -.filter LABEL SELECT, -.filter LABEL SPAN, -.filter LABEL TEXTAREA { - display: block; - margin: 0.5em 0; -} -.filter FIELDSET * LABEL INPUT, -.filter FIELDSET * LABEL SELECT, -.filter FIELDSET * LABEL TEXTAREA, -.filter LABEL SPAN INPUT, -.filter LABEL SPAN SELECT, -.filter LABEL SPAN TEXTAREA { +/*IE6 needs override because of > selector*/ +.filter LABEL>INPUT, +.filter LABEL>SELECT, +.filter LABEL>SPAN, +.filter LABEL>TEXTAREA { + display: block; + margin: 0.5em 0; +} + +.filter FIELDSET * LABEL>INPUT, +.filter FIELDSET * LABEL>SELECT, +.filter FIELDSET * LABEL>TEXTAREA, +.filter SPAN>INPUT, +.filter SPAN>SELECT, +.filter SPAN>TEXTAREA { display: inline; vertical-align: top; margin: 0 0.5em 0 0; @@ -551,6 +552,7 @@ FIELDSET { + .filter INPUT[type="submit"] { margin-top: 1em; } |