mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-13 17:37:07 +00:00
Use upstream codex variables for diffs and red links
Bug: T361717 Bug: T363743 Change-Id: I4e49a07f9f092ab00e2b2d12fcb146c91a21d8d8
This commit is contained in:
parent
6d037d4e9f
commit
72bcebeba8
|
@ -23,10 +23,6 @@
|
||||||
*/
|
*/
|
||||||
.mixin-night-mode-palette() {
|
.mixin-night-mode-palette() {
|
||||||
.cdx-mode-dark();
|
.cdx-mode-dark();
|
||||||
// <T361717>FIXME: These can be removed when T361717 is resolved.
|
|
||||||
--minerva-diff-deletedline: #886525;
|
|
||||||
--minerva-diff-addedline: #36c;
|
|
||||||
// </T361717>
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -53,10 +49,6 @@
|
||||||
.skin-invert,
|
.skin-invert,
|
||||||
.notheme {
|
.notheme {
|
||||||
.cdx-mode-reset();
|
.cdx-mode-reset();
|
||||||
// <T361717>FIXME: These can be removed when T361717 is resolved.
|
|
||||||
--minerva-diff-addedline: @color-success;
|
|
||||||
--minerva-diff-deletedline: @color-destructive;
|
|
||||||
// </T361717>
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.skin-invert,
|
.skin-invert,
|
||||||
|
@ -73,9 +65,6 @@
|
||||||
html.skin-theme-clientpref-night {
|
html.skin-theme-clientpref-night {
|
||||||
color-scheme: dark;
|
color-scheme: dark;
|
||||||
.mixin-night-mode-palette();
|
.mixin-night-mode-palette();
|
||||||
// T363911 Temporarily override Codex variable for Vector night mode release
|
|
||||||
// Remove after task has been resolved and new color is available in Codex.
|
|
||||||
--color-link-red: #b97876;
|
|
||||||
|
|
||||||
.skin-invert,
|
.skin-invert,
|
||||||
.skin-invert-image img,
|
.skin-invert-image img,
|
||||||
|
@ -104,9 +93,6 @@ html.skin-theme-clientpref-night {
|
||||||
html.skin-theme-clientpref-os {
|
html.skin-theme-clientpref-os {
|
||||||
color-scheme: light dark;
|
color-scheme: light dark;
|
||||||
.mixin-night-mode-palette();
|
.mixin-night-mode-palette();
|
||||||
// T363911 Temporarily override Codex variable for Vector night mode release
|
|
||||||
// Remove after task has been resolved and new color is available in Codex.
|
|
||||||
--color-link-red: #b97876;
|
|
||||||
|
|
||||||
.skin-invert,
|
.skin-invert,
|
||||||
.skin-invert-image img,
|
.skin-invert-image img,
|
||||||
|
|
|
@ -85,15 +85,15 @@ ul.mw-contributions-list li > * {
|
||||||
* Colored watchlist and recent changes numbers.
|
* Colored watchlist and recent changes numbers.
|
||||||
*/
|
*/
|
||||||
.mw-plusminus-pos {
|
.mw-plusminus-pos {
|
||||||
color: var( --minerva-diff-addedline );
|
color: @color-content-added;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mw-plusminus-neg {
|
.mw-plusminus-neg {
|
||||||
color: var( --minerva-diff-deletedline );
|
color: @color-content-removed;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mw-plusminus-null {
|
.mw-plusminus-null {
|
||||||
color: @color-subtle;
|
color: @color-disabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue