Add native Winlink attachment upload, reader indicators and verified storage

This commit is contained in:
alberto committed 2026-10-17 14:33:34 +02:00
1 parent 2b00b1cbbd
commit 5fde09823b
13 files changed
+223 -20

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
#compose{max-height:94dvh;overflow:hidden;padding:0}
#compose-form{display:flex;flex-direction:column;max-height:calc(94dvh - 2px)}
#compose .dialog-heading{flex:none;margin:0;padding:22px 30px 16px;border-bottom:1px solid #2b3a4d}
#compose .compose-scroll-body{min-height:0;overflow:auto;padding:20px 30px;overscroll-behavior:contain}
#compose footer{flex:none;margin:0;padding:15px 30px;border-top:1px solid #2b3a4d;background:#151d28}
.compose-attachments{border:1px dashed #3d5268;border-radius:10px;padding:14px 16px;margin:18px 0;background:#101b29;transition:border-color .15s,background .15s}
.compose-attachments[hidden]{display:none}
.compose-attachments.dragging{border-color:#a6c8ea;background:#1a3045}
.compose-attachments-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.compose-attachments-heading>div{display:flex;gap:12px;align-items:center;font-size:12px}
.compose-attachments-heading small{color:#8ca2b6;font-size:10px;font-weight:400}
.compose-attachments-heading button{min-height:34px;padding:7px 12px;font-size:11px}
.compose-file-list{display:grid;gap:7px;margin-top:10px;max-height:170px;overflow:auto}
.compose-file-list:empty{display:none}
.compose-file{display:flex;align-items:center;gap:11px;padding:8px 10px;background:#172638;border:1px solid #2b4157;border-radius:7px;min-width:0}
.compose-file-icon{display:grid;place-items:center;width:36px;height:36px;flex:none;font-size:20px;color:#9fbdd9}
.compose-file-icon img{max-width:36px;max-height:36px;border-radius:4px;object-fit:contain}
.compose-file>div{min-width:0;flex:1}.compose-file b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#e0eaf4}
.compose-file small{display:block;font-size:10px;color:#8ca2b6;margin-top:4px}
.compose-file-remove{border:0;background:transparent;color:#b2c4d4;width:32px;height:32px;border-radius:6px;font-size:20px;cursor:pointer}
.compose-file-remove:hover{background:#48313b;color:#ffb7bd}.compose-file-remove:focus-visible{outline:2px solid #a6c8ea}
#compose .compose-file-help{font-size:10px;line-height:1.5;color:#8ca2b6;margin:10px 0 0}
.mail-paperclip{display:inline-flex;gap:3px;align-items:center;margin-left:9px;color:#9ebfdf;font-size:10px;vertical-align:middle;white-space:nowrap}
.reader-attachment-count{display:inline-flex;align-items:center;gap:4px;border-radius:5px;background:#263b50;color:#c3d8ec;padding:4px 8px;font-size:10px;margin-left:8px}
@media(max-width:600px){.compose-attachments{padding:12px}.compose-attachments-heading>div{gap:6px;flex-wrap:wrap}.compose-file-list{max-height:130px}}
#compose:has(.compose-attachments:not([hidden])) textarea{height:120px;min-height:90px}
#compose:has(.compose-attachments:not([hidden])) .compose-row{grid-template-columns:1fr}
@media(max-width:600px){#compose .dialog-heading{padding:18px 20px 14px}#compose .compose-scroll-body{padding:16px 20px}#compose footer{padding:12px 20px}}