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