2023-03-08 09:01:20 +00:00
|
|
|
.upload-panel
|
|
|
|
position: fixed
|
2023-03-09 23:31:58 +00:00
|
|
|
left: 3.5rem
|
|
|
|
bottom: 0
|
2023-03-08 09:01:20 +00:00
|
|
|
|
|
|
|
display: none
|
|
|
|
|
2023-03-09 23:31:58 +00:00
|
|
|
width: calc(100% - 3.5rem)
|
2023-03-08 09:01:20 +00:00
|
|
|
height: 100vh
|
|
|
|
|
2023-03-25 16:22:32 +00:00
|
|
|
background-color: transparent
|
2023-04-03 17:28:28 +00:00
|
|
|
color: RGB($fg-white)
|
2023-03-08 09:01:20 +00:00
|
|
|
|
|
|
|
overflow: hidden
|
|
|
|
z-index: 68
|
|
|
|
transition: background-color 0.25s cubic-bezier(0.76, 0, 0.17, 1)
|
|
|
|
|
|
|
|
h3
|
|
|
|
margin: 0
|
|
|
|
padding: 0
|
|
|
|
|
2023-03-25 20:24:38 +00:00
|
|
|
font-size: 1.5rem
|
2023-03-23 15:47:35 +00:00
|
|
|
font-weight: 700
|
2023-03-08 09:01:20 +00:00
|
|
|
p
|
|
|
|
margin: 0
|
|
|
|
padding: 0
|
|
|
|
|
|
|
|
font-size: 1rem
|
|
|
|
font-weight: 500
|
|
|
|
|
|
|
|
form
|
|
|
|
margin: 0
|
|
|
|
padding: 0
|
|
|
|
|
|
|
|
width: 100%
|
|
|
|
|
|
|
|
display: flex
|
|
|
|
flex-direction: column
|
|
|
|
align-items: center
|
|
|
|
gap: 0.5rem
|
|
|
|
|
2023-03-15 17:03:24 +00:00
|
|
|
input, button
|
2023-03-08 09:01:20 +00:00
|
|
|
width: 100%
|
|
|
|
|
|
|
|
.click-off
|
|
|
|
position: absolute
|
|
|
|
top: 0
|
|
|
|
left: 0
|
|
|
|
|
|
|
|
width: 100%
|
|
|
|
height: 100%
|
|
|
|
|
|
|
|
z-index: +1
|
|
|
|
|
|
|
|
.container
|
2023-03-15 17:03:24 +00:00
|
|
|
padding: 1rem
|
2023-03-08 09:01:20 +00:00
|
|
|
|
|
|
|
position: absolute
|
2023-03-09 23:31:58 +00:00
|
|
|
bottom: 0
|
|
|
|
left: -400px
|
2023-03-08 09:01:20 +00:00
|
|
|
|
|
|
|
width: 400px
|
|
|
|
height: 100%
|
|
|
|
|
|
|
|
display: flex
|
|
|
|
flex-direction: column
|
|
|
|
gap: 1rem
|
|
|
|
|
2023-03-25 16:22:32 +00:00
|
|
|
background-color: RGB($bg-200)
|
2023-03-08 09:01:20 +00:00
|
|
|
opacity: 0
|
|
|
|
|
|
|
|
z-index: +2
|
|
|
|
|
2023-03-09 23:31:58 +00:00
|
|
|
transition: left 0.25s cubic-bezier(0.76, 0, 0.17, 1), bottom 0.25s cubic-bezier(0.76, 0, 0.17, 1), opacity 0.25s cubic-bezier(0.76, 0, 0.17, 1)
|
2023-03-08 09:01:20 +00:00
|
|
|
|
2023-03-30 19:53:48 +00:00
|
|
|
#dragIndicator
|
|
|
|
display: none
|
|
|
|
|
|
|
|
position: absolute
|
|
|
|
top: 0
|
|
|
|
left: 0
|
|
|
|
|
|
|
|
width: 100%
|
2023-04-01 16:16:07 +00:00
|
|
|
height: 5rem
|
2023-03-30 19:53:48 +00:00
|
|
|
|
|
|
|
z-index: +1
|
|
|
|
|
|
|
|
&::after
|
|
|
|
content: ''
|
|
|
|
width: 8rem
|
|
|
|
height: 3px
|
|
|
|
|
|
|
|
position: absolute
|
|
|
|
top: 0.5rem
|
|
|
|
left: 50%
|
|
|
|
transform: translate(-50%, -50%)
|
|
|
|
|
|
|
|
background-color: RGB($bg-400)
|
|
|
|
border-radius: $rad-inner
|
|
|
|
|
2023-03-08 09:01:20 +00:00
|
|
|
.upload-jobs
|
|
|
|
display: flex
|
|
|
|
flex-direction: column
|
|
|
|
gap: 0.5rem
|
|
|
|
|
|
|
|
border-radius: $rad
|
|
|
|
|
|
|
|
overflow-y: auto
|
|
|
|
|
|
|
|
.job
|
|
|
|
width: 100%
|
|
|
|
height: 5rem
|
|
|
|
min-height: 5rem
|
|
|
|
|
|
|
|
position: relative
|
|
|
|
|
|
|
|
display: flex
|
|
|
|
align-items: center
|
|
|
|
gap: 0.5rem
|
|
|
|
|
2023-03-25 16:22:32 +00:00
|
|
|
background-color: RGB($bg-200)
|
2023-03-08 09:01:20 +00:00
|
|
|
border-radius: $rad
|
|
|
|
|
|
|
|
overflow: hidden
|
|
|
|
|
|
|
|
img
|
|
|
|
position: absolute
|
|
|
|
top: 0
|
|
|
|
left: 0
|
|
|
|
|
|
|
|
width: 100%
|
|
|
|
height: 5rem
|
|
|
|
|
|
|
|
object-fit: cover
|
|
|
|
|
|
|
|
.img-filter
|
|
|
|
position: absolute
|
|
|
|
top: 0
|
|
|
|
left: 0
|
|
|
|
|
|
|
|
width: 100%
|
|
|
|
height: 100%
|
|
|
|
|
2023-03-25 16:22:32 +00:00
|
|
|
background-image: linear-gradient(to right, RGB($bg-100), transparent)
|
2023-03-08 09:01:20 +00:00
|
|
|
|
|
|
|
.job__status
|
|
|
|
margin: 0
|
|
|
|
padding: 0
|
|
|
|
|
|
|
|
position: absolute
|
|
|
|
top: 0.5rem
|
|
|
|
left: 0.5rem
|
|
|
|
|
|
|
|
font-size: 1rem
|
|
|
|
font-weight: 600
|
|
|
|
|
2023-03-25 16:22:32 +00:00
|
|
|
color: RGB($fg-white)
|
2023-03-08 09:01:20 +00:00
|
|
|
|
|
|
|
z-index: +3
|
|
|
|
|
|
|
|
transition: color 0.25s cubic-bezier(0.76, 0, 0.17, 1)
|
|
|
|
|
|
|
|
.progress
|
|
|
|
width: 100%
|
|
|
|
height: $rad-inner
|
|
|
|
|
|
|
|
position: absolute
|
|
|
|
bottom: 0
|
|
|
|
left: -100%
|
|
|
|
|
2023-03-25 16:22:32 +00:00
|
|
|
background-color: RGB($primary)
|
2023-03-08 09:01:20 +00:00
|
|
|
|
|
|
|
animation: uploadingLoop 1s cubic-bezier(0.76, 0, 0.17, 1) infinite
|
|
|
|
|
|
|
|
z-index: +5
|
|
|
|
transition: left 1s cubic-bezier(0.76, 0, 0.17, 1)
|
|
|
|
|
|
|
|
&.critical
|
|
|
|
.job__status, .progress
|
2023-03-25 16:22:32 +00:00
|
|
|
color: RGB($critical)
|
2023-03-08 09:01:20 +00:00
|
|
|
&.success
|
|
|
|
.job__status
|
2023-03-25 16:22:32 +00:00
|
|
|
color: RGB($success)
|
2023-03-08 09:01:20 +00:00
|
|
|
.progress
|
|
|
|
height: 0
|
|
|
|
animation: none
|
|
|
|
&.warning
|
|
|
|
.job__status, .progress
|
2023-03-25 16:22:32 +00:00
|
|
|
color: RGB($warning)
|
2023-03-08 09:01:20 +00:00
|
|
|
|
|
|
|
&.critical, &.success, &.warning
|
|
|
|
.progress
|
|
|
|
height: 0
|
|
|
|
|
|
|
|
&.open
|
2023-03-25 16:22:32 +00:00
|
|
|
background-color: $bg-transparent
|
2023-03-08 09:01:20 +00:00
|
|
|
|
|
|
|
.container
|
2023-03-09 23:31:58 +00:00
|
|
|
left: 0
|
2023-03-08 09:01:20 +00:00
|
|
|
opacity: 1
|
|
|
|
|
2023-03-09 23:31:58 +00:00
|
|
|
@media (max-width: $breakpoint)
|
|
|
|
.upload-panel
|
|
|
|
width: 100%
|
|
|
|
height: calc(100vh - 3.5rem)
|
2023-03-25 20:24:38 +00:00
|
|
|
height: calc(100dvh - 3.5rem)
|
2023-03-09 23:31:58 +00:00
|
|
|
|
|
|
|
left: 0
|
|
|
|
bottom: 3.5rem
|
|
|
|
|
|
|
|
.container
|
|
|
|
width: 100%
|
2023-03-25 20:24:38 +00:00
|
|
|
height: 95%
|
2023-03-09 23:31:58 +00:00
|
|
|
|
|
|
|
left: 0
|
|
|
|
bottom: calc(-100vh + 3.5rem)
|
|
|
|
|
2023-03-10 11:10:43 +00:00
|
|
|
border-radius: $rad $rad 0 0
|
|
|
|
|
2023-03-30 19:53:48 +00:00
|
|
|
#dragIndicator
|
|
|
|
display: block
|
|
|
|
|
2023-03-09 23:31:58 +00:00
|
|
|
&.open
|
|
|
|
.container
|
|
|
|
left: 0
|
2023-03-25 16:22:32 +00:00
|
|
|
bottom: 0
|