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

View file

@ -43,17 +43,6 @@
color: $text-color; 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 */ /* CARDS */
.card { .card {

View file

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

View file

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