forge
Clone
https://git.tahinli.com/Tahinli/forge.git
0 watching0 forksRustAGPL-3.07.1 MiB490f099Tahinli7 hours ago322 commits
| 1 | // The admin pages: only what style/_min.scss does not already give them. |
| 2 | |
| 3 | // A one-time reset link is long: it wraps inside the column instead of widening it. |
| 4 | .reset-link { |
| 5 | display: block; |
| 6 | overflow-wrap: anywhere; |
| 7 | } |
| 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 | // Tones for a value or a hint: a failing or lagging copy. |
| 30 | .hint.bad, |
| 31 | .val.bad, |
| 32 | .val .bad { |
| 33 | color: var(--bad); |
| 34 | } |
| 35 | |
| 36 | .val .warn { |
| 37 | color: var(--warn); |
| 38 | } |
| 39 | |
| 40 | // A path or a long value wraps inside the column instead of running past it. |
| 41 | .health-path { |
| 42 | overflow-wrap: anywhere; |
| 43 | } |
| 44 | |
| 45 | // A list that follows a hint keeps a gap above its first row. |
| 46 | .hint + .line { |
| 47 | margin-top: 8px; |
| 48 | } |
| 49 | |
| 50 | // The small stepper sits at the start of its field, and its number box keeps its own width. |
| 51 | .field > .runner-pill { |
| 52 | align-self: flex-start; |
| 53 | } |
| 54 | |
| 55 | .field .runner-pill input[type="number"] { |
| 56 | width: 34px; |
| 57 | } |
| 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 | } |