|
@@ -3,6 +3,32 @@
|
|
|
@import '@uppy/status-bar/src/style.scss';
|
|
|
@import '@uppy/provider-views/src/style.scss';
|
|
|
|
|
|
+// transitions //
|
|
|
+
|
|
|
+.uppy-transition-slideDownUp-enter {
|
|
|
+ opacity: 0.01;
|
|
|
+ transform: translate3d(0, -105%, 0);
|
|
|
+ transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
|
|
|
+}
|
|
|
+
|
|
|
+.uppy-transition-slideDownUp-enter.uppy-transition-slideDownUp-enter-active {
|
|
|
+ opacity: 1;
|
|
|
+ transform: translate3d(0, 0, 0);
|
|
|
+}
|
|
|
+
|
|
|
+.uppy-transition-slideDownUp-leave {
|
|
|
+ opacity: 1;
|
|
|
+ transform: translate3d(0, 0, 0);
|
|
|
+ transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
|
|
|
+}
|
|
|
+
|
|
|
+.uppy-transition-slideDownUp-leave.uppy-transition-slideDownUp-leave-active {
|
|
|
+ opacity: 0.01;
|
|
|
+ transform: translate3d(0, -105%, 0);
|
|
|
+}
|
|
|
+
|
|
|
+// end transitions //
|
|
|
+
|
|
|
.uppy-Dashboard--modal {
|
|
|
z-index: $zIndex-2;
|
|
|
}
|
|
@@ -85,15 +111,14 @@
|
|
|
|
|
|
.uppy-Dashboard-inner {
|
|
|
position: relative;
|
|
|
- background-color: darken($color-white, 2%);
|
|
|
+ background-color: $color-almost-white;
|
|
|
max-width: 100%; /* no !important */
|
|
|
max-height: 100%; /* no !important */
|
|
|
- width: 100%; /* no !important */
|
|
|
- height: 100%; /* no !important */
|
|
|
- min-width: 300px;
|
|
|
+ min-width: 290px;
|
|
|
min-height: 400px;
|
|
|
outline: none;
|
|
|
border: 1px solid rgba($color-gray, 0.2);
|
|
|
+ border-radius: 5px;
|
|
|
|
|
|
.uppy-Dashboard--modal & {
|
|
|
z-index: $zIndex-3;
|
|
@@ -102,7 +127,6 @@
|
|
|
@media #{$screen-medium} {
|
|
|
width: 750px; /* no !important */
|
|
|
height: 550px; /* no !important */
|
|
|
- border-radius: 5px;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -111,18 +135,16 @@
|
|
|
flex-direction: column;
|
|
|
height: 100%;
|
|
|
overflow: hidden;
|
|
|
- min-height: 300px;
|
|
|
position: relative;
|
|
|
-
|
|
|
- @media #{$screen-medium} {
|
|
|
- border-radius: 5px;
|
|
|
- }
|
|
|
+ border-radius: 5px;
|
|
|
}
|
|
|
|
|
|
.uppy-Dashboard--modal .uppy-Dashboard-inner {
|
|
|
position: fixed;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
+ top: 35px;
|
|
|
+ left: 15px;
|
|
|
+ right: 15px;
|
|
|
+ bottom: 15px;
|
|
|
border: none;
|
|
|
|
|
|
@media #{$screen-medium} {
|
|
@@ -137,17 +159,16 @@
|
|
|
@include reset-button;
|
|
|
display: none;
|
|
|
position: absolute;
|
|
|
- top: 2px;
|
|
|
- right: 8px;
|
|
|
+ top: -33px;
|
|
|
+ right: -2px;
|
|
|
cursor: pointer;
|
|
|
- color: rgba($color-asphalt-gray, 0.5);
|
|
|
- transition: all 0.3s;
|
|
|
- font-size: 23px;
|
|
|
+ color: rgba($color-white, 0.9);
|
|
|
+ font-size: 27px;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
- font-size: 30px;
|
|
|
- top: 2px;
|
|
|
- right: 8px;
|
|
|
+ @media #{$screen-medium} {
|
|
|
+ font-size: 35px;
|
|
|
+ top: -10px;
|
|
|
+ right: -35px;
|
|
|
}
|
|
|
|
|
|
.uppy-Dashboard--modal & {
|
|
@@ -156,23 +177,26 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-.uppy-Dashboard-close:hover {
|
|
|
- color: $color-cornflower-blue;
|
|
|
+.uppy-DashboarAddFiles {
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ flex-direction: column;
|
|
|
+ height: 100%;
|
|
|
+ position: relative;
|
|
|
+ text-align: center;
|
|
|
+ flex: 1;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
.uppy-DashboardTabs {
|
|
|
- padding: 7px;
|
|
|
- // padding-right: 28px;
|
|
|
- border-bottom: 1px solid rgba($color-gray, 0.3);
|
|
|
- overflow-x: auto;
|
|
|
- -webkit-overflow-scrolling: touch;
|
|
|
- // overflow-x: auto;
|
|
|
- // -webkit-overflow-scrolling: touch;
|
|
|
-}
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: center;
|
|
|
+ width: 100%;
|
|
|
|
|
|
-.uppy-DashboardTabs[aria-hidden=true] {
|
|
|
- display: none;
|
|
|
+ .uppy-size--md & {
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.uppy-DashboardTabs-title {
|
|
@@ -184,7 +208,7 @@
|
|
|
text-align: center;
|
|
|
color: $color-asphalt-gray;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
+ .uppy-size--md & {
|
|
|
font-size: 17px;
|
|
|
line-height: 40px;
|
|
|
}
|
|
@@ -202,70 +226,111 @@
|
|
|
}
|
|
|
|
|
|
.uppy-DashboardTabs-list {
|
|
|
- list-style-type: none;
|
|
|
- margin: 0;
|
|
|
- padding: 0;
|
|
|
- // display: flex;
|
|
|
- // justify-content: center;
|
|
|
- // align-items: center;
|
|
|
- white-space: nowrap;
|
|
|
- text-align: center;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ max-height: 300px;
|
|
|
+ overflow-x: auto;
|
|
|
+ -webkit-overflow-scrolling: touch;
|
|
|
+ margin-top: 10px;
|
|
|
+
|
|
|
+ .uppy-size--md & {
|
|
|
+ flex-direction: row;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ justify-content: center;
|
|
|
+ max-width: 600px;
|
|
|
+ overflow-x: initial;
|
|
|
+ margin-top: 30px;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.uppy-DashboardTab {
|
|
|
- width: 70px;
|
|
|
- margin: 0;
|
|
|
+ width: 100%;
|
|
|
display: inline-block;
|
|
|
text-align: center;
|
|
|
+ border-bottom: 1px solid rgba($color-gray, 0.2);
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
- width: 75px;
|
|
|
- margin: 0 5px;
|
|
|
+ .uppy-size--md & {
|
|
|
+ width: initial;
|
|
|
+ margin-bottom: 20px;
|
|
|
+ border-bottom: initial;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.uppy-DashboardTab-btn {
|
|
|
width: 100%;
|
|
|
+ height: 100%;
|
|
|
cursor: pointer;
|
|
|
border: 0;
|
|
|
background-color: transparent;
|
|
|
-webkit-appearance: none;
|
|
|
appearance: none;
|
|
|
- // outline: none;
|
|
|
- transition: all 0.3s;
|
|
|
color: darken($color-gray, 25%);
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ align-items: center;
|
|
|
+ padding: 14px 20px;
|
|
|
+ line-height: 1;
|
|
|
+
|
|
|
+ .uppy-size--md & {
|
|
|
+ width: 90px;
|
|
|
+ margin: 0 5px;
|
|
|
+ flex-direction: column;
|
|
|
+ padding: 0;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
- // .uppy-DashboardTab-btn:focus,
|
|
|
- // .uppy-DashboardTab-btn:active,
|
|
|
.uppy-DashboardTab-btn:hover {
|
|
|
color: $color-cornflower-blue;
|
|
|
}
|
|
|
|
|
|
+ .uppy-DashboardTab-btn svg {
|
|
|
+ margin-right: 10px;
|
|
|
+
|
|
|
+ .uppy-size--md & {
|
|
|
+ margin-right: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .uppy-DashboardTab-btn svg,
|
|
|
+ .uppy-DashboardTab-btn svg * {
|
|
|
+ max-width: 100%;
|
|
|
+ max-height: 100%;
|
|
|
+ display: inline-block;
|
|
|
+ vertical-align: text-top;
|
|
|
+ overflow: hidden;
|
|
|
+ transition: transform 0.2s;
|
|
|
+ will-change: transform;
|
|
|
+ }
|
|
|
+
|
|
|
+ .uppy-DashboardTab-btn:hover svg {
|
|
|
+ transform: scale(1.1, 1.1);
|
|
|
+ }
|
|
|
+
|
|
|
.uppy-DashboardTab-name {
|
|
|
- font-size: 8px;
|
|
|
- line-height: 11px;
|
|
|
- margin-top: 5px;
|
|
|
- margin-bottom: 0;
|
|
|
+ font-size: 14px;
|
|
|
font-weight: 500;
|
|
|
- overflow: hidden;
|
|
|
- text-overflow: ellipsis;
|
|
|
- white-space: nowrap;
|
|
|
+ // line-height: 14px;
|
|
|
+ // overflow: hidden;
|
|
|
+ // text-overflow: ellipsis;
|
|
|
+ // white-space: nowrap;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
- font-size: 9px;
|
|
|
+ .uppy-size--md & {
|
|
|
+ font-size: 11px;
|
|
|
+ line-height: 14px;
|
|
|
+ margin-top: 8px;
|
|
|
+ margin-bottom: 0;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
// On SVG sizing: https://sarasoueidan.com/blog/svg-style-inheritance-and-FOUSVG/
|
|
|
-.uppy-DashboardTab .UppyIcon {
|
|
|
+.uppy-DashboardTab svg {
|
|
|
width: 18px;
|
|
|
height: 18px;
|
|
|
vertical-align: middle;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
- width: 23px;
|
|
|
- height: 23px;
|
|
|
+ .uppy-size--md & {
|
|
|
+ width: 27px;
|
|
|
+ height: 27px;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -279,20 +344,20 @@
|
|
|
}
|
|
|
|
|
|
.uppy-DashboardContent-bar {
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
height: 40px;
|
|
|
width: 100%;
|
|
|
border-bottom: 1px solid rgba($color-gray, 0.3);
|
|
|
+
|
|
|
z-index: $zIndex-4;
|
|
|
- background-color: darken($color-white, 4%);
|
|
|
- padding: 0 15px;
|
|
|
+ background-color: $color-almost-white;
|
|
|
+ padding: 0 10px;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
+ .uppy-size--md & {
|
|
|
height: 50px;
|
|
|
+ padding: 0 15px;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -302,7 +367,7 @@
|
|
|
left: 0;
|
|
|
right: 0;
|
|
|
text-align: center;
|
|
|
- font-size: 14px;
|
|
|
+ font-size: 12px;
|
|
|
line-height: 40px;
|
|
|
font-weight: normal;
|
|
|
max-width: 170px;
|
|
@@ -311,8 +376,8 @@
|
|
|
overflow-x: hidden;
|
|
|
margin: auto;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
- font-size: 16px;
|
|
|
+ .uppy-size--md & {
|
|
|
+ font-size: 14px;
|
|
|
line-height: 50px;
|
|
|
max-width: 300px;
|
|
|
}
|
|
@@ -320,38 +385,75 @@
|
|
|
|
|
|
.uppy-DashboardContent-back {
|
|
|
@include reset-button;
|
|
|
- font-size: 14px;
|
|
|
+ font-size: 13px;
|
|
|
font-weight: 500;
|
|
|
cursor: pointer;
|
|
|
color: $color-cornflower-blue;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
+ .uppy-size--md & {
|
|
|
font-size: 15px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+.uppy-DashboardContent-addMore {
|
|
|
+ @include reset-button;
|
|
|
+ font-weight: 500;
|
|
|
+ cursor: pointer;
|
|
|
+ color: $color-cornflower-blue;
|
|
|
+ stroke: $color-cornflower-blue;
|
|
|
+ stroke-width: 0.7px;
|
|
|
+ width: 13px;
|
|
|
+ height: 13px;
|
|
|
+
|
|
|
+ .uppy-size--md & {
|
|
|
+ width: 15px;
|
|
|
+ height: 15px;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+ .uppy-DashboardContent-addMore svg {
|
|
|
+ vertical-align: text-top;
|
|
|
+ }
|
|
|
+
|
|
|
.uppy-DashboardContent-panel {
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
bottom: 0;
|
|
|
left: 0;
|
|
|
right: 0;
|
|
|
- transform: translate3d(0, -105%, 0);
|
|
|
- transition: transform 0.2s ease-in-out;
|
|
|
background-color: darken($color-white, 4%);
|
|
|
+ overflow: hidden;
|
|
|
+ z-index: $zIndex-5;
|
|
|
+ border-radius: 5px;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ flex: 1;
|
|
|
+}
|
|
|
+
|
|
|
+.uppy-Dashboard-AddFilesPanel {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ bottom: 0;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ background: $color-almost-white;
|
|
|
+ background: linear-gradient(0deg, $color-almost-white 35%, rgba($color-almost-white, 0.85) 100%);
|
|
|
box-shadow: 0 0 10px 5px rgba($color-black, 0.15);
|
|
|
- padding-top: 40px;
|
|
|
overflow: hidden;
|
|
|
- z-index: $zIndex-4;
|
|
|
+ z-index: $zIndex-5;
|
|
|
+ border-radius: 5px;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+}
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
- padding-top: 50px;
|
|
|
+ .uppy-Dashboard--isAddFilesPanelVisible .uppy-Dashboard-files {
|
|
|
+ filter: blur(2px);
|
|
|
}
|
|
|
-}
|
|
|
|
|
|
-.uppy-DashboardContent-panel[aria-hidden=false] {
|
|
|
- transform: translate3d(0, 0, 0);
|
|
|
-}
|
|
|
+// .uppy-Dashboard-AddFilesPanel[aria-hidden=true],
|
|
|
+// .uppy-DashboardContent-panel[aria-hidden=true] {
|
|
|
+// transform: translate3d(0, 0, 0);
|
|
|
+// }
|
|
|
|
|
|
// Progress bar placeholder
|
|
|
|
|
@@ -417,49 +519,40 @@
|
|
|
padding: 0 0 10px 0;
|
|
|
overflow-y: auto;
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
- right: 0;
|
|
|
- bottom: 0;
|
|
|
+ flex: 1;
|
|
|
}
|
|
|
|
|
|
- .uppy-Dashboard--wide .uppy-Dashboard-files {
|
|
|
- padding: 15px 10px 10px 10px;
|
|
|
+ .uppy-size--md .uppy-Dashboard-files {
|
|
|
+ padding-top: 10px;
|
|
|
}
|
|
|
|
|
|
-.uppy-Dashboard.drag .uppy-Dashboard-innerWrap {
|
|
|
- background-color: darken($color-white, 20%)
|
|
|
+.uppy-Dashboard.drag .uppy-Dashboard-innerWrap {
|
|
|
+ background-color: darken($color-almost-white, 25%)
|
|
|
}
|
|
|
|
|
|
-.uppy-Dashboard.drag .uppy-Dashboard-files--noFiles {
|
|
|
- border-color: darken($color-white, 20%);
|
|
|
+.uppy-Dashboard.drag .uppy-Dashboard-AddFilesPanel {
|
|
|
+ background: darken($color-almost-white, 20%)
|
|
|
}
|
|
|
|
|
|
-.uppy-Dashboard-bgIcon {
|
|
|
- height: 100%;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
-}
|
|
|
-
|
|
|
-.uppy-Dashboard.drag .uppy-Dashboard-bgIcon {
|
|
|
- opacity: 1;
|
|
|
+.uppy-Dashboard.drag .uppy-Dashboard-files--noFiles {
|
|
|
+ border-color: darken($color-almost-white, 20%);
|
|
|
}
|
|
|
|
|
|
.uppy-Dashboard-dropFilesTitle {
|
|
|
- max-width: 460px;
|
|
|
+ max-width: 300px;
|
|
|
text-align: center;
|
|
|
- font-size: 18px;
|
|
|
+ font-size: 16px;
|
|
|
line-height: 1.45;
|
|
|
font-weight: 400;
|
|
|
- color: rgba($color-asphalt-gray, 0.8);
|
|
|
+ color: $color-asphalt-gray;
|
|
|
+ margin: auto;
|
|
|
+ // margin-bottom: 10px;
|
|
|
padding: 0 15px;
|
|
|
- // margin: 0;
|
|
|
- // margin-top: 25px;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
- font-size: 24px;
|
|
|
+ .uppy-size--md & {
|
|
|
+ max-width: 400px;
|
|
|
+ font-size: 27px;
|
|
|
+ // margin-bottom: 30px;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -473,35 +566,27 @@
|
|
|
left: 0;
|
|
|
width: 100%;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
+ .uppy-size--md & {
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.uppy-Dashboard-poweredBy {
|
|
|
- width: 100%;
|
|
|
+ // width: 100%;
|
|
|
text-align: center;
|
|
|
position: absolute;
|
|
|
bottom: 23px;
|
|
|
font-size: 11px;
|
|
|
color: $color-gray;
|
|
|
text-decoration: none;
|
|
|
- padding-top: 8px;
|
|
|
+ margin-top: 8px;
|
|
|
padding-right: 2px;
|
|
|
}
|
|
|
|
|
|
- // .uppy-Dashboard--modal .uppy-Dashboard-poweredBy {
|
|
|
- // color: rgba($color-white, 0.7);
|
|
|
- // }
|
|
|
-
|
|
|
.uppy-Dashboard-poweredByUppy {
|
|
|
color: $color-gray;
|
|
|
}
|
|
|
|
|
|
- // .uppy-Dashboard--modal .uppy-Dashboard-poweredByUppy {
|
|
|
- // color: $color-white;
|
|
|
- // }
|
|
|
-
|
|
|
.uppy-Dashboard-poweredByIcon {
|
|
|
stroke: $color-gray;
|
|
|
fill: none;
|
|
@@ -512,28 +597,22 @@
|
|
|
opacity: 0.9;
|
|
|
}
|
|
|
|
|
|
- // .uppy-Dashboard--modal .uppy-Dashboard-poweredByIcon {
|
|
|
- // stroke: transparent;
|
|
|
- // fill: $color-uppy-pink;
|
|
|
- // }
|
|
|
-
|
|
|
.uppy-DashboardItem {
|
|
|
list-style: none;
|
|
|
margin: 10px 0;
|
|
|
position: relative;
|
|
|
- // background-color: $color-white;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
border-bottom: 1px solid lighten($color-gray, 35%);
|
|
|
padding-bottom: 10px;
|
|
|
padding-left: 10px;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
+ .uppy-size--md & {
|
|
|
flex-direction: column;
|
|
|
float: left;
|
|
|
width: 140px;
|
|
|
height: 170px;
|
|
|
- margin: 5px 15px;
|
|
|
+ margin: 5px 20px;
|
|
|
border: 0;
|
|
|
background-color: initial;
|
|
|
border-bottom: none;
|
|
@@ -551,7 +630,7 @@
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
+ .uppy-size--md & {
|
|
|
width: 100%;
|
|
|
height: 100px;
|
|
|
border: 0;
|
|
@@ -570,14 +649,19 @@
|
|
|
.uppy-DashboardItem-sourceIcon {
|
|
|
display: inline-block;
|
|
|
vertical-align: middle;
|
|
|
- width: 10px;
|
|
|
- height: 10px;
|
|
|
- color: rgba($color-gray, 0.6);
|
|
|
+ width: 11px;
|
|
|
+ height: 11px;
|
|
|
+ color: rgba($color-gray, 0.85);
|
|
|
+}
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
- width: 10px;
|
|
|
- height: 10px;
|
|
|
- }
|
|
|
+.uppy-DashboardItem-sourceIcon svg,
|
|
|
+.uppy-DashboardItem-sourceIcon svg * {
|
|
|
+ max-width: 100%;
|
|
|
+ max-height: 100%;
|
|
|
+ display: inline-block;
|
|
|
+ vertical-align: text-top;
|
|
|
+ overflow: hidden;
|
|
|
+ fill: currentColor;
|
|
|
}
|
|
|
|
|
|
.uppy-DashboardItem-previewInnerWrap {
|
|
@@ -592,12 +676,8 @@
|
|
|
box-shadow: 0 0 2px 0 rgba($color-gray, 0.7);
|
|
|
border-radius: 3px;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
- // box-shadow: 0 0 2px 0 rgba(175, 175, 175, 0.7);
|
|
|
- box-shadow: 0 1px 3px rgba(0,0,0,.2);
|
|
|
- border-radius: 3px;
|
|
|
- // border-top-left-radius: 6px;
|
|
|
- // border-top-right-radius: 6px;
|
|
|
+ .uppy-size--md & {
|
|
|
+ box-shadow: 0 1px 3px rgba($color-black,.2);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -642,7 +722,7 @@
|
|
|
left: 50%;
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
+ .uppy-size--md & {
|
|
|
width: 25px;
|
|
|
height: 25px;
|
|
|
}
|
|
@@ -662,19 +742,15 @@
|
|
|
}
|
|
|
|
|
|
.uppy-DashboardItem-info {
|
|
|
- // padding: 10px 19px 0 25px;
|
|
|
padding-left: 15px;
|
|
|
position: relative;
|
|
|
max-width: 65%;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
+ .uppy-size--md & {
|
|
|
width: 100%;
|
|
|
max-width: 100%;
|
|
|
flex: 1;
|
|
|
- padding: 10px 19px 0 3px;
|
|
|
- // border-bottom-left-radius: 6px;
|
|
|
- // border-bottom-right-radius: 6px;
|
|
|
- // border: 1px solid rgba($color-gray, 0.2);
|
|
|
+ padding: 8px 3px 0 3px;
|
|
|
border-top: 0;
|
|
|
}
|
|
|
}
|
|
@@ -686,14 +762,15 @@
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
max-height: 28px;
|
|
|
- margin-bottom: 3px;
|
|
|
+ margin-bottom: 5px;
|
|
|
text-overflow: ellipsis;
|
|
|
white-space: nowrap;
|
|
|
overflow: hidden;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
+ .uppy-size--md & {
|
|
|
word-break: break-all;
|
|
|
white-space: normal;
|
|
|
+ overflow: initial;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -704,8 +781,9 @@
|
|
|
|
|
|
.uppy-DashboardItem-status {
|
|
|
font-size: 11px;
|
|
|
+ line-height: 11px;
|
|
|
font-weight: normal;
|
|
|
- color: $color-gray;
|
|
|
+ color: darken($color-gray, 15%);
|
|
|
margin-bottom: 4px;
|
|
|
}
|
|
|
|
|
@@ -713,54 +791,45 @@
|
|
|
display: inline-block;
|
|
|
vertical-align: bottom;
|
|
|
text-transform: uppercase;
|
|
|
- margin-right: 3px;
|
|
|
}
|
|
|
|
|
|
.uppy-DashboardItem-edit,
|
|
|
.uppy-DashboardItem-copyLink {
|
|
|
@include reset-button;
|
|
|
- font-size: 12px;
|
|
|
- text-align: left;
|
|
|
+ display: inline-block;
|
|
|
+ vertical-align: bottom;
|
|
|
cursor: pointer;
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- right: -20px;
|
|
|
-
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
- top: 9px;
|
|
|
- right: 3px;
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
-.uppy-DashboardItem-edit .UppyIcon {
|
|
|
+.uppy-DashboardItem-copyLink {
|
|
|
width: 11px;
|
|
|
height: 11px;
|
|
|
- color: $color-asphalt-gray;
|
|
|
-
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
- width: 12px;
|
|
|
- height: 12px;
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
-.uppy-DashboardItem-copyLink .UppyIcon {
|
|
|
- width: 11px;
|
|
|
- height: 11px;
|
|
|
- color: $color-asphalt-gray;
|
|
|
+.uppy-DashboardItem-edit:not(:first-child),
|
|
|
+.uppy-DashboardItem-copyLink:not(:first-child),
|
|
|
+.uppy-DashboardItem-sourceIcon:not(:first-child) {
|
|
|
+ position: relative;
|
|
|
+ margin-left: 14px;
|
|
|
+ // margin-right: 7px;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
- width: 13px;
|
|
|
- height: 13px;
|
|
|
+ &:before {
|
|
|
+ content: '\00B7';
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: -9px;
|
|
|
+ color: $color-gray;
|
|
|
+ font-weight: 700;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.uppy-DashboardItem-action {
|
|
|
position: absolute;
|
|
|
top: 23px;
|
|
|
- right: 5px;
|
|
|
+ right: 10px;
|
|
|
z-index: $zIndex-3;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
+ .uppy-size--md & {
|
|
|
top: -8px;
|
|
|
right: -8px;
|
|
|
}
|
|
@@ -769,14 +838,14 @@
|
|
|
.uppy-DashboardItem-remove {
|
|
|
@include reset-button;
|
|
|
cursor: pointer;
|
|
|
- color: lighten($color-asphalt-gray, 20%);
|
|
|
+ color: $color-black;
|
|
|
width: 16px;
|
|
|
height: 16px;
|
|
|
+ opacity: 0.75;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
+ .uppy-size--md & {
|
|
|
width: 20px;
|
|
|
height: 20px;
|
|
|
- color: lighten($color-asphalt-gray, 8%);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -820,7 +889,7 @@
|
|
|
opacity: 0.9;
|
|
|
transition: all .35s ease;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
+ .uppy-size--md & {
|
|
|
width: 55px;
|
|
|
height: 55px;
|
|
|
}
|
|
@@ -834,7 +903,7 @@
|
|
|
width: 18px;
|
|
|
height: 18px;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
+ .uppy-size--md & {
|
|
|
width: 28px;
|
|
|
height: 28px;
|
|
|
}
|
|
@@ -845,7 +914,7 @@
|
|
|
height: 18px;
|
|
|
opacity: 1;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
+ .uppy-size--md & {
|
|
|
width: 25px;
|
|
|
height: 25px;
|
|
|
}
|
|
@@ -863,7 +932,7 @@
|
|
|
width: 100%;
|
|
|
text-shadow: 0 1px 0 rgba($color-black, 0.3);
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
+ .uppy-size--md & {
|
|
|
display: block;
|
|
|
}
|
|
|
}
|
|
@@ -977,13 +1046,14 @@
|
|
|
|
|
|
.uppy-Dashboard-actions {
|
|
|
height: 55px;
|
|
|
- border-top: 1px solid rgba($color-gray, 0.2);
|
|
|
+ border-top: 1px solid rgba($color-gray, 0.3);
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
padding: 0 15px;
|
|
|
+ background-color: $color-almost-white;
|
|
|
}
|
|
|
|
|
|
- .uppy-Dashboard--wide .uppy-Dashboard-actions {
|
|
|
+ .uppy-size--md .uppy-Dashboard-actions {
|
|
|
height: 65px;
|
|
|
}
|
|
|
|
|
@@ -1001,7 +1071,7 @@
|
|
|
width: 50px;
|
|
|
height: 50px;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
+ .uppy-size--md & {
|
|
|
width: 60px;
|
|
|
height: 60px;
|
|
|
}
|
|
@@ -1025,7 +1095,7 @@
|
|
|
line-height: 16px;
|
|
|
font-size: 8px;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
+ .uppy-size--md & {
|
|
|
width: 18px;
|
|
|
height: 18px;
|
|
|
line-height: 18px;
|
|
@@ -1038,9 +1108,8 @@
|
|
|
//
|
|
|
|
|
|
.uppy-DashboardFileCard {
|
|
|
- transform: translate3d(0, 0, 0);
|
|
|
- transition: transform 0.2s ease-in-out;
|
|
|
-
|
|
|
+ // transform: translate3d(0, 0, 0);
|
|
|
+ // transition: transform 0.2s ease-in-out;
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
position: absolute;
|
|
@@ -1048,24 +1117,22 @@
|
|
|
left: 0;
|
|
|
right: 0;
|
|
|
bottom: 0;
|
|
|
- z-index: $zIndex-4;
|
|
|
+ z-index: $zIndex-5;
|
|
|
box-shadow: 0px 0px 10px 4px rgba($color-black, 0.1);
|
|
|
background-color: $color-white;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
}
|
|
|
|
|
|
- .uppy-DashboardFileCard[aria-hidden=true] {
|
|
|
- transform: translate3d(0, -105%, 0);
|
|
|
- }
|
|
|
+ // .uppy-DashboardFileCard[aria-hidden=true] {
|
|
|
+ // transform: translate3d(0, -105%, 0);
|
|
|
+ // }
|
|
|
|
|
|
.uppy-DashboardFileCard-inner {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
height: 100%;
|
|
|
- padding-top: 40px;
|
|
|
-
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
- padding-top: 50px;
|
|
|
- }
|
|
|
+ flex: 1;
|
|
|
}
|
|
|
|
|
|
.uppy-DashboardFileCard-preview {
|
|
@@ -1111,7 +1178,7 @@
|
|
|
font-size: 12px;
|
|
|
color: $color-asphalt-gray;
|
|
|
|
|
|
- .uppy-Dashboard--wide & {
|
|
|
+ .uppy-size--md & {
|
|
|
font-size: 13px;
|
|
|
}
|
|
|
}
|