Add mockup progress bars to uploads.

This commit is contained in:
2016-09-04 13:14:06 +02:00
parent c13442cac6
commit 77a9cd5d53
2 changed files with 67 additions and 9 deletions

View File

@@ -676,10 +676,24 @@ a#previous_photo:hover, a#next_photo:hover {
#upload_preview_area {
margin: 10px 0;
}
#upload_preview_area img {
#upload_preview_area > div {
display: inline-block;
margin: 0 5px 0 0;
line-height: 0;
position: relative;
}
#upload_preview_area .progress {
position: absolute;
bottom: 0;
background: rgba(200, 200, 200, 0.5);
height: 5px;
width: 100%;
}
#upload_preview_area .progress > div {
background: #2b2;
height: 5px;
width: 0%;
}
/* Spinner animation
----------------------*/