BetterDiscordApp-v2/client/src/styles/partials/generic/spinners/3.scss

106 lines
2.5 KiB
SCSS
Raw Normal View History

2018-08-15 04:03:56 +02:00
.bd-spinner3 {
width: 40px;
height: 40px;
position: relative;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
&::before {
2018-08-15 11:42:43 +02:00
content: '';
background: #fff;
height: 30px;
width: 30px;
position: absolute;
border-radius: 50%;
left: 5px;
top: 5px;
2018-08-15 11:42:43 +02:00
-webkit-animation: bd-spinner3AnimBefore 2s cubic-bezier(.4, 0, 0, 1) infinite;
animation: bd-spinner3AnimBefore 3s cubic-bezier(.4, 0, 0, 1) infinite;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}
&::after {
2018-08-15 11:42:43 +02:00
content: '';
background: #202225;
height: 20px;
width: 20px;
position: absolute;
border-radius: 50%;
left: 10px;
top: 10px;
2018-08-15 11:42:43 +02:00
-webkit-animation: bd-spinner3AnimAfter 2s cubic-bezier(.4, 0, 0, 1) infinite;
2018-08-15 05:33:42 +02:00
animation: bd-spinner3AnimAfter 3s cubic-bezier(.4, 0, 0, 1) -.1s infinite;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}
}
2018-08-15 05:33:42 +02:00
@-webkit-keyframes bd-spinner3AnimBefore {
0% {
2018-08-15 11:42:43 +02:00
-webkit-transform: scale(1) rotate(.01deg);
transform: scale(1) rotate(.01deg);
}
50% {
2018-08-15 11:42:43 +02:00
-webkit-transform: scale(1.2) rotate(.01deg);
transform: scale(1.2) rotate(.01deg);
}
100% {
2018-08-15 11:42:43 +02:00
-webkit-transform: scale(1) rotate(.01deg);
transform: scale(1) rotate(.01deg);
}
}
2018-08-15 05:33:42 +02:00
@keyframes bd-spinner3AnimBefore {
0% {
2018-08-15 11:42:43 +02:00
-webkit-transform: scale(1) rotate(.01deg);
transform: scale(1) rotate(.01deg);
}
50% {
2018-08-15 11:42:43 +02:00
-webkit-transform: scale(.8) rotate(.01deg);
transform: scale(1.2) rotate(.01deg);
}
100% {
2018-08-15 11:42:43 +02:00
-webkit-transform: scale(1) rotate(.01deg);
transform: scale(1) rotate(.01deg);
}
}
2018-08-15 05:33:42 +02:00
@-webkit-keyframes bd-spinner3AnimAfter {
0% {
2018-08-15 11:42:43 +02:00
-webkit-transform: scale(1) rotate(.01deg);
transform: scale(1) rotate(.01deg);
}
50% {
2018-08-15 11:42:43 +02:00
-webkit-transform: scale(.4) rotate(.01deg);
transform: scale(.4) rotate(.01deg);
}
100% {
2018-08-15 11:42:43 +02:00
-webkit-transform: scale(1) rotate(.01deg);
transform: scale(1) rotate(.01deg);
}
}
2018-08-15 05:33:42 +02:00
@keyframes bd-spinner3AnimAfter {
0% {
2018-08-15 11:42:43 +02:00
-webkit-transform: scale(1) rotate(.01deg);
transform: scale(1) rotate(.01deg);
}
50% {
2018-08-15 11:42:43 +02:00
-webkit-transform: scale(.4) rotate(.01deg);
transform: scale(.4) rotate(.01deg);
}
100% {
2018-08-15 11:42:43 +02:00
-webkit-transform: scale(1) rotate(.01deg);
transform: scale(1) rotate(.01deg);
}
}