diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/garland/style.css | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/themes/garland/style.css b/themes/garland/style.css index b98d87c26..e95c822aa 100644 --- a/themes/garland/style.css +++ b/themes/garland/style.css @@ -825,11 +825,26 @@ fieldset { background: #fff url(images/gradient-inner.png) repeat-x 0 0; } +/* Targets IE 7. Fixes background image in field sets. */ +*:first-child+html fieldset { + padding: 0 1em 1em; + background-position: 0 .75em; + background-color: transparent; +} + +*:first-child+html fieldset > .description, *:first-child+html fieldset .fieldset-wrapper .description { + padding-top: 1em; +} + fieldset legend { /* Fix disappearing legend in FFox */ display: block; } +*:first-child+html fieldset legend, *:first-child+html fieldset.collapsed legend { + display: inline; +} + html.js fieldset.collapsed { background: transparent; padding-top: 0; |