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
This commit is contained in:
parent
3c894154df
commit
5919a26949
|
@ -12,6 +12,23 @@
|
|||
@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 {
|
||||
|
|
Loading…
Reference in New Issue