lbry-desktop/ui/scss/component/_spinner.scss

55 lines
735 B
SCSS
Raw Normal View History

2017-11-30 22:51:55 -05:00
.spinner {
2018-03-26 14:32:43 -07:00
width: 50px;
height: 40px;
2018-10-17 12:14:24 -05:00
2018-03-26 14:32:43 -07:00
font-size: 10px;
2019-06-11 14:10:58 -04:00
margin: var(--spacing-small);
2018-10-17 12:14:24 -05:00
text-align: center;
2018-03-26 14:32:43 -07:00
.rect {
width: 6px;
2018-10-17 12:14:24 -05:00
height: 100%;
2018-03-26 14:32:43 -07:00
animation: sk-stretchdelay 1.2s infinite ease-in-out;
2018-10-17 12:14:24 -05:00
display: inline-block;
margin: 0 2px;
2018-03-26 14:32:43 -07:00
&.rect2 {
animation-delay: -1.1s;
2017-11-30 22:51:55 -05:00
}
2018-03-26 14:32:43 -07:00
&.rect3 {
animation-delay: -1s;
2017-11-30 22:51:55 -05:00
}
2018-03-26 14:32:43 -07:00
&.rect4 {
animation-delay: -0.9s;
}
2017-11-30 22:51:55 -05:00
2018-03-26 14:32:43 -07:00
&.rect5 {
animation-delay: -0.8s;
}
2017-11-30 22:51:55 -05:00
}
2018-03-26 14:32:43 -07:00
}
2017-11-30 22:51:55 -05:00
2018-03-26 14:32:43 -07:00
.spinner--dark {
.rect {
2019-11-22 16:13:00 -05:00
background-color: var(--color-spinner-dark);
2017-11-30 22:51:55 -05:00
}
}
.spinner--light {
2018-08-13 12:23:01 -04:00
.rect {
2019-11-22 16:13:00 -05:00
background-color: var(--color-spinner-light);
2018-08-13 12:23:01 -04:00
}
}
2018-08-28 11:35:24 -04:00
.spinner--small {
2019-06-11 14:10:58 -04:00
height: 10px;
2019-06-17 16:32:38 -04:00
display: inline-block;
2018-08-28 11:35:24 -04:00
.rect {
width: 3px;
}
}