2018-10-10 07:22:06 +02:00
|
|
|
@keyframes pulse {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2018-10-17 00:29:55 +02:00
|
|
|
|
2018-10-10 07:22:06 +02:00
|
|
|
50% {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
2018-10-17 00:29:55 +02:00
|
|
|
|
2018-10-10 07:22:06 +02:00
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.card--placeholder {
|
|
|
|
animation: pulse 2s infinite ease-in-out;
|
2018-10-17 00:29:55 +02:00
|
|
|
background-color: $lbry-gray-3;
|
2018-10-10 07:22:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// Individual items we need a placeholder for
|
|
|
|
// FileCard
|
|
|
|
.placeholder__title {
|
|
|
|
margin-top: $spacing-vertical * 1/3;
|
|
|
|
height: 3em;
|
|
|
|
}
|
2018-10-12 20:44:07 +02:00
|
|
|
|
2018-10-10 07:22:06 +02:00
|
|
|
.placeholder__channel {
|
|
|
|
margin-top: $spacing-vertical * 1/3;
|
|
|
|
height: 1em;
|
|
|
|
width: 70%;
|
|
|
|
}
|
2018-10-12 20:44:07 +02:00
|
|
|
|
2018-10-10 07:22:06 +02:00
|
|
|
.placeholder__date {
|
|
|
|
height: 1em;
|
|
|
|
margin-top: $spacing-vertical * 1/3;
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
// FileTile
|
|
|
|
.placeholder__title--tile {
|
|
|
|
height: 3em;
|
|
|
|
}
|