IAlex has submitted this change and it was merged. Change subject: improved style for TOC - fix a.selected css selector into li.selected, since that class is applied to the <li> rather than the <a> - improve overall styling (compare before: http://i.imgur.com/fHz8dMB.png and after: http://i.imgur.com/ub5QAaW.png) - c ......................................................................
improved style for TOC - fix a.selected css selector into li.selected, since that class is applied to the <li> rather than the <a> - improve overall styling (compare before: http://i.imgur.com/fHz8dMB.png and after: http://i.imgur.com/ub5QAaW.png) - change alignment technique so it works regardless of font metrics - minor grammar tweak to the extension's description string Change-Id: I3884950719744bcbdb148fd9711ace823e993f74 --- M Configure.css M Configure.i18n.php 2 files changed, 21 insertions(+), 6 deletions(-) Approvals: IAlex: Verified; Looks good to me, approved diff --git a/Configure.css b/Configure.css index b7f48ac..dc000de 100644 --- a/Configure.css +++ b/Configure.css @@ -16,7 +16,12 @@ td.config-col-toc { border-right: 1px solid #999; + padding: 0; margin-right: .5em; +} + +td.config-col-toc ul { + margin-left: 0; } td.config-col-form { @@ -35,7 +40,6 @@ ul.configtoc { vertical-align: top; - padding-right: 0.5em; } ul.configtoc, ul.configtoc > li > ul { @@ -45,16 +49,27 @@ ul.configtoc li { white-space: nowrap; - background-color: #fefefe; + padding: 0.5em; + position: relative; } -ul.configtoc li > a.selected { +ul.configtoc > li { + padding-left: 2.5em; +} + +ul.configtoc > li > ul > li { + padding-left: 1.5em; +} + +ul.configtoc li.selected { background-color: #ddddff; + border-top-left-radius: 10px; + border-bottom-left-radius: 10px; } ul.configtoc li > a.toggle { - margin-left: -1.5em; - padding-right: 0.3em; + position: absolute; + left: 0.75em; } .config-toc-delimiter { diff --git a/Configure.i18n.php b/Configure.i18n.php index 7b3dad2..faeb56b 100644 --- a/Configure.i18n.php +++ b/Configure.i18n.php @@ -33,7 +33,7 @@ 'configure-customised' => "''This setting has been customized''", 'configure-arrayinput-oneperline' => "''(one per line)''", - 'configure-summary' => 'This special page allows you to configure this wiki, see [http://www.mediawiki.org/wiki/Manual:Configuration_settings Configuration settings] for more information.', + 'configure-summary' => 'This special page allows you to configure this wiki. See [http://www.mediawiki.org/wiki/Manual:Configuration_settings Configuration settings] for more information.', 'configure-btn-save' => 'Save settings', 'configure-db-error' => 'The database you specified to hold the configuration ($1) does not exist. Please create it and apply configure.sql or correct its name.', -- To view, visit https://gerrit.wikimedia.org/r/56607 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3884950719744bcbdb148fd9711ace823e993f74 Gerrit-PatchSet: 4 Gerrit-Project: mediawiki/extensions/Configure Gerrit-Branch: master Gerrit-Owner: Waldir <[email protected]> Gerrit-Reviewer: IAlex <[email protected]> Gerrit-Reviewer: Nikerabbit <[email protected]> Gerrit-Reviewer: Siebrand <[email protected]> Gerrit-Reviewer: Waldir <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
