Jack Phoenix has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/333814 )

Change subject: Delicious copypasta from MonoBook to fix the tabs on 
Special:Preferences
......................................................................

Delicious copypasta from MonoBook to fix the tabs on Special:Preferences

Change-Id: I3eca5f749f67baa8ea77c00706fac4441bb1f1e7
---
M skin.json
A skinStyles/mediawiki.special.preferences.styles.less
2 files changed, 91 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/Nimbus 
refs/changes/14/333814/1

diff --git a/skin.json b/skin.json
index 9979080..5250cda 100644
--- a/skin.json
+++ b/skin.json
@@ -1,6 +1,6 @@
 {
        "name": "Nimbus",
-       "version": "3.2.2",
+       "version": "3.3",
        "author": [
                "Aaron Wright",
                "David Pean",
@@ -41,5 +41,10 @@
                        "position": "bottom"
                }
        },
+       "ResourceModuleSkinStyles": {
+               "monobook": {
+                       "+mediawiki.special.preferences.styles": 
"skinStyles/mediawiki.special.preferences.styles.less"
+               }
+       },
        "manifest_version": 1
 }
diff --git a/skinStyles/mediawiki.special.preferences.styles.less 
b/skinStyles/mediawiki.special.preferences.styles.less
new file mode 100644
index 0000000..49ea1a1
--- /dev/null
+++ b/skinStyles/mediawiki.special.preferences.styles.less
@@ -0,0 +1,85 @@
+.client-js #preftoc {
+       /* Tabs */
+       width: 100%;
+       clear: both;
+       margin: 0;
+       padding: 0;
+
+       li {
+               /* Tab */
+               background-color: #f0f0f0;
+               color: #000;
+               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;
+
+               &.selected {
+                       font-weight: bold;
+                       background-color: #f9f9f9;
+                       border: 1px solid #aaa;
+                       border-bottom: 0;
+                       cursor: default;
+                       top: 2px;
+                       padding-top: 2px;
+                       margin-right: -3px;
+
+                       a {
+                               cursor: default;
+                               text-decoration: none;
+                       }
+               }
+       }
+
+       a,
+       a:active {
+               display: inline-block;
+               color: #000;
+               padding: 0 .7em;
+               position: relative;
+               text-decoration: none;
+       }
+}
+
+#preferences {
+        margin: 0;
+       border: 1px solid #aaa;
+       clear: both;
+       padding: 1.5em;
+       background-color: #F9F9F9;
+}
+
+.client-js #preferences {
+       >fieldset {
+               border: none;
+               padding: 0;
+               margin: 0;
+
+               >legend {
+                       display: none;
+               }
+       }
+
+       legend {
+               font-weight: bold;
+       }
+}
+
+.mw-htmlform-submit {
+       font-weight: bold;
+       padding-left: .3em;
+       padding-right: .3em;
+       margin-right: 2em;
+}
+
+.htmlform-tip {
+       font-size: x-small;
+       padding: .2em 2em;
+       color: #666;
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/333814
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3eca5f749f67baa8ea77c00706fac4441bb1f1e7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/Nimbus
Gerrit-Branch: master
Gerrit-Owner: Jack Phoenix <j...@countervandalism.net>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to