Add email threading, snooze, bulk actions, scheduled send, stars, and attachments; v1.1.21

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
nmemmert
2026-07-28 16:29:24 -04:00
parent 57fe34ba47
commit ee7c783de8
6 changed files with 1008 additions and 336 deletions
+306
View File
@@ -10945,6 +10945,312 @@
}
.em-sig-edit-link:hover { color: #e0a020; }
/* ── Threading ────────────────────────────────────────────────────────────── */
.em-thread-count {
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(255,255,255,0.15);
border-radius: 999px;
color: #c9a84c;
font-size: 0.68rem;
font-weight: 700;
letter-spacing: 0;
margin-left: 0.35rem;
min-width: 1.25rem;
padding: 0 0.3rem;
}
.em-thread-badge {
background: rgba(201,168,76,0.18);
border-radius: 999px;
color: #c9a84c;
font-size: 0.7rem;
font-weight: 600;
padding: 0.1rem 0.55rem;
white-space: nowrap;
}
.em-detail-subject-line {
color: #f0ead8;
font-size: 0.9rem;
font-weight: 500;
opacity: 0.8;
}
.em-conversation {
display: flex;
flex-direction: column;
gap: 0;
overflow-y: auto;
padding: 1.25rem 1.5rem;
flex: 1;
}
.em-conv-bubble {
border-left: 3px solid transparent;
margin-bottom: 1.25rem;
padding: 0.9rem 1rem;
border-radius: 0 8px 8px 0;
}
.em-conv-bubble--inbound {
background: rgba(255,255,255,0.04);
border-left-color: rgba(255,255,255,0.15);
}
.em-conv-bubble--sent {
background: rgba(201,168,76,0.07);
border-left-color: #c9a84c;
}
.em-conv-bubble--first {
margin-top: 0;
}
.em-conv-meta {
align-items: baseline;
display: flex;
gap: 0.75rem;
justify-content: space-between;
margin-bottom: 0.4rem;
flex-wrap: wrap;
}
.em-conv-meta-right {
align-items: baseline;
display: flex;
gap: 0.5rem;
}
.em-conv-author {
color: #f0ead8;
font-size: 0.82rem;
font-weight: 600;
}
.em-conv-date {
color: #b8a884;
font-family: system-ui, sans-serif;
font-size: 0.72rem;
white-space: nowrap;
}
.em-conv-subject {
color: #c9a84c;
font-size: 0.78rem;
font-weight: 500;
margin-bottom: 0.45rem;
opacity: 0.9;
}
.em-conv-body {
color: #d4c8a8;
font-size: 0.85rem;
line-height: 1.6;
margin: 0;
white-space: pre-wrap;
word-break: break-word;
}
.em-conv-body-wrap {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
/* ── Attachments ─────────────────────────────────────────────────────────── */
.em-attachments {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-top: 0.5rem;
}
.em-attachment-chip {
align-items: center;
background: rgba(255,255,255,0.06);
border: 1px solid rgba(255,255,255,0.12);
border-radius: 6px;
color: #d4c8a8;
display: inline-flex;
font-size: 0.78rem;
gap: 0.35rem;
padding: 0.3rem 0.65rem;
text-decoration: none;
transition: background 0.15s;
}
.em-attachment-chip:hover {
background: rgba(201,168,76,0.12);
border-color: rgba(201,168,76,0.3);
color: #f0ead8;
}
.em-attachment-icon { font-size: 0.85rem; }
.em-attachment-name {
max-width: 180px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.em-attachment-size {
color: #8a7a5a;
font-size: 0.7rem;
font-family: system-ui, sans-serif;
}
/* ── Bulk selection ──────────────────────────────────────────────────────── */
.em-bulk-bar {
align-items: center;
background: #1a1a24;
border-bottom: 1px solid rgba(201,168,76,0.25);
display: flex;
gap: 0.5rem;
padding: 0.5rem 1.25rem;
}
.em-bulk-count {
color: #c9a84c;
font-size: 0.82rem;
font-weight: 600;
margin-right: 0.25rem;
min-width: 6rem;
}
.em-list-toolbar {
border-bottom: 1px solid rgba(255,255,255,0.05);
display: flex;
gap: 0.5rem;
padding: 0.45rem 0.75rem;
}
.em-list-check {
accent-color: #c9a84c;
cursor: pointer;
flex-shrink: 0;
height: 1rem;
margin-right: 0.5rem;
width: 1rem;
}
.em-list-item--selected {
background: rgba(201,168,76,0.1) !important;
border-left-color: #c9a84c !important;
}
/* ── Star ─────────────────────────────────────────────────────────────────── */
.em-star-icon {
color: #c9a84c;
display: inline-block;
margin-right: 0.2rem;
}
.em-btn--star-active {
background: rgba(201,168,76,0.18);
border: 1px solid rgba(201,168,76,0.45);
border-radius: 6px;
color: #c9a84c;
cursor: pointer;
font-size: 0.85rem;
font-weight: 600;
padding: 0.45rem 0.9rem;
transition: background 0.15s;
}
.em-btn--star-active:hover {
background: rgba(201,168,76,0.28);
}
/* ── Snooze ──────────────────────────────────────────────────────────────── */
.em-snooze-wrap {
position: relative;
}
.em-snooze-picker {
background: #1c1c28;
border: 1px solid rgba(255,255,255,0.12);
border-radius: 8px;
bottom: calc(100% + 6px);
box-shadow: 0 8px 32px rgba(0,0,0,0.5);
display: flex;
flex-direction: column;
left: 0;
min-width: 200px;
overflow: hidden;
position: absolute;
z-index: 100;
}
.em-snooze-option {
background: none;
border: none;
border-bottom: 1px solid rgba(255,255,255,0.06);
color: #d4c8a8;
cursor: pointer;
font-size: 0.82rem;
padding: 0.7rem 1rem;
text-align: left;
transition: background 0.12s;
}
.em-snooze-option:hover { background: rgba(255,255,255,0.06); color: #f0ead8; }
.em-snooze-option--cancel { color: #f87171; border-bottom: none; }
.em-snooze-option--cancel:hover { background: rgba(220,38,38,0.12); }
.em-snooze-custom {
align-items: center;
border-top: 1px solid rgba(255,255,255,0.06);
display: flex;
gap: 0.5rem;
padding: 0.6rem;
}
/* ── Schedule send ───────────────────────────────────────────────────────── */
.em-schedule-wrap {
position: relative;
}
.em-schedule-picker {
background: #1c1c28;
border: 1px solid rgba(255,255,255,0.12);
border-radius: 8px;
bottom: calc(100% + 6px);
box-shadow: 0 8px 32px rgba(0,0,0,0.5);
display: flex;
flex-direction: column;
left: 0;
min-width: 220px;
overflow: hidden;
position: absolute;
z-index: 100;
}
.em-schedule-option {
background: none;
border: none;
border-bottom: 1px solid rgba(255,255,255,0.06);
color: #d4c8a8;
cursor: pointer;
font-size: 0.82rem;
padding: 0.7rem 1rem;
text-align: left;
transition: background 0.12s;
}
.em-schedule-option:hover { background: rgba(255,255,255,0.06); color: #f0ead8; }
.em-schedule-custom {
align-items: center;
border-top: 1px solid rgba(255,255,255,0.06);
display: flex;
gap: 0.5rem;
padding: 0.6rem;
}
@media (max-width: 600px) {
.ct-card { flex-direction: column; gap: 0.6rem; }
.ct-card-actions { flex-direction: row; }