From: Roan Kattouw Date: Tue, 15 Apr 2008 20:44:10 +0000 (+0000) Subject: Adding CSS class for nested
s. Nesting fieldsets used to cause a huge amoun... X-Git-Tag: 1.31.0-rc.0~48291 X-Git-Url: https://git.cyclocoop.org/admin/%7B%7Blocalurl:Special:UserLogin%7D%7D?a=commitdiff_plain;h=5e90384cf320f76af30bc2e6be24b8807dd128a0;p=lhc%2Fweb%2Fwiklou.git Adding CSS class for nested
s. Nesting fieldsets used to cause a huge amount of whitespace between the parent and the child fieldset, this commit adds a class that circumvents this. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 373f1294f7..6aa1e70b6c 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -75,6 +75,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 10457) Reorganize Special:Specialpages * Add a new hook EditPageBeforeConflictDiff to allow extensions like FCKeditor to modify the output for edit conflicts. +* Add class="nested" for
s so fieldsets inside fieldsets get + a slightly less huge margin and padding. === Bug fixes in 1.13 === diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 6486c99b00..b4b0fea25a 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1336,7 +1336,7 @@ $wgCacheEpoch = '20030516000000'; * to ensure that client-side caches don't keep obsolete copies of global * styles. */ -$wgStyleVersion = '134'; +$wgStyleVersion = '135'; # Server-side caching: diff --git a/skins/monobook/main.css b/skins/monobook/main.css index e46ea76789..03fb31aa41 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -177,6 +177,10 @@ fieldset { padding: 0 1em 1em; line-height: 1.5em; } +fieldset.nested { + margin: 0 0 0.5em 0; + padding: 0 0.5em 0.5em; +} legend { padding: .5em; font-size: 95%;