mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-30 18:35:44 +00:00
Variablize all color
property values
Also going with `--modifier` naming scheme when direct pseudo-class modifying variable. And fixing small typo. Change-Id: Ife2f9dc9cb57c063a43e4b3dfad3c737aaf3b72b
This commit is contained in:
parent
2b0a28cdcb
commit
e3f9cdcf70
|
@ -114,7 +114,7 @@
|
||||||
color: @color-link;
|
color: @color-link;
|
||||||
|
|
||||||
&:visited {
|
&:visited {
|
||||||
color: @color-link-visited;
|
color: @color-link--visited;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,10 +29,10 @@
|
||||||
|
|
||||||
// Styles for both the search input and the button.
|
// Styles for both the search input and the button.
|
||||||
input {
|
input {
|
||||||
// Support IE6-8:; Fallback for browsers, which don't support `rgba()`.
|
// Support IE6-8: Fallback for browsers, which don't support `rgba()`.
|
||||||
background-color: @background-color-base;
|
background-color: @background-color-base;
|
||||||
background-color: rgba( 0, 0, 0, 0 );
|
background-color: rgba( 0, 0, 0, 0 );
|
||||||
color: #000;
|
color: @color-base--emphasized;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
&.new {
|
&.new {
|
||||||
a,
|
a,
|
||||||
a:visited {
|
a:visited {
|
||||||
color: #a55858;
|
color: @color-link-new;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,10 @@
|
||||||
// Page content
|
// Page content
|
||||||
@background-color-base: #fff;
|
@background-color-base: #fff;
|
||||||
@color-base: #222;
|
@color-base: #222;
|
||||||
|
@color-base--emphasized: #000;
|
||||||
@color-link: #0645ad;
|
@color-link: #0645ad;
|
||||||
@color-link-visited: #0b0080;
|
@color-link--visited: #0b0080;
|
||||||
|
@color-link-new: #a55858;
|
||||||
@color-link-selected: @color-base;
|
@color-link-selected: @color-base;
|
||||||
|
|
||||||
@font-size-base: unit( 14 / @font-size-browser, em ); // Equals `0.875em`.
|
@font-size-base: unit( 14 / @font-size-browser, em ); // Equals `0.875em`.
|
||||||
|
|
Loading…
Reference in a new issue