palette: add selection color support

This commit is contained in:
Kazhnuz 2018-10-13 18:15:36 +02:00
parent 21b099ce70
commit 8b29cce34b
2 changed files with 16 additions and 0 deletions

View file

@ -2,6 +2,14 @@
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

@ -19,6 +19,7 @@ $color-info: $color-skyblue;
$color-success: $color-green;
$color-link: $color-blue;
$color-selection: $color-blue;
@mixin card-color($background-color, $text-color) {
& > .card-header { background-color: $background-color; color:$text-color; }
@ -48,6 +49,13 @@ 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 {