wallet-core/packages/anastasis-webui/src/scss/_loading.scss

52 lines
1.4 KiB
SCSS
Raw Normal View History

2021-10-19 15:56:52 +02:00
/*
2022-06-06 16:45:01 +02:00
This file is part of GNU Anastasis
(C) 2021-2022 Anastasis SARL
2021-10-19 15:56:52 +02:00
2022-06-06 16:45:01 +02:00
GNU Anastasis is free software; you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free Software
2021-10-19 15:56:52 +02:00
Foundation; either version 3, or (at your option) any later version.
2022-06-06 16:45:01 +02:00
GNU Anastasis is distributed in the hope that it will be useful, but WITHOUT ANY
2021-10-19 15:56:52 +02:00
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
2022-06-06 16:45:01 +02:00
A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
2021-10-19 15:56:52 +02:00
2022-06-06 16:45:01 +02:00
You should have received a copy of the GNU Affero General Public License along with
GNU Anastasis; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
2021-10-19 15:56:52 +02:00
*/
.lds-ring {
display: inline-block;
position: relative;
width: 80px;
height: 80px;
}
.lds-ring div {
box-sizing: border-box;
display: block;
position: absolute;
width: 64px;
height: 64px;
margin: 8px;
border: 8px solid black;
border-radius: 50%;
animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
border-color: black transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
animation-delay: -0.15s;
}
@keyframes lds-ring {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}