summaryrefslogtreecommitdiff
path: root/public/stylesheets/admin.css
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-23 19:46:59 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-23 19:46:59 +0200
commit7ebb5ce8ef276e6d23d818c216be6ef2974369cc (patch)
tree75ec93871392c94e10c2627327efd5994f324de0 /public/stylesheets/admin.css
parentcef5d1a685f324a4779ea6d18da0b0bbf6cfb7b1 (diff)
Turn the asset upload forms into file drop targets
Dropped files land in the existing file input and submit through the unchanged form. An empty name field is prefilled from the basename.
Diffstat (limited to 'public/stylesheets/admin.css')
-rw-r--r--public/stylesheets/admin.css11
1 files changed, 11 insertions, 0 deletions
diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css
index 9f737752..69f0fcf2 100644
--- a/public/stylesheets/admin.css
+++ b/public/stylesheets/admin.css
@@ -1386,6 +1386,17 @@ div#draft_list table td.actions a {
1386 background-color: #fffdf5; 1386 background-color: #fffdf5;
1387} 1387}
1388 1388
1389#asset_dropzone {
1390 border: 2px dashed #ccc;
1391 border-radius: 6px;
1392 padding: 1.5rem;
1393}
1394
1395#asset_dropzone.dragging {
1396 border-color: #f96;
1397 background: #fff8f2;
1398}
1399
1389/* ============================================================ 1400/* ============================================================
1390 Live edit preview 1401 Live edit preview
1391 ============================================================ */ 1402 ============================================================ */