| 1 | /* SPDX-License-Identifier: AGPL-3.0-or-later */ |
| 2 | /* |
| 3 | * shithub — base styles. |
| 4 | * |
| 5 | * S02 layers our own chrome over the Primer CSS that ships in |
| 6 | * /static/primer/primer.css. We pull a small set of token overrides so the |
| 7 | * theme system (light / dark / auto / high-contrast) drives everything via |
| 8 | * CSS custom properties. |
| 9 | * |
| 10 | * Color tokens follow Primer's naming so most of these become migration |
| 11 | * candidates as Primer's primitives stabilize. |
| 12 | */ |
| 13 | |
| 14 | :root { |
| 15 | --canvas-default: #ffffff; |
| 16 | --canvas-subtle: #f6f8fa; |
| 17 | --canvas-inset: #eaeef2; |
| 18 | --fg-default: #1f2328; |
| 19 | --fg-muted: #59636e; |
| 20 | --border-default: #d0d7de; |
| 21 | --border-muted: #d8dee4; |
| 22 | --accent-fg: #0969da; |
| 23 | --accent-emphasis: #0969da; |
| 24 | --accent-subtle: #fff8c5; /* GitHub's "you-are-here" line highlight */ |
| 25 | --success-fg: #1a7f37; |
| 26 | --success-emphasis: #1f883d; |
| 27 | --success-emphasis-hover: #1a7f37; |
| 28 | --button-default-bg: #f6f8fa; |
| 29 | --button-default-hover-bg: #f3f4f6; |
| 30 | --danger-fg: #cf222e; |
| 31 | --shithub-mark: var(--danger-fg); |
| 32 | } |
| 33 | |
| 34 | [data-theme="dark"] { |
| 35 | --canvas-default: #0d1117; |
| 36 | --canvas-subtle: #161b22; |
| 37 | --canvas-inset: #010409; |
| 38 | --fg-default: #f0f6fc; |
| 39 | --fg-muted: #9198a1; |
| 40 | --border-default: #3d444d; |
| 41 | --border-muted: #232a33; |
| 42 | --accent-fg: #4493f8; |
| 43 | --accent-emphasis: #1f6feb; |
| 44 | --accent-subtle: rgba(187, 128, 9, 0.15); /* dark-mode :target wash */ |
| 45 | --success-fg: #3fb950; |
| 46 | --success-emphasis: #238636; |
| 47 | --success-emphasis-hover: #2ea043; |
| 48 | --button-default-bg: #21262d; |
| 49 | --button-default-hover-bg: #30363d; |
| 50 | --danger-fg: #f85149; |
| 51 | } |
| 52 | |
| 53 | [data-theme="high-contrast"] { |
| 54 | --canvas-default: #000000; |
| 55 | --canvas-subtle: #0a0c10; |
| 56 | --canvas-inset: #000000; |
| 57 | --fg-default: #ffffff; |
| 58 | --fg-muted: #d9dee3; |
| 59 | --border-default: #7a828e; |
| 60 | --border-muted: #525964; |
| 61 | --accent-fg: #71b7ff; |
| 62 | --accent-emphasis: #409eff; |
| 63 | --accent-subtle: rgba(255, 215, 0, 0.25); |
| 64 | --success-fg: #4ed162; |
| 65 | --success-emphasis: #2ea043; |
| 66 | --success-emphasis-hover: #3fb950; |
| 67 | --button-default-bg: #0a0c10; |
| 68 | --button-default-hover-bg: #1c222a; |
| 69 | --danger-fg: #ff6a69; |
| 70 | } |
| 71 | |
| 72 | * { box-sizing: border-box; } |
| 73 | |
| 74 | html, body { |
| 75 | margin: 0; |
| 76 | padding: 0; |
| 77 | background: var(--canvas-default); |
| 78 | color: var(--fg-default); |
| 79 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif; |
| 80 | font-size: 16px; |
| 81 | line-height: 1.5; |
| 82 | } |
| 83 | |
| 84 | a { |
| 85 | color: var(--accent-fg); |
| 86 | text-decoration: none; |
| 87 | } |
| 88 | a:hover { text-decoration: underline; } |
| 89 | |
| 90 | code { |
| 91 | font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; |
| 92 | font-size: 0.875em; |
| 93 | background: var(--canvas-subtle); |
| 94 | padding: 0.1em 0.35em; |
| 95 | border-radius: 4px; |
| 96 | } |
| 97 | |
| 98 | /* ========== Nav ========== */ |
| 99 | |
| 100 | .shithub-body { |
| 101 | min-height: 100vh; |
| 102 | display: flex; |
| 103 | flex-direction: column; |
| 104 | } |
| 105 | |
| 106 | .shithub-nav { |
| 107 | display: block; |
| 108 | background: var(--canvas-subtle); |
| 109 | border-bottom: 1px solid var(--border-default); |
| 110 | } |
| 111 | |
| 112 | .shithub-nav-global { |
| 113 | display: flex; |
| 114 | align-items: center; |
| 115 | flex-wrap: wrap; |
| 116 | gap: 0.75rem; |
| 117 | min-height: 64px; |
| 118 | padding: 0.75rem 1rem; |
| 119 | } |
| 120 | |
| 121 | .shithub-nav.has-context .shithub-nav-global { |
| 122 | min-height: 56px; |
| 123 | padding-bottom: 0.35rem; |
| 124 | } |
| 125 | |
| 126 | .shithub-nav-context { |
| 127 | display: flex; |
| 128 | align-items: center; |
| 129 | gap: 0.55rem; |
| 130 | min-width: 0; |
| 131 | } |
| 132 | |
| 133 | .shithub-nav-menu { |
| 134 | display: inline-flex; |
| 135 | align-items: center; |
| 136 | justify-content: center; |
| 137 | flex: 0 0 auto; |
| 138 | width: 32px; |
| 139 | height: 32px; |
| 140 | padding: 0; |
| 141 | border: 1px solid var(--border-default); |
| 142 | border-radius: 6px; |
| 143 | color: var(--fg-default); |
| 144 | background: transparent; |
| 145 | cursor: pointer; |
| 146 | } |
| 147 | .shithub-nav-menu:hover { background: var(--canvas-inset); } |
| 148 | |
| 149 | .shithub-nav-brand { |
| 150 | display: flex; |
| 151 | align-items: center; |
| 152 | justify-content: center; |
| 153 | gap: 0.5rem; |
| 154 | min-height: 32px; |
| 155 | color: var(--fg-default); |
| 156 | font-weight: 600; |
| 157 | } |
| 158 | .shithub-nav-brand:hover { text-decoration: none; } |
| 159 | .shithub-nav-brand svg { color: var(--shithub-mark); } |
| 160 | .shithub-nav.has-context .shithub-nav-brand-word { display: none; } |
| 161 | |
| 162 | .shithub-nav-breadcrumb { |
| 163 | display: inline-flex; |
| 164 | align-items: center; |
| 165 | gap: 0.45rem; |
| 166 | min-width: 0; |
| 167 | font-size: 0.95rem; |
| 168 | font-weight: 600; |
| 169 | white-space: nowrap; |
| 170 | } |
| 171 | .shithub-nav-breadcrumb a { |
| 172 | color: var(--fg-default); |
| 173 | } |
| 174 | .shithub-nav-breadcrumb .is-strong { |
| 175 | font-weight: 700; |
| 176 | } |
| 177 | .shithub-nav-breadcrumb span { |
| 178 | color: var(--fg-muted); |
| 179 | } |
| 180 | |
| 181 | .shithub-nav-links { |
| 182 | display: flex; |
| 183 | gap: 1rem; |
| 184 | flex: 0 0 auto; |
| 185 | } |
| 186 | .shithub-nav-links a { |
| 187 | color: var(--fg-default); |
| 188 | font-size: 0.9rem; |
| 189 | } |
| 190 | .shithub-nav:not(.has-context) .shithub-nav-links { flex: 1; } |
| 191 | .shithub-nav.has-context .shithub-nav-links { display: none; } |
| 192 | |
| 193 | .shithub-nav-actions { |
| 194 | display: flex; |
| 195 | gap: 0.5rem; |
| 196 | align-items: center; |
| 197 | flex-shrink: 0; |
| 198 | } |
| 199 | .shithub-nav-new { |
| 200 | display: inline-flex; |
| 201 | align-items: center; |
| 202 | gap: 0.35rem; |
| 203 | } |
| 204 | .shithub-nav-local { |
| 205 | padding: 0 1rem; |
| 206 | overflow-x: auto; |
| 207 | overflow-y: hidden; |
| 208 | overscroll-behavior-x: contain; |
| 209 | scrollbar-width: none; |
| 210 | } |
| 211 | .shithub-nav-local::-webkit-scrollbar { |
| 212 | display: none; |
| 213 | } |
| 214 | .shithub-nav-local .shithub-repo-subnav, |
| 215 | .shithub-nav-local .shithub-org-nav { |
| 216 | margin: 0; |
| 217 | padding: 0; |
| 218 | border-bottom: 0; |
| 219 | overflow: visible; |
| 220 | } |
| 221 | |
| 222 | .shithub-offcanvas-open { |
| 223 | overflow: hidden; |
| 224 | } |
| 225 | .shithub-offcanvas { |
| 226 | position: fixed; |
| 227 | inset: 0; |
| 228 | z-index: 120; |
| 229 | } |
| 230 | .shithub-offcanvas[hidden] { |
| 231 | display: none; |
| 232 | } |
| 233 | .shithub-offcanvas-backdrop { |
| 234 | position: absolute; |
| 235 | inset: 0; |
| 236 | width: 100%; |
| 237 | height: 100%; |
| 238 | padding: 0; |
| 239 | border: 0; |
| 240 | background: rgba(1, 4, 9, 0.58); |
| 241 | cursor: default; |
| 242 | } |
| 243 | .shithub-offcanvas-panel { |
| 244 | position: relative; |
| 245 | width: min(320px, calc(100vw - 14px)); |
| 246 | min-height: 100vh; |
| 247 | max-height: 100vh; |
| 248 | display: flex; |
| 249 | flex-direction: column; |
| 250 | padding: 1rem 0.5rem; |
| 251 | color: var(--fg-default); |
| 252 | background: var(--canvas-inset); |
| 253 | border: 1px solid var(--border-default); |
| 254 | border-left: 0; |
| 255 | border-radius: 0 12px 12px 0; |
| 256 | box-shadow: 16px 0 48px rgba(1, 4, 9, 0.42); |
| 257 | overflow-y: auto; |
| 258 | } |
| 259 | .shithub-offcanvas-head { |
| 260 | display: flex; |
| 261 | align-items: center; |
| 262 | justify-content: space-between; |
| 263 | gap: 1rem; |
| 264 | padding: 0 0.5rem 1.1rem; |
| 265 | } |
| 266 | .shithub-offcanvas-mark { |
| 267 | display: inline-flex; |
| 268 | color: var(--fg-default); |
| 269 | } |
| 270 | .shithub-offcanvas-mark:hover { |
| 271 | text-decoration: none; |
| 272 | } |
| 273 | .shithub-offcanvas-mark svg { |
| 274 | width: 32px; |
| 275 | height: 32px; |
| 276 | color: var(--fg-default); |
| 277 | } |
| 278 | .shithub-offcanvas-close { |
| 279 | display: inline-flex; |
| 280 | align-items: center; |
| 281 | justify-content: center; |
| 282 | width: 32px; |
| 283 | height: 32px; |
| 284 | padding: 0; |
| 285 | border: 0; |
| 286 | border-radius: 6px; |
| 287 | color: var(--fg-muted); |
| 288 | background: transparent; |
| 289 | cursor: pointer; |
| 290 | } |
| 291 | .shithub-offcanvas-close:hover { |
| 292 | color: var(--fg-default); |
| 293 | background: var(--canvas-subtle); |
| 294 | } |
| 295 | .shithub-offcanvas-nav { |
| 296 | display: flex; |
| 297 | flex-direction: column; |
| 298 | gap: 0.125rem; |
| 299 | padding: 0 0.25rem 0.75rem; |
| 300 | } |
| 301 | .shithub-offcanvas-nav-secondary { |
| 302 | padding-top: 0.75rem; |
| 303 | border-top: 1px solid var(--border-default); |
| 304 | } |
| 305 | .shithub-offcanvas-link { |
| 306 | display: flex; |
| 307 | align-items: center; |
| 308 | gap: 0.65rem; |
| 309 | min-height: 32px; |
| 310 | padding: 0.35rem 0.5rem; |
| 311 | border-radius: 6px; |
| 312 | color: var(--fg-default); |
| 313 | font-size: 0.875rem; |
| 314 | font-weight: 600; |
| 315 | } |
| 316 | .shithub-offcanvas-link:hover, |
| 317 | .shithub-offcanvas-link:focus-visible { |
| 318 | color: var(--fg-default); |
| 319 | background: var(--canvas-subtle); |
| 320 | text-decoration: none; |
| 321 | } |
| 322 | .shithub-offcanvas-link svg { |
| 323 | flex: 0 0 auto; |
| 324 | color: var(--fg-muted); |
| 325 | } |
| 326 | .shithub-offcanvas-repos { |
| 327 | margin: 0 0.25rem; |
| 328 | padding: 0.9rem 0.25rem 0.75rem; |
| 329 | border-top: 1px solid var(--border-default); |
| 330 | } |
| 331 | .shithub-offcanvas-section-head { |
| 332 | display: flex; |
| 333 | align-items: center; |
| 334 | justify-content: space-between; |
| 335 | gap: 1rem; |
| 336 | padding: 0 0.25rem 0.45rem; |
| 337 | } |
| 338 | .shithub-offcanvas-section-head h2 { |
| 339 | margin: 0; |
| 340 | color: var(--fg-muted); |
| 341 | font-size: 0.75rem; |
| 342 | font-weight: 700; |
| 343 | } |
| 344 | .shithub-offcanvas-section-head a { |
| 345 | display: inline-flex; |
| 346 | color: var(--fg-muted); |
| 347 | } |
| 348 | .shithub-offcanvas-section-head a:hover { |
| 349 | color: var(--fg-default); |
| 350 | text-decoration: none; |
| 351 | } |
| 352 | .shithub-offcanvas-repo-list { |
| 353 | display: flex; |
| 354 | flex-direction: column; |
| 355 | gap: 0.125rem; |
| 356 | } |
| 357 | .shithub-offcanvas-repo-item { |
| 358 | display: grid; |
| 359 | grid-template-columns: 20px minmax(0, 1fr); |
| 360 | align-items: center; |
| 361 | gap: 0.55rem; |
| 362 | min-height: 32px; |
| 363 | padding: 0.25rem; |
| 364 | border-radius: 6px; |
| 365 | color: var(--fg-default); |
| 366 | font-size: 0.875rem; |
| 367 | font-weight: 600; |
| 368 | line-height: 1.25; |
| 369 | } |
| 370 | .shithub-offcanvas-repo-item:hover, |
| 371 | .shithub-offcanvas-repo-item:focus-visible { |
| 372 | background: var(--canvas-subtle); |
| 373 | text-decoration: none; |
| 374 | } |
| 375 | .shithub-offcanvas-repo-item img { |
| 376 | width: 20px; |
| 377 | height: 20px; |
| 378 | border-radius: 50%; |
| 379 | background: var(--canvas-default); |
| 380 | } |
| 381 | .shithub-offcanvas-repo-item span { |
| 382 | min-width: 0; |
| 383 | overflow-wrap: anywhere; |
| 384 | } |
| 385 | .shithub-offcanvas-show-more { |
| 386 | display: inline-flex; |
| 387 | margin: 0.35rem 0.25rem 0; |
| 388 | color: var(--fg-muted); |
| 389 | font-size: 0.75rem; |
| 390 | } |
| 391 | .shithub-offcanvas-show-more:hover { |
| 392 | color: var(--accent-fg); |
| 393 | } |
| 394 | .shithub-offcanvas-notice { |
| 395 | display: grid; |
| 396 | grid-template-columns: 16px minmax(0, 1fr) 24px; |
| 397 | align-items: center; |
| 398 | gap: 0.5rem; |
| 399 | margin: 0.75rem 0.5rem 0; |
| 400 | padding: 0.7rem 0.55rem; |
| 401 | border: 1px solid var(--accent-emphasis); |
| 402 | border-radius: 6px; |
| 403 | color: var(--fg-default); |
| 404 | background: rgba(9, 105, 218, 0.1); |
| 405 | font-size: 0.75rem; |
| 406 | } |
| 407 | .shithub-offcanvas-notice[hidden] { |
| 408 | display: none; |
| 409 | } |
| 410 | .shithub-offcanvas-notice > span { |
| 411 | display: inline-flex; |
| 412 | color: var(--accent-fg); |
| 413 | } |
| 414 | .shithub-offcanvas-notice p { |
| 415 | margin: 0; |
| 416 | min-width: 0; |
| 417 | font-weight: 600; |
| 418 | } |
| 419 | .shithub-offcanvas-notice button { |
| 420 | display: inline-flex; |
| 421 | align-items: center; |
| 422 | justify-content: center; |
| 423 | width: 24px; |
| 424 | height: 24px; |
| 425 | padding: 0; |
| 426 | border: 0; |
| 427 | border-radius: 6px; |
| 428 | color: var(--accent-fg); |
| 429 | background: transparent; |
| 430 | cursor: pointer; |
| 431 | } |
| 432 | .shithub-offcanvas-notice button:hover { |
| 433 | background: rgba(9, 105, 218, 0.16); |
| 434 | } |
| 435 | |
| 436 | /* User-menu dropdown — uses native <details>/<summary> so it works without JS. */ |
| 437 | .shithub-user-menu { position: relative; } |
| 438 | .shithub-user-menu > summary { |
| 439 | list-style: none; |
| 440 | display: inline-flex; |
| 441 | align-items: center; |
| 442 | justify-content: center; |
| 443 | padding: 0; |
| 444 | width: 34px; |
| 445 | height: 34px; |
| 446 | border: 1px solid var(--border-default); |
| 447 | border-radius: 6px; |
| 448 | background: transparent; |
| 449 | cursor: pointer; |
| 450 | color: var(--fg-default); |
| 451 | } |
| 452 | .shithub-user-menu > summary:hover { background: var(--canvas-subtle); } |
| 453 | .shithub-user-menu > summary::-webkit-details-marker { display: none; } |
| 454 | .shithub-user-menu-avatar { |
| 455 | width: 24px; |
| 456 | height: 24px; |
| 457 | border-radius: 50%; |
| 458 | display: block; |
| 459 | background: var(--canvas-default); |
| 460 | } |
| 461 | .shithub-user-menu-panel { |
| 462 | position: absolute; |
| 463 | right: 0; |
| 464 | top: calc(100% + 0.35rem); |
| 465 | width: 280px; |
| 466 | background: var(--canvas-default); |
| 467 | border: 1px solid var(--border-default); |
| 468 | border-radius: 12px; |
| 469 | padding: 0.5rem; |
| 470 | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); |
| 471 | z-index: 50; |
| 472 | display: flex; |
| 473 | flex-direction: column; |
| 474 | } |
| 475 | .shithub-user-menu-account { |
| 476 | display: grid; |
| 477 | grid-template-columns: 40px 1fr; |
| 478 | gap: 0.75rem; |
| 479 | align-items: center; |
| 480 | min-width: 0; |
| 481 | padding: 0.4rem 0.45rem 0.65rem; |
| 482 | } |
| 483 | .shithub-user-menu-account-avatar { |
| 484 | width: 40px; |
| 485 | height: 40px; |
| 486 | border-radius: 50%; |
| 487 | background: var(--canvas-default); |
| 488 | } |
| 489 | .shithub-user-menu-account-copy { |
| 490 | display: grid; |
| 491 | min-width: 0; |
| 492 | line-height: 1.25; |
| 493 | } |
| 494 | .shithub-user-menu-account-copy strong, |
| 495 | .shithub-user-menu-account-copy span { |
| 496 | overflow: hidden; |
| 497 | text-overflow: ellipsis; |
| 498 | white-space: nowrap; |
| 499 | } |
| 500 | .shithub-user-menu-account-copy span { |
| 501 | color: var(--fg-muted); |
| 502 | font-size: 0.8rem; |
| 503 | } |
| 504 | .shithub-user-menu-divider { |
| 505 | height: 1px; |
| 506 | margin: 0.45rem 0; |
| 507 | background: var(--border-default); |
| 508 | } |
| 509 | .shithub-user-menu-item { |
| 510 | display: grid; |
| 511 | grid-template-columns: 16px minmax(0, 1fr) auto; |
| 512 | gap: 0.65rem; |
| 513 | align-items: center; |
| 514 | text-align: left; |
| 515 | width: 100%; |
| 516 | min-height: 32px; |
| 517 | padding: 0.35rem 0.45rem; |
| 518 | background: transparent; |
| 519 | border: 0; |
| 520 | border-radius: 6px; |
| 521 | color: var(--fg-default); |
| 522 | font-size: 0.875rem; |
| 523 | line-height: 1.2; |
| 524 | cursor: pointer; |
| 525 | text-decoration: none; |
| 526 | } |
| 527 | .shithub-user-menu-item svg { |
| 528 | color: var(--fg-muted); |
| 529 | width: 16px; |
| 530 | height: 16px; |
| 531 | } |
| 532 | .shithub-user-menu-item span { |
| 533 | min-width: 0; |
| 534 | overflow: hidden; |
| 535 | text-overflow: ellipsis; |
| 536 | white-space: nowrap; |
| 537 | } |
| 538 | .shithub-user-menu-item:hover { |
| 539 | background: var(--canvas-subtle); |
| 540 | text-decoration: none; |
| 541 | } |
| 542 | .shithub-user-menu-item:disabled { |
| 543 | color: var(--fg-muted); |
| 544 | cursor: default; |
| 545 | } |
| 546 | .shithub-user-menu-item:disabled:hover { background: transparent; } |
| 547 | .shithub-user-menu-badge { |
| 548 | border: 1px solid var(--border-default); |
| 549 | border-radius: 999px; |
| 550 | padding: 0.05rem 0.45rem; |
| 551 | color: var(--fg-default); |
| 552 | font-size: 0.75rem; |
| 553 | } |
| 554 | .shithub-user-menu-signout { margin: 0; padding: 0; } |
| 555 | |
| 556 | .hello-greeting { |
| 557 | margin: 1rem auto 1.5rem; |
| 558 | padding: 0.85rem 1rem; |
| 559 | border: 1px solid var(--border-default); |
| 560 | border-radius: 6px; |
| 561 | background: var(--canvas-subtle); |
| 562 | max-width: 32rem; |
| 563 | text-align: left; |
| 564 | } |
| 565 | .hello-greeting p { margin: 0 0 0.5rem; } |
| 566 | .hello-quicklinks { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.9rem; } |
| 567 | |
| 568 | .shithub-button { |
| 569 | display: inline-flex; |
| 570 | align-items: center; |
| 571 | justify-content: center; |
| 572 | gap: 0.35rem; |
| 573 | padding: 0.4rem 0.85rem; |
| 574 | border-radius: 6px; |
| 575 | font-size: 0.875rem; |
| 576 | font-weight: 500; |
| 577 | border: 1px solid transparent; |
| 578 | color: var(--fg-default); |
| 579 | background: var(--button-default-bg); |
| 580 | border-color: var(--border-default); |
| 581 | cursor: pointer; |
| 582 | text-decoration: none; |
| 583 | } |
| 584 | .shithub-button:hover { |
| 585 | background: var(--button-default-hover-bg); |
| 586 | text-decoration: none; |
| 587 | } |
| 588 | .shithub-button:disabled { |
| 589 | cursor: default; |
| 590 | opacity: 0.65; |
| 591 | } |
| 592 | .shithub-button-small { |
| 593 | padding: 0.25rem 0.7rem; |
| 594 | font-size: 0.75rem; |
| 595 | } |
| 596 | .shithub-button-ghost { |
| 597 | color: var(--fg-default); |
| 598 | border-color: var(--border-default); |
| 599 | background: transparent; |
| 600 | } |
| 601 | .shithub-button-primary { |
| 602 | color: #fff; |
| 603 | background: var(--success-emphasis); |
| 604 | border-color: var(--success-emphasis); |
| 605 | } |
| 606 | .shithub-button-primary:hover { |
| 607 | text-decoration: none; |
| 608 | background: var(--success-emphasis-hover); |
| 609 | border-color: var(--success-emphasis-hover); |
| 610 | } |
| 611 | |
| 612 | :where(input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="search"], input[type="number"], textarea, select) { |
| 613 | color: var(--fg-default); |
| 614 | background: var(--canvas-default); |
| 615 | border: 1px solid var(--border-default); |
| 616 | } |
| 617 | :where(input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="search"], input[type="number"], textarea, select)::placeholder { |
| 618 | color: var(--fg-muted); |
| 619 | opacity: 1; |
| 620 | } |
| 621 | :where(input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="search"], input[type="number"], textarea, select):focus { |
| 622 | border-color: var(--accent-emphasis); |
| 623 | box-shadow: inset 0 0 0 1px var(--accent-emphasis); |
| 624 | outline: none; |
| 625 | } |
| 626 | :where(input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="search"], input[type="number"], textarea, select):disabled { |
| 627 | color: var(--fg-muted); |
| 628 | background: var(--canvas-subtle); |
| 629 | cursor: not-allowed; |
| 630 | } |
| 631 | .shithub-icon-button { |
| 632 | display: inline-flex; |
| 633 | align-items: center; |
| 634 | justify-content: center; |
| 635 | width: 2rem; |
| 636 | height: 2rem; |
| 637 | padding: 0; |
| 638 | border: 1px solid var(--border-default); |
| 639 | border-radius: 6px; |
| 640 | background: var(--canvas-subtle); |
| 641 | color: var(--fg-muted); |
| 642 | cursor: pointer; |
| 643 | } |
| 644 | .shithub-icon-button:hover { |
| 645 | color: var(--fg-default); |
| 646 | background: var(--canvas-default); |
| 647 | } |
| 648 | |
| 649 | /* ========== Main + Footer ========== */ |
| 650 | |
| 651 | .shithub-main { |
| 652 | flex: 1; |
| 653 | width: 100%; |
| 654 | } |
| 655 | |
| 656 | .shithub-footer { |
| 657 | border-top: 1px solid var(--border-default); |
| 658 | background: var(--canvas-subtle); |
| 659 | padding: 1.25rem; |
| 660 | font-size: 0.85rem; |
| 661 | color: var(--fg-muted); |
| 662 | } |
| 663 | .shithub-footer-inner { |
| 664 | max-width: 1200px; |
| 665 | margin: 0 auto; |
| 666 | display: flex; |
| 667 | justify-content: space-between; |
| 668 | align-items: center; |
| 669 | gap: 1rem; |
| 670 | } |
| 671 | .shithub-footer-brand { |
| 672 | display: flex; |
| 673 | align-items: center; |
| 674 | gap: 0.4rem; |
| 675 | color: var(--fg-default); |
| 676 | } |
| 677 | .shithub-footer-brand svg { color: var(--shithub-mark); } |
| 678 | .shithub-footer-meta { color: var(--fg-muted); margin-left: 0.5rem; font-size: 0.8rem; } |
| 679 | .shithub-footer-links { display: flex; gap: 1rem; } |
| 680 | |
| 681 | /* ========== Hello page ========== */ |
| 682 | |
| 683 | .hello { |
| 684 | max-width: 640px; |
| 685 | margin: 4rem auto; |
| 686 | padding: 2rem 1.5rem; |
| 687 | text-align: center; |
| 688 | } |
| 689 | .hello-logo { |
| 690 | margin: 0 auto 1.5rem; |
| 691 | width: 160px; |
| 692 | height: 160px; |
| 693 | color: var(--shithub-mark); |
| 694 | } |
| 695 | .hello-logo svg { width: 100%; height: 100%; } |
| 696 | .hello-title { |
| 697 | font-size: 2.75rem; |
| 698 | margin: 0 0 0.5rem; |
| 699 | letter-spacing: -0.02em; |
| 700 | } |
| 701 | .hello-tagline { |
| 702 | color: var(--fg-muted); |
| 703 | font-size: 1.15rem; |
| 704 | margin: 0 0 2rem; |
| 705 | } |
| 706 | .hello-meta { |
| 707 | display: grid; |
| 708 | grid-template-columns: max-content 1fr; |
| 709 | gap: 0.25rem 1rem; |
| 710 | max-width: 24rem; |
| 711 | margin: 0 auto 2rem; |
| 712 | padding: 1rem 1.5rem; |
| 713 | background: var(--canvas-subtle); |
| 714 | border: 1px solid var(--border-default); |
| 715 | border-radius: 6px; |
| 716 | text-align: left; |
| 717 | font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; |
| 718 | font-size: 0.875rem; |
| 719 | } |
| 720 | .hello-meta dt { color: var(--fg-muted); } |
| 721 | .hello-meta dd { margin: 0; } |
| 722 | .hello-status { |
| 723 | color: var(--fg-muted); |
| 724 | margin: 0 auto 2rem; |
| 725 | max-width: 36rem; |
| 726 | } |
| 727 | .hello-links { |
| 728 | display: flex; |
| 729 | justify-content: center; |
| 730 | gap: 1rem; |
| 731 | font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; |
| 732 | font-size: 0.875rem; |
| 733 | } |
| 734 | |
| 735 | /* ========== Landing (anonymous home) ========== */ |
| 736 | |
| 737 | .shithub-landing-pitch { |
| 738 | max-width: 36rem; |
| 739 | margin: 0 auto 2rem; |
| 740 | font-size: 1.05rem; |
| 741 | line-height: 1.55; |
| 742 | } |
| 743 | |
| 744 | .shithub-landing-features { |
| 745 | list-style: none; |
| 746 | margin: 0 auto 2rem; |
| 747 | padding: 0; |
| 748 | max-width: 60rem; |
| 749 | display: grid; |
| 750 | grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); |
| 751 | gap: 1rem; |
| 752 | text-align: left; |
| 753 | } |
| 754 | .shithub-landing-features li { |
| 755 | border: 1px solid var(--border-default); |
| 756 | border-radius: 6px; |
| 757 | padding: 0.85rem 1rem; |
| 758 | background: var(--canvas-subtle); |
| 759 | } |
| 760 | .shithub-landing-features li strong { |
| 761 | display: block; |
| 762 | margin-bottom: 0.25rem; |
| 763 | font-size: 0.95rem; |
| 764 | } |
| 765 | .shithub-landing-features li span { |
| 766 | color: var(--fg-muted); |
| 767 | font-size: 0.875rem; |
| 768 | line-height: 1.4; |
| 769 | } |
| 770 | |
| 771 | .shithub-landing-cta { |
| 772 | display: flex; |
| 773 | justify-content: center; |
| 774 | flex-wrap: wrap; |
| 775 | gap: 0.75rem; |
| 776 | margin: 0 auto 1.5rem; |
| 777 | } |
| 778 | .shithub-landing-cta a { |
| 779 | display: inline-block; |
| 780 | padding: 0.5rem 1rem; |
| 781 | border-radius: 6px; |
| 782 | text-decoration: none; |
| 783 | font-weight: 500; |
| 784 | font-size: 0.95rem; |
| 785 | } |
| 786 | .shithub-landing-cta-primary { |
| 787 | background: var(--accent-fg, #1f6feb); |
| 788 | color: #ffffff; |
| 789 | border: 1px solid transparent; |
| 790 | } |
| 791 | .shithub-landing-cta-primary:hover { filter: brightness(1.1); } |
| 792 | .shithub-landing-cta-secondary { |
| 793 | background: transparent; |
| 794 | color: var(--fg-default); |
| 795 | border: 1px solid var(--border-default); |
| 796 | } |
| 797 | .shithub-landing-cta-secondary:hover { background: var(--canvas-subtle); } |
| 798 | |
| 799 | .shithub-landing-honest { |
| 800 | max-width: 36rem; |
| 801 | margin: 0 auto 2rem; |
| 802 | color: var(--fg-muted); |
| 803 | font-size: 0.9rem; |
| 804 | line-height: 1.5; |
| 805 | } |
| 806 | |
| 807 | /* ========== Error pages ========== */ |
| 808 | |
| 809 | .error-page { |
| 810 | max-width: 540px; |
| 811 | margin: 6rem auto; |
| 812 | padding: 2rem 1.5rem; |
| 813 | text-align: center; |
| 814 | } |
| 815 | .error-glyph { |
| 816 | display: inline-flex; |
| 817 | width: 64px; height: 64px; |
| 818 | align-items: center; justify-content: center; |
| 819 | border-radius: 50%; |
| 820 | background: var(--canvas-subtle); |
| 821 | color: var(--danger-fg); |
| 822 | margin-bottom: 1.5rem; |
| 823 | } |
| 824 | .error-glyph svg { width: 32px; height: 32px; } |
| 825 | .error-status { |
| 826 | margin: 0; |
| 827 | font-size: 4rem; |
| 828 | letter-spacing: -0.04em; |
| 829 | color: var(--fg-default); |
| 830 | } |
| 831 | .error-title { |
| 832 | margin: 0 0 0.75rem; |
| 833 | font-size: 1.4rem; |
| 834 | font-weight: 500; |
| 835 | } |
| 836 | .error-detail { |
| 837 | color: var(--fg-muted); |
| 838 | margin: 0 0 2rem; |
| 839 | max-width: 36rem; |
| 840 | margin-left: auto; |
| 841 | margin-right: auto; |
| 842 | } |
| 843 | .error-hint a { |
| 844 | display: inline-block; |
| 845 | padding: 0.5rem 1rem; |
| 846 | border: 1px solid var(--border-default); |
| 847 | border-radius: 6px; |
| 848 | color: var(--fg-default); |
| 849 | } |
| 850 | .error-hint a:hover { text-decoration: none; background: var(--canvas-subtle); } |
| 851 | .error-request-id { |
| 852 | margin-top: 2rem; |
| 853 | color: var(--fg-muted); |
| 854 | font-size: 0.8rem; |
| 855 | } |
| 856 | |
| 857 | /* ----- auth (S05) ----- */ |
| 858 | .shithub-auth { |
| 859 | max-width: 28rem; |
| 860 | margin: 3rem auto; |
| 861 | padding: 2rem; |
| 862 | background: var(--canvas-default); |
| 863 | border: 1px solid var(--border-default); |
| 864 | border-radius: 8px; |
| 865 | } |
| 866 | .shithub-auth h1 { |
| 867 | margin: 0 0 1.5rem; |
| 868 | font-size: 1.5rem; |
| 869 | } |
| 870 | .shithub-auth form { display: grid; gap: 1rem; } |
| 871 | .shithub-auth label { display: grid; gap: 0.25rem; font-weight: 500; } |
| 872 | .shithub-auth input[type=text], |
| 873 | .shithub-auth input[type=email], |
| 874 | .shithub-auth input[type=password] { |
| 875 | font: inherit; |
| 876 | padding: 0.5rem 0.75rem; |
| 877 | border: 1px solid var(--border-default); |
| 878 | border-radius: 6px; |
| 879 | background: var(--canvas-subtle); |
| 880 | } |
| 881 | .shithub-auth-aside { |
| 882 | margin: 1.5rem 0 0; |
| 883 | text-align: center; |
| 884 | color: var(--fg-muted); |
| 885 | font-size: 0.9rem; |
| 886 | } |
| 887 | .shithub-flash { |
| 888 | margin: 0 0 1rem; |
| 889 | padding: 0.75rem 1rem; |
| 890 | border-radius: 6px; |
| 891 | border: 1px solid var(--border-default); |
| 892 | } |
| 893 | .shithub-flash-error { background: rgba(248, 81, 73, 0.1); border-color: rgba(248, 81, 73, 0.3); } |
| 894 | .shithub-flash-notice { background: rgba(56, 139, 253, 0.1); border-color: rgba(56, 139, 253, 0.3); } |
| 895 | .shithub-flash-success { background: rgba(46, 160, 67, 0.1); border-color: rgba(46, 160, 67, 0.3); } |
| 896 | |
| 897 | /* ----- 2FA (S06) ----- */ |
| 898 | .shithub-auth-wide { max-width: 32rem; } |
| 899 | .shithub-2fa-steps { margin: 0 0 1.5rem; padding-left: 1.25rem; } |
| 900 | .shithub-2fa-steps li { margin: 0.25rem 0; } |
| 901 | .shithub-2fa-qr { |
| 902 | display: flex; |
| 903 | justify-content: center; |
| 904 | margin: 1rem 0; |
| 905 | padding: 1rem; |
| 906 | background: #ffffff; |
| 907 | border-radius: 6px; |
| 908 | border: 1px solid var(--border-default); |
| 909 | } |
| 910 | .shithub-2fa-secret { |
| 911 | text-align: center; |
| 912 | font-family: monospace; |
| 913 | margin: 0 0 1.5rem; |
| 914 | color: var(--fg-muted); |
| 915 | } |
| 916 | .shithub-recovery-codes { |
| 917 | list-style: none; |
| 918 | margin: 1rem 0; |
| 919 | padding: 1rem; |
| 920 | display: grid; |
| 921 | grid-template-columns: repeat(2, 1fr); |
| 922 | gap: 0.5rem; |
| 923 | background: var(--canvas-subtle); |
| 924 | border-radius: 6px; |
| 925 | font-family: monospace; |
| 926 | font-size: 1.05em; |
| 927 | } |
| 928 | .shithub-recovery-codes li code { background: transparent; padding: 0; } |
| 929 | .shithub-button-danger { background: rgba(248, 81, 73, 0.15); border-color: rgba(248, 81, 73, 0.4); } |
| 930 | |
| 931 | /* ----- SSH keys (S07) ----- */ |
| 932 | .shithub-key-list { list-style: none; padding: 0; margin: 1rem 0 2rem; } |
| 933 | .shithub-key-row { |
| 934 | display: flex; |
| 935 | justify-content: space-between; |
| 936 | align-items: flex-start; |
| 937 | gap: 1rem; |
| 938 | padding: 0.75rem; |
| 939 | border: 1px solid var(--border-default); |
| 940 | border-radius: 6px; |
| 941 | margin-bottom: 0.5rem; |
| 942 | } |
| 943 | .shithub-key-meta { margin-left: 0.75rem; color: var(--fg-muted); font-size: 0.85rem; } |
| 944 | .shithub-key-fp { display: block; margin-top: 0.25rem; font-size: 0.85rem; word-break: break-all; } |
| 945 | .shithub-key-last { display: block; margin-top: 0.25rem; color: var(--fg-muted); font-size: 0.8rem; } |
| 946 | .shithub-key-empty { color: var(--fg-muted); margin: 1rem 0 2rem; } |
| 947 | |
| 948 | /* ----- profile (S09) ----- */ |
| 949 | .shithub-profile { max-width: 56rem; margin: 2rem auto; padding: 0 1rem; } |
| 950 | .shithub-profile-header { display: flex; gap: 1.5rem; align-items: flex-start; } |
| 951 | .shithub-profile-avatar { width: 200px; height: 200px; border-radius: 50%; background: var(--canvas-subtle); border: 1px solid var(--border-default); } |
| 952 | .shithub-profile-id h1 { margin: 0 0 0.25rem; font-size: 1.5rem; } |
| 953 | .shithub-profile-handle { margin: 0; color: var(--fg-muted); } |
| 954 | .shithub-profile-pronouns { margin: 0.25rem 0 0; color: var(--fg-muted); font-size: 0.9rem; } |
| 955 | .shithub-profile-you { margin-left: 0.5rem; padding: 0.1rem 0.4rem; background: var(--canvas-subtle); border: 1px solid var(--border-default); border-radius: 6px; font-size: 0.7rem; color: var(--fg-muted); vertical-align: middle; } |
| 956 | .shithub-profile-id .shithub-button { margin-top: 0.75rem; display: inline-block; } |
| 957 | .shithub-profile-bio { margin: 1.5rem 0; font-size: 1.05rem; } |
| 958 | .shithub-profile-meta { display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 1rem; margin: 1rem 0; } |
| 959 | .shithub-profile-meta dt { color: var(--fg-muted); font-weight: 500; } |
| 960 | .shithub-profile-meta dd { margin: 0; } |
| 961 | .shithub-profile-pinned, .shithub-profile-contributions, .shithub-profile-readme { margin: 2rem 0; } |
| 962 | .shithub-profile-section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 0.25rem; border-bottom: 1px solid var(--border-default); } |
| 963 | .shithub-profile-section-head h2, |
| 964 | .shithub-profile-contributions h2, |
| 965 | .shithub-profile-readme h2 { font-size: 1.1rem; margin: 0; } |
| 966 | .shithub-profile-contributions h2, .shithub-profile-readme h2 { padding-bottom: 0.25rem; border-bottom: 1px solid var(--border-default); } |
| 967 | .shithub-profile-pinned-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; list-style: none; padding: 0; margin: 0.75rem 0 0; } |
| 968 | .shithub-empty { color: var(--fg-muted); font-style: italic; padding: 1rem; background: var(--canvas-subtle); border-radius: 6px; } |
| 969 | .shithub-profile-unavailable h1 { color: var(--fg-muted); } |
| 970 | |
| 971 | /* ----- settings shell (S10) ----- */ |
| 972 | .shithub-settings-page { |
| 973 | max-width: 64rem; |
| 974 | margin: 2rem auto; |
| 975 | padding: 0 1rem; |
| 976 | display: grid; |
| 977 | grid-template-columns: 220px 1fr; |
| 978 | gap: 2rem; |
| 979 | align-items: start; |
| 980 | } |
| 981 | .shithub-settings-side { font-size: 0.9rem; } |
| 982 | .shithub-settings-side-title { |
| 983 | margin: 0 0 0.75rem; |
| 984 | font-size: 1.5rem; |
| 985 | font-weight: 400; |
| 986 | padding-bottom: 0.5rem; |
| 987 | border-bottom: 1px solid var(--border-default); |
| 988 | } |
| 989 | .shithub-settings-side nav ul { |
| 990 | list-style: none; |
| 991 | padding: 0; |
| 992 | margin: 0 0 1rem; |
| 993 | } |
| 994 | .shithub-settings-side nav li { |
| 995 | border-radius: 6px; |
| 996 | } |
| 997 | .shithub-settings-side nav li.active { |
| 998 | background: var(--canvas-subtle); |
| 999 | border-left: 2px solid var(--accent-emphasis); |
| 1000 | } |
| 1001 | .shithub-settings-side nav li a { |
| 1002 | display: block; |
| 1003 | padding: 0.4rem 0.75rem; |
| 1004 | color: var(--fg-default); |
| 1005 | text-decoration: none; |
| 1006 | border-radius: 6px; |
| 1007 | } |
| 1008 | .shithub-settings-side nav li a:hover { background: var(--canvas-subtle); } |
| 1009 | .shithub-settings-side nav li.active a { font-weight: 500; } |
| 1010 | .shithub-settings-side-group { |
| 1011 | margin: 1.25rem 0 0.5rem; |
| 1012 | padding-top: 0.75rem; |
| 1013 | border-top: 1px solid var(--border-default); |
| 1014 | font-size: 0.75rem; |
| 1015 | font-weight: 600; |
| 1016 | text-transform: uppercase; |
| 1017 | letter-spacing: 0.05em; |
| 1018 | color: var(--fg-muted); |
| 1019 | } |
| 1020 | .shithub-settings-danger { color: #cf222e; } |
| 1021 | |
| 1022 | .shithub-settings-content { min-width: 0; } |
| 1023 | .shithub-settings-content > h1 { |
| 1024 | margin: 0 0 1.5rem; |
| 1025 | padding-bottom: 0.75rem; |
| 1026 | border-bottom: 1px solid var(--border-default); |
| 1027 | font-size: 1.5rem; |
| 1028 | font-weight: 400; |
| 1029 | } |
| 1030 | .shithub-settings-section { |
| 1031 | margin: 0 0 2rem; |
| 1032 | padding-bottom: 1.5rem; |
| 1033 | border-bottom: 1px solid var(--border-muted, var(--border-default)); |
| 1034 | } |
| 1035 | .shithub-settings-section:last-child { border-bottom: none; } |
| 1036 | .shithub-settings-section h2 { |
| 1037 | margin: 0 0 0.5rem; |
| 1038 | font-size: 1rem; |
| 1039 | font-weight: 600; |
| 1040 | } |
| 1041 | .shithub-settings-section p { margin: 0 0 1rem; color: var(--fg-muted); } |
| 1042 | .shithub-settings-section form { display: grid; gap: 0.85rem; max-width: 32rem; } |
| 1043 | .shithub-settings-section label { display: grid; gap: 0.25rem; font-weight: 500; font-size: 0.9rem; } |
| 1044 | .shithub-settings-section input[type=text], |
| 1045 | .shithub-settings-section input[type=email], |
| 1046 | .shithub-settings-section input[type=password], |
| 1047 | .shithub-settings-section input[type=url], |
| 1048 | .shithub-settings-section textarea, |
| 1049 | .shithub-settings-section select { |
| 1050 | font: inherit; |
| 1051 | padding: 0.5rem 0.75rem; |
| 1052 | border: 1px solid var(--border-default); |
| 1053 | border-radius: 6px; |
| 1054 | background: var(--canvas-subtle); |
| 1055 | } |
| 1056 | .shithub-settings-section textarea { min-height: 4rem; resize: vertical; } |
| 1057 | .shithub-settings-section .shithub-button { justify-self: start; } |
| 1058 | |
| 1059 | .shithub-settings-danger-zone { |
| 1060 | border: 1px solid rgba(207, 34, 46, 0.4); |
| 1061 | border-radius: 6px; |
| 1062 | padding: 1rem 1.25rem; |
| 1063 | background: rgba(207, 34, 46, 0.04); |
| 1064 | } |
| 1065 | .shithub-settings-danger-zone h2 { color: #cf222e; } |
| 1066 | |
| 1067 | .shithub-settings-section label small { |
| 1068 | font-weight: 400; |
| 1069 | color: var(--fg-muted); |
| 1070 | font-size: 0.8rem; |
| 1071 | } |
| 1072 | |
| 1073 | .shithub-settings-orgs-page { |
| 1074 | max-width: 78rem; |
| 1075 | grid-template-columns: 220px minmax(0, 720px); |
| 1076 | } |
| 1077 | .shithub-settings-account-header { |
| 1078 | display: grid; |
| 1079 | grid-template-columns: 48px minmax(0, 1fr) auto; |
| 1080 | gap: 0.75rem; |
| 1081 | align-items: center; |
| 1082 | margin-bottom: 1.5rem; |
| 1083 | } |
| 1084 | .shithub-settings-account-avatar { |
| 1085 | width: 48px; |
| 1086 | height: 48px; |
| 1087 | border-radius: 50%; |
| 1088 | background: var(--canvas-subtle); |
| 1089 | } |
| 1090 | .shithub-settings-account-header h1 { |
| 1091 | margin: 0; |
| 1092 | font-size: 1.25rem; |
| 1093 | line-height: 1.25; |
| 1094 | } |
| 1095 | .shithub-settings-account-header p { |
| 1096 | margin: 0.15rem 0 0; |
| 1097 | color: var(--fg-muted); |
| 1098 | font-size: 0.875rem; |
| 1099 | } |
| 1100 | .shithub-settings-account-actions { |
| 1101 | display: flex; |
| 1102 | gap: 0.5rem; |
| 1103 | flex-wrap: wrap; |
| 1104 | justify-content: flex-end; |
| 1105 | } |
| 1106 | .shithub-settings-orgs-head { |
| 1107 | display: flex; |
| 1108 | gap: 1rem; |
| 1109 | align-items: center; |
| 1110 | justify-content: space-between; |
| 1111 | margin-bottom: 0.75rem; |
| 1112 | } |
| 1113 | .shithub-settings-orgs-head h2, |
| 1114 | .shithub-settings-orgs-move h2 { |
| 1115 | margin: 0; |
| 1116 | font-size: 1rem; |
| 1117 | font-weight: 500; |
| 1118 | } |
| 1119 | .shithub-settings-org-list { |
| 1120 | list-style: none; |
| 1121 | margin: 0; |
| 1122 | padding: 0; |
| 1123 | border: 1px solid var(--border-default); |
| 1124 | border-radius: 6px; |
| 1125 | overflow: hidden; |
| 1126 | } |
| 1127 | .shithub-settings-org-row { |
| 1128 | display: grid; |
| 1129 | grid-template-columns: minmax(0, 1fr) auto auto; |
| 1130 | gap: 0.75rem; |
| 1131 | align-items: center; |
| 1132 | min-height: 54px; |
| 1133 | padding: 0.75rem 1rem; |
| 1134 | border-top: 1px solid var(--border-default); |
| 1135 | } |
| 1136 | .shithub-settings-org-row:first-child { border-top: 0; } |
| 1137 | .shithub-settings-org-identity { |
| 1138 | display: inline-flex; |
| 1139 | gap: 0.5rem; |
| 1140 | align-items: center; |
| 1141 | min-width: 0; |
| 1142 | font-weight: 600; |
| 1143 | } |
| 1144 | .shithub-settings-org-identity img { |
| 1145 | width: 24px; |
| 1146 | height: 24px; |
| 1147 | border-radius: 4px; |
| 1148 | background: var(--canvas-subtle); |
| 1149 | } |
| 1150 | .shithub-settings-org-identity span { |
| 1151 | overflow: hidden; |
| 1152 | text-overflow: ellipsis; |
| 1153 | white-space: nowrap; |
| 1154 | } |
| 1155 | .shithub-settings-org-role { |
| 1156 | color: var(--fg-muted); |
| 1157 | border: 1px solid var(--border-default); |
| 1158 | border-radius: 999px; |
| 1159 | padding: 0.1rem 0.45rem; |
| 1160 | font-size: 0.75rem; |
| 1161 | font-weight: 500; |
| 1162 | } |
| 1163 | .shithub-settings-org-actions { |
| 1164 | display: flex; |
| 1165 | gap: 0.35rem; |
| 1166 | justify-content: flex-end; |
| 1167 | flex-wrap: wrap; |
| 1168 | } |
| 1169 | .shithub-settings-org-empty { |
| 1170 | border: 1px solid var(--border-default); |
| 1171 | border-radius: 6px; |
| 1172 | padding: 1rem; |
| 1173 | color: var(--fg-muted); |
| 1174 | } |
| 1175 | .shithub-settings-org-empty p { margin: 0 0 0.75rem; } |
| 1176 | .shithub-settings-orgs-move { |
| 1177 | margin-top: 2rem; |
| 1178 | padding-top: 1.5rem; |
| 1179 | border-top: 1px solid var(--border-default); |
| 1180 | } |
| 1181 | .shithub-settings-orgs-move p { |
| 1182 | max-width: 44rem; |
| 1183 | color: var(--fg-muted); |
| 1184 | font-size: 0.875rem; |
| 1185 | } |
| 1186 | |
| 1187 | .shithub-profile-edit { |
| 1188 | display: grid; |
| 1189 | grid-template-columns: minmax(0, 1fr) 220px; |
| 1190 | gap: 2rem; |
| 1191 | align-items: start; |
| 1192 | } |
| 1193 | .shithub-profile-edit-form { margin: 0; padding: 0; border: none; } |
| 1194 | .shithub-profile-edit-aside h2 { margin: 0 0 0.75rem; font-size: 0.9rem; font-weight: 600; } |
| 1195 | .shithub-profile-edit-avatar { |
| 1196 | width: 200px; |
| 1197 | height: 200px; |
| 1198 | border-radius: 50%; |
| 1199 | border: 1px solid var(--border-default); |
| 1200 | background: var(--canvas-subtle); |
| 1201 | display: block; |
| 1202 | } |
| 1203 | .shithub-empty-note { |
| 1204 | margin: 0.5rem 0 0; |
| 1205 | font-size: 0.8rem; |
| 1206 | color: var(--fg-muted); |
| 1207 | } |
| 1208 | .shithub-profile-edit-aside form { |
| 1209 | margin: 0.75rem 0 0; |
| 1210 | display: grid; |
| 1211 | gap: 0.5rem; |
| 1212 | } |
| 1213 | .shithub-profile-edit-upload span { |
| 1214 | display: block; |
| 1215 | font-size: 0.85rem; |
| 1216 | font-weight: 500; |
| 1217 | margin-bottom: 0.25rem; |
| 1218 | } |
| 1219 | .shithub-profile-edit-upload input[type=file] { |
| 1220 | font-size: 0.85rem; |
| 1221 | } |
| 1222 | |
| 1223 | @media (max-width: 720px) { |
| 1224 | .shithub-settings-page { |
| 1225 | grid-template-columns: 1fr; |
| 1226 | } |
| 1227 | .shithub-settings-account-header, |
| 1228 | .shithub-settings-org-row { |
| 1229 | grid-template-columns: 1fr; |
| 1230 | } |
| 1231 | .shithub-settings-account-actions, |
| 1232 | .shithub-settings-org-actions { |
| 1233 | justify-content: flex-start; |
| 1234 | } |
| 1235 | .shithub-profile-edit { |
| 1236 | grid-template-columns: 1fr; |
| 1237 | } |
| 1238 | } |
| 1239 | |
| 1240 | /* ----- theme picker (S10) ----- */ |
| 1241 | .shithub-theme-grid { |
| 1242 | border: none; |
| 1243 | padding: 0; |
| 1244 | margin: 0 0 1rem; |
| 1245 | display: grid; |
| 1246 | grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); |
| 1247 | gap: 0.75rem; |
| 1248 | } |
| 1249 | .shithub-theme-grid legend { |
| 1250 | padding: 0; |
| 1251 | margin: 0 0 0.5rem; |
| 1252 | font-size: 0.85rem; |
| 1253 | font-weight: 500; |
| 1254 | } |
| 1255 | .shithub-theme-card { |
| 1256 | display: grid; |
| 1257 | gap: 0.25rem; |
| 1258 | padding: 0.85rem 1rem; |
| 1259 | border: 1px solid var(--border-default); |
| 1260 | border-radius: 8px; |
| 1261 | background: var(--canvas-subtle); |
| 1262 | cursor: pointer; |
| 1263 | position: relative; |
| 1264 | transition: border-color 120ms; |
| 1265 | } |
| 1266 | .shithub-theme-card:hover { border-color: var(--accent-emphasis); } |
| 1267 | .shithub-theme-card.active { |
| 1268 | border-color: var(--accent-emphasis); |
| 1269 | box-shadow: 0 0 0 1px var(--accent-emphasis) inset; |
| 1270 | } |
| 1271 | .shithub-theme-card input[type=radio] { |
| 1272 | position: absolute; |
| 1273 | top: 0.6rem; |
| 1274 | right: 0.6rem; |
| 1275 | } |
| 1276 | .shithub-theme-card-title { |
| 1277 | font-weight: 600; |
| 1278 | font-size: 0.95rem; |
| 1279 | } |
| 1280 | .shithub-theme-card-desc { |
| 1281 | font-size: 0.8rem; |
| 1282 | color: var(--fg-muted); |
| 1283 | } |
| 1284 | |
| 1285 | /* ----- emails (S10) ----- */ |
| 1286 | .shithub-email-list { |
| 1287 | list-style: none; |
| 1288 | padding: 0; |
| 1289 | margin: 1rem 0 0; |
| 1290 | display: grid; |
| 1291 | gap: 0.5rem; |
| 1292 | } |
| 1293 | .shithub-email-row { |
| 1294 | display: flex; |
| 1295 | justify-content: space-between; |
| 1296 | align-items: center; |
| 1297 | gap: 1rem; |
| 1298 | padding: 0.75rem 1rem; |
| 1299 | border: 1px solid var(--border-default); |
| 1300 | border-radius: 6px; |
| 1301 | background: var(--canvas-subtle); |
| 1302 | } |
| 1303 | .shithub-email-meta { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; } |
| 1304 | .shithub-email-addr { background: transparent; padding: 0; font-weight: 500; } |
| 1305 | .shithub-email-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; } |
| 1306 | .shithub-email-actions form { display: inline; } |
| 1307 | .shithub-pill { |
| 1308 | font-size: 0.7rem; |
| 1309 | padding: 0.1rem 0.5rem; |
| 1310 | border-radius: 999px; |
| 1311 | border: 1px solid var(--border-default); |
| 1312 | text-transform: uppercase; |
| 1313 | letter-spacing: 0.04em; |
| 1314 | font-weight: 600; |
| 1315 | } |
| 1316 | .shithub-pill-primary { background: rgba(56, 139, 253, 0.15); border-color: rgba(56, 139, 253, 0.4); } |
| 1317 | .shithub-pill-verified { background: rgba(63, 185, 80, 0.15); border-color: rgba(63, 185, 80, 0.4); } |
| 1318 | .shithub-pill-unverified { background: rgba(187, 128, 9, 0.15); border-color: rgba(187, 128, 9, 0.4); } |
| 1319 | |
| 1320 | /* ----- notifications (S10) ----- */ |
| 1321 | .shithub-notif-form { display: grid; gap: 0.75rem; max-width: 36rem; } |
| 1322 | .shithub-notif-row { |
| 1323 | display: grid; |
| 1324 | grid-template-columns: max-content 1fr; |
| 1325 | gap: 0.75rem; |
| 1326 | padding: 0.75rem 1rem; |
| 1327 | border: 1px solid var(--border-default); |
| 1328 | border-radius: 6px; |
| 1329 | background: var(--canvas-subtle); |
| 1330 | align-items: start; |
| 1331 | } |
| 1332 | .shithub-notif-row.required { background: rgba(56, 139, 253, 0.06); } |
| 1333 | .shithub-notif-row strong { display: block; font-size: 0.95rem; } |
| 1334 | .shithub-notif-row small { display: block; color: var(--fg-muted); font-size: 0.85rem; } |
| 1335 | |
| 1336 | .shithub-notifications-page { |
| 1337 | padding: 1.5rem 1rem 3rem; |
| 1338 | } |
| 1339 | .shithub-notifications-shell { |
| 1340 | display: grid; |
| 1341 | grid-template-columns: 240px minmax(0, 1fr); |
| 1342 | gap: 1.5rem; |
| 1343 | max-width: 1120px; |
| 1344 | margin: 0 auto; |
| 1345 | } |
| 1346 | .shithub-notifications-sidebar { |
| 1347 | position: sticky; |
| 1348 | top: 1rem; |
| 1349 | align-self: start; |
| 1350 | } |
| 1351 | .shithub-notifications-filter-list { |
| 1352 | display: flex; |
| 1353 | flex-direction: column; |
| 1354 | gap: 0.15rem; |
| 1355 | } |
| 1356 | .shithub-notifications-filter { |
| 1357 | display: flex; |
| 1358 | align-items: center; |
| 1359 | justify-content: space-between; |
| 1360 | gap: 0.75rem; |
| 1361 | min-height: 2rem; |
| 1362 | padding: 0.35rem 0.55rem; |
| 1363 | border-radius: 6px; |
| 1364 | color: var(--fg-default); |
| 1365 | font-size: 0.875rem; |
| 1366 | } |
| 1367 | .shithub-notifications-filter:hover { |
| 1368 | background: var(--canvas-subtle); |
| 1369 | text-decoration: none; |
| 1370 | } |
| 1371 | .shithub-notifications-filter.is-selected { |
| 1372 | background: var(--canvas-subtle); |
| 1373 | font-weight: 600; |
| 1374 | } |
| 1375 | .shithub-notifications-filter.is-selected::before { |
| 1376 | content: ""; |
| 1377 | width: 4px; |
| 1378 | align-self: stretch; |
| 1379 | margin: -0.4rem 0 -0.4rem -0.65rem; |
| 1380 | border-radius: 6px 0 0 6px; |
| 1381 | background: var(--accent-emphasis); |
| 1382 | } |
| 1383 | .shithub-notifications-filter-label { |
| 1384 | display: inline-flex; |
| 1385 | align-items: center; |
| 1386 | gap: 0.45rem; |
| 1387 | min-width: 0; |
| 1388 | } |
| 1389 | .shithub-notifications-filter-label svg { |
| 1390 | color: var(--fg-muted); |
| 1391 | flex: 0 0 auto; |
| 1392 | } |
| 1393 | .shithub-notifications-filter-count { |
| 1394 | color: var(--fg-muted); |
| 1395 | font-size: 0.75rem; |
| 1396 | font-weight: 500; |
| 1397 | } |
| 1398 | .shithub-notifications-main { |
| 1399 | min-width: 0; |
| 1400 | } |
| 1401 | .shithub-notifications-head { |
| 1402 | display: flex; |
| 1403 | align-items: flex-start; |
| 1404 | justify-content: space-between; |
| 1405 | gap: 1rem; |
| 1406 | margin-bottom: 1rem; |
| 1407 | } |
| 1408 | .shithub-notifications-head h1 { |
| 1409 | margin: 0; |
| 1410 | font-size: 1.5rem; |
| 1411 | line-height: 1.25; |
| 1412 | font-weight: 600; |
| 1413 | } |
| 1414 | .shithub-notifications-head p { |
| 1415 | margin: 0.25rem 0 0; |
| 1416 | color: var(--fg-muted); |
| 1417 | font-size: 0.875rem; |
| 1418 | } |
| 1419 | .shithub-notifications-head-actions { |
| 1420 | display: flex; |
| 1421 | gap: 0.5rem; |
| 1422 | align-items: center; |
| 1423 | justify-content: flex-end; |
| 1424 | flex-wrap: wrap; |
| 1425 | } |
| 1426 | .shithub-notifications-head-actions form { |
| 1427 | margin: 0; |
| 1428 | } |
| 1429 | .shithub-notifications-toolbar { |
| 1430 | display: flex; |
| 1431 | align-items: center; |
| 1432 | justify-content: space-between; |
| 1433 | gap: 1rem; |
| 1434 | padding: 0.65rem 1rem; |
| 1435 | border: 1px solid var(--border-default); |
| 1436 | border-bottom: 0; |
| 1437 | border-radius: 6px 6px 0 0; |
| 1438 | background: var(--canvas-subtle); |
| 1439 | } |
| 1440 | .shithub-notifications-tabs { |
| 1441 | display: inline-flex; |
| 1442 | gap: 0.25rem; |
| 1443 | } |
| 1444 | .shithub-notifications-tabs a { |
| 1445 | display: inline-flex; |
| 1446 | align-items: center; |
| 1447 | min-height: 2rem; |
| 1448 | padding: 0.3rem 0.75rem; |
| 1449 | border-radius: 6px; |
| 1450 | color: var(--fg-default); |
| 1451 | font-size: 0.875rem; |
| 1452 | font-weight: 500; |
| 1453 | } |
| 1454 | .shithub-notifications-tabs a:hover { |
| 1455 | background: var(--canvas-default); |
| 1456 | text-decoration: none; |
| 1457 | } |
| 1458 | .shithub-notifications-tabs a.is-selected { |
| 1459 | background: var(--canvas-default); |
| 1460 | box-shadow: inset 0 0 0 1px var(--border-default); |
| 1461 | } |
| 1462 | .shithub-notifications-page-num { |
| 1463 | color: var(--fg-muted); |
| 1464 | font-size: 0.75rem; |
| 1465 | } |
| 1466 | .shithub-notifications-list { |
| 1467 | list-style: none; |
| 1468 | padding: 0; |
| 1469 | margin: 0; |
| 1470 | border: 1px solid var(--border-default); |
| 1471 | border-radius: 0 0 6px 6px; |
| 1472 | overflow: hidden; |
| 1473 | } |
| 1474 | .shithub-notification-row { |
| 1475 | display: grid; |
| 1476 | grid-template-columns: 12px 20px minmax(0, 1fr) auto; |
| 1477 | gap: 0.75rem; |
| 1478 | align-items: start; |
| 1479 | min-height: 76px; |
| 1480 | padding: 1rem; |
| 1481 | background: var(--canvas-default); |
| 1482 | border-top: 1px solid var(--border-default); |
| 1483 | } |
| 1484 | .shithub-notification-row:first-child { |
| 1485 | border-top: 0; |
| 1486 | } |
| 1487 | .shithub-notification-row.is-unread { |
| 1488 | background: rgba(56, 139, 253, 0.06); |
| 1489 | } |
| 1490 | .shithub-notification-unread-dot { |
| 1491 | width: 8px; |
| 1492 | height: 8px; |
| 1493 | margin-top: 0.45rem; |
| 1494 | border-radius: 50%; |
| 1495 | } |
| 1496 | .shithub-notification-row.is-unread .shithub-notification-unread-dot { |
| 1497 | background: var(--accent-emphasis); |
| 1498 | } |
| 1499 | .shithub-notification-state { |
| 1500 | display: inline-flex; |
| 1501 | align-items: center; |
| 1502 | justify-content: center; |
| 1503 | width: 20px; |
| 1504 | height: 20px; |
| 1505 | margin-top: 0.05rem; |
| 1506 | color: var(--fg-muted); |
| 1507 | } |
| 1508 | .shithub-notification-state-issue svg { color: var(--success-fg); } |
| 1509 | .shithub-notification-state-pr svg { color: var(--accent-fg); } |
| 1510 | .shithub-notification-content { |
| 1511 | min-width: 0; |
| 1512 | } |
| 1513 | .shithub-notification-context { |
| 1514 | display: flex; |
| 1515 | align-items: center; |
| 1516 | gap: 0.45rem; |
| 1517 | flex-wrap: wrap; |
| 1518 | color: var(--fg-muted); |
| 1519 | font-size: 0.75rem; |
| 1520 | } |
| 1521 | .shithub-notification-context a { |
| 1522 | color: var(--fg-default); |
| 1523 | font-weight: 600; |
| 1524 | } |
| 1525 | .shithub-notification-context span { |
| 1526 | padding: 0.05rem 0.45rem; |
| 1527 | border: 1px solid var(--border-default); |
| 1528 | border-radius: 999px; |
| 1529 | background: var(--canvas-subtle); |
| 1530 | color: var(--fg-muted); |
| 1531 | font-weight: 500; |
| 1532 | } |
| 1533 | .shithub-notification-title { |
| 1534 | margin-top: 0.2rem; |
| 1535 | color: var(--fg-default); |
| 1536 | font-size: 0.95rem; |
| 1537 | font-weight: 600; |
| 1538 | line-height: 1.35; |
| 1539 | } |
| 1540 | .shithub-notification-title a, |
| 1541 | .shithub-notification-title strong { |
| 1542 | color: var(--fg-default); |
| 1543 | } |
| 1544 | .shithub-notification-title a:hover { |
| 1545 | color: var(--accent-fg); |
| 1546 | } |
| 1547 | .shithub-notification-meta { |
| 1548 | display: flex; |
| 1549 | gap: 0.45rem; |
| 1550 | flex-wrap: wrap; |
| 1551 | margin-top: 0.35rem; |
| 1552 | color: var(--fg-muted); |
| 1553 | font-size: 0.75rem; |
| 1554 | } |
| 1555 | .shithub-notification-meta a { |
| 1556 | color: var(--fg-muted); |
| 1557 | } |
| 1558 | .shithub-notification-meta a:hover { |
| 1559 | color: var(--accent-fg); |
| 1560 | text-decoration: none; |
| 1561 | } |
| 1562 | .shithub-notification-meta > * + *::before { |
| 1563 | content: ""; |
| 1564 | display: inline-block; |
| 1565 | width: 3px; |
| 1566 | height: 3px; |
| 1567 | margin: 0 0.45rem 0 0; |
| 1568 | border-radius: 50%; |
| 1569 | background: var(--fg-muted); |
| 1570 | opacity: 0.7; |
| 1571 | vertical-align: middle; |
| 1572 | } |
| 1573 | .shithub-notification-actions { |
| 1574 | display: flex; |
| 1575 | justify-content: flex-end; |
| 1576 | } |
| 1577 | .shithub-notification-actions form { |
| 1578 | margin: 0; |
| 1579 | } |
| 1580 | .shithub-notification-actions .shithub-icon-button { |
| 1581 | background: transparent; |
| 1582 | } |
| 1583 | .shithub-notification-actions .shithub-icon-button:hover { |
| 1584 | background: var(--canvas-subtle); |
| 1585 | } |
| 1586 | .shithub-notifications-pagination { |
| 1587 | display: flex; |
| 1588 | justify-content: center; |
| 1589 | gap: 0.5rem; |
| 1590 | padding: 1rem 0 0; |
| 1591 | } |
| 1592 | .shithub-notifications-empty { |
| 1593 | display: grid; |
| 1594 | justify-items: center; |
| 1595 | gap: 0.4rem; |
| 1596 | padding: 3rem 1rem; |
| 1597 | border: 1px solid var(--border-default); |
| 1598 | border-radius: 0 0 6px 6px; |
| 1599 | color: var(--fg-muted); |
| 1600 | text-align: center; |
| 1601 | } |
| 1602 | .shithub-notifications-empty-icon { |
| 1603 | display: inline-flex; |
| 1604 | align-items: center; |
| 1605 | justify-content: center; |
| 1606 | width: 48px; |
| 1607 | height: 48px; |
| 1608 | border: 1px solid var(--border-default); |
| 1609 | border-radius: 50%; |
| 1610 | color: var(--fg-muted); |
| 1611 | } |
| 1612 | .shithub-notifications-empty-icon svg { |
| 1613 | width: 24px; |
| 1614 | height: 24px; |
| 1615 | } |
| 1616 | .shithub-notifications-empty h2 { |
| 1617 | margin: 0.25rem 0 0; |
| 1618 | color: var(--fg-default); |
| 1619 | font-size: 1rem; |
| 1620 | } |
| 1621 | .shithub-notifications-empty p { |
| 1622 | margin: 0; |
| 1623 | font-size: 0.875rem; |
| 1624 | } |
| 1625 | @media (max-width: 760px) { |
| 1626 | .shithub-notifications-page { |
| 1627 | padding: 1rem; |
| 1628 | } |
| 1629 | .shithub-notifications-shell { |
| 1630 | grid-template-columns: 1fr; |
| 1631 | gap: 1rem; |
| 1632 | } |
| 1633 | .shithub-notifications-sidebar { |
| 1634 | position: static; |
| 1635 | } |
| 1636 | .shithub-notifications-filter-list { |
| 1637 | flex-direction: row; |
| 1638 | gap: 0.25rem; |
| 1639 | overflow-x: auto; |
| 1640 | padding-bottom: 0.25rem; |
| 1641 | } |
| 1642 | .shithub-notifications-filter { |
| 1643 | flex: 0 0 auto; |
| 1644 | } |
| 1645 | .shithub-notifications-filter.is-selected::before { |
| 1646 | display: none; |
| 1647 | } |
| 1648 | .shithub-notifications-head, |
| 1649 | .shithub-notifications-toolbar { |
| 1650 | align-items: stretch; |
| 1651 | flex-direction: column; |
| 1652 | } |
| 1653 | .shithub-notifications-head-actions { |
| 1654 | justify-content: flex-start; |
| 1655 | } |
| 1656 | .shithub-notification-row { |
| 1657 | grid-template-columns: 12px 20px minmax(0, 1fr); |
| 1658 | } |
| 1659 | .shithub-notification-actions { |
| 1660 | grid-column: 3; |
| 1661 | justify-content: flex-start; |
| 1662 | } |
| 1663 | } |
| 1664 | |
| 1665 | .shithub-session-meta { |
| 1666 | display: grid; |
| 1667 | grid-template-columns: max-content 1fr; |
| 1668 | gap: 0.25rem 1rem; |
| 1669 | margin: 0; |
| 1670 | } |
| 1671 | .shithub-session-meta dt { color: var(--fg-muted); font-weight: 500; } |
| 1672 | .shithub-session-meta dd { margin: 0; word-break: break-all; } |
| 1673 | |
| 1674 | /* ----- repo create + empty home (S11) ----- */ |
| 1675 | .shithub-repo-new { |
| 1676 | max-width: 48rem; |
| 1677 | margin: 2rem auto 5rem; |
| 1678 | padding: 0 1rem; |
| 1679 | } |
| 1680 | .shithub-repo-new-head { |
| 1681 | margin: 0 0 1.25rem 3rem; |
| 1682 | } |
| 1683 | .shithub-repo-new h1 { |
| 1684 | margin: 0; |
| 1685 | font-size: 1.5rem; |
| 1686 | line-height: 1.25; |
| 1687 | font-weight: 600; |
| 1688 | } |
| 1689 | .shithub-repo-new-head p { |
| 1690 | margin: 0.25rem 0 0; |
| 1691 | color: var(--fg-muted); |
| 1692 | font-size: 0.875rem; |
| 1693 | } |
| 1694 | .shithub-repo-new-required { |
| 1695 | font-style: italic; |
| 1696 | } |
| 1697 | .shithub-repo-new-form { |
| 1698 | display: grid; |
| 1699 | gap: 1.5rem; |
| 1700 | } |
| 1701 | .shithub-repo-new-step { |
| 1702 | display: grid; |
| 1703 | grid-template-columns: 2rem minmax(0, 1fr); |
| 1704 | gap: 1rem; |
| 1705 | position: relative; |
| 1706 | } |
| 1707 | .shithub-repo-new-step::before { |
| 1708 | content: ""; |
| 1709 | position: absolute; |
| 1710 | left: 1rem; |
| 1711 | top: 2rem; |
| 1712 | bottom: -1.5rem; |
| 1713 | width: 1px; |
| 1714 | background: var(--border-muted); |
| 1715 | } |
| 1716 | .shithub-repo-new-step:last-of-type::before { |
| 1717 | display: none; |
| 1718 | } |
| 1719 | .shithub-repo-new-step-marker { |
| 1720 | position: relative; |
| 1721 | z-index: 1; |
| 1722 | display: inline-flex; |
| 1723 | align-items: center; |
| 1724 | justify-content: center; |
| 1725 | width: 1.5rem; |
| 1726 | height: 1.5rem; |
| 1727 | margin: 0.1rem auto 0; |
| 1728 | border-radius: 50%; |
| 1729 | background: var(--canvas-subtle); |
| 1730 | border: 1px solid var(--border-muted); |
| 1731 | color: var(--fg-muted); |
| 1732 | font-size: 0.75rem; |
| 1733 | font-weight: 600; |
| 1734 | } |
| 1735 | .shithub-repo-new-step-body { |
| 1736 | min-width: 0; |
| 1737 | } |
| 1738 | .shithub-repo-new-step-body h2 { |
| 1739 | margin: 0 0 0.75rem; |
| 1740 | font-size: 1rem; |
| 1741 | line-height: 1.5; |
| 1742 | font-weight: 600; |
| 1743 | } |
| 1744 | .shithub-repo-new-form label { |
| 1745 | font-size: 0.875rem; |
| 1746 | font-weight: 600; |
| 1747 | } |
| 1748 | .shithub-repo-new-form input[type=text], |
| 1749 | .shithub-repo-new-form select, |
| 1750 | .shithub-repo-new-form textarea { |
| 1751 | font: inherit; |
| 1752 | width: 100%; |
| 1753 | min-height: 2rem; |
| 1754 | padding: 0.35rem 0.5rem; |
| 1755 | border-radius: 6px; |
| 1756 | } |
| 1757 | .shithub-repo-new-form em { color: #cf222e; font-style: normal; } |
| 1758 | .shithub-repo-new-form small { |
| 1759 | display: block; |
| 1760 | font-weight: 400; |
| 1761 | color: var(--fg-muted); |
| 1762 | font-size: 0.75rem; |
| 1763 | } |
| 1764 | .shithub-repo-new-owner-row { |
| 1765 | display: grid; |
| 1766 | grid-template-columns: minmax(9rem, 11rem) max-content minmax(12rem, 1fr); |
| 1767 | gap: 0.5rem; |
| 1768 | align-items: end; |
| 1769 | } |
| 1770 | .shithub-repo-new-owner, |
| 1771 | .shithub-repo-new-name, |
| 1772 | .shithub-repo-new-description { |
| 1773 | display: grid; |
| 1774 | gap: 0.25rem; |
| 1775 | } |
| 1776 | .shithub-repo-new-sep { |
| 1777 | padding-bottom: 0.25rem; |
| 1778 | color: var(--fg-muted); |
| 1779 | font-size: 1.25rem; |
| 1780 | } |
| 1781 | .shithub-repo-new-hint { |
| 1782 | margin: 0.5rem 0 1rem; |
| 1783 | color: var(--fg-muted); |
| 1784 | font-size: 0.875rem; |
| 1785 | } |
| 1786 | .shithub-repo-new-hint strong { |
| 1787 | color: var(--success-fg); |
| 1788 | } |
| 1789 | .shithub-repo-new-config { |
| 1790 | border: 1px solid var(--border-default); |
| 1791 | border-radius: 6px; |
| 1792 | overflow: hidden; |
| 1793 | background: var(--canvas-default); |
| 1794 | } |
| 1795 | .shithub-repo-new-config-row { |
| 1796 | margin: 0; |
| 1797 | display: grid; |
| 1798 | grid-template-columns: minmax(0, 1fr) minmax(8.5rem, max-content); |
| 1799 | gap: 1rem; |
| 1800 | align-items: center; |
| 1801 | padding: 0.75rem; |
| 1802 | border-top: 1px solid var(--border-muted); |
| 1803 | } |
| 1804 | .shithub-repo-new-config-row:first-child { |
| 1805 | border-top: 0; |
| 1806 | } |
| 1807 | .shithub-repo-new-config-row strong { |
| 1808 | display: block; |
| 1809 | font-size: 0.875rem; |
| 1810 | } |
| 1811 | .shithub-repo-new-config-row select { |
| 1812 | max-width: 11rem; |
| 1813 | } |
| 1814 | .shithub-repo-new-toggle { |
| 1815 | display: inline-flex; |
| 1816 | justify-self: end; |
| 1817 | align-items: center; |
| 1818 | gap: 0.4rem; |
| 1819 | color: var(--fg-muted); |
| 1820 | font-size: 0.75rem; |
| 1821 | font-weight: 600; |
| 1822 | } |
| 1823 | .shithub-repo-new-toggle input { |
| 1824 | width: 1.9rem; |
| 1825 | height: 1rem; |
| 1826 | margin: 0; |
| 1827 | accent-color: var(--success-emphasis); |
| 1828 | } |
| 1829 | .shithub-repo-new-form > .shithub-button-primary { |
| 1830 | justify-self: end; |
| 1831 | margin-right: 0; |
| 1832 | } |
| 1833 | @media (max-width: 640px) { |
| 1834 | .shithub-repo-new-head { |
| 1835 | margin-left: 0; |
| 1836 | } |
| 1837 | .shithub-repo-new-step { |
| 1838 | grid-template-columns: minmax(0, 1fr); |
| 1839 | } |
| 1840 | .shithub-repo-new-step::before, |
| 1841 | .shithub-repo-new-step-marker, |
| 1842 | .shithub-repo-new-sep { |
| 1843 | display: none; |
| 1844 | } |
| 1845 | .shithub-repo-new-owner-row, |
| 1846 | .shithub-repo-new-config-row { |
| 1847 | grid-template-columns: minmax(0, 1fr); |
| 1848 | } |
| 1849 | .shithub-repo-new-config-row select { |
| 1850 | max-width: none; |
| 1851 | } |
| 1852 | .shithub-repo-new-toggle { |
| 1853 | justify-self: start; |
| 1854 | } |
| 1855 | .shithub-repo-new-form > .shithub-button-primary { |
| 1856 | justify-self: stretch; |
| 1857 | } |
| 1858 | } |
| 1859 | |
| 1860 | .shithub-repo-empty { |
| 1861 | max-width: 56rem; |
| 1862 | margin: 0; |
| 1863 | padding: 0; |
| 1864 | } |
| 1865 | .shithub-repo-empty-desc { |
| 1866 | margin: 0 0 1rem; |
| 1867 | color: var(--fg-muted); |
| 1868 | } |
| 1869 | .shithub-pill-private { background: rgba(187, 128, 9, 0.15); border-color: rgba(187, 128, 9, 0.4); } |
| 1870 | .shithub-repo-empty-quickstart { |
| 1871 | margin-top: 1rem; |
| 1872 | padding: 1.25rem; |
| 1873 | border: 1px solid var(--border-default); |
| 1874 | border-radius: 8px; |
| 1875 | background: var(--canvas-subtle); |
| 1876 | } |
| 1877 | .shithub-repo-empty-quickstart h2 { margin: 0 0 0.5rem; font-size: 1rem; } |
| 1878 | .shithub-repo-empty-quickstart h3 { margin: 1.25rem 0 0.5rem; font-size: 0.9rem; font-weight: 600; } |
| 1879 | .shithub-repo-empty-clone { display: grid; gap: 0.5rem; margin: 0.75rem 0; } |
| 1880 | .shithub-repo-empty-clone label { display: grid; grid-template-columns: 70px 1fr; gap: 0.5rem; align-items: center; } |
| 1881 | .shithub-repo-empty-clone span { font-size: 0.8rem; color: var(--fg-muted); font-weight: 600; } |
| 1882 | .shithub-repo-empty-clone input { |
| 1883 | font: inherit; |
| 1884 | font-family: monospace; |
| 1885 | font-size: 0.85rem; |
| 1886 | padding: 0.5rem 0.75rem; |
| 1887 | border: 1px solid var(--border-default); |
| 1888 | border-radius: 6px; |
| 1889 | background: var(--canvas-default); |
| 1890 | } |
| 1891 | .shithub-repo-empty-quickstart pre { |
| 1892 | padding: 0.75rem 1rem; |
| 1893 | border: 1px solid var(--border-default); |
| 1894 | border-radius: 6px; |
| 1895 | background: var(--canvas-default); |
| 1896 | font-size: 0.85rem; |
| 1897 | overflow-x: auto; |
| 1898 | } |
| 1899 | |
| 1900 | /* Populated-repo placeholder (S17 will replace with real tree view) */ |
| 1901 | .shithub-repo-populated { |
| 1902 | max-width: 56rem; |
| 1903 | margin: 2rem auto; |
| 1904 | padding: 0 1rem; |
| 1905 | } |
| 1906 | .shithub-repo-populated-head h1 { |
| 1907 | margin: 0 0 0.5rem; |
| 1908 | font-size: 1.4rem; |
| 1909 | font-weight: 400; |
| 1910 | display: flex; |
| 1911 | align-items: center; |
| 1912 | gap: 0.4rem; |
| 1913 | } |
| 1914 | .shithub-repo-populated-sep { color: var(--fg-muted); } |
| 1915 | .shithub-repo-populated-desc { margin: 0 0 1rem; color: var(--fg-muted); } |
| 1916 | .shithub-repo-headcommit { |
| 1917 | margin-top: 1rem; |
| 1918 | padding: 0.85rem 1rem; |
| 1919 | border: 1px solid var(--border-default); |
| 1920 | border-radius: 8px; |
| 1921 | background: var(--canvas-subtle); |
| 1922 | } |
| 1923 | .shithub-repo-headcommit-meta { |
| 1924 | display: flex; |
| 1925 | flex-wrap: wrap; |
| 1926 | gap: 0.75rem; |
| 1927 | font-size: 0.85rem; |
| 1928 | color: var(--fg-muted); |
| 1929 | align-items: center; |
| 1930 | } |
| 1931 | .shithub-repo-headcommit-branch { |
| 1932 | font-weight: 600; |
| 1933 | color: var(--fg-default); |
| 1934 | padding: 0.1rem 0.5rem; |
| 1935 | border: 1px solid var(--border-default); |
| 1936 | border-radius: 999px; |
| 1937 | background: var(--canvas-default); |
| 1938 | font-size: 0.75rem; |
| 1939 | } |
| 1940 | .shithub-repo-headcommit-oid { font-family: monospace; } |
| 1941 | .shithub-repo-headcommit-author { color: var(--fg-default); } |
| 1942 | .shithub-repo-headcommit-subject { margin: 0.5rem 0 0; font-size: 0.95rem; } |
| 1943 | .shithub-repo-headcommit-other-branch p { margin: 0; font-size: 0.9rem; color: var(--fg-muted); } |
| 1944 | .shithub-repo-populated-clone { |
| 1945 | margin-top: 1rem; |
| 1946 | display: grid; |
| 1947 | gap: 0.5rem; |
| 1948 | } |
| 1949 | .shithub-repo-populated-clone label { display: grid; grid-template-columns: 70px 1fr; gap: 0.5rem; align-items: center; } |
| 1950 | .shithub-repo-populated-clone span { font-size: 0.8rem; color: var(--fg-muted); font-weight: 600; } |
| 1951 | .shithub-repo-populated-clone input { |
| 1952 | font: inherit; |
| 1953 | font-family: monospace; |
| 1954 | font-size: 0.85rem; |
| 1955 | padding: 0.5rem 0.75rem; |
| 1956 | border: 1px solid var(--border-default); |
| 1957 | border-radius: 6px; |
| 1958 | background: var(--canvas-default); |
| 1959 | } |
| 1960 | .shithub-repo-populated-note { margin-top: 1rem; font-size: 0.8rem; color: var(--fg-muted); } |
| 1961 | |
| 1962 | /* ========== Code tab (S17) ========== */ |
| 1963 | /* The repo-page wrapper drives the outer width — every code/blob/list |
| 1964 | view now gets the same wide container with consistent gutters, |
| 1965 | matching GitHub's full-width code layout. The inner sections used |
| 1966 | to set their own max-widths and pinched the layout into a narrow |
| 1967 | column. */ |
| 1968 | .shithub-repo-page { |
| 1969 | max-width: 1280px; |
| 1970 | margin: 1rem auto 2rem; |
| 1971 | padding: 0 1.25rem; |
| 1972 | } |
| 1973 | .shithub-code, .shithub-blob, .shithub-finder { |
| 1974 | margin: 0; |
| 1975 | padding: 0; |
| 1976 | } |
| 1977 | /* Code body (tree + blob source) sits in a bordered panel so it |
| 1978 | reads as a distinct surface — matches the panelled "Code" view in |
| 1979 | the GitHub reference screenshots. */ |
| 1980 | .shithub-blob-source { |
| 1981 | border: 1px solid var(--border-default); |
| 1982 | border-radius: 6px; |
| 1983 | background: var(--canvas-subtle); |
| 1984 | overflow-x: auto; |
| 1985 | } |
| 1986 | .shithub-blob-source { background: var(--canvas-default); } |
| 1987 | .shithub-code-head { |
| 1988 | display: flex; |
| 1989 | align-items: center; |
| 1990 | justify-content: space-between; |
| 1991 | gap: 0.75rem; |
| 1992 | margin-bottom: 0.75rem; |
| 1993 | flex-wrap: wrap; |
| 1994 | } |
| 1995 | .shithub-code-crumbs { font-size: 1rem; } |
| 1996 | .shithub-code-crumbs a { color: var(--fg-default); } |
| 1997 | .shithub-code-sep { color: var(--fg-muted); margin: 0 0.25rem; } |
| 1998 | .shithub-code-actions { |
| 1999 | display: flex; |
| 2000 | gap: 0.5rem; |
| 2001 | align-items: center; |
| 2002 | min-width: min(100%, 420px); |
| 2003 | justify-content: flex-end; |
| 2004 | flex: 1 1 360px; |
| 2005 | } |
| 2006 | .shithub-code-primary-actions { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; } |
| 2007 | .shithub-code-count { color: var(--fg-muted); display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.9rem; } |
| 2008 | .shithub-go-to-file { |
| 2009 | display: inline-grid; |
| 2010 | grid-template-columns: 16px minmax(0, 1fr) auto; |
| 2011 | align-items: center; |
| 2012 | gap: 0.45rem; |
| 2013 | min-width: min(100%, 220px); |
| 2014 | height: 32px; |
| 2015 | padding: 0 0.55rem; |
| 2016 | border: 1px solid var(--border-default); |
| 2017 | border-radius: 6px; |
| 2018 | background: var(--canvas-default); |
| 2019 | color: var(--fg-muted); |
| 2020 | font-size: 0.875rem; |
| 2021 | } |
| 2022 | .shithub-go-to-file:hover { |
| 2023 | border-color: var(--accent-fg); |
| 2024 | text-decoration: none; |
| 2025 | } |
| 2026 | .shithub-go-to-file span { |
| 2027 | overflow: hidden; |
| 2028 | text-overflow: ellipsis; |
| 2029 | white-space: nowrap; |
| 2030 | } |
| 2031 | .shithub-go-to-file kbd { |
| 2032 | min-width: 1.25rem; |
| 2033 | padding: 0 0.3rem; |
| 2034 | border: 1px solid var(--border-default); |
| 2035 | border-radius: 4px; |
| 2036 | color: var(--fg-muted); |
| 2037 | background: var(--canvas-subtle); |
| 2038 | font: 0.75rem ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; |
| 2039 | text-align: center; |
| 2040 | } |
| 2041 | |
| 2042 | .shithub-ref-switcher { position: relative; } |
| 2043 | .shithub-ref-switcher > summary { |
| 2044 | list-style: none; |
| 2045 | display: inline-flex; |
| 2046 | align-items: center; |
| 2047 | gap: 0.35rem; |
| 2048 | padding: 0.3rem 0.7rem; |
| 2049 | border: 1px solid var(--border-default); |
| 2050 | border-radius: 6px; |
| 2051 | cursor: pointer; |
| 2052 | font-size: 0.875rem; |
| 2053 | } |
| 2054 | .shithub-ref-switcher > summary::-webkit-details-marker { display: none; } |
| 2055 | .shithub-ref-panel { |
| 2056 | position: absolute; |
| 2057 | z-index: 30; |
| 2058 | top: calc(100% + 0.4rem); |
| 2059 | left: 0; |
| 2060 | min-width: 220px; |
| 2061 | max-height: 360px; |
| 2062 | overflow-y: auto; |
| 2063 | background: var(--canvas-default); |
| 2064 | border: 1px solid var(--border-default); |
| 2065 | border-radius: 6px; |
| 2066 | padding: 0.5rem; |
| 2067 | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); |
| 2068 | } |
| 2069 | .shithub-ref-panel a { |
| 2070 | display: block; |
| 2071 | padding: 0.3rem 0.4rem; |
| 2072 | color: var(--fg-default); |
| 2073 | font-size: 0.875rem; |
| 2074 | } |
| 2075 | .shithub-ref-panel strong { display: block; margin: 0.4rem 0 0.2rem; font-size: 0.75rem; color: var(--fg-muted); text-transform: uppercase; } |
| 2076 | |
| 2077 | .shithub-clone-dropdown { position: relative; } |
| 2078 | .shithub-clone-dropdown > summary { list-style: none; display: inline-flex; align-items: center; gap: 0.35rem; cursor: pointer; height: 32px; white-space: nowrap; } |
| 2079 | .shithub-clone-dropdown > summary svg:last-child { width: 12px; height: 12px; } |
| 2080 | .shithub-clone-dropdown > summary::-webkit-details-marker { display: none; } |
| 2081 | .shithub-clone-panel { |
| 2082 | position: absolute; |
| 2083 | z-index: 30; |
| 2084 | top: calc(100% + 0.4rem); |
| 2085 | right: 0; |
| 2086 | min-width: 320px; |
| 2087 | background: var(--canvas-default); |
| 2088 | border: 1px solid var(--border-default); |
| 2089 | border-radius: 6px; |
| 2090 | padding: 0.75rem; |
| 2091 | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); |
| 2092 | } |
| 2093 | .shithub-clone-row + .shithub-clone-row { margin-top: 0.6rem; } |
| 2094 | .shithub-clone-row label { display: block; font-size: 0.75rem; color: var(--fg-muted); margin-bottom: 0.25rem; } |
| 2095 | .shithub-clone-input { display: flex; gap: 0.4rem; } |
| 2096 | .shithub-clone-input input { |
| 2097 | flex: 1; |
| 2098 | padding: 0.3rem 0.5rem; |
| 2099 | font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; |
| 2100 | font-size: 0.8rem; |
| 2101 | border: 1px solid var(--border-default); |
| 2102 | border-radius: 4px; |
| 2103 | background: var(--canvas-subtle); |
| 2104 | color: var(--fg-default); |
| 2105 | } |
| 2106 | .shithub-clone-input button { padding: 0.3rem 0.5rem; } |
| 2107 | .shithub-clone-hint { margin: 0.6rem 0 0; font-size: 0.75rem; color: var(--fg-muted); } |
| 2108 | |
| 2109 | /* Profile sub-nav (S30) — Overview / Repositories / Stars tabs. */ |
| 2110 | .shithub-profile-tabs { |
| 2111 | display: flex; |
| 2112 | gap: 0.25rem; |
| 2113 | margin: 1rem 0 1.25rem; |
| 2114 | border-bottom: 1px solid var(--border-default); |
| 2115 | } |
| 2116 | .shithub-profile-tab { |
| 2117 | display: inline-flex; |
| 2118 | align-items: center; |
| 2119 | gap: 0.4rem; |
| 2120 | padding: 0.6rem 0.85rem; |
| 2121 | color: var(--fg-default); |
| 2122 | border-bottom: 2px solid transparent; |
| 2123 | font-size: 0.9rem; |
| 2124 | text-decoration: none; |
| 2125 | position: relative; |
| 2126 | bottom: -1px; |
| 2127 | } |
| 2128 | .shithub-profile-tab:hover { background: var(--canvas-subtle); border-radius: 6px 6px 0 0; } |
| 2129 | .shithub-profile-tab.is-active { border-bottom-color: var(--accent-emphasis, #fd8c73); font-weight: 600; } |
| 2130 | .shithub-tab-count { |
| 2131 | display: inline-block; |
| 2132 | padding: 0.05rem 0.45rem; |
| 2133 | border-radius: 999px; |
| 2134 | background: var(--canvas-subtle); |
| 2135 | border: 1px solid var(--border-default); |
| 2136 | font-size: 0.75rem; |
| 2137 | color: var(--fg-muted); |
| 2138 | } |
| 2139 | |
| 2140 | /* Repositories tab list. */ |
| 2141 | .shithub-repo-list { list-style: none; padding: 0; margin: 0; } |
| 2142 | .shithub-repo-list-row { |
| 2143 | padding: 1rem 0; |
| 2144 | border-bottom: 1px solid var(--border-default); |
| 2145 | } |
| 2146 | .shithub-repo-list-name { margin: 0; font-size: 1.1rem; display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; } |
| 2147 | .shithub-repo-list-name a { color: var(--accent-fg, #4493f8); } |
| 2148 | .shithub-repo-list-meta { color: var(--fg-muted); font-size: 0.8rem; display: flex; gap: 1rem; flex-wrap: wrap; margin: 0.4rem 0 0; } |
| 2149 | .shithub-pill-archived { background: #ffd35a; color: #3b2300; } |
| 2150 | |
| 2151 | /* Organization overview. Mirrors GitHub's org homepage density: |
| 2152 | identity header, underline nav, two-column content, and a right rail. */ |
| 2153 | .shithub-org-profile { |
| 2154 | max-width: 1280px; |
| 2155 | margin: 0 auto; |
| 2156 | } |
| 2157 | .shithub-org-hero { |
| 2158 | padding: 1.5rem 1rem 0; |
| 2159 | } |
| 2160 | .shithub-org-hero-inner { |
| 2161 | display: grid; |
| 2162 | grid-template-columns: 96px minmax(0, 1fr) auto; |
| 2163 | gap: 1.25rem; |
| 2164 | align-items: start; |
| 2165 | } |
| 2166 | .shithub-org-avatar { |
| 2167 | width: 96px; |
| 2168 | height: 96px; |
| 2169 | border-radius: 6px; |
| 2170 | border: 1px solid var(--border-default); |
| 2171 | background: var(--canvas-subtle); |
| 2172 | } |
| 2173 | .shithub-org-identity h1 { |
| 2174 | margin: 0; |
| 2175 | font-size: 1.5rem; |
| 2176 | line-height: 1.25; |
| 2177 | } |
| 2178 | .shithub-org-handle { |
| 2179 | margin: 0.15rem 0 0.65rem; |
| 2180 | color: var(--fg-muted); |
| 2181 | font-size: 1rem; |
| 2182 | } |
| 2183 | .shithub-org-bio { |
| 2184 | max-width: 760px; |
| 2185 | margin: 0 0 0.75rem; |
| 2186 | color: var(--fg-default); |
| 2187 | } |
| 2188 | .shithub-org-meta { |
| 2189 | display: flex; |
| 2190 | flex-wrap: wrap; |
| 2191 | gap: 0.55rem 1rem; |
| 2192 | list-style: none; |
| 2193 | padding: 0; |
| 2194 | margin: 0; |
| 2195 | color: var(--fg-muted); |
| 2196 | font-size: 0.875rem; |
| 2197 | } |
| 2198 | .shithub-org-meta li, |
| 2199 | .shithub-org-meta a, |
| 2200 | .shithub-org-repo-meta span, |
| 2201 | .shithub-org-repo-meta time { |
| 2202 | display: inline-flex; |
| 2203 | align-items: center; |
| 2204 | gap: 0.35rem; |
| 2205 | } |
| 2206 | .shithub-org-meta svg { |
| 2207 | flex: 0 0 auto; |
| 2208 | } |
| 2209 | .shithub-org-hero-actions { |
| 2210 | display: flex; |
| 2211 | gap: 0.5rem; |
| 2212 | } |
| 2213 | .shithub-org-nav { |
| 2214 | display: flex; |
| 2215 | gap: 0.15rem; |
| 2216 | padding: 1rem 1rem 0; |
| 2217 | margin-top: 1.25rem; |
| 2218 | overflow-x: auto; |
| 2219 | overflow-y: hidden; |
| 2220 | border-bottom: 1px solid var(--border-default); |
| 2221 | scrollbar-width: none; |
| 2222 | } |
| 2223 | .shithub-org-nav::-webkit-scrollbar { |
| 2224 | display: none; |
| 2225 | } |
| 2226 | .shithub-org-nav-item { |
| 2227 | display: inline-flex; |
| 2228 | align-items: center; |
| 2229 | gap: 0.4rem; |
| 2230 | flex: 0 0 auto; |
| 2231 | padding: 0.65rem 0.75rem; |
| 2232 | color: var(--fg-default); |
| 2233 | border-bottom: 2px solid transparent; |
| 2234 | font-size: 0.875rem; |
| 2235 | white-space: nowrap; |
| 2236 | } |
| 2237 | .shithub-org-nav-item:hover { |
| 2238 | background: var(--canvas-subtle); |
| 2239 | border-radius: 6px 6px 0 0; |
| 2240 | text-decoration: none; |
| 2241 | } |
| 2242 | .shithub-org-nav-item.is-active { |
| 2243 | border-bottom-color: #fd8c73; |
| 2244 | font-weight: 600; |
| 2245 | } |
| 2246 | .shithub-org-nav-item.is-disabled { |
| 2247 | color: var(--fg-muted); |
| 2248 | cursor: default; |
| 2249 | } |
| 2250 | .shithub-org-nav-item.is-disabled:hover { |
| 2251 | background: transparent; |
| 2252 | border-radius: 0; |
| 2253 | } |
| 2254 | .shithub-org-layout { |
| 2255 | display: grid; |
| 2256 | grid-template-columns: minmax(0, 2fr) minmax(260px, 0.72fr); |
| 2257 | gap: 2rem; |
| 2258 | padding: 1.5rem 1rem 2rem; |
| 2259 | } |
| 2260 | .shithub-org-main { |
| 2261 | min-width: 0; |
| 2262 | } |
| 2263 | .shithub-org-section-head { |
| 2264 | display: flex; |
| 2265 | align-items: center; |
| 2266 | justify-content: space-between; |
| 2267 | gap: 1rem; |
| 2268 | margin-bottom: 0.75rem; |
| 2269 | } |
| 2270 | .shithub-org-section-head h2, |
| 2271 | .shithub-org-repo-head h2, |
| 2272 | .shithub-org-sidebox h2 { |
| 2273 | margin: 0; |
| 2274 | font-size: 1rem; |
| 2275 | font-weight: 600; |
| 2276 | } |
| 2277 | .shithub-org-pinned-grid { |
| 2278 | display: grid; |
| 2279 | grid-template-columns: repeat(2, minmax(0, 1fr)); |
| 2280 | gap: 0.75rem; |
| 2281 | list-style: none; |
| 2282 | padding: 0; |
| 2283 | margin: 0 0 1.5rem; |
| 2284 | } |
| 2285 | .shithub-org-pin-card { |
| 2286 | display: flex; |
| 2287 | min-height: 116px; |
| 2288 | flex-direction: column; |
| 2289 | justify-content: space-between; |
| 2290 | padding: 1rem; |
| 2291 | border: 1px solid var(--border-default); |
| 2292 | border-radius: 6px; |
| 2293 | background: var(--canvas-default); |
| 2294 | } |
| 2295 | .shithub-org-pin-title { |
| 2296 | display: flex; |
| 2297 | align-items: center; |
| 2298 | gap: 0.45rem; |
| 2299 | min-width: 0; |
| 2300 | font-weight: 600; |
| 2301 | } |
| 2302 | .shithub-org-pin-title a { |
| 2303 | overflow-wrap: anywhere; |
| 2304 | } |
| 2305 | .shithub-org-pin-icon { |
| 2306 | display: inline-flex; |
| 2307 | color: var(--fg-muted); |
| 2308 | flex: 0 0 auto; |
| 2309 | } |
| 2310 | .shithub-org-pin-card p { |
| 2311 | margin: 0.65rem 0; |
| 2312 | color: var(--fg-muted); |
| 2313 | font-size: 0.875rem; |
| 2314 | } |
| 2315 | .shithub-org-repo-head { |
| 2316 | display: grid; |
| 2317 | grid-template-columns: minmax(160px, 1fr) minmax(200px, 1.2fr) auto; |
| 2318 | gap: 0.75rem; |
| 2319 | align-items: center; |
| 2320 | margin-bottom: 0.75rem; |
| 2321 | } |
| 2322 | .shithub-org-repo-head h2 { |
| 2323 | display: inline-flex; |
| 2324 | align-items: center; |
| 2325 | gap: 0.4rem; |
| 2326 | } |
| 2327 | .shithub-org-repo-search input { |
| 2328 | width: 100%; |
| 2329 | min-height: 34px; |
| 2330 | padding: 0.35rem 0.75rem; |
| 2331 | border: 1px solid var(--border-default); |
| 2332 | border-radius: 6px; |
| 2333 | background: var(--canvas-default); |
| 2334 | color: var(--fg-default); |
| 2335 | } |
| 2336 | .shithub-org-repo-actions { |
| 2337 | display: flex; |
| 2338 | align-items: center; |
| 2339 | gap: 0.5rem; |
| 2340 | justify-content: flex-end; |
| 2341 | flex-wrap: wrap; |
| 2342 | } |
| 2343 | .shithub-filter-menu { |
| 2344 | position: relative; |
| 2345 | } |
| 2346 | .shithub-filter-menu summary { |
| 2347 | display: inline-flex; |
| 2348 | align-items: center; |
| 2349 | gap: 0.3rem; |
| 2350 | min-height: 34px; |
| 2351 | padding: 0.35rem 0.75rem; |
| 2352 | border: 1px solid var(--border-default); |
| 2353 | border-radius: 6px; |
| 2354 | background: var(--canvas-subtle); |
| 2355 | color: var(--fg-default); |
| 2356 | font-size: 0.875rem; |
| 2357 | font-weight: 600; |
| 2358 | cursor: pointer; |
| 2359 | } |
| 2360 | .shithub-filter-menu summary::-webkit-details-marker { |
| 2361 | display: none; |
| 2362 | } |
| 2363 | .shithub-filter-menu[open] > div { |
| 2364 | position: absolute; |
| 2365 | right: 0; |
| 2366 | z-index: 20; |
| 2367 | min-width: 160px; |
| 2368 | margin-top: 0.35rem; |
| 2369 | padding: 0.35rem 0; |
| 2370 | border: 1px solid var(--border-default); |
| 2371 | border-radius: 6px; |
| 2372 | background: var(--canvas-default); |
| 2373 | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); |
| 2374 | } |
| 2375 | .shithub-filter-menu a { |
| 2376 | display: block; |
| 2377 | padding: 0.45rem 0.75rem; |
| 2378 | color: var(--fg-default); |
| 2379 | font-size: 0.875rem; |
| 2380 | } |
| 2381 | .shithub-filter-menu a:hover { |
| 2382 | background: var(--canvas-subtle); |
| 2383 | text-decoration: none; |
| 2384 | } |
| 2385 | .shithub-org-repo-list { |
| 2386 | list-style: none; |
| 2387 | padding: 0; |
| 2388 | margin: 0; |
| 2389 | border: 1px solid var(--border-default); |
| 2390 | border-radius: 6px; |
| 2391 | overflow: hidden; |
| 2392 | background: var(--canvas-default); |
| 2393 | } |
| 2394 | .shithub-org-repo-row { |
| 2395 | display: grid; |
| 2396 | grid-template-columns: minmax(0, 1fr) 170px; |
| 2397 | gap: 1rem; |
| 2398 | align-items: center; |
| 2399 | padding: 1rem; |
| 2400 | border-top: 1px solid var(--border-default); |
| 2401 | } |
| 2402 | .shithub-org-repo-row:first-child { |
| 2403 | border-top: 0; |
| 2404 | } |
| 2405 | .shithub-org-repo-row h3 { |
| 2406 | display: flex; |
| 2407 | align-items: center; |
| 2408 | gap: 0.45rem; |
| 2409 | flex-wrap: wrap; |
| 2410 | margin: 0; |
| 2411 | font-size: 1rem; |
| 2412 | } |
| 2413 | .shithub-org-repo-row p { |
| 2414 | margin: 0.35rem 0 0; |
| 2415 | color: var(--fg-muted); |
| 2416 | font-size: 0.875rem; |
| 2417 | } |
| 2418 | .shithub-org-row-topics { |
| 2419 | display: flex; |
| 2420 | flex-wrap: wrap; |
| 2421 | gap: 0.35rem; |
| 2422 | margin-top: 0.6rem; |
| 2423 | } |
| 2424 | .shithub-org-repo-meta { |
| 2425 | display: flex; |
| 2426 | flex-wrap: wrap; |
| 2427 | gap: 0.4rem 0.85rem; |
| 2428 | margin-top: 0.7rem; |
| 2429 | color: var(--fg-muted); |
| 2430 | font-size: 0.8rem; |
| 2431 | } |
| 2432 | .shithub-org-repo-meta svg { |
| 2433 | flex: 0 0 auto; |
| 2434 | } |
| 2435 | .shithub-org-repo-spark { |
| 2436 | justify-self: end; |
| 2437 | display: block; |
| 2438 | width: 155px; |
| 2439 | height: 32px; |
| 2440 | overflow: visible; |
| 2441 | } |
| 2442 | .shithub-org-repo-spark-base, |
| 2443 | .shithub-org-repo-spark-line { |
| 2444 | fill: none; |
| 2445 | stroke-linecap: round; |
| 2446 | stroke-linejoin: round; |
| 2447 | vector-effect: non-scaling-stroke; |
| 2448 | } |
| 2449 | .shithub-org-repo-spark-base { |
| 2450 | stroke: color-mix(in srgb, var(--success-fg) 32%, transparent); |
| 2451 | stroke-width: 1; |
| 2452 | } |
| 2453 | .shithub-org-repo-spark-line { |
| 2454 | stroke: var(--success-fg); |
| 2455 | stroke-width: 1.5; |
| 2456 | opacity: 0.78; |
| 2457 | } |
| 2458 | .shithub-org-sidebar { |
| 2459 | min-width: 0; |
| 2460 | } |
| 2461 | .shithub-org-sidebox { |
| 2462 | padding: 1rem 0; |
| 2463 | border-top: 1px solid var(--border-default); |
| 2464 | } |
| 2465 | .shithub-org-sidebox:first-child { |
| 2466 | padding-top: 0; |
| 2467 | border-top: 0; |
| 2468 | } |
| 2469 | .shithub-org-sidebox p { |
| 2470 | margin: 0.5rem 0 0; |
| 2471 | color: var(--fg-muted); |
| 2472 | font-size: 0.875rem; |
| 2473 | } |
| 2474 | .shithub-org-viewas { |
| 2475 | width: 100%; |
| 2476 | justify-content: center; |
| 2477 | cursor: default; |
| 2478 | } |
| 2479 | .shithub-org-people-strip { |
| 2480 | display: flex; |
| 2481 | flex-wrap: wrap; |
| 2482 | gap: 0.35rem; |
| 2483 | margin-top: 0.75rem; |
| 2484 | } |
| 2485 | .shithub-org-people-strip img { |
| 2486 | display: block; |
| 2487 | width: 32px; |
| 2488 | height: 32px; |
| 2489 | border-radius: 50%; |
| 2490 | border: 1px solid var(--border-muted); |
| 2491 | } |
| 2492 | .shithub-org-language-list { |
| 2493 | list-style: none; |
| 2494 | padding: 0; |
| 2495 | margin: 0.75rem 0 0; |
| 2496 | } |
| 2497 | .shithub-org-language-list li { |
| 2498 | display: flex; |
| 2499 | justify-content: space-between; |
| 2500 | gap: 1rem; |
| 2501 | margin: 0.4rem 0; |
| 2502 | color: var(--fg-muted); |
| 2503 | font-size: 0.875rem; |
| 2504 | } |
| 2505 | .shithub-org-language-list span { |
| 2506 | display: inline-flex; |
| 2507 | align-items: center; |
| 2508 | gap: 0.35rem; |
| 2509 | } |
| 2510 | .shithub-org-topic-list { |
| 2511 | display: flex; |
| 2512 | flex-wrap: wrap; |
| 2513 | gap: 0.4rem; |
| 2514 | margin-top: 0.75rem; |
| 2515 | } |
| 2516 | .shithub-org-empty { |
| 2517 | padding: 2rem; |
| 2518 | text-align: center; |
| 2519 | border: 1px dashed var(--border-default); |
| 2520 | border-radius: 6px; |
| 2521 | color: var(--fg-muted); |
| 2522 | } |
| 2523 | .shithub-org-empty h3 { |
| 2524 | margin: 0 0 0.75rem; |
| 2525 | color: var(--fg-default); |
| 2526 | font-size: 1rem; |
| 2527 | } |
| 2528 | .shithub-org-repos-footer { |
| 2529 | display: flex; |
| 2530 | justify-content: center; |
| 2531 | padding: 0.8rem 1rem; |
| 2532 | border: 1px solid var(--border-default); |
| 2533 | border-top: 0; |
| 2534 | border-radius: 0 0 6px 6px; |
| 2535 | background: var(--canvas-subtle); |
| 2536 | font-size: 0.875rem; |
| 2537 | font-weight: 600; |
| 2538 | } |
| 2539 | .shithub-org-repo-list + .shithub-org-repos-footer { |
| 2540 | margin-top: -1px; |
| 2541 | } |
| 2542 | .shithub-filter-menu a.is-selected { |
| 2543 | background: var(--canvas-subtle); |
| 2544 | font-weight: 600; |
| 2545 | } |
| 2546 | .shithub-filter-count { |
| 2547 | float: right; |
| 2548 | margin-left: 1rem; |
| 2549 | color: var(--fg-muted); |
| 2550 | font-weight: 400; |
| 2551 | } |
| 2552 | |
| 2553 | /* Organization repositories tab. GitHub's current route is |
| 2554 | /orgs/{org}/repositories: compact pagehead, repo search, dropdown |
| 2555 | filters, bordered rows, sparklines, and numbered pagination. */ |
| 2556 | .shithub-org-repositories-page { |
| 2557 | max-width: none; |
| 2558 | } |
| 2559 | .shithub-org-repositories-shell { |
| 2560 | max-width: 1040px; |
| 2561 | margin: 0 auto; |
| 2562 | padding: 1.5rem 1rem 2rem; |
| 2563 | } |
| 2564 | .shithub-org-repositories-titlebar { |
| 2565 | display: flex; |
| 2566 | align-items: center; |
| 2567 | justify-content: space-between; |
| 2568 | gap: 1rem; |
| 2569 | margin-bottom: 1rem; |
| 2570 | } |
| 2571 | .shithub-org-repositories-titlebar h1 { |
| 2572 | margin: 0; |
| 2573 | font-size: 1.5rem; |
| 2574 | line-height: 1.25; |
| 2575 | } |
| 2576 | .shithub-org-repositories-titlebar p { |
| 2577 | margin: 0.25rem 0 0; |
| 2578 | color: var(--fg-muted); |
| 2579 | font-size: 0.875rem; |
| 2580 | } |
| 2581 | .shithub-org-repositories-toolbar { |
| 2582 | display: grid; |
| 2583 | grid-template-columns: minmax(240px, 1fr) auto; |
| 2584 | gap: 0.75rem; |
| 2585 | align-items: center; |
| 2586 | padding-bottom: 1rem; |
| 2587 | border-bottom: 1px solid var(--border-default); |
| 2588 | } |
| 2589 | .shithub-org-repositories-search { |
| 2590 | position: relative; |
| 2591 | min-width: 0; |
| 2592 | } |
| 2593 | .shithub-org-repositories-search > span { |
| 2594 | position: absolute; |
| 2595 | left: 0.7rem; |
| 2596 | top: 50%; |
| 2597 | display: inline-flex; |
| 2598 | color: var(--fg-muted); |
| 2599 | transform: translateY(-50%); |
| 2600 | pointer-events: none; |
| 2601 | } |
| 2602 | .shithub-org-repositories-search input[type="search"] { |
| 2603 | width: 100%; |
| 2604 | min-height: 34px; |
| 2605 | padding: 0.35rem 0.75rem 0.35rem 2rem; |
| 2606 | border: 1px solid var(--border-default); |
| 2607 | border-radius: 6px; |
| 2608 | background: var(--canvas-default); |
| 2609 | color: var(--fg-default); |
| 2610 | } |
| 2611 | .shithub-org-repositories-filters { |
| 2612 | display: flex; |
| 2613 | align-items: center; |
| 2614 | justify-content: flex-end; |
| 2615 | gap: 0.5rem; |
| 2616 | flex-wrap: wrap; |
| 2617 | } |
| 2618 | .shithub-org-repositories-filters .shithub-filter-menu[open] > div { |
| 2619 | min-width: 190px; |
| 2620 | } |
| 2621 | .shithub-org-repositories-filters .shithub-filter-menu summary span { |
| 2622 | color: var(--fg-muted); |
| 2623 | font-weight: 400; |
| 2624 | } |
| 2625 | .shithub-org-repositories-list { |
| 2626 | margin-top: 0; |
| 2627 | border-top: 0; |
| 2628 | border-radius: 0 0 6px 6px; |
| 2629 | } |
| 2630 | .shithub-org-repositories-empty { |
| 2631 | margin-top: 1rem; |
| 2632 | } |
| 2633 | .shithub-org-repositories-empty h2 { |
| 2634 | margin: 0 0 0.55rem; |
| 2635 | color: var(--fg-default); |
| 2636 | font-size: 1.1rem; |
| 2637 | } |
| 2638 | .shithub-org-repositories-empty p { |
| 2639 | margin: 0; |
| 2640 | } |
| 2641 | .shithub-org-repositories-pagination { |
| 2642 | display: flex; |
| 2643 | justify-content: center; |
| 2644 | gap: 0.35rem; |
| 2645 | padding: 1.25rem 0 0; |
| 2646 | } |
| 2647 | .shithub-org-repositories-pagination a, |
| 2648 | .shithub-org-repositories-pagination span { |
| 2649 | display: inline-flex; |
| 2650 | align-items: center; |
| 2651 | justify-content: center; |
| 2652 | min-width: 34px; |
| 2653 | min-height: 32px; |
| 2654 | padding: 0.35rem 0.7rem; |
| 2655 | border: 1px solid var(--border-default); |
| 2656 | border-radius: 6px; |
| 2657 | background: var(--canvas-default); |
| 2658 | color: var(--fg-default); |
| 2659 | font-size: 0.875rem; |
| 2660 | font-weight: 600; |
| 2661 | } |
| 2662 | .shithub-org-repositories-pagination a:hover { |
| 2663 | background: var(--canvas-subtle); |
| 2664 | text-decoration: none; |
| 2665 | } |
| 2666 | .shithub-org-repositories-pagination .is-current { |
| 2667 | border-color: var(--accent-emphasis); |
| 2668 | background: var(--accent-emphasis); |
| 2669 | color: #fff; |
| 2670 | } |
| 2671 | .shithub-org-repositories-pagination .is-disabled { |
| 2672 | color: var(--fg-muted); |
| 2673 | opacity: 0.65; |
| 2674 | } |
| 2675 | |
| 2676 | /* Organization People page. Mirrors GitHub's compact org header, |
| 2677 | permissions sidebar, toolbar search, and bordered member rows. */ |
| 2678 | .shithub-org-people { |
| 2679 | max-width: none; |
| 2680 | } |
| 2681 | .shithub-org-pagehead { |
| 2682 | padding-top: 1rem; |
| 2683 | border-bottom: 1px solid var(--border-default); |
| 2684 | } |
| 2685 | .shithub-org-pagehead-inner { |
| 2686 | max-width: 1280px; |
| 2687 | margin: 0 auto; |
| 2688 | padding: 0 1rem; |
| 2689 | } |
| 2690 | .shithub-org-pagehead-title { |
| 2691 | display: inline-flex; |
| 2692 | align-items: center; |
| 2693 | gap: 0.6rem; |
| 2694 | color: var(--fg-default); |
| 2695 | font-size: 1.25rem; |
| 2696 | font-weight: 600; |
| 2697 | line-height: 1.25; |
| 2698 | } |
| 2699 | .shithub-org-pagehead-title:hover { |
| 2700 | text-decoration: none; |
| 2701 | } |
| 2702 | .shithub-org-pagehead-title img { |
| 2703 | display: block; |
| 2704 | width: 30px; |
| 2705 | height: 30px; |
| 2706 | border-radius: 6px; |
| 2707 | border: 1px solid var(--border-muted); |
| 2708 | background: var(--canvas-subtle); |
| 2709 | } |
| 2710 | .shithub-org-pagehead .shithub-org-nav { |
| 2711 | max-width: 1280px; |
| 2712 | margin: 0.9rem auto 0; |
| 2713 | padding: 0 1rem; |
| 2714 | border-bottom: 0; |
| 2715 | } |
| 2716 | |
| 2717 | /* Organization settings profile page. Keeps the GitHub settings shell: |
| 2718 | org pagehead, left settings nav, main form, avatar aside, boxed rows. */ |
| 2719 | .shithub-org-settings-page { |
| 2720 | max-width: none; |
| 2721 | } |
| 2722 | .shithub-org-settings-layout { |
| 2723 | display: grid; |
| 2724 | grid-template-columns: 250px minmax(0, 1fr); |
| 2725 | gap: 1.5rem; |
| 2726 | max-width: 1280px; |
| 2727 | margin: 0 auto; |
| 2728 | padding: 1.5rem 1rem 2rem; |
| 2729 | } |
| 2730 | .shithub-org-settings-sidebar h1 { |
| 2731 | margin: 0 0 1rem; |
| 2732 | font-size: 1.5rem; |
| 2733 | line-height: 1.25; |
| 2734 | } |
| 2735 | .shithub-org-settings-menu { |
| 2736 | display: grid; |
| 2737 | gap: 0.15rem; |
| 2738 | font-size: 0.875rem; |
| 2739 | } |
| 2740 | .shithub-org-settings-menu a, |
| 2741 | .shithub-org-settings-menu span { |
| 2742 | display: flex; |
| 2743 | align-items: center; |
| 2744 | gap: 0.5rem; |
| 2745 | min-height: 32px; |
| 2746 | padding: 0.35rem 0.65rem; |
| 2747 | border-radius: 6px; |
| 2748 | color: var(--fg-default); |
| 2749 | text-decoration: none; |
| 2750 | } |
| 2751 | .shithub-org-settings-menu a:hover { |
| 2752 | background: var(--canvas-subtle); |
| 2753 | text-decoration: none; |
| 2754 | } |
| 2755 | .shithub-org-settings-menu .is-selected { |
| 2756 | font-weight: 600; |
| 2757 | background: var(--canvas-subtle); |
| 2758 | box-shadow: inset 2px 0 0 var(--accent-emphasis); |
| 2759 | } |
| 2760 | .shithub-org-settings-menu span[aria-disabled="true"] { |
| 2761 | color: var(--fg-muted); |
| 2762 | } |
| 2763 | .shithub-org-settings-menu h2 { |
| 2764 | margin: 1rem 0 0.25rem; |
| 2765 | padding-top: 0.75rem; |
| 2766 | border-top: 1px solid var(--border-default); |
| 2767 | color: var(--fg-muted); |
| 2768 | font-size: 0.75rem; |
| 2769 | font-weight: 600; |
| 2770 | text-transform: uppercase; |
| 2771 | } |
| 2772 | .shithub-org-settings-main { |
| 2773 | min-width: 0; |
| 2774 | max-width: 880px; |
| 2775 | } |
| 2776 | .shithub-org-settings-profile { |
| 2777 | padding-bottom: 1rem; |
| 2778 | border-bottom: 1px solid var(--border-muted, var(--border-default)); |
| 2779 | } |
| 2780 | .shithub-org-settings-profile-grid { |
| 2781 | display: grid; |
| 2782 | grid-template-columns: minmax(0, 1fr) 220px; |
| 2783 | gap: 2rem; |
| 2784 | align-items: start; |
| 2785 | } |
| 2786 | .shithub-org-settings-form { |
| 2787 | display: grid; |
| 2788 | gap: 0.85rem; |
| 2789 | max-width: 544px; |
| 2790 | } |
| 2791 | .shithub-org-settings-form label { |
| 2792 | display: grid; |
| 2793 | gap: 0.25rem; |
| 2794 | font-weight: 600; |
| 2795 | } |
| 2796 | .shithub-org-settings-form label small { |
| 2797 | color: var(--fg-muted); |
| 2798 | font-weight: 400; |
| 2799 | } |
| 2800 | .shithub-org-settings-form input[type=text], |
| 2801 | .shithub-org-settings-form input[type=email], |
| 2802 | .shithub-org-settings-form input[type=url], |
| 2803 | .shithub-org-settings-form textarea { |
| 2804 | width: 100%; |
| 2805 | padding: 0.5rem 0.75rem; |
| 2806 | border-radius: 6px; |
| 2807 | } |
| 2808 | .shithub-org-settings-form textarea { |
| 2809 | min-height: 76px; |
| 2810 | resize: vertical; |
| 2811 | } |
| 2812 | .shithub-org-settings-checkbox { |
| 2813 | grid-template-columns: auto minmax(0, 1fr); |
| 2814 | align-items: start; |
| 2815 | font-weight: 400; |
| 2816 | } |
| 2817 | .shithub-org-settings-checkbox input { |
| 2818 | margin-top: 0.3rem; |
| 2819 | } |
| 2820 | .shithub-org-settings-form .shithub-button { |
| 2821 | justify-self: start; |
| 2822 | } |
| 2823 | .shithub-org-settings-avatar h3 { |
| 2824 | margin: 0 0 0.75rem; |
| 2825 | font-size: 0.9rem; |
| 2826 | } |
| 2827 | .shithub-org-settings-avatar .shithub-profile-edit-avatar { |
| 2828 | border-radius: 6px; |
| 2829 | } |
| 2830 | .shithub-org-settings-avatar form { |
| 2831 | display: grid; |
| 2832 | gap: 0.5rem; |
| 2833 | margin: 0.75rem 0 0; |
| 2834 | } |
| 2835 | .shithub-org-settings-section { |
| 2836 | margin-top: 1.5rem; |
| 2837 | } |
| 2838 | .shithub-org-settings-box { |
| 2839 | overflow: hidden; |
| 2840 | border: 1px solid var(--border-default); |
| 2841 | border-radius: 6px; |
| 2842 | background: var(--canvas-default); |
| 2843 | } |
| 2844 | .shithub-org-settings-row { |
| 2845 | display: grid; |
| 2846 | grid-template-columns: minmax(0, 1fr) auto; |
| 2847 | gap: 1rem; |
| 2848 | align-items: center; |
| 2849 | padding: 1rem; |
| 2850 | border-top: 1px solid var(--border-muted, var(--border-default)); |
| 2851 | } |
| 2852 | .shithub-org-settings-row:first-child { |
| 2853 | border-top: 0; |
| 2854 | } |
| 2855 | .shithub-org-settings-row p { |
| 2856 | margin: 0.15rem 0 0; |
| 2857 | color: var(--fg-muted); |
| 2858 | } |
| 2859 | .shithub-org-danger-box { |
| 2860 | margin-top: 0.75rem; |
| 2861 | } |
| 2862 | .shithub-org-danger-row { |
| 2863 | display: grid; |
| 2864 | grid-template-columns: minmax(0, 1fr) auto; |
| 2865 | gap: 1rem; |
| 2866 | align-items: start; |
| 2867 | } |
| 2868 | .shithub-org-danger-row .listgroup-item-title { |
| 2869 | font-weight: 600; |
| 2870 | } |
| 2871 | .shithub-org-danger-row .listgroup-item-body { |
| 2872 | margin-top: 0.15rem; |
| 2873 | color: var(--fg-muted); |
| 2874 | } |
| 2875 | .shithub-org-danger-details { |
| 2876 | display: grid; |
| 2877 | justify-items: end; |
| 2878 | gap: 0.75rem; |
| 2879 | } |
| 2880 | .shithub-org-danger-details > summary { |
| 2881 | list-style: none; |
| 2882 | } |
| 2883 | .shithub-org-danger-details > summary::-webkit-details-marker { |
| 2884 | display: none; |
| 2885 | } |
| 2886 | .shithub-org-delete-form { |
| 2887 | display: grid; |
| 2888 | gap: 0.75rem; |
| 2889 | width: min(320px, 100%); |
| 2890 | padding: 0.75rem; |
| 2891 | border: 1px solid var(--border-default); |
| 2892 | border-radius: 6px; |
| 2893 | background: var(--canvas-subtle); |
| 2894 | } |
| 2895 | .shithub-org-delete-form label { |
| 2896 | display: grid; |
| 2897 | gap: 0.35rem; |
| 2898 | font-weight: 600; |
| 2899 | } |
| 2900 | .shithub-org-delete-form input[type=text] { |
| 2901 | width: 100%; |
| 2902 | padding: 0.5rem 0.75rem; |
| 2903 | border-radius: 6px; |
| 2904 | } |
| 2905 | .shithub-org-people-layout { |
| 2906 | display: grid; |
| 2907 | grid-template-columns: 250px minmax(0, 1fr); |
| 2908 | gap: 1.5rem; |
| 2909 | max-width: 1280px; |
| 2910 | margin: 0 auto; |
| 2911 | padding: 1.5rem 1rem 2rem; |
| 2912 | } |
| 2913 | .shithub-org-people-sidebar { |
| 2914 | min-width: 0; |
| 2915 | } |
| 2916 | .shithub-org-people-sidebar h1 { |
| 2917 | margin: 0 0 1rem; |
| 2918 | font-size: 1.5rem; |
| 2919 | line-height: 1.25; |
| 2920 | } |
| 2921 | .shithub-org-people-menu { |
| 2922 | overflow: hidden; |
| 2923 | border: 1px solid var(--border-default); |
| 2924 | border-radius: 6px; |
| 2925 | background: var(--canvas-default); |
| 2926 | } |
| 2927 | .shithub-org-people-menu h2 { |
| 2928 | display: flex; |
| 2929 | align-items: center; |
| 2930 | justify-content: space-between; |
| 2931 | margin: 0; |
| 2932 | padding: 0.65rem 0.85rem; |
| 2933 | border-bottom: 1px solid var(--border-default); |
| 2934 | background: var(--canvas-subtle); |
| 2935 | font-size: 0.875rem; |
| 2936 | font-weight: 600; |
| 2937 | } |
| 2938 | .shithub-org-people-menu a { |
| 2939 | display: flex; |
| 2940 | align-items: center; |
| 2941 | justify-content: space-between; |
| 2942 | gap: 1rem; |
| 2943 | padding: 0.55rem 0.85rem; |
| 2944 | border-bottom: 1px solid var(--border-muted); |
| 2945 | color: var(--fg-default); |
| 2946 | font-size: 0.875rem; |
| 2947 | } |
| 2948 | .shithub-org-people-menu a:last-child { |
| 2949 | border-bottom: 0; |
| 2950 | } |
| 2951 | .shithub-org-people-menu a:hover { |
| 2952 | background: var(--canvas-subtle); |
| 2953 | text-decoration: none; |
| 2954 | } |
| 2955 | .shithub-org-people-menu a.is-selected { |
| 2956 | color: var(--fg-default); |
| 2957 | font-weight: 600; |
| 2958 | background: var(--canvas-subtle); |
| 2959 | box-shadow: inset 2px 0 0 #fd8c73; |
| 2960 | } |
| 2961 | .shithub-org-people-main { |
| 2962 | min-width: 0; |
| 2963 | } |
| 2964 | .shithub-org-people-toolbar { |
| 2965 | display: flex; |
| 2966 | align-items: flex-start; |
| 2967 | justify-content: space-between; |
| 2968 | gap: 0.75rem; |
| 2969 | margin-bottom: 1rem; |
| 2970 | } |
| 2971 | .shithub-org-people-search { |
| 2972 | position: relative; |
| 2973 | flex: 1 1 360px; |
| 2974 | max-width: 480px; |
| 2975 | } |
| 2976 | .shithub-org-people-search svg { |
| 2977 | position: absolute; |
| 2978 | top: 50%; |
| 2979 | left: 0.75rem; |
| 2980 | width: 16px; |
| 2981 | height: 16px; |
| 2982 | color: var(--fg-muted); |
| 2983 | transform: translateY(-50%); |
| 2984 | pointer-events: none; |
| 2985 | } |
| 2986 | .shithub-org-people-search input, |
| 2987 | .shithub-org-people-invite-panel input, |
| 2988 | .shithub-org-people-invite-panel select, |
| 2989 | .shithub-org-people-actions select { |
| 2990 | width: 100%; |
| 2991 | min-height: 34px; |
| 2992 | border: 1px solid var(--border-default); |
| 2993 | border-radius: 6px; |
| 2994 | background: var(--canvas-default); |
| 2995 | color: var(--fg-default); |
| 2996 | font: inherit; |
| 2997 | } |
| 2998 | .shithub-org-people-search input { |
| 2999 | padding: 0.35rem 0.75rem 0.35rem 2.25rem; |
| 3000 | } |
| 3001 | .shithub-org-people-invite { |
| 3002 | position: relative; |
| 3003 | flex: 0 0 auto; |
| 3004 | } |
| 3005 | .shithub-org-people-invite > summary { |
| 3006 | list-style: none; |
| 3007 | cursor: pointer; |
| 3008 | } |
| 3009 | .shithub-org-people-invite > summary::-webkit-details-marker { |
| 3010 | display: none; |
| 3011 | } |
| 3012 | .shithub-org-people-invite-panel { |
| 3013 | position: absolute; |
| 3014 | right: 0; |
| 3015 | top: calc(100% + 0.45rem); |
| 3016 | z-index: 25; |
| 3017 | display: grid; |
| 3018 | gap: 0.75rem; |
| 3019 | width: min(360px, calc(100vw - 2rem)); |
| 3020 | padding: 1rem; |
| 3021 | border: 1px solid var(--border-default); |
| 3022 | border-radius: 8px; |
| 3023 | background: var(--canvas-default); |
| 3024 | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16); |
| 3025 | } |
| 3026 | .shithub-org-people-invite-panel label { |
| 3027 | display: grid; |
| 3028 | gap: 0.35rem; |
| 3029 | color: var(--fg-default); |
| 3030 | font-size: 0.875rem; |
| 3031 | font-weight: 600; |
| 3032 | } |
| 3033 | .shithub-org-people-invite-panel input, |
| 3034 | .shithub-org-people-invite-panel select, |
| 3035 | .shithub-org-people-actions select { |
| 3036 | padding: 0.35rem 0.65rem; |
| 3037 | } |
| 3038 | .shithub-org-people-card { |
| 3039 | overflow: hidden; |
| 3040 | border: 1px solid var(--border-default); |
| 3041 | border-radius: 6px; |
| 3042 | background: var(--canvas-default); |
| 3043 | } |
| 3044 | .shithub-org-people-list { |
| 3045 | list-style: none; |
| 3046 | padding: 0; |
| 3047 | margin: 0; |
| 3048 | } |
| 3049 | .shithub-org-people-row { |
| 3050 | display: grid; |
| 3051 | grid-template-columns: 64px minmax(0, 1fr) auto auto; |
| 3052 | gap: 0.75rem; |
| 3053 | align-items: center; |
| 3054 | min-height: 76px; |
| 3055 | padding: 0.75rem 1rem; |
| 3056 | border-top: 1px solid var(--border-default); |
| 3057 | } |
| 3058 | .shithub-org-people-row:first-child { |
| 3059 | border-top: 0; |
| 3060 | } |
| 3061 | .shithub-org-people-avatar { |
| 3062 | display: inline-flex; |
| 3063 | width: 48px; |
| 3064 | height: 48px; |
| 3065 | } |
| 3066 | .shithub-org-people-avatar img { |
| 3067 | width: 48px; |
| 3068 | height: 48px; |
| 3069 | border-radius: 50%; |
| 3070 | border: 1px solid var(--border-muted); |
| 3071 | background: var(--canvas-subtle); |
| 3072 | } |
| 3073 | .shithub-org-people-member { |
| 3074 | display: grid; |
| 3075 | min-width: 0; |
| 3076 | line-height: 1.35; |
| 3077 | } |
| 3078 | .shithub-org-people-name { |
| 3079 | overflow: hidden; |
| 3080 | color: var(--fg-default); |
| 3081 | font-size: 1rem; |
| 3082 | font-weight: 600; |
| 3083 | text-overflow: ellipsis; |
| 3084 | white-space: nowrap; |
| 3085 | } |
| 3086 | .shithub-org-people-username { |
| 3087 | overflow: hidden; |
| 3088 | color: var(--fg-muted); |
| 3089 | font-size: 0.875rem; |
| 3090 | text-overflow: ellipsis; |
| 3091 | white-space: nowrap; |
| 3092 | } |
| 3093 | .shithub-org-people-meta { |
| 3094 | display: flex; |
| 3095 | align-items: center; |
| 3096 | justify-content: flex-end; |
| 3097 | gap: 0.65rem; |
| 3098 | color: var(--fg-muted); |
| 3099 | font-size: 0.875rem; |
| 3100 | white-space: nowrap; |
| 3101 | } |
| 3102 | .shithub-org-people-actions { |
| 3103 | display: flex; |
| 3104 | align-items: center; |
| 3105 | justify-content: flex-end; |
| 3106 | gap: 0.5rem; |
| 3107 | } |
| 3108 | .shithub-org-people-actions form { |
| 3109 | margin: 0; |
| 3110 | } |
| 3111 | .shithub-org-people-actions select { |
| 3112 | min-width: 104px; |
| 3113 | background: var(--canvas-subtle); |
| 3114 | } |
| 3115 | .shithub-org-people-empty { |
| 3116 | display: grid; |
| 3117 | place-items: center; |
| 3118 | gap: 0.75rem; |
| 3119 | min-height: 190px; |
| 3120 | padding: 2rem; |
| 3121 | color: var(--fg-muted); |
| 3122 | text-align: center; |
| 3123 | } |
| 3124 | .shithub-org-people-empty svg { |
| 3125 | width: 32px; |
| 3126 | height: 32px; |
| 3127 | } |
| 3128 | .shithub-org-people-empty h2 { |
| 3129 | margin: 0; |
| 3130 | color: var(--fg-default); |
| 3131 | font-size: 1.15rem; |
| 3132 | } |
| 3133 | .shithub-org-pending { |
| 3134 | margin-top: 1.5rem; |
| 3135 | } |
| 3136 | .shithub-org-pending h2 { |
| 3137 | margin: 0 0 0.75rem; |
| 3138 | font-size: 1rem; |
| 3139 | } |
| 3140 | .shithub-org-pending-list { |
| 3141 | overflow: hidden; |
| 3142 | list-style: none; |
| 3143 | padding: 0; |
| 3144 | margin: 0; |
| 3145 | border: 1px solid var(--border-default); |
| 3146 | border-radius: 6px; |
| 3147 | background: var(--canvas-default); |
| 3148 | } |
| 3149 | .shithub-org-pending-list li { |
| 3150 | display: flex; |
| 3151 | align-items: center; |
| 3152 | gap: 0.75rem; |
| 3153 | padding: 0.75rem 1rem; |
| 3154 | border-top: 1px solid var(--border-default); |
| 3155 | } |
| 3156 | .shithub-org-pending-list li:first-child { |
| 3157 | border-top: 0; |
| 3158 | } |
| 3159 | .shithub-org-profile-head { |
| 3160 | max-width: 1280px; |
| 3161 | margin: 0 auto; |
| 3162 | padding: 1.5rem 1rem 0; |
| 3163 | } |
| 3164 | |
| 3165 | .shithub-org-teams-head { |
| 3166 | padding-bottom: 0.25rem; |
| 3167 | } |
| 3168 | |
| 3169 | .shithub-org-teams-title, |
| 3170 | .shithub-org-team-title-row { |
| 3171 | display: flex; |
| 3172 | align-items: center; |
| 3173 | gap: 0.85rem; |
| 3174 | } |
| 3175 | |
| 3176 | .shithub-org-teams-title h1, |
| 3177 | .shithub-org-team-title-row h1 { |
| 3178 | margin: 0; |
| 3179 | font-size: 1.5rem; |
| 3180 | line-height: 1.25; |
| 3181 | } |
| 3182 | |
| 3183 | .shithub-org-teams-avatar, |
| 3184 | .shithub-org-team-avatar { |
| 3185 | flex: 0 0 auto; |
| 3186 | width: 48px; |
| 3187 | height: 48px; |
| 3188 | border: 1px solid var(--border-default); |
| 3189 | border-radius: 6px; |
| 3190 | background: var(--canvas-subtle); |
| 3191 | } |
| 3192 | |
| 3193 | .shithub-org-team-avatar { |
| 3194 | display: inline-flex; |
| 3195 | align-items: center; |
| 3196 | justify-content: center; |
| 3197 | color: var(--fg-muted); |
| 3198 | } |
| 3199 | |
| 3200 | .shithub-org-teams-layout, |
| 3201 | .shithub-org-team-view-layout { |
| 3202 | max-width: 1280px; |
| 3203 | margin: 0 auto; |
| 3204 | display: grid; |
| 3205 | gap: 2rem; |
| 3206 | padding: 1.5rem 1rem 2.5rem; |
| 3207 | } |
| 3208 | |
| 3209 | .shithub-org-teams-layout { |
| 3210 | grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr); |
| 3211 | } |
| 3212 | |
| 3213 | .shithub-org-team-view-layout { |
| 3214 | grid-template-columns: minmax(0, 1fr) 296px; |
| 3215 | } |
| 3216 | |
| 3217 | .shithub-org-teams-main, |
| 3218 | .shithub-org-team-view-main { |
| 3219 | min-width: 0; |
| 3220 | } |
| 3221 | |
| 3222 | .shithub-org-team-toolbar { |
| 3223 | display: flex; |
| 3224 | justify-content: space-between; |
| 3225 | gap: 1rem; |
| 3226 | align-items: flex-start; |
| 3227 | margin-bottom: 1rem; |
| 3228 | } |
| 3229 | |
| 3230 | .shithub-org-team-toolbar h2, |
| 3231 | .shithub-org-team-panel h2, |
| 3232 | .shithub-org-team-manage-box h2 { |
| 3233 | margin: 0; |
| 3234 | font-size: 1rem; |
| 3235 | font-weight: 600; |
| 3236 | } |
| 3237 | |
| 3238 | .shithub-org-team-toolbar p, |
| 3239 | .shithub-org-team-panel-head p, |
| 3240 | .shithub-org-team-manage-box p { |
| 3241 | margin: 0.3rem 0 0; |
| 3242 | color: var(--fg-muted); |
| 3243 | font-size: 0.875rem; |
| 3244 | } |
| 3245 | |
| 3246 | .shithub-org-team-create { |
| 3247 | position: relative; |
| 3248 | flex: 0 0 auto; |
| 3249 | } |
| 3250 | |
| 3251 | .shithub-org-team-create summary { |
| 3252 | list-style: none; |
| 3253 | } |
| 3254 | |
| 3255 | .shithub-org-team-create summary::-webkit-details-marker { |
| 3256 | display: none; |
| 3257 | } |
| 3258 | |
| 3259 | .shithub-org-team-create[open] summary { |
| 3260 | border-bottom-left-radius: 0; |
| 3261 | border-bottom-right-radius: 0; |
| 3262 | } |
| 3263 | |
| 3264 | .shithub-org-team-create-form { |
| 3265 | position: absolute; |
| 3266 | right: 0; |
| 3267 | z-index: 30; |
| 3268 | width: min(360px, calc(100vw - 2rem)); |
| 3269 | display: grid; |
| 3270 | gap: 0.75rem; |
| 3271 | padding: 1rem; |
| 3272 | border: 1px solid var(--border-default); |
| 3273 | border-radius: 6px 0 6px 6px; |
| 3274 | background: var(--canvas-default); |
| 3275 | box-shadow: 0 16px 48px rgba(1, 4, 9, 0.32); |
| 3276 | } |
| 3277 | |
| 3278 | .shithub-org-team-create-form label, |
| 3279 | .shithub-org-team-manage-box label { |
| 3280 | display: grid; |
| 3281 | gap: 0.35rem; |
| 3282 | color: var(--fg-default); |
| 3283 | font-size: 0.875rem; |
| 3284 | font-weight: 600; |
| 3285 | } |
| 3286 | |
| 3287 | .shithub-org-team-create-form input, |
| 3288 | .shithub-org-team-create-form select, |
| 3289 | .shithub-org-team-manage-box input, |
| 3290 | .shithub-org-team-manage-box select { |
| 3291 | width: 100%; |
| 3292 | min-height: 34px; |
| 3293 | padding: 0.35rem 0.6rem; |
| 3294 | border-radius: 6px; |
| 3295 | } |
| 3296 | |
| 3297 | .shithub-org-team-filters { |
| 3298 | display: grid; |
| 3299 | grid-template-columns: minmax(0, 1fr) auto; |
| 3300 | gap: 0.5rem; |
| 3301 | margin-bottom: 0.75rem; |
| 3302 | } |
| 3303 | |
| 3304 | .shithub-org-team-search { |
| 3305 | position: relative; |
| 3306 | display: block; |
| 3307 | } |
| 3308 | |
| 3309 | .shithub-org-team-search svg { |
| 3310 | position: absolute; |
| 3311 | top: 50%; |
| 3312 | left: 0.7rem; |
| 3313 | transform: translateY(-50%); |
| 3314 | color: var(--fg-muted); |
| 3315 | pointer-events: none; |
| 3316 | } |
| 3317 | |
| 3318 | .shithub-org-team-search input { |
| 3319 | width: 100%; |
| 3320 | min-height: 34px; |
| 3321 | padding: 0.35rem 0.7rem 0.35rem 2rem; |
| 3322 | border-radius: 6px; |
| 3323 | } |
| 3324 | |
| 3325 | .shithub-org-team-filter-tabs, |
| 3326 | .shithub-org-team-tabs { |
| 3327 | display: flex; |
| 3328 | gap: 0.25rem; |
| 3329 | border-bottom: 1px solid var(--border-default); |
| 3330 | margin-bottom: 0; |
| 3331 | overflow-x: auto; |
| 3332 | } |
| 3333 | |
| 3334 | .shithub-org-team-filter-tabs a, |
| 3335 | .shithub-org-team-tabs a { |
| 3336 | display: inline-flex; |
| 3337 | align-items: center; |
| 3338 | gap: 0.35rem; |
| 3339 | padding: 0.65rem 0.75rem; |
| 3340 | border-bottom: 2px solid transparent; |
| 3341 | color: var(--fg-default); |
| 3342 | font-size: 0.875rem; |
| 3343 | white-space: nowrap; |
| 3344 | } |
| 3345 | |
| 3346 | .shithub-org-team-filter-tabs a:hover, |
| 3347 | .shithub-org-team-tabs a:hover { |
| 3348 | background: var(--canvas-subtle); |
| 3349 | border-radius: 6px 6px 0 0; |
| 3350 | text-decoration: none; |
| 3351 | } |
| 3352 | |
| 3353 | .shithub-org-team-filter-tabs a.is-selected, |
| 3354 | .shithub-org-team-tabs a.is-selected { |
| 3355 | border-bottom-color: #fd8c73; |
| 3356 | font-weight: 600; |
| 3357 | } |
| 3358 | |
| 3359 | .shithub-org-team-filter-tabs span, |
| 3360 | .shithub-org-team-tabs span { |
| 3361 | padding: 0.05rem 0.45rem; |
| 3362 | border-radius: 999px; |
| 3363 | background: var(--canvas-subtle); |
| 3364 | color: var(--fg-muted); |
| 3365 | font-size: 0.75rem; |
| 3366 | font-weight: 500; |
| 3367 | } |
| 3368 | |
| 3369 | .shithub-org-team-list, |
| 3370 | .shithub-org-team-member-list, |
| 3371 | .shithub-org-team-repo-list { |
| 3372 | list-style: none; |
| 3373 | padding: 0; |
| 3374 | margin: 0; |
| 3375 | border: 1px solid var(--border-default); |
| 3376 | border-top: 0; |
| 3377 | border-radius: 0 0 6px 6px; |
| 3378 | overflow: hidden; |
| 3379 | background: var(--canvas-default); |
| 3380 | } |
| 3381 | |
| 3382 | .shithub-org-team-list-compact { |
| 3383 | border-top: 1px solid var(--border-default); |
| 3384 | border-radius: 6px; |
| 3385 | } |
| 3386 | |
| 3387 | .shithub-org-team-row, |
| 3388 | .shithub-org-team-member-row, |
| 3389 | .shithub-org-team-repo-row { |
| 3390 | display: grid; |
| 3391 | gap: 1rem; |
| 3392 | align-items: center; |
| 3393 | padding: 1rem; |
| 3394 | border-top: 1px solid var(--border-default); |
| 3395 | } |
| 3396 | |
| 3397 | .shithub-org-team-row:first-child, |
| 3398 | .shithub-org-team-member-row:first-child, |
| 3399 | .shithub-org-team-repo-row:first-child { |
| 3400 | border-top: 0; |
| 3401 | } |
| 3402 | |
| 3403 | .shithub-org-team-row { |
| 3404 | grid-template-columns: 40px minmax(0, 1fr); |
| 3405 | } |
| 3406 | |
| 3407 | .shithub-org-team-row-icon, |
| 3408 | .shithub-org-team-repo-icon { |
| 3409 | display: inline-flex; |
| 3410 | align-items: center; |
| 3411 | justify-content: center; |
| 3412 | width: 40px; |
| 3413 | height: 40px; |
| 3414 | border: 1px solid var(--border-default); |
| 3415 | border-radius: 6px; |
| 3416 | background: var(--canvas-subtle); |
| 3417 | color: var(--fg-muted); |
| 3418 | } |
| 3419 | |
| 3420 | .shithub-org-team-row-title { |
| 3421 | display: flex; |
| 3422 | align-items: center; |
| 3423 | gap: 0.45rem; |
| 3424 | flex-wrap: wrap; |
| 3425 | font-weight: 600; |
| 3426 | } |
| 3427 | |
| 3428 | .shithub-org-team-row-main p { |
| 3429 | margin: 0.35rem 0 0; |
| 3430 | color: var(--fg-muted); |
| 3431 | font-size: 0.875rem; |
| 3432 | } |
| 3433 | |
| 3434 | .shithub-org-team-row-meta { |
| 3435 | display: flex; |
| 3436 | flex-wrap: wrap; |
| 3437 | gap: 0.45rem 1rem; |
| 3438 | margin-top: 0.65rem; |
| 3439 | color: var(--fg-muted); |
| 3440 | font-size: 0.8rem; |
| 3441 | } |
| 3442 | |
| 3443 | .shithub-org-team-row-meta span, |
| 3444 | .shithub-org-team-repo-main { |
| 3445 | display: inline-flex; |
| 3446 | align-items: center; |
| 3447 | gap: 0.35rem; |
| 3448 | } |
| 3449 | |
| 3450 | .shithub-org-team-view-head { |
| 3451 | padding-bottom: 0.25rem; |
| 3452 | } |
| 3453 | |
| 3454 | .shithub-org-team-breadcrumb { |
| 3455 | display: flex; |
| 3456 | gap: 0.4rem; |
| 3457 | align-items: center; |
| 3458 | margin-bottom: 0.75rem; |
| 3459 | color: var(--fg-muted); |
| 3460 | font-size: 0.875rem; |
| 3461 | } |
| 3462 | |
| 3463 | .shithub-org-team-title-row { |
| 3464 | flex-wrap: wrap; |
| 3465 | } |
| 3466 | |
| 3467 | .shithub-org-team-description { |
| 3468 | max-width: 760px; |
| 3469 | margin: 0.85rem 0 0; |
| 3470 | } |
| 3471 | |
| 3472 | .shithub-org-team-tabs { |
| 3473 | margin-bottom: 0; |
| 3474 | } |
| 3475 | |
| 3476 | .shithub-org-team-panel { |
| 3477 | margin-top: 1.5rem; |
| 3478 | } |
| 3479 | |
| 3480 | .shithub-org-team-panel-head { |
| 3481 | margin-bottom: 0.75rem; |
| 3482 | } |
| 3483 | |
| 3484 | .shithub-org-team-member-row { |
| 3485 | grid-template-columns: 40px minmax(0, 1fr) auto; |
| 3486 | } |
| 3487 | |
| 3488 | .shithub-org-team-member-row img { |
| 3489 | width: 40px; |
| 3490 | height: 40px; |
| 3491 | border-radius: 50%; |
| 3492 | border: 1px solid var(--border-muted); |
| 3493 | } |
| 3494 | |
| 3495 | .shithub-org-team-member-row p, |
| 3496 | .shithub-org-team-repo-row p { |
| 3497 | margin: 0.25rem 0 0; |
| 3498 | color: var(--fg-muted); |
| 3499 | font-size: 0.8rem; |
| 3500 | } |
| 3501 | |
| 3502 | .shithub-org-team-repo-row { |
| 3503 | grid-template-columns: minmax(0, 1fr) auto; |
| 3504 | } |
| 3505 | |
| 3506 | .shithub-org-team-repo-main { |
| 3507 | min-width: 0; |
| 3508 | } |
| 3509 | |
| 3510 | .shithub-org-team-repo-main > div { |
| 3511 | min-width: 0; |
| 3512 | } |
| 3513 | |
| 3514 | .shithub-org-team-manage { |
| 3515 | min-width: 0; |
| 3516 | } |
| 3517 | |
| 3518 | .shithub-org-team-manage-box { |
| 3519 | padding: 1rem 0; |
| 3520 | border-top: 1px solid var(--border-default); |
| 3521 | } |
| 3522 | |
| 3523 | .shithub-org-team-manage-box:first-child { |
| 3524 | padding-top: 0; |
| 3525 | border-top: 0; |
| 3526 | } |
| 3527 | |
| 3528 | .shithub-org-team-manage-box form { |
| 3529 | display: grid; |
| 3530 | gap: 0.75rem; |
| 3531 | margin-top: 0.75rem; |
| 3532 | } |
| 3533 | |
| 3534 | @media (max-width: 900px) { |
| 3535 | .shithub-org-teams-layout, |
| 3536 | .shithub-org-team-view-layout { |
| 3537 | grid-template-columns: 1fr; |
| 3538 | } |
| 3539 | |
| 3540 | .shithub-org-team-create-form { |
| 3541 | position: static; |
| 3542 | margin-top: 0.5rem; |
| 3543 | width: 100%; |
| 3544 | border-radius: 6px; |
| 3545 | } |
| 3546 | } |
| 3547 | |
| 3548 | @media (max-width: 640px) { |
| 3549 | .shithub-org-team-toolbar, |
| 3550 | .shithub-org-team-filters { |
| 3551 | grid-template-columns: 1fr; |
| 3552 | } |
| 3553 | |
| 3554 | .shithub-org-team-toolbar { |
| 3555 | display: grid; |
| 3556 | } |
| 3557 | |
| 3558 | .shithub-org-team-member-row, |
| 3559 | .shithub-org-team-repo-row { |
| 3560 | grid-template-columns: 1fr; |
| 3561 | } |
| 3562 | |
| 3563 | .shithub-org-team-member-row img { |
| 3564 | display: none; |
| 3565 | } |
| 3566 | } |
| 3567 | |
| 3568 | .shithub-modal-open { |
| 3569 | overflow: hidden; |
| 3570 | } |
| 3571 | .shithub-pins-overlay { |
| 3572 | position: fixed; |
| 3573 | inset: 0; |
| 3574 | z-index: 100; |
| 3575 | display: flex; |
| 3576 | align-items: center; |
| 3577 | justify-content: center; |
| 3578 | padding: 1rem; |
| 3579 | background: rgba(1, 4, 9, 0.55); |
| 3580 | } |
| 3581 | .shithub-pins-overlay[hidden] { |
| 3582 | display: none; |
| 3583 | } |
| 3584 | .shithub-pins-dialog { |
| 3585 | width: min(480px, 100%); |
| 3586 | max-height: min(620px, calc(100vh - 2rem)); |
| 3587 | display: flex; |
| 3588 | flex-direction: column; |
| 3589 | border: 1px solid var(--border-default); |
| 3590 | border-radius: 8px; |
| 3591 | background: var(--canvas-default); |
| 3592 | box-shadow: 0 16px 48px rgba(1, 4, 9, 0.42); |
| 3593 | overflow: hidden; |
| 3594 | } |
| 3595 | .shithub-pins-head { |
| 3596 | display: flex; |
| 3597 | align-items: center; |
| 3598 | justify-content: space-between; |
| 3599 | gap: 1rem; |
| 3600 | padding: 1rem; |
| 3601 | } |
| 3602 | .shithub-pins-head h2 { |
| 3603 | margin: 0; |
| 3604 | font-size: 1rem; |
| 3605 | } |
| 3606 | .shithub-pins-close { |
| 3607 | flex: 0 0 auto; |
| 3608 | } |
| 3609 | .shithub-pins-help { |
| 3610 | margin: 0; |
| 3611 | padding: 0 1rem 0.75rem; |
| 3612 | color: var(--fg-muted); |
| 3613 | font-size: 0.875rem; |
| 3614 | } |
| 3615 | .shithub-pins-dialog form { |
| 3616 | display: flex; |
| 3617 | min-height: 0; |
| 3618 | flex-direction: column; |
| 3619 | } |
| 3620 | .shithub-pins-filter { |
| 3621 | display: flex; |
| 3622 | align-items: center; |
| 3623 | gap: 0.5rem; |
| 3624 | margin: 0 1rem; |
| 3625 | padding: 0.4rem 0.65rem; |
| 3626 | border: 1px solid var(--border-default); |
| 3627 | border-radius: 6px; |
| 3628 | background: var(--canvas-subtle); |
| 3629 | color: var(--fg-muted); |
| 3630 | } |
| 3631 | .shithub-pins-filter input { |
| 3632 | min-width: 0; |
| 3633 | width: 100%; |
| 3634 | border: 0; |
| 3635 | outline: 0; |
| 3636 | background: transparent; |
| 3637 | color: var(--fg-default); |
| 3638 | font: inherit; |
| 3639 | } |
| 3640 | .shithub-pins-count { |
| 3641 | margin: 0.45rem 1rem 0.75rem; |
| 3642 | color: var(--fg-muted); |
| 3643 | font-size: 0.75rem; |
| 3644 | } |
| 3645 | .shithub-pins-count.is-full { |
| 3646 | color: var(--danger-fg, #cf222e); |
| 3647 | } |
| 3648 | .shithub-pins-list { |
| 3649 | min-height: 180px; |
| 3650 | max-height: 380px; |
| 3651 | overflow: auto; |
| 3652 | border-top: 1px solid var(--border-default); |
| 3653 | border-bottom: 1px solid var(--border-default); |
| 3654 | } |
| 3655 | .shithub-pins-row { |
| 3656 | display: grid; |
| 3657 | grid-template-columns: auto auto minmax(0, 1fr) auto; |
| 3658 | gap: 0.6rem; |
| 3659 | align-items: center; |
| 3660 | padding: 0.45rem 1rem; |
| 3661 | color: var(--fg-default); |
| 3662 | cursor: pointer; |
| 3663 | } |
| 3664 | .shithub-pins-row + .shithub-pins-row { |
| 3665 | border-top: 1px solid var(--border-muted, var(--border-default)); |
| 3666 | } |
| 3667 | .shithub-pins-row:hover { |
| 3668 | background: var(--canvas-subtle); |
| 3669 | } |
| 3670 | .shithub-pins-row input { |
| 3671 | margin: 0; |
| 3672 | } |
| 3673 | .shithub-pins-row-icon { |
| 3674 | display: inline-flex; |
| 3675 | color: var(--fg-muted); |
| 3676 | } |
| 3677 | .shithub-pins-row-main { |
| 3678 | min-width: 0; |
| 3679 | } |
| 3680 | .shithub-pins-row-name { |
| 3681 | display: block; |
| 3682 | overflow: hidden; |
| 3683 | text-overflow: ellipsis; |
| 3684 | white-space: nowrap; |
| 3685 | font-weight: 600; |
| 3686 | } |
| 3687 | .shithub-pins-row-desc { |
| 3688 | display: block; |
| 3689 | margin-top: 0.1rem; |
| 3690 | overflow: hidden; |
| 3691 | text-overflow: ellipsis; |
| 3692 | white-space: nowrap; |
| 3693 | color: var(--fg-muted); |
| 3694 | font-size: 0.75rem; |
| 3695 | } |
| 3696 | .shithub-pins-row-stars { |
| 3697 | display: inline-flex; |
| 3698 | align-items: center; |
| 3699 | gap: 0.25rem; |
| 3700 | color: var(--fg-muted); |
| 3701 | font-size: 0.875rem; |
| 3702 | } |
| 3703 | .shithub-pins-empty { |
| 3704 | margin: 0; |
| 3705 | padding: 1.25rem; |
| 3706 | color: var(--fg-muted); |
| 3707 | text-align: center; |
| 3708 | } |
| 3709 | .shithub-pins-actions { |
| 3710 | display: flex; |
| 3711 | justify-content: flex-end; |
| 3712 | padding: 1rem; |
| 3713 | } |
| 3714 | @media (max-width: 960px) { |
| 3715 | .shithub-org-hero-inner, |
| 3716 | .shithub-org-layout, |
| 3717 | .shithub-org-settings-layout, |
| 3718 | .shithub-org-settings-profile-grid, |
| 3719 | .shithub-org-people-layout, |
| 3720 | .shithub-org-repo-head, |
| 3721 | .shithub-org-repositories-toolbar { |
| 3722 | grid-template-columns: 1fr; |
| 3723 | } |
| 3724 | .shithub-org-avatar { |
| 3725 | width: 80px; |
| 3726 | height: 80px; |
| 3727 | } |
| 3728 | .shithub-org-hero-actions, |
| 3729 | .shithub-org-repo-actions, |
| 3730 | .shithub-org-repositories-filters { |
| 3731 | justify-content: flex-start; |
| 3732 | } |
| 3733 | .shithub-org-repo-row { |
| 3734 | grid-template-columns: 1fr; |
| 3735 | } |
| 3736 | .shithub-org-people-toolbar, |
| 3737 | .shithub-org-people-row, |
| 3738 | .shithub-org-people-meta, |
| 3739 | .shithub-org-people-actions { |
| 3740 | align-items: stretch; |
| 3741 | } |
| 3742 | .shithub-org-people-toolbar { |
| 3743 | flex-direction: column; |
| 3744 | } |
| 3745 | .shithub-org-people-search { |
| 3746 | width: 100%; |
| 3747 | max-width: none; |
| 3748 | } |
| 3749 | .shithub-org-settings-main, |
| 3750 | .shithub-org-settings-form { |
| 3751 | max-width: none; |
| 3752 | } |
| 3753 | .shithub-org-people-row { |
| 3754 | grid-template-columns: 48px minmax(0, 1fr); |
| 3755 | } |
| 3756 | .shithub-org-people-meta, |
| 3757 | .shithub-org-people-actions { |
| 3758 | grid-column: 1 / -1; |
| 3759 | justify-content: flex-start; |
| 3760 | flex-wrap: wrap; |
| 3761 | } |
| 3762 | .shithub-org-repo-spark { |
| 3763 | display: none; |
| 3764 | } |
| 3765 | } |
| 3766 | @media (max-width: 640px) { |
| 3767 | .shithub-org-pinned-grid { |
| 3768 | grid-template-columns: 1fr; |
| 3769 | } |
| 3770 | .shithub-profile-pinned-grid { |
| 3771 | grid-template-columns: 1fr; |
| 3772 | } |
| 3773 | .shithub-org-nav { |
| 3774 | padding-inline: 0.5rem; |
| 3775 | } |
| 3776 | .shithub-org-layout, |
| 3777 | .shithub-org-hero, |
| 3778 | .shithub-org-settings-layout, |
| 3779 | .shithub-org-pagehead-inner, |
| 3780 | .shithub-org-people-layout { |
| 3781 | padding-inline: 0.75rem; |
| 3782 | } |
| 3783 | .shithub-org-settings-row, |
| 3784 | .shithub-org-danger-row { |
| 3785 | grid-template-columns: 1fr; |
| 3786 | } |
| 3787 | .shithub-org-danger-details { |
| 3788 | justify-items: start; |
| 3789 | } |
| 3790 | .shithub-org-pagehead .shithub-org-nav { |
| 3791 | padding-inline: 0.75rem; |
| 3792 | } |
| 3793 | } |
| 3794 | |
| 3795 | .shithub-repo-header { margin-bottom: 1.25rem; } |
| 3796 | .shithub-repo-header-inner { |
| 3797 | display: flex; |
| 3798 | align-items: center; |
| 3799 | justify-content: space-between; |
| 3800 | gap: 1rem; |
| 3801 | padding: 0.25rem 0 0.75rem; |
| 3802 | } |
| 3803 | .shithub-repo-page-title { font-size: 1.4rem; margin: 0; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; } |
| 3804 | .shithub-repo-page-title a { color: var(--accent-fg, #4493f8); } |
| 3805 | .shithub-repo-page-title .shithub-repo-name { font-weight: 600; } |
| 3806 | .shithub-repo-title-icon { color: var(--fg-muted); display: inline-flex; align-items: center; } |
| 3807 | .shithub-repo-actions { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; } |
| 3808 | .shithub-repo-action-form { margin: 0; } |
| 3809 | .shithub-repo-action { |
| 3810 | display: inline-flex; |
| 3811 | align-items: center; |
| 3812 | gap: 0.35rem; |
| 3813 | min-height: 32px; |
| 3814 | padding: 0 0.7rem; |
| 3815 | border: 1px solid var(--border-default); |
| 3816 | border-radius: 6px; |
| 3817 | color: var(--fg-default); |
| 3818 | background: var(--canvas-subtle); |
| 3819 | font-size: 0.875rem; |
| 3820 | font-weight: 600; |
| 3821 | line-height: 20px; |
| 3822 | white-space: nowrap; |
| 3823 | cursor: pointer; |
| 3824 | } |
| 3825 | .shithub-repo-action:hover { text-decoration: none; background: var(--canvas-inset); } |
| 3826 | button.shithub-repo-action { |
| 3827 | font-family: inherit; |
| 3828 | } |
| 3829 | .shithub-repo-action.is-active { |
| 3830 | color: var(--accent-fg); |
| 3831 | } |
| 3832 | .shithub-repo-action-label { color: inherit; } |
| 3833 | .shithub-repo-action .shithub-counter { |
| 3834 | color: var(--fg-muted); |
| 3835 | font-weight: 600; |
| 3836 | font-size: 0.75rem; |
| 3837 | padding: 0 0.35rem; |
| 3838 | min-width: 1.25rem; |
| 3839 | border-radius: 999px; |
| 3840 | background: rgba(110, 118, 129, 0.18); |
| 3841 | } |
| 3842 | .shithub-repo-action-menu { position: relative; } |
| 3843 | .shithub-repo-action-menu > summary { list-style: none; } |
| 3844 | .shithub-repo-action-menu > summary::-webkit-details-marker { display: none; } |
| 3845 | .shithub-repo-action-button svg:last-child { |
| 3846 | width: 12px; |
| 3847 | height: 12px; |
| 3848 | color: var(--fg-muted); |
| 3849 | } |
| 3850 | .shithub-repo-action-popover { |
| 3851 | position: absolute; |
| 3852 | right: 0; |
| 3853 | top: calc(100% + 0.4rem); |
| 3854 | z-index: 20; |
| 3855 | width: min(340px, calc(100vw - 2rem)); |
| 3856 | padding: 0.5rem 0; |
| 3857 | border: 1px solid var(--border-default); |
| 3858 | border-radius: 8px; |
| 3859 | background: var(--canvas-default); |
| 3860 | box-shadow: 0 16px 32px rgba(1, 4, 9, 0.2); |
| 3861 | } |
| 3862 | .shithub-repo-action-popover strong { |
| 3863 | display: block; |
| 3864 | padding: 0.45rem 0.85rem 0.55rem; |
| 3865 | border-bottom: 1px solid var(--border-muted); |
| 3866 | } |
| 3867 | .shithub-repo-action-option-form { margin: 0; } |
| 3868 | .shithub-repo-action-option { |
| 3869 | width: 100%; |
| 3870 | display: grid; |
| 3871 | grid-template-columns: 16px minmax(0, 1fr); |
| 3872 | gap: 0.6rem; |
| 3873 | padding: 0.65rem 0.85rem; |
| 3874 | border: 0; |
| 3875 | border-bottom: 1px solid var(--border-muted); |
| 3876 | background: transparent; |
| 3877 | color: var(--fg-default); |
| 3878 | font: inherit; |
| 3879 | text-align: left; |
| 3880 | cursor: pointer; |
| 3881 | } |
| 3882 | .shithub-repo-action-option:hover { background: var(--canvas-subtle); } |
| 3883 | .shithub-repo-action-radio { |
| 3884 | width: 14px; |
| 3885 | height: 14px; |
| 3886 | margin-top: 0.25rem; |
| 3887 | border: 1px solid var(--border-default); |
| 3888 | border-radius: 50%; |
| 3889 | } |
| 3890 | .shithub-repo-action-option.is-selected .shithub-repo-action-radio { |
| 3891 | border-color: var(--accent-emphasis); |
| 3892 | box-shadow: inset 0 0 0 3px var(--canvas-default); |
| 3893 | background: var(--accent-emphasis); |
| 3894 | } |
| 3895 | .shithub-repo-action-option-title { |
| 3896 | display: block; |
| 3897 | font-weight: 600; |
| 3898 | } |
| 3899 | .shithub-repo-action-option-description { |
| 3900 | display: block; |
| 3901 | margin-top: 0.15rem; |
| 3902 | color: var(--fg-muted); |
| 3903 | font-size: 0.78rem; |
| 3904 | line-height: 1.35; |
| 3905 | } |
| 3906 | .shithub-repo-action-popover-link { |
| 3907 | display: block; |
| 3908 | padding: 0.55rem 0.85rem 0.35rem; |
| 3909 | color: var(--fg-muted); |
| 3910 | font-size: 0.82rem; |
| 3911 | } |
| 3912 | .shithub-repo-subnav { |
| 3913 | display: flex; |
| 3914 | gap: 0.25rem; |
| 3915 | margin: 0; |
| 3916 | border-bottom: 1px solid var(--border-default); |
| 3917 | overflow-x: auto; |
| 3918 | overflow-y: hidden; |
| 3919 | overscroll-behavior-x: contain; |
| 3920 | scrollbar-width: none; |
| 3921 | } |
| 3922 | .shithub-repo-subnav::-webkit-scrollbar { |
| 3923 | display: none; |
| 3924 | } |
| 3925 | .shithub-repo-subnav-tab { |
| 3926 | display: inline-flex; |
| 3927 | align-items: center; |
| 3928 | gap: 0.4rem; |
| 3929 | padding: 0.55rem 0.85rem; |
| 3930 | color: var(--fg-default); |
| 3931 | border-bottom: 2px solid transparent; |
| 3932 | font-size: 0.9rem; |
| 3933 | text-decoration: none; |
| 3934 | position: relative; |
| 3935 | bottom: -1px; |
| 3936 | flex: 0 0 auto; |
| 3937 | white-space: nowrap; |
| 3938 | } |
| 3939 | .shithub-repo-subnav-tab:hover { background: var(--canvas-subtle); border-radius: 6px 6px 0 0; } |
| 3940 | .shithub-repo-subnav-tab.is-active { border-bottom-color: var(--accent-emphasis, #fd8c73); font-weight: 600; } |
| 3941 | |
| 3942 | .shithub-repo-content-grid { |
| 3943 | display: grid; |
| 3944 | grid-template-columns: minmax(0, 1fr) 296px; |
| 3945 | gap: 1.5rem; |
| 3946 | align-items: start; |
| 3947 | } |
| 3948 | .shithub-repo-main { min-width: 0; } |
| 3949 | |
| 3950 | .shithub-repo-product-page { |
| 3951 | max-width: 80rem; |
| 3952 | margin: 1.5rem auto 2rem; |
| 3953 | padding: 0 1rem; |
| 3954 | display: grid; |
| 3955 | grid-template-columns: 18rem minmax(0, 1fr); |
| 3956 | gap: 1.5rem; |
| 3957 | } |
| 3958 | .shithub-repo-product-sidebar { min-width: 0; } |
| 3959 | .shithub-repo-product-sidebar h2 { |
| 3960 | margin: 0 0 0.75rem; |
| 3961 | font-size: 1rem; |
| 3962 | } |
| 3963 | .shithub-repo-product-sidebar nav { |
| 3964 | display: grid; |
| 3965 | gap: 0.15rem; |
| 3966 | } |
| 3967 | .shithub-repo-product-sidebar a { |
| 3968 | display: block; |
| 3969 | padding: 0.45rem 0.6rem; |
| 3970 | border-radius: 6px; |
| 3971 | color: var(--fg-default); |
| 3972 | text-decoration: none; |
| 3973 | font-size: 0.875rem; |
| 3974 | } |
| 3975 | .shithub-repo-product-sidebar a:hover, |
| 3976 | .shithub-repo-product-sidebar a.is-active { |
| 3977 | background: var(--canvas-subtle); |
| 3978 | } |
| 3979 | .shithub-repo-product-main { min-width: 0; } |
| 3980 | .shithub-repo-product-head { |
| 3981 | display: flex; |
| 3982 | align-items: flex-start; |
| 3983 | gap: 0.8rem; |
| 3984 | padding-bottom: 1rem; |
| 3985 | border-bottom: 1px solid var(--border-default); |
| 3986 | } |
| 3987 | .shithub-repo-product-icon { |
| 3988 | display: inline-flex; |
| 3989 | align-items: center; |
| 3990 | justify-content: center; |
| 3991 | width: 2rem; |
| 3992 | height: 2rem; |
| 3993 | border: 1px solid var(--border-default); |
| 3994 | border-radius: 6px; |
| 3995 | color: var(--fg-muted); |
| 3996 | background: var(--canvas-subtle); |
| 3997 | flex: 0 0 auto; |
| 3998 | } |
| 3999 | .shithub-repo-product-head h1 { |
| 4000 | margin: 0 0 0.2rem; |
| 4001 | font-size: 1.5rem; |
| 4002 | font-weight: 600; |
| 4003 | } |
| 4004 | .shithub-repo-product-head p { |
| 4005 | margin: 0; |
| 4006 | color: var(--fg-muted); |
| 4007 | font-size: 0.95rem; |
| 4008 | } |
| 4009 | .shithub-repo-product-blankslate { |
| 4010 | margin-top: 1rem; |
| 4011 | border: 1px solid var(--border-default); |
| 4012 | border-radius: 6px; |
| 4013 | background: var(--canvas-default); |
| 4014 | } |
| 4015 | .shithub-repo-product-section { |
| 4016 | padding: 1rem; |
| 4017 | border-bottom: 1px solid var(--border-default); |
| 4018 | } |
| 4019 | .shithub-repo-product-section:last-child { border-bottom: 0; } |
| 4020 | .shithub-repo-product-section h2 { |
| 4021 | margin: 0 0 0.35rem; |
| 4022 | font-size: 1rem; |
| 4023 | } |
| 4024 | .shithub-repo-product-section p { |
| 4025 | margin: 0; |
| 4026 | color: var(--fg-muted); |
| 4027 | font-size: 0.9rem; |
| 4028 | } |
| 4029 | @media (max-width: 800px) { |
| 4030 | .shithub-repo-product-page { |
| 4031 | grid-template-columns: 1fr; |
| 4032 | } |
| 4033 | .shithub-repo-product-sidebar nav { |
| 4034 | display: flex; |
| 4035 | overflow-x: auto; |
| 4036 | } |
| 4037 | .shithub-repo-product-sidebar a { |
| 4038 | white-space: nowrap; |
| 4039 | } |
| 4040 | } |
| 4041 | |
| 4042 | /* ========== Repository Actions ========== */ |
| 4043 | .shithub-actions-page, |
| 4044 | .shithub-actions-run-layout { |
| 4045 | display: grid; |
| 4046 | grid-template-columns: 18rem minmax(0, 1fr); |
| 4047 | gap: 1.5rem; |
| 4048 | max-width: 1280px; |
| 4049 | margin: 0 auto; |
| 4050 | padding: 1.5rem 1rem; |
| 4051 | } |
| 4052 | .shithub-actions-sidebar { |
| 4053 | align-self: start; |
| 4054 | display: flex; |
| 4055 | flex-direction: column; |
| 4056 | gap: 0.25rem; |
| 4057 | } |
| 4058 | .shithub-actions-sidebar-section { |
| 4059 | margin-top: 1rem; |
| 4060 | padding-top: 0.75rem; |
| 4061 | border-top: 1px solid var(--border-default); |
| 4062 | } |
| 4063 | .shithub-actions-sidebar-section h2 { |
| 4064 | margin: 0 0 0.4rem; |
| 4065 | padding: 0 0.55rem; |
| 4066 | color: var(--fg-muted); |
| 4067 | font-size: 0.78rem; |
| 4068 | font-weight: 600; |
| 4069 | } |
| 4070 | .shithub-actions-sidebar-section p { |
| 4071 | margin: 0; |
| 4072 | padding: 0.25rem 0.55rem; |
| 4073 | color: var(--fg-muted); |
| 4074 | font-size: 0.85rem; |
| 4075 | } |
| 4076 | .shithub-actions-nav-item { |
| 4077 | display: grid; |
| 4078 | grid-template-columns: 1rem minmax(0, 1fr) auto; |
| 4079 | align-items: center; |
| 4080 | gap: 0.5rem; |
| 4081 | min-height: 2rem; |
| 4082 | padding: 0.35rem 0.55rem; |
| 4083 | border-radius: 6px; |
| 4084 | color: var(--fg-default); |
| 4085 | font-size: 0.9rem; |
| 4086 | text-decoration: none; |
| 4087 | } |
| 4088 | .shithub-actions-nav-item:hover, |
| 4089 | .shithub-actions-nav-item.is-active { |
| 4090 | background: var(--canvas-subtle); |
| 4091 | text-decoration: none; |
| 4092 | } |
| 4093 | .shithub-actions-nav-item span:nth-child(2) { |
| 4094 | overflow: hidden; |
| 4095 | text-overflow: ellipsis; |
| 4096 | white-space: nowrap; |
| 4097 | } |
| 4098 | .shithub-actions-nav-count { |
| 4099 | color: var(--fg-muted); |
| 4100 | font-size: 0.78rem; |
| 4101 | } |
| 4102 | .shithub-actions-main, |
| 4103 | .shithub-actions-run-main { |
| 4104 | min-width: 0; |
| 4105 | } |
| 4106 | .shithub-actions-head { |
| 4107 | display: flex; |
| 4108 | align-items: center; |
| 4109 | justify-content: space-between; |
| 4110 | gap: 1rem; |
| 4111 | margin-bottom: 1rem; |
| 4112 | } |
| 4113 | .shithub-actions-head h1 { |
| 4114 | margin: 0; |
| 4115 | font-size: 1.5rem; |
| 4116 | } |
| 4117 | .shithub-actions-head p { |
| 4118 | margin: 0.2rem 0 0; |
| 4119 | color: var(--fg-muted); |
| 4120 | } |
| 4121 | .shithub-actions-filters { |
| 4122 | display: grid; |
| 4123 | grid-template-columns: minmax(16rem, 1fr) repeat(3, auto); |
| 4124 | gap: 0.5rem; |
| 4125 | margin-bottom: 1rem; |
| 4126 | } |
| 4127 | .shithub-actions-search { |
| 4128 | display: flex; |
| 4129 | align-items: center; |
| 4130 | gap: 0.45rem; |
| 4131 | min-width: 0; |
| 4132 | padding: 0.35rem 0.55rem; |
| 4133 | border: 1px solid var(--border-default); |
| 4134 | border-radius: 6px; |
| 4135 | background: var(--canvas-default); |
| 4136 | color: var(--fg-muted); |
| 4137 | } |
| 4138 | .shithub-actions-search input { |
| 4139 | width: 100%; |
| 4140 | min-width: 0; |
| 4141 | border: 0; |
| 4142 | outline: 0; |
| 4143 | background: transparent; |
| 4144 | color: var(--fg-muted); |
| 4145 | } |
| 4146 | .shithub-actions-filter-button { |
| 4147 | display: inline-flex; |
| 4148 | align-items: center; |
| 4149 | gap: 0.35rem; |
| 4150 | padding: 0.35rem 0.7rem; |
| 4151 | border: 1px solid var(--border-default); |
| 4152 | border-radius: 6px; |
| 4153 | background: var(--canvas-default); |
| 4154 | color: var(--fg-default); |
| 4155 | font-size: 0.88rem; |
| 4156 | font-weight: 600; |
| 4157 | } |
| 4158 | .shithub-actions-runs { |
| 4159 | overflow: hidden; |
| 4160 | border: 1px solid var(--border-default); |
| 4161 | border-radius: 6px; |
| 4162 | background: var(--canvas-default); |
| 4163 | } |
| 4164 | .shithub-actions-run-row { |
| 4165 | display: grid; |
| 4166 | grid-template-columns: minmax(0, 1.6fr) minmax(9rem, 0.7fr) minmax(13rem, 0.8fr); |
| 4167 | gap: 1rem; |
| 4168 | align-items: center; |
| 4169 | padding: 0.9rem 1rem; |
| 4170 | border-top: 1px solid var(--border-default); |
| 4171 | } |
| 4172 | .shithub-actions-run-row:first-child { border-top: 0; } |
| 4173 | .shithub-actions-run-primary, |
| 4174 | .shithub-actions-run-branch, |
| 4175 | .shithub-actions-run-meta { |
| 4176 | min-width: 0; |
| 4177 | } |
| 4178 | .shithub-actions-run-title { |
| 4179 | display: flex; |
| 4180 | align-items: flex-start; |
| 4181 | gap: 0.55rem; |
| 4182 | min-width: 0; |
| 4183 | color: var(--fg-default); |
| 4184 | font-size: 1rem; |
| 4185 | font-weight: 600; |
| 4186 | text-decoration: none; |
| 4187 | } |
| 4188 | .shithub-actions-run-title span:last-child { |
| 4189 | overflow: hidden; |
| 4190 | text-overflow: ellipsis; |
| 4191 | white-space: nowrap; |
| 4192 | } |
| 4193 | .shithub-actions-run-title:hover span:last-child { text-decoration: underline; } |
| 4194 | .shithub-actions-run-primary p { |
| 4195 | margin: 0.25rem 0 0 1.55rem; |
| 4196 | color: var(--fg-muted); |
| 4197 | font-size: 0.86rem; |
| 4198 | } |
| 4199 | .shithub-actions-run-meta { |
| 4200 | display: flex; |
| 4201 | align-items: center; |
| 4202 | justify-content: flex-end; |
| 4203 | gap: 0.75rem; |
| 4204 | color: var(--fg-muted); |
| 4205 | font-size: 0.82rem; |
| 4206 | white-space: nowrap; |
| 4207 | } |
| 4208 | .shithub-actions-run-meta span { |
| 4209 | display: inline-flex; |
| 4210 | align-items: center; |
| 4211 | gap: 0.25rem; |
| 4212 | } |
| 4213 | .shithub-actions-state { |
| 4214 | display: inline-flex; |
| 4215 | align-items: center; |
| 4216 | justify-content: center; |
| 4217 | color: var(--fg-muted); |
| 4218 | } |
| 4219 | .shithub-actions-state-success { color: #1a7f37; } |
| 4220 | .shithub-actions-state-failure { color: #cf222e; } |
| 4221 | .shithub-actions-state-pending { color: #9a6700; } |
| 4222 | .shithub-actions-state-neutral { color: var(--fg-muted); } |
| 4223 | .shithub-actions-empty { |
| 4224 | padding: 4rem 1rem; |
| 4225 | border: 1px solid var(--border-default); |
| 4226 | border-radius: 6px; |
| 4227 | background: var(--canvas-default); |
| 4228 | text-align: center; |
| 4229 | } |
| 4230 | .shithub-actions-empty-icon { |
| 4231 | display: inline-flex; |
| 4232 | align-items: center; |
| 4233 | justify-content: center; |
| 4234 | width: 3rem; |
| 4235 | height: 3rem; |
| 4236 | margin-bottom: 1rem; |
| 4237 | border: 1px solid var(--border-default); |
| 4238 | border-radius: 999px; |
| 4239 | color: var(--fg-muted); |
| 4240 | } |
| 4241 | .shithub-actions-empty h2 { |
| 4242 | margin: 0; |
| 4243 | font-size: 1.25rem; |
| 4244 | } |
| 4245 | .shithub-actions-empty p { |
| 4246 | margin: 0.5rem auto 0; |
| 4247 | max-width: 34rem; |
| 4248 | color: var(--fg-muted); |
| 4249 | } |
| 4250 | .shithub-actions-run-page { |
| 4251 | max-width: 1280px; |
| 4252 | margin: 0 auto; |
| 4253 | padding: 1.5rem 1rem; |
| 4254 | } |
| 4255 | .shithub-actions-run-head { |
| 4256 | display: flex; |
| 4257 | align-items: flex-start; |
| 4258 | justify-content: space-between; |
| 4259 | gap: 1rem; |
| 4260 | padding-bottom: 1rem; |
| 4261 | border-bottom: 1px solid var(--border-default); |
| 4262 | } |
| 4263 | .shithub-actions-back { |
| 4264 | display: inline-block; |
| 4265 | margin-bottom: 0.4rem; |
| 4266 | color: var(--fg-muted); |
| 4267 | font-size: 0.86rem; |
| 4268 | } |
| 4269 | .shithub-actions-run-head h1 { |
| 4270 | display: flex; |
| 4271 | align-items: center; |
| 4272 | gap: 0.45rem; |
| 4273 | margin: 0; |
| 4274 | font-size: 1.5rem; |
| 4275 | line-height: 1.25; |
| 4276 | } |
| 4277 | .shithub-actions-run-head h1 span:last-child { |
| 4278 | color: var(--fg-muted); |
| 4279 | font-weight: 400; |
| 4280 | } |
| 4281 | .shithub-actions-run-head p { |
| 4282 | margin: 0.35rem 0 0; |
| 4283 | color: var(--fg-muted); |
| 4284 | } |
| 4285 | .shithub-actions-run-head-actions { |
| 4286 | display: flex; |
| 4287 | align-items: center; |
| 4288 | gap: 0.5rem; |
| 4289 | flex-shrink: 0; |
| 4290 | } |
| 4291 | .shithub-actions-run-status { |
| 4292 | pointer-events: none; |
| 4293 | } |
| 4294 | .shithub-actions-run-layout { |
| 4295 | grid-template-columns: 14rem minmax(0, 1fr); |
| 4296 | padding: 1.5rem 0 0; |
| 4297 | } |
| 4298 | .shithub-actions-summary-strip { |
| 4299 | display: grid; |
| 4300 | grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(7rem, 1fr)); |
| 4301 | gap: 1rem; |
| 4302 | margin-bottom: 1rem; |
| 4303 | padding: 1rem; |
| 4304 | border: 1px solid var(--border-default); |
| 4305 | border-radius: 6px; |
| 4306 | background: var(--canvas-default); |
| 4307 | } |
| 4308 | .shithub-actions-summary-strip > div { |
| 4309 | display: flex; |
| 4310 | flex-direction: column; |
| 4311 | gap: 0.2rem; |
| 4312 | } |
| 4313 | .shithub-actions-summary-strip span { |
| 4314 | color: var(--fg-muted); |
| 4315 | font-size: 0.82rem; |
| 4316 | } |
| 4317 | .shithub-actions-workflow-card, |
| 4318 | .shithub-actions-annotations { |
| 4319 | border: 1px solid var(--border-default); |
| 4320 | border-radius: 6px; |
| 4321 | background: var(--canvas-default); |
| 4322 | } |
| 4323 | .shithub-actions-workflow-card > header, |
| 4324 | .shithub-actions-annotations > header { |
| 4325 | padding: 1rem; |
| 4326 | border-bottom: 1px solid var(--border-default); |
| 4327 | } |
| 4328 | .shithub-actions-workflow-card h2, |
| 4329 | .shithub-actions-annotations h2 { |
| 4330 | margin: 0; |
| 4331 | font-size: 1rem; |
| 4332 | } |
| 4333 | .shithub-actions-workflow-card p, |
| 4334 | .shithub-actions-annotations p { |
| 4335 | margin: 0.25rem 0 0; |
| 4336 | color: var(--fg-muted); |
| 4337 | } |
| 4338 | .shithub-actions-workflow-graph { |
| 4339 | position: relative; |
| 4340 | min-height: 13rem; |
| 4341 | padding: 2.5rem; |
| 4342 | background: var(--canvas-inset); |
| 4343 | } |
| 4344 | .shithub-actions-workflow-stage { |
| 4345 | display: flex; |
| 4346 | flex-direction: column; |
| 4347 | gap: 0.75rem; |
| 4348 | max-width: 20rem; |
| 4349 | } |
| 4350 | .shithub-actions-job-card { |
| 4351 | display: grid; |
| 4352 | grid-template-columns: 1rem minmax(0, 1fr) auto; |
| 4353 | align-items: center; |
| 4354 | gap: 0.55rem; |
| 4355 | padding: 0.7rem; |
| 4356 | border: 1px solid var(--border-default); |
| 4357 | border-radius: 6px; |
| 4358 | background: var(--canvas-default); |
| 4359 | color: var(--fg-default); |
| 4360 | text-decoration: none; |
| 4361 | } |
| 4362 | .shithub-actions-job-card:hover { text-decoration: none; } |
| 4363 | .shithub-actions-job-card strong { |
| 4364 | overflow: hidden; |
| 4365 | text-overflow: ellipsis; |
| 4366 | white-space: nowrap; |
| 4367 | } |
| 4368 | .shithub-actions-job-card span:last-child { |
| 4369 | color: var(--fg-muted); |
| 4370 | font-size: 0.82rem; |
| 4371 | } |
| 4372 | .shithub-actions-graph-controls { |
| 4373 | position: absolute; |
| 4374 | right: 0.75rem; |
| 4375 | bottom: 0.75rem; |
| 4376 | display: flex; |
| 4377 | gap: 0.35rem; |
| 4378 | } |
| 4379 | .shithub-actions-annotations { |
| 4380 | margin-top: 1rem; |
| 4381 | } |
| 4382 | .shithub-actions-annotation-list { |
| 4383 | display: flex; |
| 4384 | flex-direction: column; |
| 4385 | } |
| 4386 | .shithub-actions-annotation { |
| 4387 | display: grid; |
| 4388 | grid-template-columns: 1rem minmax(0, 1fr); |
| 4389 | gap: 0.6rem; |
| 4390 | padding: 0.9rem 1rem; |
| 4391 | border-top: 1px solid var(--border-default); |
| 4392 | } |
| 4393 | .shithub-actions-annotation > svg { |
| 4394 | margin-top: 0.15rem; |
| 4395 | color: #9a6700; |
| 4396 | } |
| 4397 | @media (max-width: 900px) { |
| 4398 | .shithub-actions-page, |
| 4399 | .shithub-actions-run-layout, |
| 4400 | .shithub-actions-filters, |
| 4401 | .shithub-actions-run-row, |
| 4402 | .shithub-actions-summary-strip { |
| 4403 | grid-template-columns: 1fr; |
| 4404 | } |
| 4405 | .shithub-actions-run-meta, |
| 4406 | .shithub-actions-run-head { |
| 4407 | justify-content: flex-start; |
| 4408 | } |
| 4409 | .shithub-actions-run-head { |
| 4410 | flex-direction: column; |
| 4411 | } |
| 4412 | } |
| 4413 | .shithub-tree-panel { |
| 4414 | border: 1px solid var(--border-default); |
| 4415 | border-radius: 6px; |
| 4416 | background: var(--canvas-default); |
| 4417 | overflow: hidden; |
| 4418 | } |
| 4419 | .shithub-tree-commit { |
| 4420 | display: flex; |
| 4421 | justify-content: space-between; |
| 4422 | align-items: center; |
| 4423 | gap: 1rem; |
| 4424 | padding: 0.75rem 1rem; |
| 4425 | background: var(--canvas-subtle); |
| 4426 | border-bottom: 1px solid var(--border-default); |
| 4427 | font-size: 0.9rem; |
| 4428 | } |
| 4429 | .shithub-tree-commit-message, |
| 4430 | .shithub-tree-commit-meta { |
| 4431 | display: flex; |
| 4432 | align-items: center; |
| 4433 | gap: 0.5rem; |
| 4434 | min-width: 0; |
| 4435 | } |
| 4436 | .shithub-tree-commit-message .shithub-avatar-sm { |
| 4437 | margin-right: 0; |
| 4438 | } |
| 4439 | .shithub-tree-commit-subject, |
| 4440 | .shithub-tree-row-commit a { |
| 4441 | overflow: hidden; |
| 4442 | text-overflow: ellipsis; |
| 4443 | white-space: nowrap; |
| 4444 | } |
| 4445 | .shithub-tree-commit-subject { |
| 4446 | color: var(--fg-default); |
| 4447 | min-width: 0; |
| 4448 | } |
| 4449 | .shithub-tree-commit-meta { color: var(--fg-muted); flex: 0 0 auto; } |
| 4450 | .shithub-tree-commit-meta a { |
| 4451 | color: var(--fg-muted); |
| 4452 | } |
| 4453 | .shithub-tree-commit-count { |
| 4454 | display: inline-flex; |
| 4455 | align-items: center; |
| 4456 | gap: 0.35rem; |
| 4457 | font-weight: 600; |
| 4458 | } |
| 4459 | .shithub-tree { |
| 4460 | width: 100%; |
| 4461 | border-collapse: collapse; |
| 4462 | font-size: 0.9rem; |
| 4463 | background: var(--canvas-default); |
| 4464 | table-layout: fixed; |
| 4465 | } |
| 4466 | .shithub-tree td { |
| 4467 | padding: 0.5rem 0.75rem; |
| 4468 | border-bottom: 1px solid var(--border-default); |
| 4469 | vertical-align: middle; |
| 4470 | } |
| 4471 | .shithub-tree tr:last-child td { border-bottom: 0; } |
| 4472 | .shithub-tree-icon { width: 36px; color: var(--fg-muted); padding-right: 0; } |
| 4473 | .shithub-tree-icon svg { display: block; } |
| 4474 | .shithub-tree-name { |
| 4475 | width: 34%; |
| 4476 | font-weight: 600; |
| 4477 | } |
| 4478 | .shithub-tree-name a { color: var(--fg-default); } |
| 4479 | .shithub-tree-row-commit { |
| 4480 | width: auto; |
| 4481 | color: var(--fg-muted); |
| 4482 | } |
| 4483 | .shithub-tree-row-commit a { |
| 4484 | display: block; |
| 4485 | color: var(--fg-muted); |
| 4486 | } |
| 4487 | .shithub-tree-row-time { |
| 4488 | width: 120px; |
| 4489 | color: var(--fg-muted); |
| 4490 | text-align: right; |
| 4491 | white-space: nowrap; |
| 4492 | } |
| 4493 | .shithub-tree-symlink { color: var(--fg-muted); font-style: italic; font-size: 0.8rem; } |
| 4494 | .shithub-tree-submodule { color: var(--fg-muted); font-size: 0.9em; font-weight: 400; } |
| 4495 | @media (max-width: 760px) { |
| 4496 | .shithub-code-actions { |
| 4497 | flex: 1 1 100%; |
| 4498 | justify-content: stretch; |
| 4499 | } |
| 4500 | .shithub-go-to-file { |
| 4501 | flex: 1 1 auto; |
| 4502 | } |
| 4503 | .shithub-tree-commit { |
| 4504 | align-items: flex-start; |
| 4505 | flex-direction: column; |
| 4506 | } |
| 4507 | .shithub-tree-commit-meta { |
| 4508 | flex-wrap: wrap; |
| 4509 | } |
| 4510 | .shithub-tree-name { |
| 4511 | width: auto; |
| 4512 | } |
| 4513 | .shithub-tree-row-commit, |
| 4514 | .shithub-tree-row-time { |
| 4515 | display: none; |
| 4516 | } |
| 4517 | } |
| 4518 | |
| 4519 | /* Code-view layout: 2/3 main column + 1/3 About sidebar, mirroring |
| 4520 | the GitHub repo home layout. Single-column on narrow viewports so |
| 4521 | the sidebar drops below the tree on mobile. The S39 hardening pass |
| 4522 | replaces the previous single-centered-column layout that wasted |
| 4523 | the right rail. */ |
| 4524 | .shithub-repo-with-sidebar { |
| 4525 | display: grid; |
| 4526 | grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); |
| 4527 | gap: 1.5rem; |
| 4528 | align-items: start; |
| 4529 | } |
| 4530 | .shithub-repo-main { |
| 4531 | min-width: 0; /* let the grid item shrink so children with overflow-x scroll instead of forcing the column wider */ |
| 4532 | } |
| 4533 | @media (max-width: 1024px) { |
| 4534 | .shithub-repo-with-sidebar { |
| 4535 | grid-template-columns: 1fr; |
| 4536 | } |
| 4537 | } |
| 4538 | |
| 4539 | .shithub-repo-about { |
| 4540 | border-top: 1px solid var(--border-default); |
| 4541 | padding-top: 1rem; |
| 4542 | font-size: 0.875rem; |
| 4543 | --language-color-primary: #00add8; |
| 4544 | } |
| 4545 | @media (min-width: 1025px) { |
| 4546 | .shithub-repo-about { |
| 4547 | border-top: none; |
| 4548 | padding-top: 0; |
| 4549 | } |
| 4550 | } |
| 4551 | .shithub-border-grid-row { |
| 4552 | border-top: 1px solid var(--border-default); |
| 4553 | padding: 1rem 0; |
| 4554 | } |
| 4555 | .shithub-border-grid-row:first-child { |
| 4556 | border-top: 0; |
| 4557 | padding-top: 0; |
| 4558 | } |
| 4559 | .shithub-repo-about-heading, |
| 4560 | .shithub-repo-about-section-heading { |
| 4561 | display: flex; |
| 4562 | align-items: center; |
| 4563 | justify-content: space-between; |
| 4564 | gap: 0.75rem; |
| 4565 | margin: 0 0 0.75rem; |
| 4566 | color: var(--fg-default); |
| 4567 | font-size: 1rem; |
| 4568 | font-weight: 600; |
| 4569 | line-height: 1.5; |
| 4570 | } |
| 4571 | .shithub-repo-about-heading h2 { |
| 4572 | margin: 0; |
| 4573 | font-size: 1rem; |
| 4574 | } |
| 4575 | .shithub-repo-about-heading a { |
| 4576 | color: var(--fg-muted); |
| 4577 | display: inline-flex; |
| 4578 | } |
| 4579 | .shithub-repo-about-desc { |
| 4580 | margin: 0 0 1rem; |
| 4581 | color: var(--fg-default); |
| 4582 | font-size: 1rem; |
| 4583 | line-height: 1.5; |
| 4584 | } |
| 4585 | .shithub-repo-topics { |
| 4586 | display: flex; |
| 4587 | flex-wrap: wrap; |
| 4588 | gap: 0.4rem; |
| 4589 | margin: 0 0 1rem; |
| 4590 | } |
| 4591 | .shithub-topic { |
| 4592 | display: inline-flex; |
| 4593 | padding: 0.18rem 0.55rem; |
| 4594 | border-radius: 999px; |
| 4595 | background: color-mix(in srgb, var(--accent-fg, #4493f8) 12%, transparent); |
| 4596 | color: var(--accent-fg, #4493f8); |
| 4597 | font-size: 0.75rem; |
| 4598 | font-weight: 600; |
| 4599 | } |
| 4600 | .shithub-repo-about-list, |
| 4601 | .shithub-repo-about-stats, |
| 4602 | .shithub-language-list { |
| 4603 | list-style: none; |
| 4604 | padding: 0; |
| 4605 | margin: 0; |
| 4606 | } |
| 4607 | .shithub-repo-about-list li, |
| 4608 | .shithub-repo-about-stats li, |
| 4609 | .shithub-language-list li { |
| 4610 | display: flex; |
| 4611 | align-items: center; |
| 4612 | gap: 0.5rem; |
| 4613 | min-width: 0; |
| 4614 | margin: 0.5rem 0; |
| 4615 | color: var(--fg-muted); |
| 4616 | } |
| 4617 | .shithub-repo-about-list svg, |
| 4618 | .shithub-repo-about-stats svg { |
| 4619 | color: var(--fg-muted); |
| 4620 | flex: 0 0 auto; |
| 4621 | } |
| 4622 | .shithub-repo-about-list span, |
| 4623 | .shithub-repo-about-stats strong, |
| 4624 | .shithub-language-list span:nth-child(2) { |
| 4625 | color: var(--fg-default); |
| 4626 | } |
| 4627 | .shithub-repo-about-stats { |
| 4628 | margin-top: 0.75rem; |
| 4629 | } |
| 4630 | .shithub-repo-about-stats a { |
| 4631 | color: var(--fg-muted); |
| 4632 | display: inline-flex; |
| 4633 | align-items: center; |
| 4634 | gap: 0.5rem; |
| 4635 | } |
| 4636 | .shithub-repo-about-stats a:hover, |
| 4637 | .shithub-repo-report:hover, |
| 4638 | .shithub-repo-contributor:hover { |
| 4639 | color: var(--accent-fg); |
| 4640 | text-decoration: none; |
| 4641 | } |
| 4642 | .shithub-repo-report { |
| 4643 | display: inline-block; |
| 4644 | margin-top: 0.5rem; |
| 4645 | color: var(--fg-muted); |
| 4646 | } |
| 4647 | .shithub-repo-about-section-heading { |
| 4648 | margin-bottom: 0.5rem; |
| 4649 | } |
| 4650 | .shithub-repo-section-count { |
| 4651 | min-width: 1.25rem; |
| 4652 | padding: 0 0.35rem; |
| 4653 | border-radius: 999px; |
| 4654 | background: var(--neutral-muted); |
| 4655 | color: var(--fg-default); |
| 4656 | font-size: 0.75rem; |
| 4657 | font-weight: 600; |
| 4658 | line-height: 1.5; |
| 4659 | text-align: center; |
| 4660 | } |
| 4661 | .shithub-repo-contributors { |
| 4662 | display: flex; |
| 4663 | flex-direction: column; |
| 4664 | gap: 0.5rem; |
| 4665 | } |
| 4666 | .shithub-repo-contributor { |
| 4667 | display: inline-flex; |
| 4668 | align-items: center; |
| 4669 | gap: 0.5rem; |
| 4670 | color: var(--fg-default); |
| 4671 | font-weight: 600; |
| 4672 | } |
| 4673 | .shithub-repo-contributor img { |
| 4674 | width: 32px; |
| 4675 | height: 32px; |
| 4676 | border-radius: 50%; |
| 4677 | } |
| 4678 | .shithub-repo-contributor-identicon { |
| 4679 | width: 32px; |
| 4680 | height: 32px; |
| 4681 | border-radius: 50%; |
| 4682 | flex: 0 0 auto; |
| 4683 | } |
| 4684 | .shithub-language-bar { |
| 4685 | display: flex; |
| 4686 | overflow: hidden; |
| 4687 | height: 0.5rem; |
| 4688 | margin: 0.5rem 0 0.75rem; |
| 4689 | border-radius: 999px; |
| 4690 | background: var(--border-muted); |
| 4691 | } |
| 4692 | .shithub-language-bar span { |
| 4693 | display: block; |
| 4694 | min-width: 2px; |
| 4695 | } |
| 4696 | .shithub-language-list { |
| 4697 | display: flex; |
| 4698 | flex-wrap: wrap; |
| 4699 | gap: 0.25rem 1rem; |
| 4700 | } |
| 4701 | .shithub-language-list li { |
| 4702 | margin: 0; |
| 4703 | gap: 0.35rem; |
| 4704 | font-size: 0.75rem; |
| 4705 | } |
| 4706 | .shithub-language-dot { |
| 4707 | width: 0.75rem; |
| 4708 | height: 0.75rem; |
| 4709 | border-radius: 50%; |
| 4710 | flex: 0 0 auto; |
| 4711 | } |
| 4712 | |
| 4713 | .shithub-readme { |
| 4714 | margin-top: 1rem; |
| 4715 | padding: 0; |
| 4716 | border: 1px solid var(--border-default); |
| 4717 | border-radius: 6px; |
| 4718 | background: var(--canvas-default); |
| 4719 | overflow: visible; |
| 4720 | } |
| 4721 | .shithub-readme-head { |
| 4722 | position: relative; |
| 4723 | display: flex; |
| 4724 | align-items: center; |
| 4725 | gap: 1rem; |
| 4726 | min-height: 48px; |
| 4727 | padding: 0 1rem; |
| 4728 | border-bottom: 1px solid var(--border-default); |
| 4729 | overflow: visible; |
| 4730 | scrollbar-width: none; |
| 4731 | } |
| 4732 | .shithub-readme-head::-webkit-scrollbar { |
| 4733 | display: none; |
| 4734 | } |
| 4735 | .shithub-readme-tabs { |
| 4736 | display: flex; |
| 4737 | align-items: stretch; |
| 4738 | flex: 1 1 auto; |
| 4739 | gap: 1.25rem; |
| 4740 | min-width: 0; |
| 4741 | overflow-x: auto; |
| 4742 | scrollbar-width: none; |
| 4743 | } |
| 4744 | .shithub-readme-tabs::-webkit-scrollbar { |
| 4745 | display: none; |
| 4746 | } |
| 4747 | .shithub-readme-tab { |
| 4748 | display: inline-flex; |
| 4749 | align-items: center; |
| 4750 | gap: 0.45rem; |
| 4751 | margin-bottom: -1px; |
| 4752 | padding: 0.85rem 0 0.78rem; |
| 4753 | border-bottom: 2px solid transparent; |
| 4754 | color: var(--fg-muted); |
| 4755 | font-size: 0.85rem; |
| 4756 | font-weight: 600; |
| 4757 | text-decoration: none; |
| 4758 | white-space: nowrap; |
| 4759 | } |
| 4760 | .shithub-readme-tab:hover { |
| 4761 | color: var(--fg-default); |
| 4762 | text-decoration: none; |
| 4763 | } |
| 4764 | .shithub-readme-tab.is-active { |
| 4765 | border-bottom-color: var(--accent-emphasis, #fd8c73); |
| 4766 | color: var(--fg-default); |
| 4767 | } |
| 4768 | .shithub-readme-outline { |
| 4769 | position: relative; |
| 4770 | flex: 0 0 auto; |
| 4771 | margin: 0 0 0 auto; |
| 4772 | } |
| 4773 | .shithub-readme-outline > summary { |
| 4774 | display: inline-flex; |
| 4775 | align-items: center; |
| 4776 | justify-content: center; |
| 4777 | width: 32px; |
| 4778 | height: 32px; |
| 4779 | border: 0; |
| 4780 | border-radius: 6px; |
| 4781 | color: var(--fg-muted); |
| 4782 | background: transparent; |
| 4783 | cursor: pointer; |
| 4784 | list-style: none; |
| 4785 | } |
| 4786 | .shithub-readme-outline > summary::-webkit-details-marker { |
| 4787 | display: none; |
| 4788 | } |
| 4789 | .shithub-readme-outline > summary:hover, |
| 4790 | .shithub-readme-outline[open] > summary { |
| 4791 | color: var(--fg-default); |
| 4792 | background: var(--canvas-subtle); |
| 4793 | } |
| 4794 | .shithub-readme-outline-panel { |
| 4795 | position: absolute; |
| 4796 | top: calc(100% + 8px); |
| 4797 | right: 0; |
| 4798 | z-index: 40; |
| 4799 | width: min(360px, calc(100vw - 2rem)); |
| 4800 | max-height: min(520px, calc(100vh - 8rem)); |
| 4801 | padding: 0.75rem; |
| 4802 | overflow: auto; |
| 4803 | border: 1px solid var(--border-default); |
| 4804 | border-radius: 12px; |
| 4805 | background: var(--canvas-default); |
| 4806 | box-shadow: 0 16px 32px rgba(31, 35, 40, 0.16); |
| 4807 | } |
| 4808 | [data-theme="dark"] .shithub-readme-outline-panel, |
| 4809 | [data-theme="high-contrast"] .shithub-readme-outline-panel { |
| 4810 | box-shadow: 0 16px 32px rgba(1, 4, 9, 0.6); |
| 4811 | } |
| 4812 | .shithub-readme-outline-filter { |
| 4813 | display: block; |
| 4814 | margin: 0 0 0.75rem; |
| 4815 | } |
| 4816 | .shithub-readme-outline-filter input { |
| 4817 | width: 100%; |
| 4818 | min-height: 40px; |
| 4819 | padding: 0.5rem 0.75rem; |
| 4820 | border: 1px solid var(--border-default); |
| 4821 | border-radius: 6px; |
| 4822 | color: var(--fg-default); |
| 4823 | background: var(--canvas-default); |
| 4824 | font: inherit; |
| 4825 | } |
| 4826 | .shithub-readme-outline-filter input:focus { |
| 4827 | border-color: var(--accent-emphasis); |
| 4828 | outline: 2px solid var(--accent-emphasis); |
| 4829 | outline-offset: -1px; |
| 4830 | } |
| 4831 | .shithub-readme-outline-list { |
| 4832 | display: flex; |
| 4833 | flex-direction: column; |
| 4834 | gap: 0.15rem; |
| 4835 | } |
| 4836 | .shithub-readme-outline-item { |
| 4837 | display: block; |
| 4838 | padding: 0.35rem 0.5rem; |
| 4839 | border-radius: 6px; |
| 4840 | color: var(--fg-default); |
| 4841 | font-size: 0.875rem; |
| 4842 | font-weight: 600; |
| 4843 | line-height: 1.35; |
| 4844 | text-decoration: none; |
| 4845 | } |
| 4846 | .shithub-readme-outline-item:hover { |
| 4847 | background: var(--canvas-subtle); |
| 4848 | text-decoration: none; |
| 4849 | } |
| 4850 | .shithub-readme-outline-item.is-depth-2 { padding-left: 1.25rem; } |
| 4851 | .shithub-readme-outline-item.is-depth-3 { padding-left: 2rem; } |
| 4852 | .shithub-readme-outline-item.is-depth-4, |
| 4853 | .shithub-readme-outline-item.is-depth-5, |
| 4854 | .shithub-readme-outline-item.is-depth-6 { padding-left: 2.75rem; } |
| 4855 | .shithub-readme-outline-empty { |
| 4856 | margin: 0; |
| 4857 | padding: 0.35rem 0.5rem; |
| 4858 | color: var(--fg-muted); |
| 4859 | font-size: 0.875rem; |
| 4860 | } |
| 4861 | .shithub-readme-body { padding: 2rem; } |
| 4862 | .markdown-body { |
| 4863 | color: var(--fg-default); |
| 4864 | font-size: 0.875rem; |
| 4865 | line-height: 1.5; |
| 4866 | overflow-wrap: break-word; |
| 4867 | } |
| 4868 | .markdown-body > :first-child { margin-top: 0; } |
| 4869 | .markdown-body > :last-child { margin-bottom: 0; } |
| 4870 | .markdown-body p, |
| 4871 | .markdown-body blockquote, |
| 4872 | .markdown-body ul, |
| 4873 | .markdown-body ol, |
| 4874 | .markdown-body dl, |
| 4875 | .markdown-body table, |
| 4876 | .markdown-body pre, |
| 4877 | .markdown-body details { |
| 4878 | margin-top: 0; |
| 4879 | margin-bottom: 1rem; |
| 4880 | } |
| 4881 | .markdown-body h1, |
| 4882 | .markdown-body h2 { |
| 4883 | margin-top: 1.5rem; |
| 4884 | margin-bottom: 1rem; |
| 4885 | padding-bottom: 0.3em; |
| 4886 | border-bottom: 1px solid var(--border-default); |
| 4887 | } |
| 4888 | .markdown-body h1 { font-size: 2em; } |
| 4889 | .markdown-body h2 { font-size: 1.5em; } |
| 4890 | .markdown-body h3 { font-size: 1.25em; } |
| 4891 | .markdown-body h1, |
| 4892 | .markdown-body h2, |
| 4893 | .markdown-body h3, |
| 4894 | .markdown-body h4, |
| 4895 | .markdown-body h5, |
| 4896 | .markdown-body h6 { |
| 4897 | font-weight: 600; |
| 4898 | line-height: 1.25; |
| 4899 | } |
| 4900 | .markdown-body hr { |
| 4901 | height: 0.25em; |
| 4902 | padding: 0; |
| 4903 | margin: 1.5rem 0; |
| 4904 | background: var(--border-default); |
| 4905 | border: 0; |
| 4906 | } |
| 4907 | .markdown-body img { |
| 4908 | max-width: 100%; |
| 4909 | box-sizing: content-box; |
| 4910 | } |
| 4911 | .markdown-body [align="center"] { text-align: center; } |
| 4912 | .markdown-body [align="right"] { text-align: right; } |
| 4913 | .markdown-body [align="left"] { text-align: left; } |
| 4914 | .markdown-body :not(pre) > code { |
| 4915 | padding: 0.2em 0.4em; |
| 4916 | margin: 0; |
| 4917 | border-radius: 6px; |
| 4918 | background: var(--canvas-subtle); |
| 4919 | font-size: 85%; |
| 4920 | } |
| 4921 | .markdown-body pre { |
| 4922 | padding: 1rem; |
| 4923 | overflow: auto; |
| 4924 | border-radius: 6px; |
| 4925 | background: var(--canvas-subtle); |
| 4926 | font-size: 85%; |
| 4927 | line-height: 1.45; |
| 4928 | } |
| 4929 | .markdown-body pre code { |
| 4930 | display: inline; |
| 4931 | max-width: none; |
| 4932 | padding: 0; |
| 4933 | margin: 0; |
| 4934 | overflow: visible; |
| 4935 | border: 0; |
| 4936 | background: transparent; |
| 4937 | color: inherit; |
| 4938 | font-size: 100%; |
| 4939 | line-height: inherit; |
| 4940 | white-space: pre; |
| 4941 | word-break: normal; |
| 4942 | overflow-wrap: normal; |
| 4943 | } |
| 4944 | .markdown-body .shithub-markdown-codeblock { |
| 4945 | position: relative; |
| 4946 | margin: 0 0 1rem; |
| 4947 | } |
| 4948 | .markdown-body > .shithub-markdown-codeblock:last-child { |
| 4949 | margin-bottom: 0; |
| 4950 | } |
| 4951 | .markdown-body .shithub-markdown-codeblock pre { |
| 4952 | margin: 0; |
| 4953 | padding-right: 3rem; |
| 4954 | } |
| 4955 | .shithub-markdown-code-copy { |
| 4956 | position: absolute; |
| 4957 | top: 0.5rem; |
| 4958 | right: 0.5rem; |
| 4959 | display: inline-flex; |
| 4960 | align-items: center; |
| 4961 | justify-content: center; |
| 4962 | width: 28px; |
| 4963 | height: 28px; |
| 4964 | padding: 0; |
| 4965 | border: 1px solid var(--border-default); |
| 4966 | border-radius: 6px; |
| 4967 | color: var(--fg-muted); |
| 4968 | background: var(--canvas-subtle); |
| 4969 | cursor: pointer; |
| 4970 | } |
| 4971 | .shithub-markdown-code-copy:hover, |
| 4972 | .shithub-markdown-code-copy:focus { |
| 4973 | color: var(--fg-default); |
| 4974 | background: var(--button-default-hover-bg); |
| 4975 | } |
| 4976 | .shithub-markdown-code-copy.is-copied { |
| 4977 | color: var(--success-fg); |
| 4978 | } |
| 4979 | .shithub-readme-plain { white-space: pre; } |
| 4980 | |
| 4981 | @media (max-width: 900px) { |
| 4982 | .shithub-repo-header-inner { align-items: flex-start; flex-direction: column; } |
| 4983 | .shithub-repo-content-grid { grid-template-columns: 1fr; } |
| 4984 | .shithub-tree-commit { align-items: flex-start; flex-direction: column; } |
| 4985 | } |
| 4986 | |
| 4987 | .shithub-blob-meta { color: var(--fg-muted); font-size: 0.85rem; margin-right: 0.5rem; } |
| 4988 | /* Blob source: a row-per-line <table>. We render the gutter + code |
| 4989 | ourselves and feed Chroma only token spans (no <pre>, no <table>) |
| 4990 | so the chrome is consistent across lexers and the no-lexer fallback, |
| 4991 | per the S33 viewer refactor. Forgejo / Gitea use the same shape. |
| 4992 | The reasoning is robustness: chroma's own table mode has rules we |
| 4993 | can't fully override (cell padding, line-number `<a>` styles), and |
| 4994 | they leak whenever a lexer changes its emit shape. Owning the table |
| 4995 | makes the layout immune to that drift. */ |
| 4996 | .shithub-blob-source .chroma { padding: 0; background: var(--canvas-default); } |
| 4997 | .shithub-blob-source .chroma a { color: inherit; text-decoration: none; } |
| 4998 | .shithub-blob-lines { |
| 4999 | width: 100%; |
| 5000 | border-collapse: collapse; |
| 5001 | border-spacing: 0; |
| 5002 | margin: 0; |
| 5003 | font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; |
| 5004 | font-size: 0.825rem; |
| 5005 | line-height: 20px; |
| 5006 | tab-size: 4; |
| 5007 | } |
| 5008 | /* Gutter cell. width:1% + white-space:nowrap forces shrink-to-fit: |
| 5009 | the cell sizes itself to the max line-number width and no wider. |
| 5010 | text-align:right keeps the digit flush against the divider. */ |
| 5011 | .shithub-blob-lines td.shithub-blob-lnum { |
| 5012 | width: 1%; |
| 5013 | min-width: 2.5rem; |
| 5014 | padding: 0 12px; |
| 5015 | background: var(--canvas-subtle); |
| 5016 | border-right: 1px solid var(--border-default); |
| 5017 | color: var(--fg-muted); |
| 5018 | text-align: right; |
| 5019 | user-select: none; |
| 5020 | white-space: nowrap; |
| 5021 | vertical-align: top; |
| 5022 | } |
| 5023 | .shithub-blob-lines td.shithub-blob-lnum a { |
| 5024 | color: inherit; |
| 5025 | display: block; |
| 5026 | } |
| 5027 | /* Code cell. white-space:pre preserves indentation; the wrapper |
| 5028 | handles horizontal scroll for long lines. */ |
| 5029 | .shithub-blob-lines td.shithub-blob-lcode { |
| 5030 | padding: 0 12px; |
| 5031 | vertical-align: top; |
| 5032 | white-space: pre; |
| 5033 | } |
| 5034 | .shithub-blob-lines td.shithub-blob-lcode .shithub-blob-line { |
| 5035 | display: inline-block; |
| 5036 | min-width: 100%; |
| 5037 | } |
| 5038 | /* Hover surfaces the row; :target highlights the line referenced by |
| 5039 | #L<n> in the URL (browsers handle scrolling). */ |
| 5040 | .shithub-blob-lines tr:hover td.shithub-blob-lcode { |
| 5041 | background: var(--canvas-subtle); |
| 5042 | } |
| 5043 | .shithub-blob-lines tr:target td.shithub-blob-lcode, |
| 5044 | .shithub-blob-lines tr:target td.shithub-blob-lnum { |
| 5045 | background: var(--accent-subtle, #fff8c5); |
| 5046 | } |
| 5047 | .shithub-blob-too-large, .shithub-blob-binary { |
| 5048 | padding: 1rem; |
| 5049 | border: 1px dashed var(--border-default); |
| 5050 | border-radius: 6px; |
| 5051 | text-align: center; |
| 5052 | color: var(--fg-muted); |
| 5053 | } |
| 5054 | .shithub-blob-image { text-align: center; padding: 1rem; background: var(--canvas-subtle); border-radius: 6px; } |
| 5055 | .shithub-blob-image img { max-width: 100%; max-height: 80vh; } |
| 5056 | .shithub-blob-source { overflow-x: auto; } |
| 5057 | .shithub-blob-source .chroma { font-size: 0.85rem; } |
| 5058 | .shithub-blob-markdown { padding: 1rem; } |
| 5059 | .shithub-button-disabled { opacity: 0.5; pointer-events: none; } |
| 5060 | |
| 5061 | .shithub-finder-form { display: flex; gap: 0.5rem; align-items: center; margin: 1rem 0; } |
| 5062 | .shithub-finder-form input { font: inherit; padding: 0.4rem 0.6rem; border: 1px solid var(--border-default); border-radius: 6px; flex: 1; } |
| 5063 | .shithub-finder-results { list-style: none; padding: 0; } |
| 5064 | .shithub-finder-results li { padding: 0.3rem 0.5rem; border-bottom: 1px solid var(--border-default); font-family: monospace; font-size: 0.875rem; } |
| 5065 | |
| 5066 | /* ========== Commits + Commit + Blame (S18) ========== */ |
| 5067 | .shithub-avatar-sm { |
| 5068 | display: inline-block; |
| 5069 | width: 20px; |
| 5070 | height: 20px; |
| 5071 | border-radius: 50%; |
| 5072 | vertical-align: middle; |
| 5073 | margin-right: 0.4rem; |
| 5074 | } |
| 5075 | .shithub-identicon { |
| 5076 | background: linear-gradient(135deg, #cce, #ecc); |
| 5077 | } |
| 5078 | .shithub-commits-page { |
| 5079 | max-width: 1280px; |
| 5080 | } |
| 5081 | .shithub-commits-shell { |
| 5082 | max-width: 1012px; |
| 5083 | margin: 0 auto; |
| 5084 | padding: 0.5rem 0 2rem; |
| 5085 | } |
| 5086 | .shithub-commits-titlebar { |
| 5087 | padding: 0.75rem 0 0.8rem; |
| 5088 | border-bottom: 1px solid var(--border-default); |
| 5089 | } |
| 5090 | .shithub-commits-titlebar h1 { |
| 5091 | margin: 0; |
| 5092 | font-size: 1.25rem; |
| 5093 | font-weight: 600; |
| 5094 | } |
| 5095 | .shithub-commits-toolbar { |
| 5096 | display: flex; |
| 5097 | align-items: flex-start; |
| 5098 | justify-content: space-between; |
| 5099 | gap: 1rem; |
| 5100 | margin: 1rem 0 0.85rem; |
| 5101 | } |
| 5102 | .shithub-commit-filter-stack { |
| 5103 | display: flex; |
| 5104 | align-items: center; |
| 5105 | gap: 0.5rem; |
| 5106 | margin-left: auto; |
| 5107 | } |
| 5108 | .shithub-commit-menu { |
| 5109 | position: relative; |
| 5110 | } |
| 5111 | .shithub-commit-menu > summary { |
| 5112 | list-style: none; |
| 5113 | } |
| 5114 | .shithub-commit-menu > summary::-webkit-details-marker { |
| 5115 | display: none; |
| 5116 | } |
| 5117 | .shithub-commit-menu-button { |
| 5118 | display: inline-flex; |
| 5119 | align-items: center; |
| 5120 | gap: 0.4rem; |
| 5121 | min-height: 32px; |
| 5122 | padding: 0 0.75rem; |
| 5123 | border: 1px solid var(--border-default); |
| 5124 | border-radius: 6px; |
| 5125 | background: var(--canvas-subtle); |
| 5126 | color: var(--fg-default); |
| 5127 | font-size: 0.875rem; |
| 5128 | font-weight: 600; |
| 5129 | white-space: nowrap; |
| 5130 | cursor: pointer; |
| 5131 | } |
| 5132 | .shithub-commit-menu-button:hover { |
| 5133 | background: var(--canvas-inset); |
| 5134 | } |
| 5135 | .shithub-commit-menu-panel { |
| 5136 | position: absolute; |
| 5137 | z-index: 30; |
| 5138 | top: calc(100% + 4px); |
| 5139 | right: 0; |
| 5140 | width: 290px; |
| 5141 | overflow: hidden; |
| 5142 | border: 1px solid var(--border-default); |
| 5143 | border-radius: 8px; |
| 5144 | background: var(--canvas-overlay, var(--canvas-default)); |
| 5145 | box-shadow: 0 12px 32px rgba(1, 4, 9, 0.35); |
| 5146 | } |
| 5147 | .shithub-commit-ref-panel { |
| 5148 | left: 0; |
| 5149 | right: auto; |
| 5150 | width: 300px; |
| 5151 | } |
| 5152 | .shithub-commit-calendar-panel { |
| 5153 | width: 306px; |
| 5154 | padding: 0.85rem; |
| 5155 | } |
| 5156 | .shithub-commit-menu-header { |
| 5157 | display: flex; |
| 5158 | align-items: center; |
| 5159 | justify-content: space-between; |
| 5160 | gap: 0.75rem; |
| 5161 | padding: 0.75rem 0.75rem 0.65rem; |
| 5162 | border-bottom: 1px solid var(--border-muted, var(--border-default)); |
| 5163 | } |
| 5164 | .shithub-icon-button, |
| 5165 | .shithub-commit-icon-action { |
| 5166 | display: inline-flex; |
| 5167 | align-items: center; |
| 5168 | justify-content: center; |
| 5169 | width: 28px; |
| 5170 | height: 28px; |
| 5171 | padding: 0; |
| 5172 | border: 0; |
| 5173 | border-radius: 6px; |
| 5174 | color: var(--fg-muted); |
| 5175 | background: transparent; |
| 5176 | cursor: pointer; |
| 5177 | } |
| 5178 | .shithub-icon-button:hover, |
| 5179 | .shithub-commit-icon-action:hover { |
| 5180 | color: var(--accent-fg); |
| 5181 | background: var(--canvas-subtle); |
| 5182 | text-decoration: none; |
| 5183 | } |
| 5184 | .shithub-commit-icon-action.is-copied { |
| 5185 | color: var(--success-fg, #3fb950); |
| 5186 | } |
| 5187 | .shithub-commit-menu-search { |
| 5188 | display: flex; |
| 5189 | align-items: center; |
| 5190 | gap: 0.45rem; |
| 5191 | margin: 0.45rem 0.5rem 0.5rem; |
| 5192 | padding: 0 0.55rem; |
| 5193 | min-height: 32px; |
| 5194 | border: 1px solid var(--border-default); |
| 5195 | border-radius: 6px; |
| 5196 | color: var(--fg-muted); |
| 5197 | background: var(--canvas-default); |
| 5198 | } |
| 5199 | .shithub-commit-menu-search input { |
| 5200 | min-width: 0; |
| 5201 | width: 100%; |
| 5202 | border: 0; |
| 5203 | outline: 0; |
| 5204 | color: var(--fg-default); |
| 5205 | background: transparent; |
| 5206 | font: inherit; |
| 5207 | font-size: 0.875rem; |
| 5208 | } |
| 5209 | .shithub-commit-ref-tabs { |
| 5210 | display: grid; |
| 5211 | grid-template-columns: 1fr 1fr; |
| 5212 | border-top: 1px solid var(--border-muted, var(--border-default)); |
| 5213 | border-bottom: 1px solid var(--border-muted, var(--border-default)); |
| 5214 | } |
| 5215 | .shithub-commit-ref-tabs button { |
| 5216 | padding: 0.55rem 0.7rem; |
| 5217 | border: 0; |
| 5218 | color: var(--fg-muted); |
| 5219 | background: transparent; |
| 5220 | font: inherit; |
| 5221 | font-size: 0.875rem; |
| 5222 | font-weight: 600; |
| 5223 | text-align: center; |
| 5224 | cursor: pointer; |
| 5225 | } |
| 5226 | .shithub-commit-ref-tabs button + button { |
| 5227 | border-left: 1px solid var(--border-muted, var(--border-default)); |
| 5228 | } |
| 5229 | .shithub-commit-ref-tabs .is-active { |
| 5230 | color: var(--fg-default); |
| 5231 | background: var(--canvas-subtle); |
| 5232 | } |
| 5233 | .shithub-commit-ref-list, |
| 5234 | .shithub-commit-author-list { |
| 5235 | max-height: 300px; |
| 5236 | overflow: auto; |
| 5237 | } |
| 5238 | .shithub-commit-ref-item, |
| 5239 | .shithub-commit-author-item { |
| 5240 | display: grid; |
| 5241 | align-items: center; |
| 5242 | min-height: 36px; |
| 5243 | padding: 0.35rem 0.75rem; |
| 5244 | border-bottom: 1px solid var(--border-muted, var(--border-default)); |
| 5245 | color: var(--fg-default); |
| 5246 | font-size: 0.875rem; |
| 5247 | } |
| 5248 | .shithub-commit-ref-item { |
| 5249 | grid-template-columns: 16px minmax(0, 1fr) auto; |
| 5250 | gap: 0.45rem; |
| 5251 | } |
| 5252 | .shithub-commit-author-item { |
| 5253 | grid-template-columns: 24px minmax(0, 1fr); |
| 5254 | gap: 0.45rem; |
| 5255 | font-weight: 600; |
| 5256 | } |
| 5257 | .shithub-commit-ref-item:hover, |
| 5258 | .shithub-commit-author-item:hover { |
| 5259 | background: var(--canvas-subtle); |
| 5260 | text-decoration: none; |
| 5261 | } |
| 5262 | .shithub-commit-ref-item.is-active, |
| 5263 | .shithub-commit-author-item.is-active { |
| 5264 | color: var(--accent-fg); |
| 5265 | } |
| 5266 | .shithub-ref-default { |
| 5267 | padding: 0.05rem 0.35rem; |
| 5268 | border: 1px solid var(--border-default); |
| 5269 | border-radius: 999px; |
| 5270 | color: var(--fg-muted); |
| 5271 | font-size: 0.75rem; |
| 5272 | font-weight: 600; |
| 5273 | } |
| 5274 | .shithub-commit-ref-section-label { |
| 5275 | padding: 0.55rem 0.75rem 0.35rem; |
| 5276 | color: var(--fg-muted); |
| 5277 | font-size: 0.75rem; |
| 5278 | font-weight: 600; |
| 5279 | text-transform: uppercase; |
| 5280 | } |
| 5281 | .shithub-commit-menu-empty { |
| 5282 | margin: 0; |
| 5283 | padding: 0.75rem; |
| 5284 | color: var(--fg-muted); |
| 5285 | font-size: 0.875rem; |
| 5286 | } |
| 5287 | .shithub-commit-menu-footer { |
| 5288 | display: block; |
| 5289 | padding: 0.75rem; |
| 5290 | border-top: 1px solid var(--border-default); |
| 5291 | color: var(--accent-fg); |
| 5292 | font-size: 0.875rem; |
| 5293 | font-weight: 600; |
| 5294 | text-align: center; |
| 5295 | } |
| 5296 | .shithub-commit-calendar-head { |
| 5297 | display: flex; |
| 5298 | align-items: center; |
| 5299 | justify-content: space-between; |
| 5300 | gap: 0.75rem; |
| 5301 | margin-bottom: 0.85rem; |
| 5302 | } |
| 5303 | .shithub-commit-calendar-month { |
| 5304 | display: flex; |
| 5305 | align-items: center; |
| 5306 | gap: 0.6rem; |
| 5307 | font-weight: 600; |
| 5308 | } |
| 5309 | .shithub-commit-calendar-month span { |
| 5310 | display: inline-flex; |
| 5311 | align-items: center; |
| 5312 | min-height: 30px; |
| 5313 | } |
| 5314 | .shithub-commit-calendar-nav { |
| 5315 | display: inline-flex; |
| 5316 | gap: 0.35rem; |
| 5317 | } |
| 5318 | .shithub-commit-calendar-nav a { |
| 5319 | display: inline-flex; |
| 5320 | align-items: center; |
| 5321 | justify-content: center; |
| 5322 | width: 32px; |
| 5323 | height: 30px; |
| 5324 | border: 1px solid var(--border-default); |
| 5325 | border-radius: 6px; |
| 5326 | color: var(--fg-muted); |
| 5327 | background: var(--canvas-subtle); |
| 5328 | font-size: 1.2rem; |
| 5329 | line-height: 1; |
| 5330 | } |
| 5331 | .shithub-commit-calendar-nav a:hover { |
| 5332 | color: var(--fg-default); |
| 5333 | background: var(--canvas-inset); |
| 5334 | text-decoration: none; |
| 5335 | } |
| 5336 | .shithub-commit-calendar { |
| 5337 | width: 100%; |
| 5338 | border-collapse: collapse; |
| 5339 | table-layout: fixed; |
| 5340 | } |
| 5341 | .shithub-commit-calendar th { |
| 5342 | height: 28px; |
| 5343 | color: var(--fg-muted); |
| 5344 | font-size: 0.75rem; |
| 5345 | font-weight: 600; |
| 5346 | text-align: center; |
| 5347 | } |
| 5348 | .shithub-commit-calendar td { |
| 5349 | height: 34px; |
| 5350 | padding: 0; |
| 5351 | text-align: center; |
| 5352 | } |
| 5353 | .shithub-commit-calendar-day { |
| 5354 | display: inline-flex; |
| 5355 | align-items: center; |
| 5356 | justify-content: center; |
| 5357 | width: 30px; |
| 5358 | height: 30px; |
| 5359 | border-radius: 6px; |
| 5360 | color: var(--fg-muted); |
| 5361 | font-size: 0.875rem; |
| 5362 | font-variant-numeric: tabular-nums; |
| 5363 | } |
| 5364 | .shithub-commit-calendar-day.is-in-month { |
| 5365 | color: var(--fg-default); |
| 5366 | } |
| 5367 | .shithub-commit-calendar-day:hover { |
| 5368 | background: var(--canvas-subtle); |
| 5369 | text-decoration: none; |
| 5370 | } |
| 5371 | .shithub-commit-calendar-day.is-selected { |
| 5372 | color: var(--accent-fg); |
| 5373 | font-weight: 700; |
| 5374 | text-decoration: underline; |
| 5375 | text-underline-offset: 4px; |
| 5376 | } |
| 5377 | .shithub-commit-calendar-day.is-today { |
| 5378 | box-shadow: inset 0 0 0 1px var(--accent-fg); |
| 5379 | } |
| 5380 | .shithub-commit-calendar-footer { |
| 5381 | display: flex; |
| 5382 | gap: 1rem; |
| 5383 | padding-top: 0.8rem; |
| 5384 | font-size: 0.875rem; |
| 5385 | font-weight: 600; |
| 5386 | } |
| 5387 | .shithub-commit-active-filter { |
| 5388 | display: flex; |
| 5389 | align-items: center; |
| 5390 | justify-content: space-between; |
| 5391 | gap: 0.75rem; |
| 5392 | margin-bottom: 1rem; |
| 5393 | padding: 0.55rem 0.75rem; |
| 5394 | border: 1px solid var(--border-default); |
| 5395 | border-radius: 6px; |
| 5396 | color: var(--fg-muted); |
| 5397 | background: var(--canvas-subtle); |
| 5398 | font-size: 0.875rem; |
| 5399 | } |
| 5400 | .shithub-commit-timeline { |
| 5401 | display: grid; |
| 5402 | gap: 0.85rem; |
| 5403 | } |
| 5404 | .shithub-commit-day-group { |
| 5405 | position: relative; |
| 5406 | margin-left: 1.05rem; |
| 5407 | padding-left: 1.45rem; |
| 5408 | } |
| 5409 | .shithub-commit-day-group::before { |
| 5410 | position: absolute; |
| 5411 | top: 1.7rem; |
| 5412 | bottom: -0.85rem; |
| 5413 | left: 0; |
| 5414 | width: 2px; |
| 5415 | background: var(--border-default); |
| 5416 | content: ""; |
| 5417 | } |
| 5418 | .shithub-commit-day-group:last-child::before { |
| 5419 | bottom: 0; |
| 5420 | } |
| 5421 | .shithub-commit-day-group h2 { |
| 5422 | position: relative; |
| 5423 | display: flex; |
| 5424 | align-items: center; |
| 5425 | gap: 0.55rem; |
| 5426 | margin: 0 0 0.7rem; |
| 5427 | color: var(--fg-muted); |
| 5428 | font-size: 0.875rem; |
| 5429 | font-weight: 500; |
| 5430 | } |
| 5431 | .shithub-commit-day-group h2 svg { |
| 5432 | position: absolute; |
| 5433 | left: -1.82rem; |
| 5434 | width: 16px; |
| 5435 | height: 16px; |
| 5436 | padding: 0.2rem; |
| 5437 | border-radius: 50%; |
| 5438 | color: var(--fg-muted); |
| 5439 | background: var(--canvas-default); |
| 5440 | } |
| 5441 | .shithub-commits-list { |
| 5442 | list-style: none; |
| 5443 | padding: 0; |
| 5444 | margin: 0; |
| 5445 | border: 1px solid var(--border-default); |
| 5446 | border-radius: 6px; |
| 5447 | background: var(--canvas-default); |
| 5448 | overflow: hidden; |
| 5449 | } |
| 5450 | .shithub-commits-row { |
| 5451 | display: grid; |
| 5452 | grid-template-columns: minmax(0, 1fr) auto; |
| 5453 | gap: 1rem; |
| 5454 | min-height: 64px; |
| 5455 | padding: 0.72rem 0.85rem; |
| 5456 | border-bottom: 1px solid var(--border-default); |
| 5457 | align-items: center; |
| 5458 | } |
| 5459 | .shithub-commits-row:last-child { |
| 5460 | border-bottom: 0; |
| 5461 | } |
| 5462 | .shithub-commit-row-main { |
| 5463 | min-width: 0; |
| 5464 | display: grid; |
| 5465 | gap: 0.35rem; |
| 5466 | } |
| 5467 | .shithub-commit-message-line { |
| 5468 | min-width: 0; |
| 5469 | display: flex; |
| 5470 | align-items: center; |
| 5471 | gap: 0.35rem; |
| 5472 | } |
| 5473 | .shithub-commits-subject { |
| 5474 | min-width: 0; |
| 5475 | color: var(--fg-default); |
| 5476 | font-weight: 600; |
| 5477 | overflow: hidden; |
| 5478 | text-overflow: ellipsis; |
| 5479 | white-space: nowrap; |
| 5480 | } |
| 5481 | .shithub-commits-subject:hover { |
| 5482 | color: var(--accent-fg); |
| 5483 | } |
| 5484 | .shithub-commit-attribution { |
| 5485 | min-width: 0; |
| 5486 | display: flex; |
| 5487 | align-items: center; |
| 5488 | gap: 0.25rem; |
| 5489 | color: var(--fg-muted); |
| 5490 | font-size: 0.75rem; |
| 5491 | } |
| 5492 | .shithub-commit-attribution .shithub-avatar-sm { |
| 5493 | width: 16px; |
| 5494 | height: 16px; |
| 5495 | margin-right: 0.1rem; |
| 5496 | } |
| 5497 | .shithub-commit-attribution a { |
| 5498 | color: var(--fg-muted); |
| 5499 | font-weight: 600; |
| 5500 | } |
| 5501 | .shithub-commit-row-actions { |
| 5502 | display: flex; |
| 5503 | align-items: center; |
| 5504 | gap: 0.15rem; |
| 5505 | } |
| 5506 | .shithub-commits-sha { |
| 5507 | margin-right: 0.35rem; |
| 5508 | color: var(--fg-muted); |
| 5509 | font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; |
| 5510 | font-size: 0.75rem; |
| 5511 | font-weight: 600; |
| 5512 | } |
| 5513 | .shithub-commit-body-popover { |
| 5514 | position: relative; |
| 5515 | } |
| 5516 | .shithub-commit-body-popover summary { |
| 5517 | display: inline-flex; |
| 5518 | align-items: center; |
| 5519 | justify-content: center; |
| 5520 | width: 22px; |
| 5521 | height: 22px; |
| 5522 | border-radius: 6px; |
| 5523 | color: var(--fg-muted); |
| 5524 | list-style: none; |
| 5525 | cursor: pointer; |
| 5526 | } |
| 5527 | .shithub-commit-body-popover summary::-webkit-details-marker { |
| 5528 | display: none; |
| 5529 | } |
| 5530 | .shithub-commit-body-popover summary:hover { |
| 5531 | color: var(--accent-fg); |
| 5532 | background: var(--canvas-subtle); |
| 5533 | } |
| 5534 | .shithub-commit-body-popover pre { |
| 5535 | position: absolute; |
| 5536 | z-index: 20; |
| 5537 | top: 28px; |
| 5538 | left: 0; |
| 5539 | width: min(34rem, 80vw); |
| 5540 | max-height: 18rem; |
| 5541 | overflow: auto; |
| 5542 | margin: 0; |
| 5543 | padding: 0.8rem; |
| 5544 | border: 1px solid var(--border-default); |
| 5545 | border-radius: 6px; |
| 5546 | color: var(--fg-default); |
| 5547 | background: var(--canvas-overlay, var(--canvas-default)); |
| 5548 | box-shadow: 0 12px 32px rgba(1, 4, 9, 0.35); |
| 5549 | font-size: 0.8rem; |
| 5550 | white-space: pre-wrap; |
| 5551 | } |
| 5552 | .shithub-commit-empty { |
| 5553 | padding: 2rem; |
| 5554 | border: 1px solid var(--border-default); |
| 5555 | border-radius: 6px; |
| 5556 | color: var(--fg-muted); |
| 5557 | background: var(--canvas-subtle); |
| 5558 | text-align: center; |
| 5559 | } |
| 5560 | .shithub-pager { |
| 5561 | display: flex; |
| 5562 | gap: 0.75rem; |
| 5563 | padding: 1rem 0; |
| 5564 | } |
| 5565 | .shithub-commit-pager { |
| 5566 | justify-content: flex-end; |
| 5567 | } |
| 5568 | .shithub-commit-pager a { |
| 5569 | display: inline-flex; |
| 5570 | align-items: center; |
| 5571 | min-height: 32px; |
| 5572 | padding: 0 0.8rem; |
| 5573 | border: 1px solid var(--border-default); |
| 5574 | border-radius: 6px; |
| 5575 | color: var(--accent-fg); |
| 5576 | background: var(--canvas-subtle); |
| 5577 | font-size: 0.875rem; |
| 5578 | font-weight: 600; |
| 5579 | } |
| 5580 | |
| 5581 | @media (max-width: 720px) { |
| 5582 | .shithub-commits-toolbar, |
| 5583 | .shithub-commit-filter-stack { |
| 5584 | align-items: stretch; |
| 5585 | flex-direction: column; |
| 5586 | } |
| 5587 | .shithub-commit-filter-stack { |
| 5588 | width: 100%; |
| 5589 | margin-left: 0; |
| 5590 | } |
| 5591 | .shithub-commit-menu-button { |
| 5592 | width: 100%; |
| 5593 | justify-content: space-between; |
| 5594 | } |
| 5595 | .shithub-commit-menu-panel, |
| 5596 | .shithub-commit-ref-panel, |
| 5597 | .shithub-commit-calendar-panel { |
| 5598 | left: 0; |
| 5599 | right: auto; |
| 5600 | width: min(100%, 320px); |
| 5601 | } |
| 5602 | .shithub-commit-day-group { |
| 5603 | margin-left: 0.65rem; |
| 5604 | padding-left: 1.05rem; |
| 5605 | } |
| 5606 | .shithub-commits-row { |
| 5607 | grid-template-columns: 1fr; |
| 5608 | gap: 0.5rem; |
| 5609 | } |
| 5610 | .shithub-commit-row-actions { |
| 5611 | justify-content: flex-start; |
| 5612 | } |
| 5613 | } |
| 5614 | |
| 5615 | .shithub-commit-view { max-width: 64rem; margin: 1.5rem auto; padding: 0 1rem; } |
| 5616 | .shithub-commit-meta { |
| 5617 | margin-top: 1rem; |
| 5618 | padding: 1rem; |
| 5619 | border: 1px solid var(--border-default); |
| 5620 | border-radius: 6px; |
| 5621 | background: var(--canvas-subtle); |
| 5622 | } |
| 5623 | .shithub-commit-subject { margin: 0 0 0.5rem; font-size: 1.2rem; } |
| 5624 | .shithub-commit-body { margin: 0.75rem 0; font-family: monospace; font-size: 0.9rem; line-height: 1.4; } |
| 5625 | .shithub-commit-people { display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 0.75rem 0; font-size: 0.875rem; } |
| 5626 | .shithub-commit-actor { display: inline-flex; align-items: center; gap: 0.4rem; } |
| 5627 | .shithub-commit-role { color: var(--fg-muted); font-weight: 500; } |
| 5628 | .shithub-commit-refs { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1rem; font-size: 0.875rem; } |
| 5629 | .shithub-commit-refs dt { color: var(--fg-muted); } |
| 5630 | .shithub-commit-refs dd { margin: 0; font-family: monospace; } |
| 5631 | |
| 5632 | .shithub-commit-files { margin-top: 1.5rem; } |
| 5633 | .shithub-commit-files-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; } |
| 5634 | .shithub-commit-files-table th, .shithub-commit-files-table td { |
| 5635 | padding: 0.4rem 0.6rem; |
| 5636 | border-bottom: 1px solid var(--border-default); |
| 5637 | text-align: left; |
| 5638 | } |
| 5639 | .shithub-num-col { width: 80px; text-align: right; font-variant-numeric: tabular-nums; } |
| 5640 | .shithub-add { color: #22863a; } |
| 5641 | .shithub-del { color: #cb2431; } |
| 5642 | .shithub-status-A { color: #22863a; font-weight: 600; } |
| 5643 | .shithub-status-M { color: #b08800; font-weight: 600; } |
| 5644 | .shithub-status-D { color: #cb2431; font-weight: 600; } |
| 5645 | .shithub-status-R { color: #6f42c1; font-weight: 600; } |
| 5646 | .shithub-status-C { color: #0366d6; font-weight: 600; } |
| 5647 | |
| 5648 | .shithub-blame-table { width: 100%; border-collapse: collapse; font-family: monospace; font-size: 0.85rem; } |
| 5649 | .shithub-blame-chunk-header td { |
| 5650 | padding: 0.4rem 0.6rem; |
| 5651 | background: var(--canvas-subtle); |
| 5652 | border-top: 1px solid var(--border-default); |
| 5653 | font-family: var(--shithub-font-default, sans-serif); |
| 5654 | font-size: 0.8rem; |
| 5655 | color: var(--fg-muted); |
| 5656 | display: flex; |
| 5657 | gap: 0.4rem; |
| 5658 | align-items: center; |
| 5659 | } |
| 5660 | .shithub-blame-lineno { width: 50px; text-align: right; padding-right: 0.5rem; color: var(--fg-muted); } |
| 5661 | .shithub-blame-lineno a { color: inherit; } |
| 5662 | .shithub-blame-content pre { margin: 0; white-space: pre; } |
| 5663 | .shithub-blame-too-large { |
| 5664 | padding: 1rem; |
| 5665 | border: 1px dashed var(--border-default); |
| 5666 | border-radius: 6px; |
| 5667 | text-align: center; |
| 5668 | color: var(--fg-muted); |
| 5669 | } |
| 5670 | |
| 5671 | /* ========== Diff renderer (S19) ========== */ |
| 5672 | .shithub-commit-files-head { |
| 5673 | display: flex; |
| 5674 | align-items: center; |
| 5675 | justify-content: space-between; |
| 5676 | margin-bottom: 0.5rem; |
| 5677 | } |
| 5678 | .shithub-diff-toggles { display: flex; gap: 0.25rem; } |
| 5679 | .shithub-diff-body { margin-top: 1rem; } |
| 5680 | .shithub-diff-file { |
| 5681 | margin-top: 1rem; |
| 5682 | border: 1px solid var(--border-default); |
| 5683 | border-radius: 6px; |
| 5684 | overflow: hidden; |
| 5685 | } |
| 5686 | .shithub-diff-file-head { |
| 5687 | display: flex; |
| 5688 | align-items: center; |
| 5689 | justify-content: space-between; |
| 5690 | gap: 0.75rem; |
| 5691 | padding: 0.5rem 0.75rem; |
| 5692 | background: var(--canvas-subtle); |
| 5693 | border-bottom: 1px solid var(--border-default); |
| 5694 | font-size: 0.875rem; |
| 5695 | } |
| 5696 | .shithub-diff-file-action { color: var(--fg-muted); font-style: italic; } |
| 5697 | .shithub-diff-binary, .shithub-diff-image, .shithub-diff-empty, .shithub-diff-truncated { |
| 5698 | padding: 1rem; |
| 5699 | text-align: center; |
| 5700 | color: var(--fg-muted); |
| 5701 | } |
| 5702 | .shithub-diff-file-toolarge { padding: 0.5rem 0.75rem; } |
| 5703 | .shithub-diff-file-toolarge > summary { cursor: pointer; color: var(--fg-muted); } |
| 5704 | .shithub-diff-table { |
| 5705 | width: 100%; |
| 5706 | border-collapse: collapse; |
| 5707 | font-family: monospace; |
| 5708 | font-size: 0.85rem; |
| 5709 | table-layout: fixed; |
| 5710 | } |
| 5711 | .shithub-diff-table td { padding: 0 0.5rem; vertical-align: top; } |
| 5712 | .shithub-diff-table pre { margin: 0; white-space: pre; } |
| 5713 | .shithub-diff-lineno { |
| 5714 | width: 50px; |
| 5715 | text-align: right; |
| 5716 | color: var(--fg-muted); |
| 5717 | user-select: none; |
| 5718 | background: var(--canvas-subtle); |
| 5719 | } |
| 5720 | .shithub-diff-content { width: auto; } |
| 5721 | .shithub-diff-add { background: rgba(46, 160, 67, 0.10); } |
| 5722 | .shithub-diff-del { background: rgba(248, 81, 73, 0.10); } |
| 5723 | .shithub-diff-add .shithub-diff-content { background: rgba(46, 160, 67, 0.05); } |
| 5724 | .shithub-diff-del .shithub-diff-content { background: rgba(248, 81, 73, 0.05); } |
| 5725 | .shithub-diff-pad { background: var(--canvas-subtle); } |
| 5726 | .shithub-diff-hunk-head td { |
| 5727 | padding: 0.4rem 0.75rem; |
| 5728 | background: var(--canvas-default); |
| 5729 | border-top: 1px solid var(--border-default); |
| 5730 | border-bottom: 1px solid var(--border-default); |
| 5731 | color: var(--fg-muted); |
| 5732 | } |
| 5733 | .shithub-diff-split td.shithub-diff-content { |
| 5734 | width: 50%; |
| 5735 | border-left: 1px solid var(--border-default); |
| 5736 | } |
| 5737 | |
| 5738 | /* ========== Branches/Tags/Compare/Settings (S20) ========== */ |
| 5739 | .shithub-branches, .shithub-tags, .shithub-compare, .shithub-settings-branches { |
| 5740 | max-width: 64rem; |
| 5741 | margin: 1.5rem auto; |
| 5742 | padding: 0 1rem; |
| 5743 | } |
| 5744 | .shithub-branches-filter { display: flex; gap: 0.4rem; } |
| 5745 | .shithub-branches-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; } |
| 5746 | .shithub-branches-table th, .shithub-branches-table td { |
| 5747 | padding: 0.5rem 0.75rem; |
| 5748 | text-align: left; |
| 5749 | border-bottom: 1px solid var(--border-default); |
| 5750 | } |
| 5751 | .shithub-branches-subject { color: var(--fg-default); } |
| 5752 | .shithub-compare-summary { padding: 0.75rem 1rem; background: var(--canvas-subtle); border-radius: 6px; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; } |
| 5753 | .shithub-compare-empty { padding: 1.5rem; text-align: center; color: var(--fg-muted); border: 1px dashed var(--border-default); border-radius: 6px; } |
| 5754 | .shithub-compare-commits { margin-top: 1.5rem; } |
| 5755 | .shithub-settings-branches form label { display: block; margin: 0.5rem 0; } |
| 5756 | .shithub-settings-branches form input[type=text], |
| 5757 | .shithub-settings-branches form select { font: inherit; padding: 0.4rem 0.6rem; border: 1px solid var(--border-default); border-radius: 6px; min-width: 280px; } |
| 5758 | |
| 5759 | /* ========== Issues / Labels / Milestones (S21) ========== */ |
| 5760 | .shithub-issues, .shithub-issue-view, .shithub-issue-new, .shithub-labels, .shithub-milestones { |
| 5761 | margin: 0; |
| 5762 | padding: 0; |
| 5763 | } |
| 5764 | .shithub-issues-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; } |
| 5765 | .shithub-issues-actions { display: flex; gap: 0.4rem; } |
| 5766 | .shithub-issues-filter { display: flex; gap: 1.5rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border-default); margin: 1rem 0; } |
| 5767 | .shithub-issues-tab { color: var(--fg-muted); padding: 0.25rem 0; border-bottom: 2px solid transparent; } |
| 5768 | .shithub-issues-tab-active { color: var(--fg-default); border-bottom-color: var(--accent-emphasis, #0969da); font-weight: 600; } |
| 5769 | .shithub-issues-dot { display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; vertical-align: middle; margin-right: 0.25rem; } |
| 5770 | .shithub-issues-dot-open { background: #1a7f37; } |
| 5771 | .shithub-issues-dot-closed { background: #8250df; } |
| 5772 | .shithub-issues-list { list-style: none; padding: 0; margin: 0; } |
| 5773 | .shithub-issues-row { |
| 5774 | display: flex; gap: 0.75rem; align-items: flex-start; |
| 5775 | padding: 0.75rem 0.5rem; |
| 5776 | border-bottom: 1px solid var(--border-default); |
| 5777 | } |
| 5778 | .shithub-issues-state { font-size: 1.1rem; line-height: 1.2; } |
| 5779 | .shithub-issues-state-open { color: #1a7f37; } |
| 5780 | .shithub-issues-state-closed { color: #8250df; } |
| 5781 | .shithub-issues-body { flex: 1; } |
| 5782 | .shithub-issues-title { font-weight: 600; color: var(--fg-default); } |
| 5783 | .shithub-issues-title:hover { color: var(--accent-emphasis, #0969da); } |
| 5784 | .shithub-issues-meta { color: var(--fg-muted); font-size: 0.85rem; margin-top: 0.2rem; } |
| 5785 | .shithub-issues-assignees { font-size: 0.85rem; } |
| 5786 | .shithub-issues-empty { color: var(--fg-muted); padding: 2rem; text-align: center; border: 1px dashed var(--border-default); border-radius: 6px; } |
| 5787 | .shithub-issue-num { color: var(--fg-muted); font-weight: 400; margin-left: 0.5rem; } |
| 5788 | .shithub-issue-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; border-bottom: 1px solid var(--border-default); padding-bottom: 0.75rem; } |
| 5789 | .shithub-issue-title { display: flex; gap: 0.5rem; align-items: baseline; flex-wrap: wrap; margin: 0; } |
| 5790 | .shithub-issue-head-actions { display: flex; gap: 0.5rem; flex: 0 0 auto; } |
| 5791 | .shithub-issue-meta { color: var(--fg-muted); margin: 0.75rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; } |
| 5792 | .shithub-issue-meta .shithub-pill, .shithub-comment-form .shithub-button, .shithub-sidebar-button { display: inline-flex; align-items: center; justify-content: center; gap: 0.25rem; } |
| 5793 | .shithub-issue-grid { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: 1.5rem; } |
| 5794 | @media (max-width: 900px) { .shithub-issue-grid { grid-template-columns: 1fr; } } |
| 5795 | .shithub-comment { |
| 5796 | border: 1px solid var(--border-default); |
| 5797 | border-radius: 6px; |
| 5798 | margin-bottom: 1rem; |
| 5799 | background: var(--canvas-default); |
| 5800 | } |
| 5801 | .shithub-comment-head { |
| 5802 | padding: 0.5rem 0.75rem; |
| 5803 | background: var(--canvas-subtle); |
| 5804 | border-bottom: 1px solid var(--border-default); |
| 5805 | font-size: 0.9rem; |
| 5806 | color: var(--fg-muted); |
| 5807 | } |
| 5808 | .shithub-comment-body { padding: 0.75rem; } |
| 5809 | .shithub-event { |
| 5810 | color: var(--fg-muted); |
| 5811 | font-size: 0.85rem; |
| 5812 | display: flex; |
| 5813 | align-items: center; |
| 5814 | gap: 0.5rem; |
| 5815 | padding: 0.55rem 0; |
| 5816 | margin: 0 0 1rem 1.2rem; |
| 5817 | position: relative; |
| 5818 | } |
| 5819 | .shithub-event::before { |
| 5820 | content: ""; |
| 5821 | position: absolute; |
| 5822 | top: -1rem; |
| 5823 | bottom: -1rem; |
| 5824 | left: 0.6rem; |
| 5825 | border-left: 2px solid var(--border-default); |
| 5826 | z-index: 0; |
| 5827 | } |
| 5828 | .shithub-event-icon { |
| 5829 | width: 1.3rem; |
| 5830 | height: 1.3rem; |
| 5831 | border: 1px solid var(--border-default); |
| 5832 | border-radius: 50%; |
| 5833 | background: var(--canvas-default); |
| 5834 | color: var(--fg-muted); |
| 5835 | display: inline-flex; |
| 5836 | align-items: center; |
| 5837 | justify-content: center; |
| 5838 | position: relative; |
| 5839 | z-index: 1; |
| 5840 | flex: 0 0 auto; |
| 5841 | } |
| 5842 | .shithub-event-icon svg { width: 0.8rem; height: 0.8rem; } |
| 5843 | .shithub-event-linked .shithub-event-icon { color: var(--fg-muted); } |
| 5844 | .shithub-event a { font-weight: 600; } |
| 5845 | .shithub-comment-form { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; } |
| 5846 | .shithub-comment-form textarea, .shithub-issue-form textarea, .shithub-issue-form input[type=text] { |
| 5847 | font: inherit; padding: 0.5rem; border: 1px solid var(--border-default); border-radius: 6px; width: 100%; |
| 5848 | resize: vertical; |
| 5849 | } |
| 5850 | .shithub-issue-form { display: flex; flex-direction: column; gap: 1rem; max-width: 48rem; } |
| 5851 | .shithub-form-row { display: flex; flex-direction: column; gap: 0.25rem; } |
| 5852 | .shithub-form-row span { font-weight: 600; font-size: 0.9rem; } |
| 5853 | .shithub-form-actions { display: flex; gap: 0.5rem; justify-content: flex-end; } |
| 5854 | .shithub-form-actions-start { justify-content: flex-start; } |
| 5855 | .shithub-issue-sidebar section { padding: 0.75rem 0; border-bottom: 1px solid var(--border-default); position: relative; } |
| 5856 | .shithub-sidebar-heading { display: flex; justify-content: space-between; gap: 0.75rem; align-items: center; margin-bottom: 0.5rem; } |
| 5857 | .shithub-issue-sidebar h3 { font-size: 0.85rem; color: var(--fg-muted); margin: 0; } |
| 5858 | .shithub-sidebar-icon, .shithub-sidebar-editor > summary { |
| 5859 | color: var(--fg-muted); |
| 5860 | display: inline-flex; |
| 5861 | align-items: center; |
| 5862 | justify-content: center; |
| 5863 | width: 1.25rem; |
| 5864 | height: 1.25rem; |
| 5865 | cursor: pointer; |
| 5866 | } |
| 5867 | .shithub-sidebar-editor > summary { list-style: none; } |
| 5868 | .shithub-sidebar-editor > summary::-webkit-details-marker { display: none; } |
| 5869 | .shithub-popover { |
| 5870 | position: absolute; |
| 5871 | right: 0; |
| 5872 | top: 2rem; |
| 5873 | z-index: 20; |
| 5874 | min-width: 17rem; |
| 5875 | display: flex; |
| 5876 | flex-direction: column; |
| 5877 | gap: 0.55rem; |
| 5878 | padding: 0.75rem; |
| 5879 | background: var(--canvas-default); |
| 5880 | border: 1px solid var(--border-default); |
| 5881 | border-radius: 8px; |
| 5882 | box-shadow: 0 8px 24px rgba(140, 149, 159, 0.2); |
| 5883 | } |
| 5884 | .shithub-popover input[type=text], .shithub-popover select { |
| 5885 | font: inherit; |
| 5886 | width: 100%; |
| 5887 | padding: 0.45rem 0.5rem; |
| 5888 | border: 1px solid var(--border-default); |
| 5889 | border-radius: 6px; |
| 5890 | background: var(--canvas-default); |
| 5891 | color: var(--fg-default); |
| 5892 | } |
| 5893 | .shithub-inline-form { display: inline; } |
| 5894 | .shithub-link-button { |
| 5895 | border: 0; |
| 5896 | padding: 0; |
| 5897 | background: transparent; |
| 5898 | color: var(--accent-emphasis, #0969da); |
| 5899 | font: inherit; |
| 5900 | cursor: pointer; |
| 5901 | display: inline-flex; |
| 5902 | gap: 0.35rem; |
| 5903 | align-items: center; |
| 5904 | } |
| 5905 | .shithub-sidebar-button { width: 100%; } |
| 5906 | .shithub-participant { display: inline-block; margin: 0 0.35rem 0.35rem 0; } |
| 5907 | .shithub-issue-actions form { margin: 0.25rem 0; } |
| 5908 | .shithub-issue-signedout { color: var(--fg-muted); padding: 1rem; text-align: center; border: 1px dashed var(--border-default); border-radius: 6px; } |
| 5909 | .shithub-label { |
| 5910 | display: inline-block; |
| 5911 | font-size: 0.75rem; |
| 5912 | padding: 0.1rem 0.5rem; |
| 5913 | border-radius: 1rem; |
| 5914 | color: #1f2328; |
| 5915 | font-weight: 500; |
| 5916 | margin: 0 0.15rem; |
| 5917 | } |
| 5918 | .shithub-label-pick { display: flex; gap: 0.4rem; align-items: center; padding: 0.2rem 0; } |
| 5919 | .shithub-assignee-form { display: flex; gap: 0.25rem; flex-wrap: wrap; margin-top: 0.5rem; } |
| 5920 | .shithub-assignee-form input[type=text] { padding: 0.3rem 0.5rem; border: 1px solid var(--border-default); border-radius: 6px; } |
| 5921 | .shithub-labels-list, .shithub-milestones-list { list-style: none; padding: 0; } |
| 5922 | .shithub-labels-row, .shithub-milestones-row { |
| 5923 | padding: 0.75rem 0; |
| 5924 | border-bottom: 1px solid var(--border-default); |
| 5925 | display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; |
| 5926 | } |
| 5927 | .shithub-label-form, .shithub-milestone-form { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.5rem 0; } |
| 5928 | .shithub-label-form input, .shithub-milestone-form input, .shithub-milestone-form textarea { |
| 5929 | padding: 0.4rem 0.6rem; border: 1px solid var(--border-default); border-radius: 6px; font: inherit; |
| 5930 | } |
| 5931 | .shithub-button-danger { color: #cf222e; } |
| 5932 | .shithub-error { padding: 0.75rem; background: #ffebe9; border: 1px solid #ffcecb; border-radius: 6px; color: #82061e; margin-bottom: 1rem; } |
| 5933 | .shithub-muted { color: var(--fg-muted); } |
| 5934 | |
| 5935 | /* ========== Pull Requests (S22) ========== */ |
| 5936 | .shithub-pulls, .shithub-pull-view { margin: 0; padding: 0; } |
| 5937 | .shithub-pull-head { margin: 1.25rem 0 1rem; } |
| 5938 | .shithub-pull-title-row { |
| 5939 | display: flex; |
| 5940 | align-items: flex-start; |
| 5941 | justify-content: space-between; |
| 5942 | gap: 1rem; |
| 5943 | } |
| 5944 | .shithub-pull-title { |
| 5945 | margin: 0; |
| 5946 | display: flex; |
| 5947 | gap: 0.35rem; |
| 5948 | align-items: baseline; |
| 5949 | flex-wrap: wrap; |
| 5950 | font-size: 1.75rem; |
| 5951 | line-height: 1.25; |
| 5952 | font-weight: 600; |
| 5953 | } |
| 5954 | .shithub-pull-head-actions { |
| 5955 | display: flex; |
| 5956 | align-items: center; |
| 5957 | gap: 0.5rem; |
| 5958 | flex: 0 0 auto; |
| 5959 | } |
| 5960 | .shithub-pull-head-status { color: var(--fg-muted); } |
| 5961 | .shithub-pull-head-status-clean { color: #1a7f37; } |
| 5962 | .shithub-pull-head-status-dirty { color: #cf222e; } |
| 5963 | .shithub-pull-summary { |
| 5964 | display: flex; |
| 5965 | align-items: center; |
| 5966 | gap: 0.5rem; |
| 5967 | flex-wrap: wrap; |
| 5968 | margin-top: 0.6rem; |
| 5969 | color: var(--fg-muted); |
| 5970 | font-size: 0.9rem; |
| 5971 | } |
| 5972 | .shithub-pull-summary a { font-weight: 600; } |
| 5973 | .shithub-pull-merged { background: #8250df22; color: #8250df; } |
| 5974 | .shithub-branch-name { |
| 5975 | display: inline-flex; |
| 5976 | align-items: center; |
| 5977 | max-width: 18rem; |
| 5978 | padding: 0.05rem 0.35rem; |
| 5979 | border-radius: 6px; |
| 5980 | background: var(--canvas-subtle); |
| 5981 | font-family: var(--mono, monospace); |
| 5982 | font-size: 0.85rem; |
| 5983 | vertical-align: baseline; |
| 5984 | } |
| 5985 | .shithub-pull-summary .shithub-icon-button { |
| 5986 | display: inline-flex; |
| 5987 | align-items: center; |
| 5988 | justify-content: center; |
| 5989 | width: 1.5rem; |
| 5990 | height: 1.5rem; |
| 5991 | padding: 0; |
| 5992 | border: 0; |
| 5993 | border-radius: 6px; |
| 5994 | background: transparent; |
| 5995 | color: var(--fg-muted); |
| 5996 | cursor: pointer; |
| 5997 | } |
| 5998 | .shithub-pull-summary .shithub-icon-button:hover { background: var(--canvas-subtle); color: var(--fg-default); } |
| 5999 | .shithub-pull-tabs { |
| 6000 | display: flex; |
| 6001 | gap: 0.25rem; |
| 6002 | border-bottom: 1px solid var(--border-default); |
| 6003 | margin: 1rem 0 1rem; |
| 6004 | flex-wrap: wrap; |
| 6005 | } |
| 6006 | .shithub-pull-tab { |
| 6007 | display: inline-flex; |
| 6008 | align-items: center; |
| 6009 | gap: 0.45rem; |
| 6010 | color: var(--fg-muted); |
| 6011 | padding: 0.55rem 0.85rem; |
| 6012 | border-bottom: 2px solid transparent; |
| 6013 | position: relative; |
| 6014 | bottom: -1px; |
| 6015 | text-decoration: none; |
| 6016 | } |
| 6017 | .shithub-pull-tab:hover { background: var(--canvas-subtle); border-radius: 6px 6px 0 0; } |
| 6018 | .shithub-pull-tab-active { |
| 6019 | color: var(--fg-default); |
| 6020 | border-bottom-color: var(--accent-emphasis, #fd8c73); |
| 6021 | font-weight: 600; |
| 6022 | } |
| 6023 | .shithub-pull-grid { |
| 6024 | display: grid; |
| 6025 | grid-template-columns: minmax(0, 1fr) 18.5rem; |
| 6026 | gap: 1.5rem; |
| 6027 | align-items: start; |
| 6028 | } |
| 6029 | @media (max-width: 900px) { |
| 6030 | .shithub-pull-title-row { flex-direction: column; } |
| 6031 | .shithub-pull-grid { grid-template-columns: 1fr; } |
| 6032 | } |
| 6033 | .shithub-pull-state-clean { color: #1a7f37; font-weight: 600; } |
| 6034 | .shithub-pull-state-dirty { color: #cf222e; font-weight: 600; } |
| 6035 | .shithub-pull-state-behind { color: #9a6700; } |
| 6036 | .shithub-pull-state-unknown { color: var(--fg-muted); } |
| 6037 | .shithub-pull-deploy-box, |
| 6038 | .shithub-pull-merge-box { |
| 6039 | border: 1px solid var(--border-default); |
| 6040 | border-radius: 6px; |
| 6041 | background: var(--canvas-default); |
| 6042 | margin: 0 0 1rem; |
| 6043 | } |
| 6044 | .shithub-pull-deploy-box { |
| 6045 | display: flex; |
| 6046 | gap: 0.75rem; |
| 6047 | align-items: flex-start; |
| 6048 | padding: 0.85rem 1rem; |
| 6049 | } |
| 6050 | .shithub-pull-deploy-box p { margin: 0.15rem 0 0; } |
| 6051 | .shithub-pull-merge-box-ready { border-color: rgba(26, 127, 55, 0.55); } |
| 6052 | .shithub-pull-merge-box-blocked { border-color: rgba(207, 34, 46, 0.55); } |
| 6053 | .shithub-pull-merge-box-pending { border-color: rgba(154, 103, 0, 0.55); } |
| 6054 | .shithub-pull-merge-box-merged { border-color: rgba(130, 80, 223, 0.55); } |
| 6055 | .shithub-pull-merge-row { |
| 6056 | display: grid; |
| 6057 | grid-template-columns: 2rem minmax(0, 1fr); |
| 6058 | gap: 0.75rem; |
| 6059 | padding: 0.85rem 1rem; |
| 6060 | border-bottom: 1px solid var(--border-default); |
| 6061 | } |
| 6062 | .shithub-pull-merge-row:last-child { border-bottom: none; } |
| 6063 | .shithub-pull-merge-row p { margin: 0.15rem 0 0; } |
| 6064 | .shithub-pull-status-icon { |
| 6065 | width: 1.5rem; |
| 6066 | height: 1.5rem; |
| 6067 | border-radius: 50%; |
| 6068 | color: var(--fg-muted); |
| 6069 | display: inline-flex; |
| 6070 | align-items: center; |
| 6071 | justify-content: center; |
| 6072 | } |
| 6073 | .shithub-pull-status-icon-success, |
| 6074 | .shithub-pull-check-row-success .shithub-pull-status-icon { color: #1a7f37; } |
| 6075 | .shithub-pull-status-icon-danger, |
| 6076 | .shithub-pull-check-row-failure .shithub-pull-status-icon { color: #cf222e; } |
| 6077 | .shithub-pull-check-row-pending .shithub-pull-status-icon { color: #bf8700; } |
| 6078 | .shithub-pull-status-icon-merged { color: #8250df; } |
| 6079 | .shithub-pull-merge-checks { |
| 6080 | list-style: none; |
| 6081 | margin: 0; |
| 6082 | padding: 0; |
| 6083 | border-bottom: 1px solid var(--border-default); |
| 6084 | } |
| 6085 | .shithub-pull-merge-checks li { |
| 6086 | display: flex; |
| 6087 | align-items: center; |
| 6088 | gap: 0.5rem; |
| 6089 | padding: 0.45rem 1rem 0.45rem 3.75rem; |
| 6090 | border-top: 1px solid var(--border-muted); |
| 6091 | font-size: 0.86rem; |
| 6092 | } |
| 6093 | .shithub-pull-merge-checks small { color: var(--fg-muted); margin-left: auto; } |
| 6094 | .shithub-pull-merge-actions { |
| 6095 | padding: 0.85rem 1rem; |
| 6096 | display: flex; |
| 6097 | flex-wrap: wrap; |
| 6098 | gap: 0.5rem; |
| 6099 | background: var(--canvas-subtle); |
| 6100 | border-radius: 0 0 6px 6px; |
| 6101 | } |
| 6102 | .shithub-pull-merge-form { |
| 6103 | display: flex; |
| 6104 | align-items: center; |
| 6105 | gap: 0; |
| 6106 | margin: 0; |
| 6107 | } |
| 6108 | .shithub-pull-merge-form select { |
| 6109 | min-height: 32px; |
| 6110 | padding: 0 0.55rem; |
| 6111 | border: 1px solid var(--border-default); |
| 6112 | border-left: 0; |
| 6113 | border-radius: 0 6px 6px 0; |
| 6114 | background: var(--canvas-default); |
| 6115 | color: var(--fg-default); |
| 6116 | font: inherit; |
| 6117 | } |
| 6118 | .shithub-pull-merge-form .shithub-button { border-radius: 6px 0 0 6px; } |
| 6119 | .shithub-pull-state-form { margin-top: 0.5rem; } |
| 6120 | .shithub-pull-refs { display: flex; gap: 0.4rem; align-items: flex-end; } |
| 6121 | .shithub-pull-refs label { flex: 1; } |
| 6122 | .shithub-pull-arrow { font-size: 1.4rem; padding: 0 0.4rem; align-self: center; } |
| 6123 | .shithub-sr-only { |
| 6124 | position: absolute; |
| 6125 | width: 1px; |
| 6126 | height: 1px; |
| 6127 | padding: 0; |
| 6128 | margin: -1px; |
| 6129 | overflow: hidden; |
| 6130 | clip: rect(0, 0, 0, 0); |
| 6131 | white-space: nowrap; |
| 6132 | border: 0; |
| 6133 | } |
| 6134 | .shithub-pull-commits { |
| 6135 | display: flex; |
| 6136 | flex-direction: column; |
| 6137 | gap: 1rem; |
| 6138 | max-width: 56rem; |
| 6139 | margin-top: 1rem; |
| 6140 | } |
| 6141 | .shithub-pull-commit-group { |
| 6142 | display: grid; |
| 6143 | grid-template-columns: 2rem minmax(0, 1fr); |
| 6144 | gap: 0.75rem; |
| 6145 | position: relative; |
| 6146 | } |
| 6147 | .shithub-pull-commit-group::before { |
| 6148 | content: ""; |
| 6149 | position: absolute; |
| 6150 | top: 2rem; |
| 6151 | bottom: -1rem; |
| 6152 | left: 1rem; |
| 6153 | width: 1px; |
| 6154 | background: var(--border-default); |
| 6155 | } |
| 6156 | .shithub-pull-commit-group:last-child::before { display: none; } |
| 6157 | .shithub-pull-commit-badge { |
| 6158 | position: relative; |
| 6159 | z-index: 1; |
| 6160 | display: inline-flex; |
| 6161 | align-items: center; |
| 6162 | justify-content: center; |
| 6163 | width: 2rem; |
| 6164 | height: 2rem; |
| 6165 | border: 1px solid var(--border-default); |
| 6166 | border-radius: 50%; |
| 6167 | color: var(--fg-muted); |
| 6168 | background: var(--canvas-default); |
| 6169 | } |
| 6170 | .shithub-pull-commit-group-body { min-width: 0; } |
| 6171 | .shithub-pull-commit-group h3 { |
| 6172 | margin: 0.3rem 0 0.65rem; |
| 6173 | font-size: 0.95rem; |
| 6174 | font-weight: 400; |
| 6175 | } |
| 6176 | .shithub-pull-commit-panel { |
| 6177 | list-style: none; |
| 6178 | padding: 0; |
| 6179 | margin: 0; |
| 6180 | border: 1px solid var(--border-default); |
| 6181 | border-radius: 6px; |
| 6182 | background: var(--canvas-default); |
| 6183 | } |
| 6184 | .shithub-pull-commit-row { |
| 6185 | display: grid; |
| 6186 | grid-template-columns: minmax(0, 1fr) auto; |
| 6187 | gap: 1rem; |
| 6188 | align-items: center; |
| 6189 | padding: 0.75rem; |
| 6190 | border-bottom: 1px solid var(--border-default); |
| 6191 | } |
| 6192 | .shithub-pull-commit-row:last-child { border-bottom: 0; } |
| 6193 | .shithub-pull-commit-main { min-width: 0; } |
| 6194 | .shithub-pull-commit-title { |
| 6195 | display: block; |
| 6196 | overflow: hidden; |
| 6197 | color: var(--fg-default); |
| 6198 | font-weight: 600; |
| 6199 | text-overflow: ellipsis; |
| 6200 | white-space: nowrap; |
| 6201 | } |
| 6202 | .shithub-pull-commit-meta { |
| 6203 | display: flex; |
| 6204 | align-items: center; |
| 6205 | flex-wrap: wrap; |
| 6206 | gap: 0.25rem; |
| 6207 | margin-top: 0.3rem; |
| 6208 | color: var(--fg-muted); |
| 6209 | font-size: 0.84rem; |
| 6210 | } |
| 6211 | .shithub-pull-commit-meta .shithub-avatar-sm { width: 16px; height: 16px; margin-right: 0.15rem; } |
| 6212 | .shithub-pull-commit-actions { |
| 6213 | display: flex; |
| 6214 | align-items: center; |
| 6215 | gap: 0.25rem; |
| 6216 | } |
| 6217 | .shithub-pull-commit-sha { |
| 6218 | font-family: var(--mono, monospace); |
| 6219 | color: var(--fg-muted); |
| 6220 | } |
| 6221 | @media (max-width: 640px) { |
| 6222 | .shithub-pull-commit-row { grid-template-columns: 1fr; } |
| 6223 | .shithub-pull-commit-actions { justify-content: flex-start; } |
| 6224 | } |
| 6225 | |
| 6226 | /* ========== PR Reviews (S23) ========== */ |
| 6227 | .shithub-pull-reviews-list, .shithub-pull-reviewers-list { |
| 6228 | list-style: none; padding: 0; margin: 0; font-size: 0.9rem; |
| 6229 | } |
| 6230 | .shithub-pull-reviews-list { margin-top: 0.5rem; } |
| 6231 | .shithub-pull-reviews-list li, |
| 6232 | .shithub-pull-reviewers-list li { padding: 0.2rem 0; display: flex; gap: 0.35rem; flex-wrap: wrap; align-items: baseline; } |
| 6233 | .shithub-pull-review-state { font-weight: 600; } |
| 6234 | .shithub-pull-review-approve .shithub-pull-review-state { color: #1a7f37; } |
| 6235 | .shithub-pull-review-request_changes .shithub-pull-review-state { color: #cf222e; } |
| 6236 | .shithub-pull-review-comment .shithub-pull-review-state { color: var(--fg-muted); } |
| 6237 | .shithub-pull-review-dismissed { opacity: 0.5; text-decoration: line-through; } |
| 6238 | .shithub-pull-request-reviewer summary, .shithub-pull-submit-review summary { |
| 6239 | margin: 0.5rem 0 0.25rem; |
| 6240 | } |
| 6241 | .shithub-pull-review-form { display: flex; flex-direction: column; gap: 0.4rem; padding: 0.4rem 0; } |
| 6242 | .shithub-pull-review-form textarea, .shithub-pull-review-form select { |
| 6243 | padding: 0.4rem; border: 1px solid var(--border-default); border-radius: 6px; font: inherit; |
| 6244 | } |
| 6245 | .shithub-pull-comment-form { margin-top: 1.25rem; } |
| 6246 | .shithub-button-compact { min-height: 32px; padding: 0.25rem 0.7rem; } |
| 6247 | .shithub-pull-files { margin-top: 0.25rem; } |
| 6248 | .shithub-pull-files-toolbar { |
| 6249 | position: sticky; |
| 6250 | top: 0; |
| 6251 | z-index: 5; |
| 6252 | display: flex; |
| 6253 | justify-content: space-between; |
| 6254 | align-items: center; |
| 6255 | gap: 1rem; |
| 6256 | padding: 0.7rem 0; |
| 6257 | border-bottom: 1px solid var(--border-default); |
| 6258 | background: var(--canvas-default); |
| 6259 | } |
| 6260 | .shithub-pull-files-toolbar-left, |
| 6261 | .shithub-pull-files-toolbar-right { |
| 6262 | display: flex; |
| 6263 | align-items: center; |
| 6264 | gap: 0.5rem; |
| 6265 | flex-wrap: wrap; |
| 6266 | } |
| 6267 | .shithub-pull-submit-review-menu { position: relative; } |
| 6268 | .shithub-pull-submit-review-menu > summary { list-style: none; } |
| 6269 | .shithub-pull-submit-review-menu > summary::-webkit-details-marker { display: none; } |
| 6270 | .shithub-pull-review-popover { |
| 6271 | right: 0; |
| 6272 | top: calc(100% + 0.4rem); |
| 6273 | min-width: 20rem; |
| 6274 | } |
| 6275 | .shithub-pull-review-popover textarea { |
| 6276 | width: 100%; |
| 6277 | padding: 0.45rem 0.5rem; |
| 6278 | border: 1px solid var(--border-default); |
| 6279 | border-radius: 6px; |
| 6280 | background: var(--canvas-default); |
| 6281 | color: var(--fg-default); |
| 6282 | font: inherit; |
| 6283 | } |
| 6284 | .shithub-pull-files-layout { |
| 6285 | display: grid; |
| 6286 | grid-template-columns: 16rem minmax(0, 1fr); |
| 6287 | gap: 1rem; |
| 6288 | margin-top: 1rem; |
| 6289 | } |
| 6290 | .shithub-pull-file-nav { |
| 6291 | position: sticky; |
| 6292 | top: 3.75rem; |
| 6293 | align-self: start; |
| 6294 | max-height: calc(100vh - 5rem); |
| 6295 | overflow: auto; |
| 6296 | border: 1px solid var(--border-default); |
| 6297 | border-radius: 6px; |
| 6298 | background: var(--canvas-default); |
| 6299 | } |
| 6300 | .shithub-pull-file-filter { |
| 6301 | display: flex; |
| 6302 | align-items: center; |
| 6303 | gap: 0.35rem; |
| 6304 | padding: 0.5rem; |
| 6305 | border-bottom: 1px solid var(--border-default); |
| 6306 | } |
| 6307 | .shithub-pull-file-filter svg { color: var(--fg-muted); flex: 0 0 auto; } |
| 6308 | .shithub-pull-file-filter input { |
| 6309 | min-width: 0; |
| 6310 | width: 100%; |
| 6311 | border: 0; |
| 6312 | background: transparent; |
| 6313 | color: var(--fg-default); |
| 6314 | font: inherit; |
| 6315 | outline: none; |
| 6316 | } |
| 6317 | .shithub-pull-file-nav ul { |
| 6318 | list-style: none; |
| 6319 | margin: 0; |
| 6320 | padding: 0.4rem 0; |
| 6321 | } |
| 6322 | .shithub-pull-file-nav li a { |
| 6323 | display: grid; |
| 6324 | grid-template-columns: 1.4rem minmax(0, 1fr); |
| 6325 | gap: 0.45rem; |
| 6326 | align-items: start; |
| 6327 | padding: 0.45rem 0.65rem; |
| 6328 | color: var(--fg-default); |
| 6329 | text-decoration: none; |
| 6330 | font-size: 0.86rem; |
| 6331 | } |
| 6332 | .shithub-pull-file-nav li a:hover { background: var(--canvas-subtle); } |
| 6333 | .shithub-pull-file-nav small { |
| 6334 | display: block; |
| 6335 | color: var(--fg-muted); |
| 6336 | font-size: 0.75rem; |
| 6337 | overflow: hidden; |
| 6338 | text-overflow: ellipsis; |
| 6339 | white-space: nowrap; |
| 6340 | } |
| 6341 | .shithub-pull-file-status { |
| 6342 | display: inline-flex; |
| 6343 | align-items: center; |
| 6344 | justify-content: center; |
| 6345 | width: 1.1rem; |
| 6346 | height: 1.1rem; |
| 6347 | border-radius: 4px; |
| 6348 | font-size: 0.68rem; |
| 6349 | font-weight: 700; |
| 6350 | } |
| 6351 | .shithub-pull-file-status-added { color: #1a7f37; border: 1px solid rgba(26, 127, 55, 0.45); } |
| 6352 | .shithub-pull-file-status-deleted { color: #cf222e; border: 1px solid rgba(207, 34, 46, 0.45); } |
| 6353 | .shithub-pull-file-status-renamed { color: #8250df; border: 1px solid rgba(130, 80, 223, 0.45); } |
| 6354 | .shithub-pull-file-status-modified { color: #bf8700; border: 1px solid rgba(154, 103, 0, 0.45); } |
| 6355 | .shithub-pull-file-lines { margin-top: 0.1rem; } |
| 6356 | .shithub-pull-files-main { min-width: 0; } |
| 6357 | @media (max-width: 900px) { |
| 6358 | .shithub-pull-files-toolbar { position: static; align-items: flex-start; flex-direction: column; } |
| 6359 | .shithub-pull-files-layout { grid-template-columns: 1fr; } |
| 6360 | .shithub-pull-file-nav { position: static; max-height: none; } |
| 6361 | } |
| 6362 | .shithub-pull-threads { margin-top: 1.5rem; padding: 0.75rem; border: 1px solid var(--border-default); border-radius: 6px; } |
| 6363 | .shithub-pull-thread-file { padding: 0.4rem 0; border-bottom: 1px solid var(--border-default); } |
| 6364 | .shithub-pull-thread-file:last-child { border-bottom: none; } |
| 6365 | .shithub-pull-thread-file summary { cursor: pointer; font-weight: 600; } |
| 6366 | .shithub-pull-thread { padding: 0.5rem; border-left: 3px solid var(--border-default); margin: 0.5rem 0; } |
| 6367 | .shithub-pull-thread-outdated { opacity: 0.6; border-left-color: #9a6700; } |
| 6368 | .shithub-pull-thread-resolved { opacity: 0.7; border-left-color: #1a7f37; } |
| 6369 | .shithub-pull-thread-actions { display: flex; gap: 0.3rem; margin-top: 0.4rem; flex-wrap: wrap; } |
| 6370 | .shithub-pull-thread-actions textarea, .shithub-pull-thread-actions input[type=text] { |
| 6371 | padding: 0.3rem; border: 1px solid var(--border-default); border-radius: 6px; font: inherit; |
| 6372 | } |
| 6373 | .shithub-pull-add-comment summary { margin-top: 0.5rem; } |
| 6374 | .shithub-pull-add-comment form { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.4rem 0; } |
| 6375 | .shithub-pull-add-comment input, .shithub-pull-add-comment textarea { |
| 6376 | padding: 0.3rem 0.5rem; border: 1px solid var(--border-default); border-radius: 6px; font: inherit; |
| 6377 | } |
| 6378 | |
| 6379 | /* ========== PR Checks tab (S24) ========== */ |
| 6380 | .shithub-checks-page { |
| 6381 | display: grid; |
| 6382 | grid-template-columns: 15rem minmax(0, 1fr); |
| 6383 | gap: 1.5rem; |
| 6384 | margin-top: 1rem; |
| 6385 | } |
| 6386 | .shithub-checks-sidebar { |
| 6387 | position: sticky; |
| 6388 | top: 1rem; |
| 6389 | align-self: start; |
| 6390 | display: flex; |
| 6391 | flex-direction: column; |
| 6392 | gap: 0.35rem; |
| 6393 | } |
| 6394 | .shithub-checks-sidebar-group { |
| 6395 | padding-top: 0.75rem; |
| 6396 | margin-top: 0.5rem; |
| 6397 | border-top: 1px solid var(--border-default); |
| 6398 | } |
| 6399 | .shithub-checks-sidebar-heading { |
| 6400 | padding: 0.35rem 0.55rem; |
| 6401 | color: var(--fg-muted); |
| 6402 | font-size: 0.8rem; |
| 6403 | font-weight: 600; |
| 6404 | } |
| 6405 | .shithub-checks-sidebar-item { |
| 6406 | display: flex; |
| 6407 | align-items: center; |
| 6408 | gap: 0.45rem; |
| 6409 | padding: 0.45rem 0.55rem; |
| 6410 | border-radius: 6px; |
| 6411 | color: var(--fg-default); |
| 6412 | text-decoration: none; |
| 6413 | font-size: 0.86rem; |
| 6414 | } |
| 6415 | .shithub-checks-sidebar-item.is-active, |
| 6416 | .shithub-checks-sidebar-item:hover { |
| 6417 | background: var(--canvas-subtle); |
| 6418 | } |
| 6419 | .shithub-checks-main { |
| 6420 | display: flex; |
| 6421 | flex-direction: column; |
| 6422 | gap: 1rem; |
| 6423 | min-width: 0; |
| 6424 | } |
| 6425 | .shithub-checks-summary-card { |
| 6426 | display: grid; |
| 6427 | grid-template-columns: minmax(0, 2fr) repeat(3, minmax(7rem, 1fr)); |
| 6428 | gap: 1rem; |
| 6429 | padding: 1rem; |
| 6430 | border: 1px solid var(--border-default); |
| 6431 | border-radius: 6px; |
| 6432 | background: var(--canvas-default); |
| 6433 | } |
| 6434 | .shithub-checks-summary-card > div { |
| 6435 | display: flex; |
| 6436 | flex-direction: column; |
| 6437 | gap: 0.25rem; |
| 6438 | } |
| 6439 | .shithub-checks-success { color: #1a7f37; } |
| 6440 | .shithub-checks-failure { color: #cf222e; } |
| 6441 | .shithub-checks-pending { color: #9a6700; } |
| 6442 | .shithub-checks-workflow, |
| 6443 | .shithub-checks-annotations { |
| 6444 | border: 1px solid var(--border-default); |
| 6445 | border-radius: 6px; |
| 6446 | background: var(--canvas-default); |
| 6447 | } |
| 6448 | .shithub-checks-workflow > header { |
| 6449 | display: flex; |
| 6450 | justify-content: space-between; |
| 6451 | align-items: flex-start; |
| 6452 | gap: 1rem; |
| 6453 | padding: 1rem; |
| 6454 | border-bottom: 1px solid var(--border-default); |
| 6455 | } |
| 6456 | .shithub-checks-workflow h2, |
| 6457 | .shithub-checks-annotations h2 { |
| 6458 | margin: 0; |
| 6459 | font-size: 1rem; |
| 6460 | } |
| 6461 | .shithub-checks-workflow p { margin: 0.2rem 0 0; } |
| 6462 | .shithub-checks-workflow-map { |
| 6463 | padding: 1rem; |
| 6464 | min-height: 8rem; |
| 6465 | background: var(--canvas-inset); |
| 6466 | } |
| 6467 | .shithub-checks-run-card { |
| 6468 | max-width: 18rem; |
| 6469 | display: grid; |
| 6470 | grid-template-columns: 1.5rem minmax(0, 1fr) auto; |
| 6471 | gap: 0.55rem; |
| 6472 | align-items: center; |
| 6473 | padding: 0.75rem; |
| 6474 | border: 1px solid var(--border-default); |
| 6475 | border-radius: 6px; |
| 6476 | background: var(--canvas-default); |
| 6477 | } |
| 6478 | .shithub-checks-run-card + .shithub-checks-run-card { margin-top: 0.75rem; } |
| 6479 | .shithub-checks-run-card p { margin: 0.15rem 0 0; } |
| 6480 | .shithub-checks-run-icon { |
| 6481 | display: inline-flex; |
| 6482 | align-items: center; |
| 6483 | justify-content: center; |
| 6484 | color: #1a7f37; |
| 6485 | } |
| 6486 | .shithub-checks-annotations { padding: 1rem; } |
| 6487 | .shithub-checks-annotation { |
| 6488 | margin-top: 0.75rem; |
| 6489 | padding: 0.75rem; |
| 6490 | border: 1px solid var(--border-default); |
| 6491 | border-radius: 6px; |
| 6492 | background: var(--canvas-subtle); |
| 6493 | } |
| 6494 | .shithub-checks-annotation summary { |
| 6495 | cursor: pointer; |
| 6496 | display: flex; |
| 6497 | justify-content: space-between; |
| 6498 | gap: 1rem; |
| 6499 | } |
| 6500 | @media (max-width: 900px) { |
| 6501 | .shithub-checks-page { grid-template-columns: 1fr; } |
| 6502 | .shithub-checks-sidebar { position: static; } |
| 6503 | .shithub-checks-summary-card { grid-template-columns: 1fr; } |
| 6504 | } |
| 6505 | .shithub-pull-checks { display: flex; flex-direction: column; gap: 0.75rem; padding: 0.5rem 0; } |
| 6506 | .shithub-pull-check-suite { |
| 6507 | border: 1px solid var(--border-default); |
| 6508 | border-radius: 6px; |
| 6509 | padding: 0.75rem; |
| 6510 | } |
| 6511 | .shithub-pull-check-suite h3 { |
| 6512 | display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; |
| 6513 | font-size: 1rem; margin: 0 0 0.5rem; |
| 6514 | } |
| 6515 | .shithub-pull-check-app { font-family: var(--mono, monospace); font-size: 0.85rem; color: var(--fg-muted); } |
| 6516 | .shithub-pull-check-suite-status { font-size: 0.8rem; padding: 0.05rem 0.4rem; border-radius: 999px; background: var(--canvas-subtle); } |
| 6517 | .shithub-pull-check-runs { list-style: none; padding: 0; margin: 0; } |
| 6518 | .shithub-pull-check-run { |
| 6519 | display: flex; gap: 0.5rem; align-items: baseline; |
| 6520 | padding: 0.3rem 0; border-bottom: 1px solid var(--border-default); |
| 6521 | flex-wrap: wrap; |
| 6522 | } |
| 6523 | .shithub-pull-check-run:last-child { border-bottom: none; } |
| 6524 | .shithub-pull-check-status-completed { color: #1a7f37; } |
| 6525 | .shithub-pull-check-status-in_progress { color: #9a6700; } |
| 6526 | .shithub-pull-check-status-queued { color: var(--fg-muted); } |
| 6527 | .shithub-pull-check-status-pending { color: var(--fg-muted); } |
| 6528 | .shithub-pull-check-conclusion { |
| 6529 | font-size: 0.75rem; padding: 0.05rem 0.4rem; border-radius: 999px; |
| 6530 | text-transform: lowercase; |
| 6531 | } |
| 6532 | .shithub-pull-check-conclusion-success { background: #1a7f3722; color: #1a7f37; } |
| 6533 | .shithub-pull-check-conclusion-failure { background: #cf222e22; color: #cf222e; } |
| 6534 | .shithub-pull-check-conclusion-neutral { background: #d0d7de44; color: var(--fg-muted); } |
| 6535 | .shithub-pull-check-conclusion-cancelled, |
| 6536 | .shithub-pull-check-conclusion-skipped, |
| 6537 | .shithub-pull-check-conclusion-stale { color: var(--fg-muted); background: var(--canvas-subtle); } |
| 6538 | .shithub-pull-check-conclusion-timed_out { background: #9a670022; color: #9a6700; } |
| 6539 | .shithub-pull-check-conclusion-action_required { background: #cf222e22; color: #cf222e; font-weight: 600; } |
| 6540 | |
| 6541 | /* S26 — stars / watchers / forks list pages */ |
| 6542 | .shithub-social { max-width: 1012px; margin: 0 auto; padding: 1.5rem 0; } |
| 6543 | .shithub-social-subhead { |
| 6544 | display: flex; |
| 6545 | align-items: baseline; |
| 6546 | gap: 0.75rem; |
| 6547 | padding-bottom: 0.85rem; |
| 6548 | border-bottom: 1px solid var(--border-default); |
| 6549 | } |
| 6550 | .shithub-social-subhead h1 { |
| 6551 | margin: 0; |
| 6552 | font-size: 1.55rem; |
| 6553 | font-weight: 400; |
| 6554 | } |
| 6555 | .shithub-social-subhead p { margin: 0; color: var(--fg-muted); } |
| 6556 | .shithub-social-tabnav { |
| 6557 | display: flex; |
| 6558 | gap: 0.25rem; |
| 6559 | margin: 1rem 0; |
| 6560 | border-bottom: 1px solid var(--border-default); |
| 6561 | } |
| 6562 | .shithub-social-tabnav a, |
| 6563 | .shithub-social-tabnav span { |
| 6564 | display: inline-flex; |
| 6565 | align-items: center; |
| 6566 | gap: 0.35rem; |
| 6567 | padding: 0.55rem 0.85rem; |
| 6568 | color: var(--fg-default); |
| 6569 | border-bottom: 2px solid transparent; |
| 6570 | position: relative; |
| 6571 | bottom: -1px; |
| 6572 | } |
| 6573 | .shithub-social-tabnav a:hover { text-decoration: none; background: var(--canvas-subtle); border-radius: 6px 6px 0 0; } |
| 6574 | .shithub-social-tabnav .is-active { border-bottom-color: var(--accent-emphasis); font-weight: 600; } |
| 6575 | .shithub-social-tabnav .is-disabled { color: var(--fg-muted); } |
| 6576 | .shithub-social-list { |
| 6577 | list-style: none; |
| 6578 | padding: 0; |
| 6579 | margin: 1rem 0; |
| 6580 | border: 1px solid var(--border-default); |
| 6581 | border-radius: 6px; |
| 6582 | background: var(--canvas-default); |
| 6583 | } |
| 6584 | .shithub-social-list li { |
| 6585 | display: grid; |
| 6586 | grid-template-columns: 40px minmax(0, 1fr) auto; |
| 6587 | gap: 0.85rem; |
| 6588 | align-items: center; |
| 6589 | padding: 1rem; |
| 6590 | border-bottom: 1px solid var(--border-muted); |
| 6591 | } |
| 6592 | .shithub-social-list li:last-child { border-bottom: none; } |
| 6593 | .shithub-social-avatar, |
| 6594 | .shithub-social-avatar img { |
| 6595 | display: block; |
| 6596 | width: 40px; |
| 6597 | height: 40px; |
| 6598 | border-radius: 50%; |
| 6599 | } |
| 6600 | .shithub-social-avatar img { border: 1px solid var(--border-muted); } |
| 6601 | .shithub-social-person { |
| 6602 | min-width: 0; |
| 6603 | display: grid; |
| 6604 | gap: 0.1rem; |
| 6605 | } |
| 6606 | .shithub-social-person strong { font-size: 1rem; } |
| 6607 | .shithub-social-person span, |
| 6608 | .shithub-social-time, |
| 6609 | .shithub-social-meta { |
| 6610 | color: var(--fg-muted); |
| 6611 | font-size: 0.875rem; |
| 6612 | } |
| 6613 | .shithub-social-meta { |
| 6614 | display: flex; |
| 6615 | align-items: center; |
| 6616 | justify-content: end; |
| 6617 | gap: 0.75rem; |
| 6618 | flex-wrap: wrap; |
| 6619 | } |
| 6620 | .shithub-social-meta span { |
| 6621 | display: inline-flex; |
| 6622 | align-items: center; |
| 6623 | gap: 0.25rem; |
| 6624 | } |
| 6625 | .shithub-social-fork-badges { |
| 6626 | display: flex; |
| 6627 | gap: 0.35rem; |
| 6628 | flex-wrap: wrap; |
| 6629 | margin-top: 0.25rem; |
| 6630 | } |
| 6631 | .shithub-social-blank { |
| 6632 | margin: 1rem 0; |
| 6633 | padding: 2.5rem 1.5rem; |
| 6634 | border: 1px solid var(--border-default); |
| 6635 | border-radius: 6px; |
| 6636 | text-align: center; |
| 6637 | color: var(--fg-muted); |
| 6638 | } |
| 6639 | .shithub-social-blank svg { |
| 6640 | width: 24px; |
| 6641 | height: 24px; |
| 6642 | color: var(--fg-muted); |
| 6643 | margin-bottom: 0.75rem; |
| 6644 | } |
| 6645 | .shithub-social-blank h2 { |
| 6646 | margin: 0 0 0.4rem; |
| 6647 | color: var(--fg-default); |
| 6648 | font-size: 1.25rem; |
| 6649 | font-weight: 600; |
| 6650 | } |
| 6651 | .shithub-social-blank p { |
| 6652 | max-width: 520px; |
| 6653 | margin: 0 auto; |
| 6654 | } |
| 6655 | @media (max-width: 700px) { |
| 6656 | .shithub-social-list li { |
| 6657 | grid-template-columns: 40px minmax(0, 1fr); |
| 6658 | } |
| 6659 | .shithub-social-time, |
| 6660 | .shithub-social-meta { |
| 6661 | grid-column: 2; |
| 6662 | justify-content: start; |
| 6663 | } |
| 6664 | } |
| 6665 | .shithub-meta { color: var(--fg-muted); margin: 0.25rem 0 1rem; } |
| 6666 | .shithub-empty { color: var(--fg-muted); padding: 1rem; } |
| 6667 | .shithub-pagination { |
| 6668 | display: flex; gap: 0.5rem; padding: 1rem 0; |
| 6669 | } |
| 6670 | |
| 6671 | /* S28 — search */ |
| 6672 | .sr-only { |
| 6673 | position: absolute; |
| 6674 | width: 1px; |
| 6675 | height: 1px; |
| 6676 | padding: 0; |
| 6677 | margin: -1px; |
| 6678 | overflow: hidden; |
| 6679 | clip: rect(0, 0, 0, 0); |
| 6680 | white-space: nowrap; |
| 6681 | border: 0; |
| 6682 | } |
| 6683 | .shithub-nav-search { |
| 6684 | position: relative; |
| 6685 | flex: 1 1 22rem; |
| 6686 | display: flex; |
| 6687 | align-items: center; |
| 6688 | max-width: 32rem; |
| 6689 | margin: 0 1rem; |
| 6690 | } |
| 6691 | .shithub-nav.has-context .shithub-nav-search { |
| 6692 | flex: 0 1 22rem; |
| 6693 | max-width: 22rem; |
| 6694 | margin-left: auto; |
| 6695 | margin-right: 0.25rem; |
| 6696 | } |
| 6697 | .shithub-nav-search-icon { |
| 6698 | position: absolute; |
| 6699 | left: 0.65rem; |
| 6700 | top: 50%; |
| 6701 | transform: translateY(-50%); |
| 6702 | color: var(--fg-muted); |
| 6703 | line-height: 0; |
| 6704 | pointer-events: none; |
| 6705 | } |
| 6706 | .shithub-nav-search input { |
| 6707 | width: 100%; |
| 6708 | min-height: 2rem; |
| 6709 | padding: 0.35rem 2rem 0.35rem 2rem; |
| 6710 | border: 1px solid var(--border-default); |
| 6711 | border-radius: 6px; |
| 6712 | background: var(--canvas-subtle); |
| 6713 | color: var(--fg-default); |
| 6714 | font-size: 0.85rem; |
| 6715 | } |
| 6716 | .shithub-nav-search input:focus { |
| 6717 | outline: 2px solid var(--accent-fg); |
| 6718 | outline-offset: -1px; |
| 6719 | background: var(--canvas-default); |
| 6720 | } |
| 6721 | .shithub-nav-search-key { |
| 6722 | position: absolute; |
| 6723 | right: 0.55rem; |
| 6724 | top: 50%; |
| 6725 | transform: translateY(-50%); |
| 6726 | min-width: 1rem; |
| 6727 | padding: 0 0.25rem; |
| 6728 | border: 1px solid var(--border-default); |
| 6729 | border-radius: 4px; |
| 6730 | color: var(--fg-muted); |
| 6731 | font-size: 0.75rem; |
| 6732 | line-height: 1.15rem; |
| 6733 | text-align: center; |
| 6734 | pointer-events: none; |
| 6735 | } |
| 6736 | .shithub-nav-search-popover { |
| 6737 | position: absolute; |
| 6738 | z-index: 80; |
| 6739 | top: calc(100% + 0.45rem); |
| 6740 | left: 0; |
| 6741 | right: 0; |
| 6742 | overflow: hidden; |
| 6743 | border: 1px solid var(--border-default); |
| 6744 | border-radius: 8px; |
| 6745 | background: var(--canvas-default); |
| 6746 | box-shadow: 0 16px 32px rgba(1, 4, 9, 0.22); |
| 6747 | } |
| 6748 | .shithub-nav-search-popover[hidden] { |
| 6749 | display: none; |
| 6750 | } |
| 6751 | .shithub-search-page { |
| 6752 | padding: 1.5rem 1rem 3rem; |
| 6753 | } |
| 6754 | .shithub-search-shell { |
| 6755 | display: grid; |
| 6756 | grid-template-columns: 296px minmax(0, 1fr) 280px; |
| 6757 | gap: 1.5rem; |
| 6758 | max-width: 1280px; |
| 6759 | margin: 0 auto; |
| 6760 | } |
| 6761 | .shithub-search-sidebar { |
| 6762 | position: sticky; |
| 6763 | top: 1rem; |
| 6764 | align-self: start; |
| 6765 | padding-top: 0.2rem; |
| 6766 | } |
| 6767 | .shithub-search-sidebar h2 { |
| 6768 | margin: 0 0 0.55rem; |
| 6769 | font-size: 0.875rem; |
| 6770 | font-weight: 600; |
| 6771 | } |
| 6772 | .shithub-search-filter-list { |
| 6773 | display: flex; |
| 6774 | flex-direction: column; |
| 6775 | } |
| 6776 | .shithub-search-filter { |
| 6777 | display: flex; |
| 6778 | align-items: center; |
| 6779 | justify-content: space-between; |
| 6780 | gap: 0.75rem; |
| 6781 | min-height: 2rem; |
| 6782 | padding: 0.35rem 0.55rem; |
| 6783 | border-radius: 6px; |
| 6784 | color: var(--fg-default); |
| 6785 | font-size: 0.875rem; |
| 6786 | } |
| 6787 | .shithub-search-filter:hover { |
| 6788 | background: var(--canvas-subtle); |
| 6789 | text-decoration: none; |
| 6790 | } |
| 6791 | .shithub-search-filter.is-selected { |
| 6792 | background: var(--canvas-subtle); |
| 6793 | font-weight: 600; |
| 6794 | } |
| 6795 | .shithub-search-filter.is-selected::before { |
| 6796 | content: ""; |
| 6797 | width: 4px; |
| 6798 | align-self: stretch; |
| 6799 | margin: -0.4rem 0 -0.4rem -0.65rem; |
| 6800 | border-radius: 6px 0 0 6px; |
| 6801 | background: var(--accent-emphasis); |
| 6802 | } |
| 6803 | .shithub-search-filter-label { |
| 6804 | display: inline-flex; |
| 6805 | align-items: center; |
| 6806 | gap: 0.45rem; |
| 6807 | min-width: 0; |
| 6808 | } |
| 6809 | .shithub-search-filter-label svg { |
| 6810 | color: var(--fg-muted); |
| 6811 | flex: 0 0 auto; |
| 6812 | } |
| 6813 | .shithub-search-filter-count { |
| 6814 | color: var(--fg-muted); |
| 6815 | font-size: 0.75rem; |
| 6816 | } |
| 6817 | .shithub-search-results { |
| 6818 | min-width: 0; |
| 6819 | } |
| 6820 | .shithub-search-query-form { |
| 6821 | display: flex; |
| 6822 | gap: 0.5rem; |
| 6823 | margin-bottom: 1rem; |
| 6824 | } |
| 6825 | .shithub-search-query-form input[type=text] { |
| 6826 | flex: 1; |
| 6827 | min-height: 2.25rem; |
| 6828 | padding: 0.45rem 0.75rem; |
| 6829 | border: 1px solid var(--border-default); |
| 6830 | border-radius: 6px; |
| 6831 | background: var(--canvas-default); |
| 6832 | color: var(--fg-default); |
| 6833 | font-size: 0.875rem; |
| 6834 | } |
| 6835 | .shithub-search-results-head { |
| 6836 | display: flex; |
| 6837 | align-items: center; |
| 6838 | justify-content: space-between; |
| 6839 | gap: 1rem; |
| 6840 | padding-bottom: 0.9rem; |
| 6841 | border-bottom: 1px solid var(--border-default); |
| 6842 | } |
| 6843 | .shithub-search-results-head h1 { |
| 6844 | margin: 0; |
| 6845 | font-size: 1.25rem; |
| 6846 | line-height: 1.3; |
| 6847 | font-weight: 600; |
| 6848 | } |
| 6849 | .shithub-search-results-head p { |
| 6850 | margin: 0.25rem 0 0; |
| 6851 | color: var(--fg-muted); |
| 6852 | font-size: 0.875rem; |
| 6853 | } |
| 6854 | .shithub-search-query-echo { |
| 6855 | color: var(--fg-default); |
| 6856 | font-weight: 600; |
| 6857 | } |
| 6858 | .shithub-search-sort { |
| 6859 | position: relative; |
| 6860 | flex: 0 0 auto; |
| 6861 | } |
| 6862 | .shithub-search-sort > summary { |
| 6863 | list-style: none; |
| 6864 | display: inline-flex; |
| 6865 | align-items: center; |
| 6866 | min-height: 2rem; |
| 6867 | padding: 0.35rem 0.75rem; |
| 6868 | border: 1px solid var(--border-default); |
| 6869 | border-radius: 6px; |
| 6870 | background: var(--canvas-subtle); |
| 6871 | color: var(--fg-default); |
| 6872 | cursor: pointer; |
| 6873 | font-size: 0.875rem; |
| 6874 | font-weight: 500; |
| 6875 | } |
| 6876 | .shithub-search-sort > summary::-webkit-details-marker { display: none; } |
| 6877 | .shithub-search-sort > div { |
| 6878 | position: absolute; |
| 6879 | right: 0; |
| 6880 | top: calc(100% + 0.4rem); |
| 6881 | z-index: 20; |
| 6882 | min-width: 190px; |
| 6883 | padding: 0.35rem 0; |
| 6884 | border: 1px solid var(--border-default); |
| 6885 | border-radius: 6px; |
| 6886 | background: var(--canvas-default); |
| 6887 | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); |
| 6888 | } |
| 6889 | .shithub-search-sort span { |
| 6890 | display: block; |
| 6891 | padding: 0.45rem 0.75rem; |
| 6892 | font-size: 0.875rem; |
| 6893 | } |
| 6894 | .shithub-search-result-list { |
| 6895 | list-style: none; |
| 6896 | padding: 0; |
| 6897 | margin: 0; |
| 6898 | } |
| 6899 | .shithub-search-result { |
| 6900 | display: flex; |
| 6901 | gap: 1rem; |
| 6902 | justify-content: space-between; |
| 6903 | padding: 1.15rem 0; |
| 6904 | border-bottom: 1px solid var(--border-default); |
| 6905 | } |
| 6906 | .shithub-search-result-main { |
| 6907 | flex: 1 1 auto; |
| 6908 | min-width: 0; |
| 6909 | } |
| 6910 | .shithub-search-result-title { |
| 6911 | display: flex; |
| 6912 | align-items: center; |
| 6913 | gap: 0.45rem; |
| 6914 | margin: 0; |
| 6915 | font-size: 1rem; |
| 6916 | line-height: 1.35; |
| 6917 | font-weight: 600; |
| 6918 | } |
| 6919 | .shithub-search-result-title svg { |
| 6920 | flex: 0 0 auto; |
| 6921 | color: var(--fg-muted); |
| 6922 | } |
| 6923 | .shithub-search-result-title a { |
| 6924 | min-width: 0; |
| 6925 | } |
| 6926 | .shithub-search-result-title a:hover { |
| 6927 | text-decoration: underline; |
| 6928 | } |
| 6929 | .shithub-search-match em, |
| 6930 | .shithub-search-result-title em { |
| 6931 | font-style: normal; |
| 6932 | font-weight: 700; |
| 6933 | } |
| 6934 | .shithub-search-result p { |
| 6935 | margin: 0.35rem 0 0; |
| 6936 | color: var(--fg-default); |
| 6937 | font-size: 0.875rem; |
| 6938 | } |
| 6939 | .shithub-search-result-desc { |
| 6940 | max-width: 760px; |
| 6941 | line-height: 1.45; |
| 6942 | } |
| 6943 | .shithub-search-result-context { |
| 6944 | margin: 0 0 0.2rem !important; |
| 6945 | color: var(--fg-muted) !important; |
| 6946 | } |
| 6947 | .shithub-search-result-context a { |
| 6948 | color: var(--fg-muted); |
| 6949 | } |
| 6950 | .shithub-search-result-path { |
| 6951 | color: var(--fg-muted) !important; |
| 6952 | } |
| 6953 | .shithub-search-avatar, |
| 6954 | .shithub-search-user-avatar, |
| 6955 | .shithub-search-mini-avatar, |
| 6956 | .shithub-quick-avatar { |
| 6957 | border-radius: 50%; |
| 6958 | background: var(--canvas-subtle); |
| 6959 | flex: 0 0 auto; |
| 6960 | } |
| 6961 | .shithub-search-result-meta { |
| 6962 | display: flex; |
| 6963 | gap: 0.5rem; |
| 6964 | flex-wrap: wrap; |
| 6965 | align-items: center; |
| 6966 | padding: 0; |
| 6967 | margin: 0.65rem 0 0; |
| 6968 | color: var(--fg-muted); |
| 6969 | list-style: none; |
| 6970 | font-size: 0.75rem; |
| 6971 | } |
| 6972 | .shithub-search-result-meta li { |
| 6973 | display: inline-flex; |
| 6974 | align-items: center; |
| 6975 | gap: 0.25rem; |
| 6976 | } |
| 6977 | .shithub-search-result-meta a { |
| 6978 | display: inline-flex; |
| 6979 | align-items: center; |
| 6980 | gap: 0.25rem; |
| 6981 | color: var(--fg-muted); |
| 6982 | } |
| 6983 | .shithub-search-result-meta a:hover { |
| 6984 | color: var(--accent-fg); |
| 6985 | text-decoration: none; |
| 6986 | } |
| 6987 | .shithub-search-result-meta li + li::before { |
| 6988 | content: ""; |
| 6989 | width: 3px; |
| 6990 | height: 3px; |
| 6991 | margin-right: 0.15rem; |
| 6992 | border-radius: 50%; |
| 6993 | background: var(--fg-muted); |
| 6994 | opacity: 0.7; |
| 6995 | } |
| 6996 | .shithub-search-star { |
| 6997 | align-self: flex-start; |
| 6998 | color: var(--fg-default); |
| 6999 | border-color: var(--border-default); |
| 7000 | background: var(--canvas-subtle); |
| 7001 | } |
| 7002 | .shithub-search-state { |
| 7003 | display: inline-flex; |
| 7004 | align-items: center; |
| 7005 | line-height: 0; |
| 7006 | } |
| 7007 | .shithub-search-state-open svg { color: var(--success-fg); } |
| 7008 | .shithub-search-state-closed svg { color: #8250df; } |
| 7009 | .shithub-search-state-pr svg { color: var(--accent-fg); } |
| 7010 | .shithub-search-user-result { |
| 7011 | justify-content: flex-start; |
| 7012 | } |
| 7013 | .shithub-search-user-login { |
| 7014 | color: var(--fg-muted); |
| 7015 | font-size: 0.875rem; |
| 7016 | font-weight: 400; |
| 7017 | } |
| 7018 | .shithub-search-code-preview { |
| 7019 | margin: 0.75rem 0 0; |
| 7020 | padding: 0.65rem 0.75rem; |
| 7021 | border: 1px solid var(--border-default); |
| 7022 | border-radius: 6px; |
| 7023 | background: var(--canvas-subtle); |
| 7024 | color: var(--fg-default); |
| 7025 | overflow-x: auto; |
| 7026 | } |
| 7027 | .shithub-search-code-preview code { |
| 7028 | padding: 0; |
| 7029 | background: transparent; |
| 7030 | } |
| 7031 | .shithub-search-empty, |
| 7032 | .shithub-search-blank { |
| 7033 | padding: 2rem 0; |
| 7034 | color: var(--fg-muted); |
| 7035 | } |
| 7036 | .shithub-search-blank h1 { |
| 7037 | margin: 0 0 0.4rem; |
| 7038 | color: var(--fg-default); |
| 7039 | font-size: 1.25rem; |
| 7040 | } |
| 7041 | .shithub-search-blank p { |
| 7042 | margin: 0; |
| 7043 | } |
| 7044 | .shithub-search-pagination { |
| 7045 | display: flex; |
| 7046 | justify-content: center; |
| 7047 | gap: 0.5rem; |
| 7048 | padding: 1.5rem 0 0; |
| 7049 | } |
| 7050 | .shithub-search-rightbar { |
| 7051 | padding-top: 3.25rem; |
| 7052 | } |
| 7053 | .shithub-search-tip-card { |
| 7054 | padding: 1rem 0; |
| 7055 | border-bottom: 1px solid var(--border-muted); |
| 7056 | color: var(--fg-muted); |
| 7057 | font-size: 0.875rem; |
| 7058 | } |
| 7059 | .shithub-search-tip-card:first-child { |
| 7060 | padding-top: 0; |
| 7061 | } |
| 7062 | .shithub-search-tip-card strong { |
| 7063 | display: inline-flex; |
| 7064 | align-items: center; |
| 7065 | gap: 0.35rem; |
| 7066 | color: var(--fg-default); |
| 7067 | } |
| 7068 | .shithub-search-tip-card p { |
| 7069 | margin: 0.4rem 0 0; |
| 7070 | line-height: 1.45; |
| 7071 | } |
| 7072 | .shithub-search-tip-card ul { |
| 7073 | display: flex; |
| 7074 | flex-direction: column; |
| 7075 | gap: 0.35rem; |
| 7076 | padding: 0; |
| 7077 | margin: 0.55rem 0 0; |
| 7078 | list-style: none; |
| 7079 | } |
| 7080 | .shithub-search-tip-card code { |
| 7081 | padding: 0.1rem 0.3rem; |
| 7082 | border: 1px solid var(--border-muted); |
| 7083 | border-radius: 6px; |
| 7084 | background: var(--canvas-subtle); |
| 7085 | color: var(--fg-default); |
| 7086 | font-size: 0.8rem; |
| 7087 | } |
| 7088 | .shithub-quick-dropdown { |
| 7089 | padding: 0.45rem 0; |
| 7090 | } |
| 7091 | .shithub-quick-section { |
| 7092 | padding: 0.25rem 0; |
| 7093 | border-bottom: 1px solid var(--border-default); |
| 7094 | } |
| 7095 | .shithub-quick-section:last-of-type { |
| 7096 | border-bottom: none; |
| 7097 | } |
| 7098 | .shithub-quick-section h3 { |
| 7099 | margin: 0.25rem 0.75rem 0.35rem; |
| 7100 | color: var(--fg-muted); |
| 7101 | font-size: 0.75rem; |
| 7102 | font-weight: 600; |
| 7103 | } |
| 7104 | .shithub-quick-section ul { |
| 7105 | padding: 0; |
| 7106 | margin: 0; |
| 7107 | list-style: none; |
| 7108 | } |
| 7109 | .shithub-quick-section a { |
| 7110 | display: grid; |
| 7111 | grid-template-columns: 20px minmax(0, 1fr) auto; |
| 7112 | gap: 0.55rem; |
| 7113 | align-items: center; |
| 7114 | padding: 0.4rem 0.75rem; |
| 7115 | color: var(--fg-default); |
| 7116 | } |
| 7117 | .shithub-quick-section a:hover, |
| 7118 | .shithub-quick-section a:focus { |
| 7119 | background: var(--canvas-subtle); |
| 7120 | text-decoration: none; |
| 7121 | } |
| 7122 | .shithub-quick-leading { |
| 7123 | display: inline-flex; |
| 7124 | align-items: center; |
| 7125 | justify-content: center; |
| 7126 | color: var(--fg-muted); |
| 7127 | } |
| 7128 | .shithub-quick-title, |
| 7129 | .shithub-quick-context { |
| 7130 | min-width: 0; |
| 7131 | overflow: hidden; |
| 7132 | text-overflow: ellipsis; |
| 7133 | white-space: nowrap; |
| 7134 | } |
| 7135 | .shithub-quick-context { |
| 7136 | grid-column: 2 / -1; |
| 7137 | margin-top: -0.15rem; |
| 7138 | color: var(--fg-muted); |
| 7139 | font-size: 0.75rem; |
| 7140 | } |
| 7141 | .shithub-quick-empty { |
| 7142 | margin: 0; |
| 7143 | padding: 0.8rem 0.75rem; |
| 7144 | color: var(--fg-muted); |
| 7145 | font-size: 0.875rem; |
| 7146 | } |
| 7147 | .shithub-quick-footer { |
| 7148 | padding: 0.6rem 0.75rem 0.2rem; |
| 7149 | border-top: 1px solid var(--border-default); |
| 7150 | font-size: 0.875rem; |
| 7151 | } |
| 7152 | @media (max-width: 760px) { |
| 7153 | .shithub-nav-search { |
| 7154 | order: 3; |
| 7155 | flex-basis: 100%; |
| 7156 | max-width: none; |
| 7157 | margin: 0; |
| 7158 | } |
| 7159 | .shithub-search-page { |
| 7160 | padding: 1rem; |
| 7161 | } |
| 7162 | .shithub-search-shell { |
| 7163 | grid-template-columns: 1fr; |
| 7164 | gap: 1rem; |
| 7165 | } |
| 7166 | .shithub-search-sidebar { |
| 7167 | position: static; |
| 7168 | padding-top: 0; |
| 7169 | } |
| 7170 | .shithub-search-rightbar { |
| 7171 | display: none; |
| 7172 | } |
| 7173 | .shithub-search-filter-list { |
| 7174 | flex-direction: row; |
| 7175 | gap: 0.25rem; |
| 7176 | overflow-x: auto; |
| 7177 | padding-bottom: 0.25rem; |
| 7178 | } |
| 7179 | .shithub-search-filter { |
| 7180 | flex: 0 0 auto; |
| 7181 | } |
| 7182 | .shithub-search-filter.is-selected::before { |
| 7183 | display: none; |
| 7184 | } |
| 7185 | .shithub-search-query-form, |
| 7186 | .shithub-search-results-head, |
| 7187 | .shithub-search-result { |
| 7188 | align-items: stretch; |
| 7189 | flex-direction: column; |
| 7190 | } |
| 7191 | .shithub-search-star { |
| 7192 | align-self: flex-start; |
| 7193 | } |
| 7194 | } |
| 7195 | @media (min-width: 761px) and (max-width: 1100px) { |
| 7196 | .shithub-search-shell { |
| 7197 | grid-template-columns: 256px minmax(0, 1fr); |
| 7198 | } |
| 7199 | .shithub-search-rightbar { |
| 7200 | display: none; |
| 7201 | } |
| 7202 | } |
| 7203 | |
| 7204 | /* S34 — admin impersonation banner. Sticky-top, loud red so the |
| 7205 | admin can't lose track of "I am viewing as someone else right |
| 7206 | now." Position: fixed-on-scroll keeps it visible no matter where |
| 7207 | on the page they navigate. */ |
| 7208 | .shithub-imp-banner { |
| 7209 | position: sticky; |
| 7210 | top: 0; |
| 7211 | z-index: 100; |
| 7212 | background: var(--danger-fg); |
| 7213 | color: #ffffff; |
| 7214 | padding: 0.5rem 1rem; |
| 7215 | text-align: center; |
| 7216 | font-size: 0.875rem; |
| 7217 | } |
| 7218 | .shithub-imp-banner .shithub-button { |
| 7219 | background: rgba(0, 0, 0, 0.25); |
| 7220 | color: #ffffff; |
| 7221 | border: 1px solid rgba(255, 255, 255, 0.4); |
| 7222 | } |
| 7223 | .shithub-imp-write { background: #ffd33d; color: #1a1f24; padding: 0 0.4em; border-radius: 4px; font-weight: 600; } |
| 7224 | .shithub-imp-read { background: rgba(255, 255, 255, 0.2); padding: 0 0.4em; border-radius: 4px; } |