summaryrefslogtreecommitdiff
path: root/themes/garland
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-03-03 19:46:26 +0000
committerDries Buytaert <dries@buytaert.net>2010-03-03 19:46:26 +0000
commit7818e2d4603d352c0a20574051ec72c9727a190d (patch)
treec31801a92495abf256380874b9a4e55b1a066f60 /themes/garland
parente824801b2be98a7c76662b328684b8edb1dc396b (diff)
downloadbrdo-7818e2d4603d352c0a20574051ec72c9727a190d.tar.gz
brdo-7818e2d4603d352c0a20574051ec72c9727a190d.tar.bz2
- Patch #676800 by casey, sun, james.elliott, cosmicdreams, seutje, Jacine: made fieldsets work on all browser.
Diffstat (limited to 'themes/garland')
-rw-r--r--themes/garland/style-rtl.css4
-rw-r--r--themes/garland/style.css20
2 files changed, 7 insertions, 17 deletions
diff --git a/themes/garland/style-rtl.css b/themes/garland/style-rtl.css
index 130e15e66..970781a4a 100644
--- a/themes/garland/style-rtl.css
+++ b/themes/garland/style-rtl.css
@@ -227,13 +227,13 @@ ul.links li, ul.inline li {
margin-right: 25px;
}
-html.js fieldset.collapsible legend a {
+html.js fieldset.collapsible .fieldset-legend {
padding-left: 0;
padding-right: 2em;
background: url("images/menu-expanded.gif") no-repeat 100% 50%;
}
-html.js fieldset.collapsed legend a {
+html.js fieldset.collapsed .fieldset-legend {
background: url("images/menu-collapsed-rtl.gif") no-repeat 100% 50%;
}
diff --git a/themes/garland/style.css b/themes/garland/style.css
index 4fc79748c..8b105cc59 100644
--- a/themes/garland/style.css
+++ b/themes/garland/style.css
@@ -892,38 +892,28 @@ fieldset {
background-position: 0 0;
}
-*:first-child+html fieldset > .description, *:first-child+html fieldset .fieldset-wrapper .description {
+*:first-child+html fieldset .fieldset-wrapper .fieldset-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;
padding-bottom: .6em;
}
-html.js fieldset.collapsible legend a {
+html.js fieldset.collapsible .fieldset-legend {
padding-left: 2em; /* LTR */
background: url(images/menu-expanded.gif) no-repeat 0% 50%; /* LTR */
}
+html.js fieldset.collapsed .fieldset-legend {
+ background: url(images/menu-collapsed.gif) no-repeat 0% 50%; /* LTR */
+}
html.js fieldset.collapsible legend span.summary {
color: #898989;
}
-html.js fieldset.collapsed legend a {
- background: url(images/menu-collapsed.gif) no-repeat 0% 50%; /* LTR */
-}
-
/**
* Vertical tabs.
*/