Fix animated logo spinner
This commit is contained in:
parent
ca19a7a774
commit
2c22dca023
1 changed files with 12 additions and 2 deletions
|
@ -48,6 +48,13 @@
|
|||
margin-block: 24px;
|
||||
position: relative;
|
||||
|
||||
@include light-theme() {
|
||||
--Inbox__logo__bg: #{$color-ultramarine-logo};
|
||||
}
|
||||
@include dark-theme() {
|
||||
--Inbox__logo__bg: #{$color-white};
|
||||
}
|
||||
|
||||
.Inbox__logo__part {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
@ -55,7 +62,7 @@
|
|||
}
|
||||
|
||||
.Inbox__logo__part--base {
|
||||
@include color-svg('../images/logo-parts/base.svg', $color-white);
|
||||
@include color-svg('../images/logo-parts/base.svg', var(--Inbox__logo__bg));
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
|
@ -72,7 +79,10 @@
|
|||
|
||||
@for $i from 1 through 16 {
|
||||
.Inbox__logo__part--segment:nth-child(#{$i + 1}) {
|
||||
@include color-svg('../images/logo-parts/p#{$i}.svg', $color-white);
|
||||
@include color-svg(
|
||||
'../images/logo-parts/p#{$i}.svg',
|
||||
var(--Inbox__logo__bg)
|
||||
);
|
||||
transform: rotate(#{(16 - $i) * 22.5}deg);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue