2020-05-25 16:27:36 +02:00
|
|
|
.file-drop {
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
position: fixed;
|
|
|
|
background: var(--color-background-overlay);
|
|
|
|
opacity: 0;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
pointer-events: none;
|
|
|
|
z-index: 5;
|
|
|
|
transition: opacity 0.3s ease;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
&.file-drop--show {
|
|
|
|
opacity: 1;
|
|
|
|
pointer-events: all;
|
|
|
|
transition: opacity 0.3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-drop__area {
|
|
|
|
display: flex;
|
|
|
|
min-width: 400px;
|
|
|
|
align-items: center;
|
|
|
|
flex-direction: column;
|
2020-06-01 19:03:19 +02:00
|
|
|
padding: var(--spacing-l);
|
2020-05-25 16:27:36 +02:00
|
|
|
|
|
|
|
.main-icon {
|
2020-06-01 19:03:19 +02:00
|
|
|
margin: var(--spacing-s);
|
2020-05-25 16:27:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-bottom: var(--spacing-l);
|
2020-05-25 16:27:36 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|