_proposal-detail.scss
sha256:1dd27e6d5c24550177b01b0a171e8375c07cf046b549e7683364706b6522d3bc
docs(#139): mark all 11 checklist items resolved, document …
Sonnet 5
12 days ago
| 1 | // ───────────────────────────────────────────────────────────────────────────── |
| 2 | // Page: Proposal detail (/*/proposals/*) |
| 3 | // File: src/scss/pages/_proposal-detail.scss |
| 4 | // |
| 5 | // STRUCTURAL LAYOUT ONLY — zero colors, zero typography here. |
| 6 | // Visual rules live in components/_proposal-detail.scss. |
| 7 | // ───────────────────────────────────────────────────────────────────────────── |
| 8 | |
| 9 | // App-shell page (issue #139) — fills whatever the body shell leaves it. |
| 10 | .prd-page { |
| 11 | flex: 1; |
| 12 | min-height: 0; |
| 13 | overflow: hidden; |
| 14 | display: flex; |
| 15 | flex-direction: column; |
| 16 | |
| 17 | @media (max-width: 900px) { overflow: visible; } |
| 18 | } |
| 19 | |
| 20 | .prd-hero { |
| 21 | flex-shrink: 0; |
| 22 | } |
| 23 | |
| 24 | .prd-hero-inner { |
| 25 | position: relative; |
| 26 | max-width: 1200px; |
| 27 | margin: 0 auto; |
| 28 | padding: var(--space-8) var(--space-6) var(--space-5); |
| 29 | } |
| 30 | |
| 31 | .prd-eyebrow { |
| 32 | display: flex; |
| 33 | align-items: center; |
| 34 | gap: var(--space-3); |
| 35 | flex-wrap: wrap; |
| 36 | margin-bottom: var(--space-4); |
| 37 | } |
| 38 | |
| 39 | .prd-wrap { |
| 40 | flex: 1; |
| 41 | min-height: 0; |
| 42 | display: flex; |
| 43 | flex-direction: column; |
| 44 | |
| 45 | @media (max-width: 900px) { overflow: visible; } |
| 46 | } |
| 47 | |
| 48 | // Independently-scrolling columns — each is `flex: 1` within the |
| 49 | // app-shell's remaining space, not a calc()'d height. See |
| 50 | // docs/issues/two-column-app-shell-refactor.md. |
| 51 | .prd-layout { |
| 52 | display: grid; |
| 53 | grid-template-columns: 1fr 240px; |
| 54 | gap: var(--space-6); |
| 55 | align-items: stretch; |
| 56 | min-height: 0; |
| 57 | flex: 1; |
| 58 | padding: var(--space-4) var(--space-6) 0; |
| 59 | max-width: 1200px; |
| 60 | margin: 0 auto; |
| 61 | width: 100%; |
| 62 | |
| 63 | @media (max-width: 900px) { |
| 64 | grid-template-columns: 1fr; |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | .prd-main { |
| 69 | min-width: 0; |
| 70 | min-height: 0; |
| 71 | padding-bottom: var(--space-10); |
| 72 | overflow-y: auto; |
| 73 | scrollbar-width: thin; |
| 74 | scrollbar-color: var(--border-default) transparent; |
| 75 | |
| 76 | @media (max-width: 900px) { overflow-y: visible; } |
| 77 | } |
| 78 | |
| 79 | .proposal-sidebar { |
| 80 | display: flex; |
| 81 | flex-direction: column; |
| 82 | gap: 0; |
| 83 | min-height: 0; |
| 84 | overflow-y: auto; |
| 85 | scrollbar-width: thin; |
| 86 | scrollbar-color: var(--border-default) transparent; |
| 87 | padding-bottom: var(--space-10); |
| 88 | |
| 89 | // See isl-main's .card comment (_issues.scss) — direct children of a |
| 90 | // flex column shrink-to-fit by default instead of overflowing. |
| 91 | > * { |
| 92 | flex-shrink: 0; |
| 93 | } |
| 94 | |
| 95 | @media (max-width: 900px) { overflow-y: visible; } |
| 96 | } |
| 97 | |
| 98 | .proposal-sym-columns { |
| 99 | display: flex; |
| 100 | gap: var(--space-4); |
| 101 | flex-wrap: wrap; |
| 102 | margin-bottom: var(--space-3); |
| 103 | } |
| 104 | |
| 105 | .proposal-comment-form-actions { |
| 106 | display: flex; |
| 107 | justify-content: flex-end; |
| 108 | margin-top: var(--space-2); |
| 109 | } |
| 110 | |
| 111 | .proposal-strategies { |
| 112 | display: flex; |
| 113 | flex-direction: column; |
| 114 | gap: 6px; |
| 115 | margin-bottom: var(--space-4); |
| 116 | } |
| 117 | |
| 118 | .proposal-merge-actions { |
| 119 | display: flex; |
| 120 | align-items: center; |
| 121 | gap: var(--space-4); |
| 122 | flex-wrap: wrap; |
| 123 | } |
| 124 | |
| 125 | .proposal-timeline { |
| 126 | display: flex; |
| 127 | flex-direction: column; |
| 128 | gap: 0; |
| 129 | } |
| 130 | |
| 131 | .proposal-div-overview { |
| 132 | display: flex; |
| 133 | align-items: center; |
| 134 | gap: var(--space-4); |
| 135 | margin-bottom: var(--space-3); |
| 136 | } |
| 137 | |
| 138 | .proposal-risk-band-inner { |
| 139 | position: relative; |
| 140 | display: flex; |
| 141 | align-items: center; |
| 142 | gap: 1.5rem; |
| 143 | padding: 0.85rem 1.25rem; |
| 144 | flex-wrap: wrap; |
| 145 | } |
| 146 | |
| 147 | .proposal-risk-score { |
| 148 | display: flex; |
| 149 | align-items: center; |
| 150 | gap: 0.6rem; |
| 151 | flex-shrink: 0; |
| 152 | } |
| 153 | |
| 154 | .proposal-risk-label-wrap { |
| 155 | display: flex; |
| 156 | flex-direction: column; |
| 157 | gap: 0.1rem; |
| 158 | } |
| 159 | |
| 160 | .proposal-risk-dims { |
| 161 | display: flex; |
| 162 | align-items: center; |
| 163 | gap: 0; |
| 164 | flex-wrap: wrap; |
| 165 | flex: 1; |
| 166 | } |
| 167 | |
| 168 | .proposal-risk-dim { |
| 169 | display: flex; |
| 170 | flex-direction: column; |
| 171 | align-items: center; |
| 172 | padding: 0 0.9rem; |
| 173 | &:first-child { padding-left: 0; } |
| 174 | } |
File History
2 commits
sha256:1dd27e6d5c24550177b01b0a171e8375c07cf046b549e7683364706b6522d3bc
docs(#139): mark all 11 checklist items resolved, document …
Sonnet 5
12 days ago
sha256:649011bedd713e22f7dca4c4be94bdefbf3b10950d9fc80235928d0b0b823be8
docs: track issue #139 (two-column app-shell refactor) plan…
Sonnet 5
12 days ago