mediawiki-skins-Vector/resources/skins.vector.styles.legacy/skin-legacy.less
jdlrobson 5919a26949 Restore legacy new (red) link in legacy Vector to #ba0000 & #a55858 for visited
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
2021-09-20 13:13:48 +00:00

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';
}