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

136 lines
3.3 KiB
SCSS
Raw Normal View History

2018-08-15 04:03:56 +02:00
.bd-spinner7 {
width: 40px;
height: 40px;
position: relative;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
2018-08-15 11:42:43 +02:00
-webkit-animation: bd-spinner7Anim 1s cubic-bezier(.4, 0, 0, 1) infinite;
animation: bd-spinner7Anim 1s cubic-bezier(.4, 0, 0, 1) infinite;
&::before {
2018-08-15 11:42:43 +02:00
content: '';
background: #fff;
height: 8px;
width: 8px;
position: absolute;
border-radius: 50%;
2018-08-15 11:42:43 +02:00
left: 0;
top: 16px;
2018-08-15 11:42:43 +02:00
-webkit-animation: bd-spinner7AnimBefore 1s cubic-bezier(.2, 0, 0, .2) infinite;
animation: bd-spinner7AnimBefore 1s cubic-bezier(.2, 0, 0, .2) infinite;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}
&::after {
2018-08-15 11:42:43 +02:00
content: '';
background: #fff;
height: 8px;
width: 8px;
position: absolute;
border-radius: 50%;
left: 15px;
top: 16px;
2018-08-15 11:42:43 +02:00
-webkit-animation: bd-spinner7AnimAfter 1s cubic-bezier(.4, 0, 0, 1) infinite;
animation: bd-spinner7AnimAfter 1s cubic-bezier(.4, 0, 0, 1) infinite;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
-webkit-box-shadow: 15px 0 0 0 #fff;
box-shadow: 15px 0 0 0 #fff;
}
}
2018-08-15 05:33:42 +02:00
@-webkit-keyframes bd-spinner7Anim {
0% {
2018-08-15 11:42:43 +02:00
-webkit-transform: translate(0, 0) rotate(.01deg);
transform: translate(0, 0) rotate(.01deg);
}
100% {
2018-08-15 11:42:43 +02:00
-webkit-transform: translate(30px, 0) rotate(.01deg);
transform: translate(30px, 0) rotate(.01deg);
}
}
2018-08-15 05:33:42 +02:00
@keyframes bd-spinner7Anim {
0% {
2018-08-15 11:42:43 +02:00
-webkit-transform: translate(0, 0) rotate(.01deg);
transform: translate(0, 0) rotate(.01deg);
}
100% {
2018-08-15 11:42:43 +02:00
-webkit-transform: translate(30px, 0) rotate(.01deg);
transform: translate(30px, 0) rotate(.01deg);
}
}
2018-08-15 05:33:42 +02:00
@-webkit-keyframes bd-spinner7AnimBefore {
0% {
2018-08-15 11:42:43 +02:00
-webkit-transform: scale(1) rotate(.01deg);
transform: scale(1) rotate(.01deg);
}
30% {
2018-08-15 11:42:43 +02:00
-webkit-transform: scale(1.4) rotate(.01deg);
transform: scale(1.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-spinner7AnimBefore {
0% {
2018-08-15 11:42:43 +02:00
-webkit-transform: scale(1) rotate(.01deg);
transform: scale(1) rotate(.01deg);
}
30% {
2018-08-15 11:42:43 +02:00
-webkit-transform: scale(1.4) rotate(.01deg);
transform: scale(1.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
@-webkit-keyframes bd-spinner7AnimAfter {
0% {
opacity: 1;
2018-08-15 11:42:43 +02:00
-webkit-transform: translate(0, 0) rotate(.01deg);
transform: translate(0, 0) rotate(.01deg);
}
40% {
opacity: .5;
}
100% {
opacity: 1;
2018-08-15 11:42:43 +02:00
-webkit-transform: translate(-45px, 0) rotate(.01deg);
transform: translate(-45px, 0) rotate(.01deg);
}
}
2018-08-15 05:33:42 +02:00
@keyframes bd-spinner7AnimAfter {
0% {
opacity: 1;
2018-08-15 11:42:43 +02:00
-webkit-transform: translate(0, 0) rotate(.01deg);
transform: translate(0, 0) rotate(.01deg);
}
40% {
opacity: .5;
}
100% {
opacity: 1;
2018-08-15 11:42:43 +02:00
-webkit-transform: translate(-45px, 0) rotate(.01deg);
transform: translate(-45px, 0) rotate(.01deg);
}
}