Skip to content
Snippets Groups Projects
Commit 2a462914 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Improved upload API

parent c002c0b5
No related branches found
No related tags found
No related merge requests found
...@@ -148,15 +148,12 @@ ...@@ -148,15 +148,12 @@
border-top-left-radius: 4px border-top-left-radius: 4px
border-top-right-radius: 4px border-top-right-radius: 4px
.progress .progress
position: absolute position: relative
height: 4px height: 4px
display: block display: block
background-color: rgba(255, 193, 7, 0.2) background-color: rgba(255, 193, 7, 0.2)
overflow: hidden overflow: hidden
transition: opacity 400ms transition: opacity 400ms
bottom: 0
left: 0
right: 0
.indeterminate .indeterminate
background-color: rgba(255, 193, 7, 0.8) background-color: rgba(255, 193, 7, 0.8)
&::before &::before
...@@ -178,6 +175,8 @@ ...@@ -178,6 +175,8 @@
will-change: left, right will-change: left, right
animation: indeterminate-short 4.2s cubic-bezier(0.165, 0.84, 0.44, 1) infinite animation: indeterminate-short 4.2s cubic-bezier(0.165, 0.84, 0.44, 1) infinite
animation-delay: 2.25s animation-delay: 2.25s
&:not(.uploading).progress
display: none
.image .image
background: #000 background: #000
display: flex display: flex
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment