123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113 |
- .uppy-Dashboard--modal {
- z-index: $zIndex-2;
- }
- .uppy-Dashboard--modal[aria-hidden=true] {
- display: none;
- }
- // Modal open/close animations
- @keyframes uppy-Dashboard-fadeIn {
- from { opacity: 0; }
- to { opacity: 1; }
- }
- @keyframes uppy-Dashboard-fadeOut {
- from { opacity: 1; }
- to { opacity: 0; }
- }
- @keyframes uppy-Dashboard-slideDownAndFadeIn {
- from { transform: translate3d(-50%, -70%, 0); opacity: 0; }
- to { transform: translate3d(-50%, -50%, 0); opacity: 1; }
- }
- @keyframes uppy-Dashboard-slideDownAndFadeIn--small {
- from { transform: translate3d(0, -20%, 0); opacity: 0; }
- to { transform: translate3d(0, 0, 0); opacity: 1; }
- }
- @keyframes uppy-Dashboard-slideUpFadeOut {
- from { transform: translate3d(-50%, -50%, 0); opacity: 1; }
- to { transform: translate3d(-50%, -70%, 0); opacity: 0; }
- }
- @keyframes uppy-Dashboard-slideUpFadeOut--small {
- from { transform: translate3d(0, 0, 0); opacity: 1; }
- to { transform: translate3d(0, -20%, 0); opacity: 0; }
- }
-
- .uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose > .uppy-Dashboard-inner {
- animation: uppy-Dashboard-slideDownAndFadeIn--small 0.3s cubic-bezier(0, 0, .2, 1);
- @media #{$screen-medium} {
- 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 0.3s cubic-bezier(0, 0, .2, 1);
- }
- .uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose.uppy-Dashboard--isClosing > .uppy-Dashboard-inner {
- animation: uppy-Dashboard-slideUpFadeOut--small 0.3s cubic-bezier(0, 0, .2, 1);
- @media #{$screen-medium} {
- 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 0.3s cubic-bezier(0, 0, .2, 1);
- }
- // Added to body to prevent the page from scrolling when Modal is open
- .uppy-Dashboard-isFixed {
- overflow: hidden;
- height: 100vh;
- }
- .uppy-Dashboard--modal .uppy-Dashboard-overlay {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: rgba($color-black, 0.5);
- z-index: $zIndex-2;
- }
- .uppy-Dashboard-inner {
- position: relative;
- background-color: darken($color-white, 2%);
- max-width: 100%; /* no !important */
- max-height: 100%; /* no !important */
- width: 100%; /* no !important */
- height: 100%; /* no !important */
- min-width: 300px;
- min-height: 400px;
- outline: none;
- border: 1px solid rgba($color-gray, 0.2);
- .uppy-Dashboard--modal & {
- z-index: $zIndex-3;
- }
- @media #{$screen-medium} {
- width: 750px; /* no !important */
- height: 550px; /* no !important */
- border-radius: 5px;
- }
- }
- .uppy-Dashboard-innerWrap {
- display: flex;
- flex-direction: column;
- height: 100%;
- overflow: hidden;
- min-height: 300px;
- position: relative;
- @media #{$screen-medium} {
- border-radius: 5px;
- }
- }
- .uppy-Dashboard--modal .uppy-Dashboard-inner {
- position: fixed;
- top: 0;
- left: 0;
- border: none;
- @media #{$screen-medium} {
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- box-shadow: 0 5px 15px 4px rgba($color-black, 0.15);
- }
- }
- .uppy-Dashboard-close {
- @include reset-button;
- display: none;
- position: absolute;
- top: 2px;
- right: 8px;
- cursor: pointer;
- color: rgba($color-asphalt-gray, 0.5);
- transition: all 0.3s;
- font-size: 23px;
- .uppy-Dashboard--wide & {
- font-size: 30px;
- top: 2px;
- right: 8px;
- }
- .uppy-Dashboard--modal & {
- z-index: $zIndex-5;
- display: block;
- }
- }
- .uppy-Dashboard-close:hover {
- color: $color-cornflower-blue;
- }
- .uppy-DashboardTabs {
- padding-top: 7px;
- padding-bottom: 7px;
- border-bottom: 1px solid rgba($color-gray, 0.3);
- }
- .uppy-DashboardTabs[aria-hidden=true] {
- display: none;
- }
- .uppy-DashboardTabs-title {
- font-size: 15px;
- line-height: 30px;
- font-weight: 400;
- margin: 0;
- padding: 0;
- text-align: center;
- color: $color-asphalt-gray;
- .uppy-Dashboard--wide & {
- font-size: 17px;
- line-height: 40px;
- }
- }
- .uppy-Dashboard-browse {
- @include reset-button;
- cursor: pointer;
- color: rgba($color-cornflower-blue, 0.9);
- }
- .uppy-Dashboard-browse:focus {
- outline: none;
- border-bottom: 2px solid $color-cornflower-blue;
- }
- .uppy-DashboardTabs-list {
- list-style-type: none;
- margin: 0;
- padding: 0;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .uppy-DashboardTab {
- width: 70px;
- margin: 0;
- display: inline-block;
- text-align: center;
- .uppy-Dashboard--wide & {
- width: 75px;
- margin: 0 5px;
- }
- }
- .uppy-DashboardTab-btn {
- width: 100%;
- cursor: pointer;
- border: 0;
- background-color: transparent;
- -webkit-appearance: none;
- appearance: none;
- // outline: none;
- transition: all 0.3s;
- color: darken($color-gray, 25%);
- }
- // .uppy-DashboardTab-btn:focus,
- // .uppy-DashboardTab-btn:active,
- .uppy-DashboardTab-btn:hover {
- color: $color-cornflower-blue;
- }
- .uppy-DashboardTab-name {
- font-size: 8px;
- line-height: 11px;
- margin-top: 5px;
- margin-bottom: 0;
- font-weight: 500;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- .uppy-Dashboard--wide & {
- font-size: 9px;
- }
- }
- // On SVG sizing: https://sarasoueidan.com/blog/svg-style-inheritance-and-FOUSVG/
- .uppy-DashboardTab .UppyIcon {
- width: 18px;
- height: 18px;
- vertical-align: middle;
- .uppy-Dashboard--wide & {
- width: 23px;
- height: 23px;
- }
- }
- .uppy-Dashboard-input {
- width: 0.1px;
- height: 0.1px;
- opacity: 0;
- overflow: hidden;
- position: absolute;
- z-index: -1;
- }
- .uppy-DashboardContent-bar {
- position: absolute;
- top: 0;
- left: 0;
- display: flex;
- align-items: center;
- 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;
- .uppy-Dashboard--wide & {
- height: 50px;
- }
- }
- .uppy-DashboardContent-title {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- text-align: center;
- font-size: 14px;
- line-height: 40px;
- font-weight: normal;
- max-width: 170px;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow-x: hidden;
- margin: auto;
- .uppy-Dashboard--wide & {
- font-size: 16px;
- line-height: 50px;
- max-width: 300px;
- }
- }
- .uppy-DashboardContent-back {
- @include reset-button;
- font-size: 14px;
- font-weight: 500;
- cursor: pointer;
- color: $color-cornflower-blue;
- .uppy-Dashboard--wide & {
- font-size: 15px;
- }
- }
- .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%);
- box-shadow: 0 0 10px 5px rgba($color-black, 0.15);
- padding-top: 40px;
- overflow: hidden;
- z-index: $zIndex-4;
- .uppy-Dashboard--wide & {
- padding-top: 50px;
- }
- }
- .uppy-DashboardContent-panel[aria-hidden=false] {
- transform: translate3d(0, 0, 0);
- }
- // Progress bar placeholder
- .uppy-Dashboard-progress {
- position: absolute;
- bottom: 0;
- left: 0;
- width: 100%;
- height: 12%;
- }
- .uppy-Dashboard-progressBarContainer.is-active {
- z-index: $zIndex-4;
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- }
- .uppy-Dashboard-next {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: none;
- background-color: rgba($color-gray, 0.7);
- -webkit-appearance: none;
- appearance: none;
- border: 0;
- z-index: $zIndex-3;
- transition: background-color 0.5s;
- color: $color-white;
- font-family: inherit;
- font-size: 14px;
- line-height: 1;
- padding: 0;
- margin: 0;
- outline: none;
- cursor: not-allowed;
- }
- .uppy-Dashboard-next.is-active {
- cursor: pointer;
- background-color: $color-cornflower-blue;
- &:hover {
- background-color: darken($color-cornflower-blue, 20%);
- }
- }
- .uppy-Dashboard-filesContainer {
- @include clearfix;
- position: relative;
- overflow-y: hidden;
- margin: 0;
- flex: 1;
- }
- .uppy-Dashboard-files {
- margin: 0;
- padding: 0 0 10px 0;
- overflow-y: auto;
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- }
- .uppy-Dashboard--wide .uppy-Dashboard-files {
- padding: 15px 10px 10px 10px;
- }
- .uppy-Dashboard.drag .uppy-Dashboard-innerWrap {
- background-color: darken($color-white, 20%)
- }
- .uppy-Dashboard.drag .uppy-Dashboard-files--noFiles {
- border-color: darken($color-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-dropFilesTitle {
- max-width: 460px;
- text-align: center;
- font-size: 18px;
- line-height: 1.45;
- font-weight: 400;
- color: rgba($color-asphalt-gray, 0.8);
- padding: 0 15px;
- // margin: 0;
- // margin-top: 25px;
- .uppy-Dashboard--wide & {
- font-size: 24px;
- }
- }
- .uppy-Dashboard-note {
- font-size: 13px;
- line-height: 1.2;
- text-align: center;
- color: rgba($color-asphalt-gray, 0.8);
- position: absolute;
- bottom: 45px;
- left: 0;
- width: 100%;
- .uppy-Dashboard--wide & {
- font-size: 16px;
- }
- }
- .uppy-Dashboard-poweredBy {
- width: 100%;
- text-align: center;
- position: absolute;
- bottom: 23px;
- font-size: 11px;
- color: $color-gray;
- text-decoration: none;
- padding-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;
- margin-left: 1px;
- margin-right: 1px;
- position: relative;
- top: 1px;
- 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 & {
- flex-direction: column;
- float: left;
- width: 140px;
- height: 170px;
- margin: 5px 15px;
- border: 0;
- background-color: initial;
- border-bottom: none;
- padding-bottom: 0;
- padding-left: 0;
- }
- }
- .uppy-DashboardItem-preview {
- width: 60px;
- height: 60px;
- border-bottom: 0;
- position: relative;
- display: flex;
- justify-content: center;
- align-items: center;
- .uppy-Dashboard--wide & {
- width: 100%;
- height: 100px;
- border: 0;
- }
- }
- .uppy-DashboardItem-previewLink {
- position: absolute;
- left: 0;
- top: 0;
- right: 0;
- bottom: 0;
- z-index: $zIndex-3;
- }
- .uppy-DashboardItem-sourceIcon {
- display: inline-block;
- vertical-align: middle;
- width: 10px;
- height: 10px;
- color: rgba($color-gray, 0.6);
- .uppy-Dashboard--wide & {
- width: 10px;
- height: 10px;
- }
- }
- .uppy-DashboardItem-previewInnerWrap {
- width: 100%;
- height: 100%;
- overflow: hidden;
- position: relative;
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- 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-DashboardItem-previewInnerWrap:after {
- content: '';
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- background-color: rgba($color-black, 0.65) /* no !important */;
- display: none;
- z-index: $zIndex-2;
- }
- .uppy-DashboardItem-preview img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- .uppy-DashboardItem-previewIconWrap {
- height: 80px;
- max-height: 90%;
- position: relative;
- }
- .uppy-DashboardItem-previewIconBg {
- width: 100%;
- height: 100%;
- filter: drop-shadow(rgba($color-black, 0.1) 0px 0px 1px);
- }
- .uppy-DashboardItem-previewIcon {
- width: 18px;
- height: 18px;
- z-index: $zIndex-1;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- .uppy-Dashboard--wide & {
- width: 25px;
- height: 25px;
- }
- }
- .uppy-DashboardItem-previewType {
- position: absolute;
- bottom: 14px;
- left: 50%;
- transform: translate(-50%, 0);
- text-transform: uppercase;
- font-size: 9px;
- letter-spacing: 1px;
- color: $color-asphalt-gray;
- z-index: $zIndex-1;
- user-select: none;
- }
- .uppy-DashboardItem-info {
- // padding: 10px 19px 0 25px;
- padding-left: 15px;
- position: relative;
- max-width: 65%;
- .uppy-Dashboard--wide & {
- 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);
- border-top: 0;
- }
- }
- .uppy-DashboardItem-name {
- font-size: 11px;
- line-height: 1.35;
- font-weight: 500;
- margin: 0;
- padding: 0;
- max-height: 28px;
- margin-bottom: 3px;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- .uppy-Dashboard--wide & {
- word-break: break-all;
- white-space: normal;
- }
- }
- .uppy-DashboardItem-name a {
- text-decoration: underline;
- color: $color-black;
- }
- .uppy-DashboardItem-status {
- font-size: 11px;
- font-weight: normal;
- color: $color-gray;
- margin-bottom: 4px;
- }
- .uppy-DashboardItem-statusSize {
- 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;
- cursor: pointer;
- position: absolute;
- top: 0;
- right: -20px;
- .uppy-Dashboard--wide & {
- top: 9px;
- right: 3px;
- }
- }
- .uppy-DashboardItem-edit .UppyIcon {
- 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-Dashboard--wide & {
- width: 13px;
- height: 13px;
- }
- }
- .uppy-DashboardItem-action {
- position: absolute;
- top: 23px;
- right: 5px;
- z-index: $zIndex-3;
- .uppy-Dashboard--wide & {
- top: -8px;
- right: -8px;
- }
- }
- .uppy-DashboardItem-remove {
- @include reset-button;
- cursor: pointer;
- color: lighten($color-asphalt-gray, 20%);
- width: 16px;
- height: 16px;
- .uppy-Dashboard--wide & {
- width: 20px;
- height: 20px;
- color: lighten($color-asphalt-gray, 8%);
- }
- }
- .uppy-DashboardItem.is-inprogress:not(.is-resumable) .uppy-DashboardItem-remove {
- display: none;
- }
- .uppy-DashboardItem-progress {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- z-index: $zIndex-3;
- color: $color-white;
- text-align: center;
- width: 120px;
- display: none;
- transition: all .35 ease;
- }
- .uppy-DashboardItem.is-complete .uppy-DashboardItem-progress {
- transform: initial;
- top: -9px;
- right: -8px;
- left: initial;
- width: auto;
- }
- .uppy-DashboardItem.is-inprogress .uppy-DashboardItem-progress,
- .uppy-DashboardItem.is-complete .uppy-DashboardItem-progress,
- .uppy-DashboardItem.is-error .uppy-DashboardItem-progress {
- display: block;
- }
- .uppy-DashboardItem-progressIndicator {
- @include reset-button;
- display: inline-block;
- width: 38px;
- height: 38px;
- opacity: 0.9;
- transition: all .35s ease;
- .uppy-Dashboard--wide & {
- width: 55px;
- height: 55px;
- }
- }
- button.uppy-DashboardItem-progressIndicator {
- cursor: pointer;
- }
- .uppy-DashboardItem.is-error .uppy-DashboardItem-progressIndicator {
- width: 18px;
- height: 18px;
- .uppy-Dashboard--wide & {
- width: 28px;
- height: 28px;
- }
- }
- .uppy-DashboardItem.is-complete .uppy-DashboardItem-progressIndicator {
- width: 18px;
- height: 18px;
- opacity: 1;
- .uppy-Dashboard--wide & {
- width: 25px;
- height: 25px;
- }
- }
- .uppy-DashboardItem-progressInfo {
- font-size: 9px;
- line-height: 1;
- font-weight: 500;
- height: 10px;
- display: none;
- position: absolute;
- bottom: -10px;
- left: 0;
- width: 100%;
- text-shadow: 0 1px 0 rgba($color-black, 0.3);
- .uppy-Dashboard--wide & {
- display: block;
- }
- }
- .UppyIcon-progressCircle {
- width: 100%;
- height: 100%;
- }
- .uppy-DashboardItem .bg {
- stroke: rgba($color-white, 0.4);
- opacity: 0;
- }
- .uppy-DashboardItem .progress {
- stroke: $color-white;
- transition: stroke-dashoffset .5s ease-out;
- opacity: 0;
- }
- .uppy-DashboardItem .play {
- stroke: $color-white;
- fill: $color-white;
- opacity: 0;
- transition: all 0.2s;
- display: none;
- }
- .uppy-DashboardItem .cancel {
- fill: $color-white;
- opacity: 0;
- transition: all 0.2s;
- }
- .uppy-DashboardItem .pause {
- stroke: $color-white;
- fill: $color-white;
- opacity: 0;
- transition: all 0.2s;
- display: none;
- }
- .uppy-DashboardItem.is-error .retry {
- fill: $color-white;
- }
- .uppy-DashboardItem.is-resumable {
- .pause, .play { display: block; }
- .cancel { display: none; }
- }
- .UppyIcon-progressCircle .check {
- opacity: 0;
- fill: $color-white;
- transition: all 0.2s;
- }
- .uppy-DashboardItem.is-inprogress {
- .bg, .progress, .pause, .cancel {
- opacity: 1;
- }
- .uppy-DashboardItem-previewInnerWrap:after {
- display: block;
- }
- }
- .uppy-DashboardItem.is-error {
- .uppy-DashboardItem-previewInnerWrap:after {
- display: block;
- }
- }
- .uppy-DashboardItem.is-paused {
- .pause {
- opacity: 0;
- }
- .play {
- opacity: 1;
- }
- }
- .uppy-DashboardItem.is-complete {
- .uppy-DashboardItem-progressIndicator {
- cursor: default;
- }
- .progress {
- stroke: $color-green;
- fill: $color-green;
- opacity: 1;
- }
- .check {
- opacity: 1;
- }
- }
- .uppy-DashboardItem-progressNum {
- position: relative;
- z-index: $zIndex-2;
- }
- .uppy-DashboardItem-progressInner {
- height: 15px;
- background-color: $color-cornflower-blue;
- position: absolute;
- top: 0;
- left: 0;
- }
- .uppy-Dashboard-actions {
- height: 55px;
- border-top: 1px solid rgba($color-gray, 0.2);
- display: flex;
- align-items: center;
- padding: 0 15px;
- }
- .uppy-Dashboard--wide .uppy-Dashboard-actions {
- height: 65px;
- }
- .uppy-Dashboard-actionsBtn {
- margin-right: 10px;
- }
- .uppy-Dashboard-pauseResume .UppyIcon {
- width: 100%;
- height: 100%;
- }
- .uppy-Dashboard-upload {
- position: relative;
- width: 50px;
- height: 50px;
- .uppy-Dashboard--wide & {
- width: 60px;
- height: 60px;
- }
- }
- .uppy-Dashboard-upload .UppyIcon {
- position: relative;
- top: 1px;
- width: 50%;
- }
- .uppy-Dashboard-uploadCount {
- position: absolute;
- top: -12px;
- right: -12px;
- background-color: $color-green;
- color: $color-white;
- border-radius: 50%;
- width: 16px;
- height: 16px;
- line-height: 16px;
- font-size: 8px;
- .uppy-Dashboard--wide & {
- width: 18px;
- height: 18px;
- line-height: 18px;
- font-size: 9px;
- }
- }
- //
- // File Card
- //
- .uppy-DashboardFileCard {
- transform: translate3d(0, 0, 0);
- transition: transform 0.2s ease-in-out;
-
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- z-index: $zIndex-4;
- box-shadow: 0px 0px 10px 4px rgba($color-black, 0.1);
- background-color: $color-white;
- }
- .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;
- }
- }
- .uppy-DashboardFileCard-preview {
- display: flex;
- align-items: center;
- justify-content: center;
- flex-grow: 1;
- border-bottom: 1px solid rgba($color-gray, 0.3);
- background-color: lighten($color-gray, 40%); /* no !important */
- position: relative;
- }
- .uppy-DashboardFileCard-preview img {
- box-shadow: 0px 3px 20px rgba($color-black, 0.15);
- max-width: 90%;
- max-height: 90%;
- object-fit: cover;
- border-radius: 3px;
- position: absolute;
- }
- .uppy-DashboardFileCard-info {
- padding: 30px 20px 20px 20px;
- max-height: 40%;
- flex-grow: 1;
- overflow-y: auto;
- }
- .uppy-DashboardFileCard-fieldset {
- font-size: 0;
- border: 0;
- padding: 0;
- max-width: 640px;
- margin: auto;
- margin-bottom: 12px;
- }
- .uppy-DashboardFileCard-label {
- display: inline-block;
- vertical-align: middle;
- width: 22%;
- font-size: 12px;
- color: $color-asphalt-gray;
- .uppy-Dashboard--wide & {
- font-size: 13px;
- }
- }
- .uppy-DashboardFileCard-input {
- display: inline-block;
- vertical-align: middle;
- width: 78%;
- }
|