mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-14 11:15:33 +00:00
5919a26949
Given we don't want to change the color in modern Vector we must rely on this ugly hack to change the link color. This can be revisited when Vector has been split into two skins which can use 'mediawiki.skin.variables.less'. Bug: T288739 Change-Id: I17401f897dce4e6adca9d05008899d28ff02517c
37 lines
912 B
Plaintext
37 lines
912 B
Plaintext
/**
|
|
* Vector legacy stylesheets
|
|
* See '../common/common.less' for common screen and print Vector stylesheets.
|
|
*/
|
|
|
|
@media screen {
|
|
// Layouts
|
|
@import './layouts/screen.less';
|
|
|
|
// Legacy specific components
|
|
@import './components/MenuDropdown.less';
|
|
@import './components/SearchBox.less';
|
|
@import './components/Sidebar.less';
|
|
@import './components/UserLinks.less';
|
|
|
|
// Overrides
|
|
// Since these override declarations in ResourceLoaderSkinModule they require
|
|
// the `skin-vector-legacy` class for greater specificity. See T288739.
|
|
// FIXME: This can be considered for removal in future or can be repurposed as a skin
|
|
// variable when modern and legacy Vector use different skin keys.
|
|
.skin-vector-legacy {
|
|
a.new {
|
|
color: #ba0000;
|
|
}
|
|
|
|
a.new:visited,
|
|
.vector-menu-tabs .new a,
|
|
.vector-menu-tabs .new a:visited {
|
|
color: #a55858;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media print {
|
|
@import './layouts/print.less';
|
|
}
|