add auto post loader

This commit is contained in:
2018-04-15 14:59:39 +02:00
parent 588f9bb102
commit 893e27cb5f
5 changed files with 80 additions and 40 deletions

View File

@@ -121,7 +121,7 @@
margin-bottom: 1em;
background: #B4BDFF;
color: #323268;
border-radius: 0.5em;
border-radius: 3px;
width: calc(100% - 1em);
box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.5);
@@ -153,6 +153,7 @@
}
}
.body {
clear: both;
padding: 0em 1em 0.5em;
}
&.picture {
@@ -191,21 +192,23 @@
cursor: pointer;
}
}
}
#next_posts {
display: none;
button {
margin-top: 0;
background-color: #CCC;
color: #666;
}
button:hover {
color: #333;
&.loading {
.spinner {
padding-top: 0.5em;
text-align: center;
.fa-spinner {
font-size: 1.5em;
color: #323268;
}
}
}
}
#loading {
}
.fa.push {
margin-right: 0.5em;
}