|
59 | 59 | .warn { color: var(--warn); } |
60 | 60 | .message { white-space: pre-line; } |
61 | 61 | .scroll { overflow-x: auto; } |
62 | | - .layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(420px, 32vw, 640px); gap: 24px; align-items: start; } |
| 62 | + .layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(420px, 2fr); gap: 24px; align-items: start; } |
63 | 63 | .layout > aside { position: sticky; top: 0; max-height: 100vh; overflow-y: auto; padding: 0 4px 16px; } |
64 | 64 | .strip { display: none; writing-mode: vertical-rl; width: 40px; min-height: 240px; margin-top: 32px; padding: 12px 4px; |
65 | 65 | border-color: var(--accent); color: var(--accent); font-weight: 600; } |
|
82 | 82 | .service > summary { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 8px 12px; cursor: pointer; |
83 | 83 | list-style: none; } |
84 | 84 | .service[open] > summary { border-bottom: 1px solid var(--border); } |
85 | | - .service.deployed { border-left: 4px solid var(--good); background: color-mix(in srgb, var(--good) 6%, transparent); } |
| 85 | + .service.deployed { box-shadow: inset 3px 0 0 var(--good); background: color-mix(in srgb, var(--good) 6%, transparent); } |
86 | 86 | .service.deployed .name { color: var(--good); } |
87 | 87 | .chip { display: inline-flex; align-items: center; gap: 4px; padding: 0 4px 0 10px; border-radius: 999px; |
88 | 88 | background: var(--pill-bg); color: var(--pill-fg); font-weight: 600; } |
|
91 | 91 | .service > summary::before { content: "▸"; color: var(--muted); } |
92 | 92 | .service[open] > summary::before { content: "▾"; } |
93 | 93 | .service .name { min-width: 200px; font-weight: 600; } |
| 94 | + .service .prod { display: inline-block; min-width: 8rem; } |
| 95 | + .service .target { display: inline-flex; min-width: 8rem; } |
94 | 96 | .service .body { padding: 8px 12px; } |
95 | 97 | .service .body > p:first-child { margin-top: 0; } |
96 | 98 | .status { display: inline-block; padding: 0 8px; border: 1px solid currentColor; border-radius: 10px; font-size: 12px; |
@@ -184,10 +186,10 @@ <h2 x-text="t('services')"></h2> |
184 | 186 | <span class="name" x-text="service.project"></span> |
185 | 187 | <span x-show="service.error" class="bad" x-text="t('failedToCollect')"></span> |
186 | 188 | <span x-show="!service.error"> |
187 | | - <span class="muted" x-text="productionRef(service) + ' →'"></span> |
188 | | - <span x-show="pickOf(service)" class="chip"><span x-text="picks[service.project]"></span><button type="button" |
| 189 | + <span class="muted prod" x-text="productionRef(service) + ' →'"></span> |
| 190 | + <span class="target"><span x-show="pickOf(service)" class="chip"><span x-text="picks[service.project]"></span><button type="button" |
189 | 191 | :title="t('clearPick')" :aria-label="t('clearPick')" @click.prevent="pick(service, '', $el)">×</button></span> |
190 | | - <span x-show="!pickOf(service)" class="muted" x-text="pickHint(service)"></span> |
| 192 | + <span x-show="!pickOf(service)" class="muted" x-text="pickHint(service)"></span></span> |
191 | 193 | <span x-show="deployed(service)" class="status status-done" x-text="t('upToDate')"></span> |
192 | 194 | <span x-show="service.untagged" class="warn" x-text="untaggedText(service, 'untagged', 'untaggedAtLeast')"></span> |
193 | 195 | </span> |
|
0 commit comments