fix(trash): Papierkorb-Eintrag als vertikale Karte, kompaktere Aktions-Buttons (UX im 380px-Panel)
This commit is contained in:
+16
-7
@@ -698,26 +698,35 @@ body.show-desc .bm-desc { display: block; }
|
|||||||
.trash-empty {
|
.trash-empty {
|
||||||
padding: 12px 18px; font-size: 12px; color: var(--text-muted);
|
padding: 12px 18px; font-size: 12px; color: var(--text-muted);
|
||||||
}
|
}
|
||||||
|
/* Vertikale Karte pro Eintrag: Info ueber volle Breite, Aktionen rechtsbuendig darunter.
|
||||||
|
Verhindert das Zusammenquetschen im schmalen 380px-Settings-Panel. */
|
||||||
.trash-item {
|
.trash-item {
|
||||||
display: flex; align-items: center; justify-content: space-between;
|
display: flex; flex-direction: column; gap: 8px;
|
||||||
gap: 10px; padding: 8px 18px;
|
padding: 10px 18px;
|
||||||
border-bottom: 1px solid rgba(255,255,255,0.03);
|
border-bottom: 1px solid rgba(255,255,255,0.04);
|
||||||
}
|
}
|
||||||
.trash-item:last-child { border-bottom: none; }
|
.trash-item:last-child { border-bottom: none; }
|
||||||
.trash-item-info { flex: 1; min-width: 0; }
|
.trash-item-info { min-width: 0; }
|
||||||
.trash-item-title {
|
.trash-item-title {
|
||||||
display: block; font-size: 13px; color: var(--text-primary);
|
display: block; font-size: 13px; color: var(--text-primary);
|
||||||
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
||||||
}
|
}
|
||||||
.trash-item-meta {
|
.trash-item-meta {
|
||||||
display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px;
|
display: block; font-size: 11px; color: var(--text-muted); margin-top: 3px;
|
||||||
|
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
||||||
}
|
}
|
||||||
.trash-item-badge {
|
.trash-item-badge {
|
||||||
font-size: 10px; padding: 2px 6px; border-radius: 4px;
|
display: inline-block; vertical-align: middle;
|
||||||
|
font-size: 9px; padding: 2px 6px; border-radius: 4px;
|
||||||
background: rgba(255,255,255,0.06); border: 1px solid var(--border);
|
background: rgba(255,255,255,0.06); border: 1px solid var(--border);
|
||||||
color: var(--text-muted); white-space: nowrap; margin-right: 6px;
|
color: var(--text-muted); white-space: nowrap; margin-right: 6px;
|
||||||
|
text-transform: uppercase; letter-spacing: 0.5px;
|
||||||
|
}
|
||||||
|
.trash-item-actions { display: flex; gap: 6px; justify-content: flex-end; }
|
||||||
|
/* Per-Eintrag-Buttons kompakt: das volle Uppercase-btn-danger ist pro Eintrag zu wuchtig. */
|
||||||
|
.trash-item-actions .btn-danger {
|
||||||
|
padding: 5px 10px; font-size: 11px; letter-spacing: 0.5px;
|
||||||
}
|
}
|
||||||
.trash-item-actions { display: flex; gap: 6px; flex-shrink: 0; }
|
|
||||||
.trash-actions { justify-content: flex-end; }
|
.trash-actions { justify-content: flex-end; }
|
||||||
.trash-actions.hidden { display: none; }
|
.trash-actions.hidden { display: none; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user