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

102 lines
1.9 KiB
SCSS
Raw Normal View History

2018-08-15 04:03:56 +02:00
.bd-spinner5 {
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: 10px;
width: 10px;
position: absolute;
border-radius: 5px;
left: 5px;
bottom: 10px;
2018-08-15 11:42:43 +02:00
-webkit-animation: bd-spinnerAnimBefore 2s cubic-bezier(.4, 0, 0, 1) infinite;
animation: bd-spinner5AnimBefore 2s cubic-bezier(.4, 0, 0, 1) -1s infinite;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}
&::after {
2018-08-15 11:42:43 +02:00
content: '';
background: #fff;
height: 10px;
width: 10px;
position: absolute;
border-radius: 5px;
left: 5px;
top: 10px;
2018-08-15 11:42:43 +02:00
-webkit-animation: bd-spinnerAnimAfter 2s cubic-bezier(.4, 0, 0, 1) infinite;
animation: bd-spinner5AnimAfter 2s cubic-bezier(.4, 0, 0, 1) infinite;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}
}
2018-08-15 05:33:42 +02:00
@-webkit-keyframes bd-spinner5AnimBefore {
0% {
2018-08-15 11:42:43 +02:00
left: 0;
width: 10px;
height: 10px;
}
25% {
2018-08-15 11:42:43 +02:00
left: 0;
width: 30px;
height: 6px;
}
50% {
left: 20px;
width: 10px;
height: 10px;
}
75% {
2018-08-15 11:42:43 +02:00
left: 0;
width: 30px;
height: 6px;
}
100% {
2018-08-15 11:42:43 +02:00
left: 0;
width: 10px;
height: 10px;
}
}
2018-08-15 05:33:42 +02:00
@keyframes bd-spinner5AnimBefore {
0% {
2018-08-15 11:42:43 +02:00
left: 0;
width: 10px;
height: 10px;
}
25% {
2018-08-15 11:42:43 +02:00
left: 0;
width: 30px;
height: 6px;
}
50% {
left: 20px;
width: 10px;
height: 10px;
}
75% {
2018-08-15 11:42:43 +02:00
left: 0;
width: 30px;
height: 6px;
}
100% {
2018-08-15 11:42:43 +02:00
left: 0;
width: 10px;
height: 10px;
}
}