mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-15 03:34:25 +00:00
a51f69ca8d
Replacing outdated colors on Vector's Special:Preferences. Bug: T173607 Change-Id: I4d23fb4bfcd3789e3f18fa7ed8247921a3557727
113 lines
1.8 KiB
Plaintext
113 lines
1.8 KiB
Plaintext
@import 'mediawiki.mixins';
|
|
@import '../variables';
|
|
|
|
/**
|
|
* The following code is highly modified from monobook. It would be nice if the
|
|
* preftoc id was more human readable like preferences-toc for instance,
|
|
* howerver this would require backporting the other skins.
|
|
*/
|
|
.client-js #preftoc {
|
|
/* Tabs */
|
|
width: 100%;
|
|
float: left;
|
|
clear: both;
|
|
margin: 0;
|
|
padding: 0;
|
|
.background-image('../images/preferences/break.png');
|
|
background-position: bottom left;
|
|
background-repeat: no-repeat;
|
|
|
|
li {
|
|
/* Tab */
|
|
float: left;
|
|
margin: 0;
|
|
padding: 0;
|
|
padding-right: 1px;
|
|
height: 2.25em;
|
|
white-space: nowrap;
|
|
list-style-type: none;
|
|
list-style-image: none;
|
|
.background-image('../images/preferences/break.png');
|
|
background-position: bottom right;
|
|
background-repeat: no-repeat;
|
|
|
|
/* Sadly, IE6 won't understand this */
|
|
&:first-child {
|
|
margin-left: 1px;
|
|
}
|
|
|
|
&.selected {
|
|
a {
|
|
.background-image('../images/preferences/fade.png');
|
|
background-position: bottom;
|
|
background-repeat: repeat-x;
|
|
color: @colorText;
|
|
}
|
|
}
|
|
}
|
|
|
|
a,
|
|
a:active {
|
|
display: inline-block;
|
|
position: relative;
|
|
color: @menu-link-color;
|
|
padding: 0.5em;
|
|
text-decoration: none;
|
|
background-image: none;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
a:hover,
|
|
a:focus {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
.client-js #preferences {
|
|
float: left;
|
|
width: 100%;
|
|
margin: 0;
|
|
margin-top: -2px;
|
|
clear: both;
|
|
border: 1px solid @colorGray12;
|
|
background-color: @colorGray15;
|
|
|
|
fieldset {
|
|
border: 0;
|
|
border-top: 1px solid @colorGray12;
|
|
}
|
|
|
|
> fieldset {
|
|
border: 0;
|
|
padding: 0;
|
|
margin: 1em;
|
|
|
|
> legend {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
legend {
|
|
color: @colorGray5;
|
|
}
|
|
|
|
td {
|
|
padding-left: 0.5em;
|
|
padding-right: 0.5em;
|
|
}
|
|
|
|
div.mw-prefs-buttons {
|
|
padding: 1em;
|
|
|
|
input {
|
|
margin-right: 0.25em;
|
|
}
|
|
}
|
|
}
|
|
|
|
.htmlform-tip {
|
|
font-size: x-small;
|
|
padding: 0.2em 2em;
|
|
color: @colorGray5;
|
|
}
|