mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-27 17:10:19 +00:00
Rework Vector style of Preferences to prevent FOUC
Depends on: I24d9b16 Bug: T115692 Change-Id: I59f0f4538132e60a457c5c93139c04fff24fd2b2
This commit is contained in:
parent
adcc672bd4
commit
33d736d0f2
|
@ -89,7 +89,7 @@
|
|||
"+mediawiki.sectionAnchor": "skinStyles/mediawiki.sectionAnchor.less",
|
||||
"ooui": "skinStyles/ooui.less",
|
||||
"mediawiki.special": "skinStyles/mediawiki.special.less",
|
||||
"mediawiki.special.preferences": "skinStyles/mediawiki.special.preferences.less"
|
||||
"+mediawiki.special.preferences.styles": "skinStyles/mediawiki.special.preferences.styles.less"
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
|
|
|
@ -6,14 +6,13 @@
|
|||
* preftoc id was more human readable like preferences-toc for instance,
|
||||
* howerver this would require backporting the other skins.
|
||||
*/
|
||||
|
||||
#preftoc {
|
||||
.client-js #preftoc {
|
||||
/* Tabs */
|
||||
width: 100%;
|
||||
float: left;
|
||||
clear: both;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
.background-image('../images/preferences/break.png');
|
||||
background-position: bottom left;
|
||||
background-repeat: no-repeat;
|
||||
|
@ -43,7 +42,6 @@
|
|||
background-position: bottom;
|
||||
background-repeat: repeat-x;
|
||||
color: #333;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -65,7 +63,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
#preferences {
|
||||
.client-js #preferences {
|
||||
float: left;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
|
@ -77,15 +75,15 @@
|
|||
fieldset {
|
||||
border: none;
|
||||
border-top: solid 1px #ccc;
|
||||
}
|
||||
|
||||
&.prefsection {
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin: 1em;
|
||||
>fieldset {
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin: 1em;
|
||||
|
||||
legend.mainLegend {
|
||||
display: none;
|
||||
}
|
||||
>legend {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in a new issue