New embedded chat: spinner while loading

This commit is contained in:
John Livingston
2024-03-26 17:38:40 +01:00
parent b6478f0f9e
commit 67a1a6e32d
3 changed files with 44 additions and 1 deletions

View File

@ -169,3 +169,31 @@ table.peertube-plugin-livechat-prosody-list-rooms td {
min-height: 60px;
}
}
.livechat-spinner {
display: flex;
flex-direction: row;
justify-content: center;
div {
width: 48px;
height: 48px;
margin: 20px;
border: 5px solid var(--greyBackgroundColor);
border-bottom-color: var(--mainColor);
border-radius: 50%;
display: inline-block;
box-sizing: border-box;
animation: livechatrotating 1s linear infinite;
@keyframes livechatrotating {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
}
}