Changed background color of active menu items

stable
Daniel García 2018-11-19 10:55:54 +01:00 committed by Alex Hermida
parent cd942e573a
commit 11d2e38eb9
5 changed files with 12 additions and 5 deletions

View File

@ -1,6 +1,5 @@
tg-filter {
background-color: $mass-white;
box-shadow: 1px 1px 5px rgba($primary, .2);
display: block;
left: 0;
min-height: 100%;
@ -40,6 +39,7 @@ tg-filter {
top: .7rem;
}
&.open {
box-shadow: 1px 1px 5px rgba($primary, .2);
transform: translateX(0);
}
}

View File

@ -86,11 +86,12 @@ tg-project-menu {
@include font-size(large);
}
.active {
background: rgba($black, .2);
color: $primary-light;
svg path {
fill: $primary-light;
background: rgba($white, .95);
color: $secondary-dark;
svg {
fill: $secondary-dark;
opacity: 1;
stroke: $secondary-dark;
}
}
}

View File

@ -19,6 +19,8 @@ $primary: #000;
$primary-dark: #000;
$primary-background: #dfdfdf;
$secondary-dark: #000;
// Mass white
$mass-white: #f5f5f5;

View File

@ -22,6 +22,8 @@ $primary: #3f51b5;
$primary-dark: #1a237e;
$primary-background: #929dd8;
$secondary-dark: #1a237e;
// Status colors
$red-light: #ff5252;
$red: #f44336;

View File

@ -22,6 +22,8 @@ $primary: #5b8200;
$primary-dark: #879b89;
$primary-background: #E8F5E3;
$secondary-dark: #627695;
//Status colors
$red-light: #ff8282;
$red: #f00;