palette: add selection color support
This commit is contained in:
parent
21b099ce70
commit
8b29cce34b
2 changed files with 16 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
|
Reference in a new issue