Add a little loading indicator for fetch messages

This commit is contained in:
Jeremy Zhang
2018-01-25 10:11:27 +00:00
parent ba8b100e33
commit 1954b5e72d
3 changed files with 27 additions and 0 deletions

View File

@ -895,6 +895,23 @@ p.mentioned span.chatmessage {
background-color: red;
}
#message-spinner {
position: fixed;
top: 50%;
left: 50%;
margin-top: -30vh;
margin-left: -5vw;
display: none;
}
#message-spinner > div {
background-color: white;
}
#message-spinner.error > div {
background-color: pink;
}
/* CSS Variables */
:root {
/*--<var>: <value>*/