scss/typography: make link and selection use the palette

And remove them from _colorize.scss
This commit is contained in:
Kazhnuz 2018-10-24 11:21:42 +02:00
parent ade564c98f
commit a0f8f0eb58
4 changed files with 14 additions and 28 deletions

View File

@ -25,6 +25,7 @@
*
*/
/* 2.1 - Font Face */
/* 2.1.1 - OpenSans */
@font-face {
font-family: 'OpenSans';
src: url("../fonts/OpenSans-Light-webfont.eot");
@ -114,8 +115,10 @@ em {
font-style: italic; }
a {
color: #2484c1;
color: #4e63c9;
text-decoration: none; }
a:hover, a:active {
color: #4e63c9; }
p {
padding: 0;
@ -143,11 +146,11 @@ ol {
margin-left: 1.5em; }
::selection {
background: #2484c1;
background: #4e63c9;
color: #fff; }
::-moz-selection {
background: #2484c1;
background: #4e63c9;
color: #fff; }
/* 2.2 - Text Wrapper */
@ -617,17 +620,6 @@ a.list-group-item:hover {
display: block; }
/* ------------------ COULEURS ------------------- */
a, a:hover, a:active {
color: #4e63c9; }
::selection {
background-color: #4e63c9 !important;
color: #FFF; }
::-moz-selection {
background-color: #4e63c9 !important;
color: #FFF; }
/* CARDS */
.card-blue > .card-header {
background-color: #4e63c9;

View File

@ -43,17 +43,6 @@
color: $text-color;
}
a, a:hover, a:active {
color: $color-link;
}
::selection {
@include background-color($color-selection, #FFF);
}
::-moz-selection {
@include background-color($color-selection, #FFF);
}
/* CARDS */
.card {

View File

@ -1,5 +1,7 @@
/* 2.1 - Font Face */
/* 2.1.1 - OpenSans */
@font-face {
font-family: 'OpenSans';
src: url('../fonts/OpenSans-Light-webfont.eot');

View File

@ -38,8 +38,11 @@ em {
}
a {
color:#2484c1;
color: $color-link;
text-decoration:none;
&:hover, &:active {
color: $color-link;
}
}
p {
@ -70,8 +73,8 @@ ol {
}
::selection { background: #2484c1; color: #fff; }
::-moz-selection { background: #2484c1; color: #fff; }
::selection { background: $color-selection; color: #fff; }
::-moz-selection { background: $color-selection; color: #fff; }
/* 2.2 - Text Wrapper */