Commit 433a65db authored by Annabel Dunstone's avatar Annabel Dunstone

Lighten each logo path color instead of white

parent 1af4ae33
...@@ -2,6 +2,17 @@ ...@@ -2,6 +2,17 @@
* Application Header * Application Header
* *
*/ */
@mixin tanuki-logo-colors($path-color) {
fill: $path-color;
transition: all 0.8s;
&:hover,
&.highlight {
fill: lighten($path-color, 25%);
transition: all 0.1s;
}
}
header { header {
transition: padding $sidebar-transition-duration; transition: padding $sidebar-transition-duration;
...@@ -191,13 +202,24 @@ header { ...@@ -191,13 +202,24 @@ header {
} }
} }
.tanuki-shape { #tanuki-logo {
transition: all 0.8s;
&:hover, &.highlight { #tanuki-left-ear,
fill: rgb(255, 255, 255); #tanuki-right-ear,
transition: all 0.1s; #tanuki-nose {
@include tanuki-logo-colors($tanuki-red);
}
#tanuki-left-eye,
#tanuki-right-eye {
@include tanuki-logo-colors($tanuki-orange);
} }
#tanuki-left-cheek,
#tanuki-right-cheek {
@include tanuki-logo-colors($tanuki-yellow);
}
} }
@media (max-width: $screen-xs-max) { @media (max-width: $screen-xs-max) {
......
...@@ -55,17 +55,6 @@ ...@@ -55,17 +55,6 @@
} }
} }
.tanuki-shape {
transition: all 0.8s;
&:hover, &.highlight {
fill: rgb(255, 255, 255);
transition: all 0.1s;
}
}
.nav-sidebar { .nav-sidebar {
position: absolute; position: absolute;
top: 50px; top: 50px;
......
...@@ -156,6 +156,11 @@ $warning-message-border: #f0e2bb; ...@@ -156,6 +156,11 @@ $warning-message-border: #f0e2bb;
/* header */ /* header */
$light-grey-header: #faf9f9; $light-grey-header: #faf9f9;
/* tanuki logo colors */
$tanuki-red: #e24329;
$tanuki-orange: #fc6d26;
$tanuki-yellow: #fca326;
/* /*
* State colors: * State colors:
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment