File size: 1,750 Bytes
1e92f2d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | .uploading-pane {
cursor: pointer;
position: relative;
height: 200px;
margin-bottom: 1rem;
background-color: transparent;
border: 1px dashed var(--studio-gray-10);
border-radius: 4px;
transition: all 200ms ease-out, color 100ms ease-out;
fill: var(--color-neutral-20);
font-size: $font-body;
color: var(--studio-gray-50);
text-align: center;
input {
visibility: hidden;
}
.accessible-focus &:focus {
border-color: var(--color-neutral-20);
}
&:hover {
border-color: var(--color-neutral-70);
color: var(--studio-gray-80);
svg {
path {
stroke: #2c3338;
}
}
}
p {
margin-top: -0.5em;
}
.uploading-pane__upload-icon {
color: var(--color-neutral-light);
}
.drop-zone {
margin: 0;
border: none;
transition: none;
.drop-zone__content {
.drop-zone__content-icon {
display: none;
}
}
}
.progress-bar {
width: 80%;
}
}
.importer__uploading-pane:hover .uploading-pane__upload-content .uploading-pane__upload-icon {
color: var(--color-neutral-70);
}
.uploading-pane__description {
font-size: $font-body-small;
color: var(--studio-gray-50);
.inline-support-link {
&:hover {
color: var(--studio-gray-100);
}
white-space: pre;
text-decoration: underline;
color: inherit;
}
}
.uploading-pane__upload-content {
position: absolute;
top: 50%;
left: 0;
right: 0;
text-align: center;
transform: translateY(-50%);
svg {
display: none;
}
p {
margin: 0;
}
&.importer-upload-success {
color: var(--color-success);
}
&.importer-upload-failure {
color: var(--color-error);
}
&.importer-ready-for-upload {
display: flex;
align-items: center;
justify-content: center;
svg {
display: block;
}
p {
margin: 0 0 0 12px;
}
}
}
|