🔥 remove: dead styles; 222 classes no page, script or template uses, 3k lines
Browse files at this commit3077a9168e7430cf6b35180813e8452f6e6c797bParent: 535a37e34 changed files +90 -3181
- style/_account_admin.scss +0 -28
- style/_admin_rows.scss +0 -12
- style/_appearance.scss +0 -10
- style/_authoring.scss +0 -7
- style/_browse.scss +0 -10
- style/_commit_line.scss +0 -9
- style/_dashboard.scss +0 -59
- style/_fail_first.scss +0 -67
- style/_hooks.scss +0 -5
- style/_link.scss +0 -15
- style/_look.scss +0 -11
- style/_members.scss +0 -6
- style/_min.scss +1 -37
- style/_min_admin.scss +0 -53
- style/_min_ci.scss +0 -26
- style/_min_code.scss +0 -40
- style/_min_lists.scss +0 -48
- style/_min_menus.scss +0 -66
- style/_min_org.scss +0 -78
- style/_min_repo_admin.scss +0 -26
- style/_min_threads.scss +0 -14
- style/_needs.scss +0 -4
- style/_one.scss +4 -54
- style/_one_admin.scss +0 -11
- style/_one_code.scss +0 -1
- style/_one_shell.scss +0 -10
- style/_pull.scss +0 -218
- style/_repo.scss +0 -287
- style/_repo_side.scss +0 -64
- style/_review_flow.scss +0 -12
- style/_shell.scss +0 -124
- style/_timeline.scss +0 -51
- style/_timeline_ci.scss +0 -377
- style/main.scss +85 -1341
style/_account_admin.scssmodified+0 -28
| @@ -29,33 +29,6 @@ color: var(--text); | ||
| 29 | 29 | } |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | -.kv-grid { | |
| 33 | - display: grid; | |
| 34 | - grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); | |
| 35 | - gap: 12px 20px; | |
| 36 | - margin: 0; | |
| 37 | - | |
| 38 | - div { | |
| 39 | - min-width: 0; | |
| 40 | - } | |
| 41 | - | |
| 42 | - dt { | |
| 43 | - color: var(--muted); | |
| 44 | - font-size: 0.8125rem; | |
| 45 | - margin-bottom: 2px; | |
| 46 | - } | |
| 47 | - | |
| 48 | - dd { | |
| 49 | - margin: 0; | |
| 50 | - font-weight: 600; | |
| 51 | - overflow-wrap: anywhere; | |
| 52 | - } | |
| 53 | -} | |
| 54 | - | |
| 55 | -@media (max-width: 600px) { | |
| 56 | - | |
| 57 | -} | |
| 58 | - | |
| 59 | 32 | .reset-link { |
| 60 | 33 | display: block; |
| 61 | 34 | padding: 8px 10px; |
| @@ -97,4 +70,3 @@ color: var(--text); | ||
| 97 | 70 | margin-top: 4px; |
| 98 | 71 | overflow-wrap: anywhere; |
| 99 | 72 | } |
| 100 | - |
style/_admin_rows.scssmodified+0 -12
| @@ -8,11 +8,6 @@ | ||
| 8 | 8 | background: var(--warn); |
| 9 | 9 | } |
| 10 | 10 | |
| 11 | -// Phone: the status word goes under the name, indented to line up with it. | |
| 12 | -@media (max-width: 600px) { | |
| 13 | - | |
| 14 | -} | |
| 15 | - | |
| 16 | 11 | // A small-range number on the server settings page steps like the runner's Max: the pill keeps its |
| 17 | 12 | // own width instead of stretching across the column, at the height of the fields beside it. |
| 18 | 13 | .srv-field .runner-pill { |
| @@ -62,13 +57,6 @@ | ||
| 62 | 57 | padding: 0; |
| 63 | 58 | } |
| 64 | 59 | |
| 65 | -// Copy all sits above the log, at its right edge. | |
| 66 | -.runner-log-bar { | |
| 67 | - display: flex; | |
| 68 | - justify-content: flex-end; | |
| 69 | - margin-bottom: 6px; | |
| 70 | -} | |
| 71 | - | |
| 72 | 60 | // The runner's metrics sit under its stats: three graphs side by side on a wide page (one column |
| 73 | 61 | // below 900px), each in a panel with its caption and facts above it. Every graph is its own SVG with |
| 74 | 62 | // one y axis; colours come from tokens only. A line is the secondary text colour, and a sent line is dashed so it is told apart without |
style/_appearance.scssmodified+0 -10
| @@ -1,11 +1 @@ | ||
| 1 | -// Appearance page layout. Below 1100px the parts stack: general controls, then the sound card, then | |
| 2 | -// the colours. From 1100px: general controls and the sound card on the left, colours on the right, | |
| 3 | -// so the page fits one screen. The form is `display: contents` so its two blocks join this grid. | |
| 4 | -// The sound card sits outside the form: its Play buttons must not be inside it. | |
| 5 | -@media (min-width: 1100px) { | |
| 6 | 1 | |
| 7 | -} | |
| 8 | - | |
| 9 | -@media (prefers-reduced-motion: reduce) { | |
| 10 | - | |
| 11 | -} |
style/_authoring.scssmodified+0 -7
| @@ -109,10 +109,3 @@ textarea.md-drop { | ||
| 109 | 109 | margin: 0 0.4em; |
| 110 | 110 | } |
| 111 | 111 | } |
| 112 | - | |
| 113 | -.review-request-list li { | |
| 114 | - display: flex; | |
| 115 | - flex-wrap: wrap; | |
| 116 | - align-items: baseline; | |
| 117 | - gap: 0.2rem 0.75rem; | |
| 118 | -} |
style/_browse.scssmodified+0 -10
| @@ -137,12 +137,6 @@ | ||
| 137 | 137 | color: var(--muted); |
| 138 | 138 | } |
| 139 | 139 | |
| 140 | -.file-actions .link-button { | |
| 141 | - font-size: inherit; | |
| 142 | - color: var(--text); | |
| 143 | - cursor: pointer; | |
| 144 | -} | |
| 145 | - | |
| 146 | 140 | // Blame. |
| 147 | 141 | .blame-table { |
| 148 | 142 | .blame-meta { |
| @@ -346,7 +340,3 @@ dialog.finder { | ||
| 346 | 340 | } |
| 347 | 341 | |
| 348 | 342 | } |
| 349 | - | |
| 350 | -@media (max-width: 720px) { | |
| 351 | - | |
| 352 | -} |
style/_commit_line.scssmodified+0 -9
| @@ -15,12 +15,3 @@ | ||
| 15 | 15 | text-overflow: ellipsis; |
| 16 | 16 | white-space: nowrap; |
| 17 | 17 | } |
| 18 | - | |
| 19 | -.ci-run-message { | |
| 20 | - margin: 4px 0 8px; | |
| 21 | - | |
| 22 | - p { | |
| 23 | - margin: 4px 0 0; | |
| 24 | - overflow-wrap: anywhere; | |
| 25 | - } | |
| 26 | -} |
style/_dashboard.scssmodified+0 -59
| @@ -1,60 +1,5 @@ | ||
| 1 | 1 | |
| 2 | 2 | |
| 3 | -// Repo listing toolbar: the search takes the free width, and the New repository button sits beside it. | |
| 4 | -.repo-tools { | |
| 5 | - display: flex; | |
| 6 | - flex-wrap: wrap; | |
| 7 | - gap: 8px; | |
| 8 | - align-items: center; | |
| 9 | - | |
| 10 | - .button { | |
| 11 | - flex: none; | |
| 12 | - } | |
| 13 | -} | |
| 14 | - | |
| 15 | -// Sort chips and the count on one line under the toolbar; the chips' own gap spaces "Sort by". | |
| 16 | -.repo-subbar { | |
| 17 | - display: flex; | |
| 18 | - flex-wrap: wrap; | |
| 19 | - align-items: center; | |
| 20 | - justify-content: space-between; | |
| 21 | - gap: 8px 16px; | |
| 22 | - | |
| 23 | - p { | |
| 24 | - margin: 0; | |
| 25 | - } | |
| 26 | -} | |
| 27 | - | |
| 28 | -// A repo listing (profile tabs): search, sort chips, count, rows and pager as one tight block, so | |
| 29 | -// the profile's section gap does not open between the count line and the list. | |
| 30 | -.repo-listing { | |
| 31 | - display: flex; | |
| 32 | - flex-direction: column; | |
| 33 | - gap: 10px; | |
| 34 | - | |
| 35 | - > p { | |
| 36 | - margin: 0; | |
| 37 | - } | |
| 38 | -} | |
| 39 | - | |
| 40 | -.repo-item-head { | |
| 41 | - display: flex; | |
| 42 | - align-items: center; | |
| 43 | - gap: 8px; | |
| 44 | - min-width: 0; | |
| 45 | - | |
| 46 | - .repo-name { | |
| 47 | - min-width: 0; | |
| 48 | - overflow: hidden; | |
| 49 | - text-overflow: ellipsis; | |
| 50 | - white-space: nowrap; | |
| 51 | - } | |
| 52 | - | |
| 53 | - .badge { | |
| 54 | - flex: 0 0 auto; | |
| 55 | - } | |
| 56 | -} | |
| 57 | - | |
| 58 | 3 | .repo-item .repo-desc { |
| 59 | 4 | overflow: hidden; |
| 60 | 5 | text-overflow: ellipsis; |
| @@ -104,10 +49,6 @@ | ||
| 104 | 49 | height: 96px; |
| 105 | 50 | } |
| 106 | 51 | |
| 107 | -@media (min-width: 900px) { | |
| 108 | - | |
| 109 | -} | |
| 110 | - | |
| 111 | 52 | .profile-org { |
| 112 | 53 | display: flex; |
| 113 | 54 | flex-direction: column; |
style/_fail_first.scssmodified+0 -67
| @@ -1,71 +1,4 @@ | ||
| 1 | -// The failure block at the top of a failed run's page (pages/ci_fail.rs). Failure red is fixed; the | |
| 2 | -// block uses the page's own tokens and stays neutral apart from the first error line. | |
| 3 | 1 | |
| 4 | -.fail-first { | |
| 5 | - display: flex; | |
| 6 | - flex-direction: column; | |
| 7 | - gap: 6px; | |
| 8 | - margin: 12px 0; | |
| 9 | - padding: 12px 14px; | |
| 10 | - border-radius: var(--radius-md); | |
| 11 | - background: var(--surface); | |
| 12 | - border-left: 3px solid var(--bad); | |
| 13 | -} | |
| 14 | - | |
| 15 | -.fail-first-head { | |
| 16 | - margin: 0; | |
| 17 | - font-weight: 600; | |
| 18 | -} | |
| 19 | - | |
| 20 | -.fail-first-tag { | |
| 21 | - color: var(--bad); | |
| 22 | - margin-right: 4px; | |
| 23 | -} | |
| 24 | - | |
| 25 | -.fail-first-msg { | |
| 26 | - margin: 0; | |
| 27 | - font-family: var(--mono); | |
| 28 | - font-size: 0.85rem; | |
| 29 | - color: var(--bad); | |
| 30 | - white-space: pre-wrap; | |
| 31 | - word-break: break-word; | |
| 32 | -} | |
| 33 | - | |
| 34 | -.fail-first-log { | |
| 35 | - max-height: 22rem; | |
| 36 | - overflow: auto; | |
| 37 | - margin-top: 4px; | |
| 38 | - border-radius: var(--radius-md); | |
| 39 | - background: var(--bg); | |
| 40 | - font-family: var(--mono); | |
| 41 | - font-size: 0.8rem; | |
| 42 | - line-height: 1.5; | |
| 43 | -} | |
| 44 | - | |
| 45 | -.fail-first-ln { | |
| 46 | - display: grid; | |
| 47 | - grid-template-columns: 4.5em 1fr; | |
| 48 | - white-space: pre; | |
| 49 | - overflow-x: auto; | |
| 50 | - | |
| 51 | - > i { | |
| 52 | - font-style: normal; | |
| 53 | - text-align: right; | |
| 54 | - padding-right: 1em; | |
| 55 | - opacity: 0.6; | |
| 56 | - user-select: none; | |
| 57 | - } | |
| 58 | -} | |
| 59 | - | |
| 60 | -.fail-first-hit { | |
| 61 | - background: color-mix(in srgb, var(--bad) 16%, transparent); | |
| 62 | -} | |
| 63 | - | |
| 64 | -@media (prefers-reduced-motion: no-preference) { | |
| 65 | - .fail-first { | |
| 66 | - animation: fail-first-in 180ms ease-out both; | |
| 67 | - } | |
| 68 | -} | |
| 69 | 2 | |
| 70 | 3 | @keyframes fail-first-in { |
| 71 | 4 | from { |
style/_hooks.scssmodified+0 -5
| @@ -10,8 +10,3 @@ | ||
| 10 | 10 | .hook-problem { |
| 11 | 11 | color: var(--danger); |
| 12 | 12 | } |
| 13 | - | |
| 14 | -// Phone: the sync button goes under the name, the rows stack. | |
| 15 | -@media (max-width: 600px) { | |
| 16 | - | |
| 17 | -} |
style/_link.scssmodified+0 -15
| @@ -20,18 +20,3 @@ | ||
| 20 | 20 | background: var(--surface-2); |
| 21 | 21 | overflow-wrap: anywhere; |
| 22 | 22 | } |
| 23 | - | |
| 24 | -.link-offline { | |
| 25 | - box-sizing: border-box; | |
| 26 | - min-height: 100vh; | |
| 27 | - display: flex; | |
| 28 | - flex-direction: column; | |
| 29 | - align-items: center; | |
| 30 | - justify-content: center; | |
| 31 | - gap: 8px; | |
| 32 | - padding: 24px 16px; | |
| 33 | - text-align: center; | |
| 34 | - color: var(--text); | |
| 35 | - background: var(--bg); | |
| 36 | -} | |
| 37 | - |
style/_look.scssmodified+0 -11
| @@ -16,13 +16,6 @@ h1 { | ||
| 16 | 16 | font-size: 1.5rem; |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | -.repo-title, | |
| 20 | -.issue-heading { | |
| 21 | - font-family: var(--display); | |
| 22 | - font-weight: 700; | |
| 23 | - font-stretch: 110%; | |
| 24 | -} | |
| 25 | - | |
| 26 | 19 | // Mono section labels: table headers, pane headers, card headings that are labels, and the small |
| 27 | 20 | // muted captions that head a card's table or list. Only static UI text takes this; prose and user |
| 28 | 21 | // content (commit messages, names, descriptions) keep their case. |
| @@ -38,8 +31,6 @@ h1 { | ||
| 38 | 31 | |
| 39 | 32 | th, |
| 40 | 33 | .table th, |
| 41 | -.ci-side-title, | |
| 42 | -.ci-art-title, | |
| 43 | 34 | .ci-warnings-title, |
| 44 | 35 | .row-title, |
| 45 | 36 | .mx-caption, |
| @@ -50,8 +41,6 @@ th, | ||
| 50 | 41 | // Depth by tone. Cards and panes sit on the surface tone with an inset 1px hairline instead of a |
| 51 | 42 | // drop shadow or a heavy border. The border keeps its width (transparent), so nothing moves. |
| 52 | 43 | .card, |
| 53 | -.issue-list, | |
| 54 | -.review-box, | |
| 55 | 44 | .pin-card, |
| 56 | 45 | .ci-side, |
| 57 | 46 | .ci-main, |
style/_members.scssmodified+0 -6
| @@ -1,7 +1 @@ | ||
| 1 | 1 | |
| 2 | - | |
| 3 | -// Phone: each member row stacks. The name takes the first line; the role select and the menu share | |
| 4 | -// the second. The header row is hidden, as the cells carry no labels there. | |
| 5 | -@media (max-width: 600px) { | |
| 6 | - | |
| 7 | -} |
style/_min.scssmodified+1 -37
| @@ -88,14 +88,6 @@ | ||
| 88 | 88 | border-radius: var(--radius-sm); |
| 89 | 89 | } |
| 90 | 90 | |
| 91 | - .pathbar-ico { | |
| 92 | - display: block; | |
| 93 | - width: 15px; | |
| 94 | - height: 15px; | |
| 95 | - margin-right: 8px; | |
| 96 | - color: var(--muted); | |
| 97 | - } | |
| 98 | - | |
| 99 | 91 | .pathbar-segs { |
| 100 | 92 | font-family: var(--font); |
| 101 | 93 | font-size: 14px; |
| @@ -458,18 +450,6 @@ div.line { | ||
| 458 | 450 | } |
| 459 | 451 | } |
| 460 | 452 | |
| 461 | -.field-pair { | |
| 462 | - display: grid; | |
| 463 | - grid-template-columns: repeat(2, minmax(0, 1fr)); | |
| 464 | - gap: 16px; | |
| 465 | -} | |
| 466 | - | |
| 467 | -@media (max-width: 599px) { | |
| 468 | - .field-pair { | |
| 469 | - grid-template-columns: minmax(0, 1fr); | |
| 470 | - } | |
| 471 | -} | |
| 472 | - | |
| 473 | 453 | // A switch sits right before its own label. |
| 474 | 454 | |
| 475 | 455 | .switch { |
| @@ -501,11 +481,6 @@ div.line { | ||
| 501 | 481 | margin-bottom: 10px; |
| 502 | 482 | } |
| 503 | 483 | |
| 504 | -.back-act { | |
| 505 | - display: inline-block; | |
| 506 | - margin: 12px 0 10px; | |
| 507 | -} | |
| 508 | - | |
| 509 | 484 | // A tick or a radio always sits right before its own text, wherever the label is. |
| 510 | 485 | main label:not(.colour-choice, .find-opt, .choice > label):has(> input[type="checkbox"]), |
| 511 | 486 | main label:not(.colour-choice, .find-opt, .choice > label):has(> input[type="radio"]) { |
| @@ -532,8 +507,7 @@ main label:not(.colour-choice, .find-opt, .choice > label):has(> input[type="rad | ||
| 532 | 507 | |
| 533 | 508 | // Nothing here is a box: topics sit straight on the page. |
| 534 | 509 | main[data-width="read"] .explore, |
| 535 | -main[data-width="read"] .heat, | |
| 536 | -main .lang-list { | |
| 510 | +main[data-width="read"] .heat { | |
| 537 | 511 | border: 0; |
| 538 | 512 | border-radius: 0; |
| 539 | 513 | background: none; |
| @@ -546,16 +520,6 @@ main .explore { | ||
| 546 | 520 | margin-top: 0; |
| 547 | 521 | } |
| 548 | 522 | |
| 549 | -.pull-topics { | |
| 550 | - display: flex; | |
| 551 | - flex-direction: column; | |
| 552 | -} | |
| 553 | - | |
| 554 | -.profile-head .profile-avatar { | |
| 555 | - width: 64px !important; | |
| 556 | - height: 64px !important; | |
| 557 | -} | |
| 558 | - | |
| 559 | 523 | .sub + .hint { |
| 560 | 524 | margin-top: 10px; |
| 561 | 525 | } |
style/_min_admin.scssmodified+0 -53
| @@ -6,26 +6,6 @@ | ||
| 6 | 6 | overflow-wrap: anywhere; |
| 7 | 7 | } |
| 8 | 8 | |
| 9 | -// The runner's concurrency field: label, stepper and its save all start at the left edge. | |
| 10 | -form.runner-load { | |
| 11 | - justify-content: flex-start; | |
| 12 | - align-items: flex-start; | |
| 13 | -} | |
| 14 | - | |
| 15 | -.field > .runner-stepper input[type="number"] { | |
| 16 | - flex: 0 0 4.5em; | |
| 17 | - width: 4.5em; | |
| 18 | - max-width: none; | |
| 19 | - text-align: center; | |
| 20 | -} | |
| 21 | - | |
| 22 | -// The runner's state line under its name: the dot, then the words. | |
| 23 | -.runner-state { | |
| 24 | - display: flex; | |
| 25 | - align-items: center; | |
| 26 | - gap: 6px; | |
| 27 | -} | |
| 28 | - | |
| 29 | 9 | // Tones for a value or a hint: a failing or lagging copy. |
| 30 | 10 | .hint.bad, |
| 31 | 11 | .val.bad, |
| @@ -55,36 +35,3 @@ form.runner-load { | ||
| 55 | 35 | .field .runner-pill input[type="number"] { |
| 56 | 36 | width: 34px; |
| 57 | 37 | } |
| 58 | - | |
| 59 | -// Health: one column. An icon sits on its label's line; a detail stays with its row. | |
| 60 | -main .health-page { | |
| 61 | - display: block; | |
| 62 | -} | |
| 63 | - | |
| 64 | -.health-page .line .name { | |
| 65 | - display: inline-flex; | |
| 66 | - align-items: center; | |
| 67 | - gap: 8px; | |
| 68 | -} | |
| 69 | - | |
| 70 | -.health-page .row-icon { | |
| 71 | - flex: none; | |
| 72 | - width: 16px; | |
| 73 | - height: 16px; | |
| 74 | -} | |
| 75 | - | |
| 76 | -.health-page .val { | |
| 77 | - display: inline-flex; | |
| 78 | - align-items: center; | |
| 79 | - gap: 6px; | |
| 80 | -} | |
| 81 | - | |
| 82 | -.health-page .line:has(+ .health-path) { | |
| 83 | - border-bottom: 0; | |
| 84 | -} | |
| 85 | - | |
| 86 | -.health-page .health-path { | |
| 87 | - margin: 0; | |
| 88 | - padding-bottom: 8px; | |
| 89 | - border-bottom: 1px solid var(--border); | |
| 90 | -} |
style/_min_ci.scssmodified+0 -26
| @@ -1,11 +1,4 @@ | ||
| 1 | -// The ci pages: only what style/_min.scss does not already give them. | |
| 2 | 1 | |
| 3 | -// Actions and tools sit beside what they act on, never at the far end of the bar. | |
| 4 | -.ci-tl-head, | |
| 5 | -.ci-tl-artline, | |
| 6 | -.ci-side-head { | |
| 7 | - justify-content: flex-start; | |
| 8 | -} | |
| 9 | 2 | |
| 10 | 3 | .ci-tl-tools, |
| 11 | 4 | .ci-logfold { |
| @@ -24,17 +17,6 @@ | ||
| 24 | 17 | } |
| 25 | 18 | } |
| 26 | 19 | |
| 27 | -// The runs pane has a border: its head keeps the same inset as the rows under it. | |
| 28 | -.ci-split > .ci-side .ci-side-head { | |
| 29 | - padding: 8px 14px; | |
| 30 | - margin-bottom: 0; | |
| 31 | -} | |
| 32 | - | |
| 33 | -// An action that opens in place takes the title line's full width when it needs it. | |
| 34 | -.ci-tl-line { | |
| 35 | - flex-wrap: wrap; | |
| 36 | -} | |
| 37 | - | |
| 38 | 20 | // The log's tabs take the shared tab look. |
| 39 | 21 | .tabs.ci-tl-tabs { |
| 40 | 22 | margin-bottom: 0; |
| @@ -48,11 +30,3 @@ | ||
| 48 | 30 | letter-spacing: 0; |
| 49 | 31 | text-transform: none; |
| 50 | 32 | } |
| 51 | - | |
| 52 | -// On a phone the page scrolls, so the jobs and the log take their own height. The list's run pane | |
| 53 | -// has no fixed height to share out, and a pane sized from it would be nothing. | |
| 54 | -@media (max-width: 899px) { | |
| 55 | - .ci-split.fit-pane > .ci-detail > .ci-tl-main { | |
| 56 | - flex: none; | |
| 57 | - } | |
| 58 | -} |
style/_min_code.scssmodified+0 -40
| @@ -13,51 +13,11 @@ | ||
| 13 | 13 | white-space: nowrap; |
| 14 | 14 | } |
| 15 | 15 | |
| 16 | -.commits-chev { | |
| 17 | - display: inline-flex; | |
| 18 | - flex: none; | |
| 19 | - color: var(--muted); | |
| 20 | - | |
| 21 | - svg { | |
| 22 | - width: 14px; | |
| 23 | - height: 14px; | |
| 24 | - } | |
| 25 | -} | |
| 26 | - | |
| 27 | -details.commits-d[open] .commits-chev svg { | |
| 28 | - transform: rotate(180deg); | |
| 29 | -} | |
| 30 | - | |
| 31 | -.pull-file.current .name { | |
| 32 | - color: var(--text); | |
| 33 | - font-weight: 600; | |
| 34 | -} | |
| 35 | - | |
| 36 | -// Far-right alignment left by the older code pages: the file finder sits after the path bar, a | |
| 37 | -// tree row's age follows its name, and the strip's chips follow its facts. | |
| 38 | -main .repo-grid.repo-home .browse-bar .finder-open { | |
| 39 | - margin-left: 12px; | |
| 40 | -} | |
| 41 | - | |
| 42 | -// The two panes' head lines keep the panes' inner edge. | |
| 43 | -.repo-grid.repo-home .browse-bar { | |
| 44 | - padding-left: 12px; | |
| 45 | - padding-right: 12px; | |
| 46 | -} | |
| 47 | - | |
| 48 | 16 | .repo-readme > .acts { |
| 49 | 17 | margin: 0; |
| 50 | 18 | padding: 8px 12px; |
| 51 | 19 | } |
| 52 | 20 | |
| 53 | -.repo-grid.repo-home .tree-entry-age { | |
| 54 | - margin-left: 0; | |
| 55 | -} | |
| 56 | - | |
| 57 | -.repo-strip .strip-chips { | |
| 58 | - margin-left: 0; | |
| 59 | -} | |
| 60 | - | |
| 61 | 21 | // Browse files keeps the row's spacing: its padding is for the hover shape, not extra room, so a |
| 62 | 22 | // wrapped one starts on the row's text edge like the facts above it. |
| 63 | 23 | .commits-r > a.act { |
style/_min_lists.scssmodified+0 -48
| @@ -11,52 +11,4 @@ | ||
| 11 | 11 | background: none; |
| 12 | 12 | } |
| 13 | 13 | |
| 14 | - .issue-main { | |
| 15 | - display: flex; | |
| 16 | - flex: 1 1 auto; | |
| 17 | - flex-direction: column; | |
| 18 | - gap: 4px; | |
| 19 | - min-width: 0; | |
| 20 | - } | |
| 21 | - | |
| 22 | - .issue-title-line, | |
| 23 | - .issue-meta { | |
| 24 | - display: flex; | |
| 25 | - flex-wrap: wrap; | |
| 26 | - align-items: center; | |
| 27 | - gap: 4px 8px; | |
| 28 | - } | |
| 29 | - | |
| 30 | - .issue-meta img { | |
| 31 | - vertical-align: middle; | |
| 32 | - } | |
| 33 | -} | |
| 34 | - | |
| 35 | -// Notifications: a row's mark-as-read sits under it, shown on hover or focus. Touch screens always show it. | |
| 36 | -.notif-rows > .notif-row { | |
| 37 | - display: block; | |
| 38 | - padding: 0; | |
| 39 | - border-bottom: 1px solid var(--border); | |
| 40 | - | |
| 41 | - &:last-child { | |
| 42 | - border-bottom: 0; | |
| 43 | - } | |
| 44 | - | |
| 45 | - > .line { | |
| 46 | - border-bottom: 0; | |
| 47 | - } | |
| 48 | - | |
| 49 | - > .acts { | |
| 50 | - padding: 0 0 8px 23px; | |
| 51 | - } | |
| 52 | - | |
| 53 | - &.unread > .line .name { | |
| 54 | - font-weight: 600; | |
| 55 | - } | |
| 56 | -} | |
| 57 | - | |
| 58 | -@media (hover: hover) { | |
| 59 | - .notif-rows > .notif-row:not(:hover):not(:focus-within) > .acts { | |
| 60 | - visibility: hidden; | |
| 61 | - } | |
| 62 | 14 | } |
style/_min_menus.scssmodified+0 -66
| @@ -1,53 +1,4 @@ | ||
| 1 | -// The menus pages: only what style/_min.scss does not already give them. | |
| 2 | 1 | |
| 3 | -// Tab families read like `.tabs` in _min.scss: one row of text tabs, the current one underlined in | |
| 4 | -// accent. Their older rules sit earlier in the cascade, so these win at equal weight. Each family's | |
| 5 | -// children are its links, labels or buttons. | |
| 6 | -.issue-tabs { | |
| 7 | - display: flex; | |
| 8 | - flex-wrap: nowrap; | |
| 9 | - gap: 20px; | |
| 10 | - overflow-x: auto; | |
| 11 | - margin: 0 0 8px; | |
| 12 | - padding: 0; | |
| 13 | - border: 0; | |
| 14 | - border-bottom: 1px solid var(--border); | |
| 15 | - border-radius: 0; | |
| 16 | - background: none; | |
| 17 | - box-shadow: none; | |
| 18 | - scrollbar-width: none; | |
| 19 | -} | |
| 20 | - | |
| 21 | -.issue-tabs > * { | |
| 22 | - flex: none; | |
| 23 | - display: inline-flex; | |
| 24 | - align-items: center; | |
| 25 | - height: auto; | |
| 26 | - min-height: 0; | |
| 27 | - margin: 0; | |
| 28 | - padding: 8px 0; | |
| 29 | - border: 0; | |
| 30 | - border-radius: 0; | |
| 31 | - background: none; | |
| 32 | - box-shadow: none; | |
| 33 | - color: var(--muted); | |
| 34 | - font-size: 14px; | |
| 35 | - font-weight: 400; | |
| 36 | - text-decoration: none; | |
| 37 | - cursor: pointer; | |
| 38 | - | |
| 39 | - &:hover { | |
| 40 | - color: var(--text); | |
| 41 | - text-decoration: none; | |
| 42 | - } | |
| 43 | - | |
| 44 | - &[aria-current="page"], | |
| 45 | - &.active, | |
| 46 | - &:has(:checked) { | |
| 47 | - color: var(--text); | |
| 48 | - box-shadow: inset 0 -2px 0 var(--accent); | |
| 49 | - } | |
| 50 | -} | |
| 51 | 2 | |
| 52 | 3 | // Popovers: one panel, instant (no transition or animation), kept inside the window on a phone. |
| 53 | 4 | .menu-list, |
| @@ -88,7 +39,6 @@ | ||
| 88 | 39 | .repo-readme .clone > .menu-list, |
| 89 | 40 | .repo-readme .clone > .pop-panel, |
| 90 | 41 | details > .status-list, |
| 91 | - .dock-expand > .dock-message, | |
| 92 | 42 | details.menu > .menu-list { |
| 93 | 43 | position: fixed !important; |
| 94 | 44 | top: auto; |
| @@ -105,22 +55,6 @@ | ||
| 105 | 55 | white-space: normal; |
| 106 | 56 | } |
| 107 | 57 | |
| 108 | - .ci-tl-line details[open] { | |
| 109 | - flex: 1 1 100%; | |
| 110 | - min-width: 0; | |
| 111 | - } | |
| 112 | - | |
| 113 | - .ci-tl-actions:has(details[open]) { | |
| 114 | - flex: 1 1 100%; | |
| 115 | - flex-wrap: wrap; | |
| 116 | - min-width: 0; | |
| 117 | - } | |
| 118 | - | |
| 119 | - .ci-tl-line details .opened, | |
| 120 | - .ci-tl-line details .hint { | |
| 121 | - white-space: normal; | |
| 122 | - } | |
| 123 | - | |
| 124 | 58 | .reveal, |
| 125 | 59 | .reveal > .opened { |
| 126 | 60 | min-width: 0; |
style/_min_org.scssmodified+0 -78
| @@ -8,52 +8,10 @@ | ||
| 8 | 8 | min-width: 0; |
| 9 | 9 | } |
| 10 | 10 | |
| 11 | -// The profile, home and signed-in lists: the page language only. | |
| 12 | - | |
| 13 | -// A topic head with a text action beside its title (the pins menu). | |
| 14 | -.topic-head { | |
| 15 | - display: flex; | |
| 16 | - flex-wrap: wrap; | |
| 17 | - align-items: baseline; | |
| 18 | - gap: 4px 16px; | |
| 19 | - | |
| 20 | - > h2 { | |
| 21 | - margin: 0; | |
| 22 | - font-size: 15px; | |
| 23 | - font-weight: 600; | |
| 24 | - line-height: 1.3; | |
| 25 | - color: var(--text); | |
| 26 | - } | |
| 27 | -} | |
| 28 | - | |
| 29 | -.profile-head { | |
| 30 | - display: flex; | |
| 31 | - flex-wrap: wrap; | |
| 32 | - align-items: center; | |
| 33 | - gap: 16px; | |
| 34 | -} | |
| 35 | - | |
| 36 | -.profile-id { | |
| 37 | - display: flex; | |
| 38 | - flex-direction: column; | |
| 39 | - gap: 4px; | |
| 40 | - min-width: 0; | |
| 41 | - | |
| 42 | - .acts { | |
| 43 | - margin-top: 6px; | |
| 44 | - } | |
| 45 | -} | |
| 46 | - | |
| 47 | 11 | .profile-about { |
| 48 | 12 | flex: 1 0 100%; |
| 49 | 13 | } |
| 50 | 14 | |
| 51 | -.repo-listing { | |
| 52 | - display: flex; | |
| 53 | - flex-direction: column; | |
| 54 | - gap: 8px; | |
| 55 | -} | |
| 56 | - | |
| 57 | 15 | .repo-list { |
| 58 | 16 | margin: 0; |
| 59 | 17 | padding: 0; |
| @@ -65,7 +23,6 @@ | ||
| 65 | 23 | color: var(--text); |
| 66 | 24 | } |
| 67 | 25 | |
| 68 | -.plain-rows, | |
| 69 | 26 | .repo-list { |
| 70 | 27 | > .line { |
| 71 | 28 | padding: 0; |
| @@ -112,23 +69,6 @@ | ||
| 112 | 69 | list-style: none; |
| 113 | 70 | } |
| 114 | 71 | |
| 115 | -// The profile is one column on the read width: the old left pane (a boxed head at 300px) is gone. | |
| 116 | -@media (min-width: 900px) { | |
| 117 | - .profile-page { | |
| 118 | - min-height: 0; | |
| 119 | - padding-left: 0; | |
| 120 | - | |
| 121 | - > .profile-head { | |
| 122 | - position: static; | |
| 123 | - width: auto; | |
| 124 | - padding: 0; | |
| 125 | - background: none; | |
| 126 | - border: 0; | |
| 127 | - border-radius: 0; | |
| 128 | - } | |
| 129 | - } | |
| 130 | -} | |
| 131 | - | |
| 132 | 72 | // Repo rows keep their name, badge and description on the left: the stars and the age follow |
| 133 | 73 | // the description, not the far end of the row. |
| 134 | 74 | .repo-list > .repo-item { |
| @@ -140,21 +80,3 @@ | ||
| 140 | 80 | margin-left: 0; |
| 141 | 81 | } |
| 142 | 82 | } |
| 143 | - | |
| 144 | -// The profile head: a compact avatar, and the about text with no box of its own. | |
| 145 | -.profile-head .profile-avatar { | |
| 146 | - width: 96px; | |
| 147 | - height: 96px; | |
| 148 | -} | |
| 149 | - | |
| 150 | -.profile-head .profile-about { | |
| 151 | - padding: 0; | |
| 152 | - background: none; | |
| 153 | - border: 0; | |
| 154 | -} | |
| 155 | - | |
| 156 | -// The pins menu opens from its link beside the title, to the right of it. | |
| 157 | -.topic-head .pins-menu > .pop-panel { | |
| 158 | - right: auto; | |
| 159 | - left: 0; | |
| 160 | -} |
style/_min_repo_admin.scssmodified+0 -26
| @@ -1,11 +1,4 @@ | ||
| 1 | -// The repo admin pages: only what style/_min.scss does not already give them. | |
| 2 | 1 | |
| 3 | -// A label for a group of controls (the webhook events), read like a field's label. | |
| 4 | -.field-title { | |
| 5 | - margin: 0; | |
| 6 | - font-size: 14px; | |
| 7 | - font-weight: 500; | |
| 8 | -} | |
| 9 | 2 | |
| 10 | 3 | // A part of an opened delivery: request, response, and their bodies. |
| 11 | 4 | .part-title { |
| @@ -24,22 +17,3 @@ | ||
| 24 | 17 | .rule-pills .warn { |
| 25 | 18 | color: var(--warn); |
| 26 | 19 | } |
| 27 | - | |
| 28 | -// A rule form's groups: a legend reads as a label, the fields stack. | |
| 29 | -.rule-group { | |
| 30 | - display: flex; | |
| 31 | - flex-direction: column; | |
| 32 | - gap: 12px; | |
| 33 | - min-width: 0; | |
| 34 | - margin: 0; | |
| 35 | - padding: 0; | |
| 36 | - border: 0; | |
| 37 | - | |
| 38 | - > legend { | |
| 39 | - margin: 0 0 2px; | |
| 40 | - padding: 0; | |
| 41 | - color: var(--text); | |
| 42 | - font-size: 14px; | |
| 43 | - font-weight: 500; | |
| 44 | - } | |
| 45 | -} |
style/_min_threads.scssmodified+0 -14
| @@ -1,18 +1,4 @@ | ||
| 1 | -// The threads pages: only what style/_min.scss does not already give them. | |
| 2 | 1 | |
| 3 | -// Pull request: the sidebar boxes sit in one compact row above the conversation. | |
| 4 | -.pull-topics { | |
| 5 | - display: flex; | |
| 6 | - flex-wrap: wrap; | |
| 7 | - gap: 0 32px; | |
| 8 | - padding-bottom: 8px; | |
| 9 | - border-bottom: 1px solid var(--border); | |
| 10 | - | |
| 11 | - > * { | |
| 12 | - flex: 1 1 100%; | |
| 13 | - min-width: 0; | |
| 14 | - } | |
| 15 | -} | |
| 16 | 2 | |
| 17 | 3 | // The merge style choices stack as switches, under their legend. |
| 18 | 4 | .merge-styles { |
style/_needs.scssmodified+0 -4
| @@ -1,5 +1 @@ | ||
| 1 | 1 | |
| 2 | - | |
| 3 | -@media (min-width: 900px) { | |
| 4 | - | |
| 5 | -} |
style/_one.scssmodified+4 -54
| @@ -64,9 +64,7 @@ body { | ||
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | h1, |
| 67 | -.h1, | |
| 68 | -.repo-title, | |
| 69 | -.issue-heading { | |
| 67 | +.h1 { | |
| 70 | 68 | font-family: var(--font); |
| 71 | 69 | font-size: 26px; |
| 72 | 70 | font-stretch: normal; |
| @@ -547,14 +545,6 @@ input[type="radio"] { | ||
| 547 | 545 | } |
| 548 | 546 | } |
| 549 | 547 | |
| 550 | -.field-pair { | |
| 551 | - gap: 14px 24px; | |
| 552 | -} | |
| 553 | - | |
| 554 | -.field-pair > .field { | |
| 555 | - --label-w: 110px; | |
| 556 | -} | |
| 557 | - | |
| 558 | 548 | .fields > button[type="submit"], |
| 559 | 549 | .fields > .button, |
| 560 | 550 | .fields > .switch, |
| @@ -640,7 +630,6 @@ input[type="radio"] { | ||
| 640 | 630 | // Sections and second-level links share one row of soft tabs. |
| 641 | 631 | |
| 642 | 632 | .tabs, |
| 643 | -.issue-tabs, | |
| 644 | 633 | .repo-tabs, |
| 645 | 634 | .sub { |
| 646 | 635 | display: flex; |
| @@ -659,7 +648,6 @@ input[type="radio"] { | ||
| 659 | 648 | |
| 660 | 649 | .tabs > a, |
| 661 | 650 | .tabs .tab, |
| 662 | -.issue-tabs > *, | |
| 663 | 651 | .repo-tabs > a, |
| 664 | 652 | .repo-tabs .tab, |
| 665 | 653 | .sub > a:not(.act) { |
| @@ -710,10 +698,6 @@ input[type="radio"] { | ||
| 710 | 698 | font-weight: 400; |
| 711 | 699 | } |
| 712 | 700 | |
| 713 | -.tab-icon { | |
| 714 | - display: none; | |
| 715 | -} | |
| 716 | - | |
| 717 | 701 | // The top bar: profile, then the place you are in, which is also search. |
| 718 | 702 | |
| 719 | 703 | .topbar { |
| @@ -1391,8 +1375,7 @@ main > .tabs { | ||
| 1391 | 1375 | |
| 1392 | 1376 | .sheet > .sec, |
| 1393 | 1377 | .sheet > form > .sec, |
| 1394 | -.sheet > .fields, | |
| 1395 | -.sheet > .sheet-pad { | |
| 1378 | +.sheet > .fields { | |
| 1396 | 1379 | padding: 14px 18px; |
| 1397 | 1380 | } |
| 1398 | 1381 | |
| @@ -1554,8 +1537,6 @@ a.line:hover .name, | ||
| 1554 | 1537 | .pop-panel, |
| 1555 | 1538 | .head-title > details.reveal:not(:has(.field)) > .opened, |
| 1556 | 1539 | .row-menu-panel, |
| 1557 | -.ci-tl-more > p, | |
| 1558 | -.dock-expand > .dock-message, | |
| 1559 | 1540 | details > .status-list, |
| 1560 | 1541 | .palette-box { |
| 1561 | 1542 | border: 0 !important; |
| @@ -1627,12 +1608,9 @@ button.corner-link.link-button, | ||
| 1627 | 1608 | |
| 1628 | 1609 | .card, |
| 1629 | 1610 | .fit-pane, |
| 1630 | -.rows-pane, | |
| 1631 | 1611 | .table-wrap, |
| 1632 | 1612 | .readme, |
| 1633 | -.repo-readme, | |
| 1634 | -.review-box, | |
| 1635 | -.issue-list { | |
| 1613 | +.repo-readme { | |
| 1636 | 1614 | border: 0; |
| 1637 | 1615 | border-radius: var(--radius-sheet); |
| 1638 | 1616 | background: var(--surface); |
| @@ -1641,10 +1619,8 @@ button.corner-link.link-button, | ||
| 1641 | 1619 | |
| 1642 | 1620 | .sheet .card, |
| 1643 | 1621 | .sheet .fit-pane, |
| 1644 | -.sheet .rows-pane, | |
| 1645 | 1622 | .sheet .table-wrap, |
| 1646 | -.sheet .readme, | |
| 1647 | -.sheet .issue-list { | |
| 1623 | +.sheet .readme { | |
| 1648 | 1624 | border-radius: 0; |
| 1649 | 1625 | box-shadow: none; |
| 1650 | 1626 | } |
| @@ -3133,13 +3109,6 @@ details:not([open])::details-content { | ||
| 3133 | 3109 | width: 170px; |
| 3134 | 3110 | } |
| 3135 | 3111 | |
| 3136 | - .hex-note { | |
| 3137 | - flex-basis: 100%; | |
| 3138 | - } | |
| 3139 | - | |
| 3140 | - .hex-note:empty { | |
| 3141 | - display: none; | |
| 3142 | - } | |
| 3143 | 3112 | } |
| 3144 | 3113 | |
| 3145 | 3114 | @media (max-width: 700px) { |
| @@ -3149,18 +3118,6 @@ details:not([open])::details-content { | ||
| 3149 | 3118 | } |
| 3150 | 3119 | } |
| 3151 | 3120 | |
| 3152 | -// A box with its note: the note beside the box's words, on one line while there is room. | |
| 3153 | -.checks > .check-row { | |
| 3154 | - display: flex; | |
| 3155 | - flex-wrap: wrap; | |
| 3156 | - align-items: baseline; | |
| 3157 | - column-gap: 10px; | |
| 3158 | - | |
| 3159 | - > .hint { | |
| 3160 | - margin: 0; | |
| 3161 | - } | |
| 3162 | -} | |
| 3163 | - | |
| 3164 | 3121 | .head-title { |
| 3165 | 3122 | min-height: 38px; |
| 3166 | 3123 | } |
| @@ -3773,13 +3730,6 @@ details.log-group { | ||
| 3773 | 3730 | } |
| 3774 | 3731 | } |
| 3775 | 3732 | |
| 3776 | -// A fixed value in a field's control column (an existing branch rule's pattern) stands on its label's line. | |
| 3777 | -.field > .field-value { | |
| 3778 | - padding-top: 8px; | |
| 3779 | - font-size: 15px; | |
| 3780 | - line-height: 22px; | |
| 3781 | -} | |
| 3782 | - | |
| 3783 | 3733 | // A topic's own action, standing alone under its heading (Rename repository, Transfer repository, |
| 3784 | 3734 | // Regenerate codes), is a small soft pill like Star, not a word: it is the thing the topic is for. |
| 3785 | 3735 | // Tools on a line of facts stay words. A dangerous one keeps its red word on the pill. |
style/_one_admin.scssmodified+0 -11
| @@ -23,7 +23,6 @@ $repo: 'main:has(> section.repo-head .tab.active[href$="/settings"])'; | ||
| 23 | 23 | border-radius: 6px; |
| 24 | 24 | } |
| 25 | 25 | |
| 26 | - | |
| 27 | 26 | // Settings forms: the topics are one column, each topic with a hairline above it. |
| 28 | 27 | #{$settings} .sheet > form:not(.appearance) > .sec + .sec { |
| 29 | 28 | border-top: 1px solid var(--border); |
| @@ -84,7 +83,6 @@ $repo: 'main:has(> section.repo-head .tab.active[href$="/settings"])'; | ||
| 84 | 83 | color: var(--muted); |
| 85 | 84 | } |
| 86 | 85 | |
| 87 | - | |
| 88 | 86 | // Server settings: one setting a line. Its name, then its control on one fixed width, then its notes, |
| 89 | 87 | // so every control and every note starts on the same edge. A page is short enough to need no scroll. |
| 90 | 88 | #{$admin} .sheet:has(.srv-row) { |
| @@ -233,15 +231,6 @@ $repo: 'main:has(> section.repo-head .tab.active[href$="/settings"])'; | ||
| 233 | 231 | white-space: normal; |
| 234 | 232 | } |
| 235 | 233 | |
| 236 | -// A group's label in a topic sits on the topic's own edge, like the topic heading. | |
| 237 | -#{$repo} .sheet .field-title { | |
| 238 | - margin: 0; | |
| 239 | - padding: 0; | |
| 240 | - color: var(--muted); | |
| 241 | - font-size: 13px; | |
| 242 | - font-weight: 600; | |
| 243 | -} | |
| 244 | - | |
| 245 | 234 | // Repo settings: the form takes the sheet's width, and its topics keep the form's inset. |
| 246 | 235 | #{$repo} .sheet form.fields { |
| 247 | 236 | max-width: none; |
style/_one_code.scssmodified+0 -1
| @@ -97,7 +97,6 @@ main code { | ||
| 97 | 97 | border-radius: 6px; |
| 98 | 98 | } |
| 99 | 99 | |
| 100 | - | |
| 101 | 100 | // A release's downloads wrap onto more lines instead of running past the sheet. |
| 102 | 101 | .opened > .sub { |
| 103 | 102 | flex-wrap: wrap; |
style/_one_shell.scssmodified+0 -10
| @@ -131,16 +131,6 @@ a > .ref-chip, | ||
| 131 | 131 | border: 0; |
| 132 | 132 | } |
| 133 | 133 | |
| 134 | -// Watch options are menu rows: the name only. The longer description stays for screen readers. | |
| 135 | -.watch-list .watch-option-desc { | |
| 136 | - position: absolute; | |
| 137 | - width: 1px; | |
| 138 | - height: 1px; | |
| 139 | - overflow: hidden; | |
| 140 | - clip-path: inset(50%); | |
| 141 | - white-space: nowrap; | |
| 142 | -} | |
| 143 | - | |
| 144 | 134 | // The watch menu's button is a soft shape like every other action beside a title (the |
| 145 | 135 | // `.head-title` pill rule below). Its options are menu rows: 34px, the check before the name. |
| 146 | 136 | .watch-menu > summary { |
style/_pull.scssmodified+0 -218
| @@ -21,42 +21,6 @@ | ||
| 21 | 21 | --merged-soft: #2b2440; |
| 22 | 22 | } |
| 23 | 23 | |
| 24 | -// Pull request header and byline | |
| 25 | - | |
| 26 | -.issue-heading { | |
| 27 | - margin: 0.25rem 0 0; | |
| 28 | - font-size: 1.5rem; | |
| 29 | - font-weight: 600; | |
| 30 | - line-height: 1.3; | |
| 31 | - letter-spacing: -0.01em; | |
| 32 | -} | |
| 33 | - | |
| 34 | -.issue-number { | |
| 35 | - font-family: var(--mono); | |
| 36 | - font-size: 0.9em; | |
| 37 | - font-weight: 500; | |
| 38 | -} | |
| 39 | - | |
| 40 | -.issue-byline { | |
| 41 | - gap: 8px 12px; | |
| 42 | - margin: 12px 0 0; | |
| 43 | - font-size: 14px; | |
| 44 | - | |
| 45 | - strong { | |
| 46 | - color: var(--text); | |
| 47 | - font-weight: 600; | |
| 48 | - } | |
| 49 | - | |
| 50 | - code { | |
| 51 | - padding: 1px 6px; | |
| 52 | - border-radius: var(--radius-sm); | |
| 53 | - background: var(--surface-2); | |
| 54 | - color: var(--text); | |
| 55 | - font-family: var(--mono); | |
| 56 | - font-size: 12.5px; | |
| 57 | - } | |
| 58 | -} | |
| 59 | - | |
| 60 | 24 | // State badges: open is --ok, closed is --bad, merged is the soft purple. |
| 61 | 25 | |
| 62 | 26 | .issue-badge { |
| @@ -99,15 +63,6 @@ | ||
| 99 | 63 | } |
| 100 | 64 | } |
| 101 | 65 | |
| 102 | -// Lists: rows with hairline borders, hover tint. | |
| 103 | - | |
| 104 | -.issue-list { | |
| 105 | - border-color: var(--border); | |
| 106 | - border-radius: var(--radius-lg); | |
| 107 | - background: var(--surface); | |
| 108 | - box-shadow: none; | |
| 109 | -} | |
| 110 | - | |
| 111 | 66 | .issue-row { |
| 112 | 67 | padding: 14px 16px; |
| 113 | 68 | border-top-color: var(--border); |
| @@ -122,71 +77,6 @@ | ||
| 122 | 77 | font-weight: 600; |
| 123 | 78 | } |
| 124 | 79 | |
| 125 | -.issue-meta { | |
| 126 | - font-size: 13.5px; | |
| 127 | -} | |
| 128 | - | |
| 129 | -.issue-state { | |
| 130 | - width: 14px; | |
| 131 | - height: 14px; | |
| 132 | - margin-top: 0.2rem; | |
| 133 | - border-width: 2px; | |
| 134 | -} | |
| 135 | - | |
| 136 | -.issue-state-open { | |
| 137 | - border-color: var(--ok); | |
| 138 | - background: var(--surface); | |
| 139 | -} | |
| 140 | - | |
| 141 | -.issue-state-closed { | |
| 142 | - border-color: var(--merged); | |
| 143 | - background: var(--merged); | |
| 144 | -} | |
| 145 | - | |
| 146 | -.issue-state.pull-state-closed { | |
| 147 | - border-color: var(--bad); | |
| 148 | - background: var(--bad); | |
| 149 | -} | |
| 150 | - | |
| 151 | -.issue-state.pull-state-merged { | |
| 152 | - border-color: var(--merged); | |
| 153 | - background: var(--merged); | |
| 154 | -} | |
| 155 | - | |
| 156 | -// Layout: the side panel sits in a 260px column from 1000px wide. | |
| 157 | - | |
| 158 | -.issue-layout { | |
| 159 | - align-items: start; | |
| 160 | -} | |
| 161 | - | |
| 162 | -@media (min-width: 1000px) { | |
| 163 | - .issue-layout { | |
| 164 | - grid-template-columns: minmax(0, 1fr) 260px; | |
| 165 | - gap: 40px; | |
| 166 | - } | |
| 167 | -} | |
| 168 | - | |
| 169 | -// Breathing room between the header meta line (or the PR tabs) and the discussion. | |
| 170 | -.issue-head + .issue-layout { | |
| 171 | - margin-top: 16px; | |
| 172 | -} | |
| 173 | - | |
| 174 | -.issue-sidebar { | |
| 175 | - gap: 0; | |
| 176 | - align-content: start; | |
| 177 | - min-width: 0; | |
| 178 | - font-size: 14px; | |
| 179 | - | |
| 180 | - h2 { | |
| 181 | - margin: 0 0 8px; | |
| 182 | - color: var(--muted); | |
| 183 | - font-size: 12px; | |
| 184 | - font-weight: 600; | |
| 185 | - letter-spacing: 0.04em; | |
| 186 | - text-transform: uppercase; | |
| 187 | - } | |
| 188 | -} | |
| 189 | - | |
| 190 | 80 | // Side sections: 16px rhythm with a hairline between them. Controls are compact (32px), |
| 191 | 81 | // Save buttons are small outline buttons. A control and its Save button share a row; the |
| 192 | 82 | // help text sits directly under the control. |
| @@ -245,7 +135,6 @@ | ||
| 245 | 135 | |
| 246 | 136 | // Timeline items and reviews as cards: a surface-2 head strip over the body. |
| 247 | 137 | |
| 248 | -.issue-item, | |
| 249 | 138 | .review-item { |
| 250 | 139 | border: 1px solid var(--border); |
| 251 | 140 | border-radius: var(--radius-lg); |
| @@ -253,13 +142,6 @@ | ||
| 253 | 142 | overflow: hidden; |
| 254 | 143 | } |
| 255 | 144 | |
| 256 | -.issue-item-head { | |
| 257 | - padding: 10px 14px; | |
| 258 | - border-bottom: 1px solid var(--border); | |
| 259 | - background: var(--surface-2); | |
| 260 | - font-size: 13.5px; | |
| 261 | -} | |
| 262 | - | |
| 263 | 145 | .issue-item-body { |
| 264 | 146 | padding: 14px 16px; |
| 265 | 147 | line-height: 1.6; |
| @@ -427,13 +309,6 @@ | ||
| 427 | 309 | color: var(--text); |
| 428 | 310 | } |
| 429 | 311 | |
| 430 | -.diff-file-meta { | |
| 431 | - display: inline-flex; | |
| 432 | - align-items: center; | |
| 433 | - flex-shrink: 0; | |
| 434 | - gap: 12px; | |
| 435 | -} | |
| 436 | - | |
| 437 | 312 | .diff-file-body { |
| 438 | 313 | border: 0; |
| 439 | 314 | border-radius: 0 0 var(--radius-lg) var(--radius-lg); |
| @@ -570,68 +445,6 @@ | ||
| 570 | 445 | } |
| 571 | 446 | } |
| 572 | 447 | |
| 573 | -// New issue: label checkboxes sit in a wrapping row, box beside name. | |
| 574 | - | |
| 575 | -.label-picker { | |
| 576 | - flex-direction: row; | |
| 577 | - flex-wrap: wrap; | |
| 578 | - gap: 8px 18px; | |
| 579 | - | |
| 580 | - label { | |
| 581 | - flex-direction: row; | |
| 582 | - align-items: center; | |
| 583 | - gap: 8px; | |
| 584 | - font-weight: 400; | |
| 585 | - } | |
| 586 | - | |
| 587 | - input[type="checkbox"] { | |
| 588 | - width: auto; | |
| 589 | - margin: 0; | |
| 590 | - } | |
| 591 | -} | |
| 592 | - | |
| 593 | -// Review bar: radios as a row of options, actions as a row with Submit primary and Discard quiet. | |
| 594 | - | |
| 595 | -.review-bar { | |
| 596 | - .review-choices { | |
| 597 | - flex-direction: row; | |
| 598 | - flex-wrap: wrap; | |
| 599 | - align-items: center; | |
| 600 | - justify-content: flex-start; | |
| 601 | - gap: 8px 22px; | |
| 602 | - | |
| 603 | - label { | |
| 604 | - flex-direction: row; | |
| 605 | - align-items: center; | |
| 606 | - gap: 8px; | |
| 607 | - font-weight: 400; | |
| 608 | - } | |
| 609 | - | |
| 610 | - input[type="radio"] { | |
| 611 | - width: auto; | |
| 612 | - margin: 0; | |
| 613 | - } | |
| 614 | - } | |
| 615 | - | |
| 616 | - .review-actions { | |
| 617 | - display: flex; | |
| 618 | - flex-wrap: wrap; | |
| 619 | - align-items: center; | |
| 620 | - gap: 8px 18px; | |
| 621 | - margin-top: 14px; | |
| 622 | - | |
| 623 | - .review-inline .link-button { | |
| 624 | - color: var(--muted); | |
| 625 | - text-decoration: underline; | |
| 626 | - text-underline-offset: 3px; | |
| 627 | - | |
| 628 | - &:hover { | |
| 629 | - color: var(--text); | |
| 630 | - } | |
| 631 | - } | |
| 632 | - } | |
| 633 | -} | |
| 634 | - | |
| 635 | 448 | // Narrow screens: the diff scrolls inside its own box, never the page. |
| 636 | 449 | |
| 637 | 450 | @media (max-width: 600px) { |
| @@ -645,32 +458,6 @@ | ||
| 645 | 458 | } |
| 646 | 459 | } |
| 647 | 460 | |
| 648 | -// Issue sidebar label checklist: box and chip on one left-aligned row. | |
| 649 | -.issue-side-section .issue-check { | |
| 650 | - flex-direction: row; | |
| 651 | - align-items: center; | |
| 652 | - justify-content: flex-start; | |
| 653 | - gap: 8px; | |
| 654 | - margin: 0 0 8px; | |
| 655 | - font-weight: 400; | |
| 656 | - | |
| 657 | - input[type="checkbox"] { | |
| 658 | - width: auto; | |
| 659 | - margin: 0; | |
| 660 | - flex: none; | |
| 661 | - } | |
| 662 | -} | |
| 663 | - | |
| 664 | -// New issue label picker: the inline-form rule would otherwise flatten the row. | |
| 665 | -.label-picker label { | |
| 666 | - display: flex; | |
| 667 | -} | |
| 668 | - | |
| 669 | -// Labels page: Edit disclosure and Delete share a centre line; the colour well is a small swatch. | |
| 670 | -.label-actions { | |
| 671 | - align-items: center; | |
| 672 | -} | |
| 673 | - | |
| 674 | 461 | input[type="color"] { |
| 675 | 462 | width: 56px; |
| 676 | 463 | height: var(--control-h, 36px); |
| @@ -681,8 +468,3 @@ input[type="color"] { | ||
| 681 | 468 | background: var(--surface); |
| 682 | 469 | cursor: pointer; |
| 683 | 470 | } |
| 684 | - | |
| 685 | -// Edit and new forms share one card width. | |
| 686 | -.issue-edit { | |
| 687 | - max-width: 60rem; | |
| 688 | -} |
style/_repo.scssmodified+0 -287
| @@ -1,38 +1,5 @@ | ||
| 1 | 1 | |
| 2 | 2 | |
| 3 | -// Title and visibility pill share one row, the pill vertically centred after the name. | |
| 4 | -.repo-title-row { | |
| 5 | - display: flex; | |
| 6 | - flex-wrap: wrap; | |
| 7 | - align-items: center; | |
| 8 | - gap: 10px; | |
| 9 | - | |
| 10 | - .badge { | |
| 11 | - padding: 0 9px; | |
| 12 | - font-size: 12px; | |
| 13 | - font-weight: 500; | |
| 14 | - line-height: 20px; | |
| 15 | - white-space: nowrap; | |
| 16 | - color: var(--muted); | |
| 17 | - background: transparent; | |
| 18 | - border: 1px solid var(--border-strong); | |
| 19 | - border-radius: var(--radius-full); | |
| 20 | - } | |
| 21 | -} | |
| 22 | - | |
| 23 | -.repo-title { | |
| 24 | - margin: 0; | |
| 25 | - font-size: 22px; | |
| 26 | - font-weight: 600; | |
| 27 | - line-height: 1.3; | |
| 28 | - color: var(--text); | |
| 29 | - | |
| 30 | - // The owner is a link in the heading: navigation, so it reads as the heading text. | |
| 31 | - a { | |
| 32 | - color: var(--text); | |
| 33 | - } | |
| 34 | -} | |
| 35 | - | |
| 36 | 3 | // Visually hidden but still read by screen readers (labels for the watch select, icon labels). |
| 37 | 4 | .sr-only { |
| 38 | 5 | position: absolute; |
| @@ -54,16 +21,6 @@ | ||
| 54 | 21 | color: var(--text-2); |
| 55 | 22 | } |
| 56 | 23 | |
| 57 | -.repo-search { | |
| 58 | - margin: 0 0 16px; | |
| 59 | - | |
| 60 | - input { | |
| 61 | - height: var(--control-h); | |
| 62 | - max-width: 360px; | |
| 63 | - font-size: 14px; | |
| 64 | - } | |
| 65 | -} | |
| 66 | - | |
| 67 | 24 | // Browse bar: branch, archive links and the Clone popover, framed by hairlines. |
| 68 | 25 | .browse-bar { |
| 69 | 26 | margin: 20px 0 0; |
| @@ -183,15 +140,6 @@ | ||
| 183 | 140 | } |
| 184 | 141 | } |
| 185 | 142 | |
| 186 | -// The repo home: the browse bar and the tree in a left column, the README beside it. Below 900px | |
| 187 | -// the columns stack in normal flow. | |
| 188 | -.repo-grid { | |
| 189 | - display: grid; | |
| 190 | - grid-template-columns: minmax(0, 1fr); | |
| 191 | - gap: 32px; | |
| 192 | - margin-top: 16px; | |
| 193 | -} | |
| 194 | - | |
| 195 | 143 | .repo-main { |
| 196 | 144 | min-width: 0; |
| 197 | 145 | } |
| @@ -277,47 +225,6 @@ | ||
| 277 | 225 | } |
| 278 | 226 | } |
| 279 | 227 | |
| 280 | - // The drag handle between the tree and the README (nav.js drives it): a 1px rule centred in the | |
| 281 | - // 8px track, full height of the grid. Hidden below 900px, where the columns stack. | |
| 282 | - .repo-split { | |
| 283 | - display: none; | |
| 284 | - position: relative; | |
| 285 | - align-self: stretch; | |
| 286 | - cursor: col-resize; | |
| 287 | - touch-action: none; | |
| 288 | - outline: none; | |
| 289 | - | |
| 290 | - &::before { | |
| 291 | - content: ''; | |
| 292 | - position: absolute; | |
| 293 | - top: 0; | |
| 294 | - bottom: 0; | |
| 295 | - left: 50%; | |
| 296 | - width: 1px; | |
| 297 | - transform: translateX(-50%); | |
| 298 | - background: transparent; | |
| 299 | - } | |
| 300 | - | |
| 301 | - &:hover::before, | |
| 302 | - &:focus-visible::before { | |
| 303 | - background: var(--accent); | |
| 304 | - } | |
| 305 | - | |
| 306 | - &:focus-visible::before { | |
| 307 | - width: 2px; | |
| 308 | - } | |
| 309 | - } | |
| 310 | -} | |
| 311 | - | |
| 312 | -// While a drag runs, the whole page keeps the resize cursor and the text stays unselected. | |
| 313 | -html.tree-resizing, | |
| 314 | -html.tree-resizing * { | |
| 315 | - cursor: col-resize !important; | |
| 316 | - user-select: none; | |
| 317 | -} | |
| 318 | - | |
| 319 | -html.tree-resizing .repo-split::before { | |
| 320 | - background: var(--accent); | |
| 321 | 228 | } |
| 322 | 229 | |
| 323 | 230 | // From 900px: the tree and README side by side, filling the viewport. |
| @@ -326,10 +233,6 @@ html.tree-resizing .repo-split::before { | ||
| 326 | 233 | grid-template-columns: var(--tree-w, 380px) 12px minmax(0, 1fr); |
| 327 | 234 | gap: 32px 8px; |
| 328 | 235 | |
| 329 | - .repo-split { | |
| 330 | - display: block; | |
| 331 | - } | |
| 332 | - | |
| 333 | 236 | .repo-main, |
| 334 | 237 | .repo-readme { |
| 335 | 238 | height: var(--repo-home-h); |
| @@ -338,142 +241,6 @@ html.tree-resizing .repo-split::before { | ||
| 338 | 241 | } |
| 339 | 242 | } |
| 340 | 243 | |
| 341 | -// The facts line under the repo header: license and size, a bar of the languages with its legend, | |
| 342 | -// then the latest release as a chip at the right end. | |
| 343 | -.repo-strip { | |
| 344 | - display: flex; | |
| 345 | - flex-wrap: wrap; | |
| 346 | - align-items: center; | |
| 347 | - gap: 8px 20px; | |
| 348 | - margin: 4px 0 16px; | |
| 349 | - font-size: 13px; | |
| 350 | - color: var(--text-2); | |
| 351 | - | |
| 352 | - .i { | |
| 353 | - width: 14px; | |
| 354 | - height: 14px; | |
| 355 | - fill: none; | |
| 356 | - stroke: currentColor; | |
| 357 | - stroke-width: 1.8; | |
| 358 | - stroke-linecap: round; | |
| 359 | - stroke-linejoin: round; | |
| 360 | - } | |
| 361 | -} | |
| 362 | - | |
| 363 | -.strip-fact { | |
| 364 | - display: inline-flex; | |
| 365 | - align-items: center; | |
| 366 | - gap: 6px; | |
| 367 | - white-space: nowrap; | |
| 368 | -} | |
| 369 | - | |
| 370 | -.strip-langs { | |
| 371 | - display: flex; | |
| 372 | - flex: 0 1 auto; | |
| 373 | - align-items: center; | |
| 374 | - gap: 12px; | |
| 375 | - min-width: 0; | |
| 376 | -} | |
| 377 | - | |
| 378 | -.lang-bar { | |
| 379 | - flex: none; | |
| 380 | - width: 160px; | |
| 381 | - height: 6px; | |
| 382 | - overflow: hidden; | |
| 383 | - border-radius: var(--radius-full); | |
| 384 | - background: var(--surface-2); | |
| 385 | -} | |
| 386 | - | |
| 387 | -.lang-legend { | |
| 388 | - display: flex; | |
| 389 | - flex-wrap: wrap; | |
| 390 | - gap: 4px 14px; | |
| 391 | - margin: 0; | |
| 392 | - padding: 0; | |
| 393 | - list-style: none; | |
| 394 | - | |
| 395 | - li { | |
| 396 | - display: inline-flex; | |
| 397 | - align-items: center; | |
| 398 | - gap: 6px; | |
| 399 | - white-space: nowrap; | |
| 400 | - } | |
| 401 | -} | |
| 402 | - | |
| 403 | -// The languages' shades: the biggest takes the text colour, the next ones fainter mixes of it, the | |
| 404 | -// folded remainder the muted colour. Classes, not inline styles, since the CSP allows none. | |
| 405 | -.lang-0 { --lang: var(--text-2); } | |
| 406 | -.lang-1 { --lang: color-mix(in srgb, var(--text-2) 65%, var(--surface)); } | |
| 407 | -.lang-2 { --lang: color-mix(in srgb, var(--text-2) 40%, var(--surface)); } | |
| 408 | -.lang-3 { --lang: color-mix(in srgb, var(--text-2) 22%, var(--surface)); } | |
| 409 | -.lang-4 { --lang: var(--muted); } | |
| 410 | - | |
| 411 | -.lang-bar rect { | |
| 412 | - fill: var(--lang); | |
| 413 | -} | |
| 414 | - | |
| 415 | -.lang-dot { | |
| 416 | - width: 8px; | |
| 417 | - height: 8px; | |
| 418 | - border-radius: 50%; | |
| 419 | - background: var(--lang); | |
| 420 | -} | |
| 421 | - | |
| 422 | -.strip-chips { | |
| 423 | - display: flex; | |
| 424 | - flex-wrap: wrap; | |
| 425 | - gap: 8px; | |
| 426 | - margin-left: auto; | |
| 427 | - | |
| 428 | - &:empty { | |
| 429 | - display: none; | |
| 430 | - } | |
| 431 | -} | |
| 432 | - | |
| 433 | -.strip-chip { | |
| 434 | - display: inline-flex; | |
| 435 | - align-items: center; | |
| 436 | - gap: 6px; | |
| 437 | - height: 26px; | |
| 438 | - padding: 0 10px; | |
| 439 | - color: var(--text); | |
| 440 | - white-space: nowrap; | |
| 441 | - border: 1px solid var(--border); | |
| 442 | - border-radius: var(--radius-full); | |
| 443 | - | |
| 444 | - &:hover { | |
| 445 | - text-decoration: none; | |
| 446 | - background: var(--surface-2); | |
| 447 | - } | |
| 448 | -} | |
| 449 | - | |
| 450 | -// The newest CI run over the tree: its dot, number and words, and All runs at the right. | |
| 451 | -.repo-ci { | |
| 452 | - display: flex; | |
| 453 | - align-items: center; | |
| 454 | - gap: 12px; | |
| 455 | - padding: 8px 0; | |
| 456 | - font-size: 13px; | |
| 457 | - border-bottom: 1px solid var(--border); | |
| 458 | - | |
| 459 | - .side-run-link { | |
| 460 | - flex: 1 1 auto; | |
| 461 | - min-width: 0; | |
| 462 | - padding: 0; | |
| 463 | - } | |
| 464 | -} | |
| 465 | - | |
| 466 | -// Tab icons in the repo sidebar nav (`.tab-icon` is spaced by the shell styles). | |
| 467 | -.repo-tabs .tab-icon svg { | |
| 468 | - width: 16px; | |
| 469 | - height: 16px; | |
| 470 | - fill: none; | |
| 471 | - stroke: currentColor; | |
| 472 | - stroke-width: 1.8; | |
| 473 | - stroke-linecap: round; | |
| 474 | - stroke-linejoin: round; | |
| 475 | -} | |
| 476 | - | |
| 477 | 244 | // README card: a header strip with the file name, then padded body. |
| 478 | 245 | .readme { |
| 479 | 246 | margin-top: 24px; |
| @@ -491,13 +258,6 @@ html.tree-resizing .repo-split::before { | ||
| 491 | 258 | } |
| 492 | 259 | } |
| 493 | 260 | |
| 494 | -// File viewer: the header strip matches the README strip. | |
| 495 | -.file-head { | |
| 496 | - padding: 10px 16px; | |
| 497 | - font-size: 14px; | |
| 498 | - background: var(--surface-2); | |
| 499 | -} | |
| 500 | - | |
| 501 | 261 | .commit-summary { |
| 502 | 262 | font-size: 15px; |
| 503 | 263 | font-weight: 600; |
| @@ -519,40 +279,6 @@ html.tree-resizing .repo-split::before { | ||
| 519 | 279 | } |
| 520 | 280 | } |
| 521 | 281 | |
| 522 | -.role-list { | |
| 523 | - display: grid; | |
| 524 | - gap: 4px 0; | |
| 525 | - margin: 0; | |
| 526 | - | |
| 527 | - dt { | |
| 528 | - font-weight: 600; | |
| 529 | - color: var(--text); | |
| 530 | - } | |
| 531 | - | |
| 532 | - dd { | |
| 533 | - margin: 0 0 8px; | |
| 534 | - color: var(--muted); | |
| 535 | - } | |
| 536 | - | |
| 537 | - @media (min-width: 640px) { | |
| 538 | - grid-template-columns: max-content 1fr; | |
| 539 | - gap: 8px 24px; | |
| 540 | - align-items: baseline; | |
| 541 | - | |
| 542 | - dd { | |
| 543 | - margin: 0; | |
| 544 | - } | |
| 545 | - } | |
| 546 | -} | |
| 547 | - | |
| 548 | -@media (max-width: 560px) { | |
| 549 | - | |
| 550 | -} | |
| 551 | - | |
| 552 | -@media (max-width: 480px) { | |
| 553 | - | |
| 554 | -} | |
| 555 | - | |
| 556 | 282 | // Audit fixes: repo tab icons sit on the text baseline, listing tables end flush with their |
| 557 | 283 | // container, and release cards keep their markdown headings in proportion. |
| 558 | 284 | .repo-tabs .tab { |
| @@ -560,12 +286,6 @@ html.tree-resizing .repo-split::before { | ||
| 560 | 286 | align-items: center; |
| 561 | 287 | gap: 8px; |
| 562 | 288 | |
| 563 | - .tab-icon { | |
| 564 | - display: inline-flex; | |
| 565 | - flex: none; | |
| 566 | - align-items: center; | |
| 567 | - margin: 0; | |
| 568 | - } | |
| 569 | 289 | } |
| 570 | 290 | |
| 571 | 291 | // Form stacks: help text sits right under its field (the stack gap already spaces blocks), and |
| @@ -608,13 +328,6 @@ html.tree-resizing .repo-split::before { | ||
| 608 | 328 | } |
| 609 | 329 | } |
| 610 | 330 | |
| 611 | -@media (max-width: 600px) { | |
| 612 | - | |
| 613 | -} | |
| 614 | - | |
| 615 | -@media (max-width: 600px) { | |
| 616 | -} | |
| 617 | - | |
| 618 | 331 | // A CI badge on forge's own pages (syncBadges in nav.js): the two halves of the SVG, in theme colours. |
| 619 | 332 | // The image stays hidden while its data is fetched, so it does not flash its own colours. |
| 620 | 333 | img.badge-wait { |
style/_repo_side.scssmodified+0 -64
| @@ -10,23 +10,6 @@ | ||
| 10 | 10 | border-bottom: 1px solid var(--border-strong); |
| 11 | 11 | } |
| 12 | 12 | |
| 13 | -// The run is one link: an ember dot that glows while the run goes, the number, | |
| 14 | -// a slim heat bar of the jobs done (while it goes), and one muted line on the right: the current | |
| 15 | -// job and its clock, or the result and the total time. | |
| 16 | -.side-run-link { | |
| 17 | - display: flex; | |
| 18 | - align-items: center; | |
| 19 | - gap: 8px; | |
| 20 | - min-width: 0; | |
| 21 | - padding: 11px 0; | |
| 22 | - color: inherit; | |
| 23 | - text-decoration: none; | |
| 24 | - | |
| 25 | - &:hover .side-run-name { | |
| 26 | - text-decoration: underline; | |
| 27 | - } | |
| 28 | -} | |
| 29 | - | |
| 30 | 13 | .health-dot.ember { |
| 31 | 14 | background: var(--heat-3); |
| 32 | 15 | box-shadow: 0 0 6px var(--heat-glow); |
| @@ -42,50 +25,3 @@ | ||
| 42 | 25 | box-shadow: 0 0 10px var(--heat-glow); |
| 43 | 26 | } |
| 44 | 27 | } |
| 45 | - | |
| 46 | -.side-run-name { | |
| 47 | - flex: none; | |
| 48 | - color: var(--text); | |
| 49 | - font-size: 14px; | |
| 50 | - font-weight: 600; | |
| 51 | - font-variant-numeric: tabular-nums; | |
| 52 | -} | |
| 53 | - | |
| 54 | -progress.side-run-bar { | |
| 55 | - -webkit-appearance: none; | |
| 56 | - appearance: none; | |
| 57 | - flex: 1 1 auto; | |
| 58 | - box-sizing: border-box; | |
| 59 | - min-width: 24px; | |
| 60 | - height: 4px; | |
| 61 | - margin: 0; | |
| 62 | - border: 0; | |
| 63 | - border-radius: 2px; | |
| 64 | - overflow: hidden; | |
| 65 | - background: var(--border); | |
| 66 | - color: var(--heat-3); | |
| 67 | - | |
| 68 | - &::-webkit-progress-bar { | |
| 69 | - background: var(--border); | |
| 70 | - } | |
| 71 | - | |
| 72 | - &::-webkit-progress-value { | |
| 73 | - border-radius: 2px; | |
| 74 | - background: linear-gradient(90deg, var(--heat-2), var(--heat-3), var(--heat-4)); | |
| 75 | - } | |
| 76 | - | |
| 77 | - &::-moz-progress-bar { | |
| 78 | - border-radius: 2px; | |
| 79 | - background: linear-gradient(90deg, var(--heat-2), var(--heat-3), var(--heat-4)); | |
| 80 | - } | |
| 81 | -} | |
| 82 | - | |
| 83 | -.side-run-text { | |
| 84 | - min-width: 0; | |
| 85 | - margin-left: auto; | |
| 86 | - overflow: hidden; | |
| 87 | - font-size: 12px; | |
| 88 | - font-variant-numeric: tabular-nums; | |
| 89 | - text-overflow: ellipsis; | |
| 90 | - white-space: nowrap; | |
| 91 | -} |
style/_review_flow.scssmodified+0 -12
| @@ -1,13 +1,5 @@ | ||
| 1 | 1 | |
| 2 | 2 | |
| 3 | -.viewed-note { | |
| 4 | - flex: none; | |
| 5 | - font-size: 12px; | |
| 6 | - font-weight: 600; | |
| 7 | - color: var(--text); | |
| 8 | - white-space: nowrap; | |
| 9 | -} | |
| 10 | - | |
| 11 | 3 | // A viewed file keeps its heading and drops its diff until the reader opens it again by |
| 12 | 4 | // unmarking it. nav.js sets is-viewed on the section once the page has loaded. |
| 13 | 5 | .diff-file.is-viewed { |
| @@ -20,7 +12,3 @@ | ||
| 20 | 12 | opacity: 0.6; |
| 21 | 13 | } |
| 22 | 14 | } |
| 23 | - | |
| 24 | -@media (prefers-reduced-motion: reduce) { | |
| 25 | - | |
| 26 | -} |
style/_shell.scssmodified+0 -124
| @@ -47,12 +47,6 @@ | ||
| 47 | 47 | } |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | -.wordmark-mark { | |
| 51 | - width: 20px; | |
| 52 | - height: 20px; | |
| 53 | - color: var(--text); | |
| 54 | -} | |
| 55 | - | |
| 56 | 50 | .topbar .crumbs { |
| 57 | 51 | display: flex; |
| 58 | 52 | align-items: center; |
| @@ -78,48 +72,6 @@ | ||
| 78 | 72 | } |
| 79 | 73 | } |
| 80 | 74 | |
| 81 | -.top-search { | |
| 82 | - position: relative; | |
| 83 | - flex: 0 1 340px; | |
| 84 | - min-width: 0; | |
| 85 | - margin: 0 0 0 auto; | |
| 86 | - | |
| 87 | - input { | |
| 88 | - box-sizing: border-box; | |
| 89 | - width: 100%; | |
| 90 | - height: 36px; | |
| 91 | - min-width: 0; | |
| 92 | - margin: 0; | |
| 93 | - padding: 0 12px 0 36px; | |
| 94 | - border: 1px solid var(--border); | |
| 95 | - border-radius: var(--radius-md); | |
| 96 | - background: var(--surface); | |
| 97 | - color: var(--text); | |
| 98 | - font: inherit; | |
| 99 | - font-size: 14px; | |
| 100 | - | |
| 101 | - &::placeholder { | |
| 102 | - color: var(--muted); | |
| 103 | - } | |
| 104 | - | |
| 105 | - &:focus { | |
| 106 | - outline: none; | |
| 107 | - border-color: var(--accent); | |
| 108 | - box-shadow: 0 0 0 3px var(--accent-soft); | |
| 109 | - } | |
| 110 | - } | |
| 111 | -} | |
| 112 | - | |
| 113 | -.top-search-icon { | |
| 114 | - position: absolute; | |
| 115 | - top: 10px; | |
| 116 | - left: 11px; | |
| 117 | - width: 16px; | |
| 118 | - height: 16px; | |
| 119 | - color: var(--muted); | |
| 120 | - pointer-events: none; | |
| 121 | -} | |
| 122 | - | |
| 123 | 75 | .topbar .icon-btn { |
| 124 | 76 | position: relative; |
| 125 | 77 | display: grid; |
| @@ -190,14 +142,6 @@ | ||
| 190 | 142 | } |
| 191 | 143 | } |
| 192 | 144 | |
| 193 | -.pathbar-ico { | |
| 194 | - flex: none; | |
| 195 | - width: 15px; | |
| 196 | - height: 15px; | |
| 197 | - margin-right: 6px; | |
| 198 | - color: var(--muted); | |
| 199 | -} | |
| 200 | - | |
| 201 | 145 | .pathbar-segs { |
| 202 | 146 | display: flex; |
| 203 | 147 | align-items: center; |
| @@ -571,15 +515,6 @@ | ||
| 571 | 515 | color: var(--muted); |
| 572 | 516 | } |
| 573 | 517 | |
| 574 | -// Profile corner: the signed-in user's floating panel at the bottom left of the window (see | |
| 575 | -// `.corner-float`). Its menu opens upward from the panel. | |
| 576 | -.corner-wrap { | |
| 577 | - position: relative; | |
| 578 | - display: flex; | |
| 579 | - align-items: center; | |
| 580 | - gap: 4px; | |
| 581 | -} | |
| 582 | - | |
| 583 | 518 | .corner { |
| 584 | 519 | position: relative; |
| 585 | 520 | } |
| @@ -608,21 +543,6 @@ | ||
| 608 | 543 | } |
| 609 | 544 | } |
| 610 | 545 | |
| 611 | -// The name wraps onto at most two lines, breaking at spaces. A single word too long for the line | |
| 612 | -// breaks inside it. | |
| 613 | -.corner-name { | |
| 614 | - min-width: 0; | |
| 615 | - overflow: hidden; | |
| 616 | - font-size: 13.5px; | |
| 617 | - font-weight: 600; | |
| 618 | - line-height: 1.2; | |
| 619 | - white-space: normal; | |
| 620 | - overflow-wrap: break-word; | |
| 621 | - display: -webkit-box; | |
| 622 | - -webkit-line-clamp: 2; | |
| 623 | - -webkit-box-orient: vertical; | |
| 624 | -} | |
| 625 | - | |
| 626 | 546 | // The avatar beside the name. Running CI shows in the live strip, not around the avatar. |
| 627 | 547 | .corner-avatar { |
| 628 | 548 | display: grid; |
| @@ -711,11 +631,6 @@ a.chip { | ||
| 711 | 631 | .corner-float { |
| 712 | 632 | } |
| 713 | 633 | |
| 714 | -.corner-float.corner-away { | |
| 715 | - opacity: 0; | |
| 716 | - pointer-events: none; | |
| 717 | -} | |
| 718 | - | |
| 719 | 634 | // Placed in the top half of the window: the menu opens below the panel. In the right half it anchors |
| 720 | 635 | // to the panel's right edge instead of the left one. The default corner keeps the upward menu. |
| 721 | 636 | .corner-float[data-open="down"] .corner-menu { |
| @@ -737,20 +652,6 @@ a.chip { | ||
| 737 | 652 | right: 8px; |
| 738 | 653 | } |
| 739 | 654 | |
| 740 | -// The viewer's full name, never truncated. On a phone it wraps instead of running off the screen. | |
| 741 | -.corner-float .corner-name { | |
| 742 | - display: block; | |
| 743 | - padding-right: 4px; | |
| 744 | - white-space: nowrap; | |
| 745 | - overflow: visible; | |
| 746 | -} | |
| 747 | - | |
| 748 | -@media (max-width: 479px) { | |
| 749 | - .corner-float .corner-name { | |
| 750 | - white-space: normal; | |
| 751 | - } | |
| 752 | -} | |
| 753 | - | |
| 754 | 655 | .corner-float .corner-btn { |
| 755 | 656 | padding: 2px 4px; |
| 756 | 657 | } |
| @@ -835,10 +736,6 @@ body[data-signed-in] .shell:not(:has(> .shell-sidebar)) .site-footer { | ||
| 835 | 736 | display: none; |
| 836 | 737 | } |
| 837 | 738 | |
| 838 | - .top-search { | |
| 839 | - flex: 1 1 0; | |
| 840 | - } | |
| 841 | - | |
| 842 | 739 | // Phones: the path bar shows only the last segment, and the live strip goes (its counts are in the menu). |
| 843 | 740 | .pathbar-segs li:not(:last-child) { |
| 844 | 741 | display: none; |
| @@ -860,13 +757,6 @@ body[data-signed-in] .shell:not(:has(> .shell-sidebar)) .site-footer { | ||
| 860 | 757 | } |
| 861 | 758 | } |
| 862 | 759 | |
| 863 | -@media (max-width: 639px) { | |
| 864 | - .top-search { | |
| 865 | - display: none; | |
| 866 | - } | |
| 867 | - | |
| 868 | -} | |
| 869 | - | |
| 870 | 760 | @media (min-width: 700px) { |
| 871 | 761 | .shell-body > main { |
| 872 | 762 | padding: 20px 28px 24px; |
| @@ -882,20 +772,6 @@ body[data-signed-in] .shell:not(:has(> .shell-sidebar)) .site-footer { | ||
| 882 | 772 | display: none; |
| 883 | 773 | } |
| 884 | 774 | |
| 885 | - .shell:has(> .shell-sidebar) { | |
| 886 | - grid-template-columns: var(--sidebar-w) minmax(0, 1fr); | |
| 887 | - } | |
| 888 | - | |
| 889 | -} | |
| 890 | - | |
| 891 | -// Sidebar on the right (the user's preference, set on <html> as data-sidebar). The section sidebar | |
| 892 | -// takes the second column and its border moves to its inner edge. Below | |
| 893 | -// 900px the sidebar is hidden either way, so the phone layout and the nav toggle are unchanged. | |
| 894 | -@media (min-width: 900px) { | |
| 895 | - html[data-sidebar="right"] .shell:has(> .shell-sidebar) { | |
| 896 | - grid-template-columns: minmax(0, 1fr) var(--sidebar-w); | |
| 897 | - } | |
| 898 | - | |
| 899 | 775 | } |
| 900 | 776 | |
| 901 | 777 | // Soft navigation: a thin progress line along the top while a page is being fetched in place |
style/_timeline.scssmodified+0 -51
| @@ -6,57 +6,6 @@ | ||
| 6 | 6 | padding-bottom: 12px; |
| 7 | 7 | } |
| 8 | 8 | |
| 9 | -// The Code tab's head: no title row. The tabs sit at the left, and the visibility, the counts and | |
| 10 | -// the watch and star controls sit at the right end of the same row. Fork and mirror lines wrap | |
| 11 | -// under the row. | |
| 12 | -.repo-head-code { | |
| 13 | - justify-content: flex-start; | |
| 14 | - | |
| 15 | - > div:first-child:empty { | |
| 16 | - display: none; | |
| 17 | - } | |
| 18 | - | |
| 19 | - > div:first-child { | |
| 20 | - order: 2; | |
| 21 | - flex: 1 0 100%; | |
| 22 | - } | |
| 23 | - | |
| 24 | - .repo-tabs { | |
| 25 | - margin-right: auto; | |
| 26 | - } | |
| 27 | - | |
| 28 | -} | |
| 29 | - | |
| 30 | -// One rule under the whole row, so the actions read as part of the tab bar. The tab icons go to | |
| 31 | -// make the room. Under 1280px the two no longer fit, and the actions take a row of their own. | |
| 32 | -@media (min-width: 900px) { | |
| 33 | - .repo-head-code { | |
| 34 | - align-items: center; | |
| 35 | - border-bottom: 1px solid var(--border); | |
| 36 | - | |
| 37 | - .repo-tabs { | |
| 38 | - margin-bottom: 0; | |
| 39 | - border-bottom: 0; | |
| 40 | - } | |
| 41 | - | |
| 42 | - .repo-tabs .tab-icon { | |
| 43 | - display: none; | |
| 44 | - } | |
| 45 | - } | |
| 46 | -} | |
| 47 | - | |
| 48 | -@media (min-width: 1280px) { | |
| 49 | - .repo-head-code { | |
| 50 | - flex-wrap: nowrap; | |
| 51 | - | |
| 52 | - .repo-tabs { | |
| 53 | - flex: 0 1 auto; | |
| 54 | - min-width: 0; | |
| 55 | - } | |
| 56 | - | |
| 57 | - } | |
| 58 | -} | |
| 59 | - | |
| 60 | 9 | // The page is exactly one window: the footer is left off this page, and the panes and the dock |
| 61 | 10 | // fill the height. (The footer would sit under the floating profile panel.) |
| 62 | 11 | body:has(.repo-home) .site-footer { |
style/_timeline_ci.scssmodified+0 -377
| @@ -26,188 +26,6 @@ | ||
| 26 | 26 | box-shadow: none; |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | -// Head: `Run #N` in mono, the title in Archivo at 24 px at most, the full message on demand; the meta | |
| 30 | -// line below it; one or two actions at the right. | |
| 31 | -.ci-tl-head { | |
| 32 | - position: relative; | |
| 33 | - flex: none; | |
| 34 | - height: 64px; | |
| 35 | - display: flex; | |
| 36 | - align-items: center; | |
| 37 | - justify-content: space-between; | |
| 38 | - gap: 16px; | |
| 39 | - min-width: 0; | |
| 40 | - margin: 0; | |
| 41 | -} | |
| 42 | - | |
| 43 | -.ci-tl-headmain { | |
| 44 | - flex: 1 1 auto; | |
| 45 | - min-width: 0; | |
| 46 | - display: flex; | |
| 47 | - flex-direction: column; | |
| 48 | - gap: 4px; | |
| 49 | -} | |
| 50 | - | |
| 51 | -.ci-tl-line { | |
| 52 | - display: flex; | |
| 53 | - align-items: baseline; | |
| 54 | - gap: 12px; | |
| 55 | - min-width: 0; | |
| 56 | -} | |
| 57 | - | |
| 58 | -.ci-tl-no { | |
| 59 | - flex: none; | |
| 60 | - font-family: var(--mono); | |
| 61 | - font-size: 11px; | |
| 62 | - font-weight: 500; | |
| 63 | - letter-spacing: 0.12em; | |
| 64 | - text-transform: uppercase; | |
| 65 | - color: var(--muted); | |
| 66 | - white-space: nowrap; | |
| 67 | - | |
| 68 | - a { | |
| 69 | - color: inherit; | |
| 70 | - } | |
| 71 | -} | |
| 72 | - | |
| 73 | -.ci-tl-title { | |
| 74 | - flex: 0 1 auto; | |
| 75 | - min-width: 0; | |
| 76 | - margin: 0; | |
| 77 | - font-family: var(--display, var(--font)); | |
| 78 | - font-size: 24px; | |
| 79 | - font-weight: 700; | |
| 80 | - line-height: 1.2; | |
| 81 | - white-space: nowrap; | |
| 82 | - overflow: hidden; | |
| 83 | - text-overflow: ellipsis; | |
| 84 | -} | |
| 85 | - | |
| 86 | -.ci-tl-more { | |
| 87 | - flex: none; | |
| 88 | - font-size: 13px; | |
| 89 | - color: var(--text-2); | |
| 90 | - | |
| 91 | - summary { | |
| 92 | - cursor: pointer; | |
| 93 | - text-decoration: underline; | |
| 94 | - text-underline-offset: 3px; | |
| 95 | - } | |
| 96 | - | |
| 97 | - p { | |
| 98 | - position: absolute; | |
| 99 | - z-index: 5; | |
| 100 | - margin-top: 6px; | |
| 101 | - max-width: 560px; | |
| 102 | - padding: 10px 12px; | |
| 103 | - background: var(--surface-2); | |
| 104 | - border: 1px solid var(--border); | |
| 105 | - border-radius: 8px; | |
| 106 | - } | |
| 107 | -} | |
| 108 | - | |
| 109 | -.ci-tl-meta { | |
| 110 | - display: flex; | |
| 111 | - align-items: center; | |
| 112 | - gap: 12px; | |
| 113 | - min-width: 0; | |
| 114 | - font-size: 13px; | |
| 115 | - white-space: nowrap; | |
| 116 | - overflow: hidden; | |
| 117 | - | |
| 118 | - .ci-state { | |
| 119 | - color: var(--text-2); | |
| 120 | - } | |
| 121 | - | |
| 122 | - // The state is accent only while the run is live. | |
| 123 | - .ci-state.ci-running, | |
| 124 | - .ci-state.ci-queued, | |
| 125 | - .ci-state.ci-waiting_approval { | |
| 126 | - color: var(--accent-ink); | |
| 127 | - font-weight: 600; | |
| 128 | - } | |
| 129 | - | |
| 130 | - .ci-tl-dur { | |
| 131 | - font-family: var(--mono); | |
| 132 | - font-size: 12px; | |
| 133 | - color: var(--text-2); | |
| 134 | - } | |
| 135 | -} | |
| 136 | - | |
| 137 | -.ci-tl-actions { | |
| 138 | - flex: none; | |
| 139 | - display: flex; | |
| 140 | - align-items: center; | |
| 141 | - gap: 8px; | |
| 142 | - margin: 0; | |
| 143 | -} | |
| 144 | - | |
| 145 | -// The progress of a running run: a hairline at the foot of the head. | |
| 146 | -.ci-tl-head .ci-est-run { | |
| 147 | - position: absolute; | |
| 148 | - left: 0; | |
| 149 | - right: 0; | |
| 150 | - bottom: 0; | |
| 151 | - width: 100%; | |
| 152 | - height: 2px; | |
| 153 | -} | |
| 154 | - | |
| 155 | -// Main: the jobs (300 px) and the log, both the height the page leaves them. | |
| 156 | -.ci-tl-main { | |
| 157 | - flex: 1 1 0; | |
| 158 | - min-height: 0; | |
| 159 | - display: grid; | |
| 160 | - grid-template-columns: 300px minmax(0, 1fr); | |
| 161 | - gap: 12px; | |
| 162 | -} | |
| 163 | - | |
| 164 | -.ci-tl-label { | |
| 165 | - display: block; | |
| 166 | - flex: none; | |
| 167 | - margin: 0; | |
| 168 | - font-family: var(--mono); | |
| 169 | - font-size: 11px; | |
| 170 | - font-weight: 500; | |
| 171 | - letter-spacing: 0.12em; | |
| 172 | - text-transform: uppercase; | |
| 173 | - color: var(--muted); | |
| 174 | -} | |
| 175 | - | |
| 176 | -.ci-tl-pad { | |
| 177 | - padding: 0 14px; | |
| 178 | -} | |
| 179 | - | |
| 180 | -// Jobs pane: a 36 px title row, then one 36 px row per job. | |
| 181 | -.ci-tl-jobs { | |
| 182 | - overflow-y: auto; | |
| 183 | - overscroll-behavior: contain; | |
| 184 | - | |
| 185 | - > .ci-tl-label { | |
| 186 | - height: 36px; | |
| 187 | - line-height: 36px; | |
| 188 | - padding: 0 14px; | |
| 189 | - box-shadow: inset 0 -1px var(--border); | |
| 190 | - } | |
| 191 | - | |
| 192 | - .ci-tl-facts { | |
| 193 | - padding-top: 12px; | |
| 194 | - padding-bottom: 8px; | |
| 195 | - font-size: 13px; | |
| 196 | - | |
| 197 | - p { | |
| 198 | - margin: 0 0 4px; | |
| 199 | - } | |
| 200 | - } | |
| 201 | - | |
| 202 | - .ci-art-list, | |
| 203 | - .ci-artifacts { | |
| 204 | - margin: 0; | |
| 205 | - padding: 0 14px 12px; | |
| 206 | - list-style: none; | |
| 207 | - font-size: 13px; | |
| 208 | - } | |
| 209 | -} | |
| 210 | - | |
| 211 | 29 | .ci-tl-list { |
| 212 | 30 | flex: none; |
| 213 | 31 | margin: 0; |
| @@ -254,63 +72,6 @@ | ||
| 254 | 72 | } |
| 255 | 73 | } |
| 256 | 74 | |
| 257 | -.ci-tl-sub .ci-tl-job { | |
| 258 | - padding-left: 28px; | |
| 259 | -} | |
| 260 | - | |
| 261 | -// The job's bar: a 3 px band along the bottom of its row, one segment per step. It sits over the row's | |
| 262 | -// hairline and takes no room, so the row keeps its height. | |
| 263 | -.ci-tl-stepbar { | |
| 264 | - position: absolute; | |
| 265 | - left: 0; | |
| 266 | - bottom: 0; | |
| 267 | - display: block; | |
| 268 | - width: 100%; | |
| 269 | - height: 3px; | |
| 270 | - pointer-events: none; | |
| 271 | - | |
| 272 | - .ci-sbar-pass { | |
| 273 | - fill: var(--border-strong); | |
| 274 | - } | |
| 275 | - | |
| 276 | - .ci-sbar-fail { | |
| 277 | - fill: var(--bad); | |
| 278 | - } | |
| 279 | - | |
| 280 | - .ci-sbar-off, | |
| 281 | - .ci-sbar-track { | |
| 282 | - fill: var(--border); | |
| 283 | - } | |
| 284 | - | |
| 285 | - .ci-sbar-run { | |
| 286 | - fill: var(--accent); | |
| 287 | - } | |
| 288 | -} | |
| 289 | - | |
| 290 | -// A job's steps: a dropdown under its row. The row keeps room for the toggle at its right end, and while | |
| 291 | -// the dropdown is open the row's bar gives way to the step lines (the bar is the summary when shut). | |
| 292 | -.ci-tl-hassteps { | |
| 293 | - position: relative; | |
| 294 | - | |
| 295 | - > .ci-tl-job { | |
| 296 | - padding-right: 40px; | |
| 297 | - } | |
| 298 | - | |
| 299 | - &:has(> details[open]) .ci-tl-stepbar { | |
| 300 | - display: none; | |
| 301 | - } | |
| 302 | -} | |
| 303 | - | |
| 304 | -.ci-tl-steps { | |
| 305 | - margin: 0; | |
| 306 | -} | |
| 307 | - | |
| 308 | -.ci-tl-steplist { | |
| 309 | - margin: 0; | |
| 310 | - padding: 0; | |
| 311 | - list-style: none; | |
| 312 | -} | |
| 313 | - | |
| 314 | 75 | // The toggle sits over the job row's right end, a 28 px target (36 px on a phone). Its chevron turns |
| 315 | 76 | // when the dropdown is open; the browser's marker is gone. |
| 316 | 77 | .ci-tl-steptoggle { |
| @@ -343,84 +104,6 @@ | ||
| 343 | 104 | } |
| 344 | 105 | } |
| 345 | 106 | |
| 346 | -.ci-tl-steps[open] > .ci-tl-steptoggle .ci-chev { | |
| 347 | - transform: rotate(45deg); | |
| 348 | -} | |
| 349 | - | |
| 350 | -// A step under its job: a 30 px line with a 6 px mark, its name and its duration at the right. | |
| 351 | -// Indented past the job's dot, one level more for a matrix combination. The selected step has an | |
| 352 | -// accent edge on the left, and a failed step's name reads in --text. Its progress bar is along the foot. | |
| 353 | -.ci-tl-step { | |
| 354 | - position: relative; | |
| 355 | - display: flex; | |
| 356 | - align-items: center; | |
| 357 | - gap: 8px; | |
| 358 | - height: 30px; | |
| 359 | - min-width: 0; | |
| 360 | - padding: 0 14px 0 34px; | |
| 361 | - box-shadow: inset 0 -1px var(--border); | |
| 362 | - color: var(--text-2); | |
| 363 | - text-decoration: none; | |
| 364 | - font-size: 12px; | |
| 365 | - | |
| 366 | - &.ci-tl-step-sub { | |
| 367 | - padding-left: 48px; | |
| 368 | - } | |
| 369 | - | |
| 370 | - &:hover { | |
| 371 | - background: var(--surface-2); | |
| 372 | - text-decoration: none; | |
| 373 | - } | |
| 374 | - | |
| 375 | - &[aria-current="true"] { | |
| 376 | - color: var(--text); | |
| 377 | - background: var(--surface-2); | |
| 378 | - box-shadow: inset 2px 0 var(--accent), inset 0 -1px var(--border); | |
| 379 | - } | |
| 380 | - | |
| 381 | - .ci-tl-dur { | |
| 382 | - margin-left: auto; | |
| 383 | - flex: none; | |
| 384 | - font-family: var(--mono); | |
| 385 | - font-size: 11px; | |
| 386 | - color: var(--text-2); | |
| 387 | - } | |
| 388 | -} | |
| 389 | - | |
| 390 | -.ci-tl-stepmark { | |
| 391 | - flex: none; | |
| 392 | - width: 6px; | |
| 393 | - height: 6px; | |
| 394 | - border-radius: 50%; | |
| 395 | - background: var(--muted); | |
| 396 | - | |
| 397 | - &.ci-st-run { | |
| 398 | - background: var(--accent); | |
| 399 | - } | |
| 400 | - | |
| 401 | - &.ci-st-fail { | |
| 402 | - background: var(--bad); | |
| 403 | - } | |
| 404 | - | |
| 405 | - &.ci-st-off { | |
| 406 | - background: transparent; | |
| 407 | - border: 1px solid var(--muted); | |
| 408 | - box-sizing: border-box; | |
| 409 | - } | |
| 410 | -} | |
| 411 | - | |
| 412 | -.ci-tl-stepname { | |
| 413 | - flex: 1 1 auto; | |
| 414 | - min-width: 0; | |
| 415 | - overflow: hidden; | |
| 416 | - text-overflow: ellipsis; | |
| 417 | - white-space: nowrap; | |
| 418 | -} | |
| 419 | - | |
| 420 | -.ci-st-fail ~ .ci-tl-stepname { | |
| 421 | - color: var(--text); | |
| 422 | -} | |
| 423 | - | |
| 424 | 107 | .ci-tl-stepexp { |
| 425 | 108 | flex: none; |
| 426 | 109 | font-family: var(--mono); |
| @@ -428,36 +111,6 @@ | ||
| 428 | 111 | color: var(--muted); |
| 429 | 112 | } |
| 430 | 113 | |
| 431 | -.ci-tl-name { | |
| 432 | - flex: 1 1 auto; | |
| 433 | - min-width: 0; | |
| 434 | - overflow: hidden; | |
| 435 | - text-overflow: ellipsis; | |
| 436 | - white-space: nowrap; | |
| 437 | -} | |
| 438 | - | |
| 439 | -// The image, as a mono tag. | |
| 440 | -.ci-tl-tag { | |
| 441 | - flex: none; | |
| 442 | - font-family: var(--mono); | |
| 443 | - font-size: 11px; | |
| 444 | - padding: 1px 7px; | |
| 445 | - border-radius: 5px; | |
| 446 | - background: var(--surface-2); | |
| 447 | - color: var(--text-2); | |
| 448 | -} | |
| 449 | - | |
| 450 | -.ci-tl-artline { | |
| 451 | - display: flex; | |
| 452 | - align-items: center; | |
| 453 | - justify-content: space-between; | |
| 454 | - gap: 8px; | |
| 455 | - height: 36px; | |
| 456 | - padding: 0 14px; | |
| 457 | - margin-top: 8px; | |
| 458 | - box-shadow: inset 0 -1px var(--border); | |
| 459 | -} | |
| 460 | - | |
| 461 | 114 | // Log pane: the 48 px bar (the tabs, then the log's tools), the code area, and the timeline tab. |
| 462 | 115 | .ci-tl-log { |
| 463 | 116 | position: relative; |
| @@ -624,15 +277,6 @@ | ||
| 624 | 277 | padding: 12px 14px; |
| 625 | 278 | } |
| 626 | 279 | |
| 627 | -.ci-dock-note { | |
| 628 | - position: absolute; | |
| 629 | - top: 12px; | |
| 630 | - right: 14px; | |
| 631 | - margin: 0; | |
| 632 | - font-size: 12px; | |
| 633 | - color: var(--muted); | |
| 634 | -} | |
| 635 | - | |
| 636 | 280 | .ci-dock .dock-history { |
| 637 | 281 | flex: 1 1 0; |
| 638 | 282 | min-height: 0; |
| @@ -687,16 +331,6 @@ | ||
| 687 | 331 | overflow: visible; |
| 688 | 332 | } |
| 689 | 333 | |
| 690 | - .ci-tl-main { | |
| 691 | - grid-template-columns: minmax(0, 1fr); | |
| 692 | - } | |
| 693 | - | |
| 694 | - .ci-tl-head { | |
| 695 | - height: auto; | |
| 696 | - flex-wrap: wrap; | |
| 697 | - } | |
| 698 | - | |
| 699 | - .ci-tl-jobs, | |
| 700 | 334 | .ci-tl-log, |
| 701 | 335 | .ci-tl-panel-timeline { |
| 702 | 336 | overflow: visible; |
| @@ -707,10 +341,6 @@ | ||
| 707 | 341 | width: 36px; |
| 708 | 342 | } |
| 709 | 343 | |
| 710 | - .ci-tl-hassteps > .ci-tl-job { | |
| 711 | - padding-right: 46px; | |
| 712 | - } | |
| 713 | - | |
| 714 | 344 | // These panels share out a fixed height on a wide window; here there is none to share. |
| 715 | 345 | .ci-tl-panel { |
| 716 | 346 | flex: none; |
| @@ -726,10 +356,3 @@ | ||
| 726 | 356 | min-height: 140px; |
| 727 | 357 | } |
| 728 | 358 | } |
| 729 | - | |
| 730 | -// The commits page: the list scrolls inside a pane that fills the window under the tabs, and the pager | |
| 731 | -// stays under it. Below 900px the list grows with its rows, as the page stacks. | |
| 732 | -@media (min-width: 900px) { | |
| 733 | - | |
| 734 | -} | |
| 735 | - |
style/main.scssmodified+85 -1341
| @@ -356,10 +356,6 @@ main { | ||
| 356 | 356 | border-top: 1px solid var(--border); |
| 357 | 357 | } |
| 358 | 358 | |
| 359 | -.repo-title { | |
| 360 | - word-break: break-all; | |
| 361 | -} | |
| 362 | - | |
| 363 | 359 | .actions { |
| 364 | 360 | display: flex; |
| 365 | 361 | gap: 12px; |
| @@ -886,14 +882,6 @@ code { | ||
| 886 | 882 | } |
| 887 | 883 | } |
| 888 | 884 | |
| 889 | -@media (max-width: 600px) { | |
| 890 | - | |
| 891 | -} | |
| 892 | - | |
| 893 | -@media (max-width: 600px) { | |
| 894 | - | |
| 895 | -} | |
| 896 | - | |
| 897 | 885 | // Small screens |
| 898 | 886 | |
| 899 | 887 | @media (max-width: 600px) { |
| @@ -906,17 +894,6 @@ code { | ||
| 906 | 894 | } |
| 907 | 895 | } |
| 908 | 896 | |
| 909 | -// Code search | |
| 910 | - | |
| 911 | -.repo-search { | |
| 912 | - margin: 0 0 12px; | |
| 913 | - | |
| 914 | - input { | |
| 915 | - width: 100%; | |
| 916 | - max-width: 360px; | |
| 917 | - } | |
| 918 | -} | |
| 919 | - | |
| 920 | 897 | .search-form { |
| 921 | 898 | margin: 0 0 16px; |
| 922 | 899 | } |
| @@ -925,15 +902,6 @@ code { | ||
| 925 | 902 | margin: 0 0 16px; |
| 926 | 903 | } |
| 927 | 904 | |
| 928 | -.search-file-name { | |
| 929 | - font-size: 1rem; | |
| 930 | - margin: 0 0 4px; | |
| 931 | - | |
| 932 | - a { | |
| 933 | - color: var(--text); | |
| 934 | - } | |
| 935 | -} | |
| 936 | - | |
| 937 | 905 | .search-hits { |
| 938 | 906 | list-style: none; |
| 939 | 907 | margin: 0; |
| @@ -952,12 +920,6 @@ code { | ||
| 952 | 920 | min-width: 0; |
| 953 | 921 | } |
| 954 | 922 | |
| 955 | -.search-results mark { | |
| 956 | - background: var(--row-target); | |
| 957 | - color: inherit; | |
| 958 | - border-radius: 2px; | |
| 959 | -} | |
| 960 | - | |
| 961 | 923 | // Repo tabs |
| 962 | 924 | |
| 963 | 925 | .repo-tabs { |
| @@ -1563,27 +1525,6 @@ code { | ||
| 1563 | 1525 | min-width: 0; |
| 1564 | 1526 | } |
| 1565 | 1527 | |
| 1566 | -.file-head { | |
| 1567 | - display: flex; | |
| 1568 | - align-items: center; | |
| 1569 | - justify-content: space-between; | |
| 1570 | - gap: 8px 16px; | |
| 1571 | - flex-wrap: wrap; | |
| 1572 | - padding: 8px 12px; | |
| 1573 | - background: var(--surface); | |
| 1574 | - border: 1px solid var(--border); | |
| 1575 | - border-bottom: 0; | |
| 1576 | - border-radius: var(--radius-lg) var(--radius-lg) 0 0; | |
| 1577 | -} | |
| 1578 | - | |
| 1579 | -.file-actions { | |
| 1580 | - display: flex; | |
| 1581 | - gap: 14px; | |
| 1582 | - flex-wrap: wrap; | |
| 1583 | - font-size: 0.875rem; | |
| 1584 | - margin-left: auto; | |
| 1585 | -} | |
| 1586 | - | |
| 1587 | 1528 | .file-view, |
| 1588 | 1529 | .diff-file-body { |
| 1589 | 1530 | max-width: 100%; |
| @@ -1683,12 +1624,6 @@ code { | ||
| 1683 | 1624 | flex-direction: column; |
| 1684 | 1625 | gap: 12px; |
| 1685 | 1626 | |
| 1686 | - .check-field { | |
| 1687 | - display: flex; | |
| 1688 | - flex-direction: column; | |
| 1689 | - gap: 2px; | |
| 1690 | - } | |
| 1691 | - | |
| 1692 | 1627 | small, |
| 1693 | 1628 | .notice { |
| 1694 | 1629 | font-size: 0.8125rem; |
| @@ -1829,10 +1764,6 @@ code { | ||
| 1829 | 1764 | |
| 1830 | 1765 | @media (max-width: 600px) { |
| 1831 | 1766 | |
| 1832 | - .file-actions { | |
| 1833 | - margin-left: 0; | |
| 1834 | - } | |
| 1835 | - | |
| 1836 | 1767 | // The branch switcher opens as a full-width sheet from the bottom, with larger tap targets. |
| 1837 | 1768 | .ref-menu { |
| 1838 | 1769 | position: fixed; |
| @@ -1863,31 +1794,6 @@ code { | ||
| 1863 | 1794 | } |
| 1864 | 1795 | } |
| 1865 | 1796 | |
| 1866 | -// profile page | |
| 1867 | - | |
| 1868 | -.profile-page { | |
| 1869 | - display: flex; | |
| 1870 | - flex-direction: column; | |
| 1871 | - gap: 24px; | |
| 1872 | - padding-top: 8px; | |
| 1873 | -} | |
| 1874 | - | |
| 1875 | -.profile-head { | |
| 1876 | - display: flex; | |
| 1877 | - align-items: center; | |
| 1878 | - gap: 24px; | |
| 1879 | - flex-wrap: wrap; | |
| 1880 | - | |
| 1881 | - h1 { | |
| 1882 | - margin: 0 0 4px; | |
| 1883 | - overflow-wrap: anywhere; | |
| 1884 | - } | |
| 1885 | - | |
| 1886 | - p { | |
| 1887 | - margin: 0; | |
| 1888 | - } | |
| 1889 | -} | |
| 1890 | - | |
| 1891 | 1797 | .profile-avatar { |
| 1892 | 1798 | width: 160px; |
| 1893 | 1799 | height: 160px; |
| @@ -1914,19 +1820,6 @@ code { | ||
| 1914 | 1820 | } |
| 1915 | 1821 | } |
| 1916 | 1822 | |
| 1917 | -@media (min-width: 900px) { | |
| 1918 | - | |
| 1919 | -} | |
| 1920 | - | |
| 1921 | -@media (max-width: 899px) { | |
| 1922 | - | |
| 1923 | -} | |
| 1924 | - | |
| 1925 | -// Phones: the tabs fit the screen width with tighter padding. | |
| 1926 | -@media (max-width: 480px) { | |
| 1927 | - | |
| 1928 | -} | |
| 1929 | - | |
| 1930 | 1823 | // Pagers: Previous, "Page X of Y", Next in one row. |
| 1931 | 1824 | .pager { |
| 1932 | 1825 | display: flex; |
| @@ -2083,19 +1976,6 @@ code { | ||
| 2083 | 1976 | --c-span: calc(0.16 * 12 / 11); |
| 2084 | 1977 | } |
| 2085 | 1978 | |
| 2086 | -.hue-row { | |
| 2087 | - display: grid; | |
| 2088 | - grid-template-columns: 4.5rem minmax(0, 1fr); | |
| 2089 | - align-items: start; | |
| 2090 | - gap: 8px 12px; | |
| 2091 | - min-width: 0; | |
| 2092 | - | |
| 2093 | - // The Custom choice takes the width of one preset, so the sliders line up beside the presets. | |
| 2094 | - > .colour-choice { | |
| 2095 | - width: 4.5rem; | |
| 2096 | - } | |
| 2097 | -} | |
| 2098 | - | |
| 2099 | 1979 | // The sliders stack: the hue slider full width, then the vividness slider and the hex box on one line, |
| 2100 | 1980 | // then a note that shows only when a typed hex was lightened to keep text readable. |
| 2101 | 1981 | .tune { |
| @@ -2197,16 +2077,6 @@ code { | ||
| 2197 | 2077 | } |
| 2198 | 2078 | } |
| 2199 | 2079 | |
| 2200 | -// The lightness note is empty, and so hidden, unless a typed colour was lightened. | |
| 2201 | -.hex-note { | |
| 2202 | - font-size: 0.75rem; | |
| 2203 | - color: var(--muted); | |
| 2204 | - | |
| 2205 | - &:empty { | |
| 2206 | - display: none; | |
| 2207 | - } | |
| 2208 | -} | |
| 2209 | - | |
| 2210 | 2080 | // The Custom swatch shows the colour its row's sliders stand for. |
| 2211 | 2081 | .hue-swatch { |
| 2212 | 2082 | background: oklch(var(--track-l) var(--track-c) var(--hue)); |
| @@ -2314,86 +2184,6 @@ code { | ||
| 2314 | 2184 | outline-offset: 1px; |
| 2315 | 2185 | } |
| 2316 | 2186 | |
| 2317 | -// branch protection | |
| 2318 | -// Settings page: one bordered list of rules. Each rule is a row: a one-line summary (pattern, pills, | |
| 2319 | -// Edit and a chevron) that opens its form below it. The default-branch row, when no rule covers it, | |
| 2320 | -// is a plain muted row, and New rule is the last row. | |
| 2321 | -.rule-list { | |
| 2322 | - display: flex; | |
| 2323 | - flex-direction: column; | |
| 2324 | - margin-bottom: 10px; | |
| 2325 | - overflow: hidden; | |
| 2326 | - border: 1px solid var(--border); | |
| 2327 | - border-radius: var(--radius-md); | |
| 2328 | - background: var(--surface); | |
| 2329 | - | |
| 2330 | - > * + * { | |
| 2331 | - border-top: 1px solid var(--border); | |
| 2332 | - } | |
| 2333 | -} | |
| 2334 | - | |
| 2335 | -// A rule row: the summary is one 44px line, and the form under it sits on the page background. | |
| 2336 | -.rule-row { | |
| 2337 | - > summary { | |
| 2338 | - display: grid; | |
| 2339 | - grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto; | |
| 2340 | - align-items: center; | |
| 2341 | - gap: 12px; | |
| 2342 | - height: 44px; | |
| 2343 | - padding: 0 14px; | |
| 2344 | - cursor: pointer; | |
| 2345 | - list-style: none; | |
| 2346 | - | |
| 2347 | - &::-webkit-details-marker { | |
| 2348 | - display: none; | |
| 2349 | - } | |
| 2350 | - | |
| 2351 | - &:hover { | |
| 2352 | - background: var(--surface-2); | |
| 2353 | - } | |
| 2354 | - } | |
| 2355 | - | |
| 2356 | - > .rule-form { | |
| 2357 | - border-top: 1px solid var(--border); | |
| 2358 | - background: var(--bg); | |
| 2359 | - } | |
| 2360 | - | |
| 2361 | - // The summary's Edit text and chevron. The chevron points down when closed and up when open. | |
| 2362 | - > summary .rule-end { | |
| 2363 | - display: flex; | |
| 2364 | - align-items: center; | |
| 2365 | - gap: 8px; | |
| 2366 | - color: var(--muted); | |
| 2367 | - font-size: 12px; | |
| 2368 | - } | |
| 2369 | - | |
| 2370 | - > summary .rule-chevron { | |
| 2371 | - flex: none; | |
| 2372 | - width: 7px; | |
| 2373 | - height: 7px; | |
| 2374 | - border-right: 2px solid var(--muted); | |
| 2375 | - border-bottom: 2px solid var(--muted); | |
| 2376 | - transform: rotate(45deg); | |
| 2377 | - } | |
| 2378 | - | |
| 2379 | - &[open] > summary .rule-chevron { | |
| 2380 | - transform: rotate(-135deg); | |
| 2381 | - } | |
| 2382 | -} | |
| 2383 | - | |
| 2384 | -.rule-pattern { | |
| 2385 | - min-width: 0; | |
| 2386 | - padding: 0; | |
| 2387 | - background: none; | |
| 2388 | - font-family: var(--mono); | |
| 2389 | - font-size: 15px; | |
| 2390 | - font-weight: 600; | |
| 2391 | - color: var(--text); | |
| 2392 | - white-space: nowrap; | |
| 2393 | - overflow: hidden; | |
| 2394 | - text-overflow: ellipsis; | |
| 2395 | -} | |
| 2396 | - | |
| 2397 | 2187 | // The pills share the middle column. When they run out of room, the last ones are cut off. |
| 2398 | 2188 | .rule-pills { |
| 2399 | 2189 | display: flex; |
| @@ -2404,51 +2194,6 @@ code { | ||
| 2404 | 2194 | text-overflow: ellipsis; |
| 2405 | 2195 | } |
| 2406 | 2196 | |
| 2407 | -.rule-pill { | |
| 2408 | - display: inline-flex; | |
| 2409 | - flex: none; | |
| 2410 | - align-items: center; | |
| 2411 | - padding: 1px 8px; | |
| 2412 | - border: 1px solid var(--border); | |
| 2413 | - border-radius: var(--radius-full); | |
| 2414 | - background: var(--surface-2); | |
| 2415 | - color: var(--text-2); | |
| 2416 | - font-size: 12px; | |
| 2417 | - line-height: 18px; | |
| 2418 | - white-space: nowrap; | |
| 2419 | - | |
| 2420 | - &.warn { | |
| 2421 | - border-color: var(--warn); | |
| 2422 | - background: color-mix(in srgb, var(--warn) 14%, transparent); | |
| 2423 | - color: var(--warn); | |
| 2424 | - } | |
| 2425 | - | |
| 2426 | - &.check { | |
| 2427 | - font-family: var(--mono); | |
| 2428 | - } | |
| 2429 | - | |
| 2430 | - &.muted { | |
| 2431 | - border-style: dashed; | |
| 2432 | - background: none; | |
| 2433 | - color: var(--muted); | |
| 2434 | - } | |
| 2435 | -} | |
| 2436 | - | |
| 2437 | -// The built-in default-branch row: muted, one line, not clickable. | |
| 2438 | -.rule-builtin { | |
| 2439 | - display: grid; | |
| 2440 | - grid-template-columns: minmax(0, auto) minmax(0, 1fr); | |
| 2441 | - align-items: center; | |
| 2442 | - gap: 12px; | |
| 2443 | - height: 44px; | |
| 2444 | - padding: 0 14px; | |
| 2445 | - color: var(--muted); | |
| 2446 | - | |
| 2447 | - .rule-pattern { | |
| 2448 | - color: var(--muted); | |
| 2449 | - } | |
| 2450 | -} | |
| 2451 | - | |
| 2452 | 2197 | // New rule: the last row, its one line in the accent colour. |
| 2453 | 2198 | .rule-new { |
| 2454 | 2199 | > summary { |
| @@ -2463,38 +2208,6 @@ code { | ||
| 2463 | 2208 | } |
| 2464 | 2209 | } |
| 2465 | 2210 | |
| 2466 | -// The rule form: four sections, each with a small uppercase legend. Pushes and Merging sit side by | |
| 2467 | -// side on wide screens. | |
| 2468 | -.rule-form { | |
| 2469 | - display: flex; | |
| 2470 | - flex-direction: column; | |
| 2471 | - gap: 20px; | |
| 2472 | - min-width: 0; | |
| 2473 | - padding: 16px; | |
| 2474 | - | |
| 2475 | - input[type="text"] { | |
| 2476 | - max-width: 28rem; | |
| 2477 | - } | |
| 2478 | - | |
| 2479 | - input[name="pattern"] { | |
| 2480 | - max-width: 320px; | |
| 2481 | - } | |
| 2482 | - | |
| 2483 | -} | |
| 2484 | - | |
| 2485 | -.rule-pair { | |
| 2486 | - display: grid; | |
| 2487 | - grid-template-columns: minmax(0, 1fr); | |
| 2488 | - gap: 20px; | |
| 2489 | -} | |
| 2490 | - | |
| 2491 | -@media (min-width: 900px) { | |
| 2492 | - .rule-pair { | |
| 2493 | - grid-template-columns: repeat(2, minmax(0, 1fr)); | |
| 2494 | - gap: 24px; | |
| 2495 | - } | |
| 2496 | -} | |
| 2497 | - | |
| 2498 | 2211 | .rule-section { |
| 2499 | 2212 | display: flex; |
| 2500 | 2213 | flex-direction: column; |
| @@ -2592,15 +2305,6 @@ code { | ||
| 2592 | 2305 | } |
| 2593 | 2306 | } |
| 2594 | 2307 | |
| 2595 | -// labels & milestones | |
| 2596 | -// Label list and create/edit forms on the labels page. Chips get their colors from labels.css. | |
| 2597 | -.label-head { | |
| 2598 | - display: flex; | |
| 2599 | - flex-wrap: wrap; | |
| 2600 | - align-items: center; | |
| 2601 | - gap: 8px; | |
| 2602 | -} | |
| 2603 | - | |
| 2604 | 2308 | .label-chip { |
| 2605 | 2309 | display: inline-block; |
| 2606 | 2310 | padding: 2px 10px; |
| @@ -2611,34 +2315,12 @@ code { | ||
| 2611 | 2315 | text-decoration: none; |
| 2612 | 2316 | } |
| 2613 | 2317 | |
| 2614 | -.label-actions { | |
| 2615 | - display: flex; | |
| 2616 | - flex-wrap: wrap; | |
| 2617 | - align-items: flex-start; | |
| 2618 | - gap: 12px; | |
| 2619 | - margin-top: 8px; | |
| 2620 | - | |
| 2621 | - details { | |
| 2622 | - flex: 1 1 20rem; | |
| 2623 | - } | |
| 2624 | - | |
| 2625 | - summary { | |
| 2626 | - cursor: pointer; | |
| 2627 | - color: var(--text); | |
| 2628 | - } | |
| 2629 | - | |
| 2630 | -} | |
| 2631 | - | |
| 2632 | 2318 | .badge.overdue { |
| 2633 | 2319 | background: var(--danger-bg); |
| 2634 | 2320 | color: var(--danger); |
| 2635 | 2321 | margin-left: 0; |
| 2636 | 2322 | } |
| 2637 | 2323 | |
| 2638 | -@media (max-width: 600px) { | |
| 2639 | - | |
| 2640 | -} | |
| 2641 | - | |
| 2642 | 2324 | .tab-count { |
| 2643 | 2325 | display: inline-block; |
| 2644 | 2326 | min-width: 1.6em; |
| @@ -2650,132 +2332,29 @@ code { | ||
| 2650 | 2332 | text-align: center; |
| 2651 | 2333 | } |
| 2652 | 2334 | |
| 2653 | -.issue-toolbar { | |
| 2335 | +.issue-row { | |
| 2654 | 2336 | display: flex; |
| 2655 | - flex-wrap: wrap; | |
| 2656 | - align-items: center; | |
| 2657 | - justify-content: space-between; | |
| 2337 | + align-items: flex-start; | |
| 2658 | 2338 | gap: 0.75rem; |
| 2659 | - margin: 1rem 0 0.75rem; | |
| 2339 | + padding: 0.75rem 1rem; | |
| 2340 | + border-top: 1px solid var(--border); | |
| 2341 | + background: var(--surface); | |
| 2342 | + | |
| 2343 | + &:first-child { | |
| 2344 | + border-top: 0; | |
| 2345 | + } | |
| 2660 | 2346 | } |
| 2661 | 2347 | |
| 2662 | -.issue-tabs { | |
| 2663 | - display: flex; | |
| 2664 | - gap: 0.25rem; | |
| 2665 | - | |
| 2666 | - a { | |
| 2667 | - padding: 0.35rem 0.75rem; | |
| 2668 | - border-radius: var(--radius-md); | |
| 2669 | - color: var(--muted); | |
| 2670 | - text-decoration: none; | |
| 2671 | - | |
| 2672 | - &:hover { | |
| 2673 | - color: var(--text); | |
| 2674 | - } | |
| 2675 | - | |
| 2676 | - &.current { | |
| 2677 | - border: 1px solid var(--border); | |
| 2678 | - background: var(--surface); | |
| 2679 | - color: var(--text); | |
| 2680 | - font-weight: 600; | |
| 2681 | - } | |
| 2682 | - } | |
| 2683 | -} | |
| 2684 | - | |
| 2685 | -.issue-search { | |
| 2686 | - display: flex; | |
| 2687 | - flex-wrap: wrap; | |
| 2688 | - align-items: center; | |
| 2689 | - gap: 0.5rem; | |
| 2690 | - margin-bottom: 0.5rem; | |
| 2691 | - | |
| 2692 | - input[type="search"] { | |
| 2693 | - flex: 1 1 14rem; | |
| 2694 | - max-width: 32rem; | |
| 2695 | - } | |
| 2696 | - | |
| 2697 | - select { | |
| 2698 | - width: auto; | |
| 2699 | - } | |
| 2700 | -} | |
| 2701 | - | |
| 2702 | -.issue-list { | |
| 2703 | - list-style: none; | |
| 2704 | - margin: 0; | |
| 2705 | - padding: 0; | |
| 2706 | - border: 1px solid var(--border); | |
| 2707 | - border-radius: var(--radius-lg); | |
| 2708 | - overflow: hidden; | |
| 2709 | -} | |
| 2710 | - | |
| 2711 | -.issue-row { | |
| 2712 | - display: flex; | |
| 2713 | - align-items: flex-start; | |
| 2714 | - gap: 0.75rem; | |
| 2715 | - padding: 0.75rem 1rem; | |
| 2716 | - border-top: 1px solid var(--border); | |
| 2717 | - background: var(--surface); | |
| 2718 | - | |
| 2719 | - &:first-child { | |
| 2720 | - border-top: 0; | |
| 2721 | - } | |
| 2722 | -} | |
| 2723 | - | |
| 2724 | -.issue-state { | |
| 2725 | - flex: none; | |
| 2726 | - width: 0.9rem; | |
| 2727 | - height: 0.9rem; | |
| 2728 | - margin-top: 0.3rem; | |
| 2729 | - border: 2px solid; | |
| 2730 | - border-radius: 50%; | |
| 2731 | -} | |
| 2732 | - | |
| 2733 | -.issue-state-open { | |
| 2734 | - border-color: var(--public-text); | |
| 2735 | - background: var(--public-bg); | |
| 2736 | -} | |
| 2737 | - | |
| 2738 | -.issue-state-closed { | |
| 2739 | - border-color: var(--important); | |
| 2740 | - background: var(--private-bg); | |
| 2741 | -} | |
| 2742 | - | |
| 2743 | -.issue-main { | |
| 2744 | - flex: 1 1 auto; | |
| 2745 | - min-width: 0; | |
| 2746 | -} | |
| 2747 | - | |
| 2748 | -.issue-title-line { | |
| 2749 | - display: flex; | |
| 2750 | - flex-wrap: wrap; | |
| 2751 | - align-items: center; | |
| 2752 | - gap: 0.4rem; | |
| 2753 | -} | |
| 2754 | - | |
| 2755 | -.issue-title { | |
| 2756 | - color: var(--text); | |
| 2757 | - font-weight: 600; | |
| 2758 | - text-decoration: none; | |
| 2348 | +.issue-title { | |
| 2349 | + color: var(--text); | |
| 2350 | + font-weight: 600; | |
| 2351 | + text-decoration: none; | |
| 2759 | 2352 | |
| 2760 | 2353 | &:hover { |
| 2761 | 2354 | text-decoration: underline; |
| 2762 | 2355 | } |
| 2763 | 2356 | } |
| 2764 | 2357 | |
| 2765 | -.issue-meta { | |
| 2766 | - margin-top: 0.2rem; | |
| 2767 | - display: flex; | |
| 2768 | - flex-wrap: wrap; | |
| 2769 | - gap: 0.3rem; | |
| 2770 | -} | |
| 2771 | - | |
| 2772 | -.issue-aside { | |
| 2773 | - flex: none; | |
| 2774 | - display: flex; | |
| 2775 | - align-items: center; | |
| 2776 | - gap: 0.35rem; | |
| 2777 | -} | |
| 2778 | - | |
| 2779 | 2358 | .label-chip { |
| 2780 | 2359 | display: inline-block; |
| 2781 | 2360 | padding: 0 0.6rem; |
| @@ -2786,40 +2365,6 @@ code { | ||
| 2786 | 2365 | text-decoration: none; |
| 2787 | 2366 | } |
| 2788 | 2367 | |
| 2789 | -.issue-new { | |
| 2790 | - max-width: 60rem; | |
| 2791 | - | |
| 2792 | - textarea { | |
| 2793 | - min-height: 14rem; | |
| 2794 | - font-family: var(--mono); | |
| 2795 | - } | |
| 2796 | -} | |
| 2797 | - | |
| 2798 | -// issue view | |
| 2799 | -// Issue page: header, a two-column layout (timeline and sidebar), timeline items with a header | |
| 2800 | -// strip, event lines, and the comment and edit forms. Label chips come from `.label-chip` above. | |
| 2801 | -.issue-heading { | |
| 2802 | - margin: 0.25rem 0; | |
| 2803 | - font-size: 1.5rem; | |
| 2804 | - line-height: 1.3; | |
| 2805 | - overflow-wrap: anywhere; | |
| 2806 | -} | |
| 2807 | - | |
| 2808 | -.issue-number { | |
| 2809 | - color: var(--muted); | |
| 2810 | - font-weight: 400; | |
| 2811 | -} | |
| 2812 | - | |
| 2813 | -.issue-byline { | |
| 2814 | - display: flex; | |
| 2815 | - flex-wrap: wrap; | |
| 2816 | - align-items: center; | |
| 2817 | - gap: 0.35rem; | |
| 2818 | - margin: 0.25rem 0 1rem; | |
| 2819 | - color: var(--muted); | |
| 2820 | - font-size: 0.9rem; | |
| 2821 | -} | |
| 2822 | - | |
| 2823 | 2368 | .issue-badge { |
| 2824 | 2369 | display: inline-block; |
| 2825 | 2370 | padding: 2px 10px; |
| @@ -2843,26 +2388,6 @@ code { | ||
| 2843 | 2388 | } |
| 2844 | 2389 | } |
| 2845 | 2390 | |
| 2846 | -.issue-layout { | |
| 2847 | - display: grid; | |
| 2848 | - grid-template-columns: minmax(0, 1fr) 15rem; | |
| 2849 | - gap: 1.5rem; | |
| 2850 | - align-items: start; | |
| 2851 | -} | |
| 2852 | - | |
| 2853 | -.issue-column { | |
| 2854 | - display: flex; | |
| 2855 | - flex-direction: column; | |
| 2856 | - gap: 1rem; | |
| 2857 | - min-width: 0; | |
| 2858 | -} | |
| 2859 | - | |
| 2860 | -@media (max-width: 700px) { | |
| 2861 | - .issue-layout { | |
| 2862 | - grid-template-columns: minmax(0, 1fr); | |
| 2863 | - } | |
| 2864 | -} | |
| 2865 | - | |
| 2866 | 2391 | .issue-timeline { |
| 2867 | 2392 | display: flex; |
| 2868 | 2393 | flex-direction: column; |
| @@ -2870,36 +2395,6 @@ code { | ||
| 2870 | 2395 | min-width: 0; |
| 2871 | 2396 | } |
| 2872 | 2397 | |
| 2873 | -.issue-item { | |
| 2874 | - min-width: 0; | |
| 2875 | - border: 1px solid var(--border); | |
| 2876 | - border-radius: var(--radius-lg); | |
| 2877 | - background: var(--surface); | |
| 2878 | - overflow: hidden; | |
| 2879 | -} | |
| 2880 | - | |
| 2881 | -.issue-item-head { | |
| 2882 | - display: flex; | |
| 2883 | - flex-wrap: wrap; | |
| 2884 | - align-items: center; | |
| 2885 | - gap: 0.5rem; | |
| 2886 | - padding: 0.5rem 0.75rem; | |
| 2887 | - border-bottom: 1px solid var(--border); | |
| 2888 | - background: var(--code-bg); | |
| 2889 | - font-size: 0.9rem; | |
| 2890 | -} | |
| 2891 | - | |
| 2892 | -.issue-item-actions { | |
| 2893 | - display: inline-flex; | |
| 2894 | - align-items: center; | |
| 2895 | - gap: 0.6rem; | |
| 2896 | - margin-left: auto; | |
| 2897 | - | |
| 2898 | - form { | |
| 2899 | - margin: 0; | |
| 2900 | - } | |
| 2901 | -} | |
| 2902 | - | |
| 2903 | 2398 | .issue-item-body { |
| 2904 | 2399 | padding: 0.75rem 1rem; |
| 2905 | 2400 | overflow-wrap: anywhere; |
| @@ -2981,45 +2476,12 @@ span.reaction { | ||
| 2981 | 2476 | font-size: 0.85rem; |
| 2982 | 2477 | } |
| 2983 | 2478 | |
| 2984 | -.issue-event { | |
| 2985 | - display: flex; | |
| 2986 | - flex-wrap: wrap; | |
| 2987 | - align-items: center; | |
| 2988 | - gap: 0.35rem; | |
| 2989 | - padding: 0 0.75rem; | |
| 2990 | - color: var(--muted); | |
| 2991 | - font-size: 0.9rem; | |
| 2992 | -} | |
| 2993 | - | |
| 2994 | -.issue-comment, | |
| 2995 | -.issue-edit { | |
| 2479 | +.issue-comment { | |
| 2996 | 2480 | h2 { |
| 2997 | 2481 | margin-top: 0; |
| 2998 | 2482 | } |
| 2999 | 2483 | } |
| 3000 | 2484 | |
| 3001 | -.issue-comment-form textarea, | |
| 3002 | -.issue-edit textarea { | |
| 3003 | - width: 100%; | |
| 3004 | - min-height: 8rem; | |
| 3005 | - box-sizing: border-box; | |
| 3006 | - font: inherit; | |
| 3007 | -} | |
| 3008 | - | |
| 3009 | -.issue-actions { | |
| 3010 | - display: flex; | |
| 3011 | - flex-wrap: wrap; | |
| 3012 | - align-items: center; | |
| 3013 | - gap: 0.5rem; | |
| 3014 | -} | |
| 3015 | - | |
| 3016 | -.issue-sidebar { | |
| 3017 | - display: flex; | |
| 3018 | - flex-direction: column; | |
| 3019 | - gap: 0.75rem; | |
| 3020 | - font-size: 0.9rem; | |
| 3021 | -} | |
| 3022 | - | |
| 3023 | 2485 | .issue-side-section { |
| 3024 | 2486 | padding-bottom: 0.75rem; |
| 3025 | 2487 | border-bottom: 1px solid var(--border); |
| @@ -3040,37 +2502,6 @@ span.reaction { | ||
| 3040 | 2502 | } |
| 3041 | 2503 | } |
| 3042 | 2504 | |
| 3043 | -.issue-check { | |
| 3044 | - display: flex; | |
| 3045 | - align-items: center; | |
| 3046 | - gap: 0.4rem; | |
| 3047 | - margin: 0.2rem 0; | |
| 3048 | -} | |
| 3049 | - | |
| 3050 | -.issue-chips { | |
| 3051 | - display: flex; | |
| 3052 | - flex-wrap: wrap; | |
| 3053 | - gap: 0.3rem; | |
| 3054 | -} | |
| 3055 | - | |
| 3056 | -.issue-names { | |
| 3057 | - margin: 0; | |
| 3058 | - padding: 0; | |
| 3059 | - list-style: none; | |
| 3060 | -} | |
| 3061 | - | |
| 3062 | -.issue-tools { | |
| 3063 | - display: flex; | |
| 3064 | - flex-wrap: wrap; | |
| 3065 | - align-items: center; | |
| 3066 | - gap: 0.5rem; | |
| 3067 | - | |
| 3068 | - nav { | |
| 3069 | - display: flex; | |
| 3070 | - gap: 0.5rem; | |
| 3071 | - } | |
| 3072 | -} | |
| 3073 | - | |
| 3074 | 2505 | // Pull request list |
| 3075 | 2506 | |
| 3076 | 2507 | .issue-badge.issue-badge-closed { |
| @@ -3084,16 +2515,6 @@ span.reaction { | ||
| 3084 | 2515 | color: var(--accent-text); |
| 3085 | 2516 | } |
| 3086 | 2517 | |
| 3087 | -.issue-state.pull-state-closed { | |
| 3088 | - border-color: var(--danger); | |
| 3089 | - background: var(--danger-bg); | |
| 3090 | -} | |
| 3091 | - | |
| 3092 | -.issue-state.pull-state-merged { | |
| 3093 | - border-color: var(--important); | |
| 3094 | - background: var(--important); | |
| 3095 | -} | |
| 3096 | - | |
| 3097 | 2518 | // pull request view |
| 3098 | 2519 | // Merge box on the Conversation tab: a status headline, the conflicting files and the merge |
| 3099 | 2520 | // form. The merged notice uses the same box. Badges come from `.issue-badge` above. |
| @@ -3228,18 +2649,6 @@ span.reaction { | ||
| 3228 | 2649 | } |
| 3229 | 2650 | } |
| 3230 | 2651 | |
| 3231 | -.review-thread-head { | |
| 3232 | - display: flex; | |
| 3233 | - flex-wrap: wrap; | |
| 3234 | - align-items: center; | |
| 3235 | - gap: 8px; | |
| 3236 | - padding: 8px 12px; | |
| 3237 | - border-bottom: 1px solid var(--border); | |
| 3238 | - background: var(--code-bg); | |
| 3239 | - font-size: 0.875rem; | |
| 3240 | - word-break: break-all; | |
| 3241 | -} | |
| 3242 | - | |
| 3243 | 2652 | .review-hunk { |
| 3244 | 2653 | margin: 0; |
| 3245 | 2654 | padding: 8px 12px; |
| @@ -3250,39 +2659,6 @@ span.reaction { | ||
| 3250 | 2659 | overflow-x: auto; |
| 3251 | 2660 | } |
| 3252 | 2661 | |
| 3253 | -.review-comment { | |
| 3254 | - padding: 10px 12px; | |
| 3255 | - border-bottom: 1px solid var(--border); | |
| 3256 | - | |
| 3257 | - &:last-child { | |
| 3258 | - border-bottom: 0; | |
| 3259 | - } | |
| 3260 | -} | |
| 3261 | - | |
| 3262 | -.review-comment-head { | |
| 3263 | - display: flex; | |
| 3264 | - flex-wrap: wrap; | |
| 3265 | - align-items: center; | |
| 3266 | - gap: 8px; | |
| 3267 | - font-size: 0.875rem; | |
| 3268 | - color: var(--muted); | |
| 3269 | - | |
| 3270 | - strong { | |
| 3271 | - color: var(--text); | |
| 3272 | - } | |
| 3273 | -} | |
| 3274 | - | |
| 3275 | -.review-comment-actions { | |
| 3276 | - margin-left: auto; | |
| 3277 | - display: inline-flex; | |
| 3278 | - align-items: center; | |
| 3279 | - gap: 8px; | |
| 3280 | -} | |
| 3281 | - | |
| 3282 | -.review-comment-body { | |
| 3283 | - margin-top: 6px; | |
| 3284 | -} | |
| 3285 | - | |
| 3286 | 2662 | // A suggested change: the commented line (removed) and the lines that replace it (added), in the |
| 3287 | 2663 | // same colours as the diff's del and add rows. |
| 3288 | 2664 | .review-suggestion { |
| @@ -3291,125 +2667,39 @@ span.reaction { | ||
| 3291 | 2667 | border-radius: var(--radius-lg); |
| 3292 | 2668 | background: var(--surface); |
| 3293 | 2669 | overflow: hidden; |
| 3294 | - font-size: 0.875rem; | |
| 3295 | -} | |
| 3296 | - | |
| 3297 | -.review-suggestion-caption { | |
| 3298 | - padding: 6px 10px; | |
| 3299 | - border-bottom: 1px solid var(--border); | |
| 3300 | - color: var(--muted); | |
| 3301 | -} | |
| 3302 | - | |
| 3303 | -.review-suggestion-line { | |
| 3304 | - display: flex; | |
| 3305 | - gap: 8px; | |
| 3306 | - padding: 2px 10px; | |
| 3307 | - font-family: var(--mono); | |
| 3308 | - font-size: 0.8125rem; | |
| 3309 | - white-space: pre; | |
| 3310 | - overflow-x: auto; | |
| 3311 | - | |
| 3312 | - code { | |
| 3313 | - font-family: inherit; | |
| 3314 | - white-space: pre; | |
| 3315 | - } | |
| 3316 | - | |
| 3317 | - &.add { | |
| 3318 | - background: var(--add-bg); | |
| 3319 | - color: var(--add-text); | |
| 3320 | - } | |
| 3321 | - | |
| 3322 | - &.del { | |
| 3323 | - background: var(--del-bg); | |
| 3324 | - color: var(--del-text); | |
| 3325 | - } | |
| 3326 | -} | |
| 3327 | - | |
| 3328 | -.review-suggestion-sign { | |
| 3329 | - flex: 0 0 auto; | |
| 3330 | - width: 1ch; | |
| 3331 | -} | |
| 3332 | - | |
| 3333 | -.review-suggestion-apply { | |
| 3334 | - padding: 8px 10px; | |
| 3335 | - border-top: 1px solid var(--border); | |
| 3336 | -} | |
| 3337 | - | |
| 3338 | -.review-suggestion-outdated { | |
| 3339 | - margin: 0; | |
| 3340 | - padding: 8px 10px; | |
| 3341 | - border-top: 1px solid var(--border); | |
| 3342 | - color: var(--muted); | |
| 3343 | -} | |
| 3344 | - | |
| 3345 | -.review-thread-actions { | |
| 3346 | - display: flex; | |
| 3347 | - gap: 12px; | |
| 3348 | - padding: 6px 12px; | |
| 3349 | - border-top: 1px solid var(--border); | |
| 3350 | - font-size: 0.875rem; | |
| 3351 | -} | |
| 3352 | - | |
| 3353 | -.review-reply { | |
| 3354 | - padding: 10px 12px; | |
| 3355 | - border-top: 1px solid var(--border); | |
| 3356 | -} | |
| 3357 | - | |
| 3358 | -.review-inline { | |
| 3359 | - display: inline; | |
| 3360 | - margin: 0; | |
| 3361 | -} | |
| 3362 | - | |
| 3363 | -.review-badge { | |
| 3364 | - display: inline-block; | |
| 3365 | - padding: 0 8px; | |
| 3366 | - border-radius: var(--radius-full); | |
| 3367 | - font-size: 0.75rem; | |
| 3368 | - font-weight: 600; | |
| 3369 | - line-height: 20px; | |
| 3370 | -} | |
| 3371 | - | |
| 3372 | -.review-badge-outdated { | |
| 3373 | - background: var(--private-bg); | |
| 3374 | - color: var(--private-text); | |
| 3375 | -} | |
| 3376 | - | |
| 3377 | -.review-badge-pending { | |
| 3378 | - background: var(--hunk-bg); | |
| 3379 | - color: var(--hunk-text); | |
| 3380 | -} | |
| 3381 | - | |
| 3382 | -.review-bar { | |
| 3383 | - margin: 0 0 16px; | |
| 3384 | - | |
| 3385 | - h2 { | |
| 3386 | - margin: 0 0 4px; | |
| 3387 | - font-size: 1rem; | |
| 3388 | - } | |
| 2670 | + font-size: 0.875rem; | |
| 3389 | 2671 | } |
| 3390 | 2672 | |
| 3391 | -.review-choices { | |
| 2673 | +.review-suggestion-line { | |
| 3392 | 2674 | display: flex; |
| 3393 | - flex-wrap: wrap; | |
| 3394 | - gap: 12px; | |
| 3395 | - margin: 0; | |
| 3396 | - padding: 0; | |
| 3397 | - border: 0; | |
| 2675 | + gap: 8px; | |
| 2676 | + padding: 2px 10px; | |
| 2677 | + font-family: var(--mono); | |
| 2678 | + font-size: 0.8125rem; | |
| 2679 | + white-space: pre; | |
| 2680 | + overflow-x: auto; | |
| 3398 | 2681 | |
| 3399 | - legend { | |
| 3400 | - padding: 0; | |
| 3401 | - margin-bottom: 4px; | |
| 3402 | - font-size: 0.875rem; | |
| 3403 | - color: var(--muted); | |
| 2682 | + code { | |
| 2683 | + font-family: inherit; | |
| 2684 | + white-space: pre; | |
| 3404 | 2685 | } |
| 3405 | 2686 | |
| 3406 | - label { | |
| 3407 | - display: inline-flex; | |
| 3408 | - align-items: center; | |
| 3409 | - gap: 4px; | |
| 2687 | + &.add { | |
| 2688 | + background: var(--add-bg); | |
| 2689 | + color: var(--add-text); | |
| 2690 | + } | |
| 2691 | + | |
| 2692 | + &.del { | |
| 2693 | + background: var(--del-bg); | |
| 2694 | + color: var(--del-text); | |
| 3410 | 2695 | } |
| 3411 | 2696 | } |
| 3412 | 2697 | |
| 2698 | +.review-suggestion-sign { | |
| 2699 | + flex: 0 0 auto; | |
| 2700 | + width: 1ch; | |
| 2701 | +} | |
| 2702 | + | |
| 3413 | 2703 | .review-inline-form { |
| 3414 | 2704 | padding: 10px 12px; |
| 3415 | 2705 | border: 1px solid var(--border-strong); |
| @@ -3442,20 +2732,6 @@ span.reaction { | ||
| 3442 | 2732 | color: var(--muted); |
| 3443 | 2733 | } |
| 3444 | 2734 | |
| 3445 | -.review-box { | |
| 3446 | - display: grid; | |
| 3447 | - gap: 8px; | |
| 3448 | - padding: 12px 16px; | |
| 3449 | - border: 1px solid var(--border); | |
| 3450 | - border-radius: var(--radius-lg); | |
| 3451 | - background: var(--surface); | |
| 3452 | -} | |
| 3453 | - | |
| 3454 | -.review-summary { | |
| 3455 | - margin: 0; | |
| 3456 | - font-size: 0.9rem; | |
| 3457 | -} | |
| 3458 | - | |
| 3459 | 2735 | .review-dismiss { |
| 3460 | 2736 | display: flex; |
| 3461 | 2737 | flex-wrap: wrap; |
| @@ -3491,13 +2767,6 @@ span.reaction { | ||
| 3491 | 2767 | white-space: nowrap; |
| 3492 | 2768 | } |
| 3493 | 2769 | |
| 3494 | -// Mirrors: the "Mirror of" line under the repo header, the new-repo mirror fields, and the | |
| 3495 | -// Mirrors settings page (the list, the add and edit forms, and the error details). | |
| 3496 | -.mirror-line { | |
| 3497 | - margin: 4px 0 0; | |
| 3498 | - overflow-wrap: anywhere; | |
| 3499 | -} | |
| 3500 | - | |
| 3501 | 2770 | .mirrors { |
| 3502 | 2771 | td code { |
| 3503 | 2772 | overflow-wrap: anywhere; |
| @@ -3869,15 +3138,6 @@ span.reaction { | ||
| 3869 | 3138 | font-weight: 500; |
| 3870 | 3139 | } |
| 3871 | 3140 | |
| 3872 | -.watch-option-desc { | |
| 3873 | - grid-column: 2; | |
| 3874 | - grid-row: 2; | |
| 3875 | - font-size: 12px; | |
| 3876 | - line-height: 1.4; | |
| 3877 | - color: var(--muted); | |
| 3878 | - white-space: normal; | |
| 3879 | -} | |
| 3880 | - | |
| 3881 | 3141 | @media (max-width: 40rem) { |
| 3882 | 3142 | .notif-row { |
| 3883 | 3143 | flex-direction: column; |
| @@ -4047,51 +3307,6 @@ button.ci-mini { | ||
| 4047 | 3307 | color: var(--warning); |
| 4048 | 3308 | } |
| 4049 | 3309 | |
| 4050 | -// The run's artifacts: a heading with "download all", then one row per file. | |
| 4051 | -.ci-art-head { | |
| 4052 | - display: flex; | |
| 4053 | - flex-wrap: wrap; | |
| 4054 | - align-items: center; | |
| 4055 | - justify-content: space-between; | |
| 4056 | - gap: 8px 12px; | |
| 4057 | - margin: 20px 0 8px; | |
| 4058 | -} | |
| 4059 | - | |
| 4060 | -.ci-art-title { | |
| 4061 | - margin: 0; | |
| 4062 | - font-size: 0.75rem; | |
| 4063 | - font-weight: 600; | |
| 4064 | - letter-spacing: 0.06em; | |
| 4065 | - text-transform: uppercase; | |
| 4066 | - color: var(--muted); | |
| 4067 | -} | |
| 4068 | - | |
| 4069 | -.ci-art-list { | |
| 4070 | - margin: 0; | |
| 4071 | - padding: 0; | |
| 4072 | - list-style: none; | |
| 4073 | - border-top: 1px solid var(--border); | |
| 4074 | - | |
| 4075 | - li { | |
| 4076 | - display: grid; | |
| 4077 | - grid-template-columns: minmax(0, 1fr) auto auto; | |
| 4078 | - gap: 12px; | |
| 4079 | - align-items: center; | |
| 4080 | - padding: 8px 6px; | |
| 4081 | - border-bottom: 1px solid var(--border); | |
| 4082 | - font-size: 0.875rem; | |
| 4083 | - } | |
| 4084 | -} | |
| 4085 | - | |
| 4086 | -.ci-art-name { | |
| 4087 | - min-width: 0; | |
| 4088 | - overflow: hidden; | |
| 4089 | - text-overflow: ellipsis; | |
| 4090 | - white-space: nowrap; | |
| 4091 | - font-family: var(--mono); | |
| 4092 | - font-size: 0.8125rem; | |
| 4093 | -} | |
| 4094 | - | |
| 4095 | 3310 | // A job row: the link takes the width, the re-run button sits at its right. |
| 4096 | 3311 | .ci-job-item { |
| 4097 | 3312 | display: flex; |
| @@ -4368,58 +3583,6 @@ $ansi-colours: ( | ||
| 4368 | 3583 | } |
| 4369 | 3584 | } |
| 4370 | 3585 | |
| 4371 | -// Phone: each row of a queue-table (the merge queue and the admin tables) is a card, every cell a | |
| 4372 | -// label and value row (the runners' layout). Cells without data-label sit as they are. | |
| 4373 | -@media (max-width: 720px) { | |
| 4374 | - .queue-table { | |
| 4375 | - display: block; | |
| 4376 | - | |
| 4377 | - thead { | |
| 4378 | - display: none; | |
| 4379 | - } | |
| 4380 | - | |
| 4381 | - tbody, | |
| 4382 | - tr { | |
| 4383 | - display: block; | |
| 4384 | - } | |
| 4385 | - | |
| 4386 | - tr { | |
| 4387 | - padding: 12px 0; | |
| 4388 | - border-bottom: 1px solid var(--border); | |
| 4389 | - } | |
| 4390 | - | |
| 4391 | - th, | |
| 4392 | - td { | |
| 4393 | - display: block; | |
| 4394 | - width: auto; | |
| 4395 | - padding: 0; | |
| 4396 | - border: 0; | |
| 4397 | - } | |
| 4398 | - | |
| 4399 | - td[data-label] { | |
| 4400 | - display: flex; | |
| 4401 | - align-items: center; | |
| 4402 | - justify-content: space-between; | |
| 4403 | - gap: 12px; | |
| 4404 | - min-height: 36px; | |
| 4405 | - min-width: 0; | |
| 4406 | - overflow-wrap: anywhere; | |
| 4407 | - | |
| 4408 | - &::before { | |
| 4409 | - content: attr(data-label); | |
| 4410 | - flex: none; | |
| 4411 | - color: var(--muted); | |
| 4412 | - font-size: 0.78125rem; | |
| 4413 | - } | |
| 4414 | - } | |
| 4415 | - } | |
| 4416 | -} | |
| 4417 | - | |
| 4418 | -.runner-load, | |
| 4419 | -.runner-version { | |
| 4420 | - min-width: 0; | |
| 4421 | -} | |
| 4422 | - | |
| 4423 | 3586 | // The status dot: green online, muted offline, warning colour when disabled. |
| 4424 | 3587 | .runner-dot { |
| 4425 | 3588 | flex: none; |
| @@ -4437,45 +3600,10 @@ $ansi-colours: ( | ||
| 4437 | 3600 | } |
| 4438 | 3601 | } |
| 4439 | 3602 | |
| 4440 | -.runner-off { | |
| 4441 | - flex: none; | |
| 4442 | - color: var(--warn); | |
| 4443 | - font-size: 0.75rem; | |
| 4444 | -} | |
| 4445 | - | |
| 4446 | 3603 | .runner-labels { |
| 4447 | 3604 | font-family: var(--mono); |
| 4448 | 3605 | } |
| 4449 | 3606 | |
| 4450 | -// The load cell: the running status on the left, the concurrency stepper on the right. | |
| 4451 | -.runner-load { | |
| 4452 | - display: flex; | |
| 4453 | - align-items: center; | |
| 4454 | - justify-content: space-between; | |
| 4455 | - gap: 16px; | |
| 4456 | - min-width: 0; | |
| 4457 | - margin: 0; | |
| 4458 | -} | |
| 4459 | - | |
| 4460 | -.runner-running { | |
| 4461 | - display: flex; | |
| 4462 | - flex-direction: column; | |
| 4463 | - align-items: flex-start; | |
| 4464 | - gap: 6px; | |
| 4465 | - min-width: 0; | |
| 4466 | -} | |
| 4467 | - | |
| 4468 | -.runner-count { | |
| 4469 | - font-size: 0.875rem; | |
| 4470 | - white-space: nowrap; | |
| 4471 | -} | |
| 4472 | - | |
| 4473 | -.runner-n { | |
| 4474 | - color: var(--text); | |
| 4475 | - font-weight: 600; | |
| 4476 | - font-variant-numeric: tabular-nums; | |
| 4477 | -} | |
| 4478 | - | |
| 4479 | 3607 | // One pip per concurrency slot: accent when a job runs in it, a surface pip with an inset edge when free. |
| 4480 | 3608 | .runner-pips { |
| 4481 | 3609 | display: inline-flex; |
| @@ -4508,158 +3636,62 @@ progress.runner-meter { | ||
| 4508 | 3636 | margin: 0; |
| 4509 | 3637 | border: 0; |
| 4510 | 3638 | border-radius: 2px; |
| 4511 | - overflow: hidden; | |
| 4512 | - background: var(--surface-2); | |
| 4513 | - color: var(--text-2); | |
| 4514 | - | |
| 4515 | - &::-webkit-progress-bar { | |
| 4516 | - background: var(--surface-2); | |
| 4517 | - } | |
| 4518 | - | |
| 4519 | - &::-webkit-progress-value { | |
| 4520 | - background: var(--text-2); | |
| 4521 | - } | |
| 4522 | - | |
| 4523 | - &::-moz-progress-bar { | |
| 4524 | - background: var(--text-2); | |
| 4525 | - } | |
| 4526 | -} | |
| 4527 | - | |
| 4528 | -// The concurrency: a small label, then one joined pill (− value +), then Save and the reset. | |
| 4529 | -.runner-stepper { | |
| 4530 | - display: flex; | |
| 4531 | - flex: none; | |
| 4532 | - align-items: center; | |
| 4533 | - gap: 8px; | |
| 4534 | -} | |
| 4535 | - | |
| 4536 | -.runner-pill { | |
| 4537 | - box-sizing: border-box; | |
| 4538 | - display: inline-flex; | |
| 4539 | - align-items: stretch; | |
| 4540 | - height: 28px; | |
| 4541 | - border: 1px solid var(--border-strong); | |
| 4542 | - border-radius: var(--radius-md); | |
| 4543 | - overflow: hidden; | |
| 4544 | - background: var(--surface); | |
| 4545 | - | |
| 4546 | - input[type="number"] { | |
| 4547 | - box-sizing: border-box; | |
| 4548 | - width: 34px; | |
| 4549 | - height: 100%; | |
| 4550 | - margin: 0; | |
| 4551 | - padding: 0; | |
| 4552 | - border: 0; | |
| 4553 | - border-left: 1px solid var(--border); | |
| 4554 | - border-right: 1px solid var(--border); | |
| 4555 | - border-radius: 0; | |
| 4556 | - background: transparent; | |
| 4557 | - color: var(--text); | |
| 4558 | - font-weight: 600; | |
| 4559 | - font-variant-numeric: tabular-nums; | |
| 4560 | - text-align: center; | |
| 4561 | - -moz-appearance: textfield; | |
| 4562 | - appearance: textfield; | |
| 4563 | - | |
| 4564 | - &:focus-visible { | |
| 4565 | - outline-offset: -2px; | |
| 4566 | - } | |
| 4567 | - | |
| 4568 | - &::-webkit-inner-spin-button, | |
| 4569 | - &::-webkit-outer-spin-button { | |
| 4570 | - -webkit-appearance: none; | |
| 4571 | - margin: 0; | |
| 4572 | - } | |
| 4573 | - } | |
| 4574 | - | |
| 4575 | - .runner-step { | |
| 4576 | - box-sizing: border-box; | |
| 4577 | - display: inline-flex; | |
| 4578 | - align-items: center; | |
| 4579 | - justify-content: center; | |
| 4580 | - flex: none; | |
| 4581 | - width: 28px; | |
| 4582 | - min-width: 28px; | |
| 4583 | - height: 100%; | |
| 4584 | - padding: 0; | |
| 4585 | - border: 0; | |
| 4586 | - border-radius: 0; | |
| 4587 | - background: none; | |
| 4588 | - color: var(--muted); | |
| 4589 | - font-size: 1rem; | |
| 4590 | - line-height: 1; | |
| 4591 | - | |
| 4592 | - &:hover { | |
| 4593 | - background: var(--surface-2); | |
| 4594 | - color: var(--text); | |
| 4595 | - } | |
| 4596 | - | |
| 4597 | - &:focus-visible { | |
| 4598 | - outline-offset: -2px; | |
| 4599 | - border-radius: 0; | |
| 4600 | - } | |
| 4601 | - } | |
| 4602 | -} | |
| 4603 | - | |
| 4604 | -.runner-save { | |
| 4605 | - box-sizing: border-box; | |
| 4606 | - height: 28px; | |
| 4607 | - padding: 0 10px; | |
| 4608 | - font-size: 0.8125rem; | |
| 4609 | -} | |
| 4610 | - | |
| 4611 | -html.js form.runner-load[data-dirty-form] .runner-save { | |
| 4612 | - display: none; | |
| 4613 | -} | |
| 4614 | - | |
| 4615 | -html.js form.runner-load[data-dirty-form][data-dirty] .runner-save { | |
| 4616 | - display: inline-block; | |
| 4617 | -} | |
| 4618 | - | |
| 4619 | -.runner-version { | |
| 4620 | - display: flex; | |
| 4621 | - flex-wrap: nowrap; | |
| 4622 | - align-items: center; | |
| 4623 | - gap: 8px; | |
| 4624 | - justify-self: start; | |
| 4625 | - white-space: nowrap; | |
| 4626 | -} | |
| 4627 | - | |
| 4628 | -.runner-hash { | |
| 4629 | - padding: 0; | |
| 4630 | - background: none; | |
| 4631 | - font-family: var(--mono); | |
| 4632 | - font-size: 0.8125rem; | |
| 4633 | -} | |
| 3639 | + overflow: hidden; | |
| 3640 | + background: var(--surface-2); | |
| 3641 | + color: var(--text-2); | |
| 4634 | 3642 | |
| 4635 | -// Version status: muted text with a tick when up to date, the warning colour when outdated. | |
| 4636 | -.runner-status { | |
| 4637 | - color: var(--muted); | |
| 4638 | - font-size: 0.8125rem; | |
| 4639 | - white-space: nowrap; | |
| 3643 | + &::-webkit-progress-bar { | |
| 3644 | + background: var(--surface-2); | |
| 3645 | + } | |
| 4640 | 3646 | |
| 4641 | - &.warn { | |
| 4642 | - color: var(--warn); | |
| 3647 | + &::-webkit-progress-value { | |
| 3648 | + background: var(--text-2); | |
| 4643 | 3649 | } |
| 4644 | -} | |
| 4645 | 3650 | |
| 4646 | -.runner-tick { | |
| 4647 | - color: var(--ok); | |
| 3651 | + &::-moz-progress-bar { | |
| 3652 | + background: var(--text-2); | |
| 3653 | + } | |
| 4648 | 3654 | } |
| 4649 | 3655 | |
| 4650 | -// Phone: identity first, with the version and the menu on its right. The load cell takes the second line. | |
| 4651 | -@media (max-width: 760px) { | |
| 3656 | +.runner-pill { | |
| 3657 | + box-sizing: border-box; | |
| 3658 | + display: inline-flex; | |
| 3659 | + align-items: stretch; | |
| 3660 | + height: 28px; | |
| 3661 | + border: 1px solid var(--border-strong); | |
| 3662 | + border-radius: var(--radius-md); | |
| 3663 | + overflow: hidden; | |
| 3664 | + background: var(--surface); | |
| 4652 | 3665 | |
| 4653 | - .runner-version { | |
| 4654 | - grid-column: 2; | |
| 4655 | - grid-row: 1; | |
| 4656 | - justify-self: end; | |
| 4657 | - } | |
| 3666 | + input[type="number"] { | |
| 3667 | + box-sizing: border-box; | |
| 3668 | + width: 34px; | |
| 3669 | + height: 100%; | |
| 3670 | + margin: 0; | |
| 3671 | + padding: 0; | |
| 3672 | + border: 0; | |
| 3673 | + border-left: 1px solid var(--border); | |
| 3674 | + border-right: 1px solid var(--border); | |
| 3675 | + border-radius: 0; | |
| 3676 | + background: transparent; | |
| 3677 | + color: var(--text); | |
| 3678 | + font-weight: 600; | |
| 3679 | + font-variant-numeric: tabular-nums; | |
| 3680 | + text-align: center; | |
| 3681 | + -moz-appearance: textfield; | |
| 3682 | + appearance: textfield; | |
| 3683 | + | |
| 3684 | + &:focus-visible { | |
| 3685 | + outline-offset: -2px; | |
| 3686 | + } | |
| 4658 | 3687 | |
| 4659 | - .runner-load { | |
| 4660 | - grid-column: 1 / -1; | |
| 4661 | - grid-row: 2; | |
| 3688 | + &::-webkit-inner-spin-button, | |
| 3689 | + &::-webkit-outer-spin-button { | |
| 3690 | + -webkit-appearance: none; | |
| 3691 | + margin: 0; | |
| 3692 | + } | |
| 4662 | 3693 | } |
| 3694 | + | |
| 4663 | 3695 | } |
| 4664 | 3696 | |
| 4665 | 3697 | .ci-state.runner-disabled { |
| @@ -4695,27 +3727,6 @@ html.js form.runner-load[data-dirty-form][data-dirty] .runner-save { | ||
| 4695 | 3727 | margin: 0; |
| 4696 | 3728 | } |
| 4697 | 3729 | |
| 4698 | -.ci-side-head { | |
| 4699 | - display: flex; | |
| 4700 | - flex-wrap: wrap; | |
| 4701 | - align-items: center; | |
| 4702 | - justify-content: space-between; | |
| 4703 | - gap: 8px 12px; | |
| 4704 | - margin-bottom: 10px; | |
| 4705 | -} | |
| 4706 | - | |
| 4707 | -.ci-side-title { | |
| 4708 | - display: flex; | |
| 4709 | - align-items: center; | |
| 4710 | - gap: 8px; | |
| 4711 | - margin: 0; | |
| 4712 | - font-size: 0.75rem; | |
| 4713 | - font-weight: 600; | |
| 4714 | - letter-spacing: 0.06em; | |
| 4715 | - text-transform: uppercase; | |
| 4716 | - color: var(--muted); | |
| 4717 | -} | |
| 4718 | - | |
| 4719 | 3730 | .ci-count { |
| 4720 | 3731 | padding: 1px 8px; |
| 4721 | 3732 | border-radius: var(--radius-full); |
| @@ -4782,7 +3793,6 @@ html.js form.runner-load[data-dirty-form][data-dirty] .runner-save { | ||
| 4782 | 3793 | max-height: max(320px, calc(100dvh - var(--pane-top, 288px) - var(--pane-foot, 78px))); |
| 4783 | 3794 | } |
| 4784 | 3795 | |
| 4785 | - .ci-side-head, | |
| 4786 | 3796 | .ci-scale, |
| 4787 | 3797 | .ci-next, |
| 4788 | 3798 | .ci-side .pager { |
| @@ -4827,27 +3837,6 @@ html.js form.runner-load[data-dirty-form][data-dirty] .runner-save { | ||
| 4827 | 3837 | } |
| 4828 | 3838 | } |
| 4829 | 3839 | |
| 4830 | -.ci-row-title { | |
| 4831 | - min-width: 0; | |
| 4832 | - overflow: hidden; | |
| 4833 | - white-space: nowrap; | |
| 4834 | - text-overflow: ellipsis; | |
| 4835 | - font-size: 0.875rem; | |
| 4836 | - font-weight: 500; | |
| 4837 | - color: var(--text); | |
| 4838 | -} | |
| 4839 | - | |
| 4840 | -.ci-row[aria-current="true"] .ci-row-title { | |
| 4841 | - font-weight: 600; | |
| 4842 | -} | |
| 4843 | - | |
| 4844 | -.ci-row-line { | |
| 4845 | - display: flex; | |
| 4846 | - align-items: center; | |
| 4847 | - gap: 10px; | |
| 4848 | - min-width: 0; | |
| 4849 | -} | |
| 4850 | - | |
| 4851 | 3840 | .ci-bar { |
| 4852 | 3841 | display: block; |
| 4853 | 3842 | flex: 1 1 0; |
| @@ -5254,16 +4243,6 @@ button.ci-stopping { | ||
| 5254 | 4243 | } |
| 5255 | 4244 | } |
| 5256 | 4245 | |
| 5257 | -// The run's header: its number, its title, its state and meta line. | |
| 5258 | -.ci-main-head { | |
| 5259 | - display: flex; | |
| 5260 | - flex-wrap: wrap; | |
| 5261 | - align-items: center; | |
| 5262 | - justify-content: space-between; | |
| 5263 | - gap: 8px 12px; | |
| 5264 | - margin-bottom: 8px; | |
| 5265 | -} | |
| 5266 | - | |
| 5267 | 4246 | .ci-eyebrow { |
| 5268 | 4247 | margin: 0; |
| 5269 | 4248 | font-size: 0.75rem; |
| @@ -5273,16 +4252,6 @@ button.ci-stopping { | ||
| 5273 | 4252 | color: var(--muted); |
| 5274 | 4253 | } |
| 5275 | 4254 | |
| 5276 | -.ci-run-top { | |
| 5277 | - display: flex; | |
| 5278 | - flex-wrap: wrap; | |
| 5279 | - align-items: center; | |
| 5280 | - gap: 8px 12px; | |
| 5281 | - margin: 0 0 16px; | |
| 5282 | - font-size: 0.8125rem; | |
| 5283 | - color: var(--muted); | |
| 5284 | -} | |
| 5285 | - | |
| 5286 | 4255 | .ci-cap { |
| 5287 | 4256 | margin: 14px 0 0; |
| 5288 | 4257 | font-size: 0.8125rem; |
| @@ -5408,42 +4377,6 @@ button.ci-job-last { | ||
| 5408 | 4377 | } |
| 5409 | 4378 | } |
| 5410 | 4379 | |
| 5411 | -/* Theme and language preferences (T1). The palettes live at the top of this file: the dark | |
| 5412 | - variables apply under :root:not([data-theme="light"]) and under :root[data-theme="dark"]. */ | |
| 5413 | -.theme-picker { | |
| 5414 | - display: inline-flex; | |
| 5415 | - flex-direction: row; | |
| 5416 | - align-items: center; | |
| 5417 | - gap: 8px; | |
| 5418 | - margin: 0 0 0 auto; | |
| 5419 | -} | |
| 5420 | - | |
| 5421 | -.theme-picker label { | |
| 5422 | - display: inline-flex; | |
| 5423 | - flex-direction: row; | |
| 5424 | - align-items: center; | |
| 5425 | - gap: 8px; | |
| 5426 | - margin: 0; | |
| 5427 | - | |
| 5428 | - select { | |
| 5429 | - width: auto; | |
| 5430 | - height: var(--control-h); | |
| 5431 | - margin: 0; | |
| 5432 | - } | |
| 5433 | -} | |
| 5434 | - | |
| 5435 | -.theme-picker .link-button { | |
| 5436 | - align-self: center; | |
| 5437 | - margin: 0; | |
| 5438 | - line-height: var(--control-h); | |
| 5439 | - height: var(--control-h); | |
| 5440 | - padding-block: 0; | |
| 5441 | -} | |
| 5442 | - | |
| 5443 | -.theme-picker label span { | |
| 5444 | - color: var(--muted); | |
| 5445 | -} | |
| 5446 | - | |
| 5447 | 4380 | // Sage redesign partials. Loaded last so they override the older rules above. |
| 5448 | 4381 | @import "shell"; |
| 5449 | 4382 | @import "heatmap"; |
| @@ -5514,10 +4447,6 @@ button.ci-job-last { | ||
| 5514 | 4447 | opacity: 0; |
| 5515 | 4448 | } |
| 5516 | 4449 | |
| 5517 | -@media (max-width: 48rem) { | |
| 5518 | - | |
| 5519 | -} | |
| 5520 | - | |
| 5521 | 4450 | .row-line { |
| 5522 | 4451 | position: relative; |
| 5523 | 4452 | display: flex; |
| @@ -5530,17 +4459,6 @@ button.ci-job-last { | ||
| 5530 | 4459 | |
| 5531 | 4460 | } |
| 5532 | 4461 | |
| 5533 | -.row-icon { | |
| 5534 | - flex: none; | |
| 5535 | - width: 20px; | |
| 5536 | - height: 20px; | |
| 5537 | - fill: none; | |
| 5538 | - stroke: var(--muted); | |
| 5539 | - stroke-width: 1.8; | |
| 5540 | - stroke-linecap: round; | |
| 5541 | - stroke-linejoin: round; | |
| 5542 | -} | |
| 5543 | - | |
| 5544 | 4462 | .row-title { |
| 5545 | 4463 | display: flex; |
| 5546 | 4464 | flex-direction: row; |
| @@ -5611,24 +4529,6 @@ button.ci-job-last { | ||
| 5611 | 4529 | |
| 5612 | 4530 | } |
| 5613 | 4531 | |
| 5614 | - // A picture or icon before the label keeps the controls on the same edge as every other row. | |
| 5615 | - .row-line.row-field:not(.event-choices, .colour-line):has(> .row-icon, > .avatar) { | |
| 5616 | - grid-template-columns: var(--field-mark) calc(var(--field-label) - var(--field-mark) - 12px) minmax(0, 1fr); | |
| 5617 | - --field-mark: 20px; | |
| 5618 | - column-gap: 12px; | |
| 5619 | - | |
| 5620 | - > .row-icon, | |
| 5621 | - > .avatar { | |
| 5622 | - grid-column: 1; | |
| 5623 | - grid-row: 1 / span 5; | |
| 5624 | - } | |
| 5625 | - | |
| 5626 | - .row-title { | |
| 5627 | - grid-column: 2; | |
| 5628 | - } | |
| 5629 | - | |
| 5630 | - } | |
| 5631 | - | |
| 5632 | 4532 | .row-line.row-field:not(.event-choices, .colour-line):has(> .avatar) { |
| 5633 | 4533 | --field-mark: 40px; |
| 5634 | 4534 | } |
| @@ -5659,10 +4559,6 @@ button.ci-job-last { | ||
| 5659 | 4559 | |
| 5660 | 4560 | } |
| 5661 | 4561 | |
| 5662 | - .row-line.row-field:not(.event-choices, .colour-line):has(> .row-icon, > .avatar) { | |
| 5663 | - grid-template-columns: var(--field-mark) calc(var(--field-label) - var(--field-mark) - 12px) minmax(0, 440px) minmax(0, 1fr); | |
| 5664 | - | |
| 5665 | - } | |
| 5666 | 4562 | } |
| 5667 | 4563 | |
| 5668 | 4564 | .row-title .srv-label { |
| @@ -5677,12 +4573,6 @@ button.ci-job-last { | ||
| 5677 | 4573 | gap: 10px 16px; |
| 5678 | 4574 | } |
| 5679 | 4575 | |
| 5680 | -// A colour picker holds a whole row of swatches, so it takes the row. | |
| 5681 | -.colour-line > .colour-picker { | |
| 5682 | - flex: 1 1 100%; | |
| 5683 | - min-width: 0; | |
| 5684 | -} | |
| 5685 | - | |
| 5686 | 4576 | // Background and accent side by side, so the colours do not push the rest of the page off the screen. |
| 5687 | 4577 | @media (min-width: 1400px) { |
| 5688 | 4578 | .colour-panel { |
| @@ -5691,25 +4581,6 @@ button.ci-job-last { | ||
| 5691 | 4581 | gap: 0 32px; |
| 5692 | 4582 | } |
| 5693 | 4583 | |
| 5694 | - .colour-panel > .colour-line { | |
| 5695 | - padding-inline: 0; | |
| 5696 | - } | |
| 5697 | -} | |
| 5698 | - | |
| 5699 | -@media (max-width: 600px) { | |
| 5700 | - | |
| 5701 | -} | |
| 5702 | - | |
| 5703 | -// Passkeys: the add form sits under the list, aligned with the row text. Both the add form and the | |
| 5704 | -// login button stay hidden until nav.js sees that the browser supports passkeys. | |
| 5705 | -.passkey-add { | |
| 5706 | - max-width: 776px; | |
| 5707 | - margin: 0; | |
| 5708 | - padding: 4px 20px 18px 56px; | |
| 5709 | - | |
| 5710 | - &[hidden] { | |
| 5711 | - display: none; | |
| 5712 | - } | |
| 5713 | 4584 | } |
| 5714 | 4585 | |
| 5715 | 4586 | .passkey-error { |
| @@ -5758,22 +4629,6 @@ button.ci-job-last { | ||
| 5758 | 4629 | padding: 14px 16px; |
| 5759 | 4630 | } |
| 5760 | 4631 | |
| 5761 | - // The icon sits on the title's first line (20px box, 1.4 line of 15px) instead of mid-row. | |
| 5762 | - .row-line > .row-icon { | |
| 5763 | - margin-top: 0.5px; | |
| 5764 | - } | |
| 5765 | - | |
| 5766 | - .passkey-add { | |
| 5767 | - padding: 4px 16px 16px 16px; | |
| 5768 | - } | |
| 5769 | - | |
| 5770 | -} | |
| 5771 | - | |
| 5772 | -// Server settings page (/admin/server): a grid of field cells that fits a tab in the viewport. | |
| 5773 | -.srv-grid { | |
| 5774 | - display: grid; | |
| 5775 | - grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); | |
| 5776 | - gap: 16px 24px; | |
| 5777 | 4632 | } |
| 5778 | 4633 | |
| 5779 | 4634 | .srv-field { |
| @@ -5794,17 +4649,6 @@ button.ci-job-last { | ||
| 5794 | 4649 | } |
| 5795 | 4650 | } |
| 5796 | 4651 | |
| 5797 | -.srv-head { | |
| 5798 | - display: flex; | |
| 5799 | - flex-wrap: wrap; | |
| 5800 | - align-items: center; | |
| 5801 | - gap: 4px; | |
| 5802 | - | |
| 5803 | - .badge { | |
| 5804 | - margin-left: 0; | |
| 5805 | - } | |
| 5806 | -} | |
| 5807 | - | |
| 5808 | 4652 | .srv-label { |
| 5809 | 4653 | font-weight: 500; |
| 5810 | 4654 | font-size: 0.875rem; |
| @@ -5813,23 +4657,7 @@ button.ci-job-last { | ||
| 5813 | 4657 | } |
| 5814 | 4658 | |
| 5815 | 4659 | .badge { |
| 5816 | - &.srv-live { | |
| 5817 | - background: var(--public-bg); | |
| 5818 | - color: var(--public-text); | |
| 5819 | - } | |
| 5820 | - | |
| 5821 | - &.srv-restart, | |
| 5822 | - &.srv-ro, | |
| 5823 | - &.srv-source { | |
| 5824 | - background: var(--private-bg); | |
| 5825 | - color: var(--private-text); | |
| 5826 | - border-color: var(--border-strong); | |
| 5827 | - } | |
| 5828 | 4660 | |
| 5829 | - &.srv-pending { | |
| 5830 | - color: var(--warn); | |
| 5831 | - border-color: var(--warn); | |
| 5832 | - } | |
| 5833 | 4661 | } |
| 5834 | 4662 | |
| 5835 | 4663 | .srv-field .srv-fixed { |
| @@ -5857,86 +4685,6 @@ button.ci-job-last { | ||
| 5857 | 4685 | gap: 8px; |
| 5858 | 4686 | } |
| 5859 | 4687 | |
| 5860 | -.srv-page { | |
| 5861 | - display: flex; | |
| 5862 | - flex-direction: column; | |
| 5863 | - gap: 16px; | |
| 5864 | -} | |
| 5865 | - | |
| 5866 | -// The detail head says what the list's dot says: online, offline or disabled, in the dot's words. | |
| 5867 | -.runner-state { | |
| 5868 | - display: inline-flex; | |
| 5869 | - align-items: center; | |
| 5870 | - gap: 6px; | |
| 5871 | - color: var(--muted); | |
| 5872 | - font-size: 0.9rem; | |
| 5873 | -} | |
| 5874 | - | |
| 5875 | -.srv-grid.srv-stats { | |
| 5876 | - grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); | |
| 5877 | - | |
| 5878 | - strong { | |
| 5879 | - font-size: 1.0625rem; | |
| 5880 | - font-weight: 600; | |
| 5881 | - overflow-wrap: anywhere; | |
| 5882 | - } | |
| 5883 | -} | |
| 5884 | - | |
| 5885 | -// Draft pull requests: a neutral grey badge, distinct from open (green) and merged (purple). | |
| 5886 | -.issue-badge.issue-badge-draft { | |
| 5887 | - background: var(--code-bg); | |
| 5888 | - color: var(--muted); | |
| 5889 | - border: 1px solid var(--border); | |
| 5890 | -} | |
| 5891 | - | |
| 5892 | -// Required checks and flow controls inside the merge box. | |
| 5893 | -.required-checks { | |
| 5894 | - display: flex; | |
| 5895 | - flex-direction: column; | |
| 5896 | - gap: 0.35rem; | |
| 5897 | - | |
| 5898 | - p { | |
| 5899 | - margin: 0; | |
| 5900 | - } | |
| 5901 | -} | |
| 5902 | - | |
| 5903 | -.required-check-list { | |
| 5904 | - display: flex; | |
| 5905 | - flex-direction: column; | |
| 5906 | - gap: 0.25rem; | |
| 5907 | - margin: 0; | |
| 5908 | - padding: 0; | |
| 5909 | - list-style: none; | |
| 5910 | - | |
| 5911 | - li { | |
| 5912 | - display: flex; | |
| 5913 | - flex-wrap: wrap; | |
| 5914 | - align-items: center; | |
| 5915 | - justify-content: space-between; | |
| 5916 | - gap: 0.5rem; | |
| 5917 | - padding: 0.3rem 0.6rem; | |
| 5918 | - border: 1px solid var(--border); | |
| 5919 | - border-radius: var(--radius-md, var(--radius-lg)); | |
| 5920 | - background: var(--surface); | |
| 5921 | - font-size: 0.9rem; | |
| 5922 | - overflow-wrap: anywhere; | |
| 5923 | - } | |
| 5924 | - | |
| 5925 | - .check-ok span { | |
| 5926 | - color: var(--add-text); | |
| 5927 | - font-weight: 600; | |
| 5928 | - } | |
| 5929 | - | |
| 5930 | - .check-pending span { | |
| 5931 | - color: var(--muted); | |
| 5932 | - } | |
| 5933 | - | |
| 5934 | - .check-bad span { | |
| 5935 | - color: var(--danger); | |
| 5936 | - font-weight: 600; | |
| 5937 | - } | |
| 5938 | -} | |
| 5939 | - | |
| 5940 | 4688 | .merge-flow { |
| 5941 | 4689 | display: flex; |
| 5942 | 4690 | flex-wrap: wrap; |
| @@ -6030,10 +4778,6 @@ button.ci-job-last { | ||
| 6030 | 4778 | } |
| 6031 | 4779 | } |
| 6032 | 4780 | |
| 6033 | -// On a phone the digest and date columns give way, so the tag and its delete control stay in view. | |
| 6034 | -@media (max-width: 600px) { | |
| 6035 | - | |
| 6036 | -} | |
| 6037 | 4781 | @import "repo_side"; |
| 6038 | 4782 | @import "ci_estimate"; |
| 6039 | 4783 | @import "timeline"; |