jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/340047 )
Change subject: Separate preferences CSS into it's own module and file ...................................................................... Separate preferences CSS into it's own module and file Change-Id: Ibe6218d6e44280913f2062d48a718c99b5caf83e --- A resources/css/special.preferences.css M resources/css/style.css M skin.json 3 files changed, 96 insertions(+), 92 deletions(-) Approvals: Jack Phoenix: Looks good to me, approved jenkins-bot: Verified diff --git a/resources/css/special.preferences.css b/resources/css/special.preferences.css new file mode 100644 index 0000000..d379bd4 --- /dev/null +++ b/resources/css/special.preferences.css @@ -0,0 +1,90 @@ +/** Delicious copypasta from Monobook's main.css */ +/* js pref toc */ +#preftoc { + margin: 0; + padding: 0; + width: 100%; + clear: both; +} +#preftoc li { + /*background-color: #f0f0f0;*/ + color: #000; +} +#preftoc li { + margin: 1px -2px 1px 2px; + float: left; + padding: 2px 0 3px 0; + border: 1px solid #fff; + border-right-color: #716f64; + border-bottom: 0; + position: relative; + white-space: nowrap; + list-style-type: none; + list-style-image: none; + z-index: 3; +} +#preftoc li.selected { + font-weight: bold; + background-color: transparent; + border: 1px solid #aaa; + border-bottom: none; + cursor: default; + top: 1px; + padding-top: 2px; + margin-right: -3px; +} +#preftoc > li.selected { + top: 2px; +} +#preftoc a, +#preftoc a:active { + display: block; + /*color: #FFF;*/ + padding: 0 .7em; + position: relative; + text-decoration: none; +} +#preftoc li.selected a { + cursor: default; + text-decoration: none; +} +#preftoc a:visited { + color: #808080; /* Gray -- beats the default blue... */ +} +#preferences { + margin: 0; + border: 1px solid #aaa; + clear: both; + padding: 1.5em; + background-color: transparent; +} +.prefsection { + border: none; + padding: 0; + margin: 0; +} + +.prefsection legend { + font-weight: bold; +} +.prefsection table, .prefsection legend { + background-color: transparent; +} +.mainLegend { + display: none; +} +td.htmlform-tip { + font-size: x-small; + padding: .2em 2em; + color: #666; +} + +.preferences-login { + clear: both; + margin-bottom: 1.5em; +} + +.prefcache { + font-size: 90%; + margin-top: 2em; +} diff --git a/resources/css/style.css b/resources/css/style.css index 4dcf1b5..e786dfa 100644 --- a/resources/css/style.css +++ b/resources/css/style.css @@ -922,97 +922,6 @@ text-shadow: none; } -/** Delicious copypasta from Monobook's main.css */ -/* js pref toc */ -#preftoc { - margin: 0; - padding: 0; - width: 100%; - clear: both; -} -#preftoc li { - /*background-color: #f0f0f0;*/ - color: #000; -} -#preftoc li { - margin: 1px -2px 1px 2px; - float: left; - padding: 2px 0 3px 0; - border: 1px solid #fff; - border-right-color: #716f64; - border-bottom: 0; - position: relative; - white-space: nowrap; - list-style-type: none; - list-style-image: none; - z-index: 3; -} -#preftoc li.selected { - font-weight: bold; - background-color: transparent; - border: 1px solid #aaa; - border-bottom: none; - cursor: default; - top: 1px; - padding-top: 2px; - margin-right: -3px; -} -#preftoc > li.selected { - top: 2px; -} -#preftoc a, -#preftoc a:active { - display: block; - /*color: #FFF;*/ - padding: 0 .7em; - position: relative; - text-decoration: none; -} -#preftoc li.selected a { - cursor: default; - text-decoration: none; -} -#preftoc a:visited { - color: #808080; /* Gray -- beats the default blue... */ -} -#preferences { - margin: 0; - border: 1px solid #aaa; - clear: both; - padding: 1.5em; - background-color: transparent; -} -.prefsection { - border: none; - padding: 0; - margin: 0; -} - -.prefsection legend { - font-weight: bold; -} -.prefsection table, .prefsection legend { - background-color: transparent; -} -.mainLegend { - display: none; -} -td.htmlform-tip { - font-size: x-small; - padding: .2em 2em; - color: #666; -} - -.preferences-login { - clear: both; - margin-bottom: 1.5em; -} - -.prefcache { - font-size: 90%; - margin-top: 2em; -} - /* noarticletext */ div.noarticletext { border: 1px solid #ccc; diff --git a/skin.json b/skin.json index 8eb4eed..c5d0205 100644 --- a/skin.json +++ b/skin.json @@ -1,6 +1,6 @@ { "name": "Gamepress", - "version": "1.1.1", + "version": "1.1.2", "author": [ "[http://webtuts.pl/themes/ Aleksandra Łączek]", "Jack Phoenix", @@ -70,5 +70,10 @@ } } }, + "ResourceModuleSkinStyles": { + "gamepress": { + "+mediawiki.special.preferences": "resources/css/special.preferences.css" + } + }, "manifest_version": 1 } -- To view, visit https://gerrit.wikimedia.org/r/340047 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ibe6218d6e44280913f2062d48a718c99b5caf83e Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/skins/Gamepress Gerrit-Branch: master Gerrit-Owner: SamanthaNguyen <samanthanguyen1...@gmail.com> Gerrit-Reviewer: Jack Phoenix <j...@countervandalism.net> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits