| 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: 0; |
| 447 | border-radius: 50%; |
| 448 | background: transparent; |
| 449 | cursor: pointer; |
| 450 | color: var(--fg-default); |
| 451 | } |
| 452 | .shithub-user-menu > summary:hover { background: transparent; } |
| 453 | .shithub-user-menu > summary:focus-visible { |
| 454 | outline: 2px solid var(--accent-emphasis); |
| 455 | outline-offset: 2px; |
| 456 | } |
| 457 | .shithub-user-menu > summary::-webkit-details-marker { display: none; } |
| 458 | .shithub-user-menu-avatar { |
| 459 | width: 32px; |
| 460 | height: 32px; |
| 461 | border-radius: 50%; |
| 462 | display: block; |
| 463 | background: var(--canvas-default); |
| 464 | } |
| 465 | .shithub-user-menu-panel { |
| 466 | position: absolute; |
| 467 | right: 0; |
| 468 | top: calc(100% + 0.35rem); |
| 469 | width: 280px; |
| 470 | background: var(--canvas-default); |
| 471 | border: 1px solid var(--border-default); |
| 472 | border-radius: 12px; |
| 473 | padding: 0.5rem; |
| 474 | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); |
| 475 | z-index: 50; |
| 476 | display: flex; |
| 477 | flex-direction: column; |
| 478 | } |
| 479 | .shithub-user-menu-account { |
| 480 | display: grid; |
| 481 | grid-template-columns: 40px 1fr; |
| 482 | gap: 0.75rem; |
| 483 | align-items: center; |
| 484 | min-width: 0; |
| 485 | padding: 0.4rem 0.45rem 0.65rem; |
| 486 | } |
| 487 | .shithub-user-menu-account-avatar { |
| 488 | width: 40px; |
| 489 | height: 40px; |
| 490 | border-radius: 50%; |
| 491 | background: var(--canvas-default); |
| 492 | } |
| 493 | .shithub-user-menu-account-copy { |
| 494 | display: grid; |
| 495 | min-width: 0; |
| 496 | line-height: 1.25; |
| 497 | } |
| 498 | .shithub-user-menu-account-copy strong, |
| 499 | .shithub-user-menu-account-copy span { |
| 500 | overflow: hidden; |
| 501 | text-overflow: ellipsis; |
| 502 | white-space: nowrap; |
| 503 | } |
| 504 | .shithub-user-menu-account-copy span { |
| 505 | color: var(--fg-muted); |
| 506 | font-size: 0.8rem; |
| 507 | } |
| 508 | .shithub-user-menu-divider { |
| 509 | height: 1px; |
| 510 | margin: 0.45rem 0; |
| 511 | background: var(--border-default); |
| 512 | } |
| 513 | .shithub-user-menu-item { |
| 514 | display: grid; |
| 515 | grid-template-columns: 16px minmax(0, 1fr) auto; |
| 516 | gap: 0.65rem; |
| 517 | align-items: center; |
| 518 | text-align: left; |
| 519 | width: 100%; |
| 520 | min-height: 32px; |
| 521 | padding: 0.35rem 0.45rem; |
| 522 | background: transparent; |
| 523 | border: 0; |
| 524 | border-radius: 6px; |
| 525 | color: var(--fg-default); |
| 526 | font-size: 0.875rem; |
| 527 | line-height: 1.2; |
| 528 | cursor: pointer; |
| 529 | text-decoration: none; |
| 530 | } |
| 531 | .shithub-user-menu-item svg { |
| 532 | color: var(--fg-muted); |
| 533 | width: 16px; |
| 534 | height: 16px; |
| 535 | } |
| 536 | .shithub-user-menu-item span { |
| 537 | min-width: 0; |
| 538 | overflow: hidden; |
| 539 | text-overflow: ellipsis; |
| 540 | white-space: nowrap; |
| 541 | } |
| 542 | .shithub-user-menu-item:hover { |
| 543 | background: var(--canvas-subtle); |
| 544 | text-decoration: none; |
| 545 | } |
| 546 | .shithub-user-menu-item:disabled { |
| 547 | color: var(--fg-muted); |
| 548 | cursor: default; |
| 549 | } |
| 550 | .shithub-user-menu-item:disabled:hover { background: transparent; } |
| 551 | .shithub-user-menu-badge { |
| 552 | border: 1px solid var(--border-default); |
| 553 | border-radius: 999px; |
| 554 | padding: 0.05rem 0.45rem; |
| 555 | color: var(--fg-default); |
| 556 | font-size: 0.75rem; |
| 557 | } |
| 558 | .shithub-user-menu-signout { margin: 0; padding: 0; } |
| 559 | |
| 560 | .hello-greeting { |
| 561 | margin: 1rem auto 1.5rem; |
| 562 | padding: 0.85rem 1rem; |
| 563 | border: 1px solid var(--border-default); |
| 564 | border-radius: 6px; |
| 565 | background: var(--canvas-subtle); |
| 566 | max-width: 32rem; |
| 567 | text-align: left; |
| 568 | } |
| 569 | .hello-greeting p { margin: 0 0 0.5rem; } |
| 570 | .hello-quicklinks { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.9rem; } |
| 571 | |
| 572 | .shithub-button { |
| 573 | display: inline-flex; |
| 574 | align-items: center; |
| 575 | justify-content: center; |
| 576 | gap: 0.35rem; |
| 577 | padding: 0.4rem 0.85rem; |
| 578 | border-radius: 6px; |
| 579 | font-size: 0.875rem; |
| 580 | font-weight: 500; |
| 581 | border: 1px solid transparent; |
| 582 | color: var(--fg-default); |
| 583 | background: var(--button-default-bg); |
| 584 | border-color: var(--border-default); |
| 585 | cursor: pointer; |
| 586 | text-decoration: none; |
| 587 | } |
| 588 | .shithub-button:hover { |
| 589 | background: var(--button-default-hover-bg); |
| 590 | text-decoration: none; |
| 591 | } |
| 592 | .shithub-button:disabled { |
| 593 | cursor: default; |
| 594 | opacity: 0.65; |
| 595 | } |
| 596 | .shithub-button-small { |
| 597 | padding: 0.25rem 0.7rem; |
| 598 | font-size: 0.75rem; |
| 599 | } |
| 600 | .shithub-button-ghost { |
| 601 | color: var(--fg-default); |
| 602 | border-color: var(--border-default); |
| 603 | background: transparent; |
| 604 | } |
| 605 | .shithub-button-primary { |
| 606 | color: #fff; |
| 607 | background: var(--success-emphasis); |
| 608 | border-color: var(--success-emphasis); |
| 609 | } |
| 610 | .shithub-button-primary:hover { |
| 611 | text-decoration: none; |
| 612 | background: var(--success-emphasis-hover); |
| 613 | border-color: var(--success-emphasis-hover); |
| 614 | } |
| 615 | .shithub-button-icon { |
| 616 | width: 32px; |
| 617 | height: 32px; |
| 618 | padding: 0; |
| 619 | } |
| 620 | |
| 621 | :where(input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="search"], input[type="number"], textarea, select) { |
| 622 | color: var(--fg-default); |
| 623 | background: var(--canvas-default); |
| 624 | border: 1px solid var(--border-default); |
| 625 | } |
| 626 | :where(input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="search"], input[type="number"], textarea, select)::placeholder { |
| 627 | color: var(--fg-muted); |
| 628 | opacity: 1; |
| 629 | } |
| 630 | :where(input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="search"], input[type="number"], textarea, select):focus { |
| 631 | border-color: var(--accent-emphasis); |
| 632 | box-shadow: inset 0 0 0 1px var(--accent-emphasis); |
| 633 | outline: none; |
| 634 | } |
| 635 | :where(input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="search"], input[type="number"], textarea, select):disabled { |
| 636 | color: var(--fg-muted); |
| 637 | background: var(--canvas-subtle); |
| 638 | cursor: not-allowed; |
| 639 | } |
| 640 | .shithub-icon-button { |
| 641 | display: inline-flex; |
| 642 | align-items: center; |
| 643 | justify-content: center; |
| 644 | width: 2rem; |
| 645 | height: 2rem; |
| 646 | padding: 0; |
| 647 | border: 1px solid var(--border-default); |
| 648 | border-radius: 6px; |
| 649 | background: var(--canvas-subtle); |
| 650 | color: var(--fg-muted); |
| 651 | cursor: pointer; |
| 652 | } |
| 653 | .shithub-icon-button:hover { |
| 654 | color: var(--fg-default); |
| 655 | background: var(--canvas-default); |
| 656 | } |
| 657 | |
| 658 | /* ========== Main + Footer ========== */ |
| 659 | |
| 660 | .shithub-main { |
| 661 | flex: 1; |
| 662 | width: 100%; |
| 663 | } |
| 664 | |
| 665 | .shithub-footer { |
| 666 | border-top: 1px solid var(--border-default); |
| 667 | background: var(--canvas-subtle); |
| 668 | padding: 1.25rem; |
| 669 | font-size: 0.85rem; |
| 670 | color: var(--fg-muted); |
| 671 | } |
| 672 | .shithub-footer-inner { |
| 673 | max-width: 1200px; |
| 674 | margin: 0 auto; |
| 675 | display: flex; |
| 676 | justify-content: space-between; |
| 677 | align-items: center; |
| 678 | gap: 1rem; |
| 679 | } |
| 680 | .shithub-footer-brand { |
| 681 | display: flex; |
| 682 | align-items: center; |
| 683 | gap: 0.4rem; |
| 684 | color: var(--fg-default); |
| 685 | } |
| 686 | .shithub-footer-brand svg { color: var(--shithub-mark); } |
| 687 | .shithub-footer-meta { color: var(--fg-muted); margin-left: 0.5rem; font-size: 0.8rem; } |
| 688 | .shithub-footer-links { display: flex; gap: 1rem; } |
| 689 | |
| 690 | /* ========== Hello page ========== */ |
| 691 | |
| 692 | .hello { |
| 693 | max-width: 640px; |
| 694 | margin: 4rem auto; |
| 695 | padding: 2rem 1.5rem; |
| 696 | text-align: center; |
| 697 | } |
| 698 | .hello-logo { |
| 699 | margin: 0 auto 1.5rem; |
| 700 | width: 160px; |
| 701 | height: 160px; |
| 702 | color: var(--shithub-mark); |
| 703 | } |
| 704 | .hello-logo svg { width: 100%; height: 100%; } |
| 705 | .hello-title { |
| 706 | font-size: 2.75rem; |
| 707 | margin: 0 0 0.5rem; |
| 708 | letter-spacing: -0.02em; |
| 709 | } |
| 710 | .hello-tagline { |
| 711 | color: var(--fg-muted); |
| 712 | font-size: 1.15rem; |
| 713 | margin: 0 0 2rem; |
| 714 | } |
| 715 | .hello-meta { |
| 716 | display: grid; |
| 717 | grid-template-columns: max-content 1fr; |
| 718 | gap: 0.25rem 1rem; |
| 719 | max-width: 24rem; |
| 720 | margin: 0 auto 2rem; |
| 721 | padding: 1rem 1.5rem; |
| 722 | background: var(--canvas-subtle); |
| 723 | border: 1px solid var(--border-default); |
| 724 | border-radius: 6px; |
| 725 | text-align: left; |
| 726 | font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; |
| 727 | font-size: 0.875rem; |
| 728 | } |
| 729 | .hello-meta dt { color: var(--fg-muted); } |
| 730 | .hello-meta dd { margin: 0; } |
| 731 | .hello-status { |
| 732 | color: var(--fg-muted); |
| 733 | margin: 0 auto 2rem; |
| 734 | max-width: 36rem; |
| 735 | } |
| 736 | .hello-links { |
| 737 | display: flex; |
| 738 | justify-content: center; |
| 739 | gap: 1rem; |
| 740 | font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; |
| 741 | font-size: 0.875rem; |
| 742 | } |
| 743 | |
| 744 | /* ========== Landing (anonymous home) ========== */ |
| 745 | |
| 746 | .shithub-landing-pitch { |
| 747 | max-width: 36rem; |
| 748 | margin: 0 auto 2rem; |
| 749 | font-size: 1.05rem; |
| 750 | line-height: 1.55; |
| 751 | } |
| 752 | |
| 753 | .shithub-landing-features { |
| 754 | list-style: none; |
| 755 | margin: 0 auto 2rem; |
| 756 | padding: 0; |
| 757 | max-width: 60rem; |
| 758 | display: grid; |
| 759 | grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); |
| 760 | gap: 1rem; |
| 761 | text-align: left; |
| 762 | } |
| 763 | .shithub-landing-features li { |
| 764 | border: 1px solid var(--border-default); |
| 765 | border-radius: 6px; |
| 766 | padding: 0.85rem 1rem; |
| 767 | background: var(--canvas-subtle); |
| 768 | } |
| 769 | .shithub-landing-features li strong { |
| 770 | display: block; |
| 771 | margin-bottom: 0.25rem; |
| 772 | font-size: 0.95rem; |
| 773 | } |
| 774 | .shithub-landing-features li span { |
| 775 | color: var(--fg-muted); |
| 776 | font-size: 0.875rem; |
| 777 | line-height: 1.4; |
| 778 | } |
| 779 | |
| 780 | .shithub-landing-cta { |
| 781 | display: flex; |
| 782 | justify-content: center; |
| 783 | flex-wrap: wrap; |
| 784 | gap: 0.75rem; |
| 785 | margin: 0 auto 1.5rem; |
| 786 | } |
| 787 | .shithub-landing-cta a { |
| 788 | display: inline-block; |
| 789 | padding: 0.5rem 1rem; |
| 790 | border-radius: 6px; |
| 791 | text-decoration: none; |
| 792 | font-weight: 500; |
| 793 | font-size: 0.95rem; |
| 794 | } |
| 795 | .shithub-landing-cta-primary { |
| 796 | background: var(--accent-fg, #1f6feb); |
| 797 | color: #ffffff; |
| 798 | border: 1px solid transparent; |
| 799 | } |
| 800 | .shithub-landing-cta-primary:hover { filter: brightness(1.1); } |
| 801 | .shithub-landing-cta-secondary { |
| 802 | background: transparent; |
| 803 | color: var(--fg-default); |
| 804 | border: 1px solid var(--border-default); |
| 805 | } |
| 806 | .shithub-landing-cta-secondary:hover { background: var(--canvas-subtle); } |
| 807 | |
| 808 | .shithub-landing-honest { |
| 809 | max-width: 36rem; |
| 810 | margin: 0 auto 2rem; |
| 811 | color: var(--fg-muted); |
| 812 | font-size: 0.9rem; |
| 813 | line-height: 1.5; |
| 814 | } |
| 815 | |
| 816 | /* ========== Error pages ========== */ |
| 817 | |
| 818 | .error-page { |
| 819 | max-width: 540px; |
| 820 | margin: 6rem auto; |
| 821 | padding: 2rem 1.5rem; |
| 822 | text-align: center; |
| 823 | } |
| 824 | .error-glyph { |
| 825 | display: inline-flex; |
| 826 | width: 64px; height: 64px; |
| 827 | align-items: center; justify-content: center; |
| 828 | border-radius: 50%; |
| 829 | background: var(--canvas-subtle); |
| 830 | color: var(--danger-fg); |
| 831 | margin-bottom: 1.5rem; |
| 832 | } |
| 833 | .error-glyph svg { width: 32px; height: 32px; } |
| 834 | .error-status { |
| 835 | margin: 0; |
| 836 | font-size: 4rem; |
| 837 | letter-spacing: -0.04em; |
| 838 | color: var(--fg-default); |
| 839 | } |
| 840 | .error-title { |
| 841 | margin: 0 0 0.75rem; |
| 842 | font-size: 1.4rem; |
| 843 | font-weight: 500; |
| 844 | } |
| 845 | .error-detail { |
| 846 | color: var(--fg-muted); |
| 847 | margin: 0 0 2rem; |
| 848 | max-width: 36rem; |
| 849 | margin-left: auto; |
| 850 | margin-right: auto; |
| 851 | } |
| 852 | .error-hint a { |
| 853 | display: inline-block; |
| 854 | padding: 0.5rem 1rem; |
| 855 | border: 1px solid var(--border-default); |
| 856 | border-radius: 6px; |
| 857 | color: var(--fg-default); |
| 858 | } |
| 859 | .error-hint a:hover { text-decoration: none; background: var(--canvas-subtle); } |
| 860 | .error-request-id { |
| 861 | margin-top: 2rem; |
| 862 | color: var(--fg-muted); |
| 863 | font-size: 0.8rem; |
| 864 | } |
| 865 | |
| 866 | /* ----- auth (S05) ----- */ |
| 867 | .shithub-auth { |
| 868 | max-width: 28rem; |
| 869 | margin: 3rem auto; |
| 870 | padding: 2rem; |
| 871 | background: var(--canvas-default); |
| 872 | border: 1px solid var(--border-default); |
| 873 | border-radius: 8px; |
| 874 | } |
| 875 | .shithub-auth h1 { |
| 876 | margin: 0 0 1.5rem; |
| 877 | font-size: 1.5rem; |
| 878 | } |
| 879 | .shithub-auth form { display: grid; gap: 1rem; } |
| 880 | .shithub-auth label { display: grid; gap: 0.25rem; font-weight: 500; } |
| 881 | .shithub-auth input[type=text], |
| 882 | .shithub-auth input[type=email], |
| 883 | .shithub-auth input[type=password] { |
| 884 | font: inherit; |
| 885 | padding: 0.5rem 0.75rem; |
| 886 | border: 1px solid var(--border-default); |
| 887 | border-radius: 6px; |
| 888 | background: var(--canvas-subtle); |
| 889 | } |
| 890 | .shithub-auth-aside { |
| 891 | margin: 1.5rem 0 0; |
| 892 | text-align: center; |
| 893 | color: var(--fg-muted); |
| 894 | font-size: 0.9rem; |
| 895 | } |
| 896 | .shithub-flash { |
| 897 | margin: 0 0 1rem; |
| 898 | padding: 0.75rem 1rem; |
| 899 | border-radius: 6px; |
| 900 | border: 1px solid var(--border-default); |
| 901 | } |
| 902 | .shithub-flash-error { background: rgba(248, 81, 73, 0.1); border-color: rgba(248, 81, 73, 0.3); } |
| 903 | .shithub-flash-notice { background: rgba(56, 139, 253, 0.1); border-color: rgba(56, 139, 253, 0.3); } |
| 904 | .shithub-flash-success { background: rgba(46, 160, 67, 0.1); border-color: rgba(46, 160, 67, 0.3); } |
| 905 | |
| 906 | /* ----- 2FA (S06) ----- */ |
| 907 | .shithub-auth-wide { max-width: 32rem; } |
| 908 | .shithub-2fa-steps { margin: 0 0 1.5rem; padding-left: 1.25rem; } |
| 909 | .shithub-2fa-steps li { margin: 0.25rem 0; } |
| 910 | .shithub-2fa-qr { |
| 911 | display: flex; |
| 912 | justify-content: center; |
| 913 | margin: 1rem 0; |
| 914 | padding: 1rem; |
| 915 | background: #ffffff; |
| 916 | border-radius: 6px; |
| 917 | border: 1px solid var(--border-default); |
| 918 | } |
| 919 | .shithub-2fa-secret { |
| 920 | text-align: center; |
| 921 | font-family: monospace; |
| 922 | margin: 0 0 1.5rem; |
| 923 | color: var(--fg-muted); |
| 924 | } |
| 925 | .shithub-recovery-codes { |
| 926 | list-style: none; |
| 927 | margin: 1rem 0; |
| 928 | padding: 1rem; |
| 929 | display: grid; |
| 930 | grid-template-columns: repeat(2, 1fr); |
| 931 | gap: 0.5rem; |
| 932 | background: var(--canvas-subtle); |
| 933 | border-radius: 6px; |
| 934 | font-family: monospace; |
| 935 | font-size: 1.05em; |
| 936 | } |
| 937 | .shithub-recovery-codes li code { background: transparent; padding: 0; } |
| 938 | .shithub-button-danger { background: rgba(248, 81, 73, 0.15); border-color: rgba(248, 81, 73, 0.4); } |
| 939 | |
| 940 | /* ----- SSH keys (S07) ----- */ |
| 941 | .shithub-key-list { list-style: none; padding: 0; margin: 1rem 0 2rem; } |
| 942 | .shithub-key-row { |
| 943 | display: flex; |
| 944 | justify-content: space-between; |
| 945 | align-items: flex-start; |
| 946 | gap: 1rem; |
| 947 | padding: 0.75rem; |
| 948 | border: 1px solid var(--border-default); |
| 949 | border-radius: 6px; |
| 950 | margin-bottom: 0.5rem; |
| 951 | } |
| 952 | .shithub-key-meta { margin-left: 0.75rem; color: var(--fg-muted); font-size: 0.85rem; } |
| 953 | .shithub-key-fp { display: block; margin-top: 0.25rem; font-size: 0.85rem; word-break: break-all; } |
| 954 | .shithub-key-last { display: block; margin-top: 0.25rem; color: var(--fg-muted); font-size: 0.8rem; } |
| 955 | .shithub-key-empty { color: var(--fg-muted); margin: 1rem 0 2rem; } |
| 956 | |
| 957 | /* ----- profile (S09) ----- */ |
| 958 | .shithub-profile { max-width: 56rem; margin: 2rem auto; padding: 0 1rem; } |
| 959 | .shithub-profile-header { display: flex; gap: 1.5rem; align-items: flex-start; } |
| 960 | .shithub-profile-avatar { width: 200px; height: 200px; border-radius: 50%; background: var(--canvas-subtle); border: 1px solid var(--border-default); } |
| 961 | .shithub-profile-id h1 { margin: 0 0 0.25rem; font-size: 1.5rem; } |
| 962 | .shithub-profile-handle { margin: 0; color: var(--fg-muted); } |
| 963 | .shithub-profile-pronouns { margin: 0.25rem 0 0; color: var(--fg-muted); font-size: 0.9rem; } |
| 964 | .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; } |
| 965 | .shithub-profile-id .shithub-button { margin-top: 0.75rem; display: inline-block; } |
| 966 | .shithub-profile-bio { margin: 1.5rem 0; font-size: 1.05rem; } |
| 967 | .shithub-profile-meta { display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 1rem; margin: 1rem 0; } |
| 968 | .shithub-profile-meta dt { color: var(--fg-muted); font-weight: 500; } |
| 969 | .shithub-profile-meta dd { margin: 0; } |
| 970 | .shithub-profile-pinned, .shithub-profile-contributions, .shithub-profile-readme { margin: 2rem 0; } |
| 971 | .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); } |
| 972 | .shithub-profile-section-head h2, |
| 973 | .shithub-profile-contributions h2, |
| 974 | .shithub-profile-readme h2 { font-size: 1.1rem; margin: 0; } |
| 975 | .shithub-profile-contributions h2, .shithub-profile-readme h2 { padding-bottom: 0.25rem; border-bottom: 1px solid var(--border-default); } |
| 976 | .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; } |
| 977 | .shithub-empty { color: var(--fg-muted); font-style: italic; padding: 1rem; background: var(--canvas-subtle); border-radius: 6px; } |
| 978 | .shithub-profile-unavailable h1 { color: var(--fg-muted); } |
| 979 | |
| 980 | /* GitHub-parity user profile overview. */ |
| 981 | .shithub-user-profile { |
| 982 | margin: 0; |
| 983 | padding: 0 0 3rem; |
| 984 | } |
| 985 | .shithub-profile-tabs-shell { |
| 986 | border-bottom: 1px solid var(--border-default); |
| 987 | background: var(--canvas-default); |
| 988 | } |
| 989 | .shithub-profile-tabs-shell .shithub-profile-tabs { |
| 990 | max-width: 1280px; |
| 991 | margin: 0 auto; |
| 992 | padding: 0 2rem; |
| 993 | border-bottom: 0; |
| 994 | } |
| 995 | .shithub-user-profile-container { |
| 996 | max-width: 1280px; |
| 997 | margin: 0 auto; |
| 998 | padding: 2rem; |
| 999 | display: grid; |
| 1000 | grid-template-columns: 296px minmax(0, 1fr); |
| 1001 | gap: 2rem; |
| 1002 | align-items: start; |
| 1003 | } |
| 1004 | .shithub-user-profile-sidebar { |
| 1005 | min-width: 0; |
| 1006 | } |
| 1007 | .shithub-profile-avatar-link { |
| 1008 | display: block; |
| 1009 | color: inherit; |
| 1010 | } |
| 1011 | .shithub-user-profile .shithub-profile-avatar { |
| 1012 | width: 100%; |
| 1013 | height: auto; |
| 1014 | aspect-ratio: 1; |
| 1015 | border-radius: 50%; |
| 1016 | display: block; |
| 1017 | object-fit: cover; |
| 1018 | background: var(--canvas-subtle); |
| 1019 | border: 1px solid var(--border-default); |
| 1020 | box-shadow: 0 0 0 1px rgba(255,255,255,0.02); |
| 1021 | } |
| 1022 | .shithub-profile-names { |
| 1023 | margin: 1rem 0 0.75rem; |
| 1024 | } |
| 1025 | .shithub-profile-names h1 { |
| 1026 | margin: 0; |
| 1027 | display: grid; |
| 1028 | gap: 0.1rem; |
| 1029 | } |
| 1030 | .shithub-profile-name { |
| 1031 | font-size: 1.5rem; |
| 1032 | line-height: 1.25; |
| 1033 | font-weight: 600; |
| 1034 | color: var(--fg-default); |
| 1035 | overflow-wrap: anywhere; |
| 1036 | } |
| 1037 | .shithub-profile-names .shithub-profile-handle { |
| 1038 | font-size: 1.25rem; |
| 1039 | line-height: 1.2; |
| 1040 | color: var(--fg-muted); |
| 1041 | font-weight: 300; |
| 1042 | } |
| 1043 | .shithub-user-profile .shithub-profile-pronouns { |
| 1044 | display: block; |
| 1045 | margin-top: 0.25rem; |
| 1046 | color: var(--fg-muted); |
| 1047 | font-size: 0.875rem; |
| 1048 | } |
| 1049 | .shithub-user-profile .shithub-profile-bio { |
| 1050 | margin: 0 0 1rem; |
| 1051 | color: var(--fg-default); |
| 1052 | font-size: 1rem; |
| 1053 | line-height: 1.5; |
| 1054 | white-space: pre-wrap; |
| 1055 | } |
| 1056 | .shithub-button-block { |
| 1057 | width: 100%; |
| 1058 | justify-content: center; |
| 1059 | text-align: center; |
| 1060 | } |
| 1061 | .shithub-profile-follow-counts { |
| 1062 | display: flex; |
| 1063 | align-items: center; |
| 1064 | flex-wrap: wrap; |
| 1065 | gap: 0.35rem; |
| 1066 | margin: 1rem 0; |
| 1067 | color: var(--fg-muted); |
| 1068 | font-size: 0.875rem; |
| 1069 | } |
| 1070 | .shithub-profile-follow-counts svg, |
| 1071 | .shithub-profile-vcard svg { |
| 1072 | color: var(--fg-muted); |
| 1073 | flex: 0 0 auto; |
| 1074 | } |
| 1075 | .shithub-profile-follow-counts strong { |
| 1076 | color: var(--fg-default); |
| 1077 | } |
| 1078 | .shithub-profile-follow-counts a { |
| 1079 | color: var(--fg-muted); |
| 1080 | text-decoration: none; |
| 1081 | } |
| 1082 | .shithub-profile-follow-counts a:hover { |
| 1083 | color: var(--accent-fg, #4493f8); |
| 1084 | text-decoration: none; |
| 1085 | } |
| 1086 | .shithub-follow-form { |
| 1087 | margin: 0; |
| 1088 | } |
| 1089 | .shithub-profile-dot { |
| 1090 | color: var(--fg-muted); |
| 1091 | } |
| 1092 | .shithub-profile-vcard { |
| 1093 | list-style: none; |
| 1094 | margin: 0.75rem 0 0; |
| 1095 | padding: 0; |
| 1096 | display: grid; |
| 1097 | gap: 0.45rem; |
| 1098 | color: var(--fg-default); |
| 1099 | font-size: 0.875rem; |
| 1100 | } |
| 1101 | .shithub-profile-vcard li { |
| 1102 | display: grid; |
| 1103 | grid-template-columns: 16px minmax(0, 1fr); |
| 1104 | gap: 0.55rem; |
| 1105 | align-items: center; |
| 1106 | min-width: 0; |
| 1107 | } |
| 1108 | .shithub-profile-vcard span, |
| 1109 | .shithub-profile-vcard a { |
| 1110 | overflow-wrap: anywhere; |
| 1111 | } |
| 1112 | .shithub-profile-sidebar-section { |
| 1113 | margin-top: 1.5rem; |
| 1114 | padding-top: 1.25rem; |
| 1115 | border-top: 1px solid var(--border-muted, var(--border-default)); |
| 1116 | } |
| 1117 | .shithub-profile-sidebar-section h2 { |
| 1118 | margin: 0 0 0.75rem; |
| 1119 | font-size: 1rem; |
| 1120 | font-weight: 600; |
| 1121 | } |
| 1122 | .shithub-profile-orgs { |
| 1123 | display: flex; |
| 1124 | flex-wrap: wrap; |
| 1125 | gap: 0.35rem; |
| 1126 | } |
| 1127 | .shithub-profile-orgs a, |
| 1128 | .shithub-profile-orgs img { |
| 1129 | display: block; |
| 1130 | width: 32px; |
| 1131 | height: 32px; |
| 1132 | border-radius: 6px; |
| 1133 | } |
| 1134 | .shithub-profile-orgs img { |
| 1135 | border: 1px solid var(--border-default); |
| 1136 | background: var(--canvas-subtle); |
| 1137 | } |
| 1138 | .shithub-user-profile-main { |
| 1139 | min-width: 0; |
| 1140 | } |
| 1141 | .shithub-profile-readme-card { |
| 1142 | border: 1px solid var(--border-default); |
| 1143 | border-radius: 6px; |
| 1144 | background: var(--canvas-default); |
| 1145 | margin-bottom: 1.5rem; |
| 1146 | } |
| 1147 | .shithub-profile-readme-card header { |
| 1148 | display: flex; |
| 1149 | align-items: flex-start; |
| 1150 | justify-content: space-between; |
| 1151 | gap: 1rem; |
| 1152 | padding: 1.5rem 1.5rem 0; |
| 1153 | } |
| 1154 | .shithub-profile-readme-title { |
| 1155 | font-family: ui-monospace, SFMono-Regular, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; |
| 1156 | font-size: 0.8125rem; |
| 1157 | color: var(--fg-muted); |
| 1158 | } |
| 1159 | .shithub-profile-readme-title a, |
| 1160 | .shithub-profile-readme-title strong { |
| 1161 | color: var(--fg-default); |
| 1162 | text-decoration: none; |
| 1163 | font-weight: 600; |
| 1164 | } |
| 1165 | .shithub-profile-readme-card article { |
| 1166 | padding: 1rem 1.5rem 1.5rem; |
| 1167 | } |
| 1168 | .shithub-icon-link { |
| 1169 | display: inline-flex; |
| 1170 | align-items: center; |
| 1171 | justify-content: center; |
| 1172 | color: var(--fg-muted); |
| 1173 | text-decoration: none; |
| 1174 | border-radius: 6px; |
| 1175 | padding: 0.25rem; |
| 1176 | } |
| 1177 | .shithub-icon-link:hover { |
| 1178 | color: var(--fg-default); |
| 1179 | background: var(--canvas-subtle); |
| 1180 | text-decoration: none; |
| 1181 | } |
| 1182 | .shithub-user-profile .shithub-profile-pinned, |
| 1183 | .shithub-user-profile .shithub-profile-contributions { |
| 1184 | margin: 1.5rem 0 0; |
| 1185 | } |
| 1186 | .shithub-user-profile .shithub-profile-section-head { |
| 1187 | border-bottom: 0; |
| 1188 | padding-bottom: 0.75rem; |
| 1189 | } |
| 1190 | .shithub-user-profile .shithub-profile-section-head h2, |
| 1191 | .shithub-user-profile .shithub-profile-contributions h2, |
| 1192 | .shithub-profile-activity h2 { |
| 1193 | margin: 0; |
| 1194 | padding: 0; |
| 1195 | border: 0; |
| 1196 | font-size: 1rem; |
| 1197 | font-weight: 400; |
| 1198 | } |
| 1199 | .shithub-user-profile .shithub-profile-pinned-grid { |
| 1200 | margin-top: 0; |
| 1201 | } |
| 1202 | .shithub-user-profile .shithub-org-pin-card { |
| 1203 | min-height: 118px; |
| 1204 | } |
| 1205 | .shithub-profile-contrib-head { |
| 1206 | display: flex; |
| 1207 | align-items: center; |
| 1208 | justify-content: space-between; |
| 1209 | gap: 1rem; |
| 1210 | margin-bottom: 0.75rem; |
| 1211 | } |
| 1212 | .shithub-profile-contrib-settings { |
| 1213 | position: relative; |
| 1214 | color: var(--fg-muted); |
| 1215 | font-size: 0.875rem; |
| 1216 | } |
| 1217 | .shithub-profile-contrib-settings summary { |
| 1218 | list-style: none; |
| 1219 | cursor: pointer; |
| 1220 | color: var(--fg-muted); |
| 1221 | } |
| 1222 | .shithub-profile-contrib-settings summary::-webkit-details-marker { |
| 1223 | display: none; |
| 1224 | } |
| 1225 | .shithub-profile-contrib-settings summary svg { |
| 1226 | width: 12px; |
| 1227 | height: 12px; |
| 1228 | vertical-align: -2px; |
| 1229 | } |
| 1230 | .shithub-profile-contrib-settings[open] > div { |
| 1231 | position: absolute; |
| 1232 | z-index: 20; |
| 1233 | right: 0; |
| 1234 | top: calc(100% + 0.45rem); |
| 1235 | width: min(360px, calc(100vw - 2rem)); |
| 1236 | padding: 0.75rem 0; |
| 1237 | border: 1px solid var(--border-default); |
| 1238 | border-radius: 12px; |
| 1239 | background: var(--canvas-overlay, var(--canvas-default)); |
| 1240 | color: var(--fg-default); |
| 1241 | box-shadow: 0 16px 32px rgba(1,4,9,0.45); |
| 1242 | } |
| 1243 | .shithub-contrib-settings-menu form { |
| 1244 | margin: 0; |
| 1245 | } |
| 1246 | .shithub-contrib-setting-item { |
| 1247 | display: grid; |
| 1248 | grid-template-columns: 24px minmax(0, 1fr); |
| 1249 | gap: 0.5rem; |
| 1250 | width: 100%; |
| 1251 | padding: 0.35rem 1rem; |
| 1252 | border: 0; |
| 1253 | background: transparent; |
| 1254 | color: var(--fg-default); |
| 1255 | font: inherit; |
| 1256 | text-align: left; |
| 1257 | } |
| 1258 | button.shithub-contrib-setting-item { |
| 1259 | cursor: pointer; |
| 1260 | } |
| 1261 | button.shithub-contrib-setting-item:hover { |
| 1262 | background: var(--canvas-subtle); |
| 1263 | } |
| 1264 | .shithub-contrib-setting-item.is-static { |
| 1265 | cursor: default; |
| 1266 | } |
| 1267 | .shithub-contrib-setting-check { |
| 1268 | display: flex; |
| 1269 | align-items: flex-start; |
| 1270 | justify-content: center; |
| 1271 | padding-top: 0.1rem; |
| 1272 | color: var(--fg-default); |
| 1273 | } |
| 1274 | .shithub-contrib-setting-check svg { |
| 1275 | width: 16px; |
| 1276 | height: 16px; |
| 1277 | } |
| 1278 | .shithub-contrib-setting-item strong { |
| 1279 | display: block; |
| 1280 | margin: 0 0 0.45rem; |
| 1281 | color: var(--fg-default); |
| 1282 | } |
| 1283 | .shithub-contrib-setting-item span span { |
| 1284 | display: block; |
| 1285 | color: var(--fg-muted); |
| 1286 | line-height: 1.45; |
| 1287 | } |
| 1288 | .shithub-profile-contrib-layout { |
| 1289 | display: grid; |
| 1290 | grid-template-columns: minmax(0, 1fr) 112px; |
| 1291 | gap: 2rem; |
| 1292 | align-items: start; |
| 1293 | } |
| 1294 | .shithub-profile-calendar { |
| 1295 | border: 1px solid var(--border-default); |
| 1296 | border-radius: 6px; |
| 1297 | padding: 1rem; |
| 1298 | min-width: 0; |
| 1299 | overflow-x: auto; |
| 1300 | } |
| 1301 | .shithub-contrib-months { |
| 1302 | display: grid; |
| 1303 | grid-template-columns: repeat(53, 13px); |
| 1304 | gap: 3px; |
| 1305 | margin-left: 32px; |
| 1306 | margin-bottom: 0.25rem; |
| 1307 | color: var(--fg-default); |
| 1308 | font-size: 0.75rem; |
| 1309 | line-height: 1; |
| 1310 | width: max-content; |
| 1311 | } |
| 1312 | .shithub-contrib-months span { |
| 1313 | min-height: 1rem; |
| 1314 | white-space: nowrap; |
| 1315 | } |
| 1316 | .shithub-contrib-grid-wrap { |
| 1317 | display: flex; |
| 1318 | gap: 0.5rem; |
| 1319 | min-width: 0; |
| 1320 | width: max-content; |
| 1321 | } |
| 1322 | .shithub-contrib-weekdays { |
| 1323 | display: grid; |
| 1324 | grid-template-rows: repeat(7, 10px); |
| 1325 | gap: 3px; |
| 1326 | width: 24px; |
| 1327 | color: var(--fg-default); |
| 1328 | font-size: 0.75rem; |
| 1329 | line-height: 10px; |
| 1330 | } |
| 1331 | .shithub-contrib-weeks { |
| 1332 | display: flex; |
| 1333 | gap: 3px; |
| 1334 | overflow: visible; |
| 1335 | padding-bottom: 0.25rem; |
| 1336 | } |
| 1337 | .shithub-contrib-week { |
| 1338 | display: grid; |
| 1339 | grid-template-rows: repeat(7, 10px); |
| 1340 | gap: 3px; |
| 1341 | } |
| 1342 | .shithub-contrib-day, |
| 1343 | .shithub-contrib-legend i { |
| 1344 | width: 10px; |
| 1345 | height: 10px; |
| 1346 | display: block; |
| 1347 | border-radius: 2px; |
| 1348 | box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03); |
| 1349 | } |
| 1350 | .shithub-contrib-day { |
| 1351 | position: relative; |
| 1352 | cursor: default; |
| 1353 | } |
| 1354 | .shithub-contrib-day:focus { |
| 1355 | outline: 2px solid var(--accent-fg); |
| 1356 | outline-offset: 1px; |
| 1357 | } |
| 1358 | .shithub-contrib-day:hover::before, |
| 1359 | .shithub-contrib-day:focus::before { |
| 1360 | content: ""; |
| 1361 | position: absolute; |
| 1362 | z-index: 31; |
| 1363 | left: 50%; |
| 1364 | bottom: calc(100% + 2px); |
| 1365 | width: 0; |
| 1366 | height: 0; |
| 1367 | border: 5px solid transparent; |
| 1368 | border-top-color: #6e7681; |
| 1369 | transform: translateX(-50%); |
| 1370 | pointer-events: none; |
| 1371 | } |
| 1372 | .shithub-contrib-day:hover::after, |
| 1373 | .shithub-contrib-day:focus::after { |
| 1374 | content: attr(data-title); |
| 1375 | position: absolute; |
| 1376 | z-index: 30; |
| 1377 | left: 50%; |
| 1378 | bottom: calc(100% + 11px); |
| 1379 | max-width: min(260px, 80vw); |
| 1380 | padding: 0.35rem 0.55rem; |
| 1381 | border-radius: 6px; |
| 1382 | background: #6e7681; |
| 1383 | color: #fff; |
| 1384 | box-shadow: 0 8px 18px rgba(1,4,9,0.35); |
| 1385 | font-size: 0.75rem; |
| 1386 | font-weight: 600; |
| 1387 | line-height: 1.25; |
| 1388 | text-align: center; |
| 1389 | white-space: nowrap; |
| 1390 | transform: translateX(-50%); |
| 1391 | pointer-events: none; |
| 1392 | } |
| 1393 | .shithub-contrib-day.level-0, |
| 1394 | .shithub-contrib-legend .level-0 { |
| 1395 | background: #161b22; |
| 1396 | } |
| 1397 | .shithub-contrib-day.level-1, |
| 1398 | .shithub-contrib-legend .level-1 { |
| 1399 | background: #0e4429; |
| 1400 | } |
| 1401 | .shithub-contrib-day.level-2, |
| 1402 | .shithub-contrib-legend .level-2 { |
| 1403 | background: #006d32; |
| 1404 | } |
| 1405 | .shithub-contrib-day.level-3, |
| 1406 | .shithub-contrib-legend .level-3 { |
| 1407 | background: #26a641; |
| 1408 | } |
| 1409 | .shithub-contrib-day.level-4, |
| 1410 | .shithub-contrib-legend .level-4 { |
| 1411 | background: #39d353; |
| 1412 | } |
| 1413 | .shithub-contrib-day.is-future, |
| 1414 | .shithub-contrib-day.is-outside { |
| 1415 | opacity: 0.35; |
| 1416 | } |
| 1417 | .shithub-profile-calendar-foot { |
| 1418 | display: flex; |
| 1419 | justify-content: space-between; |
| 1420 | align-items: center; |
| 1421 | gap: 1rem; |
| 1422 | margin-top: 0.75rem; |
| 1423 | color: var(--fg-muted); |
| 1424 | font-size: 0.75rem; |
| 1425 | } |
| 1426 | .shithub-profile-calendar-foot a { |
| 1427 | color: var(--fg-muted); |
| 1428 | text-decoration: none; |
| 1429 | } |
| 1430 | .shithub-profile-calendar-foot a:hover { |
| 1431 | color: var(--accent-fg); |
| 1432 | text-decoration: underline; |
| 1433 | } |
| 1434 | .shithub-contrib-legend { |
| 1435 | display: inline-flex; |
| 1436 | align-items: center; |
| 1437 | gap: 0.25rem; |
| 1438 | white-space: nowrap; |
| 1439 | } |
| 1440 | .shithub-profile-years { |
| 1441 | list-style: none; |
| 1442 | margin: 0; |
| 1443 | padding: 0; |
| 1444 | display: grid; |
| 1445 | gap: 0.5rem; |
| 1446 | } |
| 1447 | .shithub-profile-years span, |
| 1448 | .shithub-profile-years a { |
| 1449 | display: block; |
| 1450 | padding: 0.65rem 1rem; |
| 1451 | border-radius: 6px; |
| 1452 | color: var(--fg-muted); |
| 1453 | text-decoration: none; |
| 1454 | } |
| 1455 | .shithub-profile-years a:hover { |
| 1456 | color: var(--fg-default); |
| 1457 | background: var(--canvas-subtle); |
| 1458 | text-decoration: none; |
| 1459 | } |
| 1460 | .shithub-profile-years .is-active { |
| 1461 | color: #fff; |
| 1462 | background: var(--accent-emphasis); |
| 1463 | font-weight: 600; |
| 1464 | } |
| 1465 | .shithub-profile-activity { |
| 1466 | margin-top: 2rem; |
| 1467 | } |
| 1468 | .shithub-profile-activity h2 { |
| 1469 | margin-bottom: 1.5rem; |
| 1470 | } |
| 1471 | .shithub-profile-activity-row { |
| 1472 | display: grid; |
| 1473 | grid-template-columns: 96px minmax(0, 1fr); |
| 1474 | gap: 1.5rem; |
| 1475 | align-items: start; |
| 1476 | margin-bottom: 1.5rem; |
| 1477 | } |
| 1478 | .shithub-profile-activity-month { |
| 1479 | color: var(--fg-muted); |
| 1480 | font-weight: 600; |
| 1481 | font-size: 0.875rem; |
| 1482 | padding-top: 0.15rem; |
| 1483 | } |
| 1484 | .shithub-profile-activity-item { |
| 1485 | position: relative; |
| 1486 | display: flex; |
| 1487 | align-items: center; |
| 1488 | gap: 0.75rem; |
| 1489 | min-height: 2.25rem; |
| 1490 | color: var(--fg-default); |
| 1491 | } |
| 1492 | .shithub-profile-activity-item::before { |
| 1493 | content: ""; |
| 1494 | position: absolute; |
| 1495 | left: 15px; |
| 1496 | top: -1.25rem; |
| 1497 | bottom: -1.25rem; |
| 1498 | width: 2px; |
| 1499 | background: var(--border-default); |
| 1500 | } |
| 1501 | .shithub-profile-activity-icon { |
| 1502 | position: relative; |
| 1503 | z-index: 1; |
| 1504 | width: 32px; |
| 1505 | height: 32px; |
| 1506 | display: inline-flex; |
| 1507 | align-items: center; |
| 1508 | justify-content: center; |
| 1509 | border-radius: 50%; |
| 1510 | border: 1px solid var(--border-default); |
| 1511 | background: var(--canvas-subtle); |
| 1512 | color: var(--fg-muted); |
| 1513 | flex: 0 0 auto; |
| 1514 | } |
| 1515 | @media (max-width: 980px) { |
| 1516 | .shithub-profile-tabs-shell .shithub-profile-tabs { |
| 1517 | padding: 0 1rem; |
| 1518 | overflow-x: auto; |
| 1519 | } |
| 1520 | .shithub-user-profile-container { |
| 1521 | grid-template-columns: 1fr; |
| 1522 | padding: 1.25rem 1rem 2rem; |
| 1523 | gap: 1.5rem; |
| 1524 | } |
| 1525 | .shithub-profile-tab-container { |
| 1526 | grid-template-columns: 1fr; |
| 1527 | padding: 1.25rem 1rem 2rem; |
| 1528 | gap: 1.25rem; |
| 1529 | } |
| 1530 | .shithub-user-profile-sidebar { |
| 1531 | display: grid; |
| 1532 | grid-template-columns: 96px minmax(0, 1fr); |
| 1533 | gap: 1rem; |
| 1534 | align-items: start; |
| 1535 | } |
| 1536 | .shithub-profile-avatar-link { |
| 1537 | grid-row: span 4; |
| 1538 | } |
| 1539 | .shithub-profile-names { |
| 1540 | margin-top: 0; |
| 1541 | } |
| 1542 | .shithub-user-profile .shithub-profile-avatar { |
| 1543 | width: 96px; |
| 1544 | } |
| 1545 | .shithub-profile-vcard, |
| 1546 | .shithub-profile-sidebar-section { |
| 1547 | grid-column: 1 / -1; |
| 1548 | } |
| 1549 | .shithub-profile-contrib-layout { |
| 1550 | grid-template-columns: 1fr; |
| 1551 | gap: 1rem; |
| 1552 | } |
| 1553 | .shithub-profile-years { |
| 1554 | display: flex; |
| 1555 | overflow-x: auto; |
| 1556 | } |
| 1557 | .shithub-profile-years span { |
| 1558 | min-width: 5rem; |
| 1559 | text-align: center; |
| 1560 | } |
| 1561 | } |
| 1562 | @media (max-width: 700px) { |
| 1563 | .shithub-user-profile-sidebar { |
| 1564 | grid-template-columns: 72px minmax(0, 1fr); |
| 1565 | } |
| 1566 | .shithub-user-profile .shithub-profile-avatar { |
| 1567 | width: 72px; |
| 1568 | } |
| 1569 | .shithub-profile-name { |
| 1570 | font-size: 1.25rem; |
| 1571 | } |
| 1572 | .shithub-profile-names .shithub-profile-handle { |
| 1573 | font-size: 1rem; |
| 1574 | } |
| 1575 | .shithub-user-profile .shithub-profile-pinned-grid { |
| 1576 | grid-template-columns: 1fr; |
| 1577 | } |
| 1578 | .shithub-profile-readme-card header, |
| 1579 | .shithub-profile-readme-card article { |
| 1580 | padding-left: 1rem; |
| 1581 | padding-right: 1rem; |
| 1582 | } |
| 1583 | .shithub-profile-contrib-head, |
| 1584 | .shithub-profile-calendar-foot, |
| 1585 | .shithub-profile-activity-row { |
| 1586 | align-items: stretch; |
| 1587 | flex-direction: column; |
| 1588 | display: flex; |
| 1589 | gap: 0.75rem; |
| 1590 | } |
| 1591 | .shithub-profile-contrib-settings[open] > div { |
| 1592 | left: 0; |
| 1593 | right: auto; |
| 1594 | } |
| 1595 | .shithub-profile-activity-item::before { |
| 1596 | display: none; |
| 1597 | } |
| 1598 | } |
| 1599 | |
| 1600 | /* ----- settings shell (S10) ----- */ |
| 1601 | .shithub-settings-page { |
| 1602 | max-width: 64rem; |
| 1603 | margin: 2rem auto; |
| 1604 | padding: 0 1rem; |
| 1605 | display: grid; |
| 1606 | grid-template-columns: 220px 1fr; |
| 1607 | gap: 2rem; |
| 1608 | align-items: start; |
| 1609 | } |
| 1610 | .shithub-settings-side { font-size: 0.9rem; } |
| 1611 | .shithub-settings-side-title { |
| 1612 | margin: 0 0 0.75rem; |
| 1613 | font-size: 1.5rem; |
| 1614 | font-weight: 400; |
| 1615 | padding-bottom: 0.5rem; |
| 1616 | border-bottom: 1px solid var(--border-default); |
| 1617 | } |
| 1618 | .shithub-settings-side nav ul { |
| 1619 | list-style: none; |
| 1620 | padding: 0; |
| 1621 | margin: 0 0 1rem; |
| 1622 | } |
| 1623 | .shithub-settings-side nav li { |
| 1624 | border-radius: 6px; |
| 1625 | } |
| 1626 | .shithub-settings-side nav li.active { |
| 1627 | background: var(--canvas-subtle); |
| 1628 | border-left: 2px solid var(--accent-emphasis); |
| 1629 | } |
| 1630 | .shithub-settings-side nav li a { |
| 1631 | display: block; |
| 1632 | padding: 0.4rem 0.75rem; |
| 1633 | color: var(--fg-default); |
| 1634 | text-decoration: none; |
| 1635 | border-radius: 6px; |
| 1636 | } |
| 1637 | .shithub-settings-side nav li a:hover { background: var(--canvas-subtle); } |
| 1638 | .shithub-settings-side nav li.active a { font-weight: 500; } |
| 1639 | .shithub-settings-side-group { |
| 1640 | margin: 1.25rem 0 0.5rem; |
| 1641 | padding-top: 0.75rem; |
| 1642 | border-top: 1px solid var(--border-default); |
| 1643 | font-size: 0.75rem; |
| 1644 | font-weight: 600; |
| 1645 | text-transform: uppercase; |
| 1646 | letter-spacing: 0.05em; |
| 1647 | color: var(--fg-muted); |
| 1648 | } |
| 1649 | .shithub-settings-danger { color: #cf222e; } |
| 1650 | |
| 1651 | .shithub-settings-content { min-width: 0; } |
| 1652 | .shithub-settings-content > h1 { |
| 1653 | margin: 0 0 1.5rem; |
| 1654 | padding-bottom: 0.75rem; |
| 1655 | border-bottom: 1px solid var(--border-default); |
| 1656 | font-size: 1.5rem; |
| 1657 | font-weight: 400; |
| 1658 | } |
| 1659 | .shithub-settings-section { |
| 1660 | margin: 0 0 2rem; |
| 1661 | padding-bottom: 1.5rem; |
| 1662 | border-bottom: 1px solid var(--border-muted, var(--border-default)); |
| 1663 | } |
| 1664 | .shithub-settings-section:last-child { border-bottom: none; } |
| 1665 | .shithub-settings-section h2 { |
| 1666 | margin: 0 0 0.5rem; |
| 1667 | font-size: 1rem; |
| 1668 | font-weight: 600; |
| 1669 | } |
| 1670 | .shithub-settings-section p { margin: 0 0 1rem; color: var(--fg-muted); } |
| 1671 | .shithub-settings-section form { display: grid; gap: 0.85rem; max-width: 32rem; } |
| 1672 | .shithub-settings-section label { display: grid; gap: 0.25rem; font-weight: 500; font-size: 0.9rem; } |
| 1673 | .shithub-settings-section input[type=text], |
| 1674 | .shithub-settings-section input[type=email], |
| 1675 | .shithub-settings-section input[type=password], |
| 1676 | .shithub-settings-section input[type=url], |
| 1677 | .shithub-settings-section textarea, |
| 1678 | .shithub-settings-section select { |
| 1679 | font: inherit; |
| 1680 | padding: 0.5rem 0.75rem; |
| 1681 | border: 1px solid var(--border-default); |
| 1682 | border-radius: 6px; |
| 1683 | background: var(--canvas-subtle); |
| 1684 | } |
| 1685 | .shithub-settings-section textarea { min-height: 4rem; resize: vertical; } |
| 1686 | .shithub-settings-section .shithub-button { justify-self: start; } |
| 1687 | |
| 1688 | .shithub-settings-danger-zone { |
| 1689 | border: 1px solid rgba(207, 34, 46, 0.4); |
| 1690 | border-radius: 6px; |
| 1691 | padding: 1rem 1.25rem; |
| 1692 | background: rgba(207, 34, 46, 0.04); |
| 1693 | } |
| 1694 | .shithub-settings-danger-zone h2 { color: #cf222e; } |
| 1695 | |
| 1696 | .shithub-settings-section label small { |
| 1697 | font-weight: 400; |
| 1698 | color: var(--fg-muted); |
| 1699 | font-size: 0.8rem; |
| 1700 | } |
| 1701 | |
| 1702 | .shithub-settings-orgs-page { |
| 1703 | max-width: 78rem; |
| 1704 | grid-template-columns: 220px minmax(0, 720px); |
| 1705 | } |
| 1706 | .shithub-settings-account-header { |
| 1707 | display: grid; |
| 1708 | grid-template-columns: 48px minmax(0, 1fr) auto; |
| 1709 | gap: 0.75rem; |
| 1710 | align-items: center; |
| 1711 | margin-bottom: 1.5rem; |
| 1712 | } |
| 1713 | .shithub-settings-account-avatar { |
| 1714 | width: 48px; |
| 1715 | height: 48px; |
| 1716 | border-radius: 50%; |
| 1717 | background: var(--canvas-subtle); |
| 1718 | } |
| 1719 | .shithub-settings-account-header h1 { |
| 1720 | margin: 0; |
| 1721 | font-size: 1.25rem; |
| 1722 | line-height: 1.25; |
| 1723 | } |
| 1724 | .shithub-settings-account-header p { |
| 1725 | margin: 0.15rem 0 0; |
| 1726 | color: var(--fg-muted); |
| 1727 | font-size: 0.875rem; |
| 1728 | } |
| 1729 | .shithub-settings-account-actions { |
| 1730 | display: flex; |
| 1731 | gap: 0.5rem; |
| 1732 | flex-wrap: wrap; |
| 1733 | justify-content: flex-end; |
| 1734 | } |
| 1735 | .shithub-settings-orgs-head { |
| 1736 | display: flex; |
| 1737 | gap: 1rem; |
| 1738 | align-items: center; |
| 1739 | justify-content: space-between; |
| 1740 | margin-bottom: 0.75rem; |
| 1741 | } |
| 1742 | .shithub-settings-orgs-head h2, |
| 1743 | .shithub-settings-orgs-move h2 { |
| 1744 | margin: 0; |
| 1745 | font-size: 1rem; |
| 1746 | font-weight: 500; |
| 1747 | } |
| 1748 | .shithub-settings-org-list { |
| 1749 | list-style: none; |
| 1750 | margin: 0; |
| 1751 | padding: 0; |
| 1752 | border: 1px solid var(--border-default); |
| 1753 | border-radius: 6px; |
| 1754 | overflow: hidden; |
| 1755 | } |
| 1756 | .shithub-settings-org-row { |
| 1757 | display: grid; |
| 1758 | grid-template-columns: minmax(0, 1fr) auto auto; |
| 1759 | gap: 0.75rem; |
| 1760 | align-items: center; |
| 1761 | min-height: 54px; |
| 1762 | padding: 0.75rem 1rem; |
| 1763 | border-top: 1px solid var(--border-default); |
| 1764 | } |
| 1765 | .shithub-settings-org-row:first-child { border-top: 0; } |
| 1766 | .shithub-settings-org-identity { |
| 1767 | display: inline-flex; |
| 1768 | gap: 0.5rem; |
| 1769 | align-items: center; |
| 1770 | min-width: 0; |
| 1771 | font-weight: 600; |
| 1772 | } |
| 1773 | .shithub-settings-org-identity img { |
| 1774 | width: 24px; |
| 1775 | height: 24px; |
| 1776 | border-radius: 4px; |
| 1777 | background: var(--canvas-subtle); |
| 1778 | } |
| 1779 | .shithub-settings-org-identity span { |
| 1780 | overflow: hidden; |
| 1781 | text-overflow: ellipsis; |
| 1782 | white-space: nowrap; |
| 1783 | } |
| 1784 | .shithub-settings-org-role { |
| 1785 | color: var(--fg-muted); |
| 1786 | border: 1px solid var(--border-default); |
| 1787 | border-radius: 999px; |
| 1788 | padding: 0.1rem 0.45rem; |
| 1789 | font-size: 0.75rem; |
| 1790 | font-weight: 500; |
| 1791 | } |
| 1792 | .shithub-settings-org-actions { |
| 1793 | display: flex; |
| 1794 | gap: 0.35rem; |
| 1795 | justify-content: flex-end; |
| 1796 | flex-wrap: wrap; |
| 1797 | } |
| 1798 | .shithub-settings-org-empty { |
| 1799 | border: 1px solid var(--border-default); |
| 1800 | border-radius: 6px; |
| 1801 | padding: 1rem; |
| 1802 | color: var(--fg-muted); |
| 1803 | } |
| 1804 | .shithub-settings-org-empty p { margin: 0 0 0.75rem; } |
| 1805 | .shithub-settings-orgs-move { |
| 1806 | margin-top: 2rem; |
| 1807 | padding-top: 1.5rem; |
| 1808 | border-top: 1px solid var(--border-default); |
| 1809 | } |
| 1810 | .shithub-settings-orgs-move p { |
| 1811 | max-width: 44rem; |
| 1812 | color: var(--fg-muted); |
| 1813 | font-size: 0.875rem; |
| 1814 | } |
| 1815 | |
| 1816 | .shithub-profile-edit { |
| 1817 | display: grid; |
| 1818 | grid-template-columns: minmax(0, 1fr) 220px; |
| 1819 | gap: 2rem; |
| 1820 | align-items: start; |
| 1821 | } |
| 1822 | .shithub-profile-edit-form { margin: 0; padding: 0; border: none; } |
| 1823 | .shithub-profile-edit-aside h2 { margin: 0 0 0.75rem; font-size: 0.9rem; font-weight: 600; } |
| 1824 | .shithub-profile-edit-avatar { |
| 1825 | width: 200px; |
| 1826 | height: 200px; |
| 1827 | border-radius: 50%; |
| 1828 | border: 1px solid var(--border-default); |
| 1829 | background: var(--canvas-subtle); |
| 1830 | display: block; |
| 1831 | } |
| 1832 | .shithub-empty-note { |
| 1833 | margin: 0.5rem 0 0; |
| 1834 | font-size: 0.8rem; |
| 1835 | color: var(--fg-muted); |
| 1836 | } |
| 1837 | .shithub-profile-edit-aside form { |
| 1838 | margin: 0.75rem 0 0; |
| 1839 | display: grid; |
| 1840 | gap: 0.5rem; |
| 1841 | } |
| 1842 | .shithub-profile-edit-upload span { |
| 1843 | display: block; |
| 1844 | font-size: 0.85rem; |
| 1845 | font-weight: 500; |
| 1846 | margin-bottom: 0.25rem; |
| 1847 | } |
| 1848 | .shithub-profile-edit-upload input[type=file] { |
| 1849 | font-size: 0.85rem; |
| 1850 | } |
| 1851 | |
| 1852 | @media (max-width: 720px) { |
| 1853 | .shithub-settings-page { |
| 1854 | grid-template-columns: 1fr; |
| 1855 | } |
| 1856 | .shithub-settings-account-header, |
| 1857 | .shithub-settings-org-row { |
| 1858 | grid-template-columns: 1fr; |
| 1859 | } |
| 1860 | .shithub-settings-account-actions, |
| 1861 | .shithub-settings-org-actions { |
| 1862 | justify-content: flex-start; |
| 1863 | } |
| 1864 | .shithub-profile-edit { |
| 1865 | grid-template-columns: 1fr; |
| 1866 | } |
| 1867 | } |
| 1868 | |
| 1869 | /* ----- theme picker (S10) ----- */ |
| 1870 | .shithub-theme-grid { |
| 1871 | border: none; |
| 1872 | padding: 0; |
| 1873 | margin: 0 0 1rem; |
| 1874 | display: grid; |
| 1875 | grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); |
| 1876 | gap: 0.75rem; |
| 1877 | } |
| 1878 | .shithub-theme-grid legend { |
| 1879 | padding: 0; |
| 1880 | margin: 0 0 0.5rem; |
| 1881 | font-size: 0.85rem; |
| 1882 | font-weight: 500; |
| 1883 | } |
| 1884 | .shithub-theme-card { |
| 1885 | display: grid; |
| 1886 | gap: 0.25rem; |
| 1887 | padding: 0.85rem 1rem; |
| 1888 | border: 1px solid var(--border-default); |
| 1889 | border-radius: 8px; |
| 1890 | background: var(--canvas-subtle); |
| 1891 | cursor: pointer; |
| 1892 | position: relative; |
| 1893 | transition: border-color 120ms; |
| 1894 | } |
| 1895 | .shithub-theme-card:hover { border-color: var(--accent-emphasis); } |
| 1896 | .shithub-theme-card.active { |
| 1897 | border-color: var(--accent-emphasis); |
| 1898 | box-shadow: 0 0 0 1px var(--accent-emphasis) inset; |
| 1899 | } |
| 1900 | .shithub-theme-card input[type=radio] { |
| 1901 | position: absolute; |
| 1902 | top: 0.6rem; |
| 1903 | right: 0.6rem; |
| 1904 | } |
| 1905 | .shithub-theme-card-title { |
| 1906 | font-weight: 600; |
| 1907 | font-size: 0.95rem; |
| 1908 | } |
| 1909 | .shithub-theme-card-desc { |
| 1910 | font-size: 0.8rem; |
| 1911 | color: var(--fg-muted); |
| 1912 | } |
| 1913 | |
| 1914 | /* ----- emails (S10) ----- */ |
| 1915 | .shithub-email-list { |
| 1916 | list-style: none; |
| 1917 | padding: 0; |
| 1918 | margin: 1rem 0 0; |
| 1919 | display: grid; |
| 1920 | gap: 0.5rem; |
| 1921 | } |
| 1922 | .shithub-email-row { |
| 1923 | display: flex; |
| 1924 | justify-content: space-between; |
| 1925 | align-items: center; |
| 1926 | gap: 1rem; |
| 1927 | padding: 0.75rem 1rem; |
| 1928 | border: 1px solid var(--border-default); |
| 1929 | border-radius: 6px; |
| 1930 | background: var(--canvas-subtle); |
| 1931 | } |
| 1932 | .shithub-email-meta { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; } |
| 1933 | .shithub-email-addr { background: transparent; padding: 0; font-weight: 500; } |
| 1934 | .shithub-email-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; } |
| 1935 | .shithub-email-actions form { display: inline; } |
| 1936 | .shithub-pill { |
| 1937 | font-size: 0.7rem; |
| 1938 | padding: 0.1rem 0.5rem; |
| 1939 | border-radius: 999px; |
| 1940 | border: 1px solid var(--border-default); |
| 1941 | text-transform: uppercase; |
| 1942 | letter-spacing: 0.04em; |
| 1943 | font-weight: 600; |
| 1944 | } |
| 1945 | .shithub-pill-primary { background: rgba(56, 139, 253, 0.15); border-color: rgba(56, 139, 253, 0.4); } |
| 1946 | .shithub-pill-verified { background: rgba(63, 185, 80, 0.15); border-color: rgba(63, 185, 80, 0.4); } |
| 1947 | .shithub-pill-unverified { background: rgba(187, 128, 9, 0.15); border-color: rgba(187, 128, 9, 0.4); } |
| 1948 | |
| 1949 | /* ----- notifications (S10) ----- */ |
| 1950 | .shithub-notif-form { display: grid; gap: 0.75rem; max-width: 36rem; } |
| 1951 | .shithub-notif-row { |
| 1952 | display: grid; |
| 1953 | grid-template-columns: max-content 1fr; |
| 1954 | gap: 0.75rem; |
| 1955 | padding: 0.75rem 1rem; |
| 1956 | border: 1px solid var(--border-default); |
| 1957 | border-radius: 6px; |
| 1958 | background: var(--canvas-subtle); |
| 1959 | align-items: start; |
| 1960 | } |
| 1961 | .shithub-notif-row.required { background: rgba(56, 139, 253, 0.06); } |
| 1962 | .shithub-notif-row strong { display: block; font-size: 0.95rem; } |
| 1963 | .shithub-notif-row small { display: block; color: var(--fg-muted); font-size: 0.85rem; } |
| 1964 | |
| 1965 | .shithub-notifications-page { |
| 1966 | padding: 1.5rem 1rem 3rem; |
| 1967 | } |
| 1968 | .shithub-notifications-shell { |
| 1969 | display: grid; |
| 1970 | grid-template-columns: 240px minmax(0, 1fr); |
| 1971 | gap: 1.5rem; |
| 1972 | max-width: 1120px; |
| 1973 | margin: 0 auto; |
| 1974 | } |
| 1975 | .shithub-notifications-sidebar { |
| 1976 | position: sticky; |
| 1977 | top: 1rem; |
| 1978 | align-self: start; |
| 1979 | } |
| 1980 | .shithub-notifications-filter-list { |
| 1981 | display: flex; |
| 1982 | flex-direction: column; |
| 1983 | gap: 0.15rem; |
| 1984 | } |
| 1985 | .shithub-notifications-filter { |
| 1986 | display: flex; |
| 1987 | align-items: center; |
| 1988 | justify-content: space-between; |
| 1989 | gap: 0.75rem; |
| 1990 | min-height: 2rem; |
| 1991 | padding: 0.35rem 0.55rem; |
| 1992 | border-radius: 6px; |
| 1993 | color: var(--fg-default); |
| 1994 | font-size: 0.875rem; |
| 1995 | } |
| 1996 | .shithub-notifications-filter:hover { |
| 1997 | background: var(--canvas-subtle); |
| 1998 | text-decoration: none; |
| 1999 | } |
| 2000 | .shithub-notifications-filter.is-selected { |
| 2001 | background: var(--canvas-subtle); |
| 2002 | font-weight: 600; |
| 2003 | } |
| 2004 | .shithub-notifications-filter.is-selected::before { |
| 2005 | content: ""; |
| 2006 | width: 4px; |
| 2007 | align-self: stretch; |
| 2008 | margin: -0.4rem 0 -0.4rem -0.65rem; |
| 2009 | border-radius: 6px 0 0 6px; |
| 2010 | background: var(--accent-emphasis); |
| 2011 | } |
| 2012 | .shithub-notifications-filter-label { |
| 2013 | display: inline-flex; |
| 2014 | align-items: center; |
| 2015 | gap: 0.45rem; |
| 2016 | min-width: 0; |
| 2017 | } |
| 2018 | .shithub-notifications-filter-label svg { |
| 2019 | color: var(--fg-muted); |
| 2020 | flex: 0 0 auto; |
| 2021 | } |
| 2022 | .shithub-notifications-filter-count { |
| 2023 | color: var(--fg-muted); |
| 2024 | font-size: 0.75rem; |
| 2025 | font-weight: 500; |
| 2026 | } |
| 2027 | .shithub-notifications-main { |
| 2028 | min-width: 0; |
| 2029 | } |
| 2030 | .shithub-notifications-head { |
| 2031 | display: flex; |
| 2032 | align-items: flex-start; |
| 2033 | justify-content: space-between; |
| 2034 | gap: 1rem; |
| 2035 | margin-bottom: 1rem; |
| 2036 | } |
| 2037 | .shithub-notifications-head h1 { |
| 2038 | margin: 0; |
| 2039 | font-size: 1.5rem; |
| 2040 | line-height: 1.25; |
| 2041 | font-weight: 600; |
| 2042 | } |
| 2043 | .shithub-notifications-head p { |
| 2044 | margin: 0.25rem 0 0; |
| 2045 | color: var(--fg-muted); |
| 2046 | font-size: 0.875rem; |
| 2047 | } |
| 2048 | .shithub-notifications-head-actions { |
| 2049 | display: flex; |
| 2050 | gap: 0.5rem; |
| 2051 | align-items: center; |
| 2052 | justify-content: flex-end; |
| 2053 | flex-wrap: wrap; |
| 2054 | } |
| 2055 | .shithub-notifications-head-actions form { |
| 2056 | margin: 0; |
| 2057 | } |
| 2058 | .shithub-notifications-toolbar { |
| 2059 | display: flex; |
| 2060 | align-items: center; |
| 2061 | justify-content: space-between; |
| 2062 | gap: 1rem; |
| 2063 | padding: 0.65rem 1rem; |
| 2064 | border: 1px solid var(--border-default); |
| 2065 | border-bottom: 0; |
| 2066 | border-radius: 6px 6px 0 0; |
| 2067 | background: var(--canvas-subtle); |
| 2068 | } |
| 2069 | .shithub-notifications-tabs { |
| 2070 | display: inline-flex; |
| 2071 | gap: 0.25rem; |
| 2072 | } |
| 2073 | .shithub-notifications-tabs a { |
| 2074 | display: inline-flex; |
| 2075 | align-items: center; |
| 2076 | min-height: 2rem; |
| 2077 | padding: 0.3rem 0.75rem; |
| 2078 | border-radius: 6px; |
| 2079 | color: var(--fg-default); |
| 2080 | font-size: 0.875rem; |
| 2081 | font-weight: 500; |
| 2082 | } |
| 2083 | .shithub-notifications-tabs a:hover { |
| 2084 | background: var(--canvas-default); |
| 2085 | text-decoration: none; |
| 2086 | } |
| 2087 | .shithub-notifications-tabs a.is-selected { |
| 2088 | background: var(--canvas-default); |
| 2089 | box-shadow: inset 0 0 0 1px var(--border-default); |
| 2090 | } |
| 2091 | .shithub-notifications-page-num { |
| 2092 | color: var(--fg-muted); |
| 2093 | font-size: 0.75rem; |
| 2094 | } |
| 2095 | .shithub-notifications-list { |
| 2096 | list-style: none; |
| 2097 | padding: 0; |
| 2098 | margin: 0; |
| 2099 | border: 1px solid var(--border-default); |
| 2100 | border-radius: 0 0 6px 6px; |
| 2101 | overflow: hidden; |
| 2102 | } |
| 2103 | .shithub-notification-row { |
| 2104 | display: grid; |
| 2105 | grid-template-columns: 12px 20px minmax(0, 1fr) auto; |
| 2106 | gap: 0.75rem; |
| 2107 | align-items: start; |
| 2108 | min-height: 76px; |
| 2109 | padding: 1rem; |
| 2110 | background: var(--canvas-default); |
| 2111 | border-top: 1px solid var(--border-default); |
| 2112 | } |
| 2113 | .shithub-notification-row:first-child { |
| 2114 | border-top: 0; |
| 2115 | } |
| 2116 | .shithub-notification-row.is-unread { |
| 2117 | background: rgba(56, 139, 253, 0.06); |
| 2118 | } |
| 2119 | .shithub-notification-unread-dot { |
| 2120 | width: 8px; |
| 2121 | height: 8px; |
| 2122 | margin-top: 0.45rem; |
| 2123 | border-radius: 50%; |
| 2124 | } |
| 2125 | .shithub-notification-row.is-unread .shithub-notification-unread-dot { |
| 2126 | background: var(--accent-emphasis); |
| 2127 | } |
| 2128 | .shithub-notification-state { |
| 2129 | display: inline-flex; |
| 2130 | align-items: center; |
| 2131 | justify-content: center; |
| 2132 | width: 20px; |
| 2133 | height: 20px; |
| 2134 | margin-top: 0.05rem; |
| 2135 | color: var(--fg-muted); |
| 2136 | } |
| 2137 | .shithub-notification-state-issue svg { color: var(--success-fg); } |
| 2138 | .shithub-notification-state-pr svg { color: var(--accent-fg); } |
| 2139 | .shithub-notification-content { |
| 2140 | min-width: 0; |
| 2141 | } |
| 2142 | .shithub-notification-context { |
| 2143 | display: flex; |
| 2144 | align-items: center; |
| 2145 | gap: 0.45rem; |
| 2146 | flex-wrap: wrap; |
| 2147 | color: var(--fg-muted); |
| 2148 | font-size: 0.75rem; |
| 2149 | } |
| 2150 | .shithub-notification-context a { |
| 2151 | color: var(--fg-default); |
| 2152 | font-weight: 600; |
| 2153 | } |
| 2154 | .shithub-notification-context span { |
| 2155 | padding: 0.05rem 0.45rem; |
| 2156 | border: 1px solid var(--border-default); |
| 2157 | border-radius: 999px; |
| 2158 | background: var(--canvas-subtle); |
| 2159 | color: var(--fg-muted); |
| 2160 | font-weight: 500; |
| 2161 | } |
| 2162 | .shithub-notification-title { |
| 2163 | margin-top: 0.2rem; |
| 2164 | color: var(--fg-default); |
| 2165 | font-size: 0.95rem; |
| 2166 | font-weight: 600; |
| 2167 | line-height: 1.35; |
| 2168 | } |
| 2169 | .shithub-notification-title a, |
| 2170 | .shithub-notification-title strong { |
| 2171 | color: var(--fg-default); |
| 2172 | } |
| 2173 | .shithub-notification-title a:hover { |
| 2174 | color: var(--accent-fg); |
| 2175 | } |
| 2176 | .shithub-notification-meta { |
| 2177 | display: flex; |
| 2178 | gap: 0.45rem; |
| 2179 | flex-wrap: wrap; |
| 2180 | margin-top: 0.35rem; |
| 2181 | color: var(--fg-muted); |
| 2182 | font-size: 0.75rem; |
| 2183 | } |
| 2184 | .shithub-notification-meta a { |
| 2185 | color: var(--fg-muted); |
| 2186 | } |
| 2187 | .shithub-notification-meta a:hover { |
| 2188 | color: var(--accent-fg); |
| 2189 | text-decoration: none; |
| 2190 | } |
| 2191 | .shithub-notification-meta > * + *::before { |
| 2192 | content: ""; |
| 2193 | display: inline-block; |
| 2194 | width: 3px; |
| 2195 | height: 3px; |
| 2196 | margin: 0 0.45rem 0 0; |
| 2197 | border-radius: 50%; |
| 2198 | background: var(--fg-muted); |
| 2199 | opacity: 0.7; |
| 2200 | vertical-align: middle; |
| 2201 | } |
| 2202 | .shithub-notification-actions { |
| 2203 | display: flex; |
| 2204 | justify-content: flex-end; |
| 2205 | } |
| 2206 | .shithub-notification-actions form { |
| 2207 | margin: 0; |
| 2208 | } |
| 2209 | .shithub-notification-actions .shithub-icon-button { |
| 2210 | background: transparent; |
| 2211 | } |
| 2212 | .shithub-notification-actions .shithub-icon-button:hover { |
| 2213 | background: var(--canvas-subtle); |
| 2214 | } |
| 2215 | .shithub-notifications-pagination { |
| 2216 | display: flex; |
| 2217 | justify-content: center; |
| 2218 | gap: 0.5rem; |
| 2219 | padding: 1rem 0 0; |
| 2220 | } |
| 2221 | .shithub-notifications-empty { |
| 2222 | display: grid; |
| 2223 | justify-items: center; |
| 2224 | gap: 0.4rem; |
| 2225 | padding: 3rem 1rem; |
| 2226 | border: 1px solid var(--border-default); |
| 2227 | border-radius: 0 0 6px 6px; |
| 2228 | color: var(--fg-muted); |
| 2229 | text-align: center; |
| 2230 | } |
| 2231 | .shithub-notifications-empty-icon { |
| 2232 | display: inline-flex; |
| 2233 | align-items: center; |
| 2234 | justify-content: center; |
| 2235 | width: 48px; |
| 2236 | height: 48px; |
| 2237 | border: 1px solid var(--border-default); |
| 2238 | border-radius: 50%; |
| 2239 | color: var(--fg-muted); |
| 2240 | } |
| 2241 | .shithub-notifications-empty-icon svg { |
| 2242 | width: 24px; |
| 2243 | height: 24px; |
| 2244 | } |
| 2245 | .shithub-notifications-empty h2 { |
| 2246 | margin: 0.25rem 0 0; |
| 2247 | color: var(--fg-default); |
| 2248 | font-size: 1rem; |
| 2249 | } |
| 2250 | .shithub-notifications-empty p { |
| 2251 | margin: 0; |
| 2252 | font-size: 0.875rem; |
| 2253 | } |
| 2254 | @media (max-width: 760px) { |
| 2255 | .shithub-notifications-page { |
| 2256 | padding: 1rem; |
| 2257 | } |
| 2258 | .shithub-notifications-shell { |
| 2259 | grid-template-columns: 1fr; |
| 2260 | gap: 1rem; |
| 2261 | } |
| 2262 | .shithub-notifications-sidebar { |
| 2263 | position: static; |
| 2264 | } |
| 2265 | .shithub-notifications-filter-list { |
| 2266 | flex-direction: row; |
| 2267 | gap: 0.25rem; |
| 2268 | overflow-x: auto; |
| 2269 | padding-bottom: 0.25rem; |
| 2270 | } |
| 2271 | .shithub-notifications-filter { |
| 2272 | flex: 0 0 auto; |
| 2273 | } |
| 2274 | .shithub-notifications-filter.is-selected::before { |
| 2275 | display: none; |
| 2276 | } |
| 2277 | .shithub-notifications-head, |
| 2278 | .shithub-notifications-toolbar { |
| 2279 | align-items: stretch; |
| 2280 | flex-direction: column; |
| 2281 | } |
| 2282 | .shithub-notifications-head-actions { |
| 2283 | justify-content: flex-start; |
| 2284 | } |
| 2285 | .shithub-notification-row { |
| 2286 | grid-template-columns: 12px 20px minmax(0, 1fr); |
| 2287 | } |
| 2288 | .shithub-notification-actions { |
| 2289 | grid-column: 3; |
| 2290 | justify-content: flex-start; |
| 2291 | } |
| 2292 | } |
| 2293 | |
| 2294 | .shithub-session-meta { |
| 2295 | display: grid; |
| 2296 | grid-template-columns: max-content 1fr; |
| 2297 | gap: 0.25rem 1rem; |
| 2298 | margin: 0; |
| 2299 | } |
| 2300 | .shithub-session-meta dt { color: var(--fg-muted); font-weight: 500; } |
| 2301 | .shithub-session-meta dd { margin: 0; word-break: break-all; } |
| 2302 | |
| 2303 | /* ----- repo create + empty home (S11) ----- */ |
| 2304 | .shithub-repo-new { |
| 2305 | max-width: 48rem; |
| 2306 | margin: 2rem auto 5rem; |
| 2307 | padding: 0 1rem; |
| 2308 | } |
| 2309 | .shithub-repo-new-head { |
| 2310 | margin: 0 0 1.25rem 3rem; |
| 2311 | } |
| 2312 | .shithub-repo-new h1 { |
| 2313 | margin: 0; |
| 2314 | font-size: 1.5rem; |
| 2315 | line-height: 1.25; |
| 2316 | font-weight: 600; |
| 2317 | } |
| 2318 | .shithub-repo-new-head p { |
| 2319 | margin: 0.25rem 0 0; |
| 2320 | color: var(--fg-muted); |
| 2321 | font-size: 0.875rem; |
| 2322 | } |
| 2323 | .shithub-repo-new-required { |
| 2324 | font-style: italic; |
| 2325 | } |
| 2326 | .shithub-repo-new-form { |
| 2327 | display: grid; |
| 2328 | gap: 1.5rem; |
| 2329 | } |
| 2330 | .shithub-repo-new-step { |
| 2331 | display: grid; |
| 2332 | grid-template-columns: 2rem minmax(0, 1fr); |
| 2333 | gap: 1rem; |
| 2334 | position: relative; |
| 2335 | } |
| 2336 | .shithub-repo-new-step::before { |
| 2337 | content: ""; |
| 2338 | position: absolute; |
| 2339 | left: 1rem; |
| 2340 | top: 2rem; |
| 2341 | bottom: -1.5rem; |
| 2342 | width: 1px; |
| 2343 | background: var(--border-muted); |
| 2344 | } |
| 2345 | .shithub-repo-new-step:last-of-type::before { |
| 2346 | display: none; |
| 2347 | } |
| 2348 | .shithub-repo-new-step-marker { |
| 2349 | position: relative; |
| 2350 | z-index: 1; |
| 2351 | display: inline-flex; |
| 2352 | align-items: center; |
| 2353 | justify-content: center; |
| 2354 | width: 1.5rem; |
| 2355 | height: 1.5rem; |
| 2356 | margin: 0.1rem auto 0; |
| 2357 | border-radius: 50%; |
| 2358 | background: var(--canvas-subtle); |
| 2359 | border: 1px solid var(--border-muted); |
| 2360 | color: var(--fg-muted); |
| 2361 | font-size: 0.75rem; |
| 2362 | font-weight: 600; |
| 2363 | } |
| 2364 | .shithub-repo-new-step-body { |
| 2365 | min-width: 0; |
| 2366 | } |
| 2367 | .shithub-repo-new-step-body h2 { |
| 2368 | margin: 0 0 0.75rem; |
| 2369 | font-size: 1rem; |
| 2370 | line-height: 1.5; |
| 2371 | font-weight: 600; |
| 2372 | } |
| 2373 | .shithub-repo-new-form label { |
| 2374 | font-size: 0.875rem; |
| 2375 | font-weight: 600; |
| 2376 | } |
| 2377 | .shithub-repo-new-form input[type=text], |
| 2378 | .shithub-repo-new-form select, |
| 2379 | .shithub-repo-new-form textarea { |
| 2380 | font: inherit; |
| 2381 | width: 100%; |
| 2382 | min-height: 2rem; |
| 2383 | padding: 0.35rem 0.5rem; |
| 2384 | border-radius: 6px; |
| 2385 | } |
| 2386 | .shithub-repo-new-form em { color: #cf222e; font-style: normal; } |
| 2387 | .shithub-repo-new-form small { |
| 2388 | display: block; |
| 2389 | font-weight: 400; |
| 2390 | color: var(--fg-muted); |
| 2391 | font-size: 0.75rem; |
| 2392 | } |
| 2393 | .shithub-repo-new-owner-row { |
| 2394 | display: grid; |
| 2395 | grid-template-columns: minmax(9rem, 11rem) max-content minmax(12rem, 1fr); |
| 2396 | gap: 0.5rem; |
| 2397 | align-items: end; |
| 2398 | } |
| 2399 | .shithub-repo-new-owner, |
| 2400 | .shithub-repo-new-name, |
| 2401 | .shithub-repo-new-description { |
| 2402 | display: grid; |
| 2403 | gap: 0.25rem; |
| 2404 | } |
| 2405 | .shithub-repo-new-sep { |
| 2406 | padding-bottom: 0.25rem; |
| 2407 | color: var(--fg-muted); |
| 2408 | font-size: 1.25rem; |
| 2409 | } |
| 2410 | .shithub-repo-new-hint { |
| 2411 | margin: 0.5rem 0 1rem; |
| 2412 | color: var(--fg-muted); |
| 2413 | font-size: 0.875rem; |
| 2414 | } |
| 2415 | .shithub-repo-new-hint strong { |
| 2416 | color: var(--success-fg); |
| 2417 | } |
| 2418 | .shithub-repo-new-config { |
| 2419 | border: 1px solid var(--border-default); |
| 2420 | border-radius: 6px; |
| 2421 | overflow: hidden; |
| 2422 | background: var(--canvas-default); |
| 2423 | } |
| 2424 | .shithub-repo-new-config-row { |
| 2425 | margin: 0; |
| 2426 | display: grid; |
| 2427 | grid-template-columns: minmax(0, 1fr) minmax(8.5rem, max-content); |
| 2428 | gap: 1rem; |
| 2429 | align-items: center; |
| 2430 | padding: 0.75rem; |
| 2431 | border-top: 1px solid var(--border-muted); |
| 2432 | } |
| 2433 | .shithub-repo-new-config-row:first-child { |
| 2434 | border-top: 0; |
| 2435 | } |
| 2436 | .shithub-repo-new-config-row strong { |
| 2437 | display: block; |
| 2438 | font-size: 0.875rem; |
| 2439 | } |
| 2440 | .shithub-repo-new-config-row select { |
| 2441 | max-width: 11rem; |
| 2442 | } |
| 2443 | .shithub-repo-new-toggle { |
| 2444 | display: inline-flex; |
| 2445 | justify-self: end; |
| 2446 | align-items: center; |
| 2447 | gap: 0.4rem; |
| 2448 | color: var(--fg-muted); |
| 2449 | font-size: 0.75rem; |
| 2450 | font-weight: 600; |
| 2451 | } |
| 2452 | .shithub-repo-new-toggle input { |
| 2453 | width: 1.9rem; |
| 2454 | height: 1rem; |
| 2455 | margin: 0; |
| 2456 | accent-color: var(--success-emphasis); |
| 2457 | } |
| 2458 | .shithub-repo-new-form > .shithub-button-primary { |
| 2459 | justify-self: end; |
| 2460 | margin-right: 0; |
| 2461 | } |
| 2462 | @media (max-width: 640px) { |
| 2463 | .shithub-repo-new-head { |
| 2464 | margin-left: 0; |
| 2465 | } |
| 2466 | .shithub-repo-new-step { |
| 2467 | grid-template-columns: minmax(0, 1fr); |
| 2468 | } |
| 2469 | .shithub-repo-new-step::before, |
| 2470 | .shithub-repo-new-step-marker, |
| 2471 | .shithub-repo-new-sep { |
| 2472 | display: none; |
| 2473 | } |
| 2474 | .shithub-repo-new-owner-row, |
| 2475 | .shithub-repo-new-config-row { |
| 2476 | grid-template-columns: minmax(0, 1fr); |
| 2477 | } |
| 2478 | .shithub-repo-new-config-row select { |
| 2479 | max-width: none; |
| 2480 | } |
| 2481 | .shithub-repo-new-toggle { |
| 2482 | justify-self: start; |
| 2483 | } |
| 2484 | .shithub-repo-new-form > .shithub-button-primary { |
| 2485 | justify-self: stretch; |
| 2486 | } |
| 2487 | } |
| 2488 | |
| 2489 | .shithub-repo-empty { |
| 2490 | max-width: 56rem; |
| 2491 | margin: 0; |
| 2492 | padding: 0; |
| 2493 | } |
| 2494 | .shithub-repo-empty-desc { |
| 2495 | margin: 0 0 1rem; |
| 2496 | color: var(--fg-muted); |
| 2497 | } |
| 2498 | .shithub-pill-private { background: rgba(187, 128, 9, 0.15); border-color: rgba(187, 128, 9, 0.4); } |
| 2499 | .shithub-repo-empty-quickstart { |
| 2500 | margin-top: 1rem; |
| 2501 | padding: 1.25rem; |
| 2502 | border: 1px solid var(--border-default); |
| 2503 | border-radius: 8px; |
| 2504 | background: var(--canvas-subtle); |
| 2505 | } |
| 2506 | .shithub-repo-empty-quickstart h2 { margin: 0 0 0.5rem; font-size: 1rem; } |
| 2507 | .shithub-repo-empty-quickstart h3 { margin: 1.25rem 0 0.5rem; font-size: 0.9rem; font-weight: 600; } |
| 2508 | .shithub-repo-empty-clone { display: grid; gap: 0.5rem; margin: 0.75rem 0; } |
| 2509 | .shithub-repo-empty-clone label { display: grid; grid-template-columns: 70px 1fr; gap: 0.5rem; align-items: center; } |
| 2510 | .shithub-repo-empty-clone span { font-size: 0.8rem; color: var(--fg-muted); font-weight: 600; } |
| 2511 | .shithub-repo-empty-clone input { |
| 2512 | font: inherit; |
| 2513 | font-family: monospace; |
| 2514 | font-size: 0.85rem; |
| 2515 | padding: 0.5rem 0.75rem; |
| 2516 | border: 1px solid var(--border-default); |
| 2517 | border-radius: 6px; |
| 2518 | background: var(--canvas-default); |
| 2519 | } |
| 2520 | .shithub-repo-empty-quickstart pre { |
| 2521 | padding: 0.75rem 1rem; |
| 2522 | border: 1px solid var(--border-default); |
| 2523 | border-radius: 6px; |
| 2524 | background: var(--canvas-default); |
| 2525 | font-size: 0.85rem; |
| 2526 | overflow-x: auto; |
| 2527 | } |
| 2528 | |
| 2529 | /* Populated-repo placeholder (S17 will replace with real tree view) */ |
| 2530 | .shithub-repo-populated { |
| 2531 | max-width: 56rem; |
| 2532 | margin: 2rem auto; |
| 2533 | padding: 0 1rem; |
| 2534 | } |
| 2535 | .shithub-repo-populated-head h1 { |
| 2536 | margin: 0 0 0.5rem; |
| 2537 | font-size: 1.4rem; |
| 2538 | font-weight: 400; |
| 2539 | display: flex; |
| 2540 | align-items: center; |
| 2541 | gap: 0.4rem; |
| 2542 | } |
| 2543 | .shithub-repo-populated-sep { color: var(--fg-muted); } |
| 2544 | .shithub-repo-populated-desc { margin: 0 0 1rem; color: var(--fg-muted); } |
| 2545 | .shithub-repo-headcommit { |
| 2546 | margin-top: 1rem; |
| 2547 | padding: 0.85rem 1rem; |
| 2548 | border: 1px solid var(--border-default); |
| 2549 | border-radius: 8px; |
| 2550 | background: var(--canvas-subtle); |
| 2551 | } |
| 2552 | .shithub-repo-headcommit-meta { |
| 2553 | display: flex; |
| 2554 | flex-wrap: wrap; |
| 2555 | gap: 0.75rem; |
| 2556 | font-size: 0.85rem; |
| 2557 | color: var(--fg-muted); |
| 2558 | align-items: center; |
| 2559 | } |
| 2560 | .shithub-repo-headcommit-branch { |
| 2561 | font-weight: 600; |
| 2562 | color: var(--fg-default); |
| 2563 | padding: 0.1rem 0.5rem; |
| 2564 | border: 1px solid var(--border-default); |
| 2565 | border-radius: 999px; |
| 2566 | background: var(--canvas-default); |
| 2567 | font-size: 0.75rem; |
| 2568 | } |
| 2569 | .shithub-repo-headcommit-oid { font-family: monospace; } |
| 2570 | .shithub-repo-headcommit-author { color: var(--fg-default); } |
| 2571 | .shithub-repo-headcommit-subject { margin: 0.5rem 0 0; font-size: 0.95rem; } |
| 2572 | .shithub-repo-headcommit-other-branch p { margin: 0; font-size: 0.9rem; color: var(--fg-muted); } |
| 2573 | .shithub-repo-populated-clone { |
| 2574 | margin-top: 1rem; |
| 2575 | display: grid; |
| 2576 | gap: 0.5rem; |
| 2577 | } |
| 2578 | .shithub-repo-populated-clone label { display: grid; grid-template-columns: 70px 1fr; gap: 0.5rem; align-items: center; } |
| 2579 | .shithub-repo-populated-clone span { font-size: 0.8rem; color: var(--fg-muted); font-weight: 600; } |
| 2580 | .shithub-repo-populated-clone input { |
| 2581 | font: inherit; |
| 2582 | font-family: monospace; |
| 2583 | font-size: 0.85rem; |
| 2584 | padding: 0.5rem 0.75rem; |
| 2585 | border: 1px solid var(--border-default); |
| 2586 | border-radius: 6px; |
| 2587 | background: var(--canvas-default); |
| 2588 | } |
| 2589 | .shithub-repo-populated-note { margin-top: 1rem; font-size: 0.8rem; color: var(--fg-muted); } |
| 2590 | |
| 2591 | /* ========== Code tab (S17) ========== */ |
| 2592 | /* The repo-page wrapper drives the outer width — every code/blob/list |
| 2593 | view now gets the same wide container with consistent gutters, |
| 2594 | matching GitHub's full-width code layout. The inner sections used |
| 2595 | to set their own max-widths and pinched the layout into a narrow |
| 2596 | column. */ |
| 2597 | .shithub-repo-page { |
| 2598 | max-width: 1280px; |
| 2599 | margin: 1rem auto 2rem; |
| 2600 | padding: 0 1.25rem; |
| 2601 | } |
| 2602 | .shithub-code, .shithub-blob, .shithub-finder { |
| 2603 | margin: 0; |
| 2604 | padding: 0; |
| 2605 | } |
| 2606 | /* Code body (tree + blob source) sits in a bordered panel so it |
| 2607 | reads as a distinct surface — matches the panelled "Code" view in |
| 2608 | the GitHub reference screenshots. */ |
| 2609 | .shithub-blob-source { |
| 2610 | border: 1px solid var(--border-default); |
| 2611 | border-radius: 6px; |
| 2612 | background: var(--canvas-subtle); |
| 2613 | overflow-x: auto; |
| 2614 | } |
| 2615 | .shithub-blob-source { background: var(--canvas-default); } |
| 2616 | .shithub-code-head { |
| 2617 | display: flex; |
| 2618 | align-items: center; |
| 2619 | justify-content: space-between; |
| 2620 | gap: 0.75rem; |
| 2621 | margin-bottom: 0.75rem; |
| 2622 | flex-wrap: wrap; |
| 2623 | } |
| 2624 | .shithub-code-crumbs { font-size: 1rem; } |
| 2625 | .shithub-code-crumbs a { color: var(--fg-default); } |
| 2626 | .shithub-code-sep { color: var(--fg-muted); margin: 0 0.25rem; } |
| 2627 | .shithub-code-actions { |
| 2628 | display: flex; |
| 2629 | gap: 0.5rem; |
| 2630 | align-items: center; |
| 2631 | min-width: min(100%, 420px); |
| 2632 | justify-content: flex-end; |
| 2633 | flex: 1 1 360px; |
| 2634 | } |
| 2635 | .shithub-code-primary-actions { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; } |
| 2636 | .shithub-code-count { color: var(--fg-muted); display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.9rem; } |
| 2637 | .shithub-go-to-file { |
| 2638 | display: inline-grid; |
| 2639 | grid-template-columns: 16px minmax(0, 1fr) auto; |
| 2640 | align-items: center; |
| 2641 | gap: 0.45rem; |
| 2642 | min-width: min(100%, 220px); |
| 2643 | height: 32px; |
| 2644 | padding: 0 0.55rem; |
| 2645 | border: 1px solid var(--border-default); |
| 2646 | border-radius: 6px; |
| 2647 | background: var(--canvas-default); |
| 2648 | color: var(--fg-muted); |
| 2649 | font-size: 0.875rem; |
| 2650 | } |
| 2651 | .shithub-go-to-file:hover { |
| 2652 | border-color: var(--accent-fg); |
| 2653 | text-decoration: none; |
| 2654 | } |
| 2655 | .shithub-go-to-file span { |
| 2656 | overflow: hidden; |
| 2657 | text-overflow: ellipsis; |
| 2658 | white-space: nowrap; |
| 2659 | } |
| 2660 | .shithub-go-to-file kbd { |
| 2661 | min-width: 1.25rem; |
| 2662 | padding: 0 0.3rem; |
| 2663 | border: 1px solid var(--border-default); |
| 2664 | border-radius: 4px; |
| 2665 | color: var(--fg-muted); |
| 2666 | background: var(--canvas-subtle); |
| 2667 | font: 0.75rem ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; |
| 2668 | text-align: center; |
| 2669 | } |
| 2670 | |
| 2671 | .shithub-ref-switcher { position: relative; } |
| 2672 | .shithub-ref-switcher > summary { |
| 2673 | list-style: none; |
| 2674 | display: inline-flex; |
| 2675 | align-items: center; |
| 2676 | gap: 0.35rem; |
| 2677 | padding: 0.3rem 0.7rem; |
| 2678 | border: 1px solid var(--border-default); |
| 2679 | border-radius: 6px; |
| 2680 | cursor: pointer; |
| 2681 | font-size: 0.875rem; |
| 2682 | } |
| 2683 | .shithub-ref-switcher > summary::-webkit-details-marker { display: none; } |
| 2684 | .shithub-ref-panel { |
| 2685 | position: absolute; |
| 2686 | z-index: 30; |
| 2687 | top: calc(100% + 0.4rem); |
| 2688 | left: 0; |
| 2689 | min-width: 220px; |
| 2690 | max-height: 360px; |
| 2691 | overflow-y: auto; |
| 2692 | background: var(--canvas-default); |
| 2693 | border: 1px solid var(--border-default); |
| 2694 | border-radius: 6px; |
| 2695 | padding: 0.5rem; |
| 2696 | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); |
| 2697 | } |
| 2698 | .shithub-ref-panel a { |
| 2699 | display: block; |
| 2700 | padding: 0.3rem 0.4rem; |
| 2701 | color: var(--fg-default); |
| 2702 | font-size: 0.875rem; |
| 2703 | } |
| 2704 | .shithub-ref-panel strong { display: block; margin: 0.4rem 0 0.2rem; font-size: 0.75rem; color: var(--fg-muted); text-transform: uppercase; } |
| 2705 | |
| 2706 | .shithub-clone-dropdown { position: relative; } |
| 2707 | .shithub-clone-dropdown > summary { list-style: none; display: inline-flex; align-items: center; gap: 0.35rem; cursor: pointer; height: 32px; white-space: nowrap; } |
| 2708 | .shithub-clone-dropdown > summary svg:last-child { width: 12px; height: 12px; } |
| 2709 | .shithub-clone-dropdown > summary::-webkit-details-marker { display: none; } |
| 2710 | .shithub-clone-panel { |
| 2711 | position: absolute; |
| 2712 | z-index: 30; |
| 2713 | top: calc(100% + 0.4rem); |
| 2714 | right: 0; |
| 2715 | min-width: 320px; |
| 2716 | background: var(--canvas-default); |
| 2717 | border: 1px solid var(--border-default); |
| 2718 | border-radius: 6px; |
| 2719 | padding: 0.75rem; |
| 2720 | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); |
| 2721 | } |
| 2722 | .shithub-clone-row + .shithub-clone-row { margin-top: 0.6rem; } |
| 2723 | .shithub-clone-row label { display: block; font-size: 0.75rem; color: var(--fg-muted); margin-bottom: 0.25rem; } |
| 2724 | .shithub-clone-input { display: flex; gap: 0.4rem; } |
| 2725 | .shithub-clone-input input { |
| 2726 | flex: 1; |
| 2727 | padding: 0.3rem 0.5rem; |
| 2728 | font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; |
| 2729 | font-size: 0.8rem; |
| 2730 | border: 1px solid var(--border-default); |
| 2731 | border-radius: 4px; |
| 2732 | background: var(--canvas-subtle); |
| 2733 | color: var(--fg-default); |
| 2734 | } |
| 2735 | .shithub-clone-input button { padding: 0.3rem 0.5rem; } |
| 2736 | .shithub-clone-hint { margin: 0.6rem 0 0; font-size: 0.75rem; color: var(--fg-muted); } |
| 2737 | |
| 2738 | .shithub-add-file-dropdown { position: relative; } |
| 2739 | .shithub-add-file-dropdown > summary { |
| 2740 | list-style: none; |
| 2741 | height: 32px; |
| 2742 | white-space: nowrap; |
| 2743 | } |
| 2744 | .shithub-add-file-dropdown > summary::-webkit-details-marker { display: none; } |
| 2745 | .shithub-add-file-dropdown > summary svg:last-child { width: 12px; height: 12px; } |
| 2746 | .shithub-add-file-panel { |
| 2747 | position: absolute; |
| 2748 | z-index: 30; |
| 2749 | top: calc(100% + 0.4rem); |
| 2750 | right: 0; |
| 2751 | min-width: 190px; |
| 2752 | padding: 0.4rem; |
| 2753 | border: 1px solid var(--border-default); |
| 2754 | border-radius: 6px; |
| 2755 | background: var(--canvas-default); |
| 2756 | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); |
| 2757 | } |
| 2758 | .shithub-add-file-panel a { |
| 2759 | display: flex; |
| 2760 | align-items: center; |
| 2761 | gap: 0.5rem; |
| 2762 | padding: 0.45rem 0.55rem; |
| 2763 | border-radius: 6px; |
| 2764 | color: var(--fg-default); |
| 2765 | font-size: 0.875rem; |
| 2766 | text-decoration: none; |
| 2767 | } |
| 2768 | .shithub-add-file-panel a:hover { |
| 2769 | background: var(--canvas-subtle); |
| 2770 | text-decoration: none; |
| 2771 | } |
| 2772 | |
| 2773 | /* Profile sub-nav (S30) — Overview / Repositories / Stars tabs. */ |
| 2774 | .shithub-profile-tabs { |
| 2775 | display: flex; |
| 2776 | gap: 0.25rem; |
| 2777 | margin: 1rem 0 1.25rem; |
| 2778 | border-bottom: 1px solid var(--border-default); |
| 2779 | } |
| 2780 | .shithub-profile-tab { |
| 2781 | display: inline-flex; |
| 2782 | align-items: center; |
| 2783 | gap: 0.4rem; |
| 2784 | padding: 0.6rem 0.85rem; |
| 2785 | color: var(--fg-default); |
| 2786 | border-bottom: 2px solid transparent; |
| 2787 | font-size: 0.9rem; |
| 2788 | text-decoration: none; |
| 2789 | position: relative; |
| 2790 | bottom: -1px; |
| 2791 | } |
| 2792 | .shithub-profile-tab:hover { background: var(--canvas-subtle); border-radius: 6px 6px 0 0; } |
| 2793 | .shithub-profile-tab.is-active { border-bottom-color: var(--accent-emphasis, #fd8c73); font-weight: 600; } |
| 2794 | .shithub-tab-count { |
| 2795 | display: inline-block; |
| 2796 | padding: 0.05rem 0.45rem; |
| 2797 | border-radius: 999px; |
| 2798 | background: var(--canvas-subtle); |
| 2799 | border: 1px solid var(--border-default); |
| 2800 | font-size: 0.75rem; |
| 2801 | color: var(--fg-muted); |
| 2802 | } |
| 2803 | |
| 2804 | .shithub-profile-tab-container { |
| 2805 | max-width: 1280px; |
| 2806 | margin: 0 auto; |
| 2807 | padding: 2rem; |
| 2808 | display: grid; |
| 2809 | grid-template-columns: 260px minmax(0, 1fr); |
| 2810 | gap: 2rem; |
| 2811 | } |
| 2812 | .shithub-profile-tab-sidebar { |
| 2813 | color: var(--fg-muted); |
| 2814 | } |
| 2815 | .shithub-profile-tab-avatar { |
| 2816 | width: 96px; |
| 2817 | height: 96px; |
| 2818 | border-radius: 50%; |
| 2819 | border: 1px solid var(--border-default); |
| 2820 | background: var(--canvas-subtle); |
| 2821 | } |
| 2822 | .shithub-profile-tab-sidebar h1 { |
| 2823 | margin: 0.75rem 0 0.15rem; |
| 2824 | font-size: 1.25rem; |
| 2825 | color: var(--fg-default); |
| 2826 | } |
| 2827 | .shithub-profile-tab-sidebar p { |
| 2828 | margin: 0; |
| 2829 | } |
| 2830 | .shithub-follow-list-head { |
| 2831 | border-bottom: 1px solid var(--border-default); |
| 2832 | padding-bottom: 0.75rem; |
| 2833 | } |
| 2834 | .shithub-follow-list-head h2 { |
| 2835 | margin: 0; |
| 2836 | font-size: 1.25rem; |
| 2837 | } |
| 2838 | .shithub-follow-list { |
| 2839 | list-style: none; |
| 2840 | margin: 0; |
| 2841 | padding: 0; |
| 2842 | } |
| 2843 | .shithub-follow-list-row { |
| 2844 | display: flex; |
| 2845 | gap: 0.9rem; |
| 2846 | padding: 1rem 0; |
| 2847 | border-bottom: 1px solid var(--border-default); |
| 2848 | } |
| 2849 | .shithub-follow-avatar img { |
| 2850 | width: 48px; |
| 2851 | height: 48px; |
| 2852 | border-radius: 50%; |
| 2853 | display: block; |
| 2854 | border: 1px solid var(--border-default); |
| 2855 | } |
| 2856 | .shithub-follow-list-body { |
| 2857 | min-width: 0; |
| 2858 | display: grid; |
| 2859 | gap: 0.15rem; |
| 2860 | } |
| 2861 | .shithub-follow-list-name { |
| 2862 | font-weight: 600; |
| 2863 | color: var(--fg-default); |
| 2864 | } |
| 2865 | .shithub-follow-list-handle { |
| 2866 | color: var(--fg-muted); |
| 2867 | } |
| 2868 | .shithub-follow-empty { |
| 2869 | margin-top: 1rem; |
| 2870 | } |
| 2871 | .shithub-follow-empty h3 { |
| 2872 | margin: 0; |
| 2873 | font-size: 1rem; |
| 2874 | } |
| 2875 | |
| 2876 | /* Repositories tab list. */ |
| 2877 | .shithub-repo-list { list-style: none; padding: 0; margin: 0; } |
| 2878 | .shithub-repo-list-row { |
| 2879 | padding: 1rem 0; |
| 2880 | border-bottom: 1px solid var(--border-default); |
| 2881 | } |
| 2882 | .shithub-repo-list-name { margin: 0; font-size: 1.1rem; display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; } |
| 2883 | .shithub-repo-list-name a { color: var(--accent-fg, #4493f8); } |
| 2884 | .shithub-repo-list-meta { color: var(--fg-muted); font-size: 0.8rem; display: flex; gap: 1rem; flex-wrap: wrap; margin: 0.4rem 0 0; } |
| 2885 | .shithub-pill-archived { background: #ffd35a; color: #3b2300; } |
| 2886 | |
| 2887 | /* Organization overview. Mirrors GitHub's org homepage density: |
| 2888 | identity header, underline nav, two-column content, and a right rail. */ |
| 2889 | .shithub-org-profile { |
| 2890 | max-width: 1280px; |
| 2891 | margin: 0 auto; |
| 2892 | } |
| 2893 | .shithub-org-hero { |
| 2894 | padding: 1.5rem 1rem 0; |
| 2895 | } |
| 2896 | .shithub-org-hero-inner { |
| 2897 | display: grid; |
| 2898 | grid-template-columns: 96px minmax(0, 1fr) auto; |
| 2899 | gap: 1.25rem; |
| 2900 | align-items: start; |
| 2901 | } |
| 2902 | .shithub-org-avatar { |
| 2903 | width: 96px; |
| 2904 | height: 96px; |
| 2905 | border-radius: 6px; |
| 2906 | border: 1px solid var(--border-default); |
| 2907 | background: var(--canvas-subtle); |
| 2908 | } |
| 2909 | .shithub-org-identity h1 { |
| 2910 | margin: 0; |
| 2911 | font-size: 1.5rem; |
| 2912 | line-height: 1.25; |
| 2913 | } |
| 2914 | .shithub-org-handle { |
| 2915 | margin: 0.15rem 0 0.65rem; |
| 2916 | color: var(--fg-muted); |
| 2917 | font-size: 1rem; |
| 2918 | } |
| 2919 | .shithub-org-bio { |
| 2920 | max-width: 760px; |
| 2921 | margin: 0 0 0.75rem; |
| 2922 | color: var(--fg-default); |
| 2923 | } |
| 2924 | .shithub-org-meta { |
| 2925 | display: flex; |
| 2926 | flex-wrap: wrap; |
| 2927 | gap: 0.55rem 1rem; |
| 2928 | list-style: none; |
| 2929 | padding: 0; |
| 2930 | margin: 0; |
| 2931 | color: var(--fg-muted); |
| 2932 | font-size: 0.875rem; |
| 2933 | } |
| 2934 | .shithub-org-meta li, |
| 2935 | .shithub-org-meta a, |
| 2936 | .shithub-org-repo-meta span, |
| 2937 | .shithub-org-repo-meta time { |
| 2938 | display: inline-flex; |
| 2939 | align-items: center; |
| 2940 | gap: 0.35rem; |
| 2941 | } |
| 2942 | .shithub-org-meta svg { |
| 2943 | flex: 0 0 auto; |
| 2944 | } |
| 2945 | .shithub-org-hero-actions { |
| 2946 | display: flex; |
| 2947 | gap: 0.5rem; |
| 2948 | } |
| 2949 | .shithub-org-nav { |
| 2950 | display: flex; |
| 2951 | gap: 0.15rem; |
| 2952 | padding: 1rem 1rem 0; |
| 2953 | margin-top: 1.25rem; |
| 2954 | overflow-x: auto; |
| 2955 | overflow-y: hidden; |
| 2956 | border-bottom: 1px solid var(--border-default); |
| 2957 | scrollbar-width: none; |
| 2958 | } |
| 2959 | .shithub-org-nav::-webkit-scrollbar { |
| 2960 | display: none; |
| 2961 | } |
| 2962 | .shithub-org-nav-item { |
| 2963 | display: inline-flex; |
| 2964 | align-items: center; |
| 2965 | gap: 0.4rem; |
| 2966 | flex: 0 0 auto; |
| 2967 | padding: 0.65rem 0.75rem; |
| 2968 | color: var(--fg-default); |
| 2969 | border-bottom: 2px solid transparent; |
| 2970 | font-size: 0.875rem; |
| 2971 | white-space: nowrap; |
| 2972 | } |
| 2973 | .shithub-org-nav-item:hover { |
| 2974 | background: var(--canvas-subtle); |
| 2975 | border-radius: 6px 6px 0 0; |
| 2976 | text-decoration: none; |
| 2977 | } |
| 2978 | .shithub-org-nav-item.is-active { |
| 2979 | border-bottom-color: #fd8c73; |
| 2980 | font-weight: 600; |
| 2981 | } |
| 2982 | .shithub-org-nav-item.is-disabled { |
| 2983 | color: var(--fg-muted); |
| 2984 | cursor: default; |
| 2985 | } |
| 2986 | .shithub-org-nav-item.is-disabled:hover { |
| 2987 | background: transparent; |
| 2988 | border-radius: 0; |
| 2989 | } |
| 2990 | .shithub-org-layout { |
| 2991 | display: grid; |
| 2992 | grid-template-columns: minmax(0, 2fr) minmax(260px, 0.72fr); |
| 2993 | gap: 2rem; |
| 2994 | padding: 1.5rem 1rem 2rem; |
| 2995 | } |
| 2996 | .shithub-org-main { |
| 2997 | min-width: 0; |
| 2998 | } |
| 2999 | .shithub-org-section-head { |
| 3000 | display: flex; |
| 3001 | align-items: center; |
| 3002 | justify-content: space-between; |
| 3003 | gap: 1rem; |
| 3004 | margin-bottom: 0.75rem; |
| 3005 | } |
| 3006 | .shithub-org-section-head h2, |
| 3007 | .shithub-org-repo-head h2, |
| 3008 | .shithub-org-sidebox h2 { |
| 3009 | margin: 0; |
| 3010 | font-size: 1rem; |
| 3011 | font-weight: 600; |
| 3012 | } |
| 3013 | .shithub-org-pinned-grid { |
| 3014 | display: grid; |
| 3015 | grid-template-columns: repeat(2, minmax(0, 1fr)); |
| 3016 | gap: 0.75rem; |
| 3017 | list-style: none; |
| 3018 | padding: 0; |
| 3019 | margin: 0 0 1.5rem; |
| 3020 | } |
| 3021 | .shithub-org-pin-card { |
| 3022 | display: flex; |
| 3023 | min-height: 116px; |
| 3024 | flex-direction: column; |
| 3025 | justify-content: space-between; |
| 3026 | padding: 1rem; |
| 3027 | border: 1px solid var(--border-default); |
| 3028 | border-radius: 6px; |
| 3029 | background: var(--canvas-default); |
| 3030 | } |
| 3031 | .shithub-org-pin-title { |
| 3032 | display: flex; |
| 3033 | align-items: center; |
| 3034 | gap: 0.45rem; |
| 3035 | min-width: 0; |
| 3036 | font-weight: 600; |
| 3037 | } |
| 3038 | .shithub-org-pin-title a { |
| 3039 | overflow-wrap: anywhere; |
| 3040 | } |
| 3041 | .shithub-org-pin-icon { |
| 3042 | display: inline-flex; |
| 3043 | color: var(--fg-muted); |
| 3044 | flex: 0 0 auto; |
| 3045 | } |
| 3046 | .shithub-org-pin-card p { |
| 3047 | margin: 0.65rem 0; |
| 3048 | color: var(--fg-muted); |
| 3049 | font-size: 0.875rem; |
| 3050 | } |
| 3051 | .shithub-org-repo-head { |
| 3052 | display: grid; |
| 3053 | grid-template-columns: minmax(160px, 1fr) minmax(200px, 1.2fr) auto; |
| 3054 | gap: 0.75rem; |
| 3055 | align-items: center; |
| 3056 | margin-bottom: 0.75rem; |
| 3057 | } |
| 3058 | .shithub-org-repo-head h2 { |
| 3059 | display: inline-flex; |
| 3060 | align-items: center; |
| 3061 | gap: 0.4rem; |
| 3062 | } |
| 3063 | .shithub-org-repo-search input { |
| 3064 | width: 100%; |
| 3065 | min-height: 34px; |
| 3066 | padding: 0.35rem 0.75rem; |
| 3067 | border: 1px solid var(--border-default); |
| 3068 | border-radius: 6px; |
| 3069 | background: var(--canvas-default); |
| 3070 | color: var(--fg-default); |
| 3071 | } |
| 3072 | .shithub-org-repo-actions { |
| 3073 | display: flex; |
| 3074 | align-items: center; |
| 3075 | gap: 0.5rem; |
| 3076 | justify-content: flex-end; |
| 3077 | flex-wrap: wrap; |
| 3078 | } |
| 3079 | .shithub-filter-menu { |
| 3080 | position: relative; |
| 3081 | } |
| 3082 | .shithub-filter-menu summary { |
| 3083 | display: inline-flex; |
| 3084 | align-items: center; |
| 3085 | gap: 0.3rem; |
| 3086 | min-height: 34px; |
| 3087 | padding: 0.35rem 0.75rem; |
| 3088 | border: 1px solid var(--border-default); |
| 3089 | border-radius: 6px; |
| 3090 | background: var(--canvas-subtle); |
| 3091 | color: var(--fg-default); |
| 3092 | font-size: 0.875rem; |
| 3093 | font-weight: 600; |
| 3094 | cursor: pointer; |
| 3095 | } |
| 3096 | .shithub-filter-menu summary::-webkit-details-marker { |
| 3097 | display: none; |
| 3098 | } |
| 3099 | .shithub-filter-menu[open] > div { |
| 3100 | position: absolute; |
| 3101 | right: 0; |
| 3102 | z-index: 20; |
| 3103 | min-width: 160px; |
| 3104 | margin-top: 0.35rem; |
| 3105 | padding: 0.35rem 0; |
| 3106 | border: 1px solid var(--border-default); |
| 3107 | border-radius: 6px; |
| 3108 | background: var(--canvas-default); |
| 3109 | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); |
| 3110 | } |
| 3111 | .shithub-filter-menu a { |
| 3112 | display: block; |
| 3113 | padding: 0.45rem 0.75rem; |
| 3114 | color: var(--fg-default); |
| 3115 | font-size: 0.875rem; |
| 3116 | } |
| 3117 | .shithub-filter-menu a:hover { |
| 3118 | background: var(--canvas-subtle); |
| 3119 | text-decoration: none; |
| 3120 | } |
| 3121 | .shithub-org-repo-list { |
| 3122 | list-style: none; |
| 3123 | padding: 0; |
| 3124 | margin: 0; |
| 3125 | border: 1px solid var(--border-default); |
| 3126 | border-radius: 6px; |
| 3127 | overflow: hidden; |
| 3128 | background: var(--canvas-default); |
| 3129 | } |
| 3130 | .shithub-org-repo-row { |
| 3131 | display: grid; |
| 3132 | grid-template-columns: minmax(0, 1fr) 170px; |
| 3133 | gap: 1rem; |
| 3134 | align-items: center; |
| 3135 | padding: 1rem; |
| 3136 | border-top: 1px solid var(--border-default); |
| 3137 | } |
| 3138 | .shithub-org-repo-row:first-child { |
| 3139 | border-top: 0; |
| 3140 | } |
| 3141 | .shithub-org-repo-row h3 { |
| 3142 | display: flex; |
| 3143 | align-items: center; |
| 3144 | gap: 0.45rem; |
| 3145 | flex-wrap: wrap; |
| 3146 | margin: 0; |
| 3147 | font-size: 1rem; |
| 3148 | } |
| 3149 | .shithub-org-repo-row p { |
| 3150 | margin: 0.35rem 0 0; |
| 3151 | color: var(--fg-muted); |
| 3152 | font-size: 0.875rem; |
| 3153 | } |
| 3154 | .shithub-org-row-topics { |
| 3155 | display: flex; |
| 3156 | flex-wrap: wrap; |
| 3157 | gap: 0.35rem; |
| 3158 | margin-top: 0.6rem; |
| 3159 | } |
| 3160 | .shithub-org-repo-meta { |
| 3161 | display: flex; |
| 3162 | flex-wrap: wrap; |
| 3163 | gap: 0.4rem 0.85rem; |
| 3164 | margin-top: 0.7rem; |
| 3165 | color: var(--fg-muted); |
| 3166 | font-size: 0.8rem; |
| 3167 | } |
| 3168 | .shithub-org-repo-meta svg { |
| 3169 | flex: 0 0 auto; |
| 3170 | } |
| 3171 | .shithub-org-repo-spark { |
| 3172 | justify-self: end; |
| 3173 | display: block; |
| 3174 | width: 155px; |
| 3175 | height: 32px; |
| 3176 | overflow: visible; |
| 3177 | } |
| 3178 | .shithub-org-repo-spark-base, |
| 3179 | .shithub-org-repo-spark-line { |
| 3180 | fill: none; |
| 3181 | stroke-linecap: round; |
| 3182 | stroke-linejoin: round; |
| 3183 | vector-effect: non-scaling-stroke; |
| 3184 | } |
| 3185 | .shithub-org-repo-spark-base { |
| 3186 | stroke: color-mix(in srgb, var(--success-fg) 32%, transparent); |
| 3187 | stroke-width: 1; |
| 3188 | } |
| 3189 | .shithub-org-repo-spark-line { |
| 3190 | stroke: var(--success-fg); |
| 3191 | stroke-width: 1.5; |
| 3192 | opacity: 0.78; |
| 3193 | } |
| 3194 | .shithub-org-sidebar { |
| 3195 | min-width: 0; |
| 3196 | } |
| 3197 | .shithub-org-sidebox { |
| 3198 | padding: 1rem 0; |
| 3199 | border-top: 1px solid var(--border-default); |
| 3200 | } |
| 3201 | .shithub-org-sidebox:first-child { |
| 3202 | padding-top: 0; |
| 3203 | border-top: 0; |
| 3204 | } |
| 3205 | .shithub-org-sidebox p { |
| 3206 | margin: 0.5rem 0 0; |
| 3207 | color: var(--fg-muted); |
| 3208 | font-size: 0.875rem; |
| 3209 | } |
| 3210 | .shithub-org-viewas { |
| 3211 | width: 100%; |
| 3212 | justify-content: center; |
| 3213 | cursor: default; |
| 3214 | } |
| 3215 | .shithub-org-people-strip { |
| 3216 | display: flex; |
| 3217 | flex-wrap: wrap; |
| 3218 | gap: 0.35rem; |
| 3219 | margin-top: 0.75rem; |
| 3220 | } |
| 3221 | .shithub-org-people-strip img { |
| 3222 | display: block; |
| 3223 | width: 32px; |
| 3224 | height: 32px; |
| 3225 | border-radius: 50%; |
| 3226 | border: 1px solid var(--border-muted); |
| 3227 | } |
| 3228 | .shithub-org-language-list { |
| 3229 | list-style: none; |
| 3230 | padding: 0; |
| 3231 | margin: 0.75rem 0 0; |
| 3232 | } |
| 3233 | .shithub-org-language-list li { |
| 3234 | display: flex; |
| 3235 | justify-content: space-between; |
| 3236 | gap: 1rem; |
| 3237 | margin: 0.4rem 0; |
| 3238 | color: var(--fg-muted); |
| 3239 | font-size: 0.875rem; |
| 3240 | } |
| 3241 | .shithub-org-language-list span { |
| 3242 | display: inline-flex; |
| 3243 | align-items: center; |
| 3244 | gap: 0.35rem; |
| 3245 | } |
| 3246 | .shithub-org-topic-list { |
| 3247 | display: flex; |
| 3248 | flex-wrap: wrap; |
| 3249 | gap: 0.4rem; |
| 3250 | margin-top: 0.75rem; |
| 3251 | } |
| 3252 | .shithub-org-empty { |
| 3253 | padding: 2rem; |
| 3254 | text-align: center; |
| 3255 | border: 1px dashed var(--border-default); |
| 3256 | border-radius: 6px; |
| 3257 | color: var(--fg-muted); |
| 3258 | } |
| 3259 | .shithub-org-empty h3 { |
| 3260 | margin: 0 0 0.75rem; |
| 3261 | color: var(--fg-default); |
| 3262 | font-size: 1rem; |
| 3263 | } |
| 3264 | .shithub-org-repos-footer { |
| 3265 | display: flex; |
| 3266 | justify-content: center; |
| 3267 | padding: 0.8rem 1rem; |
| 3268 | border: 1px solid var(--border-default); |
| 3269 | border-top: 0; |
| 3270 | border-radius: 0 0 6px 6px; |
| 3271 | background: var(--canvas-subtle); |
| 3272 | font-size: 0.875rem; |
| 3273 | font-weight: 600; |
| 3274 | } |
| 3275 | .shithub-org-repo-list + .shithub-org-repos-footer { |
| 3276 | margin-top: -1px; |
| 3277 | } |
| 3278 | .shithub-filter-menu a.is-selected { |
| 3279 | background: var(--canvas-subtle); |
| 3280 | font-weight: 600; |
| 3281 | } |
| 3282 | .shithub-filter-count { |
| 3283 | float: right; |
| 3284 | margin-left: 1rem; |
| 3285 | color: var(--fg-muted); |
| 3286 | font-weight: 400; |
| 3287 | } |
| 3288 | |
| 3289 | /* Organization repositories tab. GitHub's current route is |
| 3290 | /orgs/{org}/repositories: compact pagehead, repo search, dropdown |
| 3291 | filters, bordered rows, sparklines, and numbered pagination. */ |
| 3292 | .shithub-org-repositories-page { |
| 3293 | max-width: none; |
| 3294 | } |
| 3295 | .shithub-org-repositories-shell { |
| 3296 | max-width: 1040px; |
| 3297 | margin: 0 auto; |
| 3298 | padding: 1.5rem 1rem 2rem; |
| 3299 | } |
| 3300 | .shithub-org-repositories-titlebar { |
| 3301 | display: flex; |
| 3302 | align-items: center; |
| 3303 | justify-content: space-between; |
| 3304 | gap: 1rem; |
| 3305 | margin-bottom: 1rem; |
| 3306 | } |
| 3307 | .shithub-org-repositories-titlebar h1 { |
| 3308 | margin: 0; |
| 3309 | font-size: 1.5rem; |
| 3310 | line-height: 1.25; |
| 3311 | } |
| 3312 | .shithub-org-repositories-titlebar p { |
| 3313 | margin: 0.25rem 0 0; |
| 3314 | color: var(--fg-muted); |
| 3315 | font-size: 0.875rem; |
| 3316 | } |
| 3317 | .shithub-org-repositories-toolbar { |
| 3318 | display: grid; |
| 3319 | grid-template-columns: minmax(240px, 1fr) auto; |
| 3320 | gap: 0.75rem; |
| 3321 | align-items: center; |
| 3322 | padding-bottom: 1rem; |
| 3323 | border-bottom: 1px solid var(--border-default); |
| 3324 | } |
| 3325 | .shithub-org-repositories-search { |
| 3326 | position: relative; |
| 3327 | min-width: 0; |
| 3328 | } |
| 3329 | .shithub-org-repositories-search > span { |
| 3330 | position: absolute; |
| 3331 | left: 0.7rem; |
| 3332 | top: 50%; |
| 3333 | display: inline-flex; |
| 3334 | color: var(--fg-muted); |
| 3335 | transform: translateY(-50%); |
| 3336 | pointer-events: none; |
| 3337 | } |
| 3338 | .shithub-org-repositories-search input[type="search"] { |
| 3339 | width: 100%; |
| 3340 | min-height: 34px; |
| 3341 | padding: 0.35rem 0.75rem 0.35rem 2rem; |
| 3342 | border: 1px solid var(--border-default); |
| 3343 | border-radius: 6px; |
| 3344 | background: var(--canvas-default); |
| 3345 | color: var(--fg-default); |
| 3346 | } |
| 3347 | .shithub-org-repositories-filters { |
| 3348 | display: flex; |
| 3349 | align-items: center; |
| 3350 | justify-content: flex-end; |
| 3351 | gap: 0.5rem; |
| 3352 | flex-wrap: wrap; |
| 3353 | } |
| 3354 | .shithub-org-repositories-filters .shithub-filter-menu[open] > div { |
| 3355 | min-width: 190px; |
| 3356 | } |
| 3357 | .shithub-org-repositories-filters .shithub-filter-menu summary span { |
| 3358 | color: var(--fg-muted); |
| 3359 | font-weight: 400; |
| 3360 | } |
| 3361 | .shithub-org-repositories-list { |
| 3362 | margin-top: 0; |
| 3363 | border-top: 0; |
| 3364 | border-radius: 0 0 6px 6px; |
| 3365 | } |
| 3366 | .shithub-org-repositories-empty { |
| 3367 | margin-top: 1rem; |
| 3368 | } |
| 3369 | .shithub-org-repositories-empty h2 { |
| 3370 | margin: 0 0 0.55rem; |
| 3371 | color: var(--fg-default); |
| 3372 | font-size: 1.1rem; |
| 3373 | } |
| 3374 | .shithub-org-repositories-empty p { |
| 3375 | margin: 0; |
| 3376 | } |
| 3377 | .shithub-org-repositories-pagination { |
| 3378 | display: flex; |
| 3379 | justify-content: center; |
| 3380 | gap: 0.35rem; |
| 3381 | padding: 1.25rem 0 0; |
| 3382 | } |
| 3383 | .shithub-org-repositories-pagination a, |
| 3384 | .shithub-org-repositories-pagination span { |
| 3385 | display: inline-flex; |
| 3386 | align-items: center; |
| 3387 | justify-content: center; |
| 3388 | min-width: 34px; |
| 3389 | min-height: 32px; |
| 3390 | padding: 0.35rem 0.7rem; |
| 3391 | border: 1px solid var(--border-default); |
| 3392 | border-radius: 6px; |
| 3393 | background: var(--canvas-default); |
| 3394 | color: var(--fg-default); |
| 3395 | font-size: 0.875rem; |
| 3396 | font-weight: 600; |
| 3397 | } |
| 3398 | .shithub-org-repositories-pagination a:hover { |
| 3399 | background: var(--canvas-subtle); |
| 3400 | text-decoration: none; |
| 3401 | } |
| 3402 | .shithub-org-repositories-pagination .is-current { |
| 3403 | border-color: var(--accent-emphasis); |
| 3404 | background: var(--accent-emphasis); |
| 3405 | color: #fff; |
| 3406 | } |
| 3407 | .shithub-org-repositories-pagination .is-disabled { |
| 3408 | color: var(--fg-muted); |
| 3409 | opacity: 0.65; |
| 3410 | } |
| 3411 | |
| 3412 | /* Organization People page. Mirrors GitHub's compact org header, |
| 3413 | permissions sidebar, toolbar search, and bordered member rows. */ |
| 3414 | .shithub-org-people { |
| 3415 | max-width: none; |
| 3416 | } |
| 3417 | .shithub-org-pagehead { |
| 3418 | padding-top: 1rem; |
| 3419 | border-bottom: 1px solid var(--border-default); |
| 3420 | } |
| 3421 | .shithub-org-pagehead-inner { |
| 3422 | max-width: 1280px; |
| 3423 | margin: 0 auto; |
| 3424 | padding: 0 1rem; |
| 3425 | } |
| 3426 | .shithub-org-pagehead-title { |
| 3427 | display: inline-flex; |
| 3428 | align-items: center; |
| 3429 | gap: 0.6rem; |
| 3430 | color: var(--fg-default); |
| 3431 | font-size: 1.25rem; |
| 3432 | font-weight: 600; |
| 3433 | line-height: 1.25; |
| 3434 | } |
| 3435 | .shithub-org-pagehead-title:hover { |
| 3436 | text-decoration: none; |
| 3437 | } |
| 3438 | .shithub-org-pagehead-title img { |
| 3439 | display: block; |
| 3440 | width: 30px; |
| 3441 | height: 30px; |
| 3442 | border-radius: 6px; |
| 3443 | border: 1px solid var(--border-muted); |
| 3444 | background: var(--canvas-subtle); |
| 3445 | } |
| 3446 | .shithub-org-pagehead .shithub-org-nav { |
| 3447 | max-width: 1280px; |
| 3448 | margin: 0.9rem auto 0; |
| 3449 | padding: 0 1rem; |
| 3450 | border-bottom: 0; |
| 3451 | } |
| 3452 | |
| 3453 | /* Organization settings profile page. Keeps the GitHub settings shell: |
| 3454 | org pagehead, left settings nav, main form, avatar aside, boxed rows. */ |
| 3455 | .shithub-org-settings-page { |
| 3456 | max-width: none; |
| 3457 | } |
| 3458 | .shithub-org-settings-layout { |
| 3459 | display: grid; |
| 3460 | grid-template-columns: 250px minmax(0, 1fr); |
| 3461 | gap: 1.5rem; |
| 3462 | max-width: 1280px; |
| 3463 | margin: 0 auto; |
| 3464 | padding: 1.5rem 1rem 2rem; |
| 3465 | } |
| 3466 | .shithub-org-settings-sidebar h1 { |
| 3467 | margin: 0 0 1rem; |
| 3468 | font-size: 1.5rem; |
| 3469 | line-height: 1.25; |
| 3470 | } |
| 3471 | .shithub-org-settings-menu { |
| 3472 | display: grid; |
| 3473 | gap: 0.15rem; |
| 3474 | font-size: 0.875rem; |
| 3475 | } |
| 3476 | .shithub-org-settings-menu a, |
| 3477 | .shithub-org-settings-menu span { |
| 3478 | display: flex; |
| 3479 | align-items: center; |
| 3480 | gap: 0.5rem; |
| 3481 | min-height: 32px; |
| 3482 | padding: 0.35rem 0.65rem; |
| 3483 | border-radius: 6px; |
| 3484 | color: var(--fg-default); |
| 3485 | text-decoration: none; |
| 3486 | } |
| 3487 | .shithub-org-settings-menu a:hover { |
| 3488 | background: var(--canvas-subtle); |
| 3489 | text-decoration: none; |
| 3490 | } |
| 3491 | .shithub-org-settings-menu .is-selected { |
| 3492 | font-weight: 600; |
| 3493 | background: var(--canvas-subtle); |
| 3494 | box-shadow: inset 2px 0 0 var(--accent-emphasis); |
| 3495 | } |
| 3496 | .shithub-org-settings-menu span[aria-disabled="true"] { |
| 3497 | color: var(--fg-muted); |
| 3498 | } |
| 3499 | .shithub-org-settings-menu h2 { |
| 3500 | margin: 1rem 0 0.25rem; |
| 3501 | padding-top: 0.75rem; |
| 3502 | border-top: 1px solid var(--border-default); |
| 3503 | color: var(--fg-muted); |
| 3504 | font-size: 0.75rem; |
| 3505 | font-weight: 600; |
| 3506 | text-transform: uppercase; |
| 3507 | } |
| 3508 | .shithub-org-settings-main { |
| 3509 | min-width: 0; |
| 3510 | max-width: 880px; |
| 3511 | } |
| 3512 | .shithub-org-settings-profile { |
| 3513 | padding-bottom: 1rem; |
| 3514 | border-bottom: 1px solid var(--border-muted, var(--border-default)); |
| 3515 | } |
| 3516 | .shithub-org-settings-profile-grid { |
| 3517 | display: grid; |
| 3518 | grid-template-columns: minmax(0, 1fr) 220px; |
| 3519 | gap: 2rem; |
| 3520 | align-items: start; |
| 3521 | } |
| 3522 | .shithub-org-settings-form { |
| 3523 | display: grid; |
| 3524 | gap: 0.85rem; |
| 3525 | max-width: 544px; |
| 3526 | } |
| 3527 | .shithub-org-settings-form label { |
| 3528 | display: grid; |
| 3529 | gap: 0.25rem; |
| 3530 | font-weight: 600; |
| 3531 | } |
| 3532 | .shithub-org-settings-form label small { |
| 3533 | color: var(--fg-muted); |
| 3534 | font-weight: 400; |
| 3535 | } |
| 3536 | .shithub-org-settings-form input[type=text], |
| 3537 | .shithub-org-settings-form input[type=email], |
| 3538 | .shithub-org-settings-form input[type=url], |
| 3539 | .shithub-org-settings-form textarea { |
| 3540 | width: 100%; |
| 3541 | padding: 0.5rem 0.75rem; |
| 3542 | border-radius: 6px; |
| 3543 | } |
| 3544 | .shithub-org-settings-form textarea { |
| 3545 | min-height: 76px; |
| 3546 | resize: vertical; |
| 3547 | } |
| 3548 | .shithub-org-settings-checkbox { |
| 3549 | grid-template-columns: auto minmax(0, 1fr); |
| 3550 | align-items: start; |
| 3551 | font-weight: 400; |
| 3552 | } |
| 3553 | .shithub-org-settings-checkbox input { |
| 3554 | margin-top: 0.3rem; |
| 3555 | } |
| 3556 | .shithub-org-settings-form .shithub-button { |
| 3557 | justify-self: start; |
| 3558 | } |
| 3559 | .shithub-org-settings-avatar h3 { |
| 3560 | margin: 0 0 0.75rem; |
| 3561 | font-size: 0.9rem; |
| 3562 | } |
| 3563 | .shithub-org-settings-avatar .shithub-profile-edit-avatar { |
| 3564 | border-radius: 6px; |
| 3565 | } |
| 3566 | .shithub-org-settings-avatar form { |
| 3567 | display: grid; |
| 3568 | gap: 0.5rem; |
| 3569 | margin: 0.75rem 0 0; |
| 3570 | } |
| 3571 | .shithub-org-settings-section { |
| 3572 | margin-top: 1.5rem; |
| 3573 | } |
| 3574 | .shithub-org-settings-box { |
| 3575 | overflow: hidden; |
| 3576 | border: 1px solid var(--border-default); |
| 3577 | border-radius: 6px; |
| 3578 | background: var(--canvas-default); |
| 3579 | } |
| 3580 | .shithub-org-settings-row { |
| 3581 | display: grid; |
| 3582 | grid-template-columns: minmax(0, 1fr) auto; |
| 3583 | gap: 1rem; |
| 3584 | align-items: center; |
| 3585 | padding: 1rem; |
| 3586 | border-top: 1px solid var(--border-muted, var(--border-default)); |
| 3587 | } |
| 3588 | .shithub-org-settings-row:first-child { |
| 3589 | border-top: 0; |
| 3590 | } |
| 3591 | .shithub-org-settings-row p { |
| 3592 | margin: 0.15rem 0 0; |
| 3593 | color: var(--fg-muted); |
| 3594 | } |
| 3595 | .shithub-org-danger-box { |
| 3596 | margin-top: 0.75rem; |
| 3597 | } |
| 3598 | .shithub-org-danger-row { |
| 3599 | display: grid; |
| 3600 | grid-template-columns: minmax(0, 1fr) auto; |
| 3601 | gap: 1rem; |
| 3602 | align-items: start; |
| 3603 | } |
| 3604 | .shithub-org-danger-row .listgroup-item-title { |
| 3605 | font-weight: 600; |
| 3606 | } |
| 3607 | .shithub-org-danger-row .listgroup-item-body { |
| 3608 | margin-top: 0.15rem; |
| 3609 | color: var(--fg-muted); |
| 3610 | } |
| 3611 | .shithub-org-danger-details { |
| 3612 | display: grid; |
| 3613 | justify-items: end; |
| 3614 | gap: 0.75rem; |
| 3615 | } |
| 3616 | .shithub-org-danger-details > summary { |
| 3617 | list-style: none; |
| 3618 | } |
| 3619 | .shithub-org-danger-details > summary::-webkit-details-marker { |
| 3620 | display: none; |
| 3621 | } |
| 3622 | .shithub-org-delete-form { |
| 3623 | display: grid; |
| 3624 | gap: 0.75rem; |
| 3625 | width: min(320px, 100%); |
| 3626 | padding: 0.75rem; |
| 3627 | border: 1px solid var(--border-default); |
| 3628 | border-radius: 6px; |
| 3629 | background: var(--canvas-subtle); |
| 3630 | } |
| 3631 | .shithub-org-delete-form label { |
| 3632 | display: grid; |
| 3633 | gap: 0.35rem; |
| 3634 | font-weight: 600; |
| 3635 | } |
| 3636 | .shithub-org-delete-form input[type=text] { |
| 3637 | width: 100%; |
| 3638 | padding: 0.5rem 0.75rem; |
| 3639 | border-radius: 6px; |
| 3640 | } |
| 3641 | .shithub-org-people-layout { |
| 3642 | display: grid; |
| 3643 | grid-template-columns: 250px minmax(0, 1fr); |
| 3644 | gap: 1.5rem; |
| 3645 | max-width: 1280px; |
| 3646 | margin: 0 auto; |
| 3647 | padding: 1.5rem 1rem 2rem; |
| 3648 | } |
| 3649 | .shithub-org-people-sidebar { |
| 3650 | min-width: 0; |
| 3651 | } |
| 3652 | .shithub-org-people-sidebar h1 { |
| 3653 | margin: 0 0 1rem; |
| 3654 | font-size: 1.5rem; |
| 3655 | line-height: 1.25; |
| 3656 | } |
| 3657 | .shithub-org-people-menu { |
| 3658 | overflow: hidden; |
| 3659 | border: 1px solid var(--border-default); |
| 3660 | border-radius: 6px; |
| 3661 | background: var(--canvas-default); |
| 3662 | } |
| 3663 | .shithub-org-people-menu h2 { |
| 3664 | display: flex; |
| 3665 | align-items: center; |
| 3666 | justify-content: space-between; |
| 3667 | margin: 0; |
| 3668 | padding: 0.65rem 0.85rem; |
| 3669 | border-bottom: 1px solid var(--border-default); |
| 3670 | background: var(--canvas-subtle); |
| 3671 | font-size: 0.875rem; |
| 3672 | font-weight: 600; |
| 3673 | } |
| 3674 | .shithub-org-people-menu a { |
| 3675 | display: flex; |
| 3676 | align-items: center; |
| 3677 | justify-content: space-between; |
| 3678 | gap: 1rem; |
| 3679 | padding: 0.55rem 0.85rem; |
| 3680 | border-bottom: 1px solid var(--border-muted); |
| 3681 | color: var(--fg-default); |
| 3682 | font-size: 0.875rem; |
| 3683 | } |
| 3684 | .shithub-org-people-menu a:last-child { |
| 3685 | border-bottom: 0; |
| 3686 | } |
| 3687 | .shithub-org-people-menu a:hover { |
| 3688 | background: var(--canvas-subtle); |
| 3689 | text-decoration: none; |
| 3690 | } |
| 3691 | .shithub-org-people-menu a.is-selected { |
| 3692 | color: var(--fg-default); |
| 3693 | font-weight: 600; |
| 3694 | background: var(--canvas-subtle); |
| 3695 | box-shadow: inset 2px 0 0 #fd8c73; |
| 3696 | } |
| 3697 | .shithub-org-people-main { |
| 3698 | min-width: 0; |
| 3699 | } |
| 3700 | .shithub-org-people-toolbar { |
| 3701 | display: flex; |
| 3702 | align-items: flex-start; |
| 3703 | justify-content: space-between; |
| 3704 | gap: 0.75rem; |
| 3705 | margin-bottom: 1rem; |
| 3706 | } |
| 3707 | .shithub-org-people-search { |
| 3708 | position: relative; |
| 3709 | flex: 1 1 360px; |
| 3710 | max-width: 480px; |
| 3711 | } |
| 3712 | .shithub-org-people-search svg { |
| 3713 | position: absolute; |
| 3714 | top: 50%; |
| 3715 | left: 0.75rem; |
| 3716 | width: 16px; |
| 3717 | height: 16px; |
| 3718 | color: var(--fg-muted); |
| 3719 | transform: translateY(-50%); |
| 3720 | pointer-events: none; |
| 3721 | } |
| 3722 | .shithub-org-people-search input, |
| 3723 | .shithub-org-people-invite-panel input, |
| 3724 | .shithub-org-people-invite-panel select, |
| 3725 | .shithub-org-people-actions select { |
| 3726 | width: 100%; |
| 3727 | min-height: 34px; |
| 3728 | border: 1px solid var(--border-default); |
| 3729 | border-radius: 6px; |
| 3730 | background: var(--canvas-default); |
| 3731 | color: var(--fg-default); |
| 3732 | font: inherit; |
| 3733 | } |
| 3734 | .shithub-org-people-search input { |
| 3735 | padding: 0.35rem 0.75rem 0.35rem 2.25rem; |
| 3736 | } |
| 3737 | .shithub-org-people-invite { |
| 3738 | position: relative; |
| 3739 | flex: 0 0 auto; |
| 3740 | } |
| 3741 | .shithub-org-people-invite > summary { |
| 3742 | list-style: none; |
| 3743 | cursor: pointer; |
| 3744 | } |
| 3745 | .shithub-org-people-invite > summary::-webkit-details-marker { |
| 3746 | display: none; |
| 3747 | } |
| 3748 | .shithub-org-people-invite-panel { |
| 3749 | position: absolute; |
| 3750 | right: 0; |
| 3751 | top: calc(100% + 0.45rem); |
| 3752 | z-index: 25; |
| 3753 | display: grid; |
| 3754 | gap: 0.75rem; |
| 3755 | width: min(360px, calc(100vw - 2rem)); |
| 3756 | padding: 1rem; |
| 3757 | border: 1px solid var(--border-default); |
| 3758 | border-radius: 8px; |
| 3759 | background: var(--canvas-default); |
| 3760 | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16); |
| 3761 | } |
| 3762 | .shithub-org-people-invite-panel label { |
| 3763 | display: grid; |
| 3764 | gap: 0.35rem; |
| 3765 | color: var(--fg-default); |
| 3766 | font-size: 0.875rem; |
| 3767 | font-weight: 600; |
| 3768 | } |
| 3769 | .shithub-org-people-invite-panel input, |
| 3770 | .shithub-org-people-invite-panel select, |
| 3771 | .shithub-org-people-actions select { |
| 3772 | padding: 0.35rem 0.65rem; |
| 3773 | } |
| 3774 | .shithub-org-people-card { |
| 3775 | overflow: hidden; |
| 3776 | border: 1px solid var(--border-default); |
| 3777 | border-radius: 6px; |
| 3778 | background: var(--canvas-default); |
| 3779 | } |
| 3780 | .shithub-org-people-list { |
| 3781 | list-style: none; |
| 3782 | padding: 0; |
| 3783 | margin: 0; |
| 3784 | } |
| 3785 | .shithub-org-people-row { |
| 3786 | display: grid; |
| 3787 | grid-template-columns: 64px minmax(0, 1fr) auto auto; |
| 3788 | gap: 0.75rem; |
| 3789 | align-items: center; |
| 3790 | min-height: 76px; |
| 3791 | padding: 0.75rem 1rem; |
| 3792 | border-top: 1px solid var(--border-default); |
| 3793 | } |
| 3794 | .shithub-org-people-row:first-child { |
| 3795 | border-top: 0; |
| 3796 | } |
| 3797 | .shithub-org-people-avatar { |
| 3798 | display: inline-flex; |
| 3799 | width: 48px; |
| 3800 | height: 48px; |
| 3801 | } |
| 3802 | .shithub-org-people-avatar img { |
| 3803 | width: 48px; |
| 3804 | height: 48px; |
| 3805 | border-radius: 50%; |
| 3806 | border: 1px solid var(--border-muted); |
| 3807 | background: var(--canvas-subtle); |
| 3808 | } |
| 3809 | .shithub-org-people-member { |
| 3810 | display: grid; |
| 3811 | min-width: 0; |
| 3812 | line-height: 1.35; |
| 3813 | } |
| 3814 | .shithub-org-people-name { |
| 3815 | overflow: hidden; |
| 3816 | color: var(--fg-default); |
| 3817 | font-size: 1rem; |
| 3818 | font-weight: 600; |
| 3819 | text-overflow: ellipsis; |
| 3820 | white-space: nowrap; |
| 3821 | } |
| 3822 | .shithub-org-people-username { |
| 3823 | overflow: hidden; |
| 3824 | color: var(--fg-muted); |
| 3825 | font-size: 0.875rem; |
| 3826 | text-overflow: ellipsis; |
| 3827 | white-space: nowrap; |
| 3828 | } |
| 3829 | .shithub-org-people-meta { |
| 3830 | display: flex; |
| 3831 | align-items: center; |
| 3832 | justify-content: flex-end; |
| 3833 | gap: 0.65rem; |
| 3834 | color: var(--fg-muted); |
| 3835 | font-size: 0.875rem; |
| 3836 | white-space: nowrap; |
| 3837 | } |
| 3838 | .shithub-org-people-actions { |
| 3839 | display: flex; |
| 3840 | align-items: center; |
| 3841 | justify-content: flex-end; |
| 3842 | gap: 0.5rem; |
| 3843 | } |
| 3844 | .shithub-org-people-actions form { |
| 3845 | margin: 0; |
| 3846 | } |
| 3847 | .shithub-org-people-actions select { |
| 3848 | min-width: 104px; |
| 3849 | background: var(--canvas-subtle); |
| 3850 | } |
| 3851 | .shithub-org-people-empty { |
| 3852 | display: grid; |
| 3853 | place-items: center; |
| 3854 | gap: 0.75rem; |
| 3855 | min-height: 190px; |
| 3856 | padding: 2rem; |
| 3857 | color: var(--fg-muted); |
| 3858 | text-align: center; |
| 3859 | } |
| 3860 | .shithub-org-people-empty svg { |
| 3861 | width: 32px; |
| 3862 | height: 32px; |
| 3863 | } |
| 3864 | .shithub-org-people-empty h2 { |
| 3865 | margin: 0; |
| 3866 | color: var(--fg-default); |
| 3867 | font-size: 1.15rem; |
| 3868 | } |
| 3869 | .shithub-org-pending { |
| 3870 | margin-top: 1.5rem; |
| 3871 | } |
| 3872 | .shithub-org-pending h2 { |
| 3873 | margin: 0 0 0.75rem; |
| 3874 | font-size: 1rem; |
| 3875 | } |
| 3876 | .shithub-org-pending-list { |
| 3877 | overflow: hidden; |
| 3878 | list-style: none; |
| 3879 | padding: 0; |
| 3880 | margin: 0; |
| 3881 | border: 1px solid var(--border-default); |
| 3882 | border-radius: 6px; |
| 3883 | background: var(--canvas-default); |
| 3884 | } |
| 3885 | .shithub-org-pending-list li { |
| 3886 | display: flex; |
| 3887 | align-items: center; |
| 3888 | gap: 0.75rem; |
| 3889 | padding: 0.75rem 1rem; |
| 3890 | border-top: 1px solid var(--border-default); |
| 3891 | } |
| 3892 | .shithub-org-pending-list li:first-child { |
| 3893 | border-top: 0; |
| 3894 | } |
| 3895 | .shithub-org-profile-head { |
| 3896 | max-width: 1280px; |
| 3897 | margin: 0 auto; |
| 3898 | padding: 1.5rem 1rem 0; |
| 3899 | } |
| 3900 | |
| 3901 | .shithub-org-teams-head { |
| 3902 | padding-bottom: 0.25rem; |
| 3903 | } |
| 3904 | |
| 3905 | .shithub-org-teams-title, |
| 3906 | .shithub-org-team-title-row { |
| 3907 | display: flex; |
| 3908 | align-items: center; |
| 3909 | gap: 0.85rem; |
| 3910 | } |
| 3911 | |
| 3912 | .shithub-org-teams-title h1, |
| 3913 | .shithub-org-team-title-row h1 { |
| 3914 | margin: 0; |
| 3915 | font-size: 1.5rem; |
| 3916 | line-height: 1.25; |
| 3917 | } |
| 3918 | |
| 3919 | .shithub-org-teams-avatar, |
| 3920 | .shithub-org-team-avatar { |
| 3921 | flex: 0 0 auto; |
| 3922 | width: 48px; |
| 3923 | height: 48px; |
| 3924 | border: 1px solid var(--border-default); |
| 3925 | border-radius: 6px; |
| 3926 | background: var(--canvas-subtle); |
| 3927 | } |
| 3928 | |
| 3929 | .shithub-org-team-avatar { |
| 3930 | display: inline-flex; |
| 3931 | align-items: center; |
| 3932 | justify-content: center; |
| 3933 | color: var(--fg-muted); |
| 3934 | } |
| 3935 | |
| 3936 | .shithub-org-teams-layout, |
| 3937 | .shithub-org-team-view-layout { |
| 3938 | max-width: 1280px; |
| 3939 | margin: 0 auto; |
| 3940 | display: grid; |
| 3941 | gap: 2rem; |
| 3942 | padding: 1.5rem 1rem 2.5rem; |
| 3943 | } |
| 3944 | |
| 3945 | .shithub-org-teams-layout { |
| 3946 | grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr); |
| 3947 | } |
| 3948 | |
| 3949 | .shithub-org-team-view-layout { |
| 3950 | grid-template-columns: minmax(0, 1fr) 296px; |
| 3951 | } |
| 3952 | |
| 3953 | .shithub-org-teams-main, |
| 3954 | .shithub-org-team-view-main { |
| 3955 | min-width: 0; |
| 3956 | } |
| 3957 | |
| 3958 | .shithub-org-team-toolbar { |
| 3959 | display: flex; |
| 3960 | justify-content: space-between; |
| 3961 | gap: 1rem; |
| 3962 | align-items: flex-start; |
| 3963 | margin-bottom: 1rem; |
| 3964 | } |
| 3965 | |
| 3966 | .shithub-org-team-toolbar h2, |
| 3967 | .shithub-org-team-panel h2, |
| 3968 | .shithub-org-team-manage-box h2 { |
| 3969 | margin: 0; |
| 3970 | font-size: 1rem; |
| 3971 | font-weight: 600; |
| 3972 | } |
| 3973 | |
| 3974 | .shithub-org-team-toolbar p, |
| 3975 | .shithub-org-team-panel-head p, |
| 3976 | .shithub-org-team-manage-box p { |
| 3977 | margin: 0.3rem 0 0; |
| 3978 | color: var(--fg-muted); |
| 3979 | font-size: 0.875rem; |
| 3980 | } |
| 3981 | |
| 3982 | .shithub-org-team-create { |
| 3983 | position: relative; |
| 3984 | flex: 0 0 auto; |
| 3985 | } |
| 3986 | |
| 3987 | .shithub-org-team-create summary { |
| 3988 | list-style: none; |
| 3989 | } |
| 3990 | |
| 3991 | .shithub-org-team-create summary::-webkit-details-marker { |
| 3992 | display: none; |
| 3993 | } |
| 3994 | |
| 3995 | .shithub-org-team-create[open] summary { |
| 3996 | border-bottom-left-radius: 0; |
| 3997 | border-bottom-right-radius: 0; |
| 3998 | } |
| 3999 | |
| 4000 | .shithub-org-team-create-form { |
| 4001 | position: absolute; |
| 4002 | right: 0; |
| 4003 | z-index: 30; |
| 4004 | width: min(360px, calc(100vw - 2rem)); |
| 4005 | display: grid; |
| 4006 | gap: 0.75rem; |
| 4007 | padding: 1rem; |
| 4008 | border: 1px solid var(--border-default); |
| 4009 | border-radius: 6px 0 6px 6px; |
| 4010 | background: var(--canvas-default); |
| 4011 | box-shadow: 0 16px 48px rgba(1, 4, 9, 0.32); |
| 4012 | } |
| 4013 | |
| 4014 | .shithub-org-team-create-form label, |
| 4015 | .shithub-org-team-manage-box label { |
| 4016 | display: grid; |
| 4017 | gap: 0.35rem; |
| 4018 | color: var(--fg-default); |
| 4019 | font-size: 0.875rem; |
| 4020 | font-weight: 600; |
| 4021 | } |
| 4022 | |
| 4023 | .shithub-org-team-create-form input, |
| 4024 | .shithub-org-team-create-form select, |
| 4025 | .shithub-org-team-manage-box input, |
| 4026 | .shithub-org-team-manage-box select { |
| 4027 | width: 100%; |
| 4028 | min-height: 34px; |
| 4029 | padding: 0.35rem 0.6rem; |
| 4030 | border-radius: 6px; |
| 4031 | } |
| 4032 | |
| 4033 | .shithub-org-team-filters { |
| 4034 | display: grid; |
| 4035 | grid-template-columns: minmax(0, 1fr) auto; |
| 4036 | gap: 0.5rem; |
| 4037 | margin-bottom: 0.75rem; |
| 4038 | } |
| 4039 | |
| 4040 | .shithub-org-team-search { |
| 4041 | position: relative; |
| 4042 | display: block; |
| 4043 | } |
| 4044 | |
| 4045 | .shithub-org-team-search svg { |
| 4046 | position: absolute; |
| 4047 | top: 50%; |
| 4048 | left: 0.7rem; |
| 4049 | transform: translateY(-50%); |
| 4050 | color: var(--fg-muted); |
| 4051 | pointer-events: none; |
| 4052 | } |
| 4053 | |
| 4054 | .shithub-org-team-search input { |
| 4055 | width: 100%; |
| 4056 | min-height: 34px; |
| 4057 | padding: 0.35rem 0.7rem 0.35rem 2rem; |
| 4058 | border-radius: 6px; |
| 4059 | } |
| 4060 | |
| 4061 | .shithub-org-team-filter-tabs, |
| 4062 | .shithub-org-team-tabs { |
| 4063 | display: flex; |
| 4064 | gap: 0.25rem; |
| 4065 | border-bottom: 1px solid var(--border-default); |
| 4066 | margin-bottom: 0; |
| 4067 | overflow-x: auto; |
| 4068 | } |
| 4069 | |
| 4070 | .shithub-org-team-filter-tabs a, |
| 4071 | .shithub-org-team-tabs a { |
| 4072 | display: inline-flex; |
| 4073 | align-items: center; |
| 4074 | gap: 0.35rem; |
| 4075 | padding: 0.65rem 0.75rem; |
| 4076 | border-bottom: 2px solid transparent; |
| 4077 | color: var(--fg-default); |
| 4078 | font-size: 0.875rem; |
| 4079 | white-space: nowrap; |
| 4080 | } |
| 4081 | |
| 4082 | .shithub-org-team-filter-tabs a:hover, |
| 4083 | .shithub-org-team-tabs a:hover { |
| 4084 | background: var(--canvas-subtle); |
| 4085 | border-radius: 6px 6px 0 0; |
| 4086 | text-decoration: none; |
| 4087 | } |
| 4088 | |
| 4089 | .shithub-org-team-filter-tabs a.is-selected, |
| 4090 | .shithub-org-team-tabs a.is-selected { |
| 4091 | border-bottom-color: #fd8c73; |
| 4092 | font-weight: 600; |
| 4093 | } |
| 4094 | |
| 4095 | .shithub-org-team-filter-tabs span, |
| 4096 | .shithub-org-team-tabs span { |
| 4097 | padding: 0.05rem 0.45rem; |
| 4098 | border-radius: 999px; |
| 4099 | background: var(--canvas-subtle); |
| 4100 | color: var(--fg-muted); |
| 4101 | font-size: 0.75rem; |
| 4102 | font-weight: 500; |
| 4103 | } |
| 4104 | |
| 4105 | .shithub-org-team-list, |
| 4106 | .shithub-org-team-member-list, |
| 4107 | .shithub-org-team-repo-list { |
| 4108 | list-style: none; |
| 4109 | padding: 0; |
| 4110 | margin: 0; |
| 4111 | border: 1px solid var(--border-default); |
| 4112 | border-top: 0; |
| 4113 | border-radius: 0 0 6px 6px; |
| 4114 | overflow: hidden; |
| 4115 | background: var(--canvas-default); |
| 4116 | } |
| 4117 | |
| 4118 | .shithub-org-team-list-compact { |
| 4119 | border-top: 1px solid var(--border-default); |
| 4120 | border-radius: 6px; |
| 4121 | } |
| 4122 | |
| 4123 | .shithub-org-team-row, |
| 4124 | .shithub-org-team-member-row, |
| 4125 | .shithub-org-team-repo-row { |
| 4126 | display: grid; |
| 4127 | gap: 1rem; |
| 4128 | align-items: center; |
| 4129 | padding: 1rem; |
| 4130 | border-top: 1px solid var(--border-default); |
| 4131 | } |
| 4132 | |
| 4133 | .shithub-org-team-row:first-child, |
| 4134 | .shithub-org-team-member-row:first-child, |
| 4135 | .shithub-org-team-repo-row:first-child { |
| 4136 | border-top: 0; |
| 4137 | } |
| 4138 | |
| 4139 | .shithub-org-team-row { |
| 4140 | grid-template-columns: 40px minmax(0, 1fr); |
| 4141 | } |
| 4142 | |
| 4143 | .shithub-org-team-row-icon, |
| 4144 | .shithub-org-team-repo-icon { |
| 4145 | display: inline-flex; |
| 4146 | align-items: center; |
| 4147 | justify-content: center; |
| 4148 | width: 40px; |
| 4149 | height: 40px; |
| 4150 | border: 1px solid var(--border-default); |
| 4151 | border-radius: 6px; |
| 4152 | background: var(--canvas-subtle); |
| 4153 | color: var(--fg-muted); |
| 4154 | } |
| 4155 | |
| 4156 | .shithub-org-team-row-title { |
| 4157 | display: flex; |
| 4158 | align-items: center; |
| 4159 | gap: 0.45rem; |
| 4160 | flex-wrap: wrap; |
| 4161 | font-weight: 600; |
| 4162 | } |
| 4163 | |
| 4164 | .shithub-org-team-row-main p { |
| 4165 | margin: 0.35rem 0 0; |
| 4166 | color: var(--fg-muted); |
| 4167 | font-size: 0.875rem; |
| 4168 | } |
| 4169 | |
| 4170 | .shithub-org-team-row-meta { |
| 4171 | display: flex; |
| 4172 | flex-wrap: wrap; |
| 4173 | gap: 0.45rem 1rem; |
| 4174 | margin-top: 0.65rem; |
| 4175 | color: var(--fg-muted); |
| 4176 | font-size: 0.8rem; |
| 4177 | } |
| 4178 | |
| 4179 | .shithub-org-team-row-meta span, |
| 4180 | .shithub-org-team-repo-main { |
| 4181 | display: inline-flex; |
| 4182 | align-items: center; |
| 4183 | gap: 0.35rem; |
| 4184 | } |
| 4185 | |
| 4186 | .shithub-org-team-view-head { |
| 4187 | padding-bottom: 0.25rem; |
| 4188 | } |
| 4189 | |
| 4190 | .shithub-org-team-breadcrumb { |
| 4191 | display: flex; |
| 4192 | gap: 0.4rem; |
| 4193 | align-items: center; |
| 4194 | margin-bottom: 0.75rem; |
| 4195 | color: var(--fg-muted); |
| 4196 | font-size: 0.875rem; |
| 4197 | } |
| 4198 | |
| 4199 | .shithub-org-team-title-row { |
| 4200 | flex-wrap: wrap; |
| 4201 | } |
| 4202 | |
| 4203 | .shithub-org-team-description { |
| 4204 | max-width: 760px; |
| 4205 | margin: 0.85rem 0 0; |
| 4206 | } |
| 4207 | |
| 4208 | .shithub-org-team-tabs { |
| 4209 | margin-bottom: 0; |
| 4210 | } |
| 4211 | |
| 4212 | .shithub-org-team-panel { |
| 4213 | margin-top: 1.5rem; |
| 4214 | } |
| 4215 | |
| 4216 | .shithub-org-team-panel-head { |
| 4217 | margin-bottom: 0.75rem; |
| 4218 | } |
| 4219 | |
| 4220 | .shithub-org-team-member-row { |
| 4221 | grid-template-columns: 40px minmax(0, 1fr) auto; |
| 4222 | } |
| 4223 | |
| 4224 | .shithub-org-team-member-row img { |
| 4225 | width: 40px; |
| 4226 | height: 40px; |
| 4227 | border-radius: 50%; |
| 4228 | border: 1px solid var(--border-muted); |
| 4229 | } |
| 4230 | |
| 4231 | .shithub-org-team-member-row p, |
| 4232 | .shithub-org-team-repo-row p { |
| 4233 | margin: 0.25rem 0 0; |
| 4234 | color: var(--fg-muted); |
| 4235 | font-size: 0.8rem; |
| 4236 | } |
| 4237 | |
| 4238 | .shithub-org-team-repo-row { |
| 4239 | grid-template-columns: minmax(0, 1fr) auto; |
| 4240 | } |
| 4241 | |
| 4242 | .shithub-org-team-repo-main { |
| 4243 | min-width: 0; |
| 4244 | } |
| 4245 | |
| 4246 | .shithub-org-team-repo-main > div { |
| 4247 | min-width: 0; |
| 4248 | } |
| 4249 | |
| 4250 | .shithub-org-team-manage { |
| 4251 | min-width: 0; |
| 4252 | } |
| 4253 | |
| 4254 | .shithub-org-team-manage-box { |
| 4255 | padding: 1rem 0; |
| 4256 | border-top: 1px solid var(--border-default); |
| 4257 | } |
| 4258 | |
| 4259 | .shithub-org-team-manage-box:first-child { |
| 4260 | padding-top: 0; |
| 4261 | border-top: 0; |
| 4262 | } |
| 4263 | |
| 4264 | .shithub-org-team-manage-box form { |
| 4265 | display: grid; |
| 4266 | gap: 0.75rem; |
| 4267 | margin-top: 0.75rem; |
| 4268 | } |
| 4269 | |
| 4270 | @media (max-width: 900px) { |
| 4271 | .shithub-org-teams-layout, |
| 4272 | .shithub-org-team-view-layout { |
| 4273 | grid-template-columns: 1fr; |
| 4274 | } |
| 4275 | |
| 4276 | .shithub-org-team-create-form { |
| 4277 | position: static; |
| 4278 | margin-top: 0.5rem; |
| 4279 | width: 100%; |
| 4280 | border-radius: 6px; |
| 4281 | } |
| 4282 | } |
| 4283 | |
| 4284 | @media (max-width: 640px) { |
| 4285 | .shithub-org-team-toolbar, |
| 4286 | .shithub-org-team-filters { |
| 4287 | grid-template-columns: 1fr; |
| 4288 | } |
| 4289 | |
| 4290 | .shithub-org-team-toolbar { |
| 4291 | display: grid; |
| 4292 | } |
| 4293 | |
| 4294 | .shithub-org-team-member-row, |
| 4295 | .shithub-org-team-repo-row { |
| 4296 | grid-template-columns: 1fr; |
| 4297 | } |
| 4298 | |
| 4299 | .shithub-org-team-member-row img { |
| 4300 | display: none; |
| 4301 | } |
| 4302 | } |
| 4303 | |
| 4304 | .shithub-modal-open { |
| 4305 | overflow: hidden; |
| 4306 | } |
| 4307 | .shithub-pins-overlay { |
| 4308 | position: fixed; |
| 4309 | inset: 0; |
| 4310 | z-index: 100; |
| 4311 | display: flex; |
| 4312 | align-items: center; |
| 4313 | justify-content: center; |
| 4314 | padding: 1rem; |
| 4315 | background: rgba(1, 4, 9, 0.55); |
| 4316 | } |
| 4317 | .shithub-pins-overlay[hidden] { |
| 4318 | display: none; |
| 4319 | } |
| 4320 | .shithub-pins-dialog { |
| 4321 | width: min(480px, 100%); |
| 4322 | max-height: min(620px, calc(100vh - 2rem)); |
| 4323 | display: flex; |
| 4324 | flex-direction: column; |
| 4325 | border: 1px solid var(--border-default); |
| 4326 | border-radius: 8px; |
| 4327 | background: var(--canvas-default); |
| 4328 | box-shadow: 0 16px 48px rgba(1, 4, 9, 0.42); |
| 4329 | overflow: hidden; |
| 4330 | } |
| 4331 | .shithub-pins-head { |
| 4332 | display: flex; |
| 4333 | align-items: center; |
| 4334 | justify-content: space-between; |
| 4335 | gap: 1rem; |
| 4336 | padding: 1rem; |
| 4337 | } |
| 4338 | .shithub-pins-head h2 { |
| 4339 | margin: 0; |
| 4340 | font-size: 1rem; |
| 4341 | } |
| 4342 | .shithub-pins-close { |
| 4343 | flex: 0 0 auto; |
| 4344 | } |
| 4345 | .shithub-pins-help { |
| 4346 | margin: 0; |
| 4347 | padding: 0 1rem 0.75rem; |
| 4348 | color: var(--fg-muted); |
| 4349 | font-size: 0.875rem; |
| 4350 | } |
| 4351 | .shithub-pins-dialog form { |
| 4352 | display: flex; |
| 4353 | min-height: 0; |
| 4354 | flex-direction: column; |
| 4355 | } |
| 4356 | .shithub-pins-filter { |
| 4357 | display: flex; |
| 4358 | align-items: center; |
| 4359 | gap: 0.5rem; |
| 4360 | margin: 0 1rem; |
| 4361 | padding: 0.4rem 0.65rem; |
| 4362 | border: 1px solid var(--border-default); |
| 4363 | border-radius: 6px; |
| 4364 | background: var(--canvas-subtle); |
| 4365 | color: var(--fg-muted); |
| 4366 | } |
| 4367 | .shithub-pins-filter input { |
| 4368 | min-width: 0; |
| 4369 | width: 100%; |
| 4370 | border: 0; |
| 4371 | outline: 0; |
| 4372 | background: transparent; |
| 4373 | color: var(--fg-default); |
| 4374 | font: inherit; |
| 4375 | } |
| 4376 | .shithub-pins-count { |
| 4377 | margin: 0.45rem 1rem 0.75rem; |
| 4378 | color: var(--fg-muted); |
| 4379 | font-size: 0.75rem; |
| 4380 | } |
| 4381 | .shithub-pins-count.is-full { |
| 4382 | color: var(--danger-fg, #cf222e); |
| 4383 | } |
| 4384 | .shithub-pins-list { |
| 4385 | min-height: 180px; |
| 4386 | max-height: 380px; |
| 4387 | overflow: auto; |
| 4388 | border-top: 1px solid var(--border-default); |
| 4389 | border-bottom: 1px solid var(--border-default); |
| 4390 | } |
| 4391 | .shithub-pins-row { |
| 4392 | display: grid; |
| 4393 | grid-template-columns: auto auto minmax(0, 1fr) auto; |
| 4394 | gap: 0.6rem; |
| 4395 | align-items: center; |
| 4396 | padding: 0.45rem 1rem; |
| 4397 | color: var(--fg-default); |
| 4398 | cursor: pointer; |
| 4399 | } |
| 4400 | .shithub-pins-row + .shithub-pins-row { |
| 4401 | border-top: 1px solid var(--border-muted, var(--border-default)); |
| 4402 | } |
| 4403 | .shithub-pins-row:hover { |
| 4404 | background: var(--canvas-subtle); |
| 4405 | } |
| 4406 | .shithub-pins-row input { |
| 4407 | margin: 0; |
| 4408 | } |
| 4409 | .shithub-pins-row-icon { |
| 4410 | display: inline-flex; |
| 4411 | color: var(--fg-muted); |
| 4412 | } |
| 4413 | .shithub-pins-row-main { |
| 4414 | min-width: 0; |
| 4415 | } |
| 4416 | .shithub-pins-row-name { |
| 4417 | display: block; |
| 4418 | overflow: hidden; |
| 4419 | text-overflow: ellipsis; |
| 4420 | white-space: nowrap; |
| 4421 | font-weight: 600; |
| 4422 | } |
| 4423 | .shithub-pins-row-desc { |
| 4424 | display: block; |
| 4425 | margin-top: 0.1rem; |
| 4426 | overflow: hidden; |
| 4427 | text-overflow: ellipsis; |
| 4428 | white-space: nowrap; |
| 4429 | color: var(--fg-muted); |
| 4430 | font-size: 0.75rem; |
| 4431 | } |
| 4432 | .shithub-pins-row-stars { |
| 4433 | display: inline-flex; |
| 4434 | align-items: center; |
| 4435 | gap: 0.25rem; |
| 4436 | color: var(--fg-muted); |
| 4437 | font-size: 0.875rem; |
| 4438 | } |
| 4439 | .shithub-pins-empty { |
| 4440 | margin: 0; |
| 4441 | padding: 1.25rem; |
| 4442 | color: var(--fg-muted); |
| 4443 | text-align: center; |
| 4444 | } |
| 4445 | .shithub-pins-actions { |
| 4446 | display: flex; |
| 4447 | justify-content: flex-end; |
| 4448 | padding: 1rem; |
| 4449 | } |
| 4450 | @media (max-width: 960px) { |
| 4451 | .shithub-org-hero-inner, |
| 4452 | .shithub-org-layout, |
| 4453 | .shithub-org-settings-layout, |
| 4454 | .shithub-org-settings-profile-grid, |
| 4455 | .shithub-org-people-layout, |
| 4456 | .shithub-org-repo-head, |
| 4457 | .shithub-org-repositories-toolbar { |
| 4458 | grid-template-columns: 1fr; |
| 4459 | } |
| 4460 | .shithub-org-avatar { |
| 4461 | width: 80px; |
| 4462 | height: 80px; |
| 4463 | } |
| 4464 | .shithub-org-hero-actions, |
| 4465 | .shithub-org-repo-actions, |
| 4466 | .shithub-org-repositories-filters { |
| 4467 | justify-content: flex-start; |
| 4468 | } |
| 4469 | .shithub-org-repo-row { |
| 4470 | grid-template-columns: 1fr; |
| 4471 | } |
| 4472 | .shithub-org-people-toolbar, |
| 4473 | .shithub-org-people-row, |
| 4474 | .shithub-org-people-meta, |
| 4475 | .shithub-org-people-actions { |
| 4476 | align-items: stretch; |
| 4477 | } |
| 4478 | .shithub-org-people-toolbar { |
| 4479 | flex-direction: column; |
| 4480 | } |
| 4481 | .shithub-org-people-search { |
| 4482 | width: 100%; |
| 4483 | max-width: none; |
| 4484 | } |
| 4485 | .shithub-org-settings-main, |
| 4486 | .shithub-org-settings-form { |
| 4487 | max-width: none; |
| 4488 | } |
| 4489 | .shithub-org-people-row { |
| 4490 | grid-template-columns: 48px minmax(0, 1fr); |
| 4491 | } |
| 4492 | .shithub-org-people-meta, |
| 4493 | .shithub-org-people-actions { |
| 4494 | grid-column: 1 / -1; |
| 4495 | justify-content: flex-start; |
| 4496 | flex-wrap: wrap; |
| 4497 | } |
| 4498 | .shithub-org-repo-spark { |
| 4499 | display: none; |
| 4500 | } |
| 4501 | } |
| 4502 | @media (max-width: 640px) { |
| 4503 | .shithub-org-pinned-grid { |
| 4504 | grid-template-columns: 1fr; |
| 4505 | } |
| 4506 | .shithub-profile-pinned-grid { |
| 4507 | grid-template-columns: 1fr; |
| 4508 | } |
| 4509 | .shithub-org-nav { |
| 4510 | padding-inline: 0.5rem; |
| 4511 | } |
| 4512 | .shithub-org-layout, |
| 4513 | .shithub-org-hero, |
| 4514 | .shithub-org-settings-layout, |
| 4515 | .shithub-org-pagehead-inner, |
| 4516 | .shithub-org-people-layout { |
| 4517 | padding-inline: 0.75rem; |
| 4518 | } |
| 4519 | .shithub-org-settings-row, |
| 4520 | .shithub-org-danger-row { |
| 4521 | grid-template-columns: 1fr; |
| 4522 | } |
| 4523 | .shithub-org-danger-details { |
| 4524 | justify-items: start; |
| 4525 | } |
| 4526 | .shithub-org-pagehead .shithub-org-nav { |
| 4527 | padding-inline: 0.75rem; |
| 4528 | } |
| 4529 | } |
| 4530 | |
| 4531 | .shithub-repo-header { margin-bottom: 1.25rem; } |
| 4532 | .shithub-repo-header-inner { |
| 4533 | display: flex; |
| 4534 | align-items: center; |
| 4535 | justify-content: space-between; |
| 4536 | gap: 1rem; |
| 4537 | padding: 0.25rem 0 0.75rem; |
| 4538 | } |
| 4539 | .shithub-repo-page-title { font-size: 1.4rem; margin: 0; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; } |
| 4540 | .shithub-repo-page-title a { color: var(--accent-fg, #4493f8); } |
| 4541 | .shithub-repo-page-title .shithub-repo-name { font-weight: 600; } |
| 4542 | .shithub-repo-title-icon { color: var(--fg-muted); display: inline-flex; align-items: center; } |
| 4543 | .shithub-repo-actions { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; } |
| 4544 | .shithub-repo-action-form { margin: 0; } |
| 4545 | .shithub-repo-action { |
| 4546 | display: inline-flex; |
| 4547 | align-items: center; |
| 4548 | gap: 0.35rem; |
| 4549 | min-height: 32px; |
| 4550 | padding: 0 0.7rem; |
| 4551 | border: 1px solid var(--border-default); |
| 4552 | border-radius: 6px; |
| 4553 | color: var(--fg-default); |
| 4554 | background: var(--canvas-subtle); |
| 4555 | font-size: 0.875rem; |
| 4556 | font-weight: 600; |
| 4557 | line-height: 20px; |
| 4558 | white-space: nowrap; |
| 4559 | cursor: pointer; |
| 4560 | } |
| 4561 | .shithub-repo-action:hover { text-decoration: none; background: var(--canvas-inset); } |
| 4562 | button.shithub-repo-action { |
| 4563 | font-family: inherit; |
| 4564 | } |
| 4565 | .shithub-repo-action.is-active { |
| 4566 | color: var(--accent-fg); |
| 4567 | } |
| 4568 | .shithub-repo-action-label { color: inherit; } |
| 4569 | .shithub-repo-action .shithub-counter { |
| 4570 | color: var(--fg-muted); |
| 4571 | font-weight: 600; |
| 4572 | font-size: 0.75rem; |
| 4573 | padding: 0 0.35rem; |
| 4574 | min-width: 1.25rem; |
| 4575 | border-radius: 999px; |
| 4576 | background: rgba(110, 118, 129, 0.18); |
| 4577 | } |
| 4578 | .shithub-repo-action-menu { position: relative; } |
| 4579 | .shithub-repo-action-menu > summary { list-style: none; } |
| 4580 | .shithub-repo-action-menu > summary::-webkit-details-marker { display: none; } |
| 4581 | .shithub-repo-action-button svg:last-child { |
| 4582 | width: 12px; |
| 4583 | height: 12px; |
| 4584 | color: var(--fg-muted); |
| 4585 | } |
| 4586 | .shithub-repo-action-popover { |
| 4587 | position: absolute; |
| 4588 | right: 0; |
| 4589 | top: calc(100% + 0.4rem); |
| 4590 | z-index: 20; |
| 4591 | width: min(340px, calc(100vw - 2rem)); |
| 4592 | padding: 0.5rem 0; |
| 4593 | border: 1px solid var(--border-default); |
| 4594 | border-radius: 8px; |
| 4595 | background: var(--canvas-default); |
| 4596 | box-shadow: 0 16px 32px rgba(1, 4, 9, 0.2); |
| 4597 | } |
| 4598 | .shithub-repo-action-popover strong { |
| 4599 | display: block; |
| 4600 | padding: 0.45rem 0.85rem 0.55rem; |
| 4601 | border-bottom: 1px solid var(--border-muted); |
| 4602 | } |
| 4603 | .shithub-repo-action-option-form { margin: 0; } |
| 4604 | .shithub-repo-action-option { |
| 4605 | width: 100%; |
| 4606 | display: grid; |
| 4607 | grid-template-columns: 16px minmax(0, 1fr); |
| 4608 | gap: 0.6rem; |
| 4609 | padding: 0.65rem 0.85rem; |
| 4610 | border: 0; |
| 4611 | border-bottom: 1px solid var(--border-muted); |
| 4612 | background: transparent; |
| 4613 | color: var(--fg-default); |
| 4614 | font: inherit; |
| 4615 | text-align: left; |
| 4616 | cursor: pointer; |
| 4617 | } |
| 4618 | .shithub-repo-action-option:hover { background: var(--canvas-subtle); } |
| 4619 | .shithub-repo-action-radio { |
| 4620 | width: 14px; |
| 4621 | height: 14px; |
| 4622 | margin-top: 0.25rem; |
| 4623 | border: 1px solid var(--border-default); |
| 4624 | border-radius: 50%; |
| 4625 | } |
| 4626 | .shithub-repo-action-option.is-selected .shithub-repo-action-radio { |
| 4627 | border-color: var(--accent-emphasis); |
| 4628 | box-shadow: inset 0 0 0 3px var(--canvas-default); |
| 4629 | background: var(--accent-emphasis); |
| 4630 | } |
| 4631 | .shithub-repo-action-option-title { |
| 4632 | display: block; |
| 4633 | font-weight: 600; |
| 4634 | } |
| 4635 | .shithub-repo-action-option-description { |
| 4636 | display: block; |
| 4637 | margin-top: 0.15rem; |
| 4638 | color: var(--fg-muted); |
| 4639 | font-size: 0.78rem; |
| 4640 | line-height: 1.35; |
| 4641 | } |
| 4642 | .shithub-repo-action-popover-link { |
| 4643 | display: block; |
| 4644 | padding: 0.55rem 0.85rem 0.35rem; |
| 4645 | color: var(--fg-muted); |
| 4646 | font-size: 0.82rem; |
| 4647 | } |
| 4648 | .shithub-repo-subnav { |
| 4649 | display: flex; |
| 4650 | gap: 0.25rem; |
| 4651 | margin: 0; |
| 4652 | border-bottom: 1px solid var(--border-default); |
| 4653 | overflow-x: auto; |
| 4654 | overflow-y: hidden; |
| 4655 | overscroll-behavior-x: contain; |
| 4656 | scrollbar-width: none; |
| 4657 | } |
| 4658 | .shithub-repo-subnav::-webkit-scrollbar { |
| 4659 | display: none; |
| 4660 | } |
| 4661 | .shithub-repo-subnav-tab { |
| 4662 | display: inline-flex; |
| 4663 | align-items: center; |
| 4664 | gap: 0.4rem; |
| 4665 | padding: 0.55rem 0.85rem; |
| 4666 | color: var(--fg-default); |
| 4667 | border-bottom: 2px solid transparent; |
| 4668 | font-size: 0.9rem; |
| 4669 | text-decoration: none; |
| 4670 | position: relative; |
| 4671 | bottom: -1px; |
| 4672 | flex: 0 0 auto; |
| 4673 | white-space: nowrap; |
| 4674 | } |
| 4675 | .shithub-repo-subnav-tab:hover { background: var(--canvas-subtle); border-radius: 6px 6px 0 0; } |
| 4676 | .shithub-repo-subnav-tab.is-active { border-bottom-color: var(--accent-emphasis, #fd8c73); font-weight: 600; } |
| 4677 | |
| 4678 | .shithub-repo-content-grid { |
| 4679 | display: grid; |
| 4680 | grid-template-columns: minmax(0, 1fr) 296px; |
| 4681 | gap: 1.5rem; |
| 4682 | align-items: start; |
| 4683 | } |
| 4684 | .shithub-repo-main { min-width: 0; } |
| 4685 | |
| 4686 | .shithub-repo-product-page { |
| 4687 | max-width: 80rem; |
| 4688 | margin: 1.5rem auto 2rem; |
| 4689 | padding: 0 1rem; |
| 4690 | display: grid; |
| 4691 | grid-template-columns: 18rem minmax(0, 1fr); |
| 4692 | gap: 1.5rem; |
| 4693 | } |
| 4694 | .shithub-repo-product-sidebar { min-width: 0; } |
| 4695 | .shithub-repo-product-sidebar h2 { |
| 4696 | margin: 0 0 0.75rem; |
| 4697 | font-size: 1rem; |
| 4698 | } |
| 4699 | .shithub-repo-product-sidebar nav { |
| 4700 | display: grid; |
| 4701 | gap: 0.15rem; |
| 4702 | } |
| 4703 | .shithub-repo-product-sidebar a { |
| 4704 | display: block; |
| 4705 | padding: 0.45rem 0.6rem; |
| 4706 | border-radius: 6px; |
| 4707 | color: var(--fg-default); |
| 4708 | text-decoration: none; |
| 4709 | font-size: 0.875rem; |
| 4710 | } |
| 4711 | .shithub-repo-product-sidebar a:hover, |
| 4712 | .shithub-repo-product-sidebar a.is-active { |
| 4713 | background: var(--canvas-subtle); |
| 4714 | } |
| 4715 | .shithub-repo-product-main { min-width: 0; } |
| 4716 | .shithub-repo-product-head { |
| 4717 | display: flex; |
| 4718 | align-items: flex-start; |
| 4719 | gap: 0.8rem; |
| 4720 | padding-bottom: 1rem; |
| 4721 | border-bottom: 1px solid var(--border-default); |
| 4722 | } |
| 4723 | .shithub-repo-product-icon { |
| 4724 | display: inline-flex; |
| 4725 | align-items: center; |
| 4726 | justify-content: center; |
| 4727 | width: 2rem; |
| 4728 | height: 2rem; |
| 4729 | border: 1px solid var(--border-default); |
| 4730 | border-radius: 6px; |
| 4731 | color: var(--fg-muted); |
| 4732 | background: var(--canvas-subtle); |
| 4733 | flex: 0 0 auto; |
| 4734 | } |
| 4735 | .shithub-repo-product-head h1 { |
| 4736 | margin: 0 0 0.2rem; |
| 4737 | font-size: 1.5rem; |
| 4738 | font-weight: 600; |
| 4739 | } |
| 4740 | .shithub-repo-product-head p { |
| 4741 | margin: 0; |
| 4742 | color: var(--fg-muted); |
| 4743 | font-size: 0.95rem; |
| 4744 | } |
| 4745 | .shithub-repo-product-blankslate { |
| 4746 | margin-top: 1rem; |
| 4747 | border: 1px solid var(--border-default); |
| 4748 | border-radius: 6px; |
| 4749 | background: var(--canvas-default); |
| 4750 | } |
| 4751 | .shithub-repo-product-section { |
| 4752 | padding: 1rem; |
| 4753 | border-bottom: 1px solid var(--border-default); |
| 4754 | } |
| 4755 | .shithub-repo-product-section:last-child { border-bottom: 0; } |
| 4756 | .shithub-repo-product-section h2 { |
| 4757 | margin: 0 0 0.35rem; |
| 4758 | font-size: 1rem; |
| 4759 | } |
| 4760 | .shithub-repo-product-section p { |
| 4761 | margin: 0; |
| 4762 | color: var(--fg-muted); |
| 4763 | font-size: 0.9rem; |
| 4764 | } |
| 4765 | @media (max-width: 800px) { |
| 4766 | .shithub-repo-product-page { |
| 4767 | grid-template-columns: 1fr; |
| 4768 | } |
| 4769 | .shithub-repo-product-sidebar nav { |
| 4770 | display: flex; |
| 4771 | overflow-x: auto; |
| 4772 | } |
| 4773 | .shithub-repo-product-sidebar a { |
| 4774 | white-space: nowrap; |
| 4775 | } |
| 4776 | } |
| 4777 | |
| 4778 | /* ========== Repository Actions ========== */ |
| 4779 | .shithub-actions-page, |
| 4780 | .shithub-actions-run-layout { |
| 4781 | display: grid; |
| 4782 | grid-template-columns: 18rem minmax(0, 1fr); |
| 4783 | gap: 1.5rem; |
| 4784 | max-width: 1280px; |
| 4785 | margin: 0 auto; |
| 4786 | padding: 1.5rem 1rem; |
| 4787 | } |
| 4788 | .shithub-actions-sidebar { |
| 4789 | align-self: start; |
| 4790 | display: flex; |
| 4791 | flex-direction: column; |
| 4792 | gap: 0.25rem; |
| 4793 | } |
| 4794 | .shithub-actions-sidebar-section { |
| 4795 | margin-top: 1rem; |
| 4796 | padding-top: 0.75rem; |
| 4797 | border-top: 1px solid var(--border-default); |
| 4798 | } |
| 4799 | .shithub-actions-sidebar-section h2 { |
| 4800 | margin: 0 0 0.4rem; |
| 4801 | padding: 0 0.55rem; |
| 4802 | color: var(--fg-muted); |
| 4803 | font-size: 0.78rem; |
| 4804 | font-weight: 600; |
| 4805 | } |
| 4806 | .shithub-actions-sidebar-section p { |
| 4807 | margin: 0; |
| 4808 | padding: 0.25rem 0.55rem; |
| 4809 | color: var(--fg-muted); |
| 4810 | font-size: 0.85rem; |
| 4811 | } |
| 4812 | .shithub-actions-nav-item { |
| 4813 | display: grid; |
| 4814 | grid-template-columns: 1rem minmax(0, 1fr) auto; |
| 4815 | align-items: center; |
| 4816 | gap: 0.5rem; |
| 4817 | min-height: 2rem; |
| 4818 | padding: 0.35rem 0.55rem; |
| 4819 | border-radius: 6px; |
| 4820 | color: var(--fg-default); |
| 4821 | font-size: 0.9rem; |
| 4822 | text-decoration: none; |
| 4823 | } |
| 4824 | .shithub-actions-nav-item:hover, |
| 4825 | .shithub-actions-nav-item.is-active { |
| 4826 | background: var(--canvas-subtle); |
| 4827 | text-decoration: none; |
| 4828 | } |
| 4829 | .shithub-actions-nav-item span:nth-child(2) { |
| 4830 | overflow: hidden; |
| 4831 | text-overflow: ellipsis; |
| 4832 | white-space: nowrap; |
| 4833 | } |
| 4834 | .shithub-actions-nav-count { |
| 4835 | color: var(--fg-muted); |
| 4836 | font-size: 0.78rem; |
| 4837 | } |
| 4838 | .shithub-actions-main, |
| 4839 | .shithub-actions-run-main { |
| 4840 | min-width: 0; |
| 4841 | } |
| 4842 | .shithub-actions-head { |
| 4843 | display: flex; |
| 4844 | align-items: center; |
| 4845 | justify-content: space-between; |
| 4846 | gap: 1rem; |
| 4847 | margin-bottom: 1rem; |
| 4848 | } |
| 4849 | .shithub-actions-head h1 { |
| 4850 | margin: 0; |
| 4851 | font-size: 1.5rem; |
| 4852 | } |
| 4853 | .shithub-actions-head p { |
| 4854 | margin: 0.2rem 0 0; |
| 4855 | color: var(--fg-muted); |
| 4856 | } |
| 4857 | .shithub-actions-head-actions { |
| 4858 | position: relative; |
| 4859 | display: flex; |
| 4860 | align-items: center; |
| 4861 | gap: 0.5rem; |
| 4862 | } |
| 4863 | .shithub-actions-dispatch { |
| 4864 | position: relative; |
| 4865 | } |
| 4866 | .shithub-actions-dispatch summary { |
| 4867 | list-style: none; |
| 4868 | cursor: pointer; |
| 4869 | } |
| 4870 | .shithub-actions-dispatch summary::-webkit-details-marker { |
| 4871 | display: none; |
| 4872 | } |
| 4873 | .shithub-actions-dispatch-menu { |
| 4874 | position: absolute; |
| 4875 | z-index: 20; |
| 4876 | top: calc(100% + 0.4rem); |
| 4877 | right: 0; |
| 4878 | width: min(24rem, calc(100vw - 2rem)); |
| 4879 | max-height: min(38rem, calc(100vh - 8rem)); |
| 4880 | overflow: auto; |
| 4881 | padding: 0.75rem; |
| 4882 | border: 1px solid var(--border-default); |
| 4883 | border-radius: 6px; |
| 4884 | background: var(--canvas-overlay, var(--canvas-default)); |
| 4885 | box-shadow: var(--shadow-large, 0 8px 24px rgba(140, 149, 159, 0.2)); |
| 4886 | } |
| 4887 | .shithub-actions-dispatch-form { |
| 4888 | display: grid; |
| 4889 | gap: 0.7rem; |
| 4890 | padding-bottom: 0.75rem; |
| 4891 | border-bottom: 1px solid var(--border-muted); |
| 4892 | } |
| 4893 | .shithub-actions-dispatch-form + .shithub-actions-dispatch-form { |
| 4894 | padding-top: 0.75rem; |
| 4895 | } |
| 4896 | .shithub-actions-dispatch-form:last-child { |
| 4897 | padding-bottom: 0; |
| 4898 | border-bottom: 0; |
| 4899 | } |
| 4900 | .shithub-actions-dispatch-form header h2 { |
| 4901 | margin: 0; |
| 4902 | font-size: 0.95rem; |
| 4903 | } |
| 4904 | .shithub-actions-dispatch-form header code, |
| 4905 | .shithub-actions-dispatch-form small { |
| 4906 | color: var(--fg-muted); |
| 4907 | font-size: 0.78rem; |
| 4908 | } |
| 4909 | .shithub-actions-dispatch-form label { |
| 4910 | display: grid; |
| 4911 | gap: 0.25rem; |
| 4912 | color: var(--fg-default); |
| 4913 | font-size: 0.84rem; |
| 4914 | } |
| 4915 | .shithub-actions-dispatch-form input[type="text"], |
| 4916 | .shithub-actions-dispatch-form select { |
| 4917 | width: 100%; |
| 4918 | min-width: 0; |
| 4919 | padding: 0.38rem 0.5rem; |
| 4920 | border: 1px solid var(--border-default); |
| 4921 | border-radius: 6px; |
| 4922 | background: var(--canvas-default); |
| 4923 | color: var(--fg-default); |
| 4924 | } |
| 4925 | .shithub-actions-dispatch-check { |
| 4926 | display: inline-flex; |
| 4927 | align-items: center; |
| 4928 | width: fit-content; |
| 4929 | } |
| 4930 | .shithub-actions-dispatch-check input[type="checkbox"] { |
| 4931 | width: 1rem; |
| 4932 | height: 1rem; |
| 4933 | } |
| 4934 | .shithub-actions-filters { |
| 4935 | display: grid; |
| 4936 | grid-template-columns: minmax(9rem, 1fr) repeat(3, minmax(8rem, 0.7fr)) minmax(8rem, 0.8fr) auto auto; |
| 4937 | gap: 0.5rem; |
| 4938 | margin-bottom: 1rem; |
| 4939 | } |
| 4940 | .shithub-actions-search { |
| 4941 | display: flex; |
| 4942 | align-items: center; |
| 4943 | gap: 0.45rem; |
| 4944 | min-width: 0; |
| 4945 | padding: 0.35rem 0.55rem; |
| 4946 | border: 1px solid var(--border-default); |
| 4947 | border-radius: 6px; |
| 4948 | background: var(--canvas-default); |
| 4949 | color: var(--fg-muted); |
| 4950 | } |
| 4951 | .shithub-actions-search input { |
| 4952 | width: 100%; |
| 4953 | min-width: 0; |
| 4954 | border: 0; |
| 4955 | outline: 0; |
| 4956 | background: transparent; |
| 4957 | color: var(--fg-muted); |
| 4958 | } |
| 4959 | .shithub-actions-search input:focus { |
| 4960 | color: var(--fg-default); |
| 4961 | } |
| 4962 | .shithub-actions-select select { |
| 4963 | width: 100%; |
| 4964 | min-height: 2.05rem; |
| 4965 | padding: 0.35rem 2rem 0.35rem 0.55rem; |
| 4966 | border: 1px solid var(--border-default); |
| 4967 | border-radius: 6px; |
| 4968 | background: var(--canvas-default); |
| 4969 | color: var(--fg-default); |
| 4970 | font: inherit; |
| 4971 | } |
| 4972 | .shithub-actions-filter-button { |
| 4973 | display: inline-flex; |
| 4974 | align-items: center; |
| 4975 | gap: 0.35rem; |
| 4976 | padding: 0.35rem 0.7rem; |
| 4977 | border: 1px solid var(--border-default); |
| 4978 | border-radius: 6px; |
| 4979 | background: var(--canvas-default); |
| 4980 | color: var(--fg-default); |
| 4981 | font-size: 0.88rem; |
| 4982 | font-weight: 600; |
| 4983 | } |
| 4984 | .shithub-actions-runs { |
| 4985 | overflow: hidden; |
| 4986 | border: 1px solid var(--border-default); |
| 4987 | border-radius: 6px; |
| 4988 | background: var(--canvas-default); |
| 4989 | } |
| 4990 | .shithub-actions-run-row { |
| 4991 | display: grid; |
| 4992 | grid-template-columns: minmax(0, 1.6fr) minmax(9rem, 0.7fr) minmax(13rem, 0.8fr); |
| 4993 | gap: 1rem; |
| 4994 | align-items: center; |
| 4995 | padding: 0.9rem 1rem; |
| 4996 | border-top: 1px solid var(--border-default); |
| 4997 | } |
| 4998 | .shithub-actions-run-row:first-child { border-top: 0; } |
| 4999 | .shithub-actions-run-primary, |
| 5000 | .shithub-actions-run-branch, |
| 5001 | .shithub-actions-run-meta { |
| 5002 | min-width: 0; |
| 5003 | } |
| 5004 | .shithub-actions-run-title { |
| 5005 | display: flex; |
| 5006 | align-items: flex-start; |
| 5007 | gap: 0.55rem; |
| 5008 | min-width: 0; |
| 5009 | color: var(--fg-default); |
| 5010 | font-size: 1rem; |
| 5011 | font-weight: 600; |
| 5012 | text-decoration: none; |
| 5013 | } |
| 5014 | .shithub-actions-run-title span:last-child { |
| 5015 | overflow: hidden; |
| 5016 | text-overflow: ellipsis; |
| 5017 | white-space: nowrap; |
| 5018 | } |
| 5019 | .shithub-actions-run-title:hover span:last-child { text-decoration: underline; } |
| 5020 | .shithub-actions-run-primary p { |
| 5021 | margin: 0.25rem 0 0 1.55rem; |
| 5022 | color: var(--fg-muted); |
| 5023 | font-size: 0.86rem; |
| 5024 | } |
| 5025 | .shithub-actions-run-meta { |
| 5026 | display: flex; |
| 5027 | align-items: center; |
| 5028 | justify-content: flex-end; |
| 5029 | gap: 0.75rem; |
| 5030 | color: var(--fg-muted); |
| 5031 | font-size: 0.82rem; |
| 5032 | white-space: nowrap; |
| 5033 | } |
| 5034 | .shithub-actions-run-meta span { |
| 5035 | display: inline-flex; |
| 5036 | align-items: center; |
| 5037 | gap: 0.25rem; |
| 5038 | } |
| 5039 | .shithub-actions-state { |
| 5040 | display: inline-flex; |
| 5041 | align-items: center; |
| 5042 | justify-content: center; |
| 5043 | color: var(--fg-muted); |
| 5044 | } |
| 5045 | .shithub-actions-state-success { color: #1a7f37; } |
| 5046 | .shithub-actions-state-failure { color: #cf222e; } |
| 5047 | .shithub-actions-state-pending { color: #9a6700; } |
| 5048 | .shithub-actions-state-running { |
| 5049 | color: #bc4c00; |
| 5050 | } |
| 5051 | .shithub-actions-state-running svg { |
| 5052 | animation: shithub-actions-running-pulse 1s ease-in-out infinite; |
| 5053 | } |
| 5054 | .shithub-actions-state-neutral { color: var(--fg-muted); } |
| 5055 | .shithub-actions-pagination { |
| 5056 | display: flex; |
| 5057 | align-items: center; |
| 5058 | justify-content: space-between; |
| 5059 | gap: 1rem; |
| 5060 | padding: 1rem 0; |
| 5061 | color: var(--fg-muted); |
| 5062 | } |
| 5063 | .shithub-actions-pagination > div { |
| 5064 | display: flex; |
| 5065 | gap: 0.5rem; |
| 5066 | } |
| 5067 | @keyframes shithub-actions-running-pulse { |
| 5068 | 0%, 100% { transform: scale(0.82); opacity: 0.72; } |
| 5069 | 50% { transform: scale(1); opacity: 1; } |
| 5070 | } |
| 5071 | @media (prefers-reduced-motion: reduce) { |
| 5072 | .shithub-actions-state-running svg { |
| 5073 | animation: none; |
| 5074 | } |
| 5075 | } |
| 5076 | .shithub-actions-empty { |
| 5077 | padding: 4rem 1rem; |
| 5078 | border: 1px solid var(--border-default); |
| 5079 | border-radius: 6px; |
| 5080 | background: var(--canvas-default); |
| 5081 | text-align: center; |
| 5082 | } |
| 5083 | .shithub-actions-empty-icon { |
| 5084 | display: inline-flex; |
| 5085 | align-items: center; |
| 5086 | justify-content: center; |
| 5087 | width: 3rem; |
| 5088 | height: 3rem; |
| 5089 | margin-bottom: 1rem; |
| 5090 | border: 1px solid var(--border-default); |
| 5091 | border-radius: 999px; |
| 5092 | color: var(--fg-muted); |
| 5093 | } |
| 5094 | .shithub-actions-empty h2 { |
| 5095 | margin: 0; |
| 5096 | font-size: 1.25rem; |
| 5097 | } |
| 5098 | .shithub-actions-empty p { |
| 5099 | margin: 0.5rem auto 0; |
| 5100 | max-width: 34rem; |
| 5101 | color: var(--fg-muted); |
| 5102 | } |
| 5103 | .shithub-actions-run-page { |
| 5104 | max-width: 1280px; |
| 5105 | margin: 0 auto; |
| 5106 | padding: 1.5rem 1rem; |
| 5107 | } |
| 5108 | .shithub-actions-run-head { |
| 5109 | display: flex; |
| 5110 | align-items: flex-start; |
| 5111 | justify-content: space-between; |
| 5112 | gap: 1rem; |
| 5113 | padding-bottom: 1rem; |
| 5114 | border-bottom: 1px solid var(--border-default); |
| 5115 | } |
| 5116 | .shithub-actions-back { |
| 5117 | display: inline-block; |
| 5118 | margin-bottom: 0.4rem; |
| 5119 | color: var(--fg-muted); |
| 5120 | font-size: 0.86rem; |
| 5121 | } |
| 5122 | .shithub-actions-run-head h1 { |
| 5123 | display: flex; |
| 5124 | align-items: center; |
| 5125 | gap: 0.45rem; |
| 5126 | margin: 0; |
| 5127 | font-size: 1.5rem; |
| 5128 | line-height: 1.25; |
| 5129 | } |
| 5130 | .shithub-actions-run-head h1 span:last-child { |
| 5131 | color: var(--fg-muted); |
| 5132 | font-weight: 400; |
| 5133 | } |
| 5134 | .shithub-actions-run-head p { |
| 5135 | margin: 0.35rem 0 0; |
| 5136 | color: var(--fg-muted); |
| 5137 | } |
| 5138 | .shithub-actions-run-head-actions { |
| 5139 | display: flex; |
| 5140 | align-items: center; |
| 5141 | gap: 0.5rem; |
| 5142 | flex-shrink: 0; |
| 5143 | } |
| 5144 | .shithub-actions-inline-form { |
| 5145 | margin: 0; |
| 5146 | } |
| 5147 | .shithub-actions-run-status { |
| 5148 | pointer-events: none; |
| 5149 | } |
| 5150 | .shithub-actions-run-status-wrap { |
| 5151 | display: flex; |
| 5152 | align-items: center; |
| 5153 | gap: 0.55rem; |
| 5154 | } |
| 5155 | .shithub-actions-run-status-meta { |
| 5156 | color: var(--fg-muted); |
| 5157 | font-size: 0.82rem; |
| 5158 | white-space: nowrap; |
| 5159 | } |
| 5160 | .shithub-actions-run-layout { |
| 5161 | grid-template-columns: 14rem minmax(0, 1fr); |
| 5162 | padding: 1.5rem 0 0; |
| 5163 | } |
| 5164 | .shithub-actions-summary-strip { |
| 5165 | display: grid; |
| 5166 | grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(7rem, 1fr)); |
| 5167 | gap: 1rem; |
| 5168 | margin-bottom: 1rem; |
| 5169 | padding: 1rem; |
| 5170 | border: 1px solid var(--border-default); |
| 5171 | border-radius: 6px; |
| 5172 | background: var(--canvas-default); |
| 5173 | } |
| 5174 | .shithub-actions-summary-strip > div { |
| 5175 | display: flex; |
| 5176 | flex-direction: column; |
| 5177 | gap: 0.2rem; |
| 5178 | } |
| 5179 | .shithub-actions-summary-strip span { |
| 5180 | color: var(--fg-muted); |
| 5181 | font-size: 0.82rem; |
| 5182 | } |
| 5183 | .shithub-actions-workflow-card, |
| 5184 | .shithub-actions-annotations { |
| 5185 | border: 1px solid var(--border-default); |
| 5186 | border-radius: 6px; |
| 5187 | background: var(--canvas-default); |
| 5188 | } |
| 5189 | .shithub-actions-workflow-card > header, |
| 5190 | .shithub-actions-annotations > header { |
| 5191 | padding: 1rem; |
| 5192 | border-bottom: 1px solid var(--border-default); |
| 5193 | } |
| 5194 | .shithub-actions-workflow-card h2, |
| 5195 | .shithub-actions-annotations h2 { |
| 5196 | margin: 0; |
| 5197 | font-size: 1rem; |
| 5198 | } |
| 5199 | .shithub-actions-workflow-card p, |
| 5200 | .shithub-actions-annotations p { |
| 5201 | margin: 0.25rem 0 0; |
| 5202 | color: var(--fg-muted); |
| 5203 | } |
| 5204 | .shithub-actions-workflow-graph { |
| 5205 | position: relative; |
| 5206 | overflow-x: auto; |
| 5207 | min-height: 11rem; |
| 5208 | padding: 1.25rem; |
| 5209 | background: var(--canvas-inset); |
| 5210 | } |
| 5211 | .shithub-actions-workflow-stages { |
| 5212 | display: grid; |
| 5213 | grid-auto-flow: column; |
| 5214 | grid-auto-columns: minmax(14rem, 1fr); |
| 5215 | gap: 1rem; |
| 5216 | min-width: min-content; |
| 5217 | } |
| 5218 | .shithub-actions-workflow-stage { |
| 5219 | display: flex; |
| 5220 | flex-direction: column; |
| 5221 | gap: 0.75rem; |
| 5222 | } |
| 5223 | .shithub-actions-job-card { |
| 5224 | position: relative; |
| 5225 | display: grid; |
| 5226 | grid-template-columns: 1rem minmax(0, 1fr) auto; |
| 5227 | align-items: center; |
| 5228 | gap: 0.55rem; |
| 5229 | min-height: 4.25rem; |
| 5230 | padding: 0.7rem; |
| 5231 | border: 1px solid var(--border-default); |
| 5232 | border-radius: 6px; |
| 5233 | background: var(--canvas-default); |
| 5234 | color: var(--fg-default); |
| 5235 | text-decoration: none; |
| 5236 | } |
| 5237 | .shithub-actions-workflow-stage:not(:first-child) .shithub-actions-job-card::before { |
| 5238 | content: ""; |
| 5239 | position: absolute; |
| 5240 | top: 50%; |
| 5241 | left: -1rem; |
| 5242 | width: 1rem; |
| 5243 | border-top: 1px solid var(--border-muted); |
| 5244 | } |
| 5245 | .shithub-actions-job-card:hover { text-decoration: none; } |
| 5246 | .shithub-actions-job-card strong { |
| 5247 | overflow: hidden; |
| 5248 | text-overflow: ellipsis; |
| 5249 | white-space: nowrap; |
| 5250 | } |
| 5251 | .shithub-actions-job-card span:nth-child(3) { |
| 5252 | color: var(--fg-muted); |
| 5253 | font-size: 0.82rem; |
| 5254 | } |
| 5255 | .shithub-actions-job-card small { |
| 5256 | grid-column: 2 / 4; |
| 5257 | overflow: hidden; |
| 5258 | color: var(--fg-muted); |
| 5259 | font-size: 0.78rem; |
| 5260 | text-overflow: ellipsis; |
| 5261 | white-space: nowrap; |
| 5262 | } |
| 5263 | .shithub-actions-empty-compact { |
| 5264 | border: 0; |
| 5265 | border-top: 1px solid var(--border-default); |
| 5266 | border-radius: 0; |
| 5267 | padding: 2rem 1rem; |
| 5268 | } |
| 5269 | .shithub-actions-jobs { |
| 5270 | display: flex; |
| 5271 | flex-direction: column; |
| 5272 | gap: 0.75rem; |
| 5273 | margin-top: 1rem; |
| 5274 | } |
| 5275 | .shithub-actions-job-detail { |
| 5276 | overflow: hidden; |
| 5277 | border: 1px solid var(--border-default); |
| 5278 | border-radius: 6px; |
| 5279 | background: var(--canvas-default); |
| 5280 | } |
| 5281 | .shithub-actions-job-detail summary { |
| 5282 | display: grid; |
| 5283 | grid-template-columns: 1rem minmax(0, 1fr); |
| 5284 | align-items: center; |
| 5285 | gap: 0.6rem; |
| 5286 | padding: 0.9rem 1rem; |
| 5287 | cursor: pointer; |
| 5288 | list-style: none; |
| 5289 | } |
| 5290 | .shithub-actions-job-detail summary::-webkit-details-marker { |
| 5291 | display: none; |
| 5292 | } |
| 5293 | .shithub-actions-job-detail summary strong, |
| 5294 | .shithub-actions-step-row strong { |
| 5295 | display: block; |
| 5296 | overflow: hidden; |
| 5297 | text-overflow: ellipsis; |
| 5298 | white-space: nowrap; |
| 5299 | } |
| 5300 | .shithub-actions-job-detail summary small, |
| 5301 | .shithub-actions-step-row small { |
| 5302 | display: block; |
| 5303 | overflow: hidden; |
| 5304 | margin-top: 0.15rem; |
| 5305 | color: var(--fg-muted); |
| 5306 | font-size: 0.82rem; |
| 5307 | text-overflow: ellipsis; |
| 5308 | white-space: nowrap; |
| 5309 | } |
| 5310 | .shithub-actions-job-actions { |
| 5311 | display: flex; |
| 5312 | justify-content: flex-end; |
| 5313 | padding: 0 1rem 0.75rem; |
| 5314 | } |
| 5315 | .shithub-actions-cancel-requested { |
| 5316 | display: inline-flex; |
| 5317 | align-items: center; |
| 5318 | gap: 0.35rem; |
| 5319 | color: var(--fg-muted); |
| 5320 | font-size: 0.82rem; |
| 5321 | } |
| 5322 | .shithub-actions-step-list { |
| 5323 | margin: 0; |
| 5324 | padding: 0; |
| 5325 | border-top: 1px solid var(--border-default); |
| 5326 | list-style: none; |
| 5327 | } |
| 5328 | .shithub-actions-step-row { |
| 5329 | display: grid; |
| 5330 | grid-template-columns: 1rem minmax(0, 1fr) auto; |
| 5331 | align-items: center; |
| 5332 | gap: 0.65rem; |
| 5333 | min-height: 3.25rem; |
| 5334 | padding: 0.65rem 1rem; |
| 5335 | border-top: 1px solid var(--border-default); |
| 5336 | color: var(--fg-default); |
| 5337 | text-decoration: none; |
| 5338 | } |
| 5339 | .shithub-actions-step-list li:first-child .shithub-actions-step-row { |
| 5340 | border-top: 0; |
| 5341 | } |
| 5342 | .shithub-actions-step-row:hover { |
| 5343 | background: var(--canvas-subtle); |
| 5344 | text-decoration: none; |
| 5345 | } |
| 5346 | .shithub-actions-step-row > span:last-child { |
| 5347 | color: var(--fg-muted); |
| 5348 | font-size: 0.82rem; |
| 5349 | white-space: nowrap; |
| 5350 | } |
| 5351 | .shithub-actions-step-empty { |
| 5352 | padding: 0.8rem 1rem; |
| 5353 | color: var(--fg-muted); |
| 5354 | } |
| 5355 | .shithub-actions-log-panel { |
| 5356 | overflow: hidden; |
| 5357 | border: 1px solid var(--border-default); |
| 5358 | border-radius: 6px; |
| 5359 | background: var(--canvas-default); |
| 5360 | } |
| 5361 | .shithub-actions-log-panel > header { |
| 5362 | padding: 1rem; |
| 5363 | border-bottom: 1px solid var(--border-default); |
| 5364 | } |
| 5365 | .shithub-actions-log-panel h2 { |
| 5366 | margin: 0; |
| 5367 | font-size: 1rem; |
| 5368 | } |
| 5369 | .shithub-actions-log-panel p { |
| 5370 | margin: 0.25rem 0 0; |
| 5371 | color: var(--fg-muted); |
| 5372 | } |
| 5373 | .shithub-actions-log-output { |
| 5374 | overflow: auto; |
| 5375 | max-height: 72vh; |
| 5376 | margin: 0; |
| 5377 | padding: 1rem; |
| 5378 | background: #0d1117; |
| 5379 | color: #e6edf3; |
| 5380 | font: 0.82rem/1.45 ui-monospace, SFMono-Regular, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; |
| 5381 | white-space: pre-wrap; |
| 5382 | word-break: break-word; |
| 5383 | } |
| 5384 | .shithub-actions-log-output code { |
| 5385 | font: inherit; |
| 5386 | } |
| 5387 | .shithub-actions-log-live { |
| 5388 | padding: 0.5rem 1rem; |
| 5389 | border-top: 1px solid var(--border-default); |
| 5390 | background: var(--canvas-subtle); |
| 5391 | color: var(--fg-muted); |
| 5392 | font-size: 0.82rem; |
| 5393 | } |
| 5394 | .shithub-actions-log-empty { |
| 5395 | padding: 2rem 1rem; |
| 5396 | color: var(--fg-muted); |
| 5397 | text-align: center; |
| 5398 | } |
| 5399 | .shithub-actions-annotations { |
| 5400 | margin-top: 1rem; |
| 5401 | } |
| 5402 | .shithub-actions-annotation-list { |
| 5403 | display: flex; |
| 5404 | flex-direction: column; |
| 5405 | } |
| 5406 | .shithub-actions-annotation { |
| 5407 | display: grid; |
| 5408 | grid-template-columns: 1rem minmax(0, 1fr); |
| 5409 | gap: 0.6rem; |
| 5410 | padding: 0.9rem 1rem; |
| 5411 | border-top: 1px solid var(--border-default); |
| 5412 | } |
| 5413 | .shithub-actions-annotation > svg { |
| 5414 | margin-top: 0.15rem; |
| 5415 | color: #9a6700; |
| 5416 | } |
| 5417 | @media (max-width: 900px) { |
| 5418 | .shithub-actions-page, |
| 5419 | .shithub-actions-run-layout, |
| 5420 | .shithub-actions-filters, |
| 5421 | .shithub-actions-run-row, |
| 5422 | .shithub-actions-summary-strip { |
| 5423 | grid-template-columns: 1fr; |
| 5424 | } |
| 5425 | .shithub-actions-run-meta, |
| 5426 | .shithub-actions-run-head { |
| 5427 | justify-content: flex-start; |
| 5428 | } |
| 5429 | .shithub-actions-run-head { |
| 5430 | flex-direction: column; |
| 5431 | } |
| 5432 | .shithub-actions-head { |
| 5433 | align-items: flex-start; |
| 5434 | flex-direction: column; |
| 5435 | } |
| 5436 | .shithub-actions-head-actions { |
| 5437 | width: 100%; |
| 5438 | flex-wrap: wrap; |
| 5439 | } |
| 5440 | .shithub-actions-dispatch-menu { |
| 5441 | right: auto; |
| 5442 | left: 0; |
| 5443 | } |
| 5444 | } |
| 5445 | .shithub-tree-panel { |
| 5446 | border: 1px solid var(--border-default); |
| 5447 | border-radius: 6px; |
| 5448 | background: var(--canvas-default); |
| 5449 | overflow: hidden; |
| 5450 | } |
| 5451 | .shithub-tree-commit { |
| 5452 | display: flex; |
| 5453 | justify-content: space-between; |
| 5454 | align-items: center; |
| 5455 | gap: 1rem; |
| 5456 | padding: 0.75rem 1rem; |
| 5457 | background: var(--canvas-subtle); |
| 5458 | border-bottom: 1px solid var(--border-default); |
| 5459 | font-size: 0.9rem; |
| 5460 | } |
| 5461 | .shithub-tree-commit-message, |
| 5462 | .shithub-tree-commit-meta { |
| 5463 | display: flex; |
| 5464 | align-items: center; |
| 5465 | gap: 0.5rem; |
| 5466 | min-width: 0; |
| 5467 | } |
| 5468 | .shithub-tree-commit-message .shithub-avatar-sm { |
| 5469 | margin-right: 0; |
| 5470 | } |
| 5471 | .shithub-tree-commit-subject, |
| 5472 | .shithub-tree-row-commit a { |
| 5473 | overflow: hidden; |
| 5474 | text-overflow: ellipsis; |
| 5475 | white-space: nowrap; |
| 5476 | } |
| 5477 | .shithub-tree-commit-subject { |
| 5478 | color: var(--fg-default); |
| 5479 | min-width: 0; |
| 5480 | } |
| 5481 | .shithub-tree-commit-meta { color: var(--fg-muted); flex: 0 0 auto; } |
| 5482 | .shithub-tree-commit-meta a { |
| 5483 | color: var(--fg-muted); |
| 5484 | } |
| 5485 | .shithub-tree-commit-count { |
| 5486 | display: inline-flex; |
| 5487 | align-items: center; |
| 5488 | gap: 0.35rem; |
| 5489 | font-weight: 600; |
| 5490 | } |
| 5491 | .shithub-tree { |
| 5492 | width: 100%; |
| 5493 | border-collapse: collapse; |
| 5494 | font-size: 0.9rem; |
| 5495 | background: var(--canvas-default); |
| 5496 | table-layout: fixed; |
| 5497 | } |
| 5498 | .shithub-tree td { |
| 5499 | padding: 0.5rem 0.75rem; |
| 5500 | border-bottom: 1px solid var(--border-default); |
| 5501 | vertical-align: middle; |
| 5502 | } |
| 5503 | .shithub-tree tr:last-child td { border-bottom: 0; } |
| 5504 | .shithub-tree-icon { width: 36px; color: var(--fg-muted); padding-right: 0; } |
| 5505 | .shithub-tree-icon svg { display: block; } |
| 5506 | .shithub-tree-name { |
| 5507 | width: 34%; |
| 5508 | font-weight: 600; |
| 5509 | } |
| 5510 | .shithub-tree-name a { color: var(--fg-default); } |
| 5511 | .shithub-tree-row-commit { |
| 5512 | width: auto; |
| 5513 | color: var(--fg-muted); |
| 5514 | } |
| 5515 | .shithub-tree-row-commit a { |
| 5516 | display: block; |
| 5517 | color: var(--fg-muted); |
| 5518 | } |
| 5519 | .shithub-tree-row-time { |
| 5520 | width: 120px; |
| 5521 | color: var(--fg-muted); |
| 5522 | text-align: right; |
| 5523 | white-space: nowrap; |
| 5524 | } |
| 5525 | .shithub-tree-symlink { color: var(--fg-muted); font-style: italic; font-size: 0.8rem; } |
| 5526 | .shithub-tree-submodule { color: var(--fg-muted); font-size: 0.9em; font-weight: 400; } |
| 5527 | @media (max-width: 760px) { |
| 5528 | .shithub-code-actions { |
| 5529 | flex: 1 1 100%; |
| 5530 | justify-content: stretch; |
| 5531 | } |
| 5532 | .shithub-go-to-file { |
| 5533 | flex: 1 1 auto; |
| 5534 | } |
| 5535 | .shithub-tree-commit { |
| 5536 | align-items: flex-start; |
| 5537 | flex-direction: column; |
| 5538 | } |
| 5539 | .shithub-tree-commit-meta { |
| 5540 | flex-wrap: wrap; |
| 5541 | } |
| 5542 | .shithub-tree-name { |
| 5543 | width: auto; |
| 5544 | } |
| 5545 | .shithub-tree-row-commit, |
| 5546 | .shithub-tree-row-time { |
| 5547 | display: none; |
| 5548 | } |
| 5549 | } |
| 5550 | |
| 5551 | /* Code-view layout: 2/3 main column + 1/3 About sidebar, mirroring |
| 5552 | the GitHub repo home layout. Single-column on narrow viewports so |
| 5553 | the sidebar drops below the tree on mobile. The S39 hardening pass |
| 5554 | replaces the previous single-centered-column layout that wasted |
| 5555 | the right rail. */ |
| 5556 | .shithub-repo-with-sidebar { |
| 5557 | display: grid; |
| 5558 | grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); |
| 5559 | gap: 1.5rem; |
| 5560 | align-items: start; |
| 5561 | } |
| 5562 | .shithub-repo-main { |
| 5563 | min-width: 0; /* let the grid item shrink so children with overflow-x scroll instead of forcing the column wider */ |
| 5564 | } |
| 5565 | @media (max-width: 1024px) { |
| 5566 | .shithub-repo-with-sidebar { |
| 5567 | grid-template-columns: 1fr; |
| 5568 | } |
| 5569 | } |
| 5570 | |
| 5571 | .shithub-repo-about { |
| 5572 | border-top: 1px solid var(--border-default); |
| 5573 | padding-top: 1rem; |
| 5574 | font-size: 0.875rem; |
| 5575 | --language-color-primary: #00add8; |
| 5576 | } |
| 5577 | @media (min-width: 1025px) { |
| 5578 | .shithub-repo-about { |
| 5579 | border-top: none; |
| 5580 | padding-top: 0; |
| 5581 | } |
| 5582 | } |
| 5583 | .shithub-border-grid-row { |
| 5584 | border-top: 1px solid var(--border-default); |
| 5585 | padding: 1rem 0; |
| 5586 | } |
| 5587 | .shithub-border-grid-row:first-child { |
| 5588 | border-top: 0; |
| 5589 | padding-top: 0; |
| 5590 | } |
| 5591 | .shithub-repo-about-heading, |
| 5592 | .shithub-repo-about-section-heading { |
| 5593 | display: flex; |
| 5594 | align-items: center; |
| 5595 | justify-content: space-between; |
| 5596 | gap: 0.75rem; |
| 5597 | margin: 0 0 0.75rem; |
| 5598 | color: var(--fg-default); |
| 5599 | font-size: 1rem; |
| 5600 | font-weight: 600; |
| 5601 | line-height: 1.5; |
| 5602 | } |
| 5603 | .shithub-repo-about-heading h2 { |
| 5604 | margin: 0; |
| 5605 | font-size: 1rem; |
| 5606 | } |
| 5607 | .shithub-repo-about-heading a { |
| 5608 | color: var(--fg-muted); |
| 5609 | display: inline-flex; |
| 5610 | } |
| 5611 | .shithub-repo-about-desc { |
| 5612 | margin: 0 0 1rem; |
| 5613 | color: var(--fg-default); |
| 5614 | font-size: 1rem; |
| 5615 | line-height: 1.5; |
| 5616 | } |
| 5617 | .shithub-repo-topics { |
| 5618 | display: flex; |
| 5619 | flex-wrap: wrap; |
| 5620 | gap: 0.4rem; |
| 5621 | margin: 0 0 1rem; |
| 5622 | } |
| 5623 | .shithub-topic { |
| 5624 | display: inline-flex; |
| 5625 | padding: 0.18rem 0.55rem; |
| 5626 | border-radius: 999px; |
| 5627 | background: color-mix(in srgb, var(--accent-fg, #4493f8) 12%, transparent); |
| 5628 | color: var(--accent-fg, #4493f8); |
| 5629 | font-size: 0.75rem; |
| 5630 | font-weight: 600; |
| 5631 | } |
| 5632 | .shithub-repo-about-list, |
| 5633 | .shithub-repo-about-stats, |
| 5634 | .shithub-language-list { |
| 5635 | list-style: none; |
| 5636 | padding: 0; |
| 5637 | margin: 0; |
| 5638 | } |
| 5639 | .shithub-repo-about-list li, |
| 5640 | .shithub-repo-about-stats li, |
| 5641 | .shithub-language-list li { |
| 5642 | display: flex; |
| 5643 | align-items: center; |
| 5644 | gap: 0.5rem; |
| 5645 | min-width: 0; |
| 5646 | margin: 0.5rem 0; |
| 5647 | color: var(--fg-muted); |
| 5648 | } |
| 5649 | .shithub-repo-about-list svg, |
| 5650 | .shithub-repo-about-stats svg { |
| 5651 | color: var(--fg-muted); |
| 5652 | flex: 0 0 auto; |
| 5653 | } |
| 5654 | .shithub-repo-about-list span, |
| 5655 | .shithub-repo-about-stats strong, |
| 5656 | .shithub-language-list span:nth-child(2) { |
| 5657 | color: var(--fg-default); |
| 5658 | } |
| 5659 | .shithub-repo-about-stats { |
| 5660 | margin-top: 0.75rem; |
| 5661 | } |
| 5662 | .shithub-repo-about-stats a { |
| 5663 | color: var(--fg-muted); |
| 5664 | display: inline-flex; |
| 5665 | align-items: center; |
| 5666 | gap: 0.5rem; |
| 5667 | } |
| 5668 | .shithub-repo-about-stats a:hover, |
| 5669 | .shithub-repo-report:hover, |
| 5670 | .shithub-repo-contributor:hover { |
| 5671 | color: var(--accent-fg); |
| 5672 | text-decoration: none; |
| 5673 | } |
| 5674 | .shithub-repo-report { |
| 5675 | display: inline-block; |
| 5676 | margin-top: 0.5rem; |
| 5677 | color: var(--fg-muted); |
| 5678 | } |
| 5679 | .shithub-repo-about-section-heading { |
| 5680 | margin-bottom: 0.5rem; |
| 5681 | } |
| 5682 | .shithub-repo-section-count { |
| 5683 | min-width: 1.25rem; |
| 5684 | padding: 0 0.35rem; |
| 5685 | border-radius: 999px; |
| 5686 | background: var(--neutral-muted); |
| 5687 | color: var(--fg-default); |
| 5688 | font-size: 0.75rem; |
| 5689 | font-weight: 600; |
| 5690 | line-height: 1.5; |
| 5691 | text-align: center; |
| 5692 | } |
| 5693 | .shithub-repo-contributors { |
| 5694 | display: flex; |
| 5695 | flex-direction: column; |
| 5696 | gap: 0.5rem; |
| 5697 | } |
| 5698 | .shithub-repo-contributor { |
| 5699 | display: inline-flex; |
| 5700 | align-items: center; |
| 5701 | gap: 0.5rem; |
| 5702 | color: var(--fg-default); |
| 5703 | font-weight: 600; |
| 5704 | } |
| 5705 | .shithub-repo-contributor img { |
| 5706 | width: 32px; |
| 5707 | height: 32px; |
| 5708 | border-radius: 50%; |
| 5709 | } |
| 5710 | .shithub-repo-contributor-identicon { |
| 5711 | width: 32px; |
| 5712 | height: 32px; |
| 5713 | border-radius: 50%; |
| 5714 | flex: 0 0 auto; |
| 5715 | } |
| 5716 | .shithub-language-bar { |
| 5717 | display: flex; |
| 5718 | overflow: hidden; |
| 5719 | height: 0.5rem; |
| 5720 | margin: 0.5rem 0 0.75rem; |
| 5721 | border-radius: 999px; |
| 5722 | background: var(--border-muted); |
| 5723 | } |
| 5724 | .shithub-language-bar span { |
| 5725 | display: block; |
| 5726 | min-width: 2px; |
| 5727 | } |
| 5728 | .shithub-language-list { |
| 5729 | display: flex; |
| 5730 | flex-wrap: wrap; |
| 5731 | gap: 0.25rem 1rem; |
| 5732 | } |
| 5733 | .shithub-language-list li { |
| 5734 | margin: 0; |
| 5735 | gap: 0.35rem; |
| 5736 | font-size: 0.75rem; |
| 5737 | } |
| 5738 | .shithub-language-dot { |
| 5739 | width: 0.75rem; |
| 5740 | height: 0.75rem; |
| 5741 | border-radius: 50%; |
| 5742 | flex: 0 0 auto; |
| 5743 | } |
| 5744 | |
| 5745 | .shithub-readme { |
| 5746 | margin-top: 1rem; |
| 5747 | padding: 0; |
| 5748 | border: 1px solid var(--border-default); |
| 5749 | border-radius: 6px; |
| 5750 | background: var(--canvas-default); |
| 5751 | overflow: visible; |
| 5752 | } |
| 5753 | .shithub-readme-head { |
| 5754 | position: relative; |
| 5755 | display: flex; |
| 5756 | align-items: center; |
| 5757 | gap: 1rem; |
| 5758 | min-height: 48px; |
| 5759 | padding: 0 1rem; |
| 5760 | border-bottom: 1px solid var(--border-default); |
| 5761 | overflow: visible; |
| 5762 | scrollbar-width: none; |
| 5763 | } |
| 5764 | .shithub-readme-head::-webkit-scrollbar { |
| 5765 | display: none; |
| 5766 | } |
| 5767 | .shithub-readme-tabs { |
| 5768 | display: flex; |
| 5769 | align-items: stretch; |
| 5770 | flex: 1 1 auto; |
| 5771 | gap: 1.25rem; |
| 5772 | min-width: 0; |
| 5773 | overflow-x: auto; |
| 5774 | scrollbar-width: none; |
| 5775 | } |
| 5776 | .shithub-readme-tabs::-webkit-scrollbar { |
| 5777 | display: none; |
| 5778 | } |
| 5779 | .shithub-readme-head-actions { |
| 5780 | display: flex; |
| 5781 | align-items: center; |
| 5782 | gap: 0.35rem; |
| 5783 | align-self: center; |
| 5784 | margin-left: auto; |
| 5785 | } |
| 5786 | .shithub-readme-head-actions .shithub-button-icon, |
| 5787 | .shithub-readme-outline > summary { |
| 5788 | box-sizing: border-box; |
| 5789 | display: inline-flex; |
| 5790 | align-items: center; |
| 5791 | justify-content: center; |
| 5792 | flex: 0 0 32px; |
| 5793 | width: 32px; |
| 5794 | min-width: 32px; |
| 5795 | height: 32px; |
| 5796 | padding: 0; |
| 5797 | line-height: 1; |
| 5798 | } |
| 5799 | .shithub-readme-head-actions svg { |
| 5800 | display: block; |
| 5801 | flex: 0 0 auto; |
| 5802 | width: 16px; |
| 5803 | height: 16px; |
| 5804 | } |
| 5805 | .shithub-readme-tab { |
| 5806 | display: inline-flex; |
| 5807 | align-items: center; |
| 5808 | gap: 0.45rem; |
| 5809 | margin-bottom: -1px; |
| 5810 | padding: 0.85rem 0 0.78rem; |
| 5811 | border-bottom: 2px solid transparent; |
| 5812 | color: var(--fg-muted); |
| 5813 | font-size: 0.85rem; |
| 5814 | font-weight: 600; |
| 5815 | text-decoration: none; |
| 5816 | white-space: nowrap; |
| 5817 | } |
| 5818 | .shithub-readme-tab:hover { |
| 5819 | color: var(--fg-default); |
| 5820 | text-decoration: none; |
| 5821 | } |
| 5822 | .shithub-readme-tab.is-active { |
| 5823 | border-bottom-color: var(--accent-emphasis, #fd8c73); |
| 5824 | color: var(--fg-default); |
| 5825 | } |
| 5826 | .shithub-readme-head .shithub-readme-outline { |
| 5827 | display: inline-flex; |
| 5828 | align-items: center; |
| 5829 | justify-content: center; |
| 5830 | position: relative; |
| 5831 | flex: 0 0 auto; |
| 5832 | width: 32px; |
| 5833 | height: 32px; |
| 5834 | margin: 0; |
| 5835 | align-self: center; |
| 5836 | } |
| 5837 | .shithub-readme-outline > summary { |
| 5838 | margin: 0; |
| 5839 | border: 1px solid transparent; |
| 5840 | border-radius: 6px; |
| 5841 | color: var(--fg-muted); |
| 5842 | background: transparent; |
| 5843 | cursor: pointer; |
| 5844 | list-style: none; |
| 5845 | appearance: none; |
| 5846 | -webkit-appearance: none; |
| 5847 | } |
| 5848 | .shithub-readme-outline > summary::marker { |
| 5849 | content: ""; |
| 5850 | } |
| 5851 | .shithub-readme-outline > summary::-webkit-details-marker { |
| 5852 | display: none; |
| 5853 | } |
| 5854 | .shithub-readme-outline > summary:hover, |
| 5855 | .shithub-readme-outline[open] > summary { |
| 5856 | color: var(--fg-default); |
| 5857 | background: var(--canvas-subtle); |
| 5858 | } |
| 5859 | .shithub-readme-outline-panel { |
| 5860 | position: absolute; |
| 5861 | top: calc(100% + 8px); |
| 5862 | right: 0; |
| 5863 | z-index: 40; |
| 5864 | width: min(360px, calc(100vw - 2rem)); |
| 5865 | max-height: min(520px, calc(100vh - 8rem)); |
| 5866 | padding: 0.75rem; |
| 5867 | overflow: auto; |
| 5868 | border: 1px solid var(--border-default); |
| 5869 | border-radius: 12px; |
| 5870 | background: var(--canvas-default); |
| 5871 | box-shadow: 0 16px 32px rgba(31, 35, 40, 0.16); |
| 5872 | } |
| 5873 | [data-theme="dark"] .shithub-readme-outline-panel, |
| 5874 | [data-theme="high-contrast"] .shithub-readme-outline-panel { |
| 5875 | box-shadow: 0 16px 32px rgba(1, 4, 9, 0.6); |
| 5876 | } |
| 5877 | .shithub-readme-outline-filter { |
| 5878 | display: block; |
| 5879 | margin: 0 0 0.75rem; |
| 5880 | } |
| 5881 | .shithub-readme-outline-filter input { |
| 5882 | width: 100%; |
| 5883 | min-height: 40px; |
| 5884 | padding: 0.5rem 0.75rem; |
| 5885 | border: 1px solid var(--border-default); |
| 5886 | border-radius: 6px; |
| 5887 | color: var(--fg-default); |
| 5888 | background: var(--canvas-default); |
| 5889 | font: inherit; |
| 5890 | } |
| 5891 | .shithub-readme-outline-filter input:focus { |
| 5892 | border-color: var(--accent-emphasis); |
| 5893 | outline: 2px solid var(--accent-emphasis); |
| 5894 | outline-offset: -1px; |
| 5895 | } |
| 5896 | .shithub-readme-outline-list { |
| 5897 | display: flex; |
| 5898 | flex-direction: column; |
| 5899 | gap: 0.15rem; |
| 5900 | } |
| 5901 | .shithub-readme-outline-item { |
| 5902 | display: block; |
| 5903 | padding: 0.35rem 0.5rem; |
| 5904 | border-radius: 6px; |
| 5905 | color: var(--fg-default); |
| 5906 | font-size: 0.875rem; |
| 5907 | font-weight: 600; |
| 5908 | line-height: 1.35; |
| 5909 | text-decoration: none; |
| 5910 | } |
| 5911 | .shithub-readme-outline-item:hover { |
| 5912 | background: var(--canvas-subtle); |
| 5913 | text-decoration: none; |
| 5914 | } |
| 5915 | .shithub-readme-outline-item.is-depth-2 { padding-left: 1.25rem; } |
| 5916 | .shithub-readme-outline-item.is-depth-3 { padding-left: 2rem; } |
| 5917 | .shithub-readme-outline-item.is-depth-4, |
| 5918 | .shithub-readme-outline-item.is-depth-5, |
| 5919 | .shithub-readme-outline-item.is-depth-6 { padding-left: 2.75rem; } |
| 5920 | .shithub-readme-outline-empty { |
| 5921 | margin: 0; |
| 5922 | padding: 0.35rem 0.5rem; |
| 5923 | color: var(--fg-muted); |
| 5924 | font-size: 0.875rem; |
| 5925 | } |
| 5926 | .shithub-readme-body { padding: 2rem; } |
| 5927 | .markdown-body { |
| 5928 | color: var(--fg-default); |
| 5929 | font-size: 0.875rem; |
| 5930 | line-height: 1.5; |
| 5931 | overflow-wrap: break-word; |
| 5932 | } |
| 5933 | .markdown-body > :first-child { margin-top: 0; } |
| 5934 | .markdown-body > :last-child { margin-bottom: 0; } |
| 5935 | .markdown-body p, |
| 5936 | .markdown-body blockquote, |
| 5937 | .markdown-body ul, |
| 5938 | .markdown-body ol, |
| 5939 | .markdown-body dl, |
| 5940 | .markdown-body table, |
| 5941 | .markdown-body pre, |
| 5942 | .markdown-body details { |
| 5943 | margin-top: 0; |
| 5944 | margin-bottom: 1rem; |
| 5945 | } |
| 5946 | .markdown-body h1, |
| 5947 | .markdown-body h2 { |
| 5948 | margin-top: 1.5rem; |
| 5949 | margin-bottom: 1rem; |
| 5950 | padding-bottom: 0.3em; |
| 5951 | border-bottom: 1px solid var(--border-default); |
| 5952 | } |
| 5953 | .markdown-body h1 { font-size: 2em; } |
| 5954 | .markdown-body h2 { font-size: 1.5em; } |
| 5955 | .markdown-body h3 { font-size: 1.25em; } |
| 5956 | .markdown-body h1, |
| 5957 | .markdown-body h2, |
| 5958 | .markdown-body h3, |
| 5959 | .markdown-body h4, |
| 5960 | .markdown-body h5, |
| 5961 | .markdown-body h6 { |
| 5962 | font-weight: 600; |
| 5963 | line-height: 1.25; |
| 5964 | } |
| 5965 | .markdown-body hr { |
| 5966 | height: 0.25em; |
| 5967 | padding: 0; |
| 5968 | margin: 1.5rem 0; |
| 5969 | background: var(--border-default); |
| 5970 | border: 0; |
| 5971 | } |
| 5972 | .markdown-body img { |
| 5973 | max-width: 100%; |
| 5974 | box-sizing: content-box; |
| 5975 | } |
| 5976 | .markdown-body [align="center"] { text-align: center; } |
| 5977 | .markdown-body [align="right"] { text-align: right; } |
| 5978 | .markdown-body [align="left"] { text-align: left; } |
| 5979 | .markdown-body :not(pre) > code { |
| 5980 | padding: 0.2em 0.4em; |
| 5981 | margin: 0; |
| 5982 | border-radius: 6px; |
| 5983 | background: var(--canvas-subtle); |
| 5984 | font-size: 85%; |
| 5985 | } |
| 5986 | .markdown-body pre { |
| 5987 | padding: 1rem; |
| 5988 | overflow: auto; |
| 5989 | border-radius: 6px; |
| 5990 | background: var(--canvas-subtle); |
| 5991 | font-size: 85%; |
| 5992 | line-height: 1.45; |
| 5993 | } |
| 5994 | .markdown-body pre code { |
| 5995 | display: inline; |
| 5996 | max-width: none; |
| 5997 | padding: 0; |
| 5998 | margin: 0; |
| 5999 | overflow: visible; |
| 6000 | border: 0; |
| 6001 | background: transparent; |
| 6002 | color: inherit; |
| 6003 | font-size: 100%; |
| 6004 | line-height: inherit; |
| 6005 | white-space: pre; |
| 6006 | word-break: normal; |
| 6007 | overflow-wrap: normal; |
| 6008 | } |
| 6009 | .markdown-body .shithub-markdown-codeblock { |
| 6010 | position: relative; |
| 6011 | margin: 0 0 1rem; |
| 6012 | } |
| 6013 | .markdown-body > .shithub-markdown-codeblock:last-child { |
| 6014 | margin-bottom: 0; |
| 6015 | } |
| 6016 | .markdown-body .shithub-markdown-codeblock pre { |
| 6017 | margin: 0; |
| 6018 | padding-right: 3rem; |
| 6019 | } |
| 6020 | .shithub-markdown-code-copy { |
| 6021 | position: absolute; |
| 6022 | top: 0.5rem; |
| 6023 | right: 0.5rem; |
| 6024 | display: inline-flex; |
| 6025 | align-items: center; |
| 6026 | justify-content: center; |
| 6027 | width: 28px; |
| 6028 | height: 28px; |
| 6029 | padding: 0; |
| 6030 | border: 1px solid var(--border-default); |
| 6031 | border-radius: 6px; |
| 6032 | color: var(--fg-muted); |
| 6033 | background: var(--canvas-subtle); |
| 6034 | cursor: pointer; |
| 6035 | } |
| 6036 | .shithub-markdown-code-copy:hover, |
| 6037 | .shithub-markdown-code-copy:focus { |
| 6038 | color: var(--fg-default); |
| 6039 | background: var(--button-default-hover-bg); |
| 6040 | } |
| 6041 | .shithub-markdown-code-copy.is-copied { |
| 6042 | color: var(--success-fg); |
| 6043 | } |
| 6044 | .shithub-readme-plain { white-space: pre; } |
| 6045 | |
| 6046 | @media (max-width: 900px) { |
| 6047 | .shithub-repo-header-inner { align-items: flex-start; flex-direction: column; } |
| 6048 | .shithub-repo-content-grid { grid-template-columns: 1fr; } |
| 6049 | .shithub-tree-commit { align-items: flex-start; flex-direction: column; } |
| 6050 | } |
| 6051 | |
| 6052 | .shithub-blob-meta { color: var(--fg-muted); font-size: 0.85rem; margin-right: 0.5rem; } |
| 6053 | /* Blob source: a row-per-line <table>. We render the gutter + code |
| 6054 | ourselves and feed Chroma only token spans (no <pre>, no <table>) |
| 6055 | so the chrome is consistent across lexers and the no-lexer fallback, |
| 6056 | per the S33 viewer refactor. Forgejo / Gitea use the same shape. |
| 6057 | The reasoning is robustness: chroma's own table mode has rules we |
| 6058 | can't fully override (cell padding, line-number `<a>` styles), and |
| 6059 | they leak whenever a lexer changes its emit shape. Owning the table |
| 6060 | makes the layout immune to that drift. */ |
| 6061 | .shithub-blob-source .chroma { padding: 0; background: var(--canvas-default); } |
| 6062 | .shithub-blob-source .chroma a { color: inherit; text-decoration: none; } |
| 6063 | .shithub-blob-lines { |
| 6064 | width: 100%; |
| 6065 | border-collapse: collapse; |
| 6066 | border-spacing: 0; |
| 6067 | margin: 0; |
| 6068 | font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; |
| 6069 | font-size: 0.825rem; |
| 6070 | line-height: 20px; |
| 6071 | tab-size: 4; |
| 6072 | } |
| 6073 | /* Gutter cell. width:1% + white-space:nowrap forces shrink-to-fit: |
| 6074 | the cell sizes itself to the max line-number width and no wider. |
| 6075 | text-align:right keeps the digit flush against the divider. */ |
| 6076 | .shithub-blob-lines td.shithub-blob-lnum { |
| 6077 | width: 1%; |
| 6078 | min-width: 2.5rem; |
| 6079 | padding: 0 12px; |
| 6080 | background: var(--canvas-subtle); |
| 6081 | border-right: 1px solid var(--border-default); |
| 6082 | color: var(--fg-muted); |
| 6083 | text-align: right; |
| 6084 | user-select: none; |
| 6085 | white-space: nowrap; |
| 6086 | vertical-align: top; |
| 6087 | } |
| 6088 | .shithub-blob-lines td.shithub-blob-lnum a { |
| 6089 | color: inherit; |
| 6090 | display: block; |
| 6091 | } |
| 6092 | /* Code cell. white-space:pre preserves indentation; the wrapper |
| 6093 | handles horizontal scroll for long lines. */ |
| 6094 | .shithub-blob-lines td.shithub-blob-lcode { |
| 6095 | padding: 0 12px; |
| 6096 | vertical-align: top; |
| 6097 | white-space: pre; |
| 6098 | } |
| 6099 | .shithub-blob-lines td.shithub-blob-lcode .shithub-blob-line { |
| 6100 | display: inline-block; |
| 6101 | min-width: 100%; |
| 6102 | } |
| 6103 | /* Hover surfaces the row; :target highlights the line referenced by |
| 6104 | #L<n> in the URL (browsers handle scrolling). */ |
| 6105 | .shithub-blob-lines tr:hover td.shithub-blob-lcode { |
| 6106 | background: var(--canvas-subtle); |
| 6107 | } |
| 6108 | .shithub-blob-lines tr:target td.shithub-blob-lcode, |
| 6109 | .shithub-blob-lines tr:target td.shithub-blob-lnum { |
| 6110 | background: var(--accent-subtle, #fff8c5); |
| 6111 | } |
| 6112 | .shithub-blob-too-large, .shithub-blob-binary { |
| 6113 | padding: 1rem; |
| 6114 | border: 1px dashed var(--border-default); |
| 6115 | border-radius: 6px; |
| 6116 | text-align: center; |
| 6117 | color: var(--fg-muted); |
| 6118 | } |
| 6119 | .shithub-blob-image { text-align: center; padding: 1rem; background: var(--canvas-subtle); border-radius: 6px; } |
| 6120 | .shithub-blob-image img { max-width: 100%; max-height: 80vh; } |
| 6121 | .shithub-blob-source { overflow-x: auto; } |
| 6122 | .shithub-blob-source .chroma { font-size: 0.85rem; } |
| 6123 | .shithub-blob-markdown { padding: 1rem; } |
| 6124 | .shithub-button-disabled { opacity: 0.5; pointer-events: none; } |
| 6125 | |
| 6126 | .shithub-editor-page { |
| 6127 | max-width: none; |
| 6128 | margin: 1.5rem auto 2rem; |
| 6129 | padding: 0 clamp(1rem, 2vw, 2rem); |
| 6130 | } |
| 6131 | .shithub-editor { |
| 6132 | max-width: none; |
| 6133 | margin: 0; |
| 6134 | } |
| 6135 | .shithub-editor-form { |
| 6136 | display: flex; |
| 6137 | flex-direction: column; |
| 6138 | gap: 1rem; |
| 6139 | } |
| 6140 | .shithub-button-large { |
| 6141 | min-height: 40px; |
| 6142 | padding: 0.5rem 1rem; |
| 6143 | font-size: 0.95rem; |
| 6144 | font-weight: 600; |
| 6145 | } |
| 6146 | .shithub-editor-filebar { |
| 6147 | display: flex; |
| 6148 | align-items: center; |
| 6149 | justify-content: space-between; |
| 6150 | gap: 1rem; |
| 6151 | min-width: 0; |
| 6152 | } |
| 6153 | .shithub-editor-filepath { |
| 6154 | display: flex; |
| 6155 | align-items: center; |
| 6156 | gap: 0.5rem; |
| 6157 | min-width: 0; |
| 6158 | color: var(--fg-muted); |
| 6159 | font-size: 1rem; |
| 6160 | } |
| 6161 | .shithub-editor-file-icon { |
| 6162 | position: relative; |
| 6163 | display: inline-flex; |
| 6164 | align-items: center; |
| 6165 | justify-content: center; |
| 6166 | color: var(--fg-muted); |
| 6167 | } |
| 6168 | .shithub-editor-file-icon::after { |
| 6169 | content: ""; |
| 6170 | position: absolute; |
| 6171 | top: -2px; |
| 6172 | right: -3px; |
| 6173 | width: 8px; |
| 6174 | height: 8px; |
| 6175 | border-radius: 50%; |
| 6176 | background: var(--accent-fg, #4493f8); |
| 6177 | } |
| 6178 | .shithub-editor-repo-name { |
| 6179 | color: var(--accent-fg, #4493f8); |
| 6180 | font-size: 1.2rem; |
| 6181 | font-weight: 600; |
| 6182 | text-decoration: none; |
| 6183 | } |
| 6184 | .shithub-editor-repo-name:hover { |
| 6185 | text-decoration: underline; |
| 6186 | } |
| 6187 | .shithub-editor-filepath input, |
| 6188 | .shithub-editor-static-path { |
| 6189 | width: min(28vw, 320px); |
| 6190 | min-width: 220px; |
| 6191 | min-height: 42px; |
| 6192 | padding: 0.5rem 0.75rem; |
| 6193 | border: 1px solid var(--border-default); |
| 6194 | border-radius: 6px; |
| 6195 | color: var(--fg-default); |
| 6196 | background: var(--canvas-default); |
| 6197 | font: 1rem ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; |
| 6198 | } |
| 6199 | .shithub-editor-filepath input:read-only { |
| 6200 | color: var(--fg-muted); |
| 6201 | background: var(--canvas-subtle); |
| 6202 | } |
| 6203 | .shithub-editor-static-path { |
| 6204 | display: inline-flex; |
| 6205 | align-items: center; |
| 6206 | overflow: hidden; |
| 6207 | text-overflow: ellipsis; |
| 6208 | white-space: nowrap; |
| 6209 | } |
| 6210 | .shithub-editor-in { |
| 6211 | color: var(--fg-muted); |
| 6212 | } |
| 6213 | .shithub-editor-branch { |
| 6214 | display: inline-flex; |
| 6215 | align-items: center; |
| 6216 | min-height: 32px; |
| 6217 | padding: 0.25rem 0.55rem; |
| 6218 | border-radius: 6px; |
| 6219 | color: var(--accent-fg, #4493f8); |
| 6220 | background: color-mix(in srgb, var(--accent-fg, #4493f8) 14%, transparent); |
| 6221 | font: 0.95rem ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; |
| 6222 | } |
| 6223 | .shithub-editor-top-actions { |
| 6224 | display: flex; |
| 6225 | align-items: center; |
| 6226 | gap: 0.6rem; |
| 6227 | flex: 0 0 auto; |
| 6228 | } |
| 6229 | .shithub-editor-top-actions .shithub-button-primary:disabled, |
| 6230 | .shithub-commit-dialog .shithub-button-primary:disabled { |
| 6231 | background: var(--success-emphasis); |
| 6232 | border-color: var(--success-emphasis); |
| 6233 | opacity: 0.55; |
| 6234 | } |
| 6235 | .shithub-editor-panel { |
| 6236 | border: 1px solid var(--border-default); |
| 6237 | border-radius: 6px; |
| 6238 | background: var(--canvas-default); |
| 6239 | overflow: visible; |
| 6240 | } |
| 6241 | .shithub-editor-panel-head { |
| 6242 | display: flex; |
| 6243 | align-items: center; |
| 6244 | justify-content: space-between; |
| 6245 | gap: 0.75rem; |
| 6246 | padding: 0.75rem 1rem; |
| 6247 | border-bottom: 1px solid var(--border-default); |
| 6248 | flex-wrap: wrap; |
| 6249 | } |
| 6250 | .shithub-editor-panel-head h2 { |
| 6251 | margin: 0; |
| 6252 | font-size: 1rem; |
| 6253 | } |
| 6254 | .shithub-editor-panel-head span { |
| 6255 | min-width: 0; |
| 6256 | color: var(--fg-muted); |
| 6257 | font: 0.85rem ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; |
| 6258 | overflow-wrap: anywhere; |
| 6259 | } |
| 6260 | .shithub-editor-toolbar { |
| 6261 | display: flex; |
| 6262 | align-items: center; |
| 6263 | justify-content: space-between; |
| 6264 | gap: 1rem; |
| 6265 | min-height: 56px; |
| 6266 | padding: 0.6rem 0.7rem; |
| 6267 | border-bottom: 1px solid var(--border-default); |
| 6268 | border-radius: 6px 6px 0 0; |
| 6269 | background: var(--canvas-subtle); |
| 6270 | } |
| 6271 | .shithub-editor-tabs { |
| 6272 | display: inline-flex; |
| 6273 | align-items: center; |
| 6274 | } |
| 6275 | .shithub-editor-tabs button { |
| 6276 | min-height: 38px; |
| 6277 | padding: 0 1rem; |
| 6278 | border: 1px solid var(--border-default); |
| 6279 | color: var(--fg-default); |
| 6280 | background: var(--canvas-default); |
| 6281 | cursor: pointer; |
| 6282 | font: inherit; |
| 6283 | font-size: 0.95rem; |
| 6284 | font-weight: 600; |
| 6285 | } |
| 6286 | .shithub-editor-tabs button:first-child { |
| 6287 | border-radius: 6px 0 0 6px; |
| 6288 | } |
| 6289 | .shithub-editor-tabs button:last-child { |
| 6290 | border-left: 0; |
| 6291 | border-radius: 0 6px 6px 0; |
| 6292 | } |
| 6293 | .shithub-editor-tabs button.is-active { |
| 6294 | background: var(--canvas-inset); |
| 6295 | } |
| 6296 | .shithub-editor-tools { |
| 6297 | display: flex; |
| 6298 | align-items: center; |
| 6299 | gap: 0.5rem; |
| 6300 | } |
| 6301 | .shithub-editor-menu { |
| 6302 | position: relative; |
| 6303 | } |
| 6304 | .shithub-editor-menu > summary, |
| 6305 | .shithub-editor-diff-toggle { |
| 6306 | display: inline-flex; |
| 6307 | align-items: center; |
| 6308 | justify-content: center; |
| 6309 | gap: 0.3rem; |
| 6310 | min-height: 40px; |
| 6311 | padding: 0 0.8rem; |
| 6312 | border: 1px solid var(--border-default); |
| 6313 | border-radius: 6px; |
| 6314 | color: var(--fg-default); |
| 6315 | background: var(--canvas-default); |
| 6316 | cursor: pointer; |
| 6317 | list-style: none; |
| 6318 | font-size: 0.95rem; |
| 6319 | font-weight: 600; |
| 6320 | } |
| 6321 | .shithub-editor-menu > summary::marker { |
| 6322 | content: ""; |
| 6323 | } |
| 6324 | .shithub-editor-menu > summary::-webkit-details-marker { |
| 6325 | display: none; |
| 6326 | } |
| 6327 | .shithub-editor-menu > summary:hover, |
| 6328 | .shithub-editor-menu[open] > summary { |
| 6329 | background: var(--button-default-hover-bg); |
| 6330 | } |
| 6331 | .shithub-editor-menu-panel { |
| 6332 | position: absolute; |
| 6333 | top: calc(100% + 6px); |
| 6334 | right: 0; |
| 6335 | z-index: 50; |
| 6336 | min-width: 168px; |
| 6337 | padding: 0.35rem; |
| 6338 | border: 1px solid var(--border-default); |
| 6339 | border-radius: 8px; |
| 6340 | background: var(--canvas-overlay, var(--canvas-default)); |
| 6341 | box-shadow: 0 8px 24px rgba(1, 4, 9, 0.28); |
| 6342 | } |
| 6343 | .shithub-editor-menu-panel-wide { |
| 6344 | min-width: 196px; |
| 6345 | } |
| 6346 | .shithub-editor-menu-panel strong { |
| 6347 | display: block; |
| 6348 | padding: 0.25rem 0.6rem 0.35rem; |
| 6349 | color: var(--fg-default); |
| 6350 | text-align: center; |
| 6351 | } |
| 6352 | .shithub-editor-menu-panel button { |
| 6353 | display: grid; |
| 6354 | grid-template-columns: 22px minmax(0, 1fr); |
| 6355 | gap: 0.45rem; |
| 6356 | align-items: center; |
| 6357 | width: 100%; |
| 6358 | min-height: 30px; |
| 6359 | padding: 0.3rem 0.55rem; |
| 6360 | border: 0; |
| 6361 | border-radius: 6px; |
| 6362 | color: var(--fg-default); |
| 6363 | background: transparent; |
| 6364 | cursor: pointer; |
| 6365 | font: inherit; |
| 6366 | text-align: left; |
| 6367 | } |
| 6368 | .shithub-editor-menu-panel button.is-selected { |
| 6369 | color: #ffffff; |
| 6370 | background: var(--accent-emphasis, #0969da); |
| 6371 | } |
| 6372 | .shithub-editor-menu-check { |
| 6373 | position: relative; |
| 6374 | width: 16px; |
| 6375 | height: 16px; |
| 6376 | } |
| 6377 | .shithub-editor-menu-panel button.is-selected .shithub-editor-menu-check::before { |
| 6378 | content: ""; |
| 6379 | position: absolute; |
| 6380 | left: 3px; |
| 6381 | top: 2px; |
| 6382 | width: 7px; |
| 6383 | height: 11px; |
| 6384 | border: solid currentColor; |
| 6385 | border-width: 0 2px 2px 0; |
| 6386 | transform: rotate(45deg); |
| 6387 | } |
| 6388 | .shithub-editor-diff-toggle { |
| 6389 | gap: 0.55rem; |
| 6390 | border: 0; |
| 6391 | background: transparent; |
| 6392 | } |
| 6393 | .shithub-editor-diff-toggle input { |
| 6394 | width: 18px; |
| 6395 | height: 18px; |
| 6396 | accent-color: var(--accent-emphasis, #0969da); |
| 6397 | } |
| 6398 | .shithub-editor-textbox { |
| 6399 | display: grid; |
| 6400 | grid-template-columns: 5.25rem minmax(0, 1fr); |
| 6401 | height: min(72vh, 900px); |
| 6402 | min-height: 540px; |
| 6403 | overflow: hidden; |
| 6404 | } |
| 6405 | .shithub-editor-gutter, |
| 6406 | .shithub-editor-textbox textarea { |
| 6407 | margin: 0; |
| 6408 | padding: 0.85rem 0; |
| 6409 | border: 0; |
| 6410 | font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; |
| 6411 | font-size: 0.95rem; |
| 6412 | line-height: 1.55; |
| 6413 | tab-size: 2; |
| 6414 | } |
| 6415 | .shithub-editor-gutter { |
| 6416 | min-width: 5.25rem; |
| 6417 | padding-left: 1rem; |
| 6418 | padding-right: 1rem; |
| 6419 | overflow: hidden; |
| 6420 | color: var(--fg-muted); |
| 6421 | background: var(--canvas-default); |
| 6422 | text-align: right; |
| 6423 | user-select: none; |
| 6424 | } |
| 6425 | .shithub-editor-textbox textarea { |
| 6426 | width: 100%; |
| 6427 | min-height: 100%; |
| 6428 | padding-left: 0.9rem; |
| 6429 | padding-right: 1rem; |
| 6430 | resize: none; |
| 6431 | outline: none; |
| 6432 | background: var(--canvas-default); |
| 6433 | color: var(--fg-default); |
| 6434 | white-space: pre-wrap; |
| 6435 | overflow: auto; |
| 6436 | } |
| 6437 | .shithub-editor:not(.is-soft-wrap) .shithub-editor-textbox textarea { |
| 6438 | white-space: pre; |
| 6439 | } |
| 6440 | .shithub-editor-textbox textarea:focus { |
| 6441 | box-shadow: inset 0 0 0 2px var(--accent-emphasis); |
| 6442 | } |
| 6443 | .shithub-editor-helpbar { |
| 6444 | min-height: 36px; |
| 6445 | padding: 0.45rem 0.75rem; |
| 6446 | border-top: 1px solid var(--border-default); |
| 6447 | border-radius: 0 0 6px 6px; |
| 6448 | color: var(--fg-muted); |
| 6449 | background: var(--canvas-subtle); |
| 6450 | font-size: 0.875rem; |
| 6451 | } |
| 6452 | .shithub-editor-helpbar kbd { |
| 6453 | display: inline-flex; |
| 6454 | align-items: center; |
| 6455 | min-height: 22px; |
| 6456 | padding: 0 0.35rem; |
| 6457 | border: 1px solid var(--border-default); |
| 6458 | border-radius: 6px; |
| 6459 | color: var(--fg-default); |
| 6460 | background: var(--canvas-default); |
| 6461 | font: 0.8rem ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; |
| 6462 | } |
| 6463 | .shithub-editor-preview { |
| 6464 | min-height: min(72vh, 900px); |
| 6465 | padding: 3rem 2.75rem; |
| 6466 | overflow: auto; |
| 6467 | } |
| 6468 | .shithub-editor-preview-body { |
| 6469 | max-width: none; |
| 6470 | color: var(--fg-default); |
| 6471 | } |
| 6472 | .shithub-editor-preview-body.is-diff { |
| 6473 | display: flex; |
| 6474 | flex-direction: column; |
| 6475 | gap: 0.35rem; |
| 6476 | } |
| 6477 | .shithub-editor-preview-diff-block { |
| 6478 | margin: 0; |
| 6479 | } |
| 6480 | .shithub-editor-preview-diff-block.is-added, |
| 6481 | .shithub-editor-preview-diff-block.is-deleted { |
| 6482 | padding-left: 0.95rem; |
| 6483 | border-left: 4px solid; |
| 6484 | } |
| 6485 | .shithub-editor-preview-diff-block.is-added { |
| 6486 | border-left-color: var(--success-emphasis); |
| 6487 | } |
| 6488 | .shithub-editor-preview-diff-block.is-deleted { |
| 6489 | border-left-color: var(--danger-fg); |
| 6490 | } |
| 6491 | .shithub-editor-preview-diff-block > :first-child { |
| 6492 | margin-top: 0; |
| 6493 | } |
| 6494 | .shithub-editor-preview-diff-block > :last-child { |
| 6495 | margin-bottom: 0; |
| 6496 | } |
| 6497 | .shithub-editor-preview-empty { |
| 6498 | margin: 0; |
| 6499 | color: var(--fg-muted); |
| 6500 | } |
| 6501 | .shithub-editor-danger { |
| 6502 | border-color: rgba(248, 81, 73, 0.35); |
| 6503 | } |
| 6504 | .shithub-editor-danger p { |
| 6505 | margin: 0; |
| 6506 | padding: 1rem; |
| 6507 | color: var(--fg-muted); |
| 6508 | } |
| 6509 | .shithub-upload-drop { |
| 6510 | position: relative; |
| 6511 | display: flex; |
| 6512 | align-items: center; |
| 6513 | justify-content: center; |
| 6514 | gap: 0.5rem; |
| 6515 | min-height: 156px; |
| 6516 | margin: 1rem; |
| 6517 | border: 1px dashed var(--border-default); |
| 6518 | border-radius: 6px; |
| 6519 | color: var(--fg-muted); |
| 6520 | background: var(--canvas-subtle); |
| 6521 | cursor: pointer; |
| 6522 | font-weight: 600; |
| 6523 | } |
| 6524 | .shithub-upload-drop:hover { |
| 6525 | color: var(--fg-default); |
| 6526 | border-color: var(--accent-emphasis); |
| 6527 | } |
| 6528 | .shithub-upload-drop input { |
| 6529 | position: absolute; |
| 6530 | inline-size: 1px; |
| 6531 | block-size: 1px; |
| 6532 | opacity: 0; |
| 6533 | pointer-events: none; |
| 6534 | } |
| 6535 | .shithub-upload-list { |
| 6536 | margin: 0 1rem 1rem; |
| 6537 | padding-left: 1.25rem; |
| 6538 | color: var(--fg-muted); |
| 6539 | font-size: 0.875rem; |
| 6540 | } |
| 6541 | .shithub-commit-dialog { |
| 6542 | width: min(560px, calc(100vw - 2rem)); |
| 6543 | padding: 0; |
| 6544 | border: 1px solid var(--border-default); |
| 6545 | border-radius: 12px; |
| 6546 | color: var(--fg-default); |
| 6547 | background: var(--canvas-default); |
| 6548 | box-shadow: 0 18px 48px rgba(1, 4, 9, 0.38); |
| 6549 | } |
| 6550 | .shithub-commit-dialog::backdrop { |
| 6551 | background: rgba(1, 4, 9, 0.55); |
| 6552 | } |
| 6553 | .shithub-commit-dialog-head { |
| 6554 | display: flex; |
| 6555 | align-items: center; |
| 6556 | justify-content: space-between; |
| 6557 | gap: 1rem; |
| 6558 | padding: 1rem; |
| 6559 | border-bottom: 1px solid var(--border-default); |
| 6560 | } |
| 6561 | .shithub-commit-dialog h2 { |
| 6562 | margin: 0; |
| 6563 | font-size: 1rem; |
| 6564 | } |
| 6565 | .shithub-commit-dialog-close { |
| 6566 | display: inline-flex; |
| 6567 | align-items: center; |
| 6568 | justify-content: center; |
| 6569 | width: 32px; |
| 6570 | height: 32px; |
| 6571 | padding: 0; |
| 6572 | border: 0; |
| 6573 | border-radius: 6px; |
| 6574 | color: var(--fg-muted); |
| 6575 | background: transparent; |
| 6576 | cursor: pointer; |
| 6577 | } |
| 6578 | .shithub-commit-dialog-close:hover { |
| 6579 | color: var(--fg-default); |
| 6580 | background: var(--canvas-subtle); |
| 6581 | } |
| 6582 | .shithub-commit-dialog .shithub-form-row, |
| 6583 | .shithub-commit-dialog .shithub-commit-target, |
| 6584 | .shithub-commit-dialog .shithub-form-actions { |
| 6585 | margin: 1rem; |
| 6586 | } |
| 6587 | .shithub-commit-dialog input, |
| 6588 | .shithub-commit-dialog textarea { |
| 6589 | width: 100%; |
| 6590 | padding: 0.5rem 0.6rem; |
| 6591 | border: 1px solid var(--border-default); |
| 6592 | border-radius: 6px; |
| 6593 | font: inherit; |
| 6594 | } |
| 6595 | .shithub-commit-target { |
| 6596 | display: flex; |
| 6597 | align-items: center; |
| 6598 | gap: 0.4rem; |
| 6599 | color: var(--fg-muted); |
| 6600 | font-size: 0.875rem; |
| 6601 | } |
| 6602 | @media (max-width: 640px) { |
| 6603 | .shithub-editor-page { |
| 6604 | padding: 0 0.75rem; |
| 6605 | } |
| 6606 | .shithub-editor-filebar, |
| 6607 | .shithub-editor-toolbar { |
| 6608 | align-items: stretch; |
| 6609 | flex-direction: column; |
| 6610 | } |
| 6611 | .shithub-editor-filepath, |
| 6612 | .shithub-editor-top-actions, |
| 6613 | .shithub-editor-tools { |
| 6614 | flex-wrap: wrap; |
| 6615 | } |
| 6616 | .shithub-editor-filepath input, |
| 6617 | .shithub-editor-static-path { |
| 6618 | width: 100%; |
| 6619 | min-width: 0; |
| 6620 | flex: 1 1 100%; |
| 6621 | } |
| 6622 | .shithub-editor-top-actions .shithub-button { |
| 6623 | flex: 1 1 150px; |
| 6624 | } |
| 6625 | .shithub-editor-tabs, |
| 6626 | .shithub-editor-tools { |
| 6627 | overflow-x: auto; |
| 6628 | } |
| 6629 | .shithub-editor-textbox { |
| 6630 | grid-template-columns: 3.75rem minmax(0, 1fr); |
| 6631 | min-height: 460px; |
| 6632 | } |
| 6633 | .shithub-editor-gutter { |
| 6634 | min-width: 3.75rem; |
| 6635 | padding-left: 0.6rem; |
| 6636 | padding-right: 0.6rem; |
| 6637 | } |
| 6638 | .shithub-editor-preview { |
| 6639 | padding: 1.5rem; |
| 6640 | } |
| 6641 | .shithub-editor .shithub-form-actions { |
| 6642 | justify-content: stretch; |
| 6643 | flex-wrap: wrap; |
| 6644 | } |
| 6645 | .shithub-editor .shithub-form-actions .shithub-button, |
| 6646 | .shithub-editor .shithub-form-actions button { |
| 6647 | flex: 1 1 160px; |
| 6648 | } |
| 6649 | } |
| 6650 | |
| 6651 | .shithub-finder-form { display: flex; gap: 0.5rem; align-items: center; margin: 1rem 0; } |
| 6652 | .shithub-finder-form input { font: inherit; padding: 0.4rem 0.6rem; border: 1px solid var(--border-default); border-radius: 6px; flex: 1; } |
| 6653 | .shithub-finder-results { list-style: none; padding: 0; } |
| 6654 | .shithub-finder-results li { padding: 0.3rem 0.5rem; border-bottom: 1px solid var(--border-default); font-family: monospace; font-size: 0.875rem; } |
| 6655 | |
| 6656 | /* ========== Commits + Commit + Blame (S18) ========== */ |
| 6657 | .shithub-avatar-sm { |
| 6658 | display: inline-block; |
| 6659 | width: 20px; |
| 6660 | height: 20px; |
| 6661 | border-radius: 50%; |
| 6662 | vertical-align: middle; |
| 6663 | margin-right: 0.4rem; |
| 6664 | } |
| 6665 | .shithub-identicon { |
| 6666 | background: linear-gradient(135deg, #cce, #ecc); |
| 6667 | } |
| 6668 | .shithub-commits-page { |
| 6669 | max-width: 1280px; |
| 6670 | } |
| 6671 | .shithub-commits-shell { |
| 6672 | max-width: 1012px; |
| 6673 | margin: 0 auto; |
| 6674 | padding: 0.5rem 0 2rem; |
| 6675 | } |
| 6676 | .shithub-commits-titlebar { |
| 6677 | padding: 0.75rem 0 0.8rem; |
| 6678 | border-bottom: 1px solid var(--border-default); |
| 6679 | } |
| 6680 | .shithub-commits-titlebar h1 { |
| 6681 | margin: 0; |
| 6682 | font-size: 1.25rem; |
| 6683 | font-weight: 600; |
| 6684 | } |
| 6685 | .shithub-commits-toolbar { |
| 6686 | display: flex; |
| 6687 | align-items: flex-start; |
| 6688 | justify-content: space-between; |
| 6689 | gap: 1rem; |
| 6690 | margin: 1rem 0 0.85rem; |
| 6691 | } |
| 6692 | .shithub-commit-filter-stack { |
| 6693 | display: flex; |
| 6694 | align-items: center; |
| 6695 | gap: 0.5rem; |
| 6696 | margin-left: auto; |
| 6697 | } |
| 6698 | .shithub-commit-menu { |
| 6699 | position: relative; |
| 6700 | } |
| 6701 | .shithub-commit-menu > summary { |
| 6702 | list-style: none; |
| 6703 | } |
| 6704 | .shithub-commit-menu > summary::-webkit-details-marker { |
| 6705 | display: none; |
| 6706 | } |
| 6707 | .shithub-commit-menu-button { |
| 6708 | display: inline-flex; |
| 6709 | align-items: center; |
| 6710 | gap: 0.4rem; |
| 6711 | min-height: 32px; |
| 6712 | padding: 0 0.75rem; |
| 6713 | border: 1px solid var(--border-default); |
| 6714 | border-radius: 6px; |
| 6715 | background: var(--canvas-subtle); |
| 6716 | color: var(--fg-default); |
| 6717 | font-size: 0.875rem; |
| 6718 | font-weight: 600; |
| 6719 | white-space: nowrap; |
| 6720 | cursor: pointer; |
| 6721 | } |
| 6722 | .shithub-commit-menu-button:hover { |
| 6723 | background: var(--canvas-inset); |
| 6724 | } |
| 6725 | .shithub-commit-menu-panel { |
| 6726 | position: absolute; |
| 6727 | z-index: 30; |
| 6728 | top: calc(100% + 4px); |
| 6729 | right: 0; |
| 6730 | width: 290px; |
| 6731 | overflow: hidden; |
| 6732 | border: 1px solid var(--border-default); |
| 6733 | border-radius: 8px; |
| 6734 | background: var(--canvas-overlay, var(--canvas-default)); |
| 6735 | box-shadow: 0 12px 32px rgba(1, 4, 9, 0.35); |
| 6736 | } |
| 6737 | .shithub-commit-ref-panel { |
| 6738 | left: 0; |
| 6739 | right: auto; |
| 6740 | width: 300px; |
| 6741 | } |
| 6742 | .shithub-commit-calendar-panel { |
| 6743 | width: 306px; |
| 6744 | padding: 0.85rem; |
| 6745 | } |
| 6746 | .shithub-commit-menu-header { |
| 6747 | display: flex; |
| 6748 | align-items: center; |
| 6749 | justify-content: space-between; |
| 6750 | gap: 0.75rem; |
| 6751 | padding: 0.75rem 0.75rem 0.65rem; |
| 6752 | border-bottom: 1px solid var(--border-muted, var(--border-default)); |
| 6753 | } |
| 6754 | .shithub-icon-button, |
| 6755 | .shithub-commit-icon-action { |
| 6756 | display: inline-flex; |
| 6757 | align-items: center; |
| 6758 | justify-content: center; |
| 6759 | width: 28px; |
| 6760 | height: 28px; |
| 6761 | padding: 0; |
| 6762 | border: 0; |
| 6763 | border-radius: 6px; |
| 6764 | color: var(--fg-muted); |
| 6765 | background: transparent; |
| 6766 | cursor: pointer; |
| 6767 | } |
| 6768 | .shithub-icon-button:hover, |
| 6769 | .shithub-commit-icon-action:hover { |
| 6770 | color: var(--accent-fg); |
| 6771 | background: var(--canvas-subtle); |
| 6772 | text-decoration: none; |
| 6773 | } |
| 6774 | .shithub-commit-icon-action.is-copied { |
| 6775 | color: var(--success-fg, #3fb950); |
| 6776 | } |
| 6777 | .shithub-commit-menu-search { |
| 6778 | display: flex; |
| 6779 | align-items: center; |
| 6780 | gap: 0.45rem; |
| 6781 | margin: 0.45rem 0.5rem 0.5rem; |
| 6782 | padding: 0 0.55rem; |
| 6783 | min-height: 32px; |
| 6784 | border: 1px solid var(--border-default); |
| 6785 | border-radius: 6px; |
| 6786 | color: var(--fg-muted); |
| 6787 | background: var(--canvas-default); |
| 6788 | } |
| 6789 | .shithub-commit-menu-search input { |
| 6790 | min-width: 0; |
| 6791 | width: 100%; |
| 6792 | border: 0; |
| 6793 | outline: 0; |
| 6794 | color: var(--fg-default); |
| 6795 | background: transparent; |
| 6796 | font: inherit; |
| 6797 | font-size: 0.875rem; |
| 6798 | } |
| 6799 | .shithub-commit-ref-tabs { |
| 6800 | display: grid; |
| 6801 | grid-template-columns: 1fr 1fr; |
| 6802 | border-top: 1px solid var(--border-muted, var(--border-default)); |
| 6803 | border-bottom: 1px solid var(--border-muted, var(--border-default)); |
| 6804 | } |
| 6805 | .shithub-commit-ref-tabs button { |
| 6806 | padding: 0.55rem 0.7rem; |
| 6807 | border: 0; |
| 6808 | color: var(--fg-muted); |
| 6809 | background: transparent; |
| 6810 | font: inherit; |
| 6811 | font-size: 0.875rem; |
| 6812 | font-weight: 600; |
| 6813 | text-align: center; |
| 6814 | cursor: pointer; |
| 6815 | } |
| 6816 | .shithub-commit-ref-tabs button + button { |
| 6817 | border-left: 1px solid var(--border-muted, var(--border-default)); |
| 6818 | } |
| 6819 | .shithub-commit-ref-tabs .is-active { |
| 6820 | color: var(--fg-default); |
| 6821 | background: var(--canvas-subtle); |
| 6822 | } |
| 6823 | .shithub-commit-ref-list, |
| 6824 | .shithub-commit-author-list { |
| 6825 | max-height: 300px; |
| 6826 | overflow: auto; |
| 6827 | } |
| 6828 | .shithub-commit-ref-item, |
| 6829 | .shithub-commit-author-item { |
| 6830 | display: grid; |
| 6831 | align-items: center; |
| 6832 | min-height: 36px; |
| 6833 | padding: 0.35rem 0.75rem; |
| 6834 | border-bottom: 1px solid var(--border-muted, var(--border-default)); |
| 6835 | color: var(--fg-default); |
| 6836 | font-size: 0.875rem; |
| 6837 | } |
| 6838 | .shithub-commit-ref-item { |
| 6839 | grid-template-columns: 16px minmax(0, 1fr) auto; |
| 6840 | gap: 0.45rem; |
| 6841 | } |
| 6842 | .shithub-commit-author-item { |
| 6843 | grid-template-columns: 24px minmax(0, 1fr); |
| 6844 | gap: 0.45rem; |
| 6845 | font-weight: 600; |
| 6846 | } |
| 6847 | .shithub-commit-ref-item:hover, |
| 6848 | .shithub-commit-author-item:hover { |
| 6849 | background: var(--canvas-subtle); |
| 6850 | text-decoration: none; |
| 6851 | } |
| 6852 | .shithub-commit-ref-item.is-active, |
| 6853 | .shithub-commit-author-item.is-active { |
| 6854 | color: var(--accent-fg); |
| 6855 | } |
| 6856 | .shithub-ref-default { |
| 6857 | padding: 0.05rem 0.35rem; |
| 6858 | border: 1px solid var(--border-default); |
| 6859 | border-radius: 999px; |
| 6860 | color: var(--fg-muted); |
| 6861 | font-size: 0.75rem; |
| 6862 | font-weight: 600; |
| 6863 | } |
| 6864 | .shithub-commit-ref-section-label { |
| 6865 | padding: 0.55rem 0.75rem 0.35rem; |
| 6866 | color: var(--fg-muted); |
| 6867 | font-size: 0.75rem; |
| 6868 | font-weight: 600; |
| 6869 | text-transform: uppercase; |
| 6870 | } |
| 6871 | .shithub-commit-menu-empty { |
| 6872 | margin: 0; |
| 6873 | padding: 0.75rem; |
| 6874 | color: var(--fg-muted); |
| 6875 | font-size: 0.875rem; |
| 6876 | } |
| 6877 | .shithub-commit-menu-footer { |
| 6878 | display: block; |
| 6879 | padding: 0.75rem; |
| 6880 | border-top: 1px solid var(--border-default); |
| 6881 | color: var(--accent-fg); |
| 6882 | font-size: 0.875rem; |
| 6883 | font-weight: 600; |
| 6884 | text-align: center; |
| 6885 | } |
| 6886 | .shithub-commit-calendar-head { |
| 6887 | display: flex; |
| 6888 | align-items: center; |
| 6889 | justify-content: space-between; |
| 6890 | gap: 0.75rem; |
| 6891 | margin-bottom: 0.85rem; |
| 6892 | } |
| 6893 | .shithub-commit-calendar-month { |
| 6894 | display: flex; |
| 6895 | align-items: center; |
| 6896 | gap: 0.6rem; |
| 6897 | font-weight: 600; |
| 6898 | } |
| 6899 | .shithub-commit-calendar-month span { |
| 6900 | display: inline-flex; |
| 6901 | align-items: center; |
| 6902 | min-height: 30px; |
| 6903 | } |
| 6904 | .shithub-commit-calendar-nav { |
| 6905 | display: inline-flex; |
| 6906 | gap: 0.35rem; |
| 6907 | } |
| 6908 | .shithub-commit-calendar-nav a { |
| 6909 | display: inline-flex; |
| 6910 | align-items: center; |
| 6911 | justify-content: center; |
| 6912 | width: 32px; |
| 6913 | height: 30px; |
| 6914 | border: 1px solid var(--border-default); |
| 6915 | border-radius: 6px; |
| 6916 | color: var(--fg-muted); |
| 6917 | background: var(--canvas-subtle); |
| 6918 | font-size: 1.2rem; |
| 6919 | line-height: 1; |
| 6920 | } |
| 6921 | .shithub-commit-calendar-nav a:hover { |
| 6922 | color: var(--fg-default); |
| 6923 | background: var(--canvas-inset); |
| 6924 | text-decoration: none; |
| 6925 | } |
| 6926 | .shithub-commit-calendar { |
| 6927 | width: 100%; |
| 6928 | border-collapse: collapse; |
| 6929 | table-layout: fixed; |
| 6930 | } |
| 6931 | .shithub-commit-calendar th { |
| 6932 | height: 28px; |
| 6933 | color: var(--fg-muted); |
| 6934 | font-size: 0.75rem; |
| 6935 | font-weight: 600; |
| 6936 | text-align: center; |
| 6937 | } |
| 6938 | .shithub-commit-calendar td { |
| 6939 | height: 34px; |
| 6940 | padding: 0; |
| 6941 | text-align: center; |
| 6942 | } |
| 6943 | .shithub-commit-calendar-day { |
| 6944 | display: inline-flex; |
| 6945 | align-items: center; |
| 6946 | justify-content: center; |
| 6947 | width: 30px; |
| 6948 | height: 30px; |
| 6949 | border-radius: 6px; |
| 6950 | color: var(--fg-muted); |
| 6951 | font-size: 0.875rem; |
| 6952 | font-variant-numeric: tabular-nums; |
| 6953 | } |
| 6954 | .shithub-commit-calendar-day.is-in-month { |
| 6955 | color: var(--fg-default); |
| 6956 | } |
| 6957 | .shithub-commit-calendar-day:hover { |
| 6958 | background: var(--canvas-subtle); |
| 6959 | text-decoration: none; |
| 6960 | } |
| 6961 | .shithub-commit-calendar-day.is-selected { |
| 6962 | color: var(--accent-fg); |
| 6963 | font-weight: 700; |
| 6964 | text-decoration: underline; |
| 6965 | text-underline-offset: 4px; |
| 6966 | } |
| 6967 | .shithub-commit-calendar-day.is-today { |
| 6968 | box-shadow: inset 0 0 0 1px var(--accent-fg); |
| 6969 | } |
| 6970 | .shithub-commit-calendar-footer { |
| 6971 | display: flex; |
| 6972 | gap: 1rem; |
| 6973 | padding-top: 0.8rem; |
| 6974 | font-size: 0.875rem; |
| 6975 | font-weight: 600; |
| 6976 | } |
| 6977 | .shithub-commit-active-filter { |
| 6978 | display: flex; |
| 6979 | align-items: center; |
| 6980 | justify-content: space-between; |
| 6981 | gap: 0.75rem; |
| 6982 | margin-bottom: 1rem; |
| 6983 | padding: 0.55rem 0.75rem; |
| 6984 | border: 1px solid var(--border-default); |
| 6985 | border-radius: 6px; |
| 6986 | color: var(--fg-muted); |
| 6987 | background: var(--canvas-subtle); |
| 6988 | font-size: 0.875rem; |
| 6989 | } |
| 6990 | .shithub-commit-timeline { |
| 6991 | display: grid; |
| 6992 | gap: 0.85rem; |
| 6993 | } |
| 6994 | .shithub-commit-day-group { |
| 6995 | position: relative; |
| 6996 | margin-left: 1.05rem; |
| 6997 | padding-left: 1.45rem; |
| 6998 | } |
| 6999 | .shithub-commit-day-group::before { |
| 7000 | position: absolute; |
| 7001 | top: 1.7rem; |
| 7002 | bottom: -0.85rem; |
| 7003 | left: 0; |
| 7004 | width: 2px; |
| 7005 | background: var(--border-default); |
| 7006 | content: ""; |
| 7007 | } |
| 7008 | .shithub-commit-day-group:last-child::before { |
| 7009 | bottom: 0; |
| 7010 | } |
| 7011 | .shithub-commit-day-group h2 { |
| 7012 | position: relative; |
| 7013 | display: flex; |
| 7014 | align-items: center; |
| 7015 | gap: 0.55rem; |
| 7016 | margin: 0 0 0.7rem; |
| 7017 | color: var(--fg-muted); |
| 7018 | font-size: 0.875rem; |
| 7019 | font-weight: 500; |
| 7020 | } |
| 7021 | .shithub-commit-day-group h2 svg { |
| 7022 | position: absolute; |
| 7023 | left: -1.82rem; |
| 7024 | width: 16px; |
| 7025 | height: 16px; |
| 7026 | padding: 0.2rem; |
| 7027 | border-radius: 50%; |
| 7028 | color: var(--fg-muted); |
| 7029 | background: var(--canvas-default); |
| 7030 | } |
| 7031 | .shithub-commits-list { |
| 7032 | list-style: none; |
| 7033 | padding: 0; |
| 7034 | margin: 0; |
| 7035 | border: 1px solid var(--border-default); |
| 7036 | border-radius: 6px; |
| 7037 | background: var(--canvas-default); |
| 7038 | overflow: hidden; |
| 7039 | } |
| 7040 | .shithub-commits-row { |
| 7041 | display: grid; |
| 7042 | grid-template-columns: minmax(0, 1fr) auto; |
| 7043 | gap: 1rem; |
| 7044 | min-height: 64px; |
| 7045 | padding: 0.72rem 0.85rem; |
| 7046 | border-bottom: 1px solid var(--border-default); |
| 7047 | align-items: center; |
| 7048 | } |
| 7049 | .shithub-commits-row:last-child { |
| 7050 | border-bottom: 0; |
| 7051 | } |
| 7052 | .shithub-commit-row-main { |
| 7053 | min-width: 0; |
| 7054 | display: grid; |
| 7055 | gap: 0.35rem; |
| 7056 | } |
| 7057 | .shithub-commit-message-line { |
| 7058 | min-width: 0; |
| 7059 | display: flex; |
| 7060 | align-items: center; |
| 7061 | gap: 0.35rem; |
| 7062 | } |
| 7063 | .shithub-commits-subject { |
| 7064 | min-width: 0; |
| 7065 | color: var(--fg-default); |
| 7066 | font-weight: 600; |
| 7067 | overflow: hidden; |
| 7068 | text-overflow: ellipsis; |
| 7069 | white-space: nowrap; |
| 7070 | } |
| 7071 | .shithub-commits-subject:hover { |
| 7072 | color: var(--accent-fg); |
| 7073 | } |
| 7074 | .shithub-commit-attribution { |
| 7075 | min-width: 0; |
| 7076 | display: flex; |
| 7077 | align-items: center; |
| 7078 | gap: 0.25rem; |
| 7079 | color: var(--fg-muted); |
| 7080 | font-size: 0.75rem; |
| 7081 | } |
| 7082 | .shithub-commit-attribution .shithub-avatar-sm { |
| 7083 | width: 16px; |
| 7084 | height: 16px; |
| 7085 | margin-right: 0.1rem; |
| 7086 | } |
| 7087 | .shithub-commit-attribution a { |
| 7088 | color: var(--fg-muted); |
| 7089 | font-weight: 600; |
| 7090 | } |
| 7091 | .shithub-commit-row-actions { |
| 7092 | display: flex; |
| 7093 | align-items: center; |
| 7094 | gap: 0.15rem; |
| 7095 | } |
| 7096 | .shithub-commits-sha { |
| 7097 | margin-right: 0.35rem; |
| 7098 | color: var(--fg-muted); |
| 7099 | font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; |
| 7100 | font-size: 0.75rem; |
| 7101 | font-weight: 600; |
| 7102 | } |
| 7103 | .shithub-commit-body-popover { |
| 7104 | position: relative; |
| 7105 | } |
| 7106 | .shithub-commit-body-popover summary { |
| 7107 | display: inline-flex; |
| 7108 | align-items: center; |
| 7109 | justify-content: center; |
| 7110 | width: 22px; |
| 7111 | height: 22px; |
| 7112 | border-radius: 6px; |
| 7113 | color: var(--fg-muted); |
| 7114 | list-style: none; |
| 7115 | cursor: pointer; |
| 7116 | } |
| 7117 | .shithub-commit-body-popover summary::-webkit-details-marker { |
| 7118 | display: none; |
| 7119 | } |
| 7120 | .shithub-commit-body-popover summary:hover { |
| 7121 | color: var(--accent-fg); |
| 7122 | background: var(--canvas-subtle); |
| 7123 | } |
| 7124 | .shithub-commit-body-popover pre { |
| 7125 | position: absolute; |
| 7126 | z-index: 20; |
| 7127 | top: 28px; |
| 7128 | left: 0; |
| 7129 | width: min(34rem, 80vw); |
| 7130 | max-height: 18rem; |
| 7131 | overflow: auto; |
| 7132 | margin: 0; |
| 7133 | padding: 0.8rem; |
| 7134 | border: 1px solid var(--border-default); |
| 7135 | border-radius: 6px; |
| 7136 | color: var(--fg-default); |
| 7137 | background: var(--canvas-overlay, var(--canvas-default)); |
| 7138 | box-shadow: 0 12px 32px rgba(1, 4, 9, 0.35); |
| 7139 | font-size: 0.8rem; |
| 7140 | white-space: pre-wrap; |
| 7141 | } |
| 7142 | .shithub-commit-empty { |
| 7143 | padding: 2rem; |
| 7144 | border: 1px solid var(--border-default); |
| 7145 | border-radius: 6px; |
| 7146 | color: var(--fg-muted); |
| 7147 | background: var(--canvas-subtle); |
| 7148 | text-align: center; |
| 7149 | } |
| 7150 | .shithub-pager { |
| 7151 | display: flex; |
| 7152 | gap: 0.75rem; |
| 7153 | padding: 1rem 0; |
| 7154 | } |
| 7155 | .shithub-commit-pager { |
| 7156 | justify-content: flex-end; |
| 7157 | } |
| 7158 | .shithub-commit-pager a { |
| 7159 | display: inline-flex; |
| 7160 | align-items: center; |
| 7161 | min-height: 32px; |
| 7162 | padding: 0 0.8rem; |
| 7163 | border: 1px solid var(--border-default); |
| 7164 | border-radius: 6px; |
| 7165 | color: var(--accent-fg); |
| 7166 | background: var(--canvas-subtle); |
| 7167 | font-size: 0.875rem; |
| 7168 | font-weight: 600; |
| 7169 | } |
| 7170 | |
| 7171 | @media (max-width: 720px) { |
| 7172 | .shithub-commits-toolbar, |
| 7173 | .shithub-commit-filter-stack { |
| 7174 | align-items: stretch; |
| 7175 | flex-direction: column; |
| 7176 | } |
| 7177 | .shithub-commit-filter-stack { |
| 7178 | width: 100%; |
| 7179 | margin-left: 0; |
| 7180 | } |
| 7181 | .shithub-commit-menu-button { |
| 7182 | width: 100%; |
| 7183 | justify-content: space-between; |
| 7184 | } |
| 7185 | .shithub-commit-menu-panel, |
| 7186 | .shithub-commit-ref-panel, |
| 7187 | .shithub-commit-calendar-panel { |
| 7188 | left: 0; |
| 7189 | right: auto; |
| 7190 | width: min(100%, 320px); |
| 7191 | } |
| 7192 | .shithub-commit-day-group { |
| 7193 | margin-left: 0.65rem; |
| 7194 | padding-left: 1.05rem; |
| 7195 | } |
| 7196 | .shithub-commits-row { |
| 7197 | grid-template-columns: 1fr; |
| 7198 | gap: 0.5rem; |
| 7199 | } |
| 7200 | .shithub-commit-row-actions { |
| 7201 | justify-content: flex-start; |
| 7202 | } |
| 7203 | } |
| 7204 | |
| 7205 | .shithub-commit-view { max-width: 64rem; margin: 1.5rem auto; padding: 0 1rem; } |
| 7206 | .shithub-commit-meta { |
| 7207 | margin-top: 1rem; |
| 7208 | padding: 1rem; |
| 7209 | border: 1px solid var(--border-default); |
| 7210 | border-radius: 6px; |
| 7211 | background: var(--canvas-subtle); |
| 7212 | } |
| 7213 | .shithub-commit-subject { margin: 0 0 0.5rem; font-size: 1.2rem; } |
| 7214 | .shithub-commit-body { margin: 0.75rem 0; font-family: monospace; font-size: 0.9rem; line-height: 1.4; } |
| 7215 | .shithub-commit-people { display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 0.75rem 0; font-size: 0.875rem; } |
| 7216 | .shithub-commit-actor { display: inline-flex; align-items: center; gap: 0.4rem; } |
| 7217 | .shithub-commit-role { color: var(--fg-muted); font-weight: 500; } |
| 7218 | .shithub-commit-refs { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1rem; font-size: 0.875rem; } |
| 7219 | .shithub-commit-refs dt { color: var(--fg-muted); } |
| 7220 | .shithub-commit-refs dd { margin: 0; font-family: monospace; } |
| 7221 | |
| 7222 | .shithub-commit-files { margin-top: 1.5rem; } |
| 7223 | .shithub-commit-files-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; } |
| 7224 | .shithub-commit-files-table th, .shithub-commit-files-table td { |
| 7225 | padding: 0.4rem 0.6rem; |
| 7226 | border-bottom: 1px solid var(--border-default); |
| 7227 | text-align: left; |
| 7228 | } |
| 7229 | .shithub-num-col { width: 80px; text-align: right; font-variant-numeric: tabular-nums; } |
| 7230 | .shithub-add { color: #22863a; } |
| 7231 | .shithub-del { color: #cb2431; } |
| 7232 | .shithub-status-A { color: #22863a; font-weight: 600; } |
| 7233 | .shithub-status-M { color: #b08800; font-weight: 600; } |
| 7234 | .shithub-status-D { color: #cb2431; font-weight: 600; } |
| 7235 | .shithub-status-R { color: #6f42c1; font-weight: 600; } |
| 7236 | .shithub-status-C { color: #0366d6; font-weight: 600; } |
| 7237 | |
| 7238 | .shithub-blame-table { width: 100%; border-collapse: collapse; font-family: monospace; font-size: 0.85rem; } |
| 7239 | .shithub-blame-chunk-header td { |
| 7240 | padding: 0.4rem 0.6rem; |
| 7241 | background: var(--canvas-subtle); |
| 7242 | border-top: 1px solid var(--border-default); |
| 7243 | font-family: var(--shithub-font-default, sans-serif); |
| 7244 | font-size: 0.8rem; |
| 7245 | color: var(--fg-muted); |
| 7246 | display: flex; |
| 7247 | gap: 0.4rem; |
| 7248 | align-items: center; |
| 7249 | } |
| 7250 | .shithub-blame-lineno { width: 50px; text-align: right; padding-right: 0.5rem; color: var(--fg-muted); } |
| 7251 | .shithub-blame-lineno a { color: inherit; } |
| 7252 | .shithub-blame-content pre { margin: 0; white-space: pre; } |
| 7253 | .shithub-blame-too-large { |
| 7254 | padding: 1rem; |
| 7255 | border: 1px dashed var(--border-default); |
| 7256 | border-radius: 6px; |
| 7257 | text-align: center; |
| 7258 | color: var(--fg-muted); |
| 7259 | } |
| 7260 | |
| 7261 | /* ========== Diff renderer (S19) ========== */ |
| 7262 | .shithub-commit-files-head { |
| 7263 | display: flex; |
| 7264 | align-items: center; |
| 7265 | justify-content: space-between; |
| 7266 | margin-bottom: 0.5rem; |
| 7267 | } |
| 7268 | .shithub-diff-toggles { display: flex; gap: 0.25rem; } |
| 7269 | .shithub-diff-body { margin-top: 1rem; } |
| 7270 | .shithub-diff-file { |
| 7271 | margin-top: 1rem; |
| 7272 | border: 1px solid var(--border-default); |
| 7273 | border-radius: 6px; |
| 7274 | overflow: hidden; |
| 7275 | } |
| 7276 | .shithub-diff-file-head { |
| 7277 | display: flex; |
| 7278 | align-items: center; |
| 7279 | justify-content: space-between; |
| 7280 | gap: 0.75rem; |
| 7281 | padding: 0.5rem 0.75rem; |
| 7282 | background: var(--canvas-subtle); |
| 7283 | border-bottom: 1px solid var(--border-default); |
| 7284 | font-size: 0.875rem; |
| 7285 | } |
| 7286 | .shithub-diff-file-action { color: var(--fg-muted); font-style: italic; } |
| 7287 | .shithub-diff-binary, .shithub-diff-image, .shithub-diff-empty, .shithub-diff-truncated { |
| 7288 | padding: 1rem; |
| 7289 | text-align: center; |
| 7290 | color: var(--fg-muted); |
| 7291 | } |
| 7292 | .shithub-diff-file-toolarge { padding: 0.5rem 0.75rem; } |
| 7293 | .shithub-diff-file-toolarge > summary { cursor: pointer; color: var(--fg-muted); } |
| 7294 | .shithub-diff-table { |
| 7295 | width: 100%; |
| 7296 | border-collapse: collapse; |
| 7297 | font-family: monospace; |
| 7298 | font-size: 0.85rem; |
| 7299 | table-layout: fixed; |
| 7300 | } |
| 7301 | .shithub-diff-table td { padding: 0 0.5rem; vertical-align: top; } |
| 7302 | .shithub-diff-table pre { margin: 0; white-space: pre; } |
| 7303 | .shithub-diff-lineno { |
| 7304 | width: 50px; |
| 7305 | text-align: right; |
| 7306 | color: var(--fg-muted); |
| 7307 | user-select: none; |
| 7308 | background: var(--canvas-subtle); |
| 7309 | } |
| 7310 | .shithub-diff-content { width: auto; } |
| 7311 | .shithub-diff-add { background: rgba(46, 160, 67, 0.10); } |
| 7312 | .shithub-diff-del { background: rgba(248, 81, 73, 0.10); } |
| 7313 | .shithub-diff-add .shithub-diff-content { background: rgba(46, 160, 67, 0.05); } |
| 7314 | .shithub-diff-del .shithub-diff-content { background: rgba(248, 81, 73, 0.05); } |
| 7315 | .shithub-diff-pad { background: var(--canvas-subtle); } |
| 7316 | .shithub-diff-hunk-head td { |
| 7317 | padding: 0.4rem 0.75rem; |
| 7318 | background: var(--canvas-default); |
| 7319 | border-top: 1px solid var(--border-default); |
| 7320 | border-bottom: 1px solid var(--border-default); |
| 7321 | color: var(--fg-muted); |
| 7322 | } |
| 7323 | .shithub-diff-split td.shithub-diff-content { |
| 7324 | width: 50%; |
| 7325 | border-left: 1px solid var(--border-default); |
| 7326 | } |
| 7327 | |
| 7328 | /* ========== Branches/Tags/Compare/Settings (S20) ========== */ |
| 7329 | .shithub-branches, .shithub-tags, .shithub-compare, .shithub-settings-branches { |
| 7330 | max-width: 64rem; |
| 7331 | margin: 1.5rem auto; |
| 7332 | padding: 0 1rem; |
| 7333 | } |
| 7334 | .shithub-branches-filter { display: flex; gap: 0.4rem; } |
| 7335 | .shithub-branches-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; } |
| 7336 | .shithub-branches-table th, .shithub-branches-table td { |
| 7337 | padding: 0.5rem 0.75rem; |
| 7338 | text-align: left; |
| 7339 | border-bottom: 1px solid var(--border-default); |
| 7340 | } |
| 7341 | .shithub-branches-subject { color: var(--fg-default); } |
| 7342 | .shithub-compare-summary { padding: 0.75rem 1rem; background: var(--canvas-subtle); border-radius: 6px; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; } |
| 7343 | .shithub-compare-empty { padding: 1.5rem; text-align: center; color: var(--fg-muted); border: 1px dashed var(--border-default); border-radius: 6px; } |
| 7344 | .shithub-compare-commits { margin-top: 1.5rem; } |
| 7345 | .shithub-settings-branches form label { display: block; margin: 0.5rem 0; } |
| 7346 | .shithub-settings-branches form input[type=text], |
| 7347 | .shithub-settings-branches form select { font: inherit; padding: 0.4rem 0.6rem; border: 1px solid var(--border-default); border-radius: 6px; min-width: 280px; } |
| 7348 | |
| 7349 | /* ========== Issues / Labels / Milestones (S21) ========== */ |
| 7350 | .shithub-issues, .shithub-issue-view, .shithub-issue-new, .shithub-labels, .shithub-milestones { |
| 7351 | margin: 0; |
| 7352 | padding: 0; |
| 7353 | } |
| 7354 | .shithub-issues-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; } |
| 7355 | .shithub-issues-actions { display: flex; gap: 0.4rem; } |
| 7356 | .shithub-issues-filter { display: flex; gap: 1.5rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border-default); margin: 1rem 0; } |
| 7357 | .shithub-issues-tab { color: var(--fg-muted); padding: 0.25rem 0; border-bottom: 2px solid transparent; } |
| 7358 | .shithub-issues-tab-active { color: var(--fg-default); border-bottom-color: var(--accent-emphasis, #0969da); font-weight: 600; } |
| 7359 | .shithub-issues-dot { display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; vertical-align: middle; margin-right: 0.25rem; } |
| 7360 | .shithub-issues-dot-open { background: #1a7f37; } |
| 7361 | .shithub-issues-dot-closed { background: #8250df; } |
| 7362 | .shithub-issues-list { list-style: none; padding: 0; margin: 0; } |
| 7363 | .shithub-issues-row { |
| 7364 | display: flex; gap: 0.75rem; align-items: flex-start; |
| 7365 | padding: 0.75rem 0.5rem; |
| 7366 | border-bottom: 1px solid var(--border-default); |
| 7367 | } |
| 7368 | .shithub-issues-state { font-size: 1.1rem; line-height: 1.2; } |
| 7369 | .shithub-issues-state-open { color: #1a7f37; } |
| 7370 | .shithub-issues-state-closed { color: #8250df; } |
| 7371 | .shithub-issues-body { flex: 1; } |
| 7372 | .shithub-issues-title { font-weight: 600; color: var(--fg-default); } |
| 7373 | .shithub-issues-title:hover { color: var(--accent-emphasis, #0969da); } |
| 7374 | .shithub-issues-meta { color: var(--fg-muted); font-size: 0.85rem; margin-top: 0.2rem; } |
| 7375 | .shithub-issues-assignees { font-size: 0.85rem; } |
| 7376 | .shithub-issues-empty { color: var(--fg-muted); padding: 2rem; text-align: center; border: 1px dashed var(--border-default); border-radius: 6px; } |
| 7377 | .shithub-issue-num { color: var(--fg-muted); font-weight: 400; margin-left: 0.5rem; } |
| 7378 | .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; } |
| 7379 | .shithub-issue-title { display: flex; gap: 0.5rem; align-items: baseline; flex-wrap: wrap; margin: 0; } |
| 7380 | .shithub-issue-head-actions { display: flex; gap: 0.5rem; flex: 0 0 auto; } |
| 7381 | .shithub-issue-meta { color: var(--fg-muted); margin: 0.75rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; } |
| 7382 | .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; } |
| 7383 | .shithub-issue-grid { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: 1.5rem; } |
| 7384 | @media (max-width: 900px) { .shithub-issue-grid { grid-template-columns: 1fr; } } |
| 7385 | .shithub-comment { |
| 7386 | border: 1px solid var(--border-default); |
| 7387 | border-radius: 6px; |
| 7388 | margin-bottom: 1rem; |
| 7389 | background: var(--canvas-default); |
| 7390 | } |
| 7391 | .shithub-comment-head { |
| 7392 | padding: 0.5rem 0.75rem; |
| 7393 | background: var(--canvas-subtle); |
| 7394 | border-bottom: 1px solid var(--border-default); |
| 7395 | font-size: 0.9rem; |
| 7396 | color: var(--fg-muted); |
| 7397 | } |
| 7398 | .shithub-comment-body { padding: 0.75rem; } |
| 7399 | .shithub-event { |
| 7400 | color: var(--fg-muted); |
| 7401 | font-size: 0.85rem; |
| 7402 | display: flex; |
| 7403 | align-items: center; |
| 7404 | gap: 0.5rem; |
| 7405 | padding: 0.55rem 0; |
| 7406 | margin: 0 0 1rem 1.2rem; |
| 7407 | position: relative; |
| 7408 | } |
| 7409 | .shithub-event::before { |
| 7410 | content: ""; |
| 7411 | position: absolute; |
| 7412 | top: -1rem; |
| 7413 | bottom: -1rem; |
| 7414 | left: 0.6rem; |
| 7415 | border-left: 2px solid var(--border-default); |
| 7416 | z-index: 0; |
| 7417 | } |
| 7418 | .shithub-event-icon { |
| 7419 | width: 1.3rem; |
| 7420 | height: 1.3rem; |
| 7421 | border: 1px solid var(--border-default); |
| 7422 | border-radius: 50%; |
| 7423 | background: var(--canvas-default); |
| 7424 | color: var(--fg-muted); |
| 7425 | display: inline-flex; |
| 7426 | align-items: center; |
| 7427 | justify-content: center; |
| 7428 | position: relative; |
| 7429 | z-index: 1; |
| 7430 | flex: 0 0 auto; |
| 7431 | } |
| 7432 | .shithub-event-icon svg { width: 0.8rem; height: 0.8rem; } |
| 7433 | .shithub-event-linked .shithub-event-icon { color: var(--fg-muted); } |
| 7434 | .shithub-event a { font-weight: 600; } |
| 7435 | .shithub-comment-form { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; } |
| 7436 | .shithub-comment-form textarea, .shithub-issue-form textarea, .shithub-issue-form input[type=text] { |
| 7437 | font: inherit; padding: 0.5rem; border: 1px solid var(--border-default); border-radius: 6px; width: 100%; |
| 7438 | resize: vertical; |
| 7439 | } |
| 7440 | .shithub-issue-form { display: flex; flex-direction: column; gap: 1rem; max-width: 48rem; } |
| 7441 | .shithub-form-row { display: flex; flex-direction: column; gap: 0.25rem; } |
| 7442 | .shithub-form-row span { font-weight: 600; font-size: 0.9rem; } |
| 7443 | .shithub-form-actions { display: flex; gap: 0.5rem; justify-content: flex-end; } |
| 7444 | .shithub-form-actions-start { justify-content: flex-start; } |
| 7445 | .shithub-issue-sidebar section { padding: 0.75rem 0; border-bottom: 1px solid var(--border-default); position: relative; } |
| 7446 | .shithub-sidebar-heading { display: flex; justify-content: space-between; gap: 0.75rem; align-items: center; margin-bottom: 0.5rem; } |
| 7447 | .shithub-issue-sidebar h3 { font-size: 0.85rem; color: var(--fg-muted); margin: 0; } |
| 7448 | .shithub-sidebar-icon, .shithub-sidebar-editor > summary { |
| 7449 | color: var(--fg-muted); |
| 7450 | display: inline-flex; |
| 7451 | align-items: center; |
| 7452 | justify-content: center; |
| 7453 | width: 1.25rem; |
| 7454 | height: 1.25rem; |
| 7455 | cursor: pointer; |
| 7456 | } |
| 7457 | .shithub-sidebar-editor > summary { list-style: none; } |
| 7458 | .shithub-sidebar-editor > summary::-webkit-details-marker { display: none; } |
| 7459 | .shithub-popover { |
| 7460 | position: absolute; |
| 7461 | right: 0; |
| 7462 | top: 2rem; |
| 7463 | z-index: 20; |
| 7464 | min-width: 17rem; |
| 7465 | display: flex; |
| 7466 | flex-direction: column; |
| 7467 | gap: 0.55rem; |
| 7468 | padding: 0.75rem; |
| 7469 | background: var(--canvas-default); |
| 7470 | border: 1px solid var(--border-default); |
| 7471 | border-radius: 8px; |
| 7472 | box-shadow: 0 8px 24px rgba(140, 149, 159, 0.2); |
| 7473 | } |
| 7474 | .shithub-popover input[type=text], .shithub-popover select { |
| 7475 | font: inherit; |
| 7476 | width: 100%; |
| 7477 | padding: 0.45rem 0.5rem; |
| 7478 | border: 1px solid var(--border-default); |
| 7479 | border-radius: 6px; |
| 7480 | background: var(--canvas-default); |
| 7481 | color: var(--fg-default); |
| 7482 | } |
| 7483 | .shithub-inline-form { display: inline; } |
| 7484 | .shithub-link-button { |
| 7485 | border: 0; |
| 7486 | padding: 0; |
| 7487 | background: transparent; |
| 7488 | color: var(--accent-emphasis, #0969da); |
| 7489 | font: inherit; |
| 7490 | cursor: pointer; |
| 7491 | display: inline-flex; |
| 7492 | gap: 0.35rem; |
| 7493 | align-items: center; |
| 7494 | } |
| 7495 | .shithub-sidebar-button { width: 100%; } |
| 7496 | .shithub-participant { display: inline-block; margin: 0 0.35rem 0.35rem 0; } |
| 7497 | .shithub-issue-actions form { margin: 0.25rem 0; } |
| 7498 | .shithub-issue-signedout { color: var(--fg-muted); padding: 1rem; text-align: center; border: 1px dashed var(--border-default); border-radius: 6px; } |
| 7499 | .shithub-label { |
| 7500 | display: inline-block; |
| 7501 | font-size: 0.75rem; |
| 7502 | padding: 0.1rem 0.5rem; |
| 7503 | border-radius: 1rem; |
| 7504 | color: #1f2328; |
| 7505 | font-weight: 500; |
| 7506 | margin: 0 0.15rem; |
| 7507 | } |
| 7508 | .shithub-label-pick { display: flex; gap: 0.4rem; align-items: center; padding: 0.2rem 0; } |
| 7509 | .shithub-assignee-form { display: flex; gap: 0.25rem; flex-wrap: wrap; margin-top: 0.5rem; } |
| 7510 | .shithub-assignee-form input[type=text] { padding: 0.3rem 0.5rem; border: 1px solid var(--border-default); border-radius: 6px; } |
| 7511 | .shithub-labels-list, .shithub-milestones-list { list-style: none; padding: 0; } |
| 7512 | .shithub-labels-row, .shithub-milestones-row { |
| 7513 | padding: 0.75rem 0; |
| 7514 | border-bottom: 1px solid var(--border-default); |
| 7515 | display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; |
| 7516 | } |
| 7517 | .shithub-label-form, .shithub-milestone-form { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.5rem 0; } |
| 7518 | .shithub-label-form input, .shithub-milestone-form input, .shithub-milestone-form textarea { |
| 7519 | padding: 0.4rem 0.6rem; border: 1px solid var(--border-default); border-radius: 6px; font: inherit; |
| 7520 | } |
| 7521 | .shithub-button-danger { color: #cf222e; } |
| 7522 | .shithub-error { padding: 0.75rem; background: #ffebe9; border: 1px solid #ffcecb; border-radius: 6px; color: #82061e; margin-bottom: 1rem; } |
| 7523 | .shithub-muted { color: var(--fg-muted); } |
| 7524 | |
| 7525 | /* ========== Pull Requests (S22) ========== */ |
| 7526 | .shithub-pulls, .shithub-pull-view { margin: 0; padding: 0; } |
| 7527 | .shithub-pull-head { margin: 1.25rem 0 1rem; } |
| 7528 | .shithub-pull-title-row { |
| 7529 | display: flex; |
| 7530 | align-items: flex-start; |
| 7531 | justify-content: space-between; |
| 7532 | gap: 1rem; |
| 7533 | } |
| 7534 | .shithub-pull-title { |
| 7535 | margin: 0; |
| 7536 | display: flex; |
| 7537 | gap: 0.35rem; |
| 7538 | align-items: baseline; |
| 7539 | flex-wrap: wrap; |
| 7540 | font-size: 1.75rem; |
| 7541 | line-height: 1.25; |
| 7542 | font-weight: 600; |
| 7543 | } |
| 7544 | .shithub-pull-head-actions { |
| 7545 | display: flex; |
| 7546 | align-items: center; |
| 7547 | gap: 0.5rem; |
| 7548 | flex: 0 0 auto; |
| 7549 | } |
| 7550 | .shithub-pull-head-status { color: var(--fg-muted); } |
| 7551 | .shithub-pull-head-status-clean { color: #1a7f37; } |
| 7552 | .shithub-pull-head-status-dirty { color: #cf222e; } |
| 7553 | .shithub-pull-summary { |
| 7554 | display: flex; |
| 7555 | align-items: center; |
| 7556 | gap: 0.5rem; |
| 7557 | flex-wrap: wrap; |
| 7558 | margin-top: 0.6rem; |
| 7559 | color: var(--fg-muted); |
| 7560 | font-size: 0.9rem; |
| 7561 | } |
| 7562 | .shithub-pull-summary a { font-weight: 600; } |
| 7563 | .shithub-pull-merged { background: #8250df22; color: #8250df; } |
| 7564 | .shithub-branch-name { |
| 7565 | display: inline-flex; |
| 7566 | align-items: center; |
| 7567 | max-width: 18rem; |
| 7568 | padding: 0.05rem 0.35rem; |
| 7569 | border-radius: 6px; |
| 7570 | background: var(--canvas-subtle); |
| 7571 | font-family: var(--mono, monospace); |
| 7572 | font-size: 0.85rem; |
| 7573 | vertical-align: baseline; |
| 7574 | } |
| 7575 | .shithub-pull-summary .shithub-icon-button { |
| 7576 | display: inline-flex; |
| 7577 | align-items: center; |
| 7578 | justify-content: center; |
| 7579 | width: 1.5rem; |
| 7580 | height: 1.5rem; |
| 7581 | padding: 0; |
| 7582 | border: 0; |
| 7583 | border-radius: 6px; |
| 7584 | background: transparent; |
| 7585 | color: var(--fg-muted); |
| 7586 | cursor: pointer; |
| 7587 | } |
| 7588 | .shithub-pull-summary .shithub-icon-button:hover { background: var(--canvas-subtle); color: var(--fg-default); } |
| 7589 | .shithub-pull-tabs { |
| 7590 | display: flex; |
| 7591 | gap: 0.25rem; |
| 7592 | border-bottom: 1px solid var(--border-default); |
| 7593 | margin: 1rem 0 1rem; |
| 7594 | flex-wrap: wrap; |
| 7595 | } |
| 7596 | .shithub-pull-tab { |
| 7597 | display: inline-flex; |
| 7598 | align-items: center; |
| 7599 | gap: 0.45rem; |
| 7600 | color: var(--fg-muted); |
| 7601 | padding: 0.55rem 0.85rem; |
| 7602 | border-bottom: 2px solid transparent; |
| 7603 | position: relative; |
| 7604 | bottom: -1px; |
| 7605 | text-decoration: none; |
| 7606 | } |
| 7607 | .shithub-pull-tab:hover { background: var(--canvas-subtle); border-radius: 6px 6px 0 0; } |
| 7608 | .shithub-pull-tab-active { |
| 7609 | color: var(--fg-default); |
| 7610 | border-bottom-color: var(--accent-emphasis, #fd8c73); |
| 7611 | font-weight: 600; |
| 7612 | } |
| 7613 | .shithub-pull-grid { |
| 7614 | display: grid; |
| 7615 | grid-template-columns: minmax(0, 1fr) 18.5rem; |
| 7616 | gap: 1.5rem; |
| 7617 | align-items: start; |
| 7618 | } |
| 7619 | @media (max-width: 900px) { |
| 7620 | .shithub-pull-title-row { flex-direction: column; } |
| 7621 | .shithub-pull-grid { grid-template-columns: 1fr; } |
| 7622 | } |
| 7623 | .shithub-pull-state-clean { color: #1a7f37; font-weight: 600; } |
| 7624 | .shithub-pull-state-dirty { color: #cf222e; font-weight: 600; } |
| 7625 | .shithub-pull-state-behind { color: #9a6700; } |
| 7626 | .shithub-pull-state-unknown { color: var(--fg-muted); } |
| 7627 | .shithub-pull-deploy-box, |
| 7628 | .shithub-pull-merge-box { |
| 7629 | border: 1px solid var(--border-default); |
| 7630 | border-radius: 6px; |
| 7631 | background: var(--canvas-default); |
| 7632 | margin: 0 0 1rem; |
| 7633 | } |
| 7634 | .shithub-pull-deploy-box { |
| 7635 | display: flex; |
| 7636 | gap: 0.75rem; |
| 7637 | align-items: flex-start; |
| 7638 | padding: 0.85rem 1rem; |
| 7639 | } |
| 7640 | .shithub-pull-deploy-box p { margin: 0.15rem 0 0; } |
| 7641 | .shithub-pull-merge-box-ready { border-color: rgba(26, 127, 55, 0.55); } |
| 7642 | .shithub-pull-merge-box-blocked { border-color: rgba(207, 34, 46, 0.55); } |
| 7643 | .shithub-pull-merge-box-pending { border-color: rgba(154, 103, 0, 0.55); } |
| 7644 | .shithub-pull-merge-box-merged { border-color: rgba(130, 80, 223, 0.55); } |
| 7645 | .shithub-pull-merge-row { |
| 7646 | display: grid; |
| 7647 | grid-template-columns: 2rem minmax(0, 1fr); |
| 7648 | gap: 0.75rem; |
| 7649 | padding: 0.85rem 1rem; |
| 7650 | border-bottom: 1px solid var(--border-default); |
| 7651 | } |
| 7652 | .shithub-pull-merge-row:last-child { border-bottom: none; } |
| 7653 | .shithub-pull-merge-row p { margin: 0.15rem 0 0; } |
| 7654 | .shithub-pull-status-icon { |
| 7655 | width: 1.5rem; |
| 7656 | height: 1.5rem; |
| 7657 | border-radius: 50%; |
| 7658 | color: var(--fg-muted); |
| 7659 | display: inline-flex; |
| 7660 | align-items: center; |
| 7661 | justify-content: center; |
| 7662 | } |
| 7663 | .shithub-pull-status-icon-success, |
| 7664 | .shithub-pull-check-row-success .shithub-pull-status-icon { color: #1a7f37; } |
| 7665 | .shithub-pull-status-icon-danger, |
| 7666 | .shithub-pull-check-row-failure .shithub-pull-status-icon { color: #cf222e; } |
| 7667 | .shithub-pull-check-row-pending .shithub-pull-status-icon { color: #bf8700; } |
| 7668 | .shithub-pull-status-icon-merged { color: #8250df; } |
| 7669 | .shithub-pull-merge-checks { |
| 7670 | list-style: none; |
| 7671 | margin: 0; |
| 7672 | padding: 0; |
| 7673 | border-bottom: 1px solid var(--border-default); |
| 7674 | } |
| 7675 | .shithub-pull-merge-checks li { |
| 7676 | display: flex; |
| 7677 | align-items: center; |
| 7678 | gap: 0.5rem; |
| 7679 | padding: 0.45rem 1rem 0.45rem 3.75rem; |
| 7680 | border-top: 1px solid var(--border-muted); |
| 7681 | font-size: 0.86rem; |
| 7682 | } |
| 7683 | .shithub-pull-merge-checks small { color: var(--fg-muted); margin-left: auto; } |
| 7684 | .shithub-pull-merge-actions { |
| 7685 | padding: 0.85rem 1rem; |
| 7686 | display: flex; |
| 7687 | flex-wrap: wrap; |
| 7688 | gap: 0.5rem; |
| 7689 | background: var(--canvas-subtle); |
| 7690 | border-radius: 0 0 6px 6px; |
| 7691 | } |
| 7692 | .shithub-pull-merge-form { |
| 7693 | display: flex; |
| 7694 | align-items: center; |
| 7695 | gap: 0; |
| 7696 | margin: 0; |
| 7697 | } |
| 7698 | .shithub-pull-merge-form select { |
| 7699 | min-height: 32px; |
| 7700 | padding: 0 0.55rem; |
| 7701 | border: 1px solid var(--border-default); |
| 7702 | border-left: 0; |
| 7703 | border-radius: 0 6px 6px 0; |
| 7704 | background: var(--canvas-default); |
| 7705 | color: var(--fg-default); |
| 7706 | font: inherit; |
| 7707 | } |
| 7708 | .shithub-pull-merge-form .shithub-button { border-radius: 6px 0 0 6px; } |
| 7709 | .shithub-pull-state-form { margin-top: 0.5rem; } |
| 7710 | .shithub-pull-refs { display: flex; gap: 0.4rem; align-items: flex-end; } |
| 7711 | .shithub-pull-refs label { flex: 1; } |
| 7712 | .shithub-pull-arrow { font-size: 1.4rem; padding: 0 0.4rem; align-self: center; } |
| 7713 | .shithub-sr-only { |
| 7714 | position: absolute; |
| 7715 | width: 1px; |
| 7716 | height: 1px; |
| 7717 | padding: 0; |
| 7718 | margin: -1px; |
| 7719 | overflow: hidden; |
| 7720 | clip: rect(0, 0, 0, 0); |
| 7721 | white-space: nowrap; |
| 7722 | border: 0; |
| 7723 | } |
| 7724 | .shithub-pull-commits { |
| 7725 | display: flex; |
| 7726 | flex-direction: column; |
| 7727 | gap: 1rem; |
| 7728 | max-width: 56rem; |
| 7729 | margin-top: 1rem; |
| 7730 | } |
| 7731 | .shithub-pull-commit-group { |
| 7732 | display: grid; |
| 7733 | grid-template-columns: 2rem minmax(0, 1fr); |
| 7734 | gap: 0.75rem; |
| 7735 | position: relative; |
| 7736 | } |
| 7737 | .shithub-pull-commit-group::before { |
| 7738 | content: ""; |
| 7739 | position: absolute; |
| 7740 | top: 2rem; |
| 7741 | bottom: -1rem; |
| 7742 | left: 1rem; |
| 7743 | width: 1px; |
| 7744 | background: var(--border-default); |
| 7745 | } |
| 7746 | .shithub-pull-commit-group:last-child::before { display: none; } |
| 7747 | .shithub-pull-commit-badge { |
| 7748 | position: relative; |
| 7749 | z-index: 1; |
| 7750 | display: inline-flex; |
| 7751 | align-items: center; |
| 7752 | justify-content: center; |
| 7753 | width: 2rem; |
| 7754 | height: 2rem; |
| 7755 | border: 1px solid var(--border-default); |
| 7756 | border-radius: 50%; |
| 7757 | color: var(--fg-muted); |
| 7758 | background: var(--canvas-default); |
| 7759 | } |
| 7760 | .shithub-pull-commit-group-body { min-width: 0; } |
| 7761 | .shithub-pull-commit-group h3 { |
| 7762 | margin: 0.3rem 0 0.65rem; |
| 7763 | font-size: 0.95rem; |
| 7764 | font-weight: 400; |
| 7765 | } |
| 7766 | .shithub-pull-commit-panel { |
| 7767 | list-style: none; |
| 7768 | padding: 0; |
| 7769 | margin: 0; |
| 7770 | border: 1px solid var(--border-default); |
| 7771 | border-radius: 6px; |
| 7772 | background: var(--canvas-default); |
| 7773 | } |
| 7774 | .shithub-pull-commit-row { |
| 7775 | display: grid; |
| 7776 | grid-template-columns: minmax(0, 1fr) auto; |
| 7777 | gap: 1rem; |
| 7778 | align-items: center; |
| 7779 | padding: 0.75rem; |
| 7780 | border-bottom: 1px solid var(--border-default); |
| 7781 | } |
| 7782 | .shithub-pull-commit-row:last-child { border-bottom: 0; } |
| 7783 | .shithub-pull-commit-main { min-width: 0; } |
| 7784 | .shithub-pull-commit-title { |
| 7785 | display: block; |
| 7786 | overflow: hidden; |
| 7787 | color: var(--fg-default); |
| 7788 | font-weight: 600; |
| 7789 | text-overflow: ellipsis; |
| 7790 | white-space: nowrap; |
| 7791 | } |
| 7792 | .shithub-pull-commit-meta { |
| 7793 | display: flex; |
| 7794 | align-items: center; |
| 7795 | flex-wrap: wrap; |
| 7796 | gap: 0.25rem; |
| 7797 | margin-top: 0.3rem; |
| 7798 | color: var(--fg-muted); |
| 7799 | font-size: 0.84rem; |
| 7800 | } |
| 7801 | .shithub-pull-commit-meta .shithub-avatar-sm { width: 16px; height: 16px; margin-right: 0.15rem; } |
| 7802 | .shithub-pull-commit-actions { |
| 7803 | display: flex; |
| 7804 | align-items: center; |
| 7805 | gap: 0.25rem; |
| 7806 | } |
| 7807 | .shithub-pull-commit-sha { |
| 7808 | font-family: var(--mono, monospace); |
| 7809 | color: var(--fg-muted); |
| 7810 | } |
| 7811 | @media (max-width: 640px) { |
| 7812 | .shithub-pull-commit-row { grid-template-columns: 1fr; } |
| 7813 | .shithub-pull-commit-actions { justify-content: flex-start; } |
| 7814 | } |
| 7815 | |
| 7816 | /* ========== PR Reviews (S23) ========== */ |
| 7817 | .shithub-pull-reviews-list, .shithub-pull-reviewers-list { |
| 7818 | list-style: none; padding: 0; margin: 0; font-size: 0.9rem; |
| 7819 | } |
| 7820 | .shithub-pull-reviews-list { margin-top: 0.5rem; } |
| 7821 | .shithub-pull-reviews-list li, |
| 7822 | .shithub-pull-reviewers-list li { padding: 0.2rem 0; display: flex; gap: 0.35rem; flex-wrap: wrap; align-items: baseline; } |
| 7823 | .shithub-pull-review-state { font-weight: 600; } |
| 7824 | .shithub-pull-review-approve .shithub-pull-review-state { color: #1a7f37; } |
| 7825 | .shithub-pull-review-request_changes .shithub-pull-review-state { color: #cf222e; } |
| 7826 | .shithub-pull-review-comment .shithub-pull-review-state { color: var(--fg-muted); } |
| 7827 | .shithub-pull-review-dismissed { opacity: 0.5; text-decoration: line-through; } |
| 7828 | .shithub-pull-request-reviewer summary, .shithub-pull-submit-review summary { |
| 7829 | margin: 0.5rem 0 0.25rem; |
| 7830 | } |
| 7831 | .shithub-pull-review-form { display: flex; flex-direction: column; gap: 0.4rem; padding: 0.4rem 0; } |
| 7832 | .shithub-pull-review-form textarea, .shithub-pull-review-form select { |
| 7833 | padding: 0.4rem; border: 1px solid var(--border-default); border-radius: 6px; font: inherit; |
| 7834 | } |
| 7835 | .shithub-pull-comment-form { margin-top: 1.25rem; } |
| 7836 | .shithub-button-compact { min-height: 32px; padding: 0.25rem 0.7rem; } |
| 7837 | .shithub-pull-files { margin-top: 0.25rem; } |
| 7838 | .shithub-pull-files-toolbar { |
| 7839 | position: sticky; |
| 7840 | top: 0; |
| 7841 | z-index: 5; |
| 7842 | display: flex; |
| 7843 | justify-content: space-between; |
| 7844 | align-items: center; |
| 7845 | gap: 1rem; |
| 7846 | padding: 0.7rem 0; |
| 7847 | border-bottom: 1px solid var(--border-default); |
| 7848 | background: var(--canvas-default); |
| 7849 | } |
| 7850 | .shithub-pull-files-toolbar-left, |
| 7851 | .shithub-pull-files-toolbar-right { |
| 7852 | display: flex; |
| 7853 | align-items: center; |
| 7854 | gap: 0.5rem; |
| 7855 | flex-wrap: wrap; |
| 7856 | } |
| 7857 | .shithub-pull-submit-review-menu { position: relative; } |
| 7858 | .shithub-pull-submit-review-menu > summary { list-style: none; } |
| 7859 | .shithub-pull-submit-review-menu > summary::-webkit-details-marker { display: none; } |
| 7860 | .shithub-pull-review-popover { |
| 7861 | right: 0; |
| 7862 | top: calc(100% + 0.4rem); |
| 7863 | min-width: 20rem; |
| 7864 | } |
| 7865 | .shithub-pull-review-popover textarea { |
| 7866 | width: 100%; |
| 7867 | padding: 0.45rem 0.5rem; |
| 7868 | border: 1px solid var(--border-default); |
| 7869 | border-radius: 6px; |
| 7870 | background: var(--canvas-default); |
| 7871 | color: var(--fg-default); |
| 7872 | font: inherit; |
| 7873 | } |
| 7874 | .shithub-pull-files-layout { |
| 7875 | display: grid; |
| 7876 | grid-template-columns: 16rem minmax(0, 1fr); |
| 7877 | gap: 1rem; |
| 7878 | margin-top: 1rem; |
| 7879 | } |
| 7880 | .shithub-pull-file-nav { |
| 7881 | position: sticky; |
| 7882 | top: 3.75rem; |
| 7883 | align-self: start; |
| 7884 | max-height: calc(100vh - 5rem); |
| 7885 | overflow: auto; |
| 7886 | border: 1px solid var(--border-default); |
| 7887 | border-radius: 6px; |
| 7888 | background: var(--canvas-default); |
| 7889 | } |
| 7890 | .shithub-pull-file-filter { |
| 7891 | display: flex; |
| 7892 | align-items: center; |
| 7893 | gap: 0.35rem; |
| 7894 | padding: 0.5rem; |
| 7895 | border-bottom: 1px solid var(--border-default); |
| 7896 | } |
| 7897 | .shithub-pull-file-filter svg { color: var(--fg-muted); flex: 0 0 auto; } |
| 7898 | .shithub-pull-file-filter input { |
| 7899 | min-width: 0; |
| 7900 | width: 100%; |
| 7901 | border: 0; |
| 7902 | background: transparent; |
| 7903 | color: var(--fg-default); |
| 7904 | font: inherit; |
| 7905 | outline: none; |
| 7906 | } |
| 7907 | .shithub-pull-file-nav ul { |
| 7908 | list-style: none; |
| 7909 | margin: 0; |
| 7910 | padding: 0.4rem 0; |
| 7911 | } |
| 7912 | .shithub-pull-file-nav li a { |
| 7913 | display: grid; |
| 7914 | grid-template-columns: 1.4rem minmax(0, 1fr); |
| 7915 | gap: 0.45rem; |
| 7916 | align-items: start; |
| 7917 | padding: 0.45rem 0.65rem; |
| 7918 | color: var(--fg-default); |
| 7919 | text-decoration: none; |
| 7920 | font-size: 0.86rem; |
| 7921 | } |
| 7922 | .shithub-pull-file-nav li a:hover { background: var(--canvas-subtle); } |
| 7923 | .shithub-pull-file-nav small { |
| 7924 | display: block; |
| 7925 | color: var(--fg-muted); |
| 7926 | font-size: 0.75rem; |
| 7927 | overflow: hidden; |
| 7928 | text-overflow: ellipsis; |
| 7929 | white-space: nowrap; |
| 7930 | } |
| 7931 | .shithub-pull-file-status { |
| 7932 | display: inline-flex; |
| 7933 | align-items: center; |
| 7934 | justify-content: center; |
| 7935 | width: 1.1rem; |
| 7936 | height: 1.1rem; |
| 7937 | border-radius: 4px; |
| 7938 | font-size: 0.68rem; |
| 7939 | font-weight: 700; |
| 7940 | } |
| 7941 | .shithub-pull-file-status-added { color: #1a7f37; border: 1px solid rgba(26, 127, 55, 0.45); } |
| 7942 | .shithub-pull-file-status-deleted { color: #cf222e; border: 1px solid rgba(207, 34, 46, 0.45); } |
| 7943 | .shithub-pull-file-status-renamed { color: #8250df; border: 1px solid rgba(130, 80, 223, 0.45); } |
| 7944 | .shithub-pull-file-status-modified { color: #bf8700; border: 1px solid rgba(154, 103, 0, 0.45); } |
| 7945 | .shithub-pull-file-lines { margin-top: 0.1rem; } |
| 7946 | .shithub-pull-files-main { min-width: 0; } |
| 7947 | @media (max-width: 900px) { |
| 7948 | .shithub-pull-files-toolbar { position: static; align-items: flex-start; flex-direction: column; } |
| 7949 | .shithub-pull-files-layout { grid-template-columns: 1fr; } |
| 7950 | .shithub-pull-file-nav { position: static; max-height: none; } |
| 7951 | } |
| 7952 | .shithub-pull-threads { margin-top: 1.5rem; padding: 0.75rem; border: 1px solid var(--border-default); border-radius: 6px; } |
| 7953 | .shithub-pull-thread-file { padding: 0.4rem 0; border-bottom: 1px solid var(--border-default); } |
| 7954 | .shithub-pull-thread-file:last-child { border-bottom: none; } |
| 7955 | .shithub-pull-thread-file summary { cursor: pointer; font-weight: 600; } |
| 7956 | .shithub-pull-thread { padding: 0.5rem; border-left: 3px solid var(--border-default); margin: 0.5rem 0; } |
| 7957 | .shithub-pull-thread-outdated { opacity: 0.6; border-left-color: #9a6700; } |
| 7958 | .shithub-pull-thread-resolved { opacity: 0.7; border-left-color: #1a7f37; } |
| 7959 | .shithub-pull-thread-actions { display: flex; gap: 0.3rem; margin-top: 0.4rem; flex-wrap: wrap; } |
| 7960 | .shithub-pull-thread-actions textarea, .shithub-pull-thread-actions input[type=text] { |
| 7961 | padding: 0.3rem; border: 1px solid var(--border-default); border-radius: 6px; font: inherit; |
| 7962 | } |
| 7963 | .shithub-pull-add-comment summary { margin-top: 0.5rem; } |
| 7964 | .shithub-pull-add-comment form { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.4rem 0; } |
| 7965 | .shithub-pull-add-comment input, .shithub-pull-add-comment textarea { |
| 7966 | padding: 0.3rem 0.5rem; border: 1px solid var(--border-default); border-radius: 6px; font: inherit; |
| 7967 | } |
| 7968 | |
| 7969 | /* ========== PR Checks tab (S24) ========== */ |
| 7970 | .shithub-checks-page { |
| 7971 | display: grid; |
| 7972 | grid-template-columns: 15rem minmax(0, 1fr); |
| 7973 | gap: 1.5rem; |
| 7974 | margin-top: 1rem; |
| 7975 | } |
| 7976 | .shithub-checks-sidebar { |
| 7977 | position: sticky; |
| 7978 | top: 1rem; |
| 7979 | align-self: start; |
| 7980 | display: flex; |
| 7981 | flex-direction: column; |
| 7982 | gap: 0.35rem; |
| 7983 | } |
| 7984 | .shithub-checks-sidebar-group { |
| 7985 | padding-top: 0.75rem; |
| 7986 | margin-top: 0.5rem; |
| 7987 | border-top: 1px solid var(--border-default); |
| 7988 | } |
| 7989 | .shithub-checks-sidebar-heading { |
| 7990 | padding: 0.35rem 0.55rem; |
| 7991 | color: var(--fg-muted); |
| 7992 | font-size: 0.8rem; |
| 7993 | font-weight: 600; |
| 7994 | } |
| 7995 | .shithub-checks-sidebar-item { |
| 7996 | display: flex; |
| 7997 | align-items: center; |
| 7998 | gap: 0.45rem; |
| 7999 | padding: 0.45rem 0.55rem; |
| 8000 | border-radius: 6px; |
| 8001 | color: var(--fg-default); |
| 8002 | text-decoration: none; |
| 8003 | font-size: 0.86rem; |
| 8004 | } |
| 8005 | .shithub-checks-sidebar-item.is-active, |
| 8006 | .shithub-checks-sidebar-item:hover { |
| 8007 | background: var(--canvas-subtle); |
| 8008 | } |
| 8009 | .shithub-checks-main { |
| 8010 | display: flex; |
| 8011 | flex-direction: column; |
| 8012 | gap: 1rem; |
| 8013 | min-width: 0; |
| 8014 | } |
| 8015 | .shithub-checks-summary-card { |
| 8016 | display: grid; |
| 8017 | grid-template-columns: minmax(0, 2fr) repeat(3, minmax(7rem, 1fr)); |
| 8018 | gap: 1rem; |
| 8019 | padding: 1rem; |
| 8020 | border: 1px solid var(--border-default); |
| 8021 | border-radius: 6px; |
| 8022 | background: var(--canvas-default); |
| 8023 | } |
| 8024 | .shithub-checks-summary-card > div { |
| 8025 | display: flex; |
| 8026 | flex-direction: column; |
| 8027 | gap: 0.25rem; |
| 8028 | } |
| 8029 | .shithub-checks-success { color: #1a7f37; } |
| 8030 | .shithub-checks-failure { color: #cf222e; } |
| 8031 | .shithub-checks-pending { color: #9a6700; } |
| 8032 | .shithub-checks-workflow, |
| 8033 | .shithub-checks-annotations { |
| 8034 | border: 1px solid var(--border-default); |
| 8035 | border-radius: 6px; |
| 8036 | background: var(--canvas-default); |
| 8037 | } |
| 8038 | .shithub-checks-workflow > header { |
| 8039 | display: flex; |
| 8040 | justify-content: space-between; |
| 8041 | align-items: flex-start; |
| 8042 | gap: 1rem; |
| 8043 | padding: 1rem; |
| 8044 | border-bottom: 1px solid var(--border-default); |
| 8045 | } |
| 8046 | .shithub-checks-workflow h2, |
| 8047 | .shithub-checks-annotations h2 { |
| 8048 | margin: 0; |
| 8049 | font-size: 1rem; |
| 8050 | } |
| 8051 | .shithub-checks-workflow p { margin: 0.2rem 0 0; } |
| 8052 | .shithub-checks-workflow-map { |
| 8053 | padding: 1rem; |
| 8054 | min-height: 8rem; |
| 8055 | background: var(--canvas-inset); |
| 8056 | } |
| 8057 | .shithub-checks-run-card { |
| 8058 | max-width: 18rem; |
| 8059 | display: grid; |
| 8060 | grid-template-columns: 1.5rem minmax(0, 1fr) auto; |
| 8061 | gap: 0.55rem; |
| 8062 | align-items: center; |
| 8063 | padding: 0.75rem; |
| 8064 | border: 1px solid var(--border-default); |
| 8065 | border-radius: 6px; |
| 8066 | background: var(--canvas-default); |
| 8067 | } |
| 8068 | .shithub-checks-run-card + .shithub-checks-run-card { margin-top: 0.75rem; } |
| 8069 | .shithub-checks-run-card p { margin: 0.15rem 0 0; } |
| 8070 | .shithub-checks-run-icon { |
| 8071 | display: inline-flex; |
| 8072 | align-items: center; |
| 8073 | justify-content: center; |
| 8074 | color: #1a7f37; |
| 8075 | } |
| 8076 | .shithub-checks-annotations { padding: 1rem; } |
| 8077 | .shithub-checks-annotation { |
| 8078 | margin-top: 0.75rem; |
| 8079 | padding: 0.75rem; |
| 8080 | border: 1px solid var(--border-default); |
| 8081 | border-radius: 6px; |
| 8082 | background: var(--canvas-subtle); |
| 8083 | } |
| 8084 | .shithub-checks-annotation summary { |
| 8085 | cursor: pointer; |
| 8086 | display: flex; |
| 8087 | justify-content: space-between; |
| 8088 | gap: 1rem; |
| 8089 | } |
| 8090 | @media (max-width: 900px) { |
| 8091 | .shithub-checks-page { grid-template-columns: 1fr; } |
| 8092 | .shithub-checks-sidebar { position: static; } |
| 8093 | .shithub-checks-summary-card { grid-template-columns: 1fr; } |
| 8094 | } |
| 8095 | .shithub-pull-checks { display: flex; flex-direction: column; gap: 0.75rem; padding: 0.5rem 0; } |
| 8096 | .shithub-pull-check-suite { |
| 8097 | border: 1px solid var(--border-default); |
| 8098 | border-radius: 6px; |
| 8099 | padding: 0.75rem; |
| 8100 | } |
| 8101 | .shithub-pull-check-suite h3 { |
| 8102 | display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; |
| 8103 | font-size: 1rem; margin: 0 0 0.5rem; |
| 8104 | } |
| 8105 | .shithub-pull-check-app { font-family: var(--mono, monospace); font-size: 0.85rem; color: var(--fg-muted); } |
| 8106 | .shithub-pull-check-suite-status { font-size: 0.8rem; padding: 0.05rem 0.4rem; border-radius: 999px; background: var(--canvas-subtle); } |
| 8107 | .shithub-pull-check-runs { list-style: none; padding: 0; margin: 0; } |
| 8108 | .shithub-pull-check-run { |
| 8109 | display: flex; gap: 0.5rem; align-items: baseline; |
| 8110 | padding: 0.3rem 0; border-bottom: 1px solid var(--border-default); |
| 8111 | flex-wrap: wrap; |
| 8112 | } |
| 8113 | .shithub-pull-check-run:last-child { border-bottom: none; } |
| 8114 | .shithub-pull-check-status-completed { color: #1a7f37; } |
| 8115 | .shithub-pull-check-status-in_progress { color: #9a6700; } |
| 8116 | .shithub-pull-check-status-queued { color: var(--fg-muted); } |
| 8117 | .shithub-pull-check-status-pending { color: var(--fg-muted); } |
| 8118 | .shithub-pull-check-conclusion { |
| 8119 | font-size: 0.75rem; padding: 0.05rem 0.4rem; border-radius: 999px; |
| 8120 | text-transform: lowercase; |
| 8121 | } |
| 8122 | .shithub-pull-check-conclusion-success { background: #1a7f3722; color: #1a7f37; } |
| 8123 | .shithub-pull-check-conclusion-failure { background: #cf222e22; color: #cf222e; } |
| 8124 | .shithub-pull-check-conclusion-neutral { background: #d0d7de44; color: var(--fg-muted); } |
| 8125 | .shithub-pull-check-conclusion-cancelled, |
| 8126 | .shithub-pull-check-conclusion-skipped, |
| 8127 | .shithub-pull-check-conclusion-stale { color: var(--fg-muted); background: var(--canvas-subtle); } |
| 8128 | .shithub-pull-check-conclusion-timed_out { background: #9a670022; color: #9a6700; } |
| 8129 | .shithub-pull-check-conclusion-action_required { background: #cf222e22; color: #cf222e; font-weight: 600; } |
| 8130 | |
| 8131 | /* S26 — stars / watchers / forks list pages */ |
| 8132 | .shithub-social { max-width: 1012px; margin: 0 auto; padding: 1.5rem 0; } |
| 8133 | .shithub-social-subhead { |
| 8134 | display: flex; |
| 8135 | align-items: baseline; |
| 8136 | gap: 0.75rem; |
| 8137 | padding-bottom: 0.85rem; |
| 8138 | border-bottom: 1px solid var(--border-default); |
| 8139 | } |
| 8140 | .shithub-social-subhead h1 { |
| 8141 | margin: 0; |
| 8142 | font-size: 1.55rem; |
| 8143 | font-weight: 400; |
| 8144 | } |
| 8145 | .shithub-social-subhead p { margin: 0; color: var(--fg-muted); } |
| 8146 | .shithub-social-tabnav { |
| 8147 | display: flex; |
| 8148 | gap: 0.25rem; |
| 8149 | margin: 1rem 0; |
| 8150 | border-bottom: 1px solid var(--border-default); |
| 8151 | } |
| 8152 | .shithub-social-tabnav a, |
| 8153 | .shithub-social-tabnav span { |
| 8154 | display: inline-flex; |
| 8155 | align-items: center; |
| 8156 | gap: 0.35rem; |
| 8157 | padding: 0.55rem 0.85rem; |
| 8158 | color: var(--fg-default); |
| 8159 | border-bottom: 2px solid transparent; |
| 8160 | position: relative; |
| 8161 | bottom: -1px; |
| 8162 | } |
| 8163 | .shithub-social-tabnav a:hover { text-decoration: none; background: var(--canvas-subtle); border-radius: 6px 6px 0 0; } |
| 8164 | .shithub-social-tabnav .is-active { border-bottom-color: var(--accent-emphasis); font-weight: 600; } |
| 8165 | .shithub-social-tabnav .is-disabled { color: var(--fg-muted); } |
| 8166 | .shithub-social-list { |
| 8167 | list-style: none; |
| 8168 | padding: 0; |
| 8169 | margin: 1rem 0; |
| 8170 | border: 1px solid var(--border-default); |
| 8171 | border-radius: 6px; |
| 8172 | background: var(--canvas-default); |
| 8173 | } |
| 8174 | .shithub-social-list li { |
| 8175 | display: grid; |
| 8176 | grid-template-columns: 40px minmax(0, 1fr) auto; |
| 8177 | gap: 0.85rem; |
| 8178 | align-items: center; |
| 8179 | padding: 1rem; |
| 8180 | border-bottom: 1px solid var(--border-muted); |
| 8181 | } |
| 8182 | .shithub-social-list li:last-child { border-bottom: none; } |
| 8183 | .shithub-social-avatar, |
| 8184 | .shithub-social-avatar img { |
| 8185 | display: block; |
| 8186 | width: 40px; |
| 8187 | height: 40px; |
| 8188 | border-radius: 50%; |
| 8189 | } |
| 8190 | .shithub-social-avatar img { border: 1px solid var(--border-muted); } |
| 8191 | .shithub-social-person { |
| 8192 | min-width: 0; |
| 8193 | display: grid; |
| 8194 | gap: 0.1rem; |
| 8195 | } |
| 8196 | .shithub-social-person strong { font-size: 1rem; } |
| 8197 | .shithub-social-person span, |
| 8198 | .shithub-social-time, |
| 8199 | .shithub-social-meta { |
| 8200 | color: var(--fg-muted); |
| 8201 | font-size: 0.875rem; |
| 8202 | } |
| 8203 | .shithub-social-meta { |
| 8204 | display: flex; |
| 8205 | align-items: center; |
| 8206 | justify-content: end; |
| 8207 | gap: 0.75rem; |
| 8208 | flex-wrap: wrap; |
| 8209 | } |
| 8210 | .shithub-social-meta span { |
| 8211 | display: inline-flex; |
| 8212 | align-items: center; |
| 8213 | gap: 0.25rem; |
| 8214 | } |
| 8215 | .shithub-social-fork-badges { |
| 8216 | display: flex; |
| 8217 | gap: 0.35rem; |
| 8218 | flex-wrap: wrap; |
| 8219 | margin-top: 0.25rem; |
| 8220 | } |
| 8221 | .shithub-social-blank { |
| 8222 | margin: 1rem 0; |
| 8223 | padding: 2.5rem 1.5rem; |
| 8224 | border: 1px solid var(--border-default); |
| 8225 | border-radius: 6px; |
| 8226 | text-align: center; |
| 8227 | color: var(--fg-muted); |
| 8228 | } |
| 8229 | .shithub-social-blank svg { |
| 8230 | width: 24px; |
| 8231 | height: 24px; |
| 8232 | color: var(--fg-muted); |
| 8233 | margin-bottom: 0.75rem; |
| 8234 | } |
| 8235 | .shithub-social-blank h2 { |
| 8236 | margin: 0 0 0.4rem; |
| 8237 | color: var(--fg-default); |
| 8238 | font-size: 1.25rem; |
| 8239 | font-weight: 600; |
| 8240 | } |
| 8241 | .shithub-social-blank p { |
| 8242 | max-width: 520px; |
| 8243 | margin: 0 auto; |
| 8244 | } |
| 8245 | @media (max-width: 700px) { |
| 8246 | .shithub-social-list li { |
| 8247 | grid-template-columns: 40px minmax(0, 1fr); |
| 8248 | } |
| 8249 | .shithub-social-time, |
| 8250 | .shithub-social-meta { |
| 8251 | grid-column: 2; |
| 8252 | justify-content: start; |
| 8253 | } |
| 8254 | } |
| 8255 | .shithub-meta { color: var(--fg-muted); margin: 0.25rem 0 1rem; } |
| 8256 | .shithub-empty { color: var(--fg-muted); padding: 1rem; } |
| 8257 | .shithub-pagination { |
| 8258 | display: flex; gap: 0.5rem; padding: 1rem 0; |
| 8259 | } |
| 8260 | |
| 8261 | /* S28 — search */ |
| 8262 | .sr-only { |
| 8263 | position: absolute; |
| 8264 | width: 1px; |
| 8265 | height: 1px; |
| 8266 | padding: 0; |
| 8267 | margin: -1px; |
| 8268 | overflow: hidden; |
| 8269 | clip: rect(0, 0, 0, 0); |
| 8270 | white-space: nowrap; |
| 8271 | border: 0; |
| 8272 | } |
| 8273 | .shithub-nav-search { |
| 8274 | position: relative; |
| 8275 | flex: 1 1 22rem; |
| 8276 | display: flex; |
| 8277 | align-items: center; |
| 8278 | max-width: 32rem; |
| 8279 | margin: 0 1rem; |
| 8280 | } |
| 8281 | .shithub-nav.has-context .shithub-nav-search { |
| 8282 | flex: 0 1 22rem; |
| 8283 | max-width: 22rem; |
| 8284 | margin-left: auto; |
| 8285 | margin-right: 0.25rem; |
| 8286 | } |
| 8287 | .shithub-nav-search-icon { |
| 8288 | position: absolute; |
| 8289 | left: 0.65rem; |
| 8290 | top: 50%; |
| 8291 | transform: translateY(-50%); |
| 8292 | color: var(--fg-muted); |
| 8293 | line-height: 0; |
| 8294 | pointer-events: none; |
| 8295 | } |
| 8296 | .shithub-nav-search input { |
| 8297 | width: 100%; |
| 8298 | min-height: 2rem; |
| 8299 | padding: 0.35rem 2rem 0.35rem 2rem; |
| 8300 | border: 1px solid var(--border-default); |
| 8301 | border-radius: 6px; |
| 8302 | background: var(--canvas-subtle); |
| 8303 | color: var(--fg-default); |
| 8304 | font-size: 0.85rem; |
| 8305 | } |
| 8306 | .shithub-nav-search input:focus { |
| 8307 | outline: 2px solid var(--accent-fg); |
| 8308 | outline-offset: -1px; |
| 8309 | background: var(--canvas-default); |
| 8310 | } |
| 8311 | .shithub-nav-search-key { |
| 8312 | position: absolute; |
| 8313 | right: 0.55rem; |
| 8314 | top: 50%; |
| 8315 | transform: translateY(-50%); |
| 8316 | min-width: 1rem; |
| 8317 | padding: 0 0.25rem; |
| 8318 | border: 1px solid var(--border-default); |
| 8319 | border-radius: 4px; |
| 8320 | color: var(--fg-muted); |
| 8321 | font-size: 0.75rem; |
| 8322 | line-height: 1.15rem; |
| 8323 | text-align: center; |
| 8324 | pointer-events: none; |
| 8325 | } |
| 8326 | .shithub-nav-search-popover { |
| 8327 | position: absolute; |
| 8328 | z-index: 80; |
| 8329 | top: calc(100% + 0.45rem); |
| 8330 | left: 0; |
| 8331 | right: 0; |
| 8332 | overflow: hidden; |
| 8333 | border: 1px solid var(--border-default); |
| 8334 | border-radius: 8px; |
| 8335 | background: var(--canvas-default); |
| 8336 | box-shadow: 0 16px 32px rgba(1, 4, 9, 0.22); |
| 8337 | } |
| 8338 | .shithub-nav-search-popover[hidden] { |
| 8339 | display: none; |
| 8340 | } |
| 8341 | .shithub-search-page { |
| 8342 | padding: 1.5rem 1rem 3rem; |
| 8343 | } |
| 8344 | .shithub-search-shell { |
| 8345 | display: grid; |
| 8346 | grid-template-columns: 296px minmax(0, 1fr) 280px; |
| 8347 | gap: 1.5rem; |
| 8348 | max-width: 1280px; |
| 8349 | margin: 0 auto; |
| 8350 | } |
| 8351 | .shithub-search-sidebar { |
| 8352 | position: sticky; |
| 8353 | top: 1rem; |
| 8354 | align-self: start; |
| 8355 | padding-top: 0.2rem; |
| 8356 | } |
| 8357 | .shithub-search-sidebar h2 { |
| 8358 | margin: 0 0 0.55rem; |
| 8359 | font-size: 0.875rem; |
| 8360 | font-weight: 600; |
| 8361 | } |
| 8362 | .shithub-search-filter-list { |
| 8363 | display: flex; |
| 8364 | flex-direction: column; |
| 8365 | } |
| 8366 | .shithub-search-filter { |
| 8367 | display: flex; |
| 8368 | align-items: center; |
| 8369 | justify-content: space-between; |
| 8370 | gap: 0.75rem; |
| 8371 | min-height: 2rem; |
| 8372 | padding: 0.35rem 0.55rem; |
| 8373 | border-radius: 6px; |
| 8374 | color: var(--fg-default); |
| 8375 | font-size: 0.875rem; |
| 8376 | } |
| 8377 | .shithub-search-filter:hover { |
| 8378 | background: var(--canvas-subtle); |
| 8379 | text-decoration: none; |
| 8380 | } |
| 8381 | .shithub-search-filter.is-selected { |
| 8382 | background: var(--canvas-subtle); |
| 8383 | font-weight: 600; |
| 8384 | } |
| 8385 | .shithub-search-filter.is-selected::before { |
| 8386 | content: ""; |
| 8387 | width: 4px; |
| 8388 | align-self: stretch; |
| 8389 | margin: -0.4rem 0 -0.4rem -0.65rem; |
| 8390 | border-radius: 6px 0 0 6px; |
| 8391 | background: var(--accent-emphasis); |
| 8392 | } |
| 8393 | .shithub-search-filter-label { |
| 8394 | display: inline-flex; |
| 8395 | align-items: center; |
| 8396 | gap: 0.45rem; |
| 8397 | min-width: 0; |
| 8398 | } |
| 8399 | .shithub-search-filter-label svg { |
| 8400 | color: var(--fg-muted); |
| 8401 | flex: 0 0 auto; |
| 8402 | } |
| 8403 | .shithub-search-filter-count { |
| 8404 | color: var(--fg-muted); |
| 8405 | font-size: 0.75rem; |
| 8406 | } |
| 8407 | .shithub-search-results { |
| 8408 | min-width: 0; |
| 8409 | } |
| 8410 | .shithub-search-query-form { |
| 8411 | display: flex; |
| 8412 | gap: 0.5rem; |
| 8413 | margin-bottom: 1rem; |
| 8414 | } |
| 8415 | .shithub-search-query-form input[type=text] { |
| 8416 | flex: 1; |
| 8417 | min-height: 2.25rem; |
| 8418 | padding: 0.45rem 0.75rem; |
| 8419 | border: 1px solid var(--border-default); |
| 8420 | border-radius: 6px; |
| 8421 | background: var(--canvas-default); |
| 8422 | color: var(--fg-default); |
| 8423 | font-size: 0.875rem; |
| 8424 | } |
| 8425 | .shithub-search-results-head { |
| 8426 | display: flex; |
| 8427 | align-items: center; |
| 8428 | justify-content: space-between; |
| 8429 | gap: 1rem; |
| 8430 | padding-bottom: 0.9rem; |
| 8431 | border-bottom: 1px solid var(--border-default); |
| 8432 | } |
| 8433 | .shithub-search-results-head h1 { |
| 8434 | margin: 0; |
| 8435 | font-size: 1.25rem; |
| 8436 | line-height: 1.3; |
| 8437 | font-weight: 600; |
| 8438 | } |
| 8439 | .shithub-search-results-head p { |
| 8440 | margin: 0.25rem 0 0; |
| 8441 | color: var(--fg-muted); |
| 8442 | font-size: 0.875rem; |
| 8443 | } |
| 8444 | .shithub-search-query-echo { |
| 8445 | color: var(--fg-default); |
| 8446 | font-weight: 600; |
| 8447 | } |
| 8448 | .shithub-search-sort { |
| 8449 | position: relative; |
| 8450 | flex: 0 0 auto; |
| 8451 | } |
| 8452 | .shithub-search-sort > summary { |
| 8453 | list-style: none; |
| 8454 | display: inline-flex; |
| 8455 | align-items: center; |
| 8456 | min-height: 2rem; |
| 8457 | padding: 0.35rem 0.75rem; |
| 8458 | border: 1px solid var(--border-default); |
| 8459 | border-radius: 6px; |
| 8460 | background: var(--canvas-subtle); |
| 8461 | color: var(--fg-default); |
| 8462 | cursor: pointer; |
| 8463 | font-size: 0.875rem; |
| 8464 | font-weight: 500; |
| 8465 | } |
| 8466 | .shithub-search-sort > summary::-webkit-details-marker { display: none; } |
| 8467 | .shithub-search-sort > div { |
| 8468 | position: absolute; |
| 8469 | right: 0; |
| 8470 | top: calc(100% + 0.4rem); |
| 8471 | z-index: 20; |
| 8472 | min-width: 190px; |
| 8473 | padding: 0.35rem 0; |
| 8474 | border: 1px solid var(--border-default); |
| 8475 | border-radius: 6px; |
| 8476 | background: var(--canvas-default); |
| 8477 | box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); |
| 8478 | } |
| 8479 | .shithub-search-sort span { |
| 8480 | display: block; |
| 8481 | padding: 0.45rem 0.75rem; |
| 8482 | font-size: 0.875rem; |
| 8483 | } |
| 8484 | .shithub-search-result-list { |
| 8485 | list-style: none; |
| 8486 | padding: 0; |
| 8487 | margin: 0; |
| 8488 | } |
| 8489 | .shithub-search-result { |
| 8490 | display: flex; |
| 8491 | gap: 1rem; |
| 8492 | justify-content: space-between; |
| 8493 | padding: 1.15rem 0; |
| 8494 | border-bottom: 1px solid var(--border-default); |
| 8495 | } |
| 8496 | .shithub-search-result-main { |
| 8497 | flex: 1 1 auto; |
| 8498 | min-width: 0; |
| 8499 | } |
| 8500 | .shithub-search-result-title { |
| 8501 | display: flex; |
| 8502 | align-items: center; |
| 8503 | gap: 0.45rem; |
| 8504 | margin: 0; |
| 8505 | font-size: 1rem; |
| 8506 | line-height: 1.35; |
| 8507 | font-weight: 600; |
| 8508 | } |
| 8509 | .shithub-search-result-title svg { |
| 8510 | flex: 0 0 auto; |
| 8511 | color: var(--fg-muted); |
| 8512 | } |
| 8513 | .shithub-search-result-title a { |
| 8514 | min-width: 0; |
| 8515 | } |
| 8516 | .shithub-search-result-title a:hover { |
| 8517 | text-decoration: underline; |
| 8518 | } |
| 8519 | .shithub-search-match em, |
| 8520 | .shithub-search-result-title em { |
| 8521 | font-style: normal; |
| 8522 | font-weight: 700; |
| 8523 | } |
| 8524 | .shithub-search-result p { |
| 8525 | margin: 0.35rem 0 0; |
| 8526 | color: var(--fg-default); |
| 8527 | font-size: 0.875rem; |
| 8528 | } |
| 8529 | .shithub-search-result-desc { |
| 8530 | max-width: 760px; |
| 8531 | line-height: 1.45; |
| 8532 | } |
| 8533 | .shithub-search-result-context { |
| 8534 | margin: 0 0 0.2rem !important; |
| 8535 | color: var(--fg-muted) !important; |
| 8536 | } |
| 8537 | .shithub-search-result-context a { |
| 8538 | color: var(--fg-muted); |
| 8539 | } |
| 8540 | .shithub-search-result-path { |
| 8541 | color: var(--fg-muted) !important; |
| 8542 | } |
| 8543 | .shithub-search-avatar, |
| 8544 | .shithub-search-user-avatar, |
| 8545 | .shithub-search-mini-avatar, |
| 8546 | .shithub-quick-avatar { |
| 8547 | border-radius: 50%; |
| 8548 | background: var(--canvas-subtle); |
| 8549 | flex: 0 0 auto; |
| 8550 | } |
| 8551 | .shithub-search-result-meta { |
| 8552 | display: flex; |
| 8553 | gap: 0.5rem; |
| 8554 | flex-wrap: wrap; |
| 8555 | align-items: center; |
| 8556 | padding: 0; |
| 8557 | margin: 0.65rem 0 0; |
| 8558 | color: var(--fg-muted); |
| 8559 | list-style: none; |
| 8560 | font-size: 0.75rem; |
| 8561 | } |
| 8562 | .shithub-search-result-meta li { |
| 8563 | display: inline-flex; |
| 8564 | align-items: center; |
| 8565 | gap: 0.25rem; |
| 8566 | } |
| 8567 | .shithub-search-result-meta a { |
| 8568 | display: inline-flex; |
| 8569 | align-items: center; |
| 8570 | gap: 0.25rem; |
| 8571 | color: var(--fg-muted); |
| 8572 | } |
| 8573 | .shithub-search-result-meta a:hover { |
| 8574 | color: var(--accent-fg); |
| 8575 | text-decoration: none; |
| 8576 | } |
| 8577 | .shithub-search-result-meta li + li::before { |
| 8578 | content: ""; |
| 8579 | width: 3px; |
| 8580 | height: 3px; |
| 8581 | margin-right: 0.15rem; |
| 8582 | border-radius: 50%; |
| 8583 | background: var(--fg-muted); |
| 8584 | opacity: 0.7; |
| 8585 | } |
| 8586 | .shithub-search-star { |
| 8587 | align-self: flex-start; |
| 8588 | color: var(--fg-default); |
| 8589 | border-color: var(--border-default); |
| 8590 | background: var(--canvas-subtle); |
| 8591 | } |
| 8592 | .shithub-search-state { |
| 8593 | display: inline-flex; |
| 8594 | align-items: center; |
| 8595 | line-height: 0; |
| 8596 | } |
| 8597 | .shithub-search-state-open svg { color: var(--success-fg); } |
| 8598 | .shithub-search-state-closed svg { color: #8250df; } |
| 8599 | .shithub-search-state-pr svg { color: var(--accent-fg); } |
| 8600 | .shithub-search-user-result { |
| 8601 | justify-content: flex-start; |
| 8602 | } |
| 8603 | .shithub-search-user-login { |
| 8604 | color: var(--fg-muted); |
| 8605 | font-size: 0.875rem; |
| 8606 | font-weight: 400; |
| 8607 | } |
| 8608 | .shithub-search-code-preview { |
| 8609 | margin: 0.75rem 0 0; |
| 8610 | padding: 0.65rem 0.75rem; |
| 8611 | border: 1px solid var(--border-default); |
| 8612 | border-radius: 6px; |
| 8613 | background: var(--canvas-subtle); |
| 8614 | color: var(--fg-default); |
| 8615 | overflow-x: auto; |
| 8616 | } |
| 8617 | .shithub-search-code-preview code { |
| 8618 | padding: 0; |
| 8619 | background: transparent; |
| 8620 | } |
| 8621 | .shithub-search-empty, |
| 8622 | .shithub-search-blank { |
| 8623 | padding: 2rem 0; |
| 8624 | color: var(--fg-muted); |
| 8625 | } |
| 8626 | .shithub-search-blank h1 { |
| 8627 | margin: 0 0 0.4rem; |
| 8628 | color: var(--fg-default); |
| 8629 | font-size: 1.25rem; |
| 8630 | } |
| 8631 | .shithub-search-blank p { |
| 8632 | margin: 0; |
| 8633 | } |
| 8634 | .shithub-search-pagination { |
| 8635 | display: flex; |
| 8636 | justify-content: center; |
| 8637 | gap: 0.5rem; |
| 8638 | padding: 1.5rem 0 0; |
| 8639 | } |
| 8640 | .shithub-search-rightbar { |
| 8641 | padding-top: 3.25rem; |
| 8642 | } |
| 8643 | .shithub-search-tip-card { |
| 8644 | padding: 1rem 0; |
| 8645 | border-bottom: 1px solid var(--border-muted); |
| 8646 | color: var(--fg-muted); |
| 8647 | font-size: 0.875rem; |
| 8648 | } |
| 8649 | .shithub-search-tip-card:first-child { |
| 8650 | padding-top: 0; |
| 8651 | } |
| 8652 | .shithub-search-tip-card strong { |
| 8653 | display: inline-flex; |
| 8654 | align-items: center; |
| 8655 | gap: 0.35rem; |
| 8656 | color: var(--fg-default); |
| 8657 | } |
| 8658 | .shithub-search-tip-card p { |
| 8659 | margin: 0.4rem 0 0; |
| 8660 | line-height: 1.45; |
| 8661 | } |
| 8662 | .shithub-search-tip-card ul { |
| 8663 | display: flex; |
| 8664 | flex-direction: column; |
| 8665 | gap: 0.35rem; |
| 8666 | padding: 0; |
| 8667 | margin: 0.55rem 0 0; |
| 8668 | list-style: none; |
| 8669 | } |
| 8670 | .shithub-search-tip-card code { |
| 8671 | padding: 0.1rem 0.3rem; |
| 8672 | border: 1px solid var(--border-muted); |
| 8673 | border-radius: 6px; |
| 8674 | background: var(--canvas-subtle); |
| 8675 | color: var(--fg-default); |
| 8676 | font-size: 0.8rem; |
| 8677 | } |
| 8678 | .shithub-quick-dropdown { |
| 8679 | padding: 0.45rem 0; |
| 8680 | } |
| 8681 | .shithub-quick-section { |
| 8682 | padding: 0.25rem 0; |
| 8683 | border-bottom: 1px solid var(--border-default); |
| 8684 | } |
| 8685 | .shithub-quick-section:last-of-type { |
| 8686 | border-bottom: none; |
| 8687 | } |
| 8688 | .shithub-quick-section h3 { |
| 8689 | margin: 0.25rem 0.75rem 0.35rem; |
| 8690 | color: var(--fg-muted); |
| 8691 | font-size: 0.75rem; |
| 8692 | font-weight: 600; |
| 8693 | } |
| 8694 | .shithub-quick-section ul { |
| 8695 | padding: 0; |
| 8696 | margin: 0; |
| 8697 | list-style: none; |
| 8698 | } |
| 8699 | .shithub-quick-section a { |
| 8700 | display: grid; |
| 8701 | grid-template-columns: 20px minmax(0, 1fr) auto; |
| 8702 | gap: 0.55rem; |
| 8703 | align-items: center; |
| 8704 | padding: 0.4rem 0.75rem; |
| 8705 | color: var(--fg-default); |
| 8706 | } |
| 8707 | .shithub-quick-section a:hover, |
| 8708 | .shithub-quick-section a:focus { |
| 8709 | background: var(--canvas-subtle); |
| 8710 | text-decoration: none; |
| 8711 | } |
| 8712 | .shithub-quick-leading { |
| 8713 | display: inline-flex; |
| 8714 | align-items: center; |
| 8715 | justify-content: center; |
| 8716 | color: var(--fg-muted); |
| 8717 | } |
| 8718 | .shithub-quick-title, |
| 8719 | .shithub-quick-context { |
| 8720 | min-width: 0; |
| 8721 | overflow: hidden; |
| 8722 | text-overflow: ellipsis; |
| 8723 | white-space: nowrap; |
| 8724 | } |
| 8725 | .shithub-quick-context { |
| 8726 | grid-column: 2 / -1; |
| 8727 | margin-top: -0.15rem; |
| 8728 | color: var(--fg-muted); |
| 8729 | font-size: 0.75rem; |
| 8730 | } |
| 8731 | .shithub-quick-empty { |
| 8732 | margin: 0; |
| 8733 | padding: 0.8rem 0.75rem; |
| 8734 | color: var(--fg-muted); |
| 8735 | font-size: 0.875rem; |
| 8736 | } |
| 8737 | .shithub-quick-footer { |
| 8738 | padding: 0.6rem 0.75rem 0.2rem; |
| 8739 | border-top: 1px solid var(--border-default); |
| 8740 | font-size: 0.875rem; |
| 8741 | } |
| 8742 | @media (max-width: 760px) { |
| 8743 | .shithub-nav-search { |
| 8744 | order: 3; |
| 8745 | flex-basis: 100%; |
| 8746 | max-width: none; |
| 8747 | margin: 0; |
| 8748 | } |
| 8749 | .shithub-search-page { |
| 8750 | padding: 1rem; |
| 8751 | } |
| 8752 | .shithub-search-shell { |
| 8753 | grid-template-columns: 1fr; |
| 8754 | gap: 1rem; |
| 8755 | } |
| 8756 | .shithub-search-sidebar { |
| 8757 | position: static; |
| 8758 | padding-top: 0; |
| 8759 | } |
| 8760 | .shithub-search-rightbar { |
| 8761 | display: none; |
| 8762 | } |
| 8763 | .shithub-search-filter-list { |
| 8764 | flex-direction: row; |
| 8765 | gap: 0.25rem; |
| 8766 | overflow-x: auto; |
| 8767 | padding-bottom: 0.25rem; |
| 8768 | } |
| 8769 | .shithub-search-filter { |
| 8770 | flex: 0 0 auto; |
| 8771 | } |
| 8772 | .shithub-search-filter.is-selected::before { |
| 8773 | display: none; |
| 8774 | } |
| 8775 | .shithub-search-query-form, |
| 8776 | .shithub-search-results-head, |
| 8777 | .shithub-search-result { |
| 8778 | align-items: stretch; |
| 8779 | flex-direction: column; |
| 8780 | } |
| 8781 | .shithub-search-star { |
| 8782 | align-self: flex-start; |
| 8783 | } |
| 8784 | } |
| 8785 | @media (min-width: 761px) and (max-width: 1100px) { |
| 8786 | .shithub-search-shell { |
| 8787 | grid-template-columns: 256px minmax(0, 1fr); |
| 8788 | } |
| 8789 | .shithub-search-rightbar { |
| 8790 | display: none; |
| 8791 | } |
| 8792 | } |
| 8793 | |
| 8794 | /* S34 — admin impersonation banner. Sticky-top, loud red so the |
| 8795 | admin can't lose track of "I am viewing as someone else right |
| 8796 | now." Position: fixed-on-scroll keeps it visible no matter where |
| 8797 | on the page they navigate. */ |
| 8798 | .shithub-imp-banner { |
| 8799 | position: sticky; |
| 8800 | top: 0; |
| 8801 | z-index: 100; |
| 8802 | background: var(--danger-fg); |
| 8803 | color: #ffffff; |
| 8804 | padding: 0.5rem 1rem; |
| 8805 | text-align: center; |
| 8806 | font-size: 0.875rem; |
| 8807 | } |
| 8808 | .shithub-imp-banner .shithub-button { |
| 8809 | background: rgba(0, 0, 0, 0.25); |
| 8810 | color: #ffffff; |
| 8811 | border: 1px solid rgba(255, 255, 255, 0.4); |
| 8812 | } |
| 8813 | .shithub-imp-write { background: #ffd33d; color: #1a1f24; padding: 0 0.4em; border-radius: 4px; font-weight: 600; } |
| 8814 | .shithub-imp-read { background: rgba(255, 255, 255, 0.2); padding: 0 0.4em; border-radius: 4px; } |
| 8815 | |
| 8816 | /* S42 — social dashboard and Explore feed. */ |
| 8817 | .shithub-dashboard-page, |
| 8818 | .shithub-explore-page { |
| 8819 | width: 100%; |
| 8820 | padding: 1.5rem 1rem 2.5rem; |
| 8821 | } |
| 8822 | .shithub-dashboard-shell { |
| 8823 | display: grid; |
| 8824 | grid-template-columns: minmax(220px, 296px) minmax(0, 1fr) minmax(220px, 296px); |
| 8825 | gap: 2rem; |
| 8826 | max-width: 1280px; |
| 8827 | margin: 0 auto; |
| 8828 | } |
| 8829 | .shithub-explore-shell { |
| 8830 | display: grid; |
| 8831 | grid-template-columns: minmax(0, 1fr) minmax(220px, 320px); |
| 8832 | gap: 2rem; |
| 8833 | max-width: 1100px; |
| 8834 | margin: 0 auto; |
| 8835 | } |
| 8836 | .shithub-explore-shell.has-dashboard-left { |
| 8837 | grid-template-columns: minmax(220px, 296px) minmax(0, 1fr) minmax(220px, 296px); |
| 8838 | max-width: 1280px; |
| 8839 | } |
| 8840 | .shithub-dashboard-left, |
| 8841 | .shithub-dashboard-right, |
| 8842 | .shithub-explore-right { |
| 8843 | min-width: 0; |
| 8844 | } |
| 8845 | .shithub-dashboard-left { |
| 8846 | position: sticky; |
| 8847 | top: 1rem; |
| 8848 | align-self: start; |
| 8849 | } |
| 8850 | .shithub-dashboard-identity { |
| 8851 | position: relative; |
| 8852 | margin-bottom: 2rem; |
| 8853 | } |
| 8854 | .shithub-dashboard-identity summary { |
| 8855 | display: inline-flex; |
| 8856 | align-items: center; |
| 8857 | gap: 0.55rem; |
| 8858 | max-width: 100%; |
| 8859 | color: var(--fg-default); |
| 8860 | font-weight: 600; |
| 8861 | cursor: pointer; |
| 8862 | list-style: none; |
| 8863 | } |
| 8864 | .shithub-dashboard-identity summary::-webkit-details-marker { |
| 8865 | display: none; |
| 8866 | } |
| 8867 | .shithub-dashboard-identity summary img, |
| 8868 | .shithub-dashboard-org-list img { |
| 8869 | border-radius: 50%; |
| 8870 | } |
| 8871 | .shithub-dashboard-identity summary span { |
| 8872 | min-width: 0; |
| 8873 | overflow: hidden; |
| 8874 | text-overflow: ellipsis; |
| 8875 | } |
| 8876 | .shithub-dashboard-identity-menu { |
| 8877 | position: absolute; |
| 8878 | top: calc(100% + 0.65rem); |
| 8879 | left: 0; |
| 8880 | z-index: 20; |
| 8881 | width: min(320px, calc(100vw - 2rem)); |
| 8882 | padding: 0.75rem; |
| 8883 | border: 1px solid var(--border-default); |
| 8884 | border-radius: 8px; |
| 8885 | background: var(--canvas-default); |
| 8886 | box-shadow: 0 16px 32px rgba(1, 4, 9, 0.35); |
| 8887 | } |
| 8888 | .shithub-dashboard-identity-title { |
| 8889 | padding: 0.25rem 0.35rem 0.65rem; |
| 8890 | color: var(--fg-default); |
| 8891 | font-weight: 600; |
| 8892 | } |
| 8893 | .shithub-dashboard-org-search { |
| 8894 | display: flex; |
| 8895 | align-items: center; |
| 8896 | gap: 0.5rem; |
| 8897 | margin: 0 0 0.65rem; |
| 8898 | padding: 0 0.65rem; |
| 8899 | border: 1px solid var(--border-default); |
| 8900 | border-radius: 6px; |
| 8901 | background: var(--canvas-subtle); |
| 8902 | color: var(--fg-muted); |
| 8903 | } |
| 8904 | .shithub-dashboard-org-search input { |
| 8905 | width: 100%; |
| 8906 | min-width: 0; |
| 8907 | padding: 0.45rem 0; |
| 8908 | border: 0; |
| 8909 | box-shadow: none; |
| 8910 | background: transparent; |
| 8911 | } |
| 8912 | .shithub-dashboard-org-search input:focus { |
| 8913 | box-shadow: none; |
| 8914 | } |
| 8915 | .shithub-dashboard-org-list { |
| 8916 | display: grid; |
| 8917 | gap: 0.15rem; |
| 8918 | max-height: 18rem; |
| 8919 | padding: 0; |
| 8920 | margin: 0 0 0.65rem; |
| 8921 | overflow: auto; |
| 8922 | list-style: none; |
| 8923 | } |
| 8924 | .shithub-dashboard-org-list a { |
| 8925 | display: grid; |
| 8926 | grid-template-columns: 16px 20px minmax(0, 1fr); |
| 8927 | align-items: center; |
| 8928 | gap: 0.55rem; |
| 8929 | padding: 0.35rem; |
| 8930 | border-radius: 6px; |
| 8931 | color: var(--fg-default); |
| 8932 | text-decoration: none; |
| 8933 | } |
| 8934 | .shithub-dashboard-org-list a:hover, |
| 8935 | .shithub-dashboard-identity-actions a:hover { |
| 8936 | background: var(--canvas-subtle); |
| 8937 | text-decoration: none; |
| 8938 | } |
| 8939 | .shithub-dashboard-org-list span:last-child { |
| 8940 | min-width: 0; |
| 8941 | overflow: hidden; |
| 8942 | text-overflow: ellipsis; |
| 8943 | white-space: nowrap; |
| 8944 | } |
| 8945 | .shithub-dashboard-identity-actions { |
| 8946 | display: grid; |
| 8947 | gap: 0.5rem; |
| 8948 | } |
| 8949 | .shithub-dashboard-identity-actions a { |
| 8950 | display: inline-flex; |
| 8951 | align-items: center; |
| 8952 | justify-content: center; |
| 8953 | gap: 0.45rem; |
| 8954 | min-height: 2.25rem; |
| 8955 | border: 1px solid var(--border-default); |
| 8956 | border-radius: 6px; |
| 8957 | color: var(--fg-default); |
| 8958 | font-weight: 600; |
| 8959 | } |
| 8960 | .shithub-dashboard-sidehead, |
| 8961 | .shithub-feed-toolbar, |
| 8962 | .shithub-explore-head { |
| 8963 | display: flex; |
| 8964 | align-items: center; |
| 8965 | justify-content: space-between; |
| 8966 | gap: 0.75rem; |
| 8967 | } |
| 8968 | .shithub-dashboard-sidehead h2, |
| 8969 | .shithub-feed-toolbar h2, |
| 8970 | .shithub-side-panel h2, |
| 8971 | .shithub-trending-section h2 { |
| 8972 | margin: 0; |
| 8973 | font-size: 1rem; |
| 8974 | } |
| 8975 | .shithub-dashboard-main h1, |
| 8976 | .shithub-explore-head h1 { |
| 8977 | margin: 0 0 1.25rem; |
| 8978 | font-size: 1.6rem; |
| 8979 | line-height: 1.25; |
| 8980 | } |
| 8981 | .shithub-dashboard-filter { |
| 8982 | width: 100%; |
| 8983 | margin: 0.75rem 0 0.65rem; |
| 8984 | padding: 0.45rem 0.7rem; |
| 8985 | border: 1px solid var(--border-default); |
| 8986 | border-radius: 6px; |
| 8987 | background: var(--canvas-default); |
| 8988 | color: var(--fg-default); |
| 8989 | } |
| 8990 | .shithub-dashboard-repo-list, |
| 8991 | .shithub-feed-list, |
| 8992 | .shithub-trending-mini-list, |
| 8993 | .shithub-trending-user-list, |
| 8994 | .shithub-trending-repo-list { |
| 8995 | padding: 0; |
| 8996 | margin: 0; |
| 8997 | list-style: none; |
| 8998 | } |
| 8999 | .shithub-dashboard-repo-list { |
| 9000 | display: grid; |
| 9001 | gap: 0.45rem; |
| 9002 | } |
| 9003 | .shithub-dashboard-repo-list li[hidden] { |
| 9004 | display: none; |
| 9005 | } |
| 9006 | .shithub-dashboard-repo-list a, |
| 9007 | .shithub-trending-user-list a { |
| 9008 | display: inline-flex; |
| 9009 | align-items: center; |
| 9010 | gap: 0.45rem; |
| 9011 | min-width: 0; |
| 9012 | color: var(--fg-default); |
| 9013 | font-weight: 600; |
| 9014 | } |
| 9015 | .shithub-dashboard-repo-list a { |
| 9016 | max-width: 100%; |
| 9017 | overflow: hidden; |
| 9018 | text-overflow: ellipsis; |
| 9019 | white-space: nowrap; |
| 9020 | } |
| 9021 | .shithub-dashboard-repo-list img, |
| 9022 | .shithub-trending-user-list img, |
| 9023 | .shithub-feed-avatar img { |
| 9024 | border-radius: 50%; |
| 9025 | } |
| 9026 | .shithub-dashboard-empty, |
| 9027 | .shithub-feed-empty-inline { |
| 9028 | margin: 0.75rem 0 0; |
| 9029 | color: var(--fg-muted); |
| 9030 | font-size: 0.875rem; |
| 9031 | } |
| 9032 | .shithub-feed-toolbar { |
| 9033 | margin-bottom: 0.75rem; |
| 9034 | } |
| 9035 | .shithub-feed-list { |
| 9036 | border: 1px solid var(--border-default); |
| 9037 | border-radius: 6px; |
| 9038 | background: var(--canvas-default); |
| 9039 | } |
| 9040 | .shithub-feed-row { |
| 9041 | display: grid; |
| 9042 | grid-template-columns: 40px minmax(0, 1fr); |
| 9043 | gap: 1rem; |
| 9044 | padding: 1rem; |
| 9045 | border-top: 1px solid var(--border-default); |
| 9046 | } |
| 9047 | .shithub-feed-row:first-child { |
| 9048 | border-top: 0; |
| 9049 | } |
| 9050 | .shithub-feed-avatar { |
| 9051 | display: inline-flex; |
| 9052 | width: 40px; |
| 9053 | height: 40px; |
| 9054 | } |
| 9055 | .shithub-feed-head { |
| 9056 | margin: 0; |
| 9057 | color: var(--fg-muted); |
| 9058 | font-size: 0.95rem; |
| 9059 | } |
| 9060 | .shithub-feed-head a { |
| 9061 | color: var(--fg-default); |
| 9062 | } |
| 9063 | .shithub-feed-head time { |
| 9064 | display: inline-block; |
| 9065 | color: var(--fg-muted); |
| 9066 | font-size: 0.875rem; |
| 9067 | } |
| 9068 | .shithub-feed-target { |
| 9069 | font-weight: 600; |
| 9070 | } |
| 9071 | .shithub-feed-repo { |
| 9072 | margin-top: 0.8rem; |
| 9073 | padding: 0.85rem; |
| 9074 | border: 1px solid var(--border-default); |
| 9075 | border-radius: 6px; |
| 9076 | background: var(--canvas-subtle); |
| 9077 | } |
| 9078 | .shithub-feed-repo-title { |
| 9079 | display: inline-flex; |
| 9080 | align-items: center; |
| 9081 | gap: 0.4rem; |
| 9082 | font-weight: 600; |
| 9083 | } |
| 9084 | .shithub-feed-repo p { |
| 9085 | margin: 0.4rem 0 0; |
| 9086 | color: var(--fg-muted); |
| 9087 | font-size: 0.875rem; |
| 9088 | } |
| 9089 | .shithub-feed-profile { |
| 9090 | display: grid; |
| 9091 | grid-template-columns: 44px minmax(0, 1fr) auto; |
| 9092 | align-items: center; |
| 9093 | gap: 0.85rem; |
| 9094 | margin-top: 0.8rem; |
| 9095 | padding: 0.85rem; |
| 9096 | border-radius: 6px; |
| 9097 | background: var(--canvas-subtle); |
| 9098 | } |
| 9099 | .shithub-feed-profile-avatar, |
| 9100 | .shithub-feed-profile-avatar img { |
| 9101 | width: 44px; |
| 9102 | height: 44px; |
| 9103 | border-radius: 50%; |
| 9104 | } |
| 9105 | .shithub-feed-profile-copy { |
| 9106 | min-width: 0; |
| 9107 | } |
| 9108 | .shithub-feed-profile-name { |
| 9109 | display: block; |
| 9110 | color: var(--fg-default); |
| 9111 | font-weight: 600; |
| 9112 | } |
| 9113 | .shithub-feed-profile-copy span { |
| 9114 | display: block; |
| 9115 | margin-top: 0.15rem; |
| 9116 | color: var(--fg-muted); |
| 9117 | font-size: 0.875rem; |
| 9118 | } |
| 9119 | .shithub-feed-meta { |
| 9120 | display: flex; |
| 9121 | flex-wrap: wrap; |
| 9122 | gap: 0.9rem; |
| 9123 | padding: 0; |
| 9124 | margin: 0.7rem 0 0; |
| 9125 | color: var(--fg-muted); |
| 9126 | list-style: none; |
| 9127 | font-size: 0.8rem; |
| 9128 | } |
| 9129 | .shithub-feed-meta li { |
| 9130 | display: inline-flex; |
| 9131 | align-items: center; |
| 9132 | gap: 0.3rem; |
| 9133 | } |
| 9134 | .shithub-lang-dot { |
| 9135 | width: 10px; |
| 9136 | height: 10px; |
| 9137 | border-radius: 50%; |
| 9138 | background: #3572a5; |
| 9139 | } |
| 9140 | .shithub-feed-empty { |
| 9141 | padding: 2rem; |
| 9142 | border: 1px solid var(--border-default); |
| 9143 | border-radius: 6px; |
| 9144 | background: var(--canvas-default); |
| 9145 | color: var(--fg-muted); |
| 9146 | } |
| 9147 | .shithub-feed-empty h2 { |
| 9148 | display: flex; |
| 9149 | align-items: center; |
| 9150 | gap: 0.5rem; |
| 9151 | margin: 0 0 0.5rem; |
| 9152 | color: var(--fg-default); |
| 9153 | font-size: 1rem; |
| 9154 | } |
| 9155 | .shithub-feed-empty p { |
| 9156 | margin: 0 0 1rem; |
| 9157 | } |
| 9158 | .shithub-feed-pagination { |
| 9159 | display: flex; |
| 9160 | justify-content: center; |
| 9161 | padding-top: 1rem; |
| 9162 | } |
| 9163 | .shithub-side-panel { |
| 9164 | padding: 0 0 1.25rem; |
| 9165 | margin-bottom: 1.25rem; |
| 9166 | border-bottom: 1px solid var(--border-default); |
| 9167 | } |
| 9168 | .shithub-side-panel h2 { |
| 9169 | display: flex; |
| 9170 | align-items: center; |
| 9171 | gap: 0.4rem; |
| 9172 | margin-bottom: 0.75rem; |
| 9173 | } |
| 9174 | .shithub-trending-mini-list, |
| 9175 | .shithub-trending-user-list { |
| 9176 | display: grid; |
| 9177 | gap: 0.85rem; |
| 9178 | } |
| 9179 | .shithub-trending-mini-list a { |
| 9180 | color: var(--fg-default); |
| 9181 | font-weight: 600; |
| 9182 | } |
| 9183 | .shithub-trending-mini-list p { |
| 9184 | margin: 0.2rem 0; |
| 9185 | color: var(--fg-muted); |
| 9186 | font-size: 0.85rem; |
| 9187 | line-height: 1.35; |
| 9188 | } |
| 9189 | .shithub-trending-mini-list span, |
| 9190 | .shithub-trending-user-list span { |
| 9191 | display: inline-flex; |
| 9192 | align-items: center; |
| 9193 | gap: 0.25rem; |
| 9194 | color: var(--fg-muted); |
| 9195 | font-size: 0.8rem; |
| 9196 | } |
| 9197 | .shithub-explore-tabs { |
| 9198 | display: inline-flex; |
| 9199 | align-items: center; |
| 9200 | gap: 0.35rem; |
| 9201 | } |
| 9202 | .shithub-explore-tabs a { |
| 9203 | display: inline-flex; |
| 9204 | align-items: center; |
| 9205 | gap: 0.35rem; |
| 9206 | padding: 0.45rem 0.7rem; |
| 9207 | border: 1px solid transparent; |
| 9208 | border-radius: 6px; |
| 9209 | color: var(--fg-muted); |
| 9210 | font-weight: 600; |
| 9211 | } |
| 9212 | .shithub-explore-tabs a:hover, |
| 9213 | .shithub-explore-tabs a.is-selected { |
| 9214 | border-color: var(--border-default); |
| 9215 | background: var(--canvas-subtle); |
| 9216 | color: var(--fg-default); |
| 9217 | text-decoration: none; |
| 9218 | } |
| 9219 | .shithub-trending-section { |
| 9220 | border: 1px solid var(--border-default); |
| 9221 | border-radius: 6px; |
| 9222 | background: var(--canvas-default); |
| 9223 | } |
| 9224 | .shithub-trending-section h2 { |
| 9225 | padding: 1rem; |
| 9226 | border-bottom: 1px solid var(--border-default); |
| 9227 | } |
| 9228 | .shithub-trending-repo-row { |
| 9229 | display: flex; |
| 9230 | justify-content: space-between; |
| 9231 | gap: 1rem; |
| 9232 | padding: 1rem; |
| 9233 | border-top: 1px solid var(--border-default); |
| 9234 | } |
| 9235 | .shithub-trending-repo-row:first-child { |
| 9236 | border-top: 0; |
| 9237 | } |
| 9238 | .shithub-trending-repo-row h3 { |
| 9239 | margin: 0; |
| 9240 | font-size: 1.05rem; |
| 9241 | } |
| 9242 | .shithub-trending-repo-row h3 a { |
| 9243 | display: inline-flex; |
| 9244 | align-items: center; |
| 9245 | gap: 0.4rem; |
| 9246 | } |
| 9247 | .shithub-trending-repo-row p { |
| 9248 | margin: 0.45rem 0 0; |
| 9249 | color: var(--fg-muted); |
| 9250 | } |
| 9251 | .shithub-trending-score { |
| 9252 | flex: 0 0 auto; |
| 9253 | align-self: flex-start; |
| 9254 | min-width: 2.5rem; |
| 9255 | padding: 0.15rem 0.45rem; |
| 9256 | border: 1px solid var(--border-default); |
| 9257 | border-radius: 999px; |
| 9258 | color: var(--fg-muted); |
| 9259 | text-align: center; |
| 9260 | font-size: 0.8rem; |
| 9261 | font-weight: 600; |
| 9262 | } |
| 9263 | @media (max-width: 960px) { |
| 9264 | .shithub-dashboard-shell, |
| 9265 | .shithub-explore-shell { |
| 9266 | grid-template-columns: 1fr; |
| 9267 | } |
| 9268 | .shithub-explore-shell.has-dashboard-left { |
| 9269 | grid-template-columns: 1fr; |
| 9270 | } |
| 9271 | .shithub-dashboard-left { |
| 9272 | position: static; |
| 9273 | } |
| 9274 | .shithub-dashboard-right, |
| 9275 | .shithub-explore-right { |
| 9276 | display: none; |
| 9277 | } |
| 9278 | } |
| 9279 | @media (max-width: 640px) { |
| 9280 | .shithub-feed-row { |
| 9281 | grid-template-columns: 32px minmax(0, 1fr); |
| 9282 | gap: 0.75rem; |
| 9283 | padding: 0.85rem; |
| 9284 | } |
| 9285 | .shithub-feed-avatar, |
| 9286 | .shithub-feed-avatar img { |
| 9287 | width: 32px; |
| 9288 | height: 32px; |
| 9289 | } |
| 9290 | .shithub-feed-profile { |
| 9291 | grid-template-columns: 36px minmax(0, 1fr); |
| 9292 | } |
| 9293 | .shithub-feed-profile .shithub-button { |
| 9294 | grid-column: 2; |
| 9295 | justify-self: start; |
| 9296 | } |
| 9297 | .shithub-feed-profile-avatar, |
| 9298 | .shithub-feed-profile-avatar img { |
| 9299 | width: 36px; |
| 9300 | height: 36px; |
| 9301 | } |
| 9302 | .shithub-explore-head, |
| 9303 | .shithub-dashboard-sidehead, |
| 9304 | .shithub-feed-toolbar { |
| 9305 | align-items: flex-start; |
| 9306 | flex-direction: column; |
| 9307 | } |
| 9308 | .shithub-trending-repo-row { |
| 9309 | flex-direction: column; |
| 9310 | } |
| 9311 | } |