add drag and drop

This commit is contained in:
2026-11-12 21:35:54 -05:00
parent 350bf1842f
commit 41aaf5006f
3 changed files with 90 additions and 18 deletions
+31 -14
View File
@@ -159,24 +159,41 @@ option {
cursor: pointer;
}
.btn:hover {
background-color: var(--text-muted);
}
.link-btn {
border: none;
background: none;
padding: 0;
text-decoration: underline;
color: var(--text);
cursor: pointer;
font: inherit;
border: none;
background: none;
padding: 0;
text-decoration: underline;
color: var(--text);
cursor: pointer;
font: inherit;
}
.upload-links {
margin-top: 12px;
display: flex;
flex-direction: row;
gap: 12px;
align-items: baseline;
margin-top: 12px;
display: flex;
flex-direction: row;
gap: 12px;
align-items: baseline;
}
.upload-links form {
margin: 0;
}
margin: 0;
}
body.dragging::after {
content: "drop file to select";
position: fixed;
inset: 0;
z-index: 100;
display: grid;
place-items: center;
background: rgb(0 0 0 / 30%);
color: var(--text);
font-size: 1.5rem;
pointer-events: none;
}