gabriel / musehub public
_dead.scss
136 lines 3.9 KB
Raw
sha256:3ff9c9863a9891bdcde71b4a43228f66d0493e38b7cc1d09fe9eb7de774046b2 feat: add repair-commit wire endpoint (API parity with repa… Opus 4.8 minor ⚠ breaking 1 day ago
1 // ─────────────────────────────────────────────────────────────────────────────
2 // Component: Dead Code (.dead-* prefix)
3 // File: src/scss/components/_dead.scss
4 //
5 // Visual rules only — colors, typography, backgrounds, borders, transitions.
6 // Structural layout lives in pages/_dead.scss.
7 // ─────────────────────────────────────────────────────────────────────────────
8
9 // ── Page header ───────────────────────────────────────────────────────────────
10
11 .intel-page-header {
12 border-bottom: 1px solid var(--border-default);
13 background: var(--bg-surface);
14 }
15
16 .intel-page-title {
17 font-weight: 700;
18 letter-spacing: 0.06em;
19 text-transform: uppercase;
20 }
21
22 .intel-page-desc {
23 font-size: 0.78rem;
24 color: var(--text-muted);
25 font-family: var(--font-mono);
26 }
27
28 // ── Stat cards ────────────────────────────────────────────────────────────────
29
30 .dead-stat-card {
31 background: var(--bg-elevated);
32 border: 1px solid var(--border-default);
33 border-radius: var(--radius-md);
34 text-align: center;
35 }
36
37 .dead-stat-value {
38 font-size: 1.6rem;
39 font-weight: 700;
40 font-family: var(--font-mono);
41 color: var(--text-primary);
42 line-height: 1;
43
44 &.color-danger { color: var(--color-danger); }
45 &.text-muted { color: var(--text-muted); }
46 }
47
48 .dead-stat-label {
49 font-size: 0.65rem;
50 font-weight: 600;
51 letter-spacing: 0.08em;
52 text-transform: uppercase;
53 color: var(--text-muted);
54 }
55
56 // ── Confidence group ──────────────────────────────────────────────────────────
57
58 .dead-group {
59 background: var(--bg-surface);
60 border: 1px solid var(--border-default);
61 border-radius: var(--radius-md);
62 overflow: hidden;
63 }
64
65 .dead-group-header {
66 background: var(--bg-surface);
67 font-size: 0.75rem;
68 font-weight: 600;
69 letter-spacing: 0.05em;
70 color: var(--text-primary);
71 }
72
73 .dead-group-dot {
74 width: 8px;
75 height: 8px;
76 border-radius: 50%;
77 background: var(--text-muted);
78 flex-shrink: 0;
79
80 &.dot-danger { background: var(--color-danger); }
81 &.dot-warning { background: var(--color-warning); }
82 }
83
84 .dead-group-desc {
85 font-size: 0.72rem;
86 color: var(--text-muted);
87 font-weight: 400;
88 font-family: var(--font-mono);
89 }
90
91 // ── Row ───────────────────────────────────────────────────────────────────────
92
93 .dead-row {
94 border-top: 1px solid var(--border-subtle);
95 transition: background 120ms ease;
96
97 &:hover { background: var(--bg-hover); }
98 }
99
100 .dead-rank {
101 font-size: 0.7rem;
102 color: var(--text-muted);
103 font-family: var(--font-mono);
104 flex-shrink: 0;
105 min-width: 1.5rem;
106 text-align: right;
107 }
108
109 .dead-address {
110 font-family: var(--font-mono);
111 font-size: 0.82rem;
112 min-width: 0;
113 overflow: hidden;
114 text-overflow: ellipsis;
115 white-space: nowrap;
116
117 a {
118 color: var(--color-accent-link);
119 text-decoration: none;
120 &:hover { text-decoration: underline; }
121 }
122 }
123
124 .dead-meta {
125 font-size: 0.72rem;
126 color: var(--text-muted);
127 white-space: nowrap;
128 overflow: hidden;
129 text-overflow: ellipsis;
130 }
131
132 // ── Dismiss form ──────────────────────────────────────────────────────────────
133
134 .dead-dismiss-form {
135 display: contents;
136 }
File History 1 commit
sha256:3ff9c9863a9891bdcde71b4a43228f66d0493e38b7cc1d09fe9eb7de774046b2 feat: add repair-commit wire endpoint (API parity with repa… Opus 4.8 minor 1 day ago