2026-03-27 19:05:42 -04:00
|
|
|
/* ================================================================
|
|
|
|
|
ticket.css — Tinker Tickets TDS v1.2
|
|
|
|
|
App-specific ticket view styles. base.css handles base components.
|
|
|
|
|
================================================================ */
|
|
|
|
|
|
|
|
|
|
/* ── Ticket frame ────────────────────────────────────────────── */
|
|
|
|
|
.lt-frame-ticket {
|
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Priority left-border accent on ticket frame */
|
|
|
|
|
.lt-frame-ticket[data-priority="1"] { border-left: 3px solid var(--lt-danger, #ff4d4d); }
|
|
|
|
|
.lt-frame-ticket[data-priority="2"] { border-left: 3px solid var(--lt-amber, #ffb000); }
|
|
|
|
|
.lt-frame-ticket[data-priority="3"] { border-left: 3px solid var(--lt-cyan, #00ffff); }
|
|
|
|
|
.lt-frame-ticket[data-priority="4"] { border-left: 3px solid var(--lt-text-primary, #00ff41); }
|
|
|
|
|
.lt-frame-ticket[data-priority="5"] { border-left: 3px solid rgba(0,255,65,0.3); }
|
|
|
|
|
|
|
|
|
|
/* ── Ticket title row ────────────────────────────────────────── */
|
|
|
|
|
.ticket-title-row {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
gap: 0.75rem;
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
}
|
|
|
|
|
.ticket-title-heading {
|
|
|
|
|
margin: 0;
|
|
|
|
|
font-size: 1.1rem;
|
|
|
|
|
line-height: 1.3;
|
|
|
|
|
flex: 1;
|
|
|
|
|
font-family: inherit;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
.ticket-id-badge {
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
padding-top: 0.15rem;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Edit mode — show editable fields as inputs ──────────────── */
|
|
|
|
|
body.edit-mode .editable[contenteditable="true"] {
|
|
|
|
|
border: 1px solid var(--lt-text-primary, #00ff41);
|
|
|
|
|
padding: 0.2rem 0.4rem;
|
|
|
|
|
outline: none;
|
|
|
|
|
background: rgba(0,255,65,0.03);
|
|
|
|
|
}
|
|
|
|
|
body.edit-mode .editable-metadata {
|
|
|
|
|
pointer-events: all;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Status select styling ───────────────────────────────────── */
|
|
|
|
|
.lt-status-select {
|
|
|
|
|
font-family: inherit;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
letter-spacing: 0.05em;
|
|
|
|
|
}
|
|
|
|
|
.lt-status-select.lt-status-open { color: var(--lt-success, #00ff41); border-color: var(--lt-success, #00ff41); }
|
|
|
|
|
.lt-status-select.lt-status-pending { color: var(--lt-amber, #ffb000); border-color: var(--lt-amber, #ffb000); }
|
|
|
|
|
.lt-status-select.lt-status-in-progress { color: var(--lt-cyan, #00ffff); border-color: var(--lt-cyan, #00ffff); }
|
|
|
|
|
.lt-status-select.lt-status-closed { color: var(--lt-danger, #ff4d4d); border-color: var(--lt-danger, #ff4d4d); }
|
|
|
|
|
|
|
|
|
|
/* ── Ticket meta KV grid ─────────────────────────────────────── */
|
|
|
|
|
.ticket-meta-grid {
|
|
|
|
|
margin-bottom: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Description textarea ────────────────────────────────────── */
|
|
|
|
|
#ticketDescription {
|
|
|
|
|
width: 100%;
|
|
|
|
|
resize: vertical;
|
|
|
|
|
min-height: 16rem;
|
|
|
|
|
font-family: inherit;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Comments ────────────────────────────────────────────────── */
|
|
|
|
|
.comments-list {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 0.75rem;
|
2026-01-01 19:45:49 -05:00
|
|
|
}
|
|
|
|
|
|
2026-03-27 19:05:42 -04:00
|
|
|
.comment {
|
|
|
|
|
position: relative;
|
|
|
|
|
padding: 0.75rem;
|
|
|
|
|
border: 1px solid rgba(0, 255, 65, 0.2);
|
2026-01-01 19:45:49 -05:00
|
|
|
}
|
2026-03-27 19:05:42 -04:00
|
|
|
.comment-reply {
|
2026-03-28 21:34:34 -04:00
|
|
|
/* depth-1 default; .thread-depth-N overrides for deeper nesting */
|
2026-03-27 19:05:42 -04:00
|
|
|
margin-left: 1.5rem;
|
|
|
|
|
border-color: rgba(0, 255, 65, 0.12);
|
2026-01-01 19:45:49 -05:00
|
|
|
}
|
2026-03-28 21:34:34 -04:00
|
|
|
/* Explicit depth overrides using combined selectors — higher specificity prevents
|
|
|
|
|
cascade order from determining winner when both classes are present */
|
|
|
|
|
.comment.thread-depth-2,
|
|
|
|
|
.comment-reply.thread-depth-2 { margin-left: 3rem; }
|
|
|
|
|
.comment.thread-depth-3,
|
|
|
|
|
.comment-reply.thread-depth-3 { margin-left: 4.5rem; }
|
2026-01-01 19:45:49 -05:00
|
|
|
|
2026-03-27 19:05:42 -04:00
|
|
|
.thread-line {
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: -1rem;
|
|
|
|
|
top: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
width: 2px;
|
|
|
|
|
background: rgba(0, 255, 65, 0.15);
|
2026-01-01 19:45:49 -05:00
|
|
|
}
|
|
|
|
|
|
2026-03-27 19:05:42 -04:00
|
|
|
.comment-header {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
margin-bottom: 0.4rem;
|
2026-01-01 19:45:49 -05:00
|
|
|
}
|
2026-03-27 19:05:42 -04:00
|
|
|
.comment-user { font-size: 0.75rem; font-weight: 600; }
|
|
|
|
|
.comment-date { font-size: 0.7rem; opacity: 0.6; }
|
|
|
|
|
.comment-actions { margin-left: auto; }
|
2026-01-01 19:45:49 -05:00
|
|
|
|
2026-03-27 19:05:42 -04:00
|
|
|
.comment-text {
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
white-space: pre-wrap;
|
|
|
|
|
word-break: break-word;
|
2026-01-01 19:45:49 -05:00
|
|
|
}
|
2026-03-27 19:05:42 -04:00
|
|
|
.comment-text[data-markdown] { white-space: normal; }
|
2026-01-06 23:22:25 -05:00
|
|
|
|
2026-03-27 19:05:42 -04:00
|
|
|
.comment-edited { font-size: 0.65rem; opacity: 0.5; }
|
2026-03-20 11:03:34 -04:00
|
|
|
|
2026-03-27 19:05:42 -04:00
|
|
|
/* Reply/edit inline textarea */
|
|
|
|
|
.comment-edit-raw {
|
|
|
|
|
width: 100%;
|
|
|
|
|
margin-top: 0.4rem;
|
|
|
|
|
resize: vertical;
|
|
|
|
|
min-height: 4rem;
|
2026-03-20 11:03:34 -04:00
|
|
|
}
|
|
|
|
|
|
2026-03-27 19:05:42 -04:00
|
|
|
/* Comment controls bar */
|
|
|
|
|
.comment-controls {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.75rem;
|
|
|
|
|
margin-top: 0.5rem;
|
2026-01-06 23:22:25 -05:00
|
|
|
}
|
2026-03-27 19:05:42 -04:00
|
|
|
.markdown-toggles {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
align-items: center;
|
2026-01-06 23:22:25 -05:00
|
|
|
}
|
|
|
|
|
|
2026-03-27 19:05:42 -04:00
|
|
|
/* Markdown preview */
|
|
|
|
|
.markdown-preview {
|
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
|
padding: 0.5rem;
|
|
|
|
|
border: 1px dashed rgba(0,255,65,0.3);
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
min-height: 2rem;
|
2026-01-06 23:22:25 -05:00
|
|
|
}
|
2026-01-20 09:55:01 -05:00
|
|
|
|
2026-03-27 19:05:42 -04:00
|
|
|
/* ── Upload zone ─────────────────────────────────────────────── */
|
2026-01-20 09:55:01 -05:00
|
|
|
.upload-zone {
|
2026-03-27 19:05:42 -04:00
|
|
|
border: 2px dashed rgba(0,255,65,0.4);
|
|
|
|
|
padding: 2rem 1rem;
|
|
|
|
|
text-align: center;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: border-color 0.2s, background 0.2s;
|
|
|
|
|
}
|
|
|
|
|
.upload-zone:hover,
|
|
|
|
|
.upload-zone:focus-visible,
|
2026-01-20 09:55:01 -05:00
|
|
|
.upload-zone.drag-over {
|
2026-03-27 19:05:42 -04:00
|
|
|
border-color: var(--lt-text-primary, #00ff41);
|
|
|
|
|
background: rgba(0,255,65,0.04);
|
|
|
|
|
outline: none;
|
2026-01-31 10:29:20 -05:00
|
|
|
}
|
2026-03-27 19:05:42 -04:00
|
|
|
.upload-zone-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
|
|
|
|
|
.upload-zone-content { pointer-events: none; }
|
2026-01-31 10:29:20 -05:00
|
|
|
|
2026-03-27 19:05:42 -04:00
|
|
|
/* Progress bar */
|
2026-01-20 09:55:01 -05:00
|
|
|
.progress-bar {
|
2026-03-27 19:05:42 -04:00
|
|
|
height: 4px;
|
|
|
|
|
background: rgba(0,255,65,0.15);
|
|
|
|
|
margin-top: 0.5rem;
|
2026-01-20 09:55:01 -05:00
|
|
|
}
|
|
|
|
|
.progress-fill {
|
2026-03-27 19:05:42 -04:00
|
|
|
height: 100%;
|
|
|
|
|
width: 0%;
|
|
|
|
|
background: var(--lt-text-primary, #00ff41);
|
|
|
|
|
transition: width 0.3s ease;
|
2026-01-31 10:29:20 -05:00
|
|
|
}
|
2026-03-27 19:05:42 -04:00
|
|
|
.upload-status-text { margin-top: 0.25rem; }
|
2026-01-31 10:29:20 -05:00
|
|
|
|
2026-03-27 19:05:42 -04:00
|
|
|
/* Attachments list */
|
|
|
|
|
.attachments-list {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 0.4rem;
|
2026-01-31 10:29:20 -05:00
|
|
|
}
|
|
|
|
|
|
2026-03-27 19:05:42 -04:00
|
|
|
/* ── Dependencies list ───────────────────────────────────────── */
|
|
|
|
|
.dependencies-list {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 0.4rem;
|
2026-03-20 11:08:52 -04:00
|
|
|
}
|
|
|
|
|
|
2026-03-27 19:05:42 -04:00
|
|
|
/* ── Visibility groups toggle ────────────────────────────────── */
|
|
|
|
|
.ticket-visibility-groups.is-hidden,
|
|
|
|
|
.is-hidden { display: none !important; }
|
2026-01-31 10:29:20 -05:00
|
|
|
|
2026-03-27 19:05:42 -04:00
|
|
|
/* ── Page header utility ─────────────────────────────────────── */
|
|
|
|
|
.lt-page-header {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 0.5rem 0 0.75rem;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
flex-wrap: wrap;
|
2026-01-31 10:29:20 -05:00
|
|
|
}
|
|
|
|
|
|
2026-03-27 19:05:42 -04:00
|
|
|
/* ── lt-select-sm ────────────────────────────────────────────── */
|
|
|
|
|
.lt-select-sm {
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
padding: 0.2rem 0.4rem;
|
2026-01-31 10:29:20 -05:00
|
|
|
}
|
|
|
|
|
|
2026-03-27 19:05:42 -04:00
|
|
|
/* ── lt-flex utilities ───────────────────────────────────────── */
|
|
|
|
|
.lt-flex-align-center { align-items: center; }
|
|
|
|
|
.lt-flex-gap-sm { gap: 0.5rem; }
|
|
|
|
|
.lt-flex-wrap { flex-wrap: wrap; }
|
2026-01-31 10:29:20 -05:00
|
|
|
|
2026-03-27 19:05:42 -04:00
|
|
|
/* ── Ticket tabs margin ──────────────────────────────────────── */
|
|
|
|
|
.lt-tabs {
|
|
|
|
|
margin-bottom: 0;
|
2026-01-31 10:29:20 -05:00
|
|
|
}
|
2026-03-27 19:05:42 -04:00
|
|
|
.lt-tab-panel {
|
|
|
|
|
margin-top: 0.5rem;
|
2026-01-31 10:29:20 -05:00
|
|
|
}
|
|
|
|
|
|
2026-03-27 19:05:42 -04:00
|
|
|
/* ── Settings section (also used in ticket settings modal) ───── */
|
|
|
|
|
.settings-section {
|
|
|
|
|
margin-bottom: 1.25rem;
|
2026-01-31 10:29:20 -05:00
|
|
|
}
|
2026-03-27 19:05:42 -04:00
|
|
|
.settings-section:last-child { margin-bottom: 0; }
|
2026-01-31 10:29:20 -05:00
|
|
|
|
2026-03-27 19:05:42 -04:00
|
|
|
.shortcut-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.75rem;
|
|
|
|
|
padding: 0.2rem 0;
|
2026-01-31 10:29:20 -05:00
|
|
|
}
|
2026-03-27 19:05:42 -04:00
|
|
|
kbd {
|
|
|
|
|
font-family: inherit;
|
|
|
|
|
font-size: 0.7rem;
|
|
|
|
|
padding: 0.1rem 0.35rem;
|
|
|
|
|
border: 1px solid rgba(0,255,65,0.4);
|
2026-01-23 22:10:29 -05:00
|
|
|
}
|
|
|
|
|
|
2026-03-27 19:05:42 -04:00
|
|
|
/* ── lt-mb-md ────────────────────────────────────────────────── */
|
|
|
|
|
.lt-mb-md { margin-bottom: 1rem; }
|
2026-01-23 22:10:29 -05:00
|
|
|
|
2026-03-27 19:05:42 -04:00
|
|
|
/* ── Responsive ──────────────────────────────────────────────── */
|
|
|
|
|
@media (max-width: 640px) {
|
|
|
|
|
.ticket-title-row {
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
.ticket-meta-grid .lt-kv-grid {
|
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
}
|
|
|
|
|
.comment-reply { margin-left: 0.75rem; }
|
|
|
|
|
.thread-depth-2 { margin-left: 1.5rem; }
|
|
|
|
|
.thread-depth-3 { margin-left: 2.25rem; }
|
2026-01-23 22:10:29 -05:00
|
|
|
}
|
2026-03-31 18:10:39 -04:00
|
|
|
|
2026-04-04 12:02:30 -04:00
|
|
|
/* ── Watcher avatar group in toolbar ────────────────────────── */
|
|
|
|
|
.lt-avatar-group {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
.lt-avatar-group .lt-avatar {
|
|
|
|
|
margin-left: -0.4rem;
|
|
|
|
|
border: 1px solid var(--bg-primary, #030508);
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
.lt-avatar-group .lt-avatar:first-child { margin-left: 0; }
|
|
|
|
|
.lt-avatar--overflow {
|
|
|
|
|
background: var(--bg-tertiary, #1a1f2e);
|
|
|
|
|
border: 1px solid var(--border-dim, rgba(0,255,65,0.2)) !important;
|
|
|
|
|
font-size: 0.55rem;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
cursor: default;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-31 18:10:39 -04:00
|
|
|
/* ── Description read view ───────────────────────────────────── */
|
|
|
|
|
/* Shown in read mode instead of a disabled (faded) textarea. */
|
|
|
|
|
/* Uses lt-markdown typography for full contrast on dark/OLED. */
|
|
|
|
|
.ticket-description-view {
|
|
|
|
|
min-height: 8rem;
|
|
|
|
|
padding: 0.5rem 0.25rem;
|
|
|
|
|
line-height: 1.75;
|
|
|
|
|
color: var(--text-primary);
|
2026-03-31 19:43:18 -04:00
|
|
|
/* pre-wrap preserves newlines and multiple spaces so ASCII art aligns correctly.
|
|
|
|
|
font-mono is inherited from body, so box-drawing characters line up. */
|
|
|
|
|
white-space: pre-wrap;
|
|
|
|
|
word-break: break-word;
|
2026-03-31 18:10:39 -04:00
|
|
|
}
|
|
|
|
|
.ticket-description-view p {
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
margin-bottom: 0.6rem;
|
|
|
|
|
}
|
|
|
|
|
.ticket-description-view p:last-child { margin-bottom: 0; }
|
2026-03-31 19:36:10 -04:00
|
|
|
|
2026-04-01 16:55:12 -04:00
|
|
|
/* Metadata selects use .lt-display-field (base.css) in read mode
|
|
|
|
|
instead of disabled — full opacity, non-interactive, no fading. */
|