@@ -1175,3 +1175,91 @@ code { |
| 1175 | .shithub-settings-branches form label { display: block; margin: 0.5rem 0; } | 1175 | .shithub-settings-branches form label { display: block; margin: 0.5rem 0; } |
| 1176 | .shithub-settings-branches form input[type=text], | 1176 | .shithub-settings-branches form input[type=text], |
| 1177 | .shithub-settings-branches form select { font: inherit; padding: 0.4rem 0.6rem; border: 1px solid var(--border-default); border-radius: 6px; min-width: 280px; } | 1177 | .shithub-settings-branches form select { font: inherit; padding: 0.4rem 0.6rem; border: 1px solid var(--border-default); border-radius: 6px; min-width: 280px; } |
| | 1178 | + |
| | 1179 | +/* ========== Issues / Labels / Milestones (S21) ========== */ |
| | 1180 | +.shithub-issues, .shithub-issue-view, .shithub-issue-new, .shithub-labels, .shithub-milestones { |
| | 1181 | + max-width: 64rem; |
| | 1182 | + margin: 1.5rem auto; |
| | 1183 | + padding: 0 1rem; |
| | 1184 | +} |
| | 1185 | +.shithub-issues-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; } |
| | 1186 | +.shithub-issues-actions { display: flex; gap: 0.4rem; } |
| | 1187 | +.shithub-issues-filter { display: flex; gap: 1.5rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border-default); margin: 1rem 0; } |
| | 1188 | +.shithub-issues-tab { color: var(--fg-muted); padding: 0.25rem 0; border-bottom: 2px solid transparent; } |
| | 1189 | +.shithub-issues-tab-active { color: var(--fg-default); border-bottom-color: var(--accent-emphasis, #0969da); font-weight: 600; } |
| | 1190 | +.shithub-issues-dot { display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; vertical-align: middle; margin-right: 0.25rem; } |
| | 1191 | +.shithub-issues-dot-open { background: #1a7f37; } |
| | 1192 | +.shithub-issues-dot-closed { background: #8250df; } |
| | 1193 | +.shithub-issues-list { list-style: none; padding: 0; margin: 0; } |
| | 1194 | +.shithub-issues-row { |
| | 1195 | + display: flex; gap: 0.75rem; align-items: flex-start; |
| | 1196 | + padding: 0.75rem 0.5rem; |
| | 1197 | + border-bottom: 1px solid var(--border-default); |
| | 1198 | +} |
| | 1199 | +.shithub-issues-state { font-size: 1.1rem; line-height: 1.2; } |
| | 1200 | +.shithub-issues-state-open { color: #1a7f37; } |
| | 1201 | +.shithub-issues-state-closed { color: #8250df; } |
| | 1202 | +.shithub-issues-body { flex: 1; } |
| | 1203 | +.shithub-issues-title { font-weight: 600; color: var(--fg-default); } |
| | 1204 | +.shithub-issues-title:hover { color: var(--accent-emphasis, #0969da); } |
| | 1205 | +.shithub-issues-meta { color: var(--fg-muted); font-size: 0.85rem; margin-top: 0.2rem; } |
| | 1206 | +.shithub-issues-assignees { font-size: 0.85rem; } |
| | 1207 | +.shithub-issues-empty { color: var(--fg-muted); padding: 2rem; text-align: center; border: 1px dashed var(--border-default); border-radius: 6px; } |
| | 1208 | +.shithub-issue-num { color: var(--fg-muted); font-weight: 400; margin-left: 0.5rem; } |
| | 1209 | +.shithub-issue-title { display: flex; gap: 0.5rem; align-items: baseline; flex-wrap: wrap; } |
| | 1210 | +.shithub-issue-meta { color: var(--fg-muted); margin: 0.5rem 0 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; } |
| | 1211 | +.shithub-issue-grid { display: grid; grid-template-columns: 1fr 16rem; gap: 1.5rem; } |
| | 1212 | +@media (max-width: 768px) { .shithub-issue-grid { grid-template-columns: 1fr; } } |
| | 1213 | +.shithub-comment { |
| | 1214 | + border: 1px solid var(--border-default); |
| | 1215 | + border-radius: 6px; |
| | 1216 | + margin-bottom: 1rem; |
| | 1217 | + background: var(--canvas-default); |
| | 1218 | +} |
| | 1219 | +.shithub-comment-head { |
| | 1220 | + padding: 0.5rem 0.75rem; |
| | 1221 | + background: var(--canvas-subtle); |
| | 1222 | + border-bottom: 1px solid var(--border-default); |
| | 1223 | + font-size: 0.9rem; |
| | 1224 | + color: var(--fg-muted); |
| | 1225 | +} |
| | 1226 | +.shithub-comment-body { padding: 0.75rem; } |
| | 1227 | +.shithub-event { color: var(--fg-muted); font-size: 0.85rem; padding: 0.4rem 0.75rem; border-left: 2px solid var(--border-default); margin-left: 0.75rem; } |
| | 1228 | +.shithub-event-kind { text-transform: lowercase; } |
| | 1229 | +.shithub-comment-form { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; } |
| | 1230 | +.shithub-comment-form textarea, .shithub-issue-form textarea, .shithub-issue-form input[type=text] { |
| | 1231 | + font: inherit; padding: 0.5rem; border: 1px solid var(--border-default); border-radius: 6px; width: 100%; |
| | 1232 | + resize: vertical; |
| | 1233 | +} |
| | 1234 | +.shithub-issue-form { display: flex; flex-direction: column; gap: 1rem; max-width: 48rem; } |
| | 1235 | +.shithub-form-row { display: flex; flex-direction: column; gap: 0.25rem; } |
| | 1236 | +.shithub-form-row span { font-weight: 600; font-size: 0.9rem; } |
| | 1237 | +.shithub-form-actions { display: flex; gap: 0.5rem; justify-content: flex-end; } |
| | 1238 | +.shithub-issue-sidebar section { padding: 0.75rem 0; border-bottom: 1px solid var(--border-default); } |
| | 1239 | +.shithub-issue-sidebar h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--fg-muted); margin: 0 0 0.5rem; } |
| | 1240 | +.shithub-issue-signedout { color: var(--fg-muted); padding: 1rem; text-align: center; border: 1px dashed var(--border-default); border-radius: 6px; } |
| | 1241 | +.shithub-label { |
| | 1242 | + display: inline-block; |
| | 1243 | + font-size: 0.75rem; |
| | 1244 | + padding: 0.1rem 0.5rem; |
| | 1245 | + border-radius: 1rem; |
| | 1246 | + color: #1f2328; |
| | 1247 | + font-weight: 500; |
| | 1248 | + margin: 0 0.15rem; |
| | 1249 | +} |
| | 1250 | +.shithub-label-pick { display: flex; gap: 0.4rem; align-items: center; padding: 0.2rem 0; } |
| | 1251 | +.shithub-assignee-form { display: flex; gap: 0.25rem; flex-wrap: wrap; margin-top: 0.5rem; } |
| | 1252 | +.shithub-assignee-form input[type=text] { padding: 0.3rem 0.5rem; border: 1px solid var(--border-default); border-radius: 6px; } |
| | 1253 | +.shithub-labels-list, .shithub-milestones-list { list-style: none; padding: 0; } |
| | 1254 | +.shithub-labels-row, .shithub-milestones-row { |
| | 1255 | + padding: 0.75rem 0; |
| | 1256 | + border-bottom: 1px solid var(--border-default); |
| | 1257 | + display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; |
| | 1258 | +} |
| | 1259 | +.shithub-label-form, .shithub-milestone-form { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.5rem 0; } |
| | 1260 | +.shithub-label-form input, .shithub-milestone-form input, .shithub-milestone-form textarea { |
| | 1261 | + padding: 0.4rem 0.6rem; border: 1px solid var(--border-default); border-radius: 6px; font: inherit; |
| | 1262 | +} |
| | 1263 | +.shithub-button-danger { color: #cf222e; } |
| | 1264 | +.shithub-error { padding: 0.75rem; background: #ffebe9; border: 1px solid #ffcecb; border-radius: 6px; color: #82061e; margin-bottom: 1rem; } |
| | 1265 | +.shithub-muted { color: var(--fg-muted); } |