gabriel / musehub public
_coupling.scss
90 lines 2.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 // Page: File Co-change Coupling (.cp-* layout)
3 // File: src/scss/pages/_coupling.scss
4 //
5 // STRUCTURAL LAYOUT ONLY — zero colors, zero typography here.
6 // Visual rules live in components/_coupling.scss.
7 // ─────────────────────────────────────────────────────────────────────────────
8
9 .cp-wrap { padding: 0; }
10
11 // ── Intel page header ─────────────────────────────────────────────────────────
12
13 .intel-page-header {
14 margin-bottom: 1.25rem;
15 }
16
17 // ── Filter bar ────────────────────────────────────────────────────────────────
18
19 .cp-filter-bar {
20 display: flex;
21 align-items: center;
22 gap: 0.75rem;
23 margin-bottom: 1rem;
24 flex-wrap: wrap;
25 }
26
27 .cp-filter-group {
28 display: flex;
29 align-items: center;
30 gap: 0.4rem;
31 }
32
33 // ── Pair list ─────────────────────────────────────────────────────────────────
34
35 .cp-list {
36 display: flex;
37 flex-direction: column;
38 }
39
40 .cp-pair-row {
41 display: grid;
42 grid-template-columns: 1fr auto;
43 grid-template-rows: auto auto;
44 gap: 0.35rem 0.75rem;
45 padding: 0.75rem 1rem;
46 align-items: center;
47 }
48
49 // ── File path pair — inline ───────────────────────────────────────────────────
50
51 .cp-files {
52 grid-column: 1;
53 grid-row: 1;
54 display: flex;
55 align-items: baseline;
56 gap: 0.5rem;
57 min-width: 0;
58 overflow: hidden;
59 font-family: var(--font-mono);
60 font-size: 0.8rem;
61 }
62
63 .cp-file-a,
64 .cp-file-b {
65 overflow: hidden;
66 text-overflow: ellipsis;
67 white-space: nowrap;
68 flex-shrink: 1;
69 }
70
71 // ── Count ─────────────────────────────────────────────────────────────────────
72
73 .cp-count {
74 grid-column: 2;
75 grid-row: 1;
76 flex-shrink: 0;
77 align-self: center;
78 }
79
80 // ── Bar ───────────────────────────────────────────────────────────────────────
81
82 .cp-bar-wrap {
83 grid-column: 1 / span 2;
84 grid-row: 2;
85 }
86
87 .cp-bar-track {
88 width: 100%;
89 height: 3px;
90 }
File History 1 commit
sha256:3ff9c9863a9891bdcde71b4a43228f66d0493e38b7cc1d09fe9eb7de774046b2 feat: add repair-commit wire endpoint (API parity with repa… Opus 4.8 minor 1 day ago