Update project files

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
ANDREW HOSFORD
2026-04-07 11:59:48 -05:00
parent dd227be9b0
commit 0e8978f48c
50 changed files with 5878 additions and 241 deletions

View File

@@ -496,57 +496,6 @@
margin-top: 8px;
}
// Typeahead dropdown
.typeahead-container {
position: relative;
}
.typeahead-dropdown {
position: absolute;
top: 100%;
left: 0;
right: 0;
background: var(--bg-secondary);
border: 1px solid var(--border);
border-top: none;
border-radius: 0 0 6px 6px;
max-height: 200px;
overflow-y: auto;
z-index: 20;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.typeahead-option {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 10px;
cursor: pointer;
border-bottom: 1px solid var(--border);
&:last-child {
border-bottom: none;
}
&:hover, &.highlighted {
background: rgba(188, 140, 255, 0.1);
}
}
.typeahead-id {
color: #bc8cff;
font-weight: 600;
font-size: 12px;
white-space: nowrap;
}
.typeahead-title {
color: var(--text-secondary);
font-size: 12px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
// History styles
.clickable-title {
@@ -666,3 +615,221 @@
max-height: 150px;
overflow-y: auto;
}
.history-delta {
display: flex;
align-items: flex-start;
gap: 6px;
font-size: 12px;
margin-top: 2px;
}
.delta-old {
color: var(--text-muted);
text-decoration: line-through;
flex: 1;
white-space: pre-wrap;
word-break: break-word;
}
.delta-arrow {
color: var(--yellow);
flex-shrink: 0;
line-height: 1.4;
}
.delta-new {
color: var(--text-primary);
flex: 1;
white-space: pre-wrap;
word-break: break-word;
}
// ─── Orphan / Re-parent ──────────────────────────────────────────
.orphan-banner {
background: rgba(210, 153, 34, 0.08);
border: 1px dashed #d29922;
border-radius: 8px;
padding: 12px;
}
.orphan-label {
font-size: 12px;
font-weight: 600;
color: #d29922;
margin-bottom: 8px;
}
.reparent-error {
font-size: 12px;
color: var(--red);
margin-top: 4px;
}
.section-action {
background: none;
border: none;
color: var(--accent);
font-size: 11px;
cursor: pointer;
padding: 0 4px;
&:hover { text-decoration: underline; }
&.danger { color: var(--red, #f85149); }
}
// ─── Delete Dialog ────────────────────────────────────────────────
.delete-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.6);
display: flex;
align-items: center;
justify-content: center;
z-index: 100;
}
.delete-dialog {
background: var(--bg-secondary);
border: 1px solid var(--border);
border-radius: 10px;
width: 480px;
max-height: 70vh;
display: flex;
flex-direction: column;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}
.delete-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 16px;
border-bottom: 1px solid var(--border);
font-weight: 600;
font-size: 15px;
color: var(--text-primary);
}
.delete-close {
background: none;
border: none;
color: var(--text-secondary);
font-size: 16px;
cursor: pointer;
padding: 2px 6px;
&:hover { color: var(--text-primary); }
}
.delete-body {
padding: 12px 16px;
overflow-y: auto;
flex: 1;
}
.delete-desc {
font-size: 13px;
color: var(--text-secondary);
margin: 0 0 12px;
}
.delete-bulk-actions {
display: flex;
gap: 8px;
margin-bottom: 12px;
}
.bulk-btn {
background: var(--bg-tertiary);
border: 1px solid var(--border);
color: var(--text-secondary);
padding: 4px 12px;
border-radius: 4px;
font-size: 12px;
cursor: pointer;
&:hover { color: var(--text-primary); border-color: var(--text-muted); }
&.danger { color: var(--red); &:hover { border-color: var(--red); } }
}
.delete-children-list {
display: flex;
flex-direction: column;
gap: 6px;
}
.delete-child-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 8px 10px;
background: var(--bg-tertiary);
border: 1px solid var(--border);
border-radius: 6px;
}
.delete-child-info {
display: flex;
flex-direction: column;
gap: 2px;
min-width: 0;
flex: 1;
}
.delete-child-id {
font-size: 11px;
font-weight: 600;
color: var(--accent);
font-family: monospace;
}
.delete-child-title {
font-size: 13px;
color: var(--text-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.delete-child-desc {
font-size: 11px;
color: var(--text-muted);
}
.delete-child-toggle {
display: flex;
gap: 2px;
flex-shrink: 0;
}
.toggle-btn {
background: var(--bg-secondary);
border: 1px solid var(--border);
color: var(--text-muted);
padding: 3px 10px;
font-size: 11px;
cursor: pointer;
border-radius: 4px;
transition: all 0.15s;
&.active {
color: var(--text-primary);
border-color: var(--accent);
background: rgba(88, 166, 255, 0.1);
}
&.danger.active {
color: var(--red);
border-color: var(--red);
background: rgba(218, 54, 51, 0.1);
}
}
.delete-footer {
padding: 12px 16px;
border-top: 1px solid var(--border);
display: flex;
gap: 8px;
justify-content: flex-end;
}