gabriel / musehub public
_blame.scss
93 lines 3.4 KB
Raw
sha256:5601f81903b6c70ddd11bd88a5a257ee6dfd38aa3b85b19746c100c030657f1e chore: update smoke_muse.sh comment to reference rc9 Sonnet 4.6 minor ⚠ breaking 21 days ago
1 // ─────────────────────────────────────────────────────────────────────────────
2 // Page: Blame viewer (.blm-* layout)
3 // File: src/scss/pages/_blame.scss
4 //
5 // STRUCTURAL LAYOUT ONLY — zero colors, zero typography here.
6 // Visual rules live in components/_blame.scss.
7 // ─────────────────────────────────────────────────────────────────────────────
8
9 // ── Two-column layout ─────────────────────────────────────────────────────────
10
11 .blm-layout {
12 display: grid;
13 grid-template-columns: 256px 1fr;
14 gap: var(--space-4);
15 align-items: start;
16
17 @media (max-width: 900px) {
18 grid-template-columns: 1fr;
19 }
20 }
21
22 // ── Legend (left, sticky) ─────────────────────────────────────────────────────
23
24 .blm-legend {
25 position: sticky;
26 top: calc(var(--sticky-offset, 80px) + var(--space-4));
27 max-height: calc(100vh - var(--sticky-offset, 80px) - var(--space-8));
28 overflow-y: auto;
29 display: flex;
30 flex-direction: column;
31 }
32
33 // ── Content (right) ───────────────────────────────────────────────────────────
34
35 .blm-content {
36 min-width: 0;
37 display: flex;
38 flex-direction: column;
39 gap: var(--space-3);
40 }
41
42 // ── Symbol list ───────────────────────────────────────────────────────────────
43
44 .blm-symbol-list {
45 display: flex;
46 flex-direction: column;
47 gap: var(--space-2);
48 }
49
50 // ── Card summary ──────────────────────────────────────────────────────────────
51
52 .blm-card-summary {
53 display: flex;
54 align-items: center;
55 gap: var(--space-3);
56 }
57
58 .blm-card-main { flex: 1; min-width: 0; }
59
60 .blm-card-top {
61 display: flex;
62 align-items: center;
63 gap: var(--space-2);
64 margin-bottom: var(--space-1);
65 flex-wrap: wrap;
66 }
67
68 .blm-card-bottom {
69 display: flex;
70 align-items: center;
71 gap: var(--space-3);
72 flex-wrap: wrap;
73 }
74
75 // ── Code table ────────────────────────────────────────────────────────────────
76
77 .blm-code-table {
78 table-layout: fixed;
79 }
80
81 .blm-gutter { width: 56px; }
82 .blm-code-cell { width: calc(100% - 56px); overflow-x: auto; }
83
84 // ── History table ─────────────────────────────────────────────────────────────
85
86 .blm-history-table {
87 th:nth-child(1) { width: 28px; } // #
88 th:nth-child(2) { width: 80px; } // Commit
89 th:nth-child(3) { width: 64px; } // Op
90 th:nth-child(4) { width: auto; } // Message
91 th:nth-child(5) { width: 100px; } // Author
92 th:nth-child(6) { width: 80px; } // When
93 }
File History 2 commits
sha256:5601f81903b6c70ddd11bd88a5a257ee6dfd38aa3b85b19746c100c030657f1e chore: update smoke_muse.sh comment to reference rc9 Sonnet 4.6 minor 21 days ago
sha256:39e9c4e6f2134da0732e6983268a218178973936f8d7ca03c91f2b5ad42133c8 fix: use read_object_bytes in blob viewer; add zstd magic d… Sonnet 4.6 patch 21 days ago