defaults.less: attempt to use more global variables

This commit is contained in:
Thomas Gelf 2015-06-05 12:43:35 +02:00
parent 44742a83a8
commit 21d3e64ff0
1 changed files with 12 additions and 6 deletions

View File

@ -1,6 +1,13 @@
/*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */ /*! Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
/* Color definitions */ /* Color definitions */
@colorMainLayout: #049baf;
@colorMainBackground: #fff;
@colorMainForeground: #666;
@colorMainLink: #222;
@colorSecondary: #f9f9f9;
@colorGray: #f9f9f9; @colorGray: #f9f9f9;
@colorLinkDefault: #049baf; @colorLinkDefault: #049baf;
@colorTextDefault: #666; @colorTextDefault: #666;
@ -87,13 +94,12 @@ body {
} }
a { a {
color: #333; @colorMainLink;
text-decoration: underline; text-decoration: none;
}
a:hover { :hover {
color: black; text-decoration: underline;
text-decoration: underline; }
} }
/* W3C Recommendation <http://www.w3.org/TR/CSS21/sample.html> (except h4) */ /* W3C Recommendation <http://www.w3.org/TR/CSS21/sample.html> (except h4) */