From a9ef2d69c6f0744f9613b9814b1a62cee8324a07 Mon Sep 17 00:00:00 2001
From: Janne Koschinski <janne@kuschku.de>
Date: Sun, 18 Mar 2018 20:57:22 +0100
Subject: [PATCH] Fixed missing upload progress bar

---
 assets/sass/_page_upload.sass | 64 ++++++++++++++++++-----------------
 1 file changed, 33 insertions(+), 31 deletions(-)

diff --git a/assets/sass/_page_upload.sass b/assets/sass/_page_upload.sass
index c8fa3f3..ec29172 100644
--- a/assets/sass/_page_upload.sass
+++ b/assets/sass/_page_upload.sass
@@ -59,37 +59,39 @@
         opacity: 0
   .uploading.images
     .detail
-      .progress
-        position: absolute
-        top: -4px
-        left: 0
-        right: 0
-        height: 4px
-        display: block
-        background-color: rgba(255, 193, 7, 0.2)
-        overflow: hidden
-        transition: opacity 400ms
-        .indeterminate
-          background-color: rgba(255, 193, 7, 0.8)
-          &::before
-            content: ''
-            position: absolute
-            background-color: inherit
-            top: 0
-            left: 0
-            bottom: 0
-            will-change: left, right
-            animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite
-          &::after
-            content: ''
-            position: absolute
-            background-color: inherit
-            top: 0
-            left: 0
-            bottom: 0
-            will-change: left, right
-            animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite
-            animation-delay: 1.125s
+      .image
+        position: relative
+        .progress
+          position: absolute
+          top: -4px
+          left: 0
+          right: 0
+          height: 4px
+          display: block
+          background-color: rgba(255, 193, 7, 0.2)
+          overflow: hidden
+          transition: opacity 400ms
+          .indeterminate
+            background-color: rgba(255, 193, 7, 0.8)
+            &::before
+              content: ''
+              position: absolute
+              background-color: inherit
+              top: 0
+              left: 0
+              bottom: 0
+              will-change: left, right
+              animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite
+            &::after
+              content: ''
+              position: absolute
+              background-color: inherit
+              top: 0
+              left: 0
+              bottom: 0
+              will-change: left, right
+              animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite
+              animation-delay: 1.125s
       &:not(.uploading) .progress
         opacity: 0
   &.submitted .container.centered
-- 
GitLab