From b4b31c10398f4aea5e347e85dd476abebaaac3f1 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 31 Mar 2010 20:24:13 +0000 Subject: - Patch #745380 by sun: CSS contains too many needless differences between JS and no-JS versions. --- modules/system/system-behavior.css | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) (limited to 'modules') diff --git a/modules/system/system-behavior.css b/modules/system/system-behavior.css index 1dcb4221f..93cd5ab98 100644 --- a/modules/system/system-behavior.css +++ b/modules/system/system-behavior.css @@ -43,14 +43,18 @@ html.js fieldset.collapsed { border-bottom-width: 0; border-left-width: 0; border-right-width: 0; - margin-bottom: 0; height: 1em; } html.js fieldset.collapsed .fieldset-wrapper { display: none; } -html.js fieldset.collapsible .fieldset-legend { +fieldset.collapsible { + position: relative; +} +fieldset.collapsible .fieldset-legend { display: block; +} +html.js fieldset.collapsible .fieldset-legend { padding-left: 15px; /* LTR */ background: url(../../misc/menu-expanded.png) 5px 75% no-repeat; /* LTR */ } @@ -58,23 +62,11 @@ html.js fieldset.collapsed .fieldset-legend { background-image: url(../../misc/menu-collapsed.png); /* LTR */ background-position: 5px 50%; /* LTR */ } -html.js fieldset.collapsible legend span.summary { +.fieldset-legend span.summary { font-size: 0.9em; color: #999; margin-left: 0.5em; } -/* IE6: Fix due to '* html' (breaks Konqueror otherwise). */ -* html.js fieldset.collapsed table * { - display: inline; -} -/* Safari 2: Tables in collapsible fieldsets disappear due to tableheader.js. */ -html.js fieldset.collapsible { - position: relative; -} -/* Avoid jumping around due to margins collapsing into collapsible fieldset border */ -html.js fieldset.collapsible .fieldset-wrapper { - overflow: auto; -} /** * Resizable textareas -- cgit v1.2.3