lbry-desktop/ui/scss/component/_spinner.scss
infinite-persistence f839e0c35d ClaimList: add default page-load indicator | Apply for Search and Following-Manage
Clients can still choose to roll their own way of showing "is fetching", like how ClaimListDiscover displays a whole bunch of placeholder tiles. This just serves as a default.
2022-03-02 09:16:43 -05:00

58 lines
781 B
SCSS

.spinner {
width: 50px;
height: 40px;
font-size: 10px;
margin: var(--spacing-s);
text-align: center;
.rect {
width: 6px;
height: 100%;
animation: sk-stretchdelay 1.2s infinite ease-in-out;
display: inline-block;
margin: 0 2px;
&.rect2 {
animation-delay: -1.1s;
}
&.rect3 {
animation-delay: -1s;
}
&.rect4 {
animation-delay: -0.9s;
}
&.rect5 {
animation-delay: -0.8s;
}
}
}
.spinner--dark {
.rect {
background-color: var(--color-spinner-dark);
}
}
.spinner--light {
.rect {
background-color: var(--color-spinner-light);
}
}
.spinner--small {
height: 10px;
display: inline-block;
.rect {
width: 3px;
}
}
.spinnerArea--centered {
text-align: center;
}