2018-02-13 20:32:59 +01:00
|
|
|
.uploadArea {
|
2018-07-31 20:09:18 +02:00
|
|
|
position: relative;
|
2018-02-13 20:32:59 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2018-07-31 20:09:18 +02:00
|
|
|
justify-content: center;
|
2018-02-13 20:32:59 +01:00
|
|
|
text-align: center;
|
2018-07-31 20:09:18 +02:00
|
|
|
border: 1px dashed rgba(12, 12, 13, 0.2);
|
|
|
|
margin: 0 0 10px;
|
|
|
|
height: 400px;
|
|
|
|
border-radius: 4px;
|
|
|
|
overflow: scroll;
|
2018-02-13 20:32:59 +01:00
|
|
|
transition: transform 150ms;
|
2018-07-31 20:09:18 +02:00
|
|
|
flex: 1;
|
2018-02-13 20:32:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.uploadArea__msg {
|
2018-07-31 20:09:18 +02:00
|
|
|
font-size: 15px;
|
2018-02-13 20:32:59 +01:00
|
|
|
color: var(--lightTextColor);
|
2018-07-31 20:09:18 +02:00
|
|
|
margin: 12px 0 0;
|
2018-02-13 20:32:59 +01:00
|
|
|
font-family: 'SF Pro Text', sans-serif;
|
2018-07-31 20:09:18 +02:00
|
|
|
text-transform: uppercase;
|
|
|
|
font-weight: bold;
|
2018-02-13 20:32:59 +01:00
|
|
|
}
|
|
|
|
|
2018-07-31 20:09:18 +02:00
|
|
|
.uploadArea__clickMsg {
|
2018-02-13 20:32:59 +01:00
|
|
|
font-style: italic;
|
|
|
|
font-size: 12px;
|
2018-07-31 20:09:18 +02:00
|
|
|
line-height: 12px;
|
2018-02-13 20:32:59 +01:00
|
|
|
color: var(--lightTextColor);
|
2018-07-31 20:09:18 +02:00
|
|
|
margin: 5px;
|
2018-02-13 20:32:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.uploadArea--dragging {
|
2018-07-31 20:09:18 +02:00
|
|
|
border: 1px dashed rgba(12, 12, 13, 0.4);
|
2018-02-13 20:32:59 +01:00
|
|
|
transform: scale(1.04);
|
|
|
|
}
|
|
|
|
|
2018-07-31 20:09:18 +02:00
|
|
|
.uploadArea--faded * {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploadArea--noEvents,
|
|
|
|
.uploadArea--noEvents * {
|
2018-02-13 20:32:59 +01:00
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn--file {
|
2018-07-31 20:09:18 +02:00
|
|
|
display: inline-block;
|
|
|
|
background-color: #737373;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn--file:hover {
|
|
|
|
background-color: #636363;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn--hidden {
|
|
|
|
display: none;
|
2018-02-13 20:32:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.inputFile {
|
2018-07-31 20:09:18 +02:00
|
|
|
display: none;
|
2018-02-13 20:32:59 +01:00
|
|
|
}
|
|
|
|
|
2018-02-20 00:06:46 +01:00
|
|
|
.inputFile--focused + .btn--file {
|
2018-02-13 20:32:59 +01:00
|
|
|
background-color: var(--primaryControlHoverColor);
|
|
|
|
outline: 1px dotted #000;
|
|
|
|
outline: -webkit-focus-ring-color auto 5px;
|
|
|
|
}
|
2018-07-31 20:09:18 +02:00
|
|
|
|
|
|
|
.uploadArea > .uploadedFiles {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
flex: none;
|
|
|
|
width: 100%;
|
|
|
|
border: none;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploadOptions {
|
|
|
|
text-align: left;
|
|
|
|
font-size: 13px;
|
|
|
|
color: var(--lightTextColor);
|
|
|
|
}
|
|
|
|
|
|
|
|
.uploadOptions--faded {
|
|
|
|
opacity: 0.5;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2018-08-01 00:19:18 +02:00
|
|
|
|
|
|
|
.uploadCancel {
|
|
|
|
margin: 6px 0 0;
|
|
|
|
}
|
2018-08-03 21:24:41 +02:00
|
|
|
|
|
|
|
.uploadCancel:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|