|
@@ -29,19 +29,19 @@
|
|
|
}
|
|
|
|
|
|
.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose > .uppy-Dashboard-inner {
|
|
|
- animation: uppy-Dashboard-slideDownAndFadeIn 300ms cubic-bezier(0, 0, .2, 1);
|
|
|
+ animation: uppy-Dashboard-slideDownAndFadeIn 0.3s cubic-bezier(0, 0, .2, 1);
|
|
|
}
|
|
|
|
|
|
.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose > .uppy-Dashboard-overlay {
|
|
|
- animation: uppy-Dashboard-fadeIn 300ms cubic-bezier(0, 0, .2, 1);
|
|
|
+ animation: uppy-Dashboard-fadeIn 0.3s cubic-bezier(0, 0, .2, 1);
|
|
|
}
|
|
|
|
|
|
.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose.uppy-Dashboard--isClosing > .uppy-Dashboard-inner {
|
|
|
- animation: uppy-Dashboard-slideUpFadeOut 300ms cubic-bezier(0, 0, .2, 1);
|
|
|
+ animation: uppy-Dashboard-slideUpFadeOut 0.3s cubic-bezier(0, 0, .2, 1);
|
|
|
}
|
|
|
|
|
|
.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose.uppy-Dashboard--isClosing > .uppy-Dashboard-overlay {
|
|
|
- animation: uppy-Dashboard-fadeOut 300ms cubic-bezier(0, 0, .2, 1);
|
|
|
+ animation: uppy-Dashboard-fadeOut 0.3s cubic-bezier(0, 0, .2, 1);
|
|
|
}
|
|
|
|
|
|
// Added to body to prevent the page from scrolling when Modal is open
|
|
@@ -73,7 +73,6 @@
|
|
|
outline: none;
|
|
|
border: 1px solid rgba($color-gray, 0.2);
|
|
|
margin-bottom: 30px;
|
|
|
- will-change: transform;
|
|
|
|
|
|
.uppy-Dashboard--modal & {
|
|
|
z-index: $zIndex-3;
|
|
@@ -324,46 +323,29 @@
|
|
|
font-size: 16px;
|
|
|
line-height: 50px;
|
|
|
max-width: 300px;
|
|
|
- // top: 15px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-.uppy-DashboardContent-titleFile {
|
|
|
- // text-decoration: underline;
|
|
|
-}
|
|
|
-
|
|
|
.uppy-DashboardContent-back {
|
|
|
@include reset-button;
|
|
|
- // position: absolute;
|
|
|
- // top: 0;
|
|
|
- // left: 15px;
|
|
|
font-size: 14px;
|
|
|
- // line-height: 40px;
|
|
|
font-weight: 500;
|
|
|
cursor: pointer;
|
|
|
color: $color-cornflower-blue;
|
|
|
|
|
|
.uppy-Dashboard--wide & {
|
|
|
font-size: 15px;
|
|
|
- // line-height: 50px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-// .uppy-DashboardContent-back .UppyIcon {
|
|
|
-// position: relative;
|
|
|
-// margin-right: 3px;
|
|
|
-// }
|
|
|
-
|
|
|
.uppy-DashboardContent-panel {
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
bottom: 0;
|
|
|
left: 0;
|
|
|
right: 0;
|
|
|
- // transform: translateY(-105%);
|
|
|
transform: translate3d(0, -105%, 0);
|
|
|
transition: transform 0.2s ease-in-out;
|
|
|
- will-change: transform;
|
|
|
background-color: darken($color-white, 4%);
|
|
|
box-shadow: 0 0 10px 5px rgba($color-black, 0.15);
|
|
|
padding-top: 40px;
|
|
@@ -460,29 +442,6 @@
|
|
|
border-color: darken($color-white, 20%);
|
|
|
}
|
|
|
|
|
|
-// .uppy-Dashboard-bgIcon {
|
|
|
- // width: 100%;
|
|
|
- // max-width: 460px;
|
|
|
- // position: absolute;
|
|
|
- // top: 50%;
|
|
|
- // left: 50%;
|
|
|
- // transform: translate(-50%, -50%);
|
|
|
- // opacity: 0.7;
|
|
|
- // transition: all 0.3s;
|
|
|
- // padding: 0 20px;
|
|
|
-// }
|
|
|
-
|
|
|
-// .uppy-Dashboard-bgIcon .UppyIcon {
|
|
|
-// width: 100%;
|
|
|
-// height: 80px;
|
|
|
-// fill: none;
|
|
|
-// stroke: $color-asphalt-gray;
|
|
|
-
|
|
|
-// .uppy-Dashboard--wide & {
|
|
|
-// height: 110px;
|
|
|
-// }
|
|
|
-// }
|
|
|
-
|
|
|
.uppy-Dashboard-bgIcon {
|
|
|
height: 100%;
|
|
|
display: flex;
|
|
@@ -1043,9 +1002,9 @@
|
|
|
//
|
|
|
|
|
|
.uppy-DashboardFileCard {
|
|
|
- // transform: translateY(0);
|
|
|
transform: translate3d(0, 0, 0);
|
|
|
- transition: all 0.25s ease-in-out;
|
|
|
+ transition: transform 0.2s ease-in-out;
|
|
|
+
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
position: absolute;
|
|
@@ -1058,10 +1017,9 @@
|
|
|
background-color: $color-white;
|
|
|
}
|
|
|
|
|
|
-.uppy-DashboardFileCard[aria-hidden=true] {
|
|
|
- transform: translateY(-105%);
|
|
|
- transform: translate3d(0, -105%, 0);
|
|
|
-}
|
|
|
+ .uppy-DashboardFileCard[aria-hidden=true] {
|
|
|
+ transform: translate3d(0, -105%, 0);
|
|
|
+ }
|
|
|
|
|
|
.uppy-DashboardFileCard-inner {
|
|
|
display: flex;
|