debian-mirror-gitlab/app/assets/stylesheets/framework/logo.scss

84 lines
1.4 KiB
SCSS
Raw Normal View History

2016-09-29 09:46:39 +05:30
@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 {
2022-07-16 23:28:13 +05:30
.tanuki {
2016-09-29 09:46:39 +05:30
@include tanuki-logo-colors($tanuki-red);
}
2022-07-16 23:28:13 +05:30
.left-cheek,
.right-cheek {
2016-09-29 09:46:39 +05:30
@include tanuki-logo-colors($tanuki-orange);
}
2022-07-16 23:28:13 +05:30
.chin {
2016-09-29 09:46:39 +05:30
@include tanuki-logo-colors($tanuki-yellow);
}
&.animate {
.tanuki-shape {
@include webkit-prefix(animation-duration, 1.5s);
@include webkit-prefix(animation-iteration-count, infinite);
}
2022-07-16 23:28:13 +05:30
.tanuki {
@include include-keyframes(animate-tanuki-base) {
2019-07-07 11:18:12 +05:30
0%,
2022-07-16 23:28:13 +05:30
50% {
2016-11-03 12:29:30 +05:30
fill: $tanuki-red;
}
2017-08-17 22:00:37 +05:30
2022-07-16 23:28:13 +05:30
25% {
2016-11-03 12:29:30 +05:30
fill: lighten($tanuki-red, 25%);
}
}
2016-09-29 09:46:39 +05:30
}
2022-07-16 23:28:13 +05:30
.right-cheek {
@include include-keyframes(animate-tanuki-right-cheek) {
25%,
75% {
2016-11-03 12:29:30 +05:30
fill: $tanuki-orange;
}
2022-07-16 23:28:13 +05:30
50% {
2016-11-03 12:29:30 +05:30
fill: lighten($tanuki-orange, 25%);
}
}
2016-09-29 09:46:39 +05:30
}
2022-07-16 23:28:13 +05:30
.chin {
@include include-keyframes(animate-tanuki-chin) {
50%,
100% {
fill: $tanuki-yellow;
2016-11-03 12:29:30 +05:30
}
2022-07-16 23:28:13 +05:30
75% {
fill: lighten($tanuki-yellow, 25%);
2016-11-03 12:29:30 +05:30
}
}
2016-09-29 09:46:39 +05:30
}
2022-07-16 23:28:13 +05:30
.left-cheek {
@include include-keyframes(animate-tanuki-left-cheek) {
25%,
75% {
fill: $tanuki-orange;
2016-09-29 09:46:39 +05:30
}
2016-11-03 12:29:30 +05:30
2022-07-16 23:28:13 +05:30
100% {
fill: lighten($tanuki-orange, 25%);
2016-09-29 09:46:39 +05:30
}
}
}
}
2016-11-03 12:29:30 +05:30
}