123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239 |
- @import '@uppy/core/src/_utils.scss';
- @import '@uppy/core/src/_variables.scss';
- @import '@uppy/informer/src/style.scss';
- @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;
- }
- .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($black, 0.5);
- z-index: $zIndex-2;
- }
- .uppy-Dashboard-inner {
- position: relative;
- background-color: $gray-50;
- max-width: 100%; /* no !important */
- max-height: 100%; /* no !important */
- // min-width: 290px;
- // min-height: 450px is required for everything to fit on mobile
- min-height: 450px;
- outline: none;
- border: 1px solid $gray-200;
- border-radius: 5px;
- .uppy-size--md & {
- min-height: auto;
- }
- @media #{$screen-medium} {
- width: 750px; /* no !important */
- height: 550px; /* no !important */
- }
- .uppy-Dashboard--modal & {
- z-index: $zIndex-3;
- }
- }
- .uppy-Dashboard-innerWrap {
- display: flex;
- flex-direction: column;
- height: 100%;
- overflow: hidden;
- position: relative;
- border-radius: 5px;
- opacity: 0;
- }
- .uppy-Dashboard--isInnerWrapVisible .uppy-Dashboard-innerWrap{
- opacity: 1;
- }
- .uppy-Dashboard--modal .uppy-Dashboard-inner {
- position: fixed;
- top: 35px;
- left: 15px;
- right: 15px;
- bottom: 15px;
- border: none;
- @media #{$screen-medium} {
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- box-shadow: 0 5px 15px 4px rgba($black, 0.15);
- }
- }
- .uppy-Dashboard-close {
- display: block;
- position: absolute;
- top: -33px;
- right: -2px;
- cursor: pointer;
- color: rgba($white, 0.9);
- font-size: 27px;
- z-index: $zIndex-5;
- @media #{$screen-medium} {
- font-size: 35px;
- top: -10px;
- right: -35px;
- }
- }
- .uppy-DashboardAddFiles {
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- height: 100%;
- position: relative;
- text-align: center;
- flex: 1;
- }
- .uppy-DashboardTabs {
- display: flex;
- flex-direction: column;
- justify-content: center;
- width: 100%;
- .uppy-size--md & {
- align-items: center;
- }
- }
- .uppy-DashboardTabs-title {
- font-size: 14px;
- line-height: 30px;
- font-weight: 400;
- margin: 0;
- padding: 0;
- text-align: center;
- color: $gray-700;
- .uppy-size--md & {
- font-size: 16px;
- line-height: 40px;
- }
- }
- .uppy-DashboardAddFiles-info {
- padding-top: 15px;
- padding-bottom: 15px;
- .uppy-size--md & {
- position: absolute;
- bottom: 30px;
- left: 0;
- right: 0;
- padding-top: 30px;
- padding-bottom: 0;
- }
- }
- .uppy-Dashboard-browse {
- @include reset-button;
- cursor: pointer;
- color: rgba($blue, 0.9);
- &:hover {
- text-decoration: underline;
- }
- }
- .uppy-Dashboard-browse:focus {
- outline: none;
- border-bottom: 2px solid $blue;
- }
- .uppy-DashboardTabs-list {
- display: flex;
- flex-direction: column;
- max-height: 300px;
- overflow-x: auto;
- -webkit-overflow-scrolling: touch;
- margin-top: 10px;
- padding: 2px 0;
- .uppy-size--md & {
- flex-direction: row;
- flex-wrap: wrap;
- justify-content: center;
- max-width: 600px;
- overflow-x: initial;
- margin-top: 15px;
- padding-top: 0;
- }
- }
- .uppy-DashboardTab {
- width: 100%;
- display: inline-block;
- text-align: center;
- border-bottom: 1px solid $gray-200;
- padding: 0px 2px;
- .uppy-size--md & {
- width: initial;
- margin-bottom: 20px;
- border-bottom: none;
- padding: 0;
- }
- }
- .uppy-DashboardTab-btn {
- width: 100%;
- height: 100%;
- cursor: pointer;
- border: 0;
- background-color: transparent;
- -webkit-appearance: none;
- appearance: none;
- color: $gray-700;
- display: flex;
- flex-direction: row;
- align-items: center;
- padding: 12px 20px;
- line-height: 1;
- text-align: center;
- .uppy-size--md & {
- width: 86px;
- margin-right: 1px;
- flex-direction: column;
- padding: 10px 3px;
- border-radius: 5px;
- }
- }
- .uppy-DashboardTab-btn::-moz-focus-inner {
- border: 0;
- }
- .uppy-DashboardTab-btn:hover {
- background-color: $gray-100--highlighted;
- }
- .uppy-DashboardTab-btn:active,
- .uppy-DashboardTab-btn:focus {
- background-color: darken($gray-100--highlighted, 1%);
- outline: none;
- }
- .uppy-DashboardTab-btn svg {
- margin-right: 10px;
- .uppy-size--md & {
- margin-right: 0;
- }
- }
- .uppy-DashboardTab-btn svg {
- max-width: 100%;
- max-height: 100%;
- display: inline-block;
- vertical-align: text-top;
- overflow: hidden;
- transition: transform ease-in-out .15s;
- }
- .uppy-DashboardTab-name {
- font-size: 14px;
- font-weight: 500;
- .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 svg {
- width: 18px;
- height: 18px;
- vertical-align: middle;
- .uppy-size--md & {
- width: 27px;
- height: 27px;
- }
- }
- .uppy-Dashboard-input {
- width: 0.1px;
- height: 0.1px;
- opacity: 0;
- overflow: hidden;
- position: absolute;
- z-index: -1;
- }
- .uppy-DashboardContent-bar {
- display: flex;
- align-items: center;
- justify-content: space-between;
- height: 40px;
- width: 100%;
- border-bottom: 1px solid $gray-200;
- z-index: $zIndex-4;
- background-color: $gray-50;
- padding: 0 10px;
- .uppy-size--md & {
- height: 50px;
- padding: 0 15px;
- }
- }
- .uppy-DashboardContent-title {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- text-align: center;
- font-size: 12px;
- line-height: 40px;
- font-weight: 500;
- max-width: 170px;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow-x: hidden;
- margin: auto;
- .uppy-size--md & {
- font-size: 14px;
- line-height: 50px;
- max-width: 300px;
- }
- }
- .uppy-DashboardContent-back {
- @include reset-button;
- display: inline-block;
- font-size: 12px;
- font-weight: 400;
- cursor: pointer;
- color: $blue;
- padding: 7px 6px;
- margin-left: -6px;
- border-radius: 3px;
- &:hover {
- color: darken($blue, 12%);
- }
- .uppy-size--md & {
- font-size: 14px;
- }
- }
- .uppy-DashboardContent-addMore {
- @include reset-button;
- display: inline-block;
- font-weight: 500;
- cursor: pointer;
- color: $blue;
- width: 29px;
- height: 29px;
- padding: 7px;
- border-radius: 3px;
- &:hover {
- color: darken($blue, 12%)
- }
- }
- .uppy-DashboardContent-addMore svg {
- vertical-align: text-top;
- }
- .uppy-DashboardContent-panel {
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- background-color: darken($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: $gray-50;
- background: linear-gradient(0deg, $gray-50 35%, rgba($gray-50, 0.85) 100%);
- box-shadow: 0 0 10px 5px rgba($black, 0.15);
- overflow: hidden;
- z-index: $zIndex-5;
- border-radius: 5px;
- display: flex;
- flex-direction: column;
- }
- .uppy-Dashboard--isAddFilesPanelVisible .uppy-Dashboard-files {
- filter: blur(2px);
- }
- // 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($gray-500, 0.7);
- // -webkit-appearance: none;
- // appearance: none;
- // border: 0;
- // z-index: $zIndex-3;
- // transition: background-color 0.5s;
- // 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: $blue;
- // &:hover {
- // background-color: darken($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;
- -webkit-overflow-scrolling: touch;
- flex: 1;
- }
- .uppy-size--md .uppy-Dashboard-files {
- padding-top: 10px;
- }
- .uppy-Dashboard.drag .uppy-Dashboard-innerWrap {
- background-color: darken($gray-50, 25%)
- }
- .uppy-Dashboard.drag .uppy-Dashboard-AddFilesPanel {
- background: darken($gray-50, 20%)
- }
- .uppy-Dashboard.drag .uppy-Dashboard-files--noFiles {
- border-color: darken($gray-50, 20%);
- }
- .uppy-Dashboard-dropFilesTitle {
- max-width: 300px;
- text-align: center;
- font-size: 16px;
- line-height: 1.45;
- font-weight: 400;
- color: $gray-700;
- margin: auto;
- padding: 0 15px;
- padding-top: 20px;
- .uppy-size--md & {
- max-width: 400px;
- font-size: 27px;
- }
- }
- .uppy-Dashboard-note {
- font-size: 14px;
- line-height: 1.25;
- text-align: center;
- color: $gray-600;
- max-width: 350px;
- margin: auto;
- padding: 0 15px;
- .uppy-size--md & {
- font-size: 16px;
- line-height: 1.35;
- max-width: 600px;
- }
- }
- a.uppy-Dashboard-poweredBy {
- display: inline-block;
- text-align: center;
- font-size: 11px;
- color: $gray-500;
- text-decoration: none;
- margin-top: 8px;
- }
- .uppy-Dashboard-poweredByIcon {
- stroke: $gray-500;
- fill: none;
- margin-left: 1px;
- margin-right: 1px;
- position: relative;
- top: 1px;
- opacity: 0.9;
- vertical-align: text-top;
- }
- .uppy-DashboardItem {
- list-style: none;
- margin: 10px 0;
- position: relative;
- display: flex;
- align-items: center;
- border-bottom: 1px solid $gray-200;
- padding-bottom: 10px;
- padding-left: 10px;
- $rl-margin: 15px;
- .uppy-size--md & {
- float: left;
- margin: 5px $rl-margin;
- width: calc(33.333% - #{$rl-margin} - #{$rl-margin});
- height: 170px;
- flex-direction: column;
- background-color: initial;
- border: 0;
- border-bottom: none;
- padding-bottom: 0;
- padding-left: 0;
- }
- .uppy-size--lg & {
- width: calc(25% - #{$rl-margin} - #{$rl-margin});
- height: 190px;
- }
- .uppy-size--xl & {
- width: calc(20% - #{$rl-margin} - #{$rl-margin});
- height: 210px;
- }
- }
- .uppy-DashboardItem-preview {
- width: 50px;
- height: 50px;
- border-bottom: 0;
- position: relative;
- display: flex;
- justify-content: center;
- align-items: center;
- .uppy-size--md & {
- width: 100%;
- height: 100px;
- border: 0;
- }
- .uppy-size--lg & {
- height: 120px;
- }
- .uppy-size--xl & {
- height: 140px;
- }
- }
- .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: 11px;
- height: 11px;
- color: $gray-500;
- }
- .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 {
- 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($black, 0.4);
- border-radius: 3px;
- .uppy-size--md & {
- box-shadow: 0 1px 3px rgba($black, 0.2);
- }
- }
- .uppy-DashboardItem-previewInnerWrap:after {
- content: '';
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- background-color: rgba($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($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-size--md & {
- 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: $gray-700;
- z-index: $zIndex-1;
- user-select: none;
- }
- .uppy-DashboardItem-info {
- padding-left: 15px;
- position: relative;
- max-width: 65%;
- .uppy-size--md & {
- width: 100%;
- max-width: 100%;
- flex: 1;
- padding: 8px 0 0;
- border-top: 0;
- }
- }
- .uppy-DashboardItem-name {
- font-size: 12px;
- line-height: 1.3;
- font-weight: 500;
- margin: 0;
- padding: 0;
- margin-bottom: 6px;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- .uppy-size--md & {
- word-break: break-all;
- white-space: normal;
- overflow: initial;
- }
- }
- .uppy-DashboardItem-name a {
- text-decoration: none;
- color: $gray-800;
- }
- .uppy-DashboardItem-status {
- font-size: 11px;
- line-height: 11px;
- font-weight: normal;
- color: $gray-600;
- margin-bottom: 4px;
- }
- .uppy-DashboardItem-statusSize {
- display: inline-block;
- vertical-align: bottom;
- text-transform: uppercase;
- }
- .uppy-DashboardItem-edit,
- .uppy-DashboardItem-copyLink {
- display: inline-block;
- vertical-align: bottom;
- cursor: pointer;
- font-family: inherit;
- font-size: inherit;
- line-height: 1;
- color: inherit;
- }
- .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;
- &:before {
- content: '\00B7';
- position: absolute;
- top: 0;
- left: -9px;
- color: $gray-600;
- font-weight: 700;
- }
- }
- .uppy-DashboardItem-action {
- position: absolute;
- top: 18px;
- right: 10px;
- z-index: $zIndex-3;
- .uppy-size--md & {
- top: -8px;
- right: -8px;
- }
- }
- .uppy-DashboardItem-remove {
- @include reset-button;
- cursor: pointer;
- color: #111;
- width: 18px;
- height: 18px;
- opacity: 0.9;
- .uppy-size--md & {
- width: 20px;
- height: 20px;
- }
- }
- .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: $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;
- .uppy-size--md & {
- width: 55px;
- height: 55px;
- }
- }
- button.uppy-DashboardItem-progressIndicator {
- cursor: pointer;
- }
- .uppy-DashboardItem.is-error .uppy-DashboardItem-progressIndicator {
- width: 18px;
- height: 18px;
- .uppy-size--md & {
- width: 28px;
- height: 28px;
- }
- }
- .uppy-DashboardItem.is-complete .uppy-DashboardItem-progressIndicator {
- width: 18px;
- height: 18px;
- opacity: 1;
- .uppy-size--md & {
- width: 22px;
- height: 22px;
- }
- }
- .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($black, 0.3);
- .uppy-size--md & {
- display: block;
- }
- }
- .UppyIcon-progressCircle {
- width: 100%;
- height: 100%;
- }
- .uppy-DashboardItem .bg {
- stroke: rgba($white, 0.4);
- opacity: 0;
- }
- .uppy-DashboardItem .progress {
- stroke: $white;
- transition: stroke-dashoffset .5s ease-out;
- opacity: 0;
- }
- .uppy-DashboardItem .play {
- stroke: $white;
- fill: $white;
- opacity: 0;
- transition: all 0.2s;
- display: none;
- }
- .uppy-DashboardItem .cancel {
- fill: $white;
- opacity: 0;
- transition: all 0.2s;
- }
- .uppy-DashboardItem .pause {
- stroke: $white;
- fill: $white;
- opacity: 0;
- transition: all 0.2s;
- display: none;
- }
- .uppy-DashboardItem.is-error .retry {
- fill: $white;
- }
- .uppy-DashboardItem.is-resumable {
- .pause, .play { display: block; }
- .cancel { display: none; }
- }
- .UppyIcon-progressCircle .check {
- opacity: 0;
- fill: $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-processing .uppy-DashboardItem-progress {
- opacity: 0;
- }
- .uppy-DashboardItem.is-complete {
- .uppy-DashboardItem-progressIndicator {
- cursor: default;
- }
- .progress {
- stroke: $green;
- fill: $green;
- opacity: 1;
- }
- .check {
- opacity: 1;
- }
- }
- .uppy-DashboardItem-progressNum {
- position: relative;
- z-index: $zIndex-2;
- }
- .uppy-DashboardItem-progressInner {
- height: 15px;
- background-color: $blue;
- position: absolute;
- top: 0;
- left: 0;
- }
- .uppy-Dashboard-actions {
- height: 55px;
- border-top: 1px solid $gray-200;
- display: flex;
- align-items: center;
- padding: 0 15px;
- background-color: $gray-50;
- }
- .uppy-size--md .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-size--md & {
- 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: $green;
- color: $white;
- border-radius: 50%;
- width: 16px;
- height: 16px;
- line-height: 16px;
- font-size: 8px;
- .uppy-size--md & {
- 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-5;
- box-shadow: 0px 0px 10px 4px rgba($black, 0.1);
- background-color: $white;
- display: flex;
- flex-direction: column;
- }
- // .uppy-DashboardFileCard[aria-hidden=true] {
- // transform: translate3d(0, -105%, 0);
- // }
- .uppy-DashboardFileCard-inner {
- display: flex;
- flex-direction: column;
- height: 100%;
- flex: 1;
- }
- .uppy-DashboardFileCard-preview {
- display: flex;
- align-items: center;
- justify-content: center;
- flex-grow: 1;
- border-bottom: 1px solid $gray-200;
- background-color: $gray-50; /* no !important */
- position: relative;
- }
- .uppy-DashboardFileCard-preview img {
- box-shadow: 0px 3px 20px rgba($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;
- -webkit-overflow-scrolling: touch;
- }
- .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: $gray-700;
- .uppy-size--md & {
- font-size: 14px;
- }
- }
- .uppy-DashboardFileCard-input {
- display: inline-block;
- vertical-align: middle;
- width: 78%;
- }
|