gabriel / musehub public
_blame.scss
93 lines 3.4 KB
Raw
sha256:0997d6250ae6476362f6fe2025af7789f46d03df3e9f34356d5e8ee79b201923 fix(issues): use issue number as pagination cursor, not cre… Sonnet 4.6 patch 8 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 1 commit
sha256:0997d6250ae6476362f6fe2025af7789f46d03df3e9f34356d5e8ee79b201923 fix(issues): use issue number as pagination cursor, not cre… Sonnet 4.6 patch 8 days ago