2016-08-03 23:20:08 -04:00
|
|
|
@mixin tanuki-logo-colors($path-color) {
|
|
|
|
fill: $path-color;
|
|
|
|
transition: all 0.8s;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
fill: lighten($path-color, 25%);
|
|
|
|
transition: all 0.1s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tanuki-logo {
|
|
|
|
.tanuki-left-ear,
|
|
|
|
.tanuki-right-ear,
|
|
|
|
.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);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.animate {
|
|
|
|
.tanuki-shape {
|
|
|
|
@include webkit-prefix(animation-duration, 1.5s);
|
|
|
|
@include webkit-prefix(animation-iteration-count, infinite);
|
|
|
|
}
|
|
|
|
|
|
|
|
.tanuki-left-cheek {
|
2016-09-29 15:28:33 -04:00
|
|
|
@include include-keyframes(animate-tanuki-left-cheek) {
|
2019-02-25 14:03:21 -05:00
|
|
|
0%,
|
|
|
|
10%,
|
|
|
|
100% {
|
2016-08-03 23:20:08 -04:00
|
|
|
fill: lighten($tanuki-yellow, 25%);
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2016-08-03 23:20:08 -04:00
|
|
|
90% {
|
|
|
|
fill: $tanuki-yellow;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tanuki-left-eye {
|
2016-09-29 15:28:33 -04:00
|
|
|
@include include-keyframes(animate-tanuki-left-eye) {
|
2019-02-25 14:03:21 -05:00
|
|
|
10%,
|
|
|
|
80% {
|
2016-09-29 15:28:33 -04:00
|
|
|
fill: $tanuki-orange;
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2019-02-25 14:03:21 -05:00
|
|
|
20%,
|
|
|
|
90% {
|
2016-09-29 15:28:33 -04:00
|
|
|
fill: lighten($tanuki-orange, 25%);
|
|
|
|
}
|
|
|
|
}
|
2016-08-03 23:20:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.tanuki-left-ear {
|
2016-09-29 15:28:33 -04:00
|
|
|
@include include-keyframes(animate-tanuki-left-ear) {
|
2019-02-25 14:03:21 -05:00
|
|
|
10%,
|
|
|
|
80% {
|
2016-09-29 15:28:33 -04:00
|
|
|
fill: $tanuki-red;
|
|
|
|
}
|
2016-10-24 15:23:40 -04:00
|
|
|
|
2019-02-25 14:03:21 -05:00
|
|
|
20%,
|
|
|
|
90% {
|
2016-09-29 15:28:33 -04:00
|
|
|
fill: lighten($tanuki-red, 25%);
|
|
|
|
}
|
|
|
|
}
|
2016-08-03 23:20:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.tanuki-nose {
|
2016-09-29 15:28:33 -04:00
|
|
|
@include include-keyframes(animate-tanuki-nose) {
|
2019-02-25 14:03:21 -05:00
|
|
|
20%,
|
|
|
|
70% {
|
2016-08-03 23:20:08 -04:00
|
|
|
fill: $tanuki-red;
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2019-02-25 14:03:21 -05:00
|
|
|
30%,
|
|
|
|
80% {
|
2016-08-03 23:20:08 -04:00
|
|
|
fill: lighten($tanuki-red, 25%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tanuki-right-eye {
|
2016-09-29 15:28:33 -04:00
|
|
|
@include include-keyframes(animate-tanuki-right-eye) {
|
2019-02-25 14:03:21 -05:00
|
|
|
30%,
|
|
|
|
60% {
|
2016-09-29 15:28:33 -04:00
|
|
|
fill: $tanuki-orange;
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2019-02-25 14:03:21 -05:00
|
|
|
40%,
|
|
|
|
70% {
|
2016-09-29 15:28:33 -04:00
|
|
|
fill: lighten($tanuki-orange, 25%);
|
|
|
|
}
|
|
|
|
}
|
2016-08-03 23:20:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.tanuki-right-ear {
|
2016-09-29 15:28:33 -04:00
|
|
|
@include include-keyframes(animate-tanuki-right-ear) {
|
2019-02-25 14:03:21 -05:00
|
|
|
30%,
|
|
|
|
60% {
|
2016-09-29 15:28:33 -04:00
|
|
|
fill: $tanuki-red;
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2019-02-25 14:03:21 -05:00
|
|
|
40%,
|
|
|
|
70% {
|
2016-09-29 15:28:33 -04:00
|
|
|
fill: lighten($tanuki-red, 25%);
|
|
|
|
}
|
|
|
|
}
|
2016-08-03 23:20:08 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.tanuki-right-cheek {
|
2016-09-29 15:28:33 -04:00
|
|
|
@include include-keyframes(animate-tanuki-right-cheek) {
|
2016-08-03 23:20:08 -04:00
|
|
|
40% {
|
|
|
|
fill: $tanuki-yellow;
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2016-08-03 23:20:08 -04:00
|
|
|
60% {
|
|
|
|
fill: lighten($tanuki-yellow, 25%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-09-29 15:28:33 -04:00
|
|
|
}
|