Lazy loader; Filter on album library

This commit is contained in:
James Barnsley
2017-08-07 21:34:33 +12:00
parent 97ba83a06d
commit ba97a6be4a
23 changed files with 118 additions and 77 deletions

View File

@ -52,13 +52,6 @@
padding-bottom: 2px;
}
.source {
color: $mid_grey;
position: absolute;
top: 14px;
right: 12px;
}
&.field {
padding: 0 !important;
@ -92,6 +85,13 @@
margin-top: -3px;
background: transparent;
}
.source {
color: $mid_grey;
position: absolute;
top: 14px;
right: 12px;
}
}
}

View File

@ -2,11 +2,18 @@
.body-loader {
padding: 35vh 0;
&.loading {
.loader {
opacity: 1;
}
}
.loader {
height: 120px;
width: 120px;
margin: 0 auto;
position: relative;
opacity: 0;
&:before,
&:after {
@ -42,11 +49,19 @@
}
&.lazy-loader {
padding: 0;
padding: 20px;
height: 40px;
.loader {
height: 40px;
width: 40px;
opacity: 0;
}
&.loading {
.loader {
opacity: 1;
}
}
}
}