lbry-desktop/ui/scss/component/_file-drop.scss
Thomas Zarebczan 8d4a05157d Paste/drop images directly to markdown editor
Ticket: 1135

- Changed `FileDrop` to only cover the upper 20% of the page, otherwise it will clash with markdown image drop.
2022-04-01 12:36:49 -04:00

39 lines
669 B
SCSS

.file-drop {
top: 0;
left: 0;
position: fixed;
background: var(--color-background-overlay);
opacity: 0;
height: 20%;
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;
padding: var(--spacing-l);
.main-icon {
margin: var(--spacing-s);
}
p {
margin-bottom: var(--spacing-l);
}
}
}