Show spinner when audio/video is stalled

Fixes #243
This commit is contained in:
DC
2016-03-28 18:49:15 -07:00
parent bf3f2e51fe
commit 4c23643b5e
4 changed files with 52 additions and 6 deletions

View File

@@ -436,7 +436,8 @@ input {
padding-top: 8px;
}
.torrent.requested .play {
.torrent.requested .play,
.loading-spinner {
border-top: 6px solid rgba(255, 255, 255, 0.2);
border-right: 6px solid rgba(255, 255, 255, 0.2);
border-bottom: 6px solid rgba(255, 255, 255, 0.2);
@@ -708,10 +709,10 @@ body.drag .torrent-placeholder span {
}
/*
* AUDIO DETAILS
* MEDIA OVERLAY / AUDIO DETAILS
*/
.audio-metadata {
.media-overlay {
width: 500px;
max-width: 100%;
white-space: nowrap;
@@ -723,6 +724,12 @@ body.drag .torrent-placeholder span {
line-height: 2;
}
.media-stalled .loading-spinner {
width: 40px;
height: 40px;
margin: 0 auto;
}
.audio-metadata .audio-title {
font-size: 32px;
}