mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
28 lines
487 B
SCSS
28 lines
487 B
SCSS
.loading-heartbeat {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
opacity: 0;
|
|
background: #fff;
|
|
display: none;
|
|
pointer-events: none;
|
|
|
|
&--active {
|
|
display: block;
|
|
animation-name: heartbeat;
|
|
animation-duration: 2s;
|
|
animation-timing-function: ease-in-out;
|
|
animation-iteration-count: infinite;
|
|
}
|
|
}
|
|
|
|
@keyframes heartbeat {
|
|
0% { opacity: 0; }
|
|
25% { opacity: 1; }
|
|
50% { opacity: 0.5; }
|
|
75% { opacity: 1; }
|
|
100% { opacity: 0; }
|
|
}
|