@rocket.chat/houston 0.27.0-next.3 → 2.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +109 -15
- package/bin/houston +62 -0
- package/data/docs/ARCHITECTURE.md +387 -0
- package/data/docs/automation.md +107 -0
- package/data/docs/e2ee.md +76 -0
- package/data/docs/eks.md +258 -0
- package/data/docs/gui.md +282 -0
- package/data/docs/guide.md +642 -0
- package/data/docs/kubernetes.md +138 -0
- package/data/docs/loadtest.md +264 -0
- package/data/docs/troubleshooting.md +203 -0
- package/data/docs/upgrading.md +84 -0
- package/data/docs/voice.md +253 -0
- package/data/iam/engineer-policy.json +11 -0
- package/data/iam/engineer-rbac.yaml +42 -0
- package/data/iam/operator-policy.json +211 -0
- package/data/loadtest/badbot.js +22 -0
- package/data/loadtest/common.js +170 -0
- package/data/loadtest/custom.js +20 -0
- package/data/loadtest/journey.js +58 -0
- package/data/loadtest/login.js +18 -0
- package/data/loadtest/messages.js +13 -0
- package/data/loadtest/mixed.js +57 -0
- package/data/loadtest/read.js +12 -0
- package/data/loadtest/webhook.js +20 -0
- package/data/monitoring/houston-logs.json +98 -0
- package/data/monitoring/k6-loadtest.json +610 -0
- package/data/monitoring/mongodb-exporter.json +3007 -0
- package/data/monitoring/node-exporter-full.json +16114 -0
- package/data/monitoring/rocketchat-metrics.json +6471 -0
- package/data/presets/airgapped.yaml +16 -0
- package/data/presets/default.yaml +9 -0
- package/data/seed/avatar-0.png +0 -0
- package/data/seed/avatar-1.png +0 -0
- package/data/seed/avatar-2.png +0 -0
- package/data/seed/avatar-3.png +0 -0
- package/data/seed/avatar-4.png +0 -0
- package/data/seed/avatar-5.png +0 -0
- package/data/seed/avatar-6.png +0 -0
- package/data/seed/avatar-7.png +0 -0
- package/data/seed/seed-metrics.csv +3 -0
- package/data/seed/seed-preview.png +0 -0
- package/data/seed/seed-report.pdf +32 -0
- package/data/seed/seed-runbook.txt +3 -0
- package/data/skill/SKILL.md +399 -0
- package/data/versions.yaml +55 -0
- package/data/voice/freeswitch/drachtio.xml +52 -0
- package/data/voice/freeswitch/public.xml +87 -0
- package/data/webui/app.css +2003 -0
- package/data/webui/index.html +678 -0
- package/data/webui/js/api.js +561 -0
- package/data/webui/js/boot.js +44 -0
- package/data/webui/js/clusters-tail.js +1377 -0
- package/data/webui/js/clusters.js +896 -0
- package/data/webui/js/create.js +276 -0
- package/data/webui/js/detail.js +507 -0
- package/data/webui/js/jobs.js +636 -0
- package/data/webui/js/logs.js +634 -0
- package/data/webui/js/main.js +14 -0
- package/data/webui/js/options.js +408 -0
- package/data/webui/js/people.js +438 -0
- package/data/webui/js/perf.js +303 -0
- package/data/webui/js/render.js +438 -0
- package/data/webui/js/shared.js +3 -0
- package/data/webui/js/state.js +583 -0
- package/data/webui/js/theme.js +123 -0
- package/data/webui/js/util.js +584 -0
- package/dist/cli/app.js +593 -0
- package/dist/cli/capabilities.js +76 -0
- package/dist/cli/cell-widths.js +495 -0
- package/dist/cli/entry.js +10 -0
- package/dist/cli/error-panel.js +492 -0
- package/dist/cli/handlers/actor.js +84 -0
- package/dist/cli/handlers/https.js +614 -0
- package/dist/cli/handlers/prompt.js +299 -0
- package/dist/cli/handlers/users.js +226 -0
- package/dist/cli/handlers.js +3694 -0
- package/dist/cli/help.js +183 -0
- package/dist/cli/index.js +15 -0
- package/dist/cli/perf.js +814 -0
- package/dist/cli/render.js +254 -0
- package/dist/cli/serve.js +858 -0
- package/dist/cli/spec-data.js +2599 -0
- package/dist/cli/spec-types.js +8 -0
- package/dist/cli/usage-error.js +520 -0
- package/dist/cli/wire.js +70 -0
- package/dist/core/audit.js +346 -0
- package/dist/core/backup-compat.js +85 -0
- package/dist/core/backup.js +1639 -0
- package/dist/core/cluster.js +1398 -0
- package/dist/core/configimport.js +345 -0
- package/dist/core/data.js +267 -0
- package/dist/core/database-of.js +82 -0
- package/dist/core/diagnose.js +159 -0
- package/dist/core/doctor.js +1518 -0
- package/dist/core/edge/acme.js +338 -0
- package/dist/core/edge/engine.js +500 -0
- package/dist/core/edge/networks.js +174 -0
- package/dist/core/edge/paths.js +107 -0
- package/dist/core/edge/routes.js +251 -0
- package/dist/core/edge/routeyml.js +195 -0
- package/dist/core/edge/runtime.js +493 -0
- package/dist/core/edge/spec.js +305 -0
- package/dist/core/edge/types.js +202 -0
- package/dist/core/eks-docs.js +135 -0
- package/dist/core/eks.js +2240 -0
- package/dist/core/envvars.js +562 -0
- package/dist/core/eventlog.js +541 -0
- package/dist/core/firstrun.js +153 -0
- package/dist/core/journal.js +694 -0
- package/dist/core/kube/ask.js +231 -0
- package/dist/core/kube/capabilities.js +269 -0
- package/dist/core/kube/certmanager.js +452 -0
- package/dist/core/kube/chart.js +413 -0
- package/dist/core/kube/cluster.js +196 -0
- package/dist/core/kube/context.js +545 -0
- package/dist/core/kube/endpoints.js +448 -0
- package/dist/core/kube/exec.js +195 -0
- package/dist/core/kube/forward.js +732 -0
- package/dist/core/kube/grafana-ingress.js +110 -0
- package/dist/core/kube/ingress.js +218 -0
- package/dist/core/kube/manifests.js +361 -0
- package/dist/core/kube/monitoring.js +768 -0
- package/dist/core/kube/names.js +237 -0
- package/dist/core/kube/namespace.js +678 -0
- package/dist/core/kube/operator.js +941 -0
- package/dist/core/kube/probe.js +202 -0
- package/dist/core/kube/reachability.js +163 -0
- package/dist/core/kube/release.js +439 -0
- package/dist/core/kube/replicaset.js +180 -0
- package/dist/core/kube/scale.js +398 -0
- package/dist/core/kube/status.js +633 -0
- package/dist/core/kube/tools.js +238 -0
- package/dist/core/kube/transfer.js +173 -0
- package/dist/core/kube/workspace.js +423 -0
- package/dist/core/lifecycle/admin.js +64 -0
- package/dist/core/lifecycle/create-docker.js +1549 -0
- package/dist/core/lifecycle/create-k8s.js +960 -0
- package/dist/core/lifecycle/destroy.js +339 -0
- package/dist/core/lifecycle/inspect.js +636 -0
- package/dist/core/lifecycle/naming.js +298 -0
- package/dist/core/lifecycle/notes.js +862 -0
- package/dist/core/lifecycle/ownership.js +313 -0
- package/dist/core/lifecycle/payload.js +401 -0
- package/dist/core/lifecycle/ports.js +388 -0
- package/dist/core/lifecycle/preconditions.js +367 -0
- package/dist/core/lifecycle/pruning.js +551 -0
- package/dist/core/lifecycle/ready.js +818 -0
- package/dist/core/lifecycle/request.js +510 -0
- package/dist/core/lifecycle/seeding.js +281 -0
- package/dist/core/lifecycle/sizing.js +392 -0
- package/dist/core/lifecycle/state.js +286 -0
- package/dist/core/lifecycle/tlsplan.js +704 -0
- package/dist/core/lifecycle/types.js +232 -0
- package/dist/core/loadtest.js +1051 -0
- package/dist/core/migrate.js +612 -0
- package/dist/core/monitor.js +494 -0
- package/dist/core/postready.js +976 -0
- package/dist/core/promote.js +804 -0
- package/dist/core/rcapi.js +1336 -0
- package/dist/core/recovery.js +75 -0
- package/dist/core/runner/engine.js +394 -0
- package/dist/core/runner/host.js +298 -0
- package/dist/core/runner/locks.js +129 -0
- package/dist/core/runner/paths.js +173 -0
- package/dist/core/runner/ports.js +172 -0
- package/dist/core/runner/queries.js +612 -0
- package/dist/core/runner/record.js +563 -0
- package/dist/core/scaleseed.js +271 -0
- package/dist/core/seed-db.js +208 -0
- package/dist/core/sessions.js +472 -0
- package/dist/core/skill.js +326 -0
- package/dist/core/sso-identities.js +172 -0
- package/dist/core/sso.js +703 -0
- package/dist/core/tls-local.js +311 -0
- package/dist/core/tls.js +878 -0
- package/dist/core/topology.js +482 -0
- package/dist/core/upgrade.js +877 -0
- package/dist/core/users.js +739 -0
- package/dist/lib/audit.js +100 -0
- package/dist/lib/close-matches.js +238 -0
- package/dist/lib/compose.js +672 -0
- package/dist/lib/config.js +1398 -0
- package/dist/lib/context.js +18 -0
- package/dist/lib/errors.js +305 -0
- package/dist/lib/events.js +208 -0
- package/dist/lib/float-text.js +126 -0
- package/dist/lib/format.js +1320 -0
- package/dist/lib/home.js +325 -0
- package/dist/lib/journal.js +122 -0
- package/dist/lib/json-text.js +733 -0
- package/dist/lib/jsonout.js +382 -0
- package/dist/lib/lock.js +516 -0
- package/dist/lib/login-name.js +202 -0
- package/dist/lib/map-limit.js +29 -0
- package/dist/lib/mkdir-parents.js +90 -0
- package/dist/lib/mongo-kernel.js +67 -0
- package/dist/lib/monitoring.js +492 -0
- package/dist/lib/platform-name.js +59 -0
- package/dist/lib/presets/common.js +390 -0
- package/dist/lib/presets/composite.js +326 -0
- package/dist/lib/presets/e2ee.js +143 -0
- package/dist/lib/presets/email.js +172 -0
- package/dist/lib/presets/guides.js +27 -0
- package/dist/lib/presets/index.js +490 -0
- package/dist/lib/presets/keycloak.js +371 -0
- package/dist/lib/presets/ldap.js +1285 -0
- package/dist/lib/presets/livechat.js +220 -0
- package/dist/lib/presets/multi-instance.js +124 -0
- package/dist/lib/presets/oidc.js +161 -0
- package/dist/lib/presets/public.js +496 -0
- package/dist/lib/presets/registry.js +64 -0
- package/dist/lib/presets/s3-minio.js +300 -0
- package/dist/lib/presets/saml.js +149 -0
- package/dist/lib/presets/scenario.js +51 -0
- package/dist/lib/presets/types.js +86 -0
- package/dist/lib/presets/voice-pbx.js +320 -0
- package/dist/lib/presets/voice.js +345 -0
- package/dist/lib/presets/webhooks.js +182 -0
- package/dist/lib/redact.js +106 -0
- package/dist/lib/seed-options.js +68 -0
- package/dist/lib/seed-profiles.js +59 -0
- package/dist/lib/targz.js +1383 -0
- package/dist/lib/teammode.js +25 -0
- package/dist/lib/tempdir.js +162 -0
- package/dist/lib/unicode-tables.js +2335 -0
- package/dist/lib/version-spec.js +357 -0
- package/dist/lib/versions.js +463 -0
- package/dist/lib/yaml-dump.js +1361 -0
- package/dist/perf/baseline.js +168 -0
- package/dist/perf/constrain.js +299 -0
- package/dist/perf/k6.js +235 -0
- package/dist/perf/mongoprof.js +171 -0
- package/dist/perf/rcmetrics.js +191 -0
- package/dist/perf/report.js +386 -0
- package/dist/perf/resources.js +236 -0
- package/dist/perf/slo.js +111 -0
- package/dist/perf/timeline.js +187 -0
- package/dist/perf/timings.js +85 -0
- package/dist/perf/verdict.js +201 -0
- package/dist/seams/aws-cli.js +126 -0
- package/dist/seams/docker-cli.js +280 -0
- package/dist/seams/exec.js +861 -0
- package/dist/seams/fs/lock.js +528 -0
- package/dist/seams/kubectl.js +83 -0
- package/dist/seams/rc-http.js +921 -0
- package/dist/seed/apply.js +190 -0
- package/dist/seed/assets.js +76 -0
- package/dist/seed/check.js +391 -0
- package/dist/seed/client.js +172 -0
- package/dist/seed/executor.js +726 -0
- package/dist/seed/history.js +281 -0
- package/dist/seed/kinds.js +91 -0
- package/dist/seed/plan.js +432 -0
- package/dist/seed/receipt.js +339 -0
- package/dist/seed/repairs.js +75 -0
- package/dist/seed/verification.js +363 -0
- package/dist/seed/wording.js +248 -0
- package/dist/web/app.js +326 -0
- package/dist/web/jobs.js +510 -0
- package/dist/web/route-deps.js +211 -0
- package/dist/web/route-table.js +213 -0
- package/dist/web/routes/backup.js +244 -0
- package/dist/web/routes/clusters.js +303 -0
- package/dist/web/routes/data.js +187 -0
- package/dist/web/routes/edge.js +82 -0
- package/dist/web/routes/index.js +63 -0
- package/dist/web/routes/jobs.js +95 -0
- package/dist/web/routes/logs.js +297 -0
- package/dist/web/routes/meta.js +191 -0
- package/dist/web/routes/people.js +151 -0
- package/dist/web/routes/perf.js +95 -0
- package/dist/web/routes/repros.js +550 -0
- package/dist/web/routes/session.js +361 -0
- package/dist/web/routes/spa.js +198 -0
- package/dist/web/security.js +475 -0
- package/dist/web/signin.js +246 -0
- package/package.json +70 -32
- package/.eslintrc +0 -94
- package/.swcrc +0 -18
- package/dist/bin.js +0 -3
- package/dist/cli.js +0 -184
- package/dist/commands/createBranch.js +0 -194
- package/dist/outputCI.js +0 -59
- package/src/bin.js +0 -4
- package/src/cli.ts +0 -25
- package/src/commands/createBranch.ts +0 -28
- package/src/outputCI.ts +0 -12
- package/src-old/logs.js +0 -323
- package/src-old/md.js +0 -191
- package/src-old/release-table.js +0 -60
- package/src-old/set-version.js +0 -614
- package/src-old/utils.js +0 -15
|
@@ -0,0 +1,2003 @@
|
|
|
1
|
+
/* Light by default, dark on request — one token set, two palettes.
|
|
2
|
+
`color-scheme` matters as much as the colours: without it the browser paints
|
|
3
|
+
its own scrollbars, selects and checkboxes for the WRONG theme, and a light
|
|
4
|
+
page ends up with black form controls that nothing in this file can reach. */
|
|
5
|
+
:root {
|
|
6
|
+
color-scheme: light;
|
|
7
|
+
/* A soft light, not paper white: the owner found pure-white cards on #F4F6F8 too
|
|
8
|
+
bright to sit in front of all day (2026-10-05, option B of four compared). */
|
|
9
|
+
--bg: #E4E7EC; --panel: #F1F3F5; --panel2: #DEE2E8; --line: #D3D8DF; --line2: #BCC4CF;
|
|
10
|
+
--ink: #14171C; --muted: #5B6472; --dim: #8A93A1;
|
|
11
|
+
/* Colour is a signal, never decoration: green = running, amber = wants you,
|
|
12
|
+
red = about to destroy something, blue = you can click it. Every value below
|
|
13
|
+
clears 4.5:1 on its own ground, checked -- 5:1 or better on --bg, --panel and
|
|
14
|
+
--panel2 since the grounds went grey, which took each a step darker. */
|
|
15
|
+
--green: #05693F; --red: #B42318; --blue: #3550CC; --amber: #9A4407;
|
|
16
|
+
--cyan: #0B6478; --violet: #6D28D9;
|
|
17
|
+
--on-accent: #FFFFFF;
|
|
18
|
+
/* The one action a screen wants you to take. It is `blue` because that is what
|
|
19
|
+
blue MEANS here -- the primary button used to be `--ink`, i.e. pure
|
|
20
|
+
luminance, which made the loudest thing on the page the one thing carrying no
|
|
21
|
+
signal at all. `-fill` is a step deeper than `--blue` so white text sits on
|
|
22
|
+
it; `-soft` and `-ring` are the same hue at low alpha, for tinted grounds and
|
|
23
|
+
focus. */
|
|
24
|
+
--accent: var(--blue); --accent-fill: #3B5BDB; --accent-strong: #2C46B4;
|
|
25
|
+
--accent-ink: #FFFFFF; --accent-soft: rgba(59,91,219,.10);
|
|
26
|
+
--accent-ring: rgba(59,91,219,.42);
|
|
27
|
+
/* The page's dot grid and the bar's translucent ground: both were literals
|
|
28
|
+
that assumed a dark page and survived the token swap unnoticed. */
|
|
29
|
+
--dot: #CDD3DB; --bar: rgba(222,226,232,.92);
|
|
30
|
+
/* Elevation. On a light page a shadow does the lifting; on a dark one it cannot
|
|
31
|
+
be seen at all, so `--edge` adds the hairline top highlight that real
|
|
32
|
+
materials have and shadows there stay tight and dark. */
|
|
33
|
+
--shadow-1: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.06);
|
|
34
|
+
--shadow-2: 0 2px 8px rgba(16,24,40,.07), 0 24px 52px rgba(16,24,40,.16);
|
|
35
|
+
--shadow-accent: 0 1px 2px rgba(16,24,40,.10), 0 6px 16px rgba(59,91,219,.28);
|
|
36
|
+
--edge: inset 0 1px 0 rgba(255,255,255,.65);
|
|
37
|
+
|
|
38
|
+
--mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
|
|
39
|
+
--sans: system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
40
|
+
|
|
41
|
+
/* One radius scale, so a chip and the dialog behind it look related. The file
|
|
42
|
+
had 5, 6, 7, 9, 12, 14 and 16px scattered through it, which is what makes a
|
|
43
|
+
careful layout still read as unfinished. */
|
|
44
|
+
--r-xs: 6px; --r-sm: 8px; --r-md: 11px; --r-lg: 14px; --r-xl: 18px; --r-pill: 999px;
|
|
45
|
+
|
|
46
|
+
/* One motion system. `--t` is the everyday hover/press; `--t-slow` is for
|
|
47
|
+
something that travels (a bar filling, a panel arriving). The curve leaves
|
|
48
|
+
fast and settles, which is what makes a press feel answered rather than
|
|
49
|
+
animated. Every duration here is overridden to ~0 under reduced-motion. */
|
|
50
|
+
--ease: cubic-bezier(.2, .7, .3, 1);
|
|
51
|
+
--t: 140ms; --t-slow: 320ms;
|
|
52
|
+
|
|
53
|
+
/* The dark ramp, defined once and only assigned below, where `data-theme="dark"`
|
|
54
|
+
applies it -- a second copy is how two palettes drift apart. */
|
|
55
|
+
--d-bg: #0B0E13; --d-panel: #12161F; --d-panel2: #1A2029;
|
|
56
|
+
--d-line: #232B37; --d-line2: #343E4D;
|
|
57
|
+
--d-ink: #E7EAF0; --d-muted: #8B94A4; --d-dim: #5D6675;
|
|
58
|
+
--d-green: #4ADE80; --d-red: #FF6B6B; --d-blue: #7FA8FF; --d-amber: #F0B429;
|
|
59
|
+
--d-cyan: #56D4DD; --d-violet: #A371F7;
|
|
60
|
+
--d-accent-fill: #3567DD; --d-accent-strong: #5B89F2;
|
|
61
|
+
--d-accent-soft: rgba(127,168,255,.13); --d-accent-ring: rgba(127,168,255,.45);
|
|
62
|
+
--d-dot: #161D2B; --d-bar: rgba(26,32,41,.88);
|
|
63
|
+
}
|
|
64
|
+
/* The one place dark is turned on: an explicit `data-theme="dark"`, set by the
|
|
65
|
+
toggle, or by its cookie on the server-rendered SIGN-IN page. Assignments only --
|
|
66
|
+
every value lives above. Nothing follows the OS: light is the default everywhere
|
|
67
|
+
until somebody presses the toggle (the owner's choice, 2026-10-05). */
|
|
68
|
+
[data-theme="dark"] {
|
|
69
|
+
color-scheme: dark;
|
|
70
|
+
--bg: var(--d-bg); --panel: var(--d-panel); --panel2: var(--d-panel2);
|
|
71
|
+
--line: var(--d-line); --line2: var(--d-line2);
|
|
72
|
+
--ink: var(--d-ink); --muted: var(--d-muted); --dim: var(--d-dim);
|
|
73
|
+
--green: var(--d-green); --red: var(--d-red); --blue: var(--d-blue);
|
|
74
|
+
--amber: var(--d-amber); --cyan: var(--d-cyan); --violet: var(--d-violet);
|
|
75
|
+
--on-accent: #0A0E14;
|
|
76
|
+
--accent-fill: var(--d-accent-fill); --accent-strong: var(--d-accent-strong);
|
|
77
|
+
--accent-ink: #FFFFFF; --accent-soft: var(--d-accent-soft);
|
|
78
|
+
--accent-ring: var(--d-accent-ring);
|
|
79
|
+
--dot: var(--d-dot); --bar: var(--d-bar);
|
|
80
|
+
--shadow-1: 0 1px 2px rgba(0,0,0,.40);
|
|
81
|
+
--shadow-2: 0 2px 8px rgba(0,0,0,.45), 0 28px 64px rgba(0,0,0,.60);
|
|
82
|
+
--shadow-accent: 0 1px 2px rgba(0,0,0,.40), 0 6px 18px rgba(53,103,221,.42);
|
|
83
|
+
--edge: inset 0 1px 0 rgba(255,255,255,.045);
|
|
84
|
+
}
|
|
85
|
+
* { box-sizing: border-box; }
|
|
86
|
+
/* The UA's `[hidden] { display: none }` loses to ANY author rule that sets
|
|
87
|
+
`display` on the same element -- and `form label`/`.checks label` below both
|
|
88
|
+
do. Without this, every `el.hidden = true` on a label is silently a no-op
|
|
89
|
+
(the seed dialog showed "Profile" and "Scale spec" at the same time in both
|
|
90
|
+
modes). Needs !important: it has to outrank those class rules. */
|
|
91
|
+
[hidden] { display: none !important; }
|
|
92
|
+
html, body { height: 100%; }
|
|
93
|
+
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans);
|
|
94
|
+
display: flex; flex-direction: column; min-height: 100vh;
|
|
95
|
+
background-image: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 0); background-size: 26px 26px; }
|
|
96
|
+
|
|
97
|
+
/* ---- top bar ---- */
|
|
98
|
+
.topbar { display: flex; align-items: center; gap: .9rem; padding: .8rem 1.4rem;
|
|
99
|
+
border-bottom: 1px solid var(--line); background: var(--bar); backdrop-filter: blur(6px);
|
|
100
|
+
position: sticky; top: 0; z-index: 10; }
|
|
101
|
+
/* `--bar` is `--panel2` at 92%: the greyish step, not white and not the ground.
|
|
102
|
+
White made the header a slab floating over a grey well; the ground made it read
|
|
103
|
+
as a hole in dark, where the ground is nearly black. One step up from the page
|
|
104
|
+
is the reading that works in both, and the rule below it does the dividing.
|
|
105
|
+
The status bar takes the same token, so the two edges of the frame agree. */
|
|
106
|
+
.brand { font-family: var(--mono); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
|
|
107
|
+
.brand .dollar { color: var(--green); }
|
|
108
|
+
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
|
|
109
|
+
.toplinks { display: flex; align-items: center; gap: .5rem; }
|
|
110
|
+
/* The hamburger exists only where the links would wrap onto a second row, and the
|
|
111
|
+
disclosure that reveals the action pane only where the pane is not a column. Both
|
|
112
|
+
qualified by the class that sets their `display`, because `.chip.iconbtn` and
|
|
113
|
+
`.btn.small` are two-class selectors and a bare `.navtoggle` loses to them --
|
|
114
|
+
which is how a hamburger came to sit on a 1440px bar next to the links it
|
|
115
|
+
replaces. */
|
|
116
|
+
.chip.navtoggle, .btn.panetoggle { display: none; }
|
|
117
|
+
|
|
118
|
+
/* ---- how everything you can touch behaves ----
|
|
119
|
+
One rule, so a chip, a tab, a workspace row and a button all answer a pointer
|
|
120
|
+
at the same speed and in the same direction. Before this only `.btn` had a
|
|
121
|
+
transition, and the rest of the interface snapped between states while the
|
|
122
|
+
buttons eased -- which reads as unfinished long before anyone can say why. */
|
|
123
|
+
.btn, .chip, .toplink, .linkbtn, .wrow, .tab, .linkrow, .aplist button,
|
|
124
|
+
.memenu button, .cp, .urlbox .copy, .wsrow-main, .att, .hcard, .card,
|
|
125
|
+
input, select, textarea, dialog {
|
|
126
|
+
transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease),
|
|
127
|
+
color var(--t) var(--ease), box-shadow var(--t) var(--ease),
|
|
128
|
+
opacity var(--t) var(--ease), transform var(--t) var(--ease);
|
|
129
|
+
}
|
|
130
|
+
/* A press has to be felt, not just registered. 1px is the whole effect. */
|
|
131
|
+
.btn:active:not(:disabled), .chip:active, .cp:active, .aplist button:active:not(:disabled) {
|
|
132
|
+
transform: translateY(1px);
|
|
133
|
+
}
|
|
134
|
+
/* One focus ring, on the keyboard path only. There was exactly one
|
|
135
|
+
:focus-visible rule in the file -- on the sign-in inputs -- so tabbing through
|
|
136
|
+
the dashboard showed whatever the browser felt like drawing, or nothing. */
|
|
137
|
+
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
|
|
138
|
+
outline: 2px solid var(--accent);
|
|
139
|
+
outline-offset: 2px;
|
|
140
|
+
border-radius: var(--r-xs);
|
|
141
|
+
}
|
|
142
|
+
.wrow:focus-visible { outline-offset: -2px; }
|
|
143
|
+
/* A field being typed into is the one place a soft ring beats a hard outline:
|
|
144
|
+
it says "this one" without drawing a second border beside the one already
|
|
145
|
+
there. Pointer and keyboard both, because focus here is always deliberate. */
|
|
146
|
+
input:focus, select:focus, textarea:focus {
|
|
147
|
+
outline: none; border-color: var(--accent);
|
|
148
|
+
box-shadow: 0 0 0 3px var(--accent-ring);
|
|
149
|
+
}
|
|
150
|
+
/* Reduced motion is a floor, not a feature: keep every state change, remove the
|
|
151
|
+
travel. Durations rather than `none`, so transitionend still fires. */
|
|
152
|
+
@media (prefers-reduced-motion: reduce) {
|
|
153
|
+
*, *::before, *::after {
|
|
154
|
+
transition-duration: .01ms !important;
|
|
155
|
+
animation-duration: .01ms !important;
|
|
156
|
+
animation-iteration-count: 1 !important;
|
|
157
|
+
scroll-behavior: auto !important;
|
|
158
|
+
}
|
|
159
|
+
.btn:active:not(:disabled), .chip:active, .cp:active { transform: none; }
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/* ---- buttons / chips ---- */
|
|
163
|
+
.btn { font-size: .82rem; padding: .42rem .8rem; border-radius: var(--r-sm);
|
|
164
|
+
border: 1px solid var(--line2); background: var(--panel2); color: var(--ink);
|
|
165
|
+
cursor: pointer; white-space: nowrap; }
|
|
166
|
+
.btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
|
|
167
|
+
.btn.primary { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
|
|
168
|
+
.btn.primary:hover { background: var(--accent-fill); border-color: var(--accent-fill);
|
|
169
|
+
color: var(--accent-ink); box-shadow: var(--shadow-accent); }
|
|
170
|
+
/* Red means ABOUT TO destroy something, and a control sitting in a footer is not
|
|
171
|
+
about to do anything. Prune lived permanently red at the bottom of the rail,
|
|
172
|
+
which is the loudest colour in the palette spent on the quietest moment; it
|
|
173
|
+
arrives when you reach for it instead. */
|
|
174
|
+
.btn.danger { color: var(--muted); border-color: transparent; background: transparent; }
|
|
175
|
+
.btn.danger:hover { color: var(--red); border-color: var(--red);
|
|
176
|
+
background: rgba(217,45,32,.10); }
|
|
177
|
+
.btn.danger:focus-visible { color: var(--red); }
|
|
178
|
+
/* Except where the destroying IS the moment: the rollback's confirm replaces the database,
|
|
179
|
+
so its button is red at rest, beside the red banner saying what is lost. */
|
|
180
|
+
#rollback-dialog .btn.danger { color: var(--red); border-color: var(--red); }
|
|
181
|
+
/* And Delete's, once the name is typed: red at rest, as rollback's is. */
|
|
182
|
+
#down-dialog .btn.danger:not(:disabled) { color: var(--red); border-color: var(--red); }
|
|
183
|
+
.btn.small { padding: .3rem .6rem; font-size: .78rem; }
|
|
184
|
+
/* `docker compose stop|start|restart|down` run synchronously for seconds with no
|
|
185
|
+
progress to stream, so the button itself carries the feedback: a spinner and
|
|
186
|
+
the verb ("Stopping…"), with the repro's other actions greyed out until it
|
|
187
|
+
returns. Without it the click looked ignored and users clicked again, firing
|
|
188
|
+
concurrent compose commands at one project. */
|
|
189
|
+
.btn:disabled { cursor: default; opacity: .5; }
|
|
190
|
+
.btn:disabled:hover { border-color: var(--line2); color: var(--ink); }
|
|
191
|
+
.btn.working:disabled { opacity: 1; color: var(--blue); border-color: var(--blue);
|
|
192
|
+
background: rgba(88,166,255,.1); display: inline-flex; align-items: center; gap: .45rem; }
|
|
193
|
+
.spin { width: .72em; height: .72em; flex: 0 0 auto; border-radius: 50%;
|
|
194
|
+
border: 2px solid currentColor; border-right-color: transparent;
|
|
195
|
+
animation: rc-spin .7s linear infinite; }
|
|
196
|
+
@keyframes rc-spin { to { transform: rotate(360deg); } }
|
|
197
|
+
@media (prefers-reduced-motion: reduce) {
|
|
198
|
+
.spin { animation: none; } /* the verb still says what is happening */
|
|
199
|
+
.pill.working { animation: none; }
|
|
200
|
+
}
|
|
201
|
+
.chip { font-size: .74rem; color: var(--muted); border: 1px solid var(--line);
|
|
202
|
+
border-radius: 999px; padding: .18rem .6rem; display: inline-flex; align-items: center; gap: .35rem;
|
|
203
|
+
background: none; cursor: pointer; }
|
|
204
|
+
.chip:hover { border-color: var(--blue); color: var(--ink); }
|
|
205
|
+
/* One doctor finding. Colour the mark, not the text: the message is the content. */
|
|
206
|
+
.dcheck { display: flex; gap: .5rem; align-items: baseline; padding: .22rem 0; font-size: .84rem; }
|
|
207
|
+
.dcheck .dmark { font-family: var(--mono); flex: 0 0 1em; }
|
|
208
|
+
.dcheck.ok .dmark { color: var(--green); }
|
|
209
|
+
.dcheck.warn .dmark { color: var(--amber); }
|
|
210
|
+
.dcheck.fail .dmark { color: var(--red); }
|
|
211
|
+
.banner.ok { border-color: rgba(63,185,80,.45); background: rgba(63,185,80,.08); }
|
|
212
|
+
.banner.warn { border-color: rgba(210,153,34,.45); background: rgba(210,153,34,.08); }
|
|
213
|
+
.chip::before { content: "●"; font-size: .6rem; color: var(--dim); }
|
|
214
|
+
/* A chip that is only a mark: square, no status dot, and the mark takes the
|
|
215
|
+
button's own ink so it follows the theme it switches. */
|
|
216
|
+
.chip.iconbtn { padding: .3rem; width: 1.85rem; height: 1.85rem; justify-content: center; }
|
|
217
|
+
.chip.iconbtn::before { content: none; }
|
|
218
|
+
.chip.iconbtn svg { width: 15px; height: 15px; display: block;
|
|
219
|
+
fill: none; stroke: currentColor; stroke-width: 1.9;
|
|
220
|
+
stroke-linecap: round; stroke-linejoin: round; }
|
|
221
|
+
.chip.iconbtn:hover { color: var(--accent); border-color: var(--accent); }
|
|
222
|
+
.chip.up::before { color: var(--green); }
|
|
223
|
+
.chip.down::before { color: var(--red); }
|
|
224
|
+
|
|
225
|
+
/* ---- who is signed in, and who owns what ----
|
|
226
|
+
On a shared box the first question at a glance is "which of these are mine".
|
|
227
|
+
Owned-by-you is the accent; everyone else is quiet, because muting the majority
|
|
228
|
+
is what makes the few stand out. */
|
|
229
|
+
.whoami { font-size: .74rem; color: var(--muted);
|
|
230
|
+
border: 1px solid var(--line); border-radius: 999px; padding: .18rem .6rem;
|
|
231
|
+
background: none; cursor: pointer; }
|
|
232
|
+
.whoami:hover { border-color: var(--blue); color: var(--ink); }
|
|
233
|
+
.whoami::before { content: "@"; color: var(--dim); }
|
|
234
|
+
.whoami::after { content: " ▾"; color: var(--dim); }
|
|
235
|
+
|
|
236
|
+
/* ---- sign-in page (server-rendered; see src/web/signin.ts) ----
|
|
237
|
+
Its own document rather than a state inside the SPA, so these rules are the
|
|
238
|
+
only ones it uses. app.js never loads there. */
|
|
239
|
+
.signin-body { display: grid; place-items: center; padding: 2rem 1rem; }
|
|
240
|
+
.signin { width: min(24rem, 100%); }
|
|
241
|
+
.signin .brand { font-family: var(--mono); font-weight: 700; font-size: 1.3rem;
|
|
242
|
+
text-align: center; margin-bottom: 1.6rem; }
|
|
243
|
+
.signin-form { background: var(--panel); border: 1px solid var(--line);
|
|
244
|
+
border-radius: var(--r-lg); padding: 1.4rem 1.5rem; }
|
|
245
|
+
.signin-form label { display: block; margin: 0 0 .3rem; font-size: .8rem;
|
|
246
|
+
font-weight: 600; color: var(--ink); }
|
|
247
|
+
.signin-form input { width: 100%; margin-bottom: 1rem; padding: .55rem .7rem;
|
|
248
|
+
border: 1px solid var(--line2); border-radius: var(--r-sm); background: var(--bg);
|
|
249
|
+
color: var(--ink); font: inherit; }
|
|
250
|
+
.signin-form input:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
|
|
251
|
+
/* Solid, like every primary action in the 2026-10 screens: the tinted .btn.primary was
|
|
252
|
+
pale blue on white once light became the default, and read as disabled. */
|
|
253
|
+
.signin-form button { width: 100%; padding: .6rem; margin-top: .2rem; font-weight: 600; }
|
|
254
|
+
.signin-form .btn.primary { background: var(--accent-fill); border-color: var(--accent-fill);
|
|
255
|
+
color: var(--accent-ink); }
|
|
256
|
+
.signin-form .btn.primary:hover { background: var(--accent-strong); border-color: var(--accent-strong);
|
|
257
|
+
color: var(--accent-ink); }
|
|
258
|
+
/* Banners carry the ?e= state and the transport warning. Colour is the only
|
|
259
|
+
difference between them, so each one names its own severity. */
|
|
260
|
+
.signin-banner { font-size: .84rem; border-radius: var(--r-sm); padding: .6rem .75rem;
|
|
261
|
+
margin: 0 0 1rem; border: 1px solid var(--line2); background: var(--panel2); }
|
|
262
|
+
/* A deep ink for each severity on the light ground; the pale tints are for the dark
|
|
263
|
+
ground only, where they were written -- on white they were close to invisible. The
|
|
264
|
+
reds and ambers are a step darker than --red and --amber: text on a tint needs 4.5:1. */
|
|
265
|
+
.signin-banner.bad { border-color: rgba(248,81,73,.45); background: rgba(248,81,73,.09);
|
|
266
|
+
color: #B42318; }
|
|
267
|
+
.signin-banner.warn { border-color: rgba(210,153,34,.45); background: rgba(210,153,34,.09);
|
|
268
|
+
color: #93370D; }
|
|
269
|
+
.signin-banner.ok { border-color: rgba(63,185,80,.45); background: rgba(63,185,80,.09);
|
|
270
|
+
color: var(--green); }
|
|
271
|
+
[data-theme="dark"] .signin-banner.bad { color: #ffb4b0; }
|
|
272
|
+
[data-theme="dark"] .signin-banner.warn { color: #e8c76a; }
|
|
273
|
+
[data-theme="dark"] .signin-banner.ok { color: #86e29b; }
|
|
274
|
+
.signin-foot { color: var(--muted); font-size: .8rem; text-align: center;
|
|
275
|
+
margin: 1rem 0 0; line-height: 1.6; }
|
|
276
|
+
.signin-foot code { font-family: var(--mono); color: var(--ink); }
|
|
277
|
+
/* "Sign in with Okta": the page's first action when Okta is on, solid like the form's. */
|
|
278
|
+
.btn.signin-okta { display: flex; justify-content: center; padding: .6rem; font-weight: 600;
|
|
279
|
+
text-decoration: none; background: var(--accent-fill); border-color: var(--accent-fill);
|
|
280
|
+
color: var(--accent-ink); }
|
|
281
|
+
.btn.signin-okta:hover { background: var(--accent-strong); border-color: var(--accent-strong);
|
|
282
|
+
color: var(--accent-ink); }
|
|
283
|
+
.owner { font-size: .7rem; color: var(--muted);
|
|
284
|
+
border: 1px solid var(--line2); border-radius: 999px; padding: .05rem .45rem; }
|
|
285
|
+
.owner::before { content: "@"; color: var(--dim); }
|
|
286
|
+
.owner.me { color: var(--cyan); border-color: rgba(86,212,221,.4); background: rgba(86,212,221,.07); }
|
|
287
|
+
.owner.me::before { color: var(--cyan); }
|
|
288
|
+
|
|
289
|
+
/* ---- main / split layout ---- */
|
|
290
|
+
/* Status pills: still used by the rail header count, the detail badge and
|
|
291
|
+
the job list. They were collateral in the layout replacement. */
|
|
292
|
+
.pill { font-size: .74rem; border-radius: 999px; padding: .2rem .6rem;
|
|
293
|
+
display: inline-flex; align-items: center; gap: .35rem; border: 1px solid transparent; }
|
|
294
|
+
.pill::before { content: "●"; font-size: .6rem; }
|
|
295
|
+
.pill.running { color: var(--green); border-color: rgba(63,185,80,.4); background: rgba(63,185,80,.1); }
|
|
296
|
+
.pill.stopped { color: var(--amber); border-color: rgba(210,153,34,.4); background: rgba(210,153,34,.1); }
|
|
297
|
+
.pill.down { color: var(--muted); border-color: var(--line); }
|
|
298
|
+
/* state "?" (docker unreachable) -- mapped to .unknown by stateClass() */
|
|
299
|
+
.pill.unknown { color: var(--muted); border-color: var(--line); border-style: dashed; }
|
|
300
|
+
/* A restarting Rocket.Chat is almost always a crash loop, so it pulses like the
|
|
301
|
+
in-flight pill rather than sitting quietly next to "stopped". */
|
|
302
|
+
.pill.restarting { color: var(--red); border-color: rgba(248,81,73,.4); background: rgba(248,81,73,.1);
|
|
303
|
+
animation: rc-pulse 1.1s ease-in-out infinite; }
|
|
304
|
+
.pill.dead { color: var(--red); border-color: rgba(248,81,73,.4); background: rgba(248,81,73,.1); }
|
|
305
|
+
.pill.paused, .pill.created { color: var(--amber); border-color: rgba(210,153,34,.4);
|
|
306
|
+
background: rgba(210,153,34,.1); }
|
|
307
|
+
/* A client-side transitional state (we issued the action and it has not returned),
|
|
308
|
+
deliberately styled apart from the server-reported ones above. */
|
|
309
|
+
.pill.working { color: var(--blue); border-color: rgba(88,166,255,.4); background: rgba(88,166,255,.1);
|
|
310
|
+
animation: rc-pulse 1.1s ease-in-out infinite; }
|
|
311
|
+
@keyframes rc-pulse { 50% { opacity: .45; } }
|
|
312
|
+
.pill.default { color: var(--blue); border-color: rgba(88,166,255,.4); background: rgba(88,166,255,.1); }
|
|
313
|
+
.pill.default::before { content: none; }
|
|
314
|
+
|
|
315
|
+
/* ---- cards (left list) ---- */
|
|
316
|
+
|
|
317
|
+
/* ---- three panes: scan · work · act ---- */
|
|
318
|
+
.panes { flex: 1; display: grid; grid-template-columns: 288px minmax(0, 1fr) 244px;
|
|
319
|
+
min-height: 0; }
|
|
320
|
+
.panes.no-detail { grid-template-columns: 288px minmax(0, 1fr); }
|
|
321
|
+
.panes.no-detail .actpane { display: none; }
|
|
322
|
+
|
|
323
|
+
.rail { background: var(--panel); border-right: 1px solid var(--line);
|
|
324
|
+
display: flex; flex-direction: column; min-height: 0; }
|
|
325
|
+
.rail-head { display: flex; align-items: center; justify-content: space-between;
|
|
326
|
+
padding: .8rem .85rem .5rem; }
|
|
327
|
+
.rail-title { font-size: .68rem; font-weight: 600; letter-spacing: .1em;
|
|
328
|
+
text-transform: uppercase; color: var(--dim); }
|
|
329
|
+
.rail-controls { padding: 0 .85rem .75rem; display: grid; gap: .45rem;
|
|
330
|
+
border-bottom: 1px solid var(--line); }
|
|
331
|
+
.rail-two { display: flex; flex-wrap: wrap; gap: .45rem; }
|
|
332
|
+
.rail-two .input { flex: 1 1 7.5rem; min-width: 0; }
|
|
333
|
+
.rail-two .input { min-width: 0; }
|
|
334
|
+
.btn.block { width: 100%; justify-content: center; }
|
|
335
|
+
/* Each workspace is a card, so it needs its own ground and its own edge. It had
|
|
336
|
+
neither: an unselected row was text on the rail with a 2px state bar beside it,
|
|
337
|
+
which is why nothing looked like a card until you happened to select one. */
|
|
338
|
+
/* `minmax(0, 1fr)`, not the implicit `auto` track. An auto track is at least as wide
|
|
339
|
+
as its widest item's MIN-content, and a row whose name is `white-space: nowrap` has
|
|
340
|
+
a min-content of the whole name -- so one long workspace name made every row 484px
|
|
341
|
+
wide inside a 287px rail, which the rail then scrolled sideways: the state tags and
|
|
342
|
+
the group counts were clipped off the right edge. */
|
|
343
|
+
.rows { flex: 1; overflow: auto; padding: .55rem; display: grid;
|
|
344
|
+
grid-template-columns: minmax(0, 1fr); gap: .4rem; align-content: start; }
|
|
345
|
+
.rail-foot { padding: .6rem .9rem .8rem; border-top: 1px solid var(--line); }
|
|
346
|
+
|
|
347
|
+
/* A GROUP HEADING, saying what the rows under it want from you. Rendered only when
|
|
348
|
+
more than one group has rows -- over a list that is entirely one state it would be
|
|
349
|
+
a label for the thing it is inside, and the pill in the rail head already says it. */
|
|
350
|
+
.rgrp { display: flex; align-items: center; gap: .45rem; padding: .55rem .35rem .15rem; }
|
|
351
|
+
.rgrp:first-child { padding-top: .1rem; }
|
|
352
|
+
.rgrp-t { font-size: .6rem; font-weight: 600; letter-spacing: .1em;
|
|
353
|
+
text-transform: uppercase; color: var(--dim); }
|
|
354
|
+
.rgrp-n { margin-left: auto; font-family: var(--mono); font-size: .64rem; color: var(--dim); }
|
|
355
|
+
.rdot { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
|
|
356
|
+
.rdot.ok { background: var(--green); }
|
|
357
|
+
.rdot.warn { background: var(--amber); }
|
|
358
|
+
.rdot.off { background: transparent; box-shadow: inset 0 0 0 1px var(--dim); }
|
|
359
|
+
|
|
360
|
+
/* One ROW per workspace: the whole name (it is the thing you scan for), the version
|
|
361
|
+
right-aligned, what it is and whose, and the state as a left gutter that encodes
|
|
362
|
+
itself by SHAPE as well as hue -- so it survives greyscale, which is how these end
|
|
363
|
+
up pasted into a ticket. No buttons: six repeated per card was 36 on a screen.
|
|
364
|
+
|
|
365
|
+
One line was tried and reverted. It fits more rows and pays for them with the port,
|
|
366
|
+
the owner and the scenario, which are what people search a rail BY on a shared box.
|
|
367
|
+
The grouping above is what "which one is unhappy" needed. */
|
|
368
|
+
/* A grid track is at least as wide as its widest unbreakable text, and a preset list has no
|
|
369
|
+
space in it (e2ee+email+ldap+livechat+oidc+s3_minio), so the track grew past the card and
|
|
370
|
+
the version and the age sat outside it. The track may shrink, and the text may break. */
|
|
371
|
+
.wrow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px;
|
|
372
|
+
width: 100%; min-width: 0; text-align: left;
|
|
373
|
+
padding: .55rem .7rem .55rem .9rem; border: 1px solid var(--line);
|
|
374
|
+
border-radius: var(--r-sm); background: var(--bg); color: var(--ink);
|
|
375
|
+
cursor: pointer; font: inherit; }
|
|
376
|
+
.wrow::before { content: ""; position: absolute; left: .28rem; top: .7rem; bottom: .7rem;
|
|
377
|
+
width: 2px; border-radius: 2px; background: var(--line2); }
|
|
378
|
+
.wrow[data-state="running"]::before { background: var(--green); }
|
|
379
|
+
.wrow[data-state="stopped"]::before,
|
|
380
|
+
.wrow[data-state="paused"]::before, .wrow[data-state="created"]::before { background: var(--amber); }
|
|
381
|
+
.wrow[data-state="restarting"]::before, .wrow[data-state="dead"]::before { background: var(--red); }
|
|
382
|
+
.wrow[data-state="down"]::before, .wrow[data-state="unknown"]::before {
|
|
383
|
+
background: transparent; box-shadow: inset 0 0 0 1px var(--dim); }
|
|
384
|
+
.wrow[data-state="working"]::before { background: var(--blue); }
|
|
385
|
+
.wrow:hover { background: var(--panel2); border-color: var(--line2); }
|
|
386
|
+
/* Selected is the accent, not just a heavier grey. It was `--panel2` with a grey
|
|
387
|
+
inset ring -- the same treatment hover already used, so the row you were ON and
|
|
388
|
+
the row you were merely over looked alike. */
|
|
389
|
+
.wrow[aria-current="true"] { background: var(--accent-soft); border-color: var(--accent);
|
|
390
|
+
box-shadow: 0 0 0 1px var(--accent); }
|
|
391
|
+
.wrow .r1 { display: flex; align-items: baseline; gap: .45rem; min-width: 0; }
|
|
392
|
+
.wrow > * { min-width: 0; }
|
|
393
|
+
.wrow .nm { flex: 1; min-width: 0; font-weight: 600; font-size: .84rem;
|
|
394
|
+
overflow-wrap: anywhere; }
|
|
395
|
+
.wrow .ver { flex: 0 0 auto; font-family: var(--mono); font-size: .76rem; font-weight: 600;
|
|
396
|
+
color: var(--muted); }
|
|
397
|
+
.wrow[aria-current="true"] .ver { color: var(--ink); }
|
|
398
|
+
.wrow .star { flex: 0 0 auto; font-size: .62rem; color: var(--dim); }
|
|
399
|
+
.wrow .meta { font-family: var(--mono); font-size: .7rem; color: var(--dim);
|
|
400
|
+
overflow-wrap: anywhere; }
|
|
401
|
+
.wrow .r3 { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
|
|
402
|
+
.wstate { display: inline-flex; align-items: center; gap: .3rem; font-size: .6rem;
|
|
403
|
+
font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
|
|
404
|
+
.wstate::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
|
|
405
|
+
.wstate.running { color: var(--green); }
|
|
406
|
+
.wstate.stopped, .wstate.paused, .wstate.created { color: var(--amber); }
|
|
407
|
+
/* Down and unknown keep the base `--muted`, as their pills do. They were `--dim`, 2.8:1
|
|
408
|
+
at 9.6px -- and "down" is the state Home lists under Needs you, the one to be read.
|
|
409
|
+
The hollow dot is what sets them apart, not a fainter word. */
|
|
410
|
+
.wstate.down::before, .wstate.unknown::before { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
|
|
411
|
+
/* `failed` joins the red group rather than getting a colour of its own: a wedged
|
|
412
|
+
Helm release or a pod in ImagePullBackOff is the same signal as `dead` -- this is
|
|
413
|
+
not coming back on its own and it wants you. Without a rule here the word would
|
|
414
|
+
render at the base colour, which reads as "fine". */
|
|
415
|
+
.wstate.restarting, .wstate.dead, .wstate.failed { color: var(--red); }
|
|
416
|
+
.wstate.working { color: var(--blue); }
|
|
417
|
+
.wage { font-family: var(--mono); font-size: .64rem; color: var(--dim); }
|
|
418
|
+
|
|
419
|
+
.stage { overflow: auto; min-height: 0; }
|
|
420
|
+
|
|
421
|
+
/* ---- the action pane ---- */
|
|
422
|
+
/* Persistent, not a dropdown, and it LEADS with the one or two things this
|
|
423
|
+
workspace's state actually admits, each with the reason it was chosen. Four titled
|
|
424
|
+
groups over eleven equally-weighted items is a taxonomy, and a taxonomy is what you
|
|
425
|
+
need when you do not know what you are looking for -- the question people arrive
|
|
426
|
+
with is "what do I do with this one now", and a heading called "Keep or move it"
|
|
427
|
+
does not answer it. Equal 30px rows and single-line labels are most of what makes
|
|
428
|
+
the rest look composed; the destructive action is pinned to the bottom rather than
|
|
429
|
+
trailing the last item, because it is not the eleventh thing on a menu. */
|
|
430
|
+
.actpane { background: var(--panel); border-left: 1px solid var(--line);
|
|
431
|
+
overflow: auto; display: flex; flex-direction: column; padding-bottom: 1.1rem; }
|
|
432
|
+
.apgroup { display: flex; align-items: center; gap: .6rem; padding: 1.05rem .95rem .35rem;
|
|
433
|
+
font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
|
|
434
|
+
color: var(--dim); }
|
|
435
|
+
.apgroup::after { content: ""; flex: 1; height: 1px; background: var(--line); }
|
|
436
|
+
/* The suggestions: the heading says these are suggestions, and each item says what it
|
|
437
|
+
does. Nothing else -- a reason written under each one was a sentence to read before
|
|
438
|
+
you could act. Blue: the rule at the top of this file gives blue to "you can click
|
|
439
|
+
it", and these are the things it is suggesting you click. */
|
|
440
|
+
.apnext { display: grid; gap: .35rem; padding: 0 .8rem; }
|
|
441
|
+
.apn { display: block; text-align: left; padding: .5rem .7rem;
|
|
442
|
+
border: 1px solid var(--line2); border-radius: var(--r-sm); background: var(--bg);
|
|
443
|
+
font: inherit; color: var(--ink); cursor: pointer; }
|
|
444
|
+
.apn:first-child { border-color: var(--accent); background: var(--accent-soft); }
|
|
445
|
+
.apn:hover { border-color: var(--accent); }
|
|
446
|
+
.apn b { font-size: .8rem; }
|
|
447
|
+
.apn:first-child b { color: var(--blue); }
|
|
448
|
+
|
|
449
|
+
.aplist { display: grid; }
|
|
450
|
+
.aplist button { display: flex; align-items: center; height: 30px; padding: 0 .95rem;
|
|
451
|
+
font: inherit; font-size: .8rem; color: var(--ink); background: none; border: 0;
|
|
452
|
+
text-align: left; cursor: pointer; white-space: nowrap; }
|
|
453
|
+
.aplist button::before { content: ""; width: 3px; height: 3px; border-radius: 50%;
|
|
454
|
+
background: var(--line2); margin-right: .6rem; flex: 0 0 auto; }
|
|
455
|
+
.aplist button:hover { background: var(--panel2); color: var(--blue); }
|
|
456
|
+
.aplist button:hover::before { background: var(--blue); }
|
|
457
|
+
.aplist button:disabled { color: var(--dim); cursor: default; }
|
|
458
|
+
.aplist button:disabled:hover { background: none; color: var(--dim); }
|
|
459
|
+
.aplist button:disabled:hover::before { background: var(--line2); }
|
|
460
|
+
.apnote { padding: .6rem .95rem 0; font-size: .7rem; line-height: 1.5; color: var(--dim); }
|
|
461
|
+
/* Kept in view while the pane scrolls on its own (wider than 900px); below that the pane
|
|
462
|
+
flows with the page and the block stays where it is, clear of the status bar. */
|
|
463
|
+
.apdanger { margin-top: auto; padding: .8rem .95rem .1rem; border-top: 1px solid var(--line);
|
|
464
|
+
position: sticky; bottom: 0; background: var(--panel); }
|
|
465
|
+
.apdanger button { display: flex; align-items: center; justify-content: center; width: 100%;
|
|
466
|
+
height: 30px; border: 1px solid var(--line2); border-radius: var(--r-sm); background: none;
|
|
467
|
+
font: inherit; font-size: .74rem; font-weight: 600; color: var(--red); cursor: pointer; }
|
|
468
|
+
.apdanger button:hover { background: rgba(217,45,32,.08); border-color: var(--red); }
|
|
469
|
+
.apdanger p { margin: .4rem 0 .75rem; font-size: .66rem; line-height: 1.5; color: var(--dim); }
|
|
470
|
+
/* Take down keeps the data: not red, which means about to destroy something. */
|
|
471
|
+
.apdanger button.keep { color: var(--ink); }
|
|
472
|
+
.apdanger button.keep:hover { background: var(--accent-soft); border-color: var(--accent);
|
|
473
|
+
color: var(--accent); }
|
|
474
|
+
|
|
475
|
+
/* The stage is GROUND, not a surface.
|
|
476
|
+
It was `--panel`, and so is every card standing on it — which made a card an
|
|
477
|
+
outline drawn on a field of its own colour, and made the 242px below the last
|
|
478
|
+
one read as a hole in the panel rather than as page. The rail and the action
|
|
479
|
+
pane keep `--panel`; between them is now a well, and the body's dot grid (which
|
|
480
|
+
nothing had ever been able to see) shows through it. */
|
|
481
|
+
.detail, .stage { background: none; border: 0; border-radius: 0; box-shadow: none;
|
|
482
|
+
padding: 1.1rem 1.3rem; position: sticky; top: 5rem; min-height: 60vh; }
|
|
483
|
+
.detail .placeholder { color: var(--dim); text-align: center; padding: 4rem 1rem; font-family: var(--mono); }
|
|
484
|
+
.d-head { display: flex; align-items: center; gap: .6rem; }
|
|
485
|
+
.d-head .dot { color: var(--dim); font-size: .7rem; } .d-head .dot.running { color: var(--green); } .d-head .dot.stopped { color: var(--amber); }
|
|
486
|
+
.d-head .name { font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; }
|
|
487
|
+
.d-head .close { margin-left: auto; background: none; border: none; color: var(--muted); font-size: 1.3rem; cursor: pointer; line-height: 1; }
|
|
488
|
+
.d-head .close:hover { color: var(--ink); }
|
|
489
|
+
/* Five uppercase tabs need 402px and a phone gives 380. The shell's
|
|
490
|
+
`overflow: hidden` used to swallow the difference, which meant BACKUPS was off
|
|
491
|
+
the edge and unreachable with nothing to say so. It scrolls in its own strip
|
|
492
|
+
now -- the rule this file already applies to any wide content. */
|
|
493
|
+
.tabs { display: flex; gap: 1.2rem; border-bottom: 1px solid var(--line); margin: 1rem 0;
|
|
494
|
+
overflow-x: auto; scrollbar-width: thin;
|
|
495
|
+
/* ...and says so, because a phone shows no scrollbar: a shadow at the right edge while
|
|
496
|
+
there is more, gone at the end. The cover scrolls with the tabs (`local`) and slides
|
|
497
|
+
over the shadow, which stays put, once the last one is in view. */
|
|
498
|
+
background: linear-gradient(to left, var(--bg) 45%, transparent) right / 2rem 100% no-repeat local,
|
|
499
|
+
radial-gradient(farthest-side at 100% 50%, var(--line2), transparent) right / .8rem 100% no-repeat scroll; }
|
|
500
|
+
.tab { flex: 0 0 auto; }
|
|
501
|
+
.tab { font-size: .7rem; font-weight: 600; letter-spacing: .09em;
|
|
502
|
+
text-transform: uppercase; color: var(--dim); background: none; border: none;
|
|
503
|
+
padding: .5rem 0; cursor: pointer; border-bottom: 2px solid transparent; }
|
|
504
|
+
.tab:hover { color: var(--ink); }
|
|
505
|
+
.tab.active { color: var(--blue); border-bottom-color: var(--blue); }
|
|
506
|
+
.d-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.1rem; }
|
|
507
|
+
/* THE TRIAGE BLOCK -- what is wrong and what to do about it, above the tabs.
|
|
508
|
+
Amber on purpose: the rule at the top of this file gives red to "about to destroy
|
|
509
|
+
something", and a crash-looping workspace wants you rather than threatening you.
|
|
510
|
+
Spending red here would leave nothing louder for the Down button. */
|
|
511
|
+
.triage { display: grid; gap: .5rem; margin: .9rem 0 0; }
|
|
512
|
+
.tri { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .1rem .7rem;
|
|
513
|
+
align-items: start; padding: .85rem 1rem .9rem;
|
|
514
|
+
background: rgba(180,83,9,.07); border: 1px solid rgba(180,83,9,.4);
|
|
515
|
+
border-radius: var(--r-md); }
|
|
516
|
+
[data-theme="dark"] .tri { background: rgba(240,180,41,.08); }
|
|
517
|
+
.tri-i { color: var(--amber); font-size: .78rem; line-height: 1.5; }
|
|
518
|
+
.tri-t { font-size: .84rem; line-height: 1.6; }
|
|
519
|
+
.tri-t b { display: block; font-size: .9rem; }
|
|
520
|
+
.tri-t span { color: var(--muted); }
|
|
521
|
+
.tri-a { grid-column: 2; display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
|
|
522
|
+
|
|
523
|
+
/* Three columns, and exactly six facts fill them. Cells carry their own right/bottom
|
|
524
|
+
rule and the third in each row drops the right one, so a rare seventh fact adds a
|
|
525
|
+
row instead of a hole.
|
|
526
|
+
|
|
527
|
+
Rows were tried here and reverted: a fact reads as a READING, and a reading wants
|
|
528
|
+
size and a box. Stacked into label/value lines the same six became a form, and
|
|
529
|
+
health and uptime -- the two that change -- stopped being findable without looking
|
|
530
|
+
for them. */
|
|
531
|
+
.kv-grid { display: grid; grid-template-columns: repeat(3, 1fr);
|
|
532
|
+
background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md);
|
|
533
|
+
overflow: hidden; margin-bottom: 1.3rem; }
|
|
534
|
+
.kv { padding: .85rem 1.05rem .95rem; border-right: 1px solid var(--line);
|
|
535
|
+
border-bottom: 1px solid var(--line); }
|
|
536
|
+
.kv:nth-child(3n) { border-right: 0; }
|
|
537
|
+
.kv:nth-last-child(-n+3) { border-bottom: 0; }
|
|
538
|
+
.kv .k { font-size: .64rem; font-weight: 600; color: var(--dim);
|
|
539
|
+
text-transform: uppercase; letter-spacing: .1em; }
|
|
540
|
+
.kv .v { font-family: var(--mono); font-size: 1.15rem; font-weight: 600;
|
|
541
|
+
letter-spacing: -.02em; margin-top: .28rem; overflow-wrap: anywhere; }
|
|
542
|
+
.kv .v.green { color: var(--green); }
|
|
543
|
+
.kv .v.bad { color: var(--red); }
|
|
544
|
+
.kv .v.warn { color: var(--amber); }
|
|
545
|
+
|
|
546
|
+
/* The identity line: the pairing this product exists to get right, then what
|
|
547
|
+
kind of workspace it is and whose. */
|
|
548
|
+
.d-sub { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem;
|
|
549
|
+
font-family: var(--mono); font-size: .76rem; color: var(--muted);
|
|
550
|
+
margin: .45rem 0 0; }
|
|
551
|
+
.d-sub b { font-size: .92rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
|
|
552
|
+
.d-sub i { font-style: normal; color: var(--line2); }
|
|
553
|
+
.d-sub .bad { color: var(--red); }
|
|
554
|
+
.section-label { font-size: .64rem; font-weight: 600; color: var(--dim);
|
|
555
|
+
text-transform: uppercase; letter-spacing: .1em; margin: 1.4rem 0 .55rem; }
|
|
556
|
+
.chart-box { border: 1px solid var(--line); border-radius: var(--r-md); padding: .8rem; background: var(--bg); }
|
|
557
|
+
/* A surface, like everything else Overview puts a fact in. It was `--bg` to stand
|
|
558
|
+
out from a `--panel` stage; the stage is ground now, so `--bg` made it vanish
|
|
559
|
+
into the page it sits on. */
|
|
560
|
+
.urlbox { border: 1px solid var(--line); border-radius: var(--r-md); padding: .8rem .9rem;
|
|
561
|
+
background: var(--panel); box-shadow: var(--shadow-1), var(--edge);
|
|
562
|
+
display: flex; align-items: center; gap: .6rem; margin-top: 1.2rem; }
|
|
563
|
+
/* The value shrinks; the copy button does not. Without this the workspace path -- the
|
|
564
|
+
longest string on the panel -- ran UNDER the button on a narrow screen, which is
|
|
565
|
+
both unreadable and a click that copies while looking like it hit the text. */
|
|
566
|
+
.urlbox > div:first-child { min-width: 0; }
|
|
567
|
+
.urlbox .copy { flex: 0 0 auto; }
|
|
568
|
+
.urlbox .k { font-family: var(--mono); font-size: .72rem; color: var(--muted); }
|
|
569
|
+
.urlbox a { font-family: var(--mono); color: var(--blue); text-decoration: none; display: block; margin-top: .2rem; }
|
|
570
|
+
/* A urlbox value that is text, not a link (admin login, workspace path). */
|
|
571
|
+
.urlbox .flat { font-family: var(--mono); color: var(--ink); margin-top: .2rem; word-break: break-all; }
|
|
572
|
+
.urlbox + .urlbox { margin-top: .5rem; }
|
|
573
|
+
.banner { font-size: .84rem; border-radius: var(--r-sm); padding: .6rem .7rem; margin: .8rem 0 0;
|
|
574
|
+
border: 1px solid var(--line2); background: var(--panel2); color: var(--ink); }
|
|
575
|
+
.banner.bad { border-color: rgba(248,81,73,.45); background: rgba(248,81,73,.08); }
|
|
576
|
+
.urlbox .copy { margin-left: auto; background: none; border: 1px solid var(--line2); color: var(--muted); border-radius: var(--r-sm); padding: .3rem .5rem; cursor: pointer; }
|
|
577
|
+
.urlbox .copy:hover { color: var(--blue); border-color: var(--blue); }
|
|
578
|
+
/* Env-vars tab: a Rocket.Chat SETTING and a plain env var are not interchangeable,
|
|
579
|
+
so the row says which. `.pill` carries a ● bullet, which reads as a status here —
|
|
580
|
+
suppress it for this inline label. */
|
|
581
|
+
.pill.small { font-size: .64rem; padding: .05rem .4rem; margin-left: .45rem;
|
|
582
|
+
color: var(--blue); border-color: rgba(88,166,255,.35); background: rgba(88,166,255,.1); }
|
|
583
|
+
.pill.small::before { content: none; }
|
|
584
|
+
.yours { color: var(--amber); margin-left: .35rem; }
|
|
585
|
+
|
|
586
|
+
/* Containers, Env vars and Backups are all a .dtable, and it was a bare table on
|
|
587
|
+
whatever happened to be behind it — a panel, until the stage became ground, and
|
|
588
|
+
then nothing at all. One rule gives all three tabs the surface Overview has.
|
|
589
|
+
`separate` rather than `collapse`, because a collapsed table ignores the radius
|
|
590
|
+
and the corners spill past the frame. */
|
|
591
|
+
.dtable { width: 100%; border-collapse: separate; border-spacing: 0;
|
|
592
|
+
font-family: var(--mono); font-size: .8rem;
|
|
593
|
+
background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md);
|
|
594
|
+
box-shadow: var(--shadow-1), var(--edge); overflow: hidden; }
|
|
595
|
+
.dtable th { text-align: left; color: var(--muted); font-weight: 500; padding: .5rem .7rem; border-bottom: 1px solid var(--line); }
|
|
596
|
+
.dtable td { padding: .5rem .7rem; border-bottom: 1px solid var(--line); word-break: break-all; }
|
|
597
|
+
.dtable tr:last-child td { border-bottom: 0; }
|
|
598
|
+
.dtable tbody tr:hover td { background: var(--panel2); }
|
|
599
|
+
.dtable td.v { color: var(--muted); }
|
|
600
|
+
/* ---- the log viewer ----
|
|
601
|
+
Toolbar and stream are one object, so they share one frame: the controls sit in
|
|
602
|
+
a header strip and the stream hangs off the bottom of it, rather than floating
|
|
603
|
+
above an unrelated black box. */
|
|
604
|
+
.logbox { position: relative; border: 1px solid var(--line); border-radius: var(--r-md);
|
|
605
|
+
overflow: hidden; background: var(--panel); box-shadow: var(--shadow-1), var(--edge); }
|
|
606
|
+
/* Over the stream rather than beside it: it belongs to the scroll position, and
|
|
607
|
+
it is only there while that position is not the bottom. */
|
|
608
|
+
.logjump { position: absolute; right: 1rem; bottom: .9rem; z-index: 2;
|
|
609
|
+
font-family: var(--sans); font-size: .74rem; font-weight: 600;
|
|
610
|
+
padding: .38rem .75rem; border-radius: var(--r-pill); cursor: pointer;
|
|
611
|
+
background: var(--accent-fill); color: var(--accent-ink); border: 0;
|
|
612
|
+
box-shadow: var(--shadow-accent);
|
|
613
|
+
transition: background-color var(--t) var(--ease), transform var(--t) var(--ease); }
|
|
614
|
+
.logjump:hover { background: var(--accent-strong); }
|
|
615
|
+
.logjump:active { transform: translateY(1px); }
|
|
616
|
+
.logctl { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap;
|
|
617
|
+
padding: .55rem .65rem; border-bottom: 1px solid var(--line); background: var(--panel); }
|
|
618
|
+
.logctl .input { height: 1.85rem; padding: 0 .55rem; font-size: .76rem;
|
|
619
|
+
border: 1px solid var(--line2); border-radius: var(--r-xs);
|
|
620
|
+
background-color: var(--bg); color: var(--ink); }
|
|
621
|
+
.logctl select.input { -webkit-appearance: none; appearance: none; cursor: pointer;
|
|
622
|
+
padding-right: 1.7rem;
|
|
623
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238B94A4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
|
624
|
+
background-repeat: no-repeat; background-position: right .55rem center; }
|
|
625
|
+
.logctl .input:hover { border-color: var(--muted); }
|
|
626
|
+
.logctl .input:focus { outline: none; border-color: var(--accent);
|
|
627
|
+
box-shadow: 0 0 0 3px var(--accent-ring); }
|
|
628
|
+
/* Search takes the room the two fixed-width selects do not want. */
|
|
629
|
+
.logctl input.input { flex: 1 1 9rem; min-width: 6rem; }
|
|
630
|
+
/* What the stream is doing, in the strip that owns it. Quiet while it is working
|
|
631
|
+
and loud only when it is not, because the answer is usually "fine". */
|
|
632
|
+
.logstat { display: inline-flex; align-items: center; gap: .4rem; flex: 0 0 auto;
|
|
633
|
+
font-size: .72rem; color: var(--dim); white-space: nowrap; }
|
|
634
|
+
.logstat::before { content: ""; width: 6px; height: 6px; border-radius: 50%;
|
|
635
|
+
background: currentColor; flex: 0 0 auto; }
|
|
636
|
+
.logstat.live { color: var(--green); }
|
|
637
|
+
.logstat.wait { color: var(--muted); }
|
|
638
|
+
.logstat.idle { color: var(--muted); }
|
|
639
|
+
.logstat.idle::before { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
|
|
640
|
+
.logstat.bad { color: var(--red); font-weight: 600; }
|
|
641
|
+
.logretry { font: inherit; font-size: .72rem; font-weight: 600; color: var(--accent);
|
|
642
|
+
background: none; border: 0; padding: 0 0 0 .2rem; cursor: pointer;
|
|
643
|
+
text-decoration: underline; }
|
|
644
|
+
.logfollow { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--mono);
|
|
645
|
+
font-size: .76rem; color: var(--muted); cursor: pointer; user-select: none; }
|
|
646
|
+
.logfollow input { accent-color: var(--accent-fill); cursor: pointer; }
|
|
647
|
+
.logview { background: var(--bg); border: 0; border-radius: 0; padding: .5rem .65rem;
|
|
648
|
+
max-height: 56vh; overflow: auto; overscroll-behavior: contain;
|
|
649
|
+
font-family: var(--mono); font-size: .78rem; line-height: 1.55; }
|
|
650
|
+
[data-theme="dark"] .logview { background: #05070b; }
|
|
651
|
+
/* Off-screen rows cost nothing to lay out or paint. A 3000-row buffer is the
|
|
652
|
+
normal case here, and this is the difference between scrolling it and fighting
|
|
653
|
+
it. `contain-intrinsic-size` keeps the scrollbar honest while they are skipped. */
|
|
654
|
+
.logrow { display: flex; gap: .6rem; padding: .05rem 0; white-space: pre-wrap;
|
|
655
|
+
word-break: break-word; content-visibility: auto; contain-intrinsic-size: auto 1.2rem; }
|
|
656
|
+
/* Every column a fixed width, so the four line up down the whole view. `.lt` was
|
|
657
|
+
`auto` and a line without a timestamp -- which is every line a service prints
|
|
658
|
+
without JSON -- collapsed it to nothing, so the level and the service of that row
|
|
659
|
+
sat one column to the left of the rows around it. Columns that do not line up are
|
|
660
|
+
most of what "the logs are not readable" means. */
|
|
661
|
+
.logrow .lt { flex: 0 0 5rem; color: var(--dim); }
|
|
662
|
+
.logrow .ll { flex: 0 0 46px; font-weight: 700; }
|
|
663
|
+
/* Wide enough for `authorization`, the longest service the chart names: at 92px it
|
|
664
|
+
wrapped onto a second line and pushed its own message down with it. */
|
|
665
|
+
.logrow .ls { flex: 0 0 7rem; color: var(--muted); }
|
|
666
|
+
.logrow .lm { flex: 1; color: var(--ink); }
|
|
667
|
+
/* At phone width the three columns took ~267px of 390, leaving the message ~50px and
|
|
668
|
+
a word a line: there the message goes under them, the full width of the view. */
|
|
669
|
+
@media (max-width: 560px) {
|
|
670
|
+
.logrow { flex-wrap: wrap; row-gap: 0; }
|
|
671
|
+
.logrow .lm { flex-basis: 100%; }
|
|
672
|
+
}
|
|
673
|
+
[data-theme="dark"] .logrow .lm { color: #c9d1d9; }
|
|
674
|
+
.ll.lv-error, .ll.lv-fatal { color: var(--red); }
|
|
675
|
+
/* An error's message takes the red of the theme it is in. It was a literal `#ffb4b0`
|
|
676
|
+
in both -- a pale pink chosen for a near-black ground, which on the light theme's
|
|
677
|
+
white put the one line anybody opened the logs to read at the lowest contrast on the
|
|
678
|
+
screen. Tokens, for exactly this reason. */
|
|
679
|
+
.logrow.lv-error .lm, .logrow.lv-fatal .lm { color: var(--red); }
|
|
680
|
+
[data-theme="dark"] .logrow.lv-error .lm,
|
|
681
|
+
[data-theme="dark"] .logrow.lv-fatal .lm { color: #ffb4b0; }
|
|
682
|
+
.ll.lv-warn { color: var(--amber); }
|
|
683
|
+
.ll.lv-info { color: var(--green); }
|
|
684
|
+
.ll.lv-debug, .ll.lv-trace { color: var(--dim); }
|
|
685
|
+
|
|
686
|
+
/* new-repro placeholder */
|
|
687
|
+
.card.new { align-items: center; justify-content: center; text-align: center; border: 1.5px dashed var(--line2);
|
|
688
|
+
border-left: 1.5px dashed var(--line2); background: transparent; cursor: pointer; min-height: 150px; gap: .3rem; }
|
|
689
|
+
.card.new:hover { border-color: var(--blue); background: rgba(88,166,255,.04); }
|
|
690
|
+
.card.new .plus { font-size: 1.8rem; color: var(--muted); border: 1px solid var(--line2); border-radius: var(--r-md);
|
|
691
|
+
width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: .3rem; }
|
|
692
|
+
.card.new .t { font-family: var(--mono); font-weight: 700; }
|
|
693
|
+
.card.new .s { font-size: .8rem; color: var(--muted); }
|
|
694
|
+
.empty { color: var(--muted); text-align: center; margin-top: 3rem; grid-column: 1/-1; }
|
|
695
|
+
|
|
696
|
+
/* ---- footer status bar ---- */
|
|
697
|
+
.statusbar { display: flex; gap: 1.4rem; align-items: center; padding: .55rem 1.4rem;
|
|
698
|
+
border-top: 1px solid var(--line); background: var(--bar); font-family: var(--mono);
|
|
699
|
+
font-size: .74rem; color: var(--muted);
|
|
700
|
+
z-index: 20; }
|
|
701
|
+
/* Scoped to the app shell: app.css is served to the sign-in page too, and that
|
|
702
|
+
one is a normal document that must be free to scroll. */
|
|
703
|
+
body.shell { height: 100vh; min-height: 0; overflow: hidden; }
|
|
704
|
+
body.shell .statusbar { flex: 0 0 auto; }
|
|
705
|
+
.statusbar .sb-right { margin-left: auto; }
|
|
706
|
+
|
|
707
|
+
/* ---- dialogs ---- */
|
|
708
|
+
/* A card that floats, not a box that appears. The shadow does the lifting the
|
|
709
|
+
border was being asked to do, and a softer backdrop keeps the page behind
|
|
710
|
+
legible as context rather than blacking it out. */
|
|
711
|
+
dialog { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--panel);
|
|
712
|
+
color: var(--ink); width: min(620px, 94vw); padding: 1.45rem 1.55rem 1.25rem;
|
|
713
|
+
box-shadow: var(--shadow-2), var(--edge); }
|
|
714
|
+
dialog::backdrop { background: rgba(20,23,28,.32); backdrop-filter: blur(3px); }
|
|
715
|
+
[data-theme="dark"] dialog::backdrop { background: rgba(4,6,9,.6); }
|
|
716
|
+
dialog menu { display: flex; justify-content: flex-end; gap: .5rem; margin: 1.35rem 0 0;
|
|
717
|
+
padding: .95rem 0 0; border-top: 1px solid var(--line); }
|
|
718
|
+
dialog h2 { margin: 0 0 .35rem; font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; }
|
|
719
|
+
form label { display: block; margin: .6rem 0; font-size: .88rem; color: var(--muted); }
|
|
720
|
+
form input, form select, form textarea { width: 100%; margin-top: .28rem; padding: .5rem .65rem;
|
|
721
|
+
border: 1px solid var(--line2);
|
|
722
|
+
border-radius: var(--r-sm); background: var(--bg); color: var(--ink); font: inherit; }
|
|
723
|
+
/* A JSON request body is code: proportional text made braces and indentation
|
|
724
|
+
unreadable, and `font: inherit` above would otherwise hand it the sans stack. */
|
|
725
|
+
form textarea { font-family: var(--mono); font-size: .8rem; resize: vertical; }
|
|
726
|
+
.checks label { display: flex; align-items: center; gap: .5rem; width: auto; color: var(--ink); }
|
|
727
|
+
.checks input { width: auto; margin: 0; }
|
|
728
|
+
.row2 { display: flex; gap: .6rem; } .row2 label { flex: 1; }
|
|
729
|
+
/* An HTTP method needs ~7rem, not half the row, so the path gets the rest. */
|
|
730
|
+
.row2 label.narrow { flex: 0 0 7.5rem; }
|
|
731
|
+
/* A named group of fields inside a section, for when a disclosure of its own
|
|
732
|
+
would just make the form look like it has two Advanced areas. */
|
|
733
|
+
.fgroup { margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--line); }
|
|
734
|
+
.fgroup-t { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .1em;
|
|
735
|
+
text-transform: uppercase; color: var(--dim); margin-bottom: .2rem; }
|
|
736
|
+
.adv { margin-top: .8rem; border-top: 1px solid var(--line); padding-top: .6rem; }
|
|
737
|
+
.adv summary { font-size: .8rem; font-weight: 500; color: var(--muted);
|
|
738
|
+
cursor: pointer; padding: .1rem 0; }
|
|
739
|
+
.adv summary:hover { color: var(--ink); }
|
|
740
|
+
.adv summary:hover { color: var(--ink); }
|
|
741
|
+
form menu { display: flex; justify-content: flex-end; gap: .5rem; padding: 0; margin: 1.1rem 0 0; }
|
|
742
|
+
/* ---- the create dialog's three sections ----
|
|
743
|
+
Moved from .docs/design/prototype/create.html as-is: every value is a token this
|
|
744
|
+
system already has, and the prototype introduced no colour, radius or shadow of
|
|
745
|
+
its own. The NUMBER is not decoration -- choosing a runtime re-shapes the form,
|
|
746
|
+
and the number says which part changed rather than leaving fields to appear and
|
|
747
|
+
vanish in a scroll. */
|
|
748
|
+
.sec { border-top: 1px solid var(--line); padding-top: .9rem; margin-top: 1rem; }
|
|
749
|
+
.sec:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
|
|
750
|
+
.sec-h { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .7rem; }
|
|
751
|
+
.sec-n { font: 600 .7rem/1.5 var(--mono); color: var(--dim);
|
|
752
|
+
min-width: 1.15rem; height: 1.15rem; text-align: center;
|
|
753
|
+
border: 1px solid var(--line2); border-radius: var(--r-pill); }
|
|
754
|
+
.sec-t { font-weight: 600; font-size: .9rem; color: var(--ink); }
|
|
755
|
+
.sec-sub { font-size: .78rem; color: var(--muted); margin-left: auto; }
|
|
756
|
+
|
|
757
|
+
/* The runtime fork. Two cards rather than a select, because the two facts that
|
|
758
|
+
decide it -- what it costs and what it cannot do -- have nowhere to live inside
|
|
759
|
+
an <option>. Blue is "you can click it", which is what these are. */
|
|
760
|
+
.forks { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
|
|
761
|
+
.fork { text-align: left; padding: .7rem .8rem; border: 1px solid var(--line2);
|
|
762
|
+
border-radius: var(--r-md); background: var(--panel); cursor: pointer;
|
|
763
|
+
transition: border-color var(--t) var(--ease), background var(--t) var(--ease); }
|
|
764
|
+
.fork:hover { border-color: var(--accent); }
|
|
765
|
+
.fork[aria-pressed="true"] { border-color: var(--accent);
|
|
766
|
+
background: var(--accent-soft); box-shadow: 0 0 0 3px var(--accent-ring); }
|
|
767
|
+
.fork-n { display: flex; align-items: center; gap: .4rem;
|
|
768
|
+
font-weight: 600; font-size: .88rem; color: var(--ink); }
|
|
769
|
+
.fork-dot { width: .5rem; height: .5rem; border-radius: var(--r-pill);
|
|
770
|
+
border: 1px solid var(--line2); }
|
|
771
|
+
.fork[aria-pressed="true"] .fork-dot { background: var(--accent); border-color: var(--accent); }
|
|
772
|
+
.fork-cost { font: .72rem/1.4 var(--mono); color: var(--muted); margin: .3rem 0 .35rem; }
|
|
773
|
+
.fork-can { font-size: .74rem; color: var(--muted); }
|
|
774
|
+
|
|
775
|
+
/* Arrangement is DEPENDENT on the runtime, so it is a segmented control inside the
|
|
776
|
+
same section rather than a second peer dropdown beside it. */
|
|
777
|
+
.seg { display: inline-flex; border: 1px solid var(--line2);
|
|
778
|
+
border-radius: var(--r-sm); overflow: hidden; margin-top: .85rem; }
|
|
779
|
+
.seg button { border: 0; background: var(--panel); color: var(--muted);
|
|
780
|
+
padding: .38rem .8rem; font: inherit; font-size: .82rem; cursor: pointer;
|
|
781
|
+
border-right: 1px solid var(--line2); }
|
|
782
|
+
.seg button:last-child { border-right: 0; }
|
|
783
|
+
.seg button[aria-pressed="true"] { background: var(--accent-soft); color: var(--ink);
|
|
784
|
+
font-weight: 600; }
|
|
785
|
+
.seg-note { font-size: .76rem; color: var(--muted); margin: .45rem 0 0; }
|
|
786
|
+
.adv-gone { margin: 0 0 .7rem; font-size: .76rem; color: var(--muted);
|
|
787
|
+
padding-left: .6rem; border-left: 2px solid var(--line2); }
|
|
788
|
+
.hint { color: var(--muted); font-size: .82rem; margin: .1rem 0 .4rem; }
|
|
789
|
+
/* A server message quoted verbatim, where the newlines in it carry meaning: the
|
|
790
|
+
metrics-server install is two commands, the helm upgrade is one long one. Without
|
|
791
|
+
this they collapse into a paragraph and the command cannot be copied out of it. */
|
|
792
|
+
.hint.pre, .empty.pre { white-space: pre-wrap; text-align: left; font-size: .8rem; }
|
|
793
|
+
.log { background: #05070b; color: #c9d1d9; font-family: var(--mono); font-size: .8rem; line-height: 1.45;
|
|
794
|
+
padding: .8rem; border-radius: var(--r-sm); max-height: 52vh; overflow: auto; white-space: pre-wrap; word-break: break-word;
|
|
795
|
+
border: 1px solid var(--line); }
|
|
796
|
+
.log .warn { color: var(--amber); } .log .error { color: var(--red); } .log .done { color: var(--green); }
|
|
797
|
+
.plan { margin: .5rem 0; padding: .6rem .7rem; border: 1px solid var(--line2); border-radius: var(--r-sm); background: var(--bg);
|
|
798
|
+
font-size: .82rem; max-height: 34vh; overflow: auto; }
|
|
799
|
+
/* Activity rows: a button so the whole row is clickable and keyboard-reachable. */
|
|
800
|
+
/* ---- People ----
|
|
801
|
+
Six cells, so it cannot borrow Activity's four. Name takes the room, the two
|
|
802
|
+
facts sit at fixed widths, and the controls stay together at the end -- which
|
|
803
|
+
is what makes a column of people scannable rather than a stack of forms. */
|
|
804
|
+
.people { display: grid; border: 1px solid var(--line); border-radius: var(--r-md);
|
|
805
|
+
background: var(--panel); box-shadow: var(--shadow-1), var(--edge); overflow: hidden; }
|
|
806
|
+
.prow { display: grid; grid-template-columns: minmax(0, 1fr) auto 8rem auto;
|
|
807
|
+
gap: .7rem; align-items: center; padding: .5rem .8rem;
|
|
808
|
+
border-top: 1px solid var(--line); }
|
|
809
|
+
.prow:first-child { border-top: 0; }
|
|
810
|
+
.prow:hover { background: var(--panel2); }
|
|
811
|
+
.p-name { font-family: var(--mono); font-size: .84rem; overflow: hidden;
|
|
812
|
+
text-overflow: ellipsis; white-space: nowrap; }
|
|
813
|
+
.p-sess { font-size: .72rem; color: var(--dim); white-space: nowrap; }
|
|
814
|
+
/* The Okta email an account is linked to: a fact, so no colour of its own. */
|
|
815
|
+
.p-okta { color: var(--dim); margin-left: .35rem; }
|
|
816
|
+
.prow .input { height: 1.9rem; padding: 0 .5rem; font-size: .76rem;
|
|
817
|
+
border: 1px solid var(--line2); border-radius: var(--r-xs);
|
|
818
|
+
background-color: var(--bg); color: var(--ink); }
|
|
819
|
+
.prow .input:focus { outline: none; border-color: var(--accent);
|
|
820
|
+
box-shadow: 0 0 0 3px var(--accent-ring); }
|
|
821
|
+
/* `remove` sits in a row of controls, so it keeps their outline -- quiet in
|
|
822
|
+
colour, not shapeless. Borderless is right for the standalone Prune link and
|
|
823
|
+
wrong beside a bordered `reset`, where it reads as an unfinished button. */
|
|
824
|
+
.p-act { display: inline-flex; gap: .4rem; }
|
|
825
|
+
.p-act .btn.danger { border-color: var(--line2); }
|
|
826
|
+
.p-act .btn.danger:hover { border-color: var(--red); }
|
|
827
|
+
.people .empty { margin: 1.6rem 0; }
|
|
828
|
+
#people-add { margin-top: .8rem; align-items: center; }
|
|
829
|
+
|
|
830
|
+
/* ---- Activity: one grid, so the columns line up down the page ----
|
|
831
|
+
The list wore `.plan` -- the config-import dialog's box -- and the rows were a
|
|
832
|
+
flex line whose second cell was the variable-width one, so nothing under it
|
|
833
|
+
agreed with anything above it. Four cells, always: what happened, to what, who,
|
|
834
|
+
when. The origin pill rides inside the `who` cell rather than being a
|
|
835
|
+
conditional fifth column that knocked those rows out of step. */
|
|
836
|
+
.jobs { display: grid; }
|
|
837
|
+
/* What this list is, and how to narrow it — one strip, ruled off from the rows so
|
|
838
|
+
the first row does not read as another control. */
|
|
839
|
+
.jobs-head { padding: .8rem .95rem; border-bottom: 1px solid var(--line);
|
|
840
|
+
display: grid; gap: .55rem; }
|
|
841
|
+
.jobs-head .hint { margin: 0; }
|
|
842
|
+
.jobs-head .row2 { margin: 0; align-items: center; }
|
|
843
|
+
.jobs-head .input { flex: 1 1 auto; height: 2rem; padding: 0 .6rem; font-size: .78rem;
|
|
844
|
+
border: 1px solid var(--line2); border-radius: var(--r-sm);
|
|
845
|
+
background-color: var(--bg); color: var(--ink); }
|
|
846
|
+
.jobs-head .input:hover { border-color: var(--muted); }
|
|
847
|
+
.jobs-head .input:focus { outline: none; border-color: var(--accent);
|
|
848
|
+
box-shadow: 0 0 0 3px var(--accent-ring); }
|
|
849
|
+
/* A toggle, styled as one, rather than the log viewer's follow-checkbox borrowed
|
|
850
|
+
whole and left to look like a stray control beside the field. */
|
|
851
|
+
.jobs-head .toggle { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .4rem;
|
|
852
|
+
height: 2rem; padding: 0 .7rem; font-size: .76rem; color: var(--muted);
|
|
853
|
+
border: 1px solid var(--line2); border-radius: var(--r-sm);
|
|
854
|
+
background: var(--panel); cursor: pointer; user-select: none; white-space: nowrap;
|
|
855
|
+
transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease),
|
|
856
|
+
color var(--t) var(--ease); }
|
|
857
|
+
.jobs-head .toggle:hover { border-color: var(--muted); color: var(--ink); }
|
|
858
|
+
.jobs-head .toggle:has(input:checked) { color: var(--red); border-color: var(--red);
|
|
859
|
+
background: rgba(217,45,32,.08); }
|
|
860
|
+
.jobs-head .toggle input { accent-color: var(--red); cursor: pointer; margin: 0; }
|
|
861
|
+
.jobs .empty { margin: 2rem 0; }
|
|
862
|
+
.jobrow { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto auto;
|
|
863
|
+
gap: .8rem; align-items: center; width: 100%; text-align: left;
|
|
864
|
+
padding: .5rem .95rem; border: 0; border-top: 1px solid var(--line);
|
|
865
|
+
background: none; font: inherit; color: var(--ink); }
|
|
866
|
+
.jobs .jobrow:first-child { border-top: 0; }
|
|
867
|
+
button.jobrow { cursor: pointer; }
|
|
868
|
+
button.jobrow:hover { background: var(--panel2); }
|
|
869
|
+
.jobrow.denied { background: rgba(217,45,32,.06); }
|
|
870
|
+
.jkind { font-family: var(--mono); font-size: .82rem; overflow: hidden;
|
|
871
|
+
text-overflow: ellipsis; white-space: nowrap; }
|
|
872
|
+
.jmeta { display: inline-flex; align-items: center; gap: .4rem; justify-self: end; }
|
|
873
|
+
.jage { color: var(--dim); font-family: var(--mono); font-size: .72rem; white-space: nowrap;
|
|
874
|
+
justify-self: end; }
|
|
875
|
+
.jstatus { font-family: var(--mono); font-size: .66rem; text-transform: uppercase;
|
|
876
|
+
letter-spacing: .05em; font-weight: 700; text-align: center;
|
|
877
|
+
border: 1px solid var(--line2); border-radius: var(--r-pill); padding: .1rem .35rem;
|
|
878
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
879
|
+
.jstatus.running { color: var(--blue); border-color: rgba(88,166,255,.45); }
|
|
880
|
+
.jstatus.queued { color: var(--muted); border-color: rgba(139,148,158,.45); }
|
|
881
|
+
.jstatus.done { color: var(--green); border-color: rgba(63,185,80,.45); }
|
|
882
|
+
.jstatus.error { color: var(--red); border-color: rgba(248,81,73,.45); }
|
|
883
|
+
.plan hr, .result hr { border: none; border-top: 1px solid var(--line); margin: .5rem 0; }
|
|
884
|
+
.plan .kv { font-family: var(--mono); padding: .1rem 0; word-break: break-all; }
|
|
885
|
+
.plan .kv code { color: var(--blue); } .plan .warn { color: var(--amber); }
|
|
886
|
+
.result { color: #c9d1d9; font-size: .82rem; line-height: 1.5; margin-top: .4rem; }
|
|
887
|
+
.result .ok { color: var(--green); font-weight: 700; } .result .bad { color: var(--red); font-weight: 700; }
|
|
888
|
+
.grafana-embed { width: 100%; height: 320px; border: 1px solid var(--line); border-radius: var(--r-sm); margin-top: .5rem; background: #fff; }
|
|
889
|
+
/* Toast stack: one fixed container, newest at the bottom. Individually-positioned
|
|
890
|
+
toasts used to overlay each other exactly when a failure repeated. */
|
|
891
|
+
.toasts { position: fixed; bottom: 3rem; left: 50%; transform: translateX(-50%);
|
|
892
|
+
display: flex; flex-direction: column; gap: .4rem; align-items: center;
|
|
893
|
+
z-index: 60; pointer-events: none; max-width: min(90vw, 40rem); }
|
|
894
|
+
.toast { background: var(--red); color: var(--on-accent); padding: .55rem 1rem; border-radius: var(--r-sm);
|
|
895
|
+
font-size: .85rem; box-shadow: 0 6px 20px rgba(0,0,0,.45); text-align: center; }
|
|
896
|
+
.toast.ok { background: var(--green); color: #06210d; }
|
|
897
|
+
.toast.info { background: var(--blue); color: #04162e; }
|
|
898
|
+
|
|
899
|
+
/* ---- responsive ----
|
|
900
|
+
The three panes are a 288px rail, the stage, and a 244px action pane: 532px of
|
|
901
|
+
fixed chrome. There was nothing responsive about them at all -- the @media rules
|
|
902
|
+
here still named `.layout`, the class the workbench redesign replaced with
|
|
903
|
+
`.panes`, so they had matched nothing since. Measured, at 900px height:
|
|
904
|
+
|
|
905
|
+
width stage result
|
|
906
|
+
768 236px unusable
|
|
907
|
+
640 108px unusable
|
|
908
|
+
480 42px AND the page scrolled sideways (532 > 480)
|
|
909
|
+
|
|
910
|
+
Two steps, each removing one fixed track rather than hiding a control. Nothing
|
|
911
|
+
becomes unreachable at any width: the actions move under the panel, and the rail
|
|
912
|
+
moves above it. A control you cannot reach on a laptop is worse than one you have
|
|
913
|
+
to scroll to. */
|
|
914
|
+
@media (max-width: 1100px) { .kv-grid { grid-template-columns: repeat(2, 1fr); } }
|
|
915
|
+
|
|
916
|
+
/* Step one: the action pane stops being a column and becomes a strip under the
|
|
917
|
+
stage, full width. It keeps its own scroll and its danger zone stays at the end. */
|
|
918
|
+
@media (max-width: 1080px) {
|
|
919
|
+
.panes { grid-template-columns: 288px minmax(0, 1fr); }
|
|
920
|
+
.actpane { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line);
|
|
921
|
+
max-height: 40vh; }
|
|
922
|
+
.aplist { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
|
|
923
|
+
gap: .25rem; }
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
/* Collapse navigation before the tablet header clips its account control.
|
|
927
|
+
Workspace panes keep their own narrower breakpoint. */
|
|
928
|
+
@media (max-width: 900px) {
|
|
929
|
+
/* The four top links become a popover off one button. Four links, a theme toggle
|
|
930
|
+
and an account name wrapped onto a second row of chrome here, which on a 430px
|
|
931
|
+
screen is a quarter of the height spent before anything is said about a
|
|
932
|
+
workspace. Same four buttons, moved -- not a second copy. */
|
|
933
|
+
.chip.navtoggle { display: inline-flex; }
|
|
934
|
+
.toplinks { position: absolute; top: calc(100% + .3rem); right: .6rem; z-index: 40;
|
|
935
|
+
display: none; flex-direction: column; align-items: stretch; gap: 0;
|
|
936
|
+
min-width: 11rem; padding: .3rem; background: var(--panel);
|
|
937
|
+
border: 1px solid var(--line2); border-radius: var(--r-md);
|
|
938
|
+
box-shadow: var(--shadow-2); }
|
|
939
|
+
body.nav-open .toplinks { display: flex; }
|
|
940
|
+
.toplinks .toplink { padding: .5rem .6rem; text-align: left; border-radius: var(--r-sm); }
|
|
941
|
+
.toplinks .toplink:hover { background: var(--panel2); }
|
|
942
|
+
/* The current-page marker is a 2px rule under a horizontal nav; stacked it would
|
|
943
|
+
be a line across the middle of the item below it. */
|
|
944
|
+
.toplinks .toplink::after { content: none; }
|
|
945
|
+
.topbar { position: relative; }
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
/* Step two: one column. The rail is a capped, scrollable strip above the stage --
|
|
949
|
+
it is how you choose a workspace, so it cannot simply go. */
|
|
950
|
+
@media (max-width: 760px) {
|
|
951
|
+
/* Normal flow, not a one-column grid. A grid still sizes its rows from the track
|
|
952
|
+
it was given, so the stage's row stayed as short as the shell allowed and the
|
|
953
|
+
cards simply PAINTED over the action pane and the status bar below them. In
|
|
954
|
+
block flow each pane is as tall as its own content and they follow each other. */
|
|
955
|
+
.panes, .panes.no-detail { display: block; }
|
|
956
|
+
.rail { border-right: 0; border-bottom: 1px solid var(--line); max-height: 38vh; }
|
|
957
|
+
/* The stage is `position: sticky` so it stays put while the rail scrolls beside
|
|
958
|
+
it. In ONE column there is nothing beside it, and a sticky box in a grid row
|
|
959
|
+
rides up over the row above -- the rail ended up underneath the panel, and
|
|
960
|
+
the workspace rows could not even be clicked. The reset for this lived in the
|
|
961
|
+
old `.layout` rule, which stopped matching anything when the panes were
|
|
962
|
+
renamed and took this with it. */
|
|
963
|
+
.detail, .stage { position: static; top: auto; min-height: 0; }
|
|
964
|
+
/* And the shell stops being viewport-locked. On a desktop each pane scrolls
|
|
965
|
+
inside a 100vh frame, which is right when they sit side by side. Stacked into
|
|
966
|
+
one column that same frame gives each of the three a third of the screen and
|
|
967
|
+
its own scrollbar: the panel came out as a ~200px window showing four of six
|
|
968
|
+
cells with every notes card below the cut, reachable only by scrolling a box
|
|
969
|
+
most readers would not know was a box. THIS is what "everything collapses on
|
|
970
|
+
resize" was. In one column the PAGE scrolls and the panel is as tall as its
|
|
971
|
+
content; the rail stays capped on purpose, because it is a picker.
|
|
972
|
+
|
|
973
|
+
`body.shell` is where the lock actually is -- 100vh plus `overflow: hidden`,
|
|
974
|
+
which also pinned the status bar to the viewport, so it came out drawn across
|
|
975
|
+
the middle of the panel rather than under it. */
|
|
976
|
+
body.shell { height: auto; min-height: 100vh; overflow: visible; }
|
|
977
|
+
.stage { overflow: visible; }
|
|
978
|
+
.actpane { max-height: none; }
|
|
979
|
+
.apdanger { position: static; }
|
|
980
|
+
.forks { grid-template-columns: 1fr; }
|
|
981
|
+
.statusbar { flex-wrap: wrap; gap: .5rem 1rem; }
|
|
982
|
+
.grafana-embed { height: 240px; }
|
|
983
|
+
|
|
984
|
+
/* ---- D: designed for this width, rather than merely surviving it ---- */
|
|
985
|
+
|
|
986
|
+
/* The rail becomes a horizontal picker, one row high. It is how you choose a
|
|
987
|
+
workspace so it cannot go, and a capped vertical strip spent 38vh of a phone on
|
|
988
|
+
a list of four names. */
|
|
989
|
+
.rail { max-height: none; }
|
|
990
|
+
.rail-controls { display: flex; flex-direction: row; align-items: center;
|
|
991
|
+
padding: .5rem .6rem .55rem; overflow-x: auto; scrollbar-width: thin; }
|
|
992
|
+
.rail-controls > * { flex: 0 0 auto; }
|
|
993
|
+
.rail-controls .input { width: 11rem; }
|
|
994
|
+
/* `.block` is width:100% -- in a row it took the whole strip and pushed the filter
|
|
995
|
+
and the three selects off the right edge of a scroller nothing said was one. */
|
|
996
|
+
.rail-controls .btn.block { width: auto; }
|
|
997
|
+
.rail-two { display: flex; gap: .4rem; }
|
|
998
|
+
.rows { display: flex; flex-direction: row; overflow-x: auto; scrollbar-width: thin;
|
|
999
|
+
padding: .5rem .55rem .6rem; }
|
|
1000
|
+
/* A CHIP here, whatever shape the row has on a wide screen: at 430px a picker is
|
|
1001
|
+
one row high, and the port and owner that earn their place in a 288px column are
|
|
1002
|
+
what has to go when the column becomes a strip. */
|
|
1003
|
+
.wrow { flex: 0 0 auto; display: flex; align-items: center; width: auto;
|
|
1004
|
+
max-width: 15rem; border-radius: 999px; padding: .35rem .8rem .35rem 1.35rem; }
|
|
1005
|
+
.wrow::before { left: .65rem; top: 50%; bottom: auto; width: 6px; height: 6px;
|
|
1006
|
+
margin-top: -3px; border-radius: 50%; }
|
|
1007
|
+
.wrow .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis;
|
|
1008
|
+
white-space: nowrap; }
|
|
1009
|
+
/* The group headings do not survive a horizontal strip -- the ORDER does, and
|
|
1010
|
+
wants-you is still first. */
|
|
1011
|
+
.rgrp { display: none; }
|
|
1012
|
+
.wrow .ver, .wrow .meta, .wrow .r3 { display: none; }
|
|
1013
|
+
|
|
1014
|
+
/* The state actions become a bar that stays put while the panel scrolls, and the
|
|
1015
|
+
rest of the pane is one tap away rather than a screen and a half below. A
|
|
1016
|
+
wrapping grid of eleven items pushed the danger zone off the bottom of the
|
|
1017
|
+
document.
|
|
1018
|
+
|
|
1019
|
+
ORDERED LAST, which is the whole reason it works: `bottom` stickiness holds an
|
|
1020
|
+
element that would fall BELOW the scrollport, and it does not drag one down from
|
|
1021
|
+
above -- so with the bar in its document position, above the panel body, the inset
|
|
1022
|
+
did nothing whatsoever and the bar scrolled away like any other row. Ordered to
|
|
1023
|
+
the end of the flex column it floats at the bottom of the screen while the panel
|
|
1024
|
+
scrolls and settles at the end of it. */
|
|
1025
|
+
.stage { display: flex; flex-direction: column; }
|
|
1026
|
+
.d-actions { order: 9; position: sticky; bottom: 0; z-index: 20; margin: 0 -1.1rem;
|
|
1027
|
+
padding: .6rem 1.1rem; background: var(--bar); border-top: 1px solid var(--line); }
|
|
1028
|
+
.btn.panetoggle { display: inline-flex; margin-left: auto; }
|
|
1029
|
+
.actpane { display: none; }
|
|
1030
|
+
body.pane-open .actpane { display: flex; }
|
|
1031
|
+
}
|
|
1032
|
+
@media (max-width: 560px) {
|
|
1033
|
+
/* The rail's controls WRAP on a phone. One scrolling row put the status and sort
|
|
1034
|
+
filters wholly past a 390px screen, behind a scroller nothing said was one; two
|
|
1035
|
+
rows show all four. */
|
|
1036
|
+
.rail-controls { flex-wrap: wrap; overflow-x: visible; }
|
|
1037
|
+
.rail-controls .input { flex: 1 1 9rem; width: auto; }
|
|
1038
|
+
.rail-two { flex: 1 1 100%; }
|
|
1039
|
+
.bar, .toolbar-controls { flex-wrap: wrap; }
|
|
1040
|
+
.topbar-actions { flex-wrap: wrap; }
|
|
1041
|
+
.kv-grid { grid-template-columns: 1fr; }
|
|
1042
|
+
dialog { width: calc(100vw - 1.5rem); }
|
|
1043
|
+
}
|
|
1044
|
+
/* `clip`, not `hidden`. Both stop a sideways scroll, and `hidden` on one axis makes
|
|
1045
|
+
the OTHER axis compute to `auto` -- which turns body into a scroll container that
|
|
1046
|
+
never scrolls, and a `position: sticky` descendant measures against that instead of
|
|
1047
|
+
the viewport and so never sticks. That is why the narrow layout's action bar scrolled
|
|
1048
|
+
away with the panel. `clip` creates no scroll container. */
|
|
1049
|
+
body { overflow-x: clip; }
|
|
1050
|
+
|
|
1051
|
+
/* the job dialog has no <form>, so `form menu` never matched its footer */
|
|
1052
|
+
#job-dialog menu { display: flex; justify-content: flex-end; padding: 0; margin: .8rem 0 0; }
|
|
1053
|
+
|
|
1054
|
+
/* Who ran a job, in the activity list. Only rendered when the GUI has named
|
|
1055
|
+
accounts; in token mode there is nobody to name. */
|
|
1056
|
+
.jactor { color: var(--muted); font-size: 12px; }
|
|
1057
|
+
.jactor::before { content: "by "; opacity: .6; }
|
|
1058
|
+
|
|
1059
|
+
/* ---- home ---- */
|
|
1060
|
+
/* Shown when nothing is selected. It leads with capacity because that is the
|
|
1061
|
+
constraint that actually bites: `up` refuses without headroom, and "room for
|
|
1062
|
+
about 2 more" is the sentence that decides what you do next. */
|
|
1063
|
+
.home-head { padding: 1.3rem 1.6rem .2rem; }
|
|
1064
|
+
.home-head h1 { margin: 0; font-size: 1.35rem; letter-spacing: -.02em; }
|
|
1065
|
+
.home-head p { margin: .35rem 0 0; font-family: var(--mono); font-size: .78rem; color: var(--muted); }
|
|
1066
|
+
.home-body { padding: 1.1rem 1.6rem 2rem; display: grid; gap: 1rem; max-width: 68rem; }
|
|
1067
|
+
.capcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md);
|
|
1068
|
+
box-shadow: var(--shadow-1), var(--edge);
|
|
1069
|
+
padding: 1rem 1.1rem 1.1rem; }
|
|
1070
|
+
.caphead { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
|
|
1071
|
+
.caproom { font-size: .82rem; font-weight: 600; color: var(--green); }
|
|
1072
|
+
.caproom.tight { color: var(--amber); }
|
|
1073
|
+
.capnum { font-family: var(--mono); font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em;
|
|
1074
|
+
margin-top: .35rem; }
|
|
1075
|
+
.capnum small { font-family: var(--sans); font-size: .84rem; font-weight: 400;
|
|
1076
|
+
color: var(--muted); margin-left: .45rem; }
|
|
1077
|
+
/* How full the machine is. Three segments of ONE quantity, so they are one hue
|
|
1078
|
+
stepping down in weight rather than three unrelated greys -- and the fill has
|
|
1079
|
+
round ends and grows into place, because the number it draws changes while you
|
|
1080
|
+
are looking at it. */
|
|
1081
|
+
.capbar { display: flex; height: 10px; border-radius: var(--r-pill); overflow: hidden;
|
|
1082
|
+
background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line);
|
|
1083
|
+
margin-top: .75rem; }
|
|
1084
|
+
/* Segments stay square and the ROUND TRACK clips them: giving each one its own
|
|
1085
|
+
radius notches every internal join, which is worse than the hard stop it was
|
|
1086
|
+
meant to soften. */
|
|
1087
|
+
.capbar i { display: block; height: 100%; transition: width var(--t-slow) var(--ease); }
|
|
1088
|
+
.capbar .used { background: var(--accent-fill); }
|
|
1089
|
+
.capbar .reserved { background: var(--line2); }
|
|
1090
|
+
.caplegend { display: flex; gap: 1.1rem; flex-wrap: wrap; margin-top: .55rem;
|
|
1091
|
+
font-size: .72rem; color: var(--muted); }
|
|
1092
|
+
.caplegend .k { display: inline-block; width: 9px; height: 9px; border-radius: var(--r-xs);
|
|
1093
|
+
margin-right: .4rem; vertical-align: -1px; box-shadow: inset 0 0 0 1px var(--line); }
|
|
1094
|
+
.caplegend .k.used { background: var(--accent-fill); box-shadow: none; }
|
|
1095
|
+
.caplegend .k.reserved { background: var(--line2); box-shadow: none; }
|
|
1096
|
+
.caplegend .k.free { background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line); }
|
|
1097
|
+
|
|
1098
|
+
.hcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md);
|
|
1099
|
+
box-shadow: var(--shadow-1), var(--edge);
|
|
1100
|
+
overflow: hidden; }
|
|
1101
|
+
.hcard-h { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
|
|
1102
|
+
padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
|
|
1103
|
+
.att { display: flex; align-items: center; gap: .8rem; padding: .75rem 1rem;
|
|
1104
|
+
border-bottom: 1px solid var(--line); }
|
|
1105
|
+
.att:last-child { border-bottom: 0; }
|
|
1106
|
+
.att-i { color: var(--amber); font-size: .8rem; }
|
|
1107
|
+
.att-t { flex: 1; font-size: .84rem; line-height: 1.5; }
|
|
1108
|
+
/* Clusters on Home: the totals, one row per cluster, the next step's command. */
|
|
1109
|
+
.hc-tot { padding: .6rem 1rem; font-size: .82rem; color: var(--muted); border-bottom: 1px solid var(--line); }
|
|
1110
|
+
.hc-tot b { color: var(--ink); } .hc-tot b.warn { color: var(--amber); }
|
|
1111
|
+
.hc-row { display: grid; grid-template-columns: .9rem 7rem 6rem 7.5rem 7rem minmax(0, 1fr); gap: .8rem;
|
|
1112
|
+
align-items: center; width: 100%; padding: .55rem 1rem; border: 0; border-bottom: 1px solid var(--line);
|
|
1113
|
+
background: none; font: inherit; font-size: .82rem; color: var(--ink); text-align: left; cursor: pointer; }
|
|
1114
|
+
.hc-row:hover { background: var(--panel2); }
|
|
1115
|
+
.hc-row .dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--dim); }
|
|
1116
|
+
.hc-row[data-state="running"] .dot { background: var(--green); }
|
|
1117
|
+
.hc-row[data-state="gone"] .dot { background: transparent; border: 1px solid var(--dim); }
|
|
1118
|
+
.hc-row[data-state="refusing"] .dot, .hc-row[data-state="unreachable"] .dot { background: var(--amber); }
|
|
1119
|
+
.hc-row .mono { font-family: var(--mono); font-size: .76rem; }
|
|
1120
|
+
.hc-row .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1121
|
+
.hc-cmd { font-family: var(--mono); font-size: .74rem; background: var(--panel2); border: 1px solid var(--line);
|
|
1122
|
+
border-radius: var(--r-xs); padding: .15rem .4rem; min-width: 0; overflow-wrap: anywhere; }
|
|
1123
|
+
@media (max-width: 900px) { .hc-row { grid-template-columns: .9rem 1fr 1fr; } .hc-row > :nth-child(n+4) { display: none; } }
|
|
1124
|
+
/* Two workspaces in a three-slot auto-fill grid leaves an empty cell painted in
|
|
1125
|
+
the line colour — a grey block sitting beside your workspaces. Same hole the
|
|
1126
|
+
fact grid had; same fix. */
|
|
1127
|
+
/* ---- one running workspace, on Home ----
|
|
1128
|
+
A row, not a card in a wrapping grid: there is one of these per running
|
|
1129
|
+
workspace and they are a list, so they read down the page and every name,
|
|
1130
|
+
uptime and Open lines up with the one above it. */
|
|
1131
|
+
.mini { display: grid; }
|
|
1132
|
+
.wsrow { display: flex; align-items: center; gap: .9rem; padding: .55rem .75rem .55rem 1rem;
|
|
1133
|
+
border-top: 1px solid var(--line); }
|
|
1134
|
+
.mini .wsrow:first-child { border-top: 0; }
|
|
1135
|
+
/* The row is one big target for "show me this workspace"; Open sits outside it,
|
|
1136
|
+
because it goes somewhere else entirely. */
|
|
1137
|
+
.wsrow-main { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: .8rem;
|
|
1138
|
+
padding: .35rem .4rem; margin: -.35rem -.4rem; border: 0; border-radius: var(--r-sm);
|
|
1139
|
+
background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer;
|
|
1140
|
+
transition: background-color var(--t) var(--ease); }
|
|
1141
|
+
.wsrow-main:hover { background: var(--panel2); }
|
|
1142
|
+
.wsrow-tile { flex: 0 0 auto; width: 2.35rem; height: 2.35rem; border-radius: var(--r-md);
|
|
1143
|
+
background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line);
|
|
1144
|
+
display: grid; place-items: center; }
|
|
1145
|
+
.wsrow-tile::before { content: ""; width: 9px; height: 9px; border-radius: 50%;
|
|
1146
|
+
background: var(--green); box-shadow: 0 0 0 4px rgba(74,222,128,.14); }
|
|
1147
|
+
.wsrow-tile.bad::before { background: var(--amber); box-shadow: 0 0 0 4px rgba(240,180,41,.16); }
|
|
1148
|
+
.wsrow-t { min-width: 0; display: grid; gap: .12rem; }
|
|
1149
|
+
.wsrow-t b { font-size: .88rem; font-weight: 600; overflow: hidden;
|
|
1150
|
+
text-overflow: ellipsis; white-space: nowrap; }
|
|
1151
|
+
.wsrow-m { font-family: var(--mono); font-size: .72rem; color: var(--dim);
|
|
1152
|
+
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1153
|
+
.wsrow-r { flex: 0 0 auto; display: flex; align-items: center; gap: .8rem; }
|
|
1154
|
+
/* Uptime is the number; what it IS goes beside it, small, so the figure carries
|
|
1155
|
+
the row rather than a label competing with it. */
|
|
1156
|
+
.wsrow-up { font-family: var(--mono); font-size: .8rem; font-weight: 600; color: var(--green); }
|
|
1157
|
+
.wsrow-up i { font-style: normal; font-weight: 400; font-size: .7rem; color: var(--dim);
|
|
1158
|
+
margin-left: .35rem; }
|
|
1159
|
+
.wsrow-up.bad { color: var(--amber); }
|
|
1160
|
+
.wsrow-r .btn { text-decoration: none; }
|
|
1161
|
+
.lbl-n { font-family: var(--mono); font-size: .7rem; color: var(--dim); }
|
|
1162
|
+
@media (max-width: 780px) {
|
|
1163
|
+
.wsrow { flex-wrap: wrap; }
|
|
1164
|
+
.wsrow-r { width: 100%; justify-content: flex-end; }
|
|
1165
|
+
}
|
|
1166
|
+
.arow { display: flex; align-items: baseline; gap: .9rem; padding: .55rem 1rem;
|
|
1167
|
+
border-bottom: 1px solid var(--line); font-size: .82rem; }
|
|
1168
|
+
.arow:last-child { border-bottom: 0; }
|
|
1169
|
+
.arow .who { width: 5.5rem; flex: 0 0 auto; font-family: var(--mono); font-size: .76rem;
|
|
1170
|
+
color: var(--muted); }
|
|
1171
|
+
.arow .kind { width: 8rem; flex: 0 0 auto; font-family: var(--mono); font-size: .74rem;
|
|
1172
|
+
color: var(--dim); }
|
|
1173
|
+
.arow .what { flex: 1; overflow-wrap: anywhere; }
|
|
1174
|
+
.arow .when { font-family: var(--mono); font-size: .7rem; color: var(--dim); }
|
|
1175
|
+
.arow[data-denied="true"] { background: rgba(217,45,32,.06); }
|
|
1176
|
+
.arow[data-denied="true"] .kind { color: var(--red); }
|
|
1177
|
+
|
|
1178
|
+
/* ---- scenarios ---- */
|
|
1179
|
+
.scen-b { padding: .85rem 1rem; }
|
|
1180
|
+
.scen-d { margin: 0; font-size: .86rem; line-height: 1.6; color: var(--muted); }
|
|
1181
|
+
/* Notes are pre-wrapped for an 80-column terminal. Re-flowing them into a narrow
|
|
1182
|
+
column produces "…reaches Keycloak at the same / URL Rocket.Chat's backend
|
|
1183
|
+
uses", which reads as broken text rather than as instructions. */
|
|
1184
|
+
.scen-n { margin: .7rem 0 0; padding: .7rem .8rem; background: var(--panel2);
|
|
1185
|
+
border-radius: var(--r-sm); font-family: var(--mono); font-size: .76rem; line-height: 1.7;
|
|
1186
|
+
color: var(--ink); white-space: pre; overflow-x: auto; }
|
|
1187
|
+
.scen-f { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
|
|
1188
|
+
padding: .65rem 1rem; border-top: 1px solid var(--line); font-size: .78rem;
|
|
1189
|
+
color: var(--muted); flex-wrap: wrap; }
|
|
1190
|
+
|
|
1191
|
+
/* Which page you are on. Without it Activity and Scenarios were reachable and
|
|
1192
|
+
indistinguishable — you could not tell where you were, or that there was
|
|
1193
|
+
anywhere else to be. */
|
|
1194
|
+
/* Nav. The marker is a drawn rule rather than `text-decoration`, so it can grow
|
|
1195
|
+
from the centre when a page becomes current instead of blinking into place. */
|
|
1196
|
+
.toplink { position: relative; font-size: .8rem; font-weight: 500;
|
|
1197
|
+
padding: .35rem .25rem; border: 0; background: none; color: var(--muted);
|
|
1198
|
+
cursor: pointer; font-family: inherit; }
|
|
1199
|
+
.toplink::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.1rem;
|
|
1200
|
+
height: 2px; border-radius: 2px; background: var(--accent);
|
|
1201
|
+
transform: scaleX(0); transition: transform var(--t) var(--ease); }
|
|
1202
|
+
.toplink:hover { color: var(--ink); }
|
|
1203
|
+
.toplink[aria-current] { color: var(--ink); font-weight: 600; }
|
|
1204
|
+
.toplink[aria-current]::after { transform: scaleX(1); }
|
|
1205
|
+
button.brand { border: 0; background: none; cursor: pointer; color: var(--ink); padding: 0; }
|
|
1206
|
+
button.brand:hover { color: var(--blue); }
|
|
1207
|
+
|
|
1208
|
+
/* ---- account menu ---- */
|
|
1209
|
+
.menuwrap { position: relative; }
|
|
1210
|
+
.memenu { position: absolute; right: 0; top: calc(100% + .45rem); min-width: 15rem;
|
|
1211
|
+
background: var(--panel); border: 1px solid var(--line2); border-radius: var(--r-md);
|
|
1212
|
+
padding: .35rem; z-index: 60;
|
|
1213
|
+
box-shadow: 0 1px 2px rgba(20,23,28,.06), 0 14px 34px rgba(20,23,28,.12); }
|
|
1214
|
+
[data-theme="dark"] .memenu { box-shadow: 0 14px 40px rgba(0,0,0,.5); }
|
|
1215
|
+
.me-head { padding: .5rem .6rem .45rem; border-bottom: 1px solid var(--line);
|
|
1216
|
+
margin-bottom: .35rem; }
|
|
1217
|
+
.me-head b { display: block; font-size: .86rem; }
|
|
1218
|
+
.me-head span { font-family: var(--mono); font-size: .7rem; color: var(--muted); }
|
|
1219
|
+
.memenu button { display: flex; align-items: center; gap: .5rem; width: 100%;
|
|
1220
|
+
padding: .45rem .6rem; border: 0; border-radius: var(--r-xs); background: none; color: var(--ink);
|
|
1221
|
+
font: inherit; font-size: .82rem; text-align: left; cursor: pointer; }
|
|
1222
|
+
.memenu button:hover { background: var(--panel2); }
|
|
1223
|
+
.memenu button small { margin-left: auto; font-family: var(--mono); font-size: .66rem;
|
|
1224
|
+
color: var(--dim); }
|
|
1225
|
+
.memenu button.danger { color: var(--red); font-weight: 600; }
|
|
1226
|
+
.memenu button.danger:hover { background: rgba(217,45,32,.08); }
|
|
1227
|
+
.memenu hr { border: 0; border-top: 1px solid var(--line); margin: .35rem 0; }
|
|
1228
|
+
|
|
1229
|
+
/* ---- preset notes ---- */
|
|
1230
|
+
/* A bordered block, like everything else that is content rather than chrome.
|
|
1231
|
+
Loose paragraphs under a grey label read as leftovers. */
|
|
1232
|
+
.notes { display: grid; gap: .8rem; background: var(--panel);
|
|
1233
|
+
border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.1rem; }
|
|
1234
|
+
.notes code.inline { font-family: var(--mono); font-size: .82em; padding: .1em .35em;
|
|
1235
|
+
background: var(--panel2); border: 1px solid var(--line); border-radius: var(--r-xs); }
|
|
1236
|
+
/* NO `ch` cap. A 74ch measure is the right idea for a page of running text and the
|
|
1237
|
+
wrong one inside a card: it made a paragraph 647px wide in an 832px card at 1440, and
|
|
1238
|
+
the same 647px in a 1344px card at 1920 -- half the box, with the code block under it
|
|
1239
|
+
running the full width. The card is the measure; the panel column is what bounds it. */
|
|
1240
|
+
.note-p { margin: 0; font-size: .84rem; line-height: 1.65; color: var(--muted); }
|
|
1241
|
+
.note-p a { color: var(--blue); }
|
|
1242
|
+
/* A grouped note's facts. A table because that is what they are -- a lookup, not a
|
|
1243
|
+
sentence -- and `tabular-nums` so versions and counts line up down the column. */
|
|
1244
|
+
.notetable { width: 100%; border-collapse: collapse; font-size: .82rem;
|
|
1245
|
+
font-variant-numeric: tabular-nums; }
|
|
1246
|
+
.notetable tr { border-top: 1px solid var(--line); }
|
|
1247
|
+
.notetable tr:first-child { border-top: 0; }
|
|
1248
|
+
.notetable th { text-align: left; font-weight: 500; color: var(--muted);
|
|
1249
|
+
padding: .42rem 1.15rem; width: 10.5rem; white-space: nowrap; }
|
|
1250
|
+
.notetable td { font-family: var(--mono); font-size: .78rem; color: var(--ink);
|
|
1251
|
+
padding: .42rem 1.15rem .42rem 0; overflow-wrap: anywhere; }
|
|
1252
|
+
@media (max-width: 560px) {
|
|
1253
|
+
.notetable th { width: auto; white-space: normal; }
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
/* The line you have to type. It was one <div> among five and read as prose. */
|
|
1257
|
+
.note-cmd { display: flex; align-items: center; gap: .6rem; padding: .45rem .55rem;
|
|
1258
|
+
min-width: 0;
|
|
1259
|
+
background: var(--panel2); border: 1px solid var(--line); border-radius: var(--r-sm); }
|
|
1260
|
+
.note-cmd code { flex: 1; min-width: 0; font-family: var(--mono); font-size: .78rem;
|
|
1261
|
+
color: var(--ink); overflow-x: auto; white-space: pre; }
|
|
1262
|
+
/* `min-width: 0` on BOTH -- the box and the code inside it -- is the whole fix, and
|
|
1263
|
+
without it the `overflow-x` here never engaged. A flex or grid item defaults to
|
|
1264
|
+
`min-width: auto`, which refuses to shrink below its content's intrinsic width, so
|
|
1265
|
+
a long line pushed its own container wide; `.note-cmd` is a grid item of
|
|
1266
|
+
`.panelcard-b.notes`, so it needed the same thing its `<code>` child did.
|
|
1267
|
+
Measured on a Kubernetes workspace, whose notes carry
|
|
1268
|
+
`export KUBECONFIG=<absolute path>`: `.note-cmd` came out 1147px inside an 824px
|
|
1269
|
+
panel, and `.panelcard`'s `overflow-x: hidden` silently CLIPPED the difference --
|
|
1270
|
+
so the reader was told to paste a path whose end they could not see. `white-space:
|
|
1271
|
+
pre` has to stay (a pasted line's spacing is load-bearing and a test asserts it),
|
|
1272
|
+
which is exactly why the box has to scroll rather than the text wrap. Same bug as
|
|
1273
|
+
`.rail-two .input`, two hundred lines up. */
|
|
1274
|
+
.cp { font-size: .68rem; font-family: var(--sans); color: var(--muted); background: none;
|
|
1275
|
+
border: 1px solid var(--line2); border-radius: var(--r-xs); padding: .18rem .45rem; cursor: pointer;
|
|
1276
|
+
flex: 0 0 auto; }
|
|
1277
|
+
.cp:hover { color: var(--blue); border-color: var(--blue); }
|
|
1278
|
+
|
|
1279
|
+
/* ---- where things are ---- */
|
|
1280
|
+
.linkrows { display: grid; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
|
|
1281
|
+
.linkrow { display: flex; align-items: baseline; gap: 1rem; padding: .6rem .9rem;
|
|
1282
|
+
border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
|
|
1283
|
+
background: var(--panel); }
|
|
1284
|
+
.linkrow:last-child { border-bottom: 0; }
|
|
1285
|
+
.linkrow:hover { background: var(--panel2); }
|
|
1286
|
+
.linkrow .l-n { flex: 0 0 auto; min-width: 8.5rem; white-space: nowrap;
|
|
1287
|
+
font-size: .82rem; font-weight: 600; }
|
|
1288
|
+
.linkrow .l-u { flex: 0 1 auto; font-family: var(--mono); font-size: .76rem;
|
|
1289
|
+
color: var(--blue); overflow-wrap: anywhere; }
|
|
1290
|
+
.linkrow .l-go { margin-left: auto; color: var(--dim); font-size: .74rem;
|
|
1291
|
+
opacity: 0; transition: opacity .12s; }
|
|
1292
|
+
.linkrow:hover .l-go { opacity: 1; }
|
|
1293
|
+
.linkrow.sidecar .l-n::after { content: " · sidecar"; font-weight: 400; color: var(--dim);
|
|
1294
|
+
font-size: .68rem; }
|
|
1295
|
+
.linkrow.monitor .l-n::after { content: " · monitoring"; font-weight: 400; color: var(--dim);
|
|
1296
|
+
font-size: .68rem; }
|
|
1297
|
+
/* A row carries up to four things — what it is, what it is for, where, and the
|
|
1298
|
+
password — plus a second line for anything the preset said about it. Wrapping
|
|
1299
|
+
rather than ellipsising: the description IS the sentence, and half of one is
|
|
1300
|
+
worse than a line break. */
|
|
1301
|
+
.linkrow { flex-wrap: wrap; row-gap: .3rem; }
|
|
1302
|
+
.linkrow .l-w { flex: 0 1 auto; min-width: 0; font-size: .78rem; color: var(--muted); }
|
|
1303
|
+
.linkrow .l-u { margin-right: auto; }
|
|
1304
|
+
.linkrow .l-c { flex: 0 0 auto; font-family: var(--mono); font-size: .71rem;
|
|
1305
|
+
color: var(--muted); background: var(--panel2); border: 1px solid var(--line);
|
|
1306
|
+
border-radius: var(--r-xs); padding: .08rem .38rem; }
|
|
1307
|
+
/* Indented to the url column, so the second line reads as part of the row rather
|
|
1308
|
+
than as a new one that happens to sit under it. */
|
|
1309
|
+
.linkrow .l-sub { flex: 0 0 100%; padding-left: 9.5rem; font-size: .78rem;
|
|
1310
|
+
line-height: 1.6; color: var(--muted); }
|
|
1311
|
+
.linkrow .l-sub a { color: var(--blue); }
|
|
1312
|
+
.linkrow .l-sub code.inline { font-family: var(--mono); font-size: .82em; padding: .1em .35em;
|
|
1313
|
+
background: var(--panel2); border: 1px solid var(--line); border-radius: var(--r-xs); }
|
|
1314
|
+
/* A place with no reachable address (livechat's "<repro-url>/livechat") is still
|
|
1315
|
+
a row — it just is not a link, and pretending otherwise gives a dead click. */
|
|
1316
|
+
.linkrow.static { cursor: default; }
|
|
1317
|
+
.linkrow.static:hover { background: var(--panel); }
|
|
1318
|
+
.linkrow.static .l-u { color: var(--muted); }
|
|
1319
|
+
/* A note-borne place standing on its own, inside the prose flow. */
|
|
1320
|
+
.linkrows.one { border-radius: var(--r-sm); }
|
|
1321
|
+
.notes .linkrows.one .linkrow { background: var(--panel2); }
|
|
1322
|
+
.notes .linkrows.one .linkrow:hover { background: var(--line); }
|
|
1323
|
+
|
|
1324
|
+
/* ---- notes, read as documentation rather than a dump ---- */
|
|
1325
|
+
.notes { gap: .7rem; }
|
|
1326
|
+
/* Each remaining note is a POINT, and a marker says so. Without one, three
|
|
1327
|
+
paragraphs of equal weight under a heading read as a paragraph that has been
|
|
1328
|
+
broken up rather than as three separate things you are being told. */
|
|
1329
|
+
.note-p { position: relative; padding-left: .95rem; font-size: .86rem; line-height: 1.7;
|
|
1330
|
+
color: var(--ink); opacity: .84; }
|
|
1331
|
+
.note-p::before { content: ""; position: absolute; left: .1rem; top: .68em;
|
|
1332
|
+
width: 4px; height: 4px; border-radius: 50%; background: var(--dim); }
|
|
1333
|
+
/* One paragraph is not a list of one -- see renderNoteItems. */
|
|
1334
|
+
.note-p.solo { padding-left: 0; }
|
|
1335
|
+
.note-p.solo::before { content: none; }
|
|
1336
|
+
.note-cmd { border-radius: var(--r-md); padding: .55rem .65rem; }
|
|
1337
|
+
.note-cmd code { font-size: .8rem; }
|
|
1338
|
+
/* The scenario card: a document, not a form. */
|
|
1339
|
+
.scen-b { padding: 1rem 1.15rem 1.15rem; }
|
|
1340
|
+
.scen-d { font-size: .88rem; line-height: 1.7; color: var(--ink); opacity: .8; }
|
|
1341
|
+
.scen-f { padding: .8rem 1.15rem; font-size: .74rem; }
|
|
1342
|
+
.hcard, .capcard { border-radius: var(--r-lg); }
|
|
1343
|
+
.hcard-h { padding: .8rem 1.1rem; }
|
|
1344
|
+
.home-head h1 { font-size: 1.5rem; font-weight: 700; }
|
|
1345
|
+
.home-body { gap: 1.15rem; }
|
|
1346
|
+
.lbl, .hcard-h .lbl { font-size: .64rem; font-weight: 600; letter-spacing: .1em;
|
|
1347
|
+
text-transform: uppercase; color: var(--dim); }
|
|
1348
|
+
.att { padding: .85rem 1.1rem; }
|
|
1349
|
+
.capcard { padding: 1.15rem 1.25rem 1.25rem; }
|
|
1350
|
+
.capnum { font-size: 1.85rem; }
|
|
1351
|
+
/* Inputs and buttons: proportional, so a form reads as a form. */
|
|
1352
|
+
.input { font-family: var(--sans); font-size: .84rem; padding: .48rem .7rem; }
|
|
1353
|
+
.btn { font-size: .82rem; font-weight: 500; padding: .45rem .85rem; }
|
|
1354
|
+
.btn.small { font-size: .76rem; padding: .3rem .62rem; }
|
|
1355
|
+
form label { font-size: .82rem; margin: .85rem 0; }
|
|
1356
|
+
form input, form select { padding: .55rem .7rem; font-family: var(--sans); }
|
|
1357
|
+
.hint { line-height: 1.65; }
|
|
1358
|
+
|
|
1359
|
+
/* ---- the one button you are meant to press ---- */
|
|
1360
|
+
/* The one button a screen is asking you to press. It used to be `--ink` on
|
|
1361
|
+
`--bg` -- in dark that is a white slab, the brightest thing on the page, and
|
|
1362
|
+
the only thing on it carrying no signal. This file's own rule says blue means
|
|
1363
|
+
you can click it, and nothing is more clickable than this. */
|
|
1364
|
+
.btn.solid { background: var(--accent-fill); color: var(--accent-ink);
|
|
1365
|
+
border-color: transparent; font-weight: 600; box-shadow: var(--shadow-accent); }
|
|
1366
|
+
.btn.solid:hover { background: var(--accent-strong); border-color: transparent;
|
|
1367
|
+
color: var(--accent-ink); }
|
|
1368
|
+
.btn.solid:active:not(:disabled) { box-shadow: var(--shadow-1); }
|
|
1369
|
+
.btn.solid:disabled { box-shadow: none; }
|
|
1370
|
+
|
|
1371
|
+
/* ---- a card with a header, used by the scenario and the chart ---- */
|
|
1372
|
+
.panelcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md);
|
|
1373
|
+
box-shadow: var(--shadow-1), var(--edge);
|
|
1374
|
+
overflow: hidden; margin: 1.4rem 0; }
|
|
1375
|
+
.panelcard-h { display: flex; align-items: center; justify-content: space-between;
|
|
1376
|
+
gap: 1rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
|
|
1377
|
+
.panelcard-b { padding: .95rem 1rem 1.05rem; }
|
|
1378
|
+
.panelcard-b .notes { border: 0; padding: 0; background: none; }
|
|
1379
|
+
/* The notes ARE the card's body here, so they take its padding and none of the
|
|
1380
|
+
standalone block's own frame — a border inside a border reads as a mistake. */
|
|
1381
|
+
.panelcard-b.notes { border: 0; border-radius: 0; background: none;
|
|
1382
|
+
padding: .95rem 1rem 1.05rem; }
|
|
1383
|
+
.panelcard-b.notes .linkrows.one { border: 1px solid var(--line); border-radius: var(--r-sm); }
|
|
1384
|
+
.panelcard-b.notes .linkrows.one .linkrow { border-radius: 0; }
|
|
1385
|
+
.panelcard-b.notes .linkrows.one .linkrow:last-child { border-bottom: 0; }
|
|
1386
|
+
.section-label.flat { margin: 0; }
|
|
1387
|
+
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
|
|
1388
|
+
font-size: .74rem; color: var(--blue); }
|
|
1389
|
+
.linkbtn:hover { text-decoration: underline; }
|
|
1390
|
+
.panelcard .linkrow { border-bottom: 1px solid var(--line); border-radius: 0; }
|
|
1391
|
+
.panelcard .linkrow:last-child { border-bottom: 0; }
|
|
1392
|
+
|
|
1393
|
+
/* A setup step that BLOCKS the scenario. Amber, because it is the one thing here
|
|
1394
|
+
that will stop you, and only for a command that is not simply a url to open. */
|
|
1395
|
+
.setup { display: flex; align-items: flex-start; gap: .8rem; padding: .9rem 1rem;
|
|
1396
|
+
background: rgba(180,83,9,.08); border-bottom: 1px solid var(--line); }
|
|
1397
|
+
[data-theme="dark"] .setup { background: rgba(240,180,41,.09); }
|
|
1398
|
+
.setup-i { color: var(--amber); font-size: .8rem; line-height: 1.5; }
|
|
1399
|
+
.setup-t { flex: 1; font-size: .84rem; line-height: 1.6; }
|
|
1400
|
+
.setup-t b { display: block; }
|
|
1401
|
+
.setup-w { display: block; color: var(--muted); }
|
|
1402
|
+
.setup-t code { display: inline-block; margin-top: .5rem; font-family: var(--mono);
|
|
1403
|
+
font-size: .8rem; background: var(--panel); border: 1px solid var(--line2);
|
|
1404
|
+
border-radius: var(--r-sm); padding: .28rem .55rem; }
|
|
1405
|
+
|
|
1406
|
+
/* ---- the scenario guide: one preset at a time, in three parts ---- */
|
|
1407
|
+
.guide-h { padding: .75rem 1rem 0; }
|
|
1408
|
+
.guide-tabs { display: flex; flex-wrap: wrap; gap: .35rem; padding: .5rem 1rem 0; }
|
|
1409
|
+
.guide-tabs button { font: 600 .78rem var(--mono); padding: .32rem .75rem; border: 1px solid var(--line);
|
|
1410
|
+
border-radius: 999px; background: var(--bg); color: var(--muted); cursor: pointer;
|
|
1411
|
+
transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
|
|
1412
|
+
.guide-tabs button:hover { border-color: var(--line2); color: var(--ink); }
|
|
1413
|
+
.guide-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
1414
|
+
.guide-tabs button[aria-selected="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--ink); }
|
|
1415
|
+
/* One pane, re-filled on a tab change: it keeps the tallest guide's height so the card never
|
|
1416
|
+
jumps, and the new guide fades in. */
|
|
1417
|
+
.guide-pane { padding: .7rem 1rem 1.05rem; }
|
|
1418
|
+
.guide { opacity: 1; transition: opacity .18s ease; }
|
|
1419
|
+
.guide.entering { opacity: 0; }
|
|
1420
|
+
.guide-one { font-size: .84rem; color: var(--muted); margin: .1rem 0 .85rem; line-height: 1.5; }
|
|
1421
|
+
.guide .setup { margin: 0 0 .9rem; border: 1px solid var(--line); border-radius: var(--r-sm); }
|
|
1422
|
+
.guide-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 2rem; }
|
|
1423
|
+
.guide-cols.one { grid-template-columns: minmax(0, 1fr); }
|
|
1424
|
+
.guide-part .section-label { display: block; margin: 0 0 .45rem; padding-bottom: .3rem; border-bottom: 1px solid var(--line); }
|
|
1425
|
+
.guide-part ol, .guide-part ul { margin: 0; padding-left: 1.25rem; font-size: .84rem; line-height: 1.55; color: var(--ink); }
|
|
1426
|
+
.guide-part li { margin: .25rem 0; padding-left: .15rem; }
|
|
1427
|
+
.guide-part li::marker { color: var(--dim); font-weight: 600; }
|
|
1428
|
+
.guide-part ul { color: var(--muted); }
|
|
1429
|
+
.guide-part .notetable th { width: auto; white-space: nowrap; padding: .4rem 1rem .4rem 0; font-family: var(--mono);
|
|
1430
|
+
font-weight: 600; color: var(--ink); font-size: .8rem; }
|
|
1431
|
+
.guide-part .notetable td { padding: .4rem 1rem .4rem 0; vertical-align: top; }
|
|
1432
|
+
.guide-part .notetable td.pw { font-family: var(--mono); font-size: .78rem; color: var(--ink); }
|
|
1433
|
+
.guide-part .notetable td.w { color: var(--muted); font-family: var(--sans); font-size: .78rem; padding-right: 0; }
|
|
1434
|
+
.guide-know { margin-top: 1rem; }
|
|
1435
|
+
@media (max-width: 760px) { .guide-cols { grid-template-columns: minmax(0, 1fr); } }
|
|
1436
|
+
@media (prefers-reduced-motion: reduce) { .guide, .guide-tabs button { transition: none; } }
|
|
1437
|
+
|
|
1438
|
+
/* ---- the chart, in its card ---- */
|
|
1439
|
+
.chart-box { border: 0; border-radius: 0; background: var(--bg); padding: .7rem .85rem; }
|
|
1440
|
+
/* No legend: one series per panel, and each panel is titled. What the header
|
|
1441
|
+
carries instead is the one thing the chart cannot say about itself. */
|
|
1442
|
+
.chart-note { font-family: var(--mono); font-size: .68rem; color: var(--dim); }
|
|
1443
|
+
|
|
1444
|
+
/* ---- the Grafana / sidecar chips lost every rule in the layout swap ---- */
|
|
1445
|
+
.linkchip { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem;
|
|
1446
|
+
color: var(--blue); text-decoration: none; border: 1px solid var(--line2);
|
|
1447
|
+
border-radius: 999px; padding: .22rem .65rem; background: var(--panel); }
|
|
1448
|
+
.linkchip:hover { border-color: var(--blue); background: var(--panel2); }
|
|
1449
|
+
.linkchip::after { content: "↗"; font-size: .68rem; color: var(--dim); }
|
|
1450
|
+
.card-links { display: flex; flex-wrap: wrap; gap: .45rem; margin: .5rem 0 0; }
|
|
1451
|
+
|
|
1452
|
+
/* ---- home: a row you can tell you are hovering ---- */
|
|
1453
|
+
[data-theme="dark"] .wsrow-main:hover { background: #1F2530; }
|
|
1454
|
+
|
|
1455
|
+
/* ---- rail search and filters ----
|
|
1456
|
+
Three controls that do one job together, so they get one treatment: the same
|
|
1457
|
+
height, the same ground, the same border, and the same answer to a pointer. */
|
|
1458
|
+
.rail-controls .input { height: 2.15rem; border-radius: var(--r-sm);
|
|
1459
|
+
border: 1px solid var(--line2); background-color: var(--bg); color: var(--ink);
|
|
1460
|
+
font-size: .8rem; }
|
|
1461
|
+
.rail-controls .input::placeholder { color: var(--dim); }
|
|
1462
|
+
.rail-controls .input:hover { border-color: var(--muted); }
|
|
1463
|
+
.rail-controls .input:focus { outline: none; border-color: var(--accent);
|
|
1464
|
+
box-shadow: 0 0 0 3px var(--accent-ring); }
|
|
1465
|
+
/* The chevron was two 4px gradient triangles in `--dim` — 3.3:1, and the size of
|
|
1466
|
+
a full stop. An inline SVG mark is one shape, at a size you can actually aim
|
|
1467
|
+
at, and it can answer the hover like the border does. */
|
|
1468
|
+
.rail-two select.input { -webkit-appearance: none; appearance: none;
|
|
1469
|
+
padding-right: 1.9rem; cursor: pointer;
|
|
1470
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238B94A4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
|
1471
|
+
background-repeat: no-repeat; background-position: right .7rem center; }
|
|
1472
|
+
.rail-two select.input:hover, .rail-two select.input:focus {
|
|
1473
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%233B5BDB' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
|
|
1474
|
+
[data-theme="dark"] .rail-two select.input:hover,
|
|
1475
|
+
[data-theme="dark"] .rail-two select.input:focus {
|
|
1476
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%237FA8FF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
|
|
1477
|
+
.rail-two { gap: .5rem; }
|
|
1478
|
+
|
|
1479
|
+
/* ---- clusters: where workspaces run, and what that is costing ----
|
|
1480
|
+
A peer of the edge and surfaced like one, but it needed a colour the file did
|
|
1481
|
+
not have. The rule at the top gives amber to "wants you" and red to "about to
|
|
1482
|
+
destroy something", and the two states this view must show -- a cluster past
|
|
1483
|
+
the date somebody put on it, and one that would not answer -- are both the
|
|
1484
|
+
first. `.chip.down` is RED, so reaching for it here would have painted a
|
|
1485
|
+
cluster that is merely expensive in the colour reserved for destruction. */
|
|
1486
|
+
.chip.warn::before { color: var(--amber); }
|
|
1487
|
+
.pill.refusing { color: var(--amber); border-color: rgba(180,83,9,.4);
|
|
1488
|
+
background: rgba(180,83,9,.10); }
|
|
1489
|
+
|
|
1490
|
+
/* The four numbers that answer "what is this box costing" before any detail. */
|
|
1491
|
+
.cl-tot { display: flex; flex-wrap: wrap; border: 1px solid var(--line);
|
|
1492
|
+
border-radius: var(--r-md); background: var(--panel); overflow: hidden;
|
|
1493
|
+
margin: 0 0 1rem; }
|
|
1494
|
+
.cl-tot > div { flex: 1 1 8rem; padding: .7rem .95rem;
|
|
1495
|
+
border-right: 1px solid var(--line); }
|
|
1496
|
+
.cl-tot > div:last-child { border-right: 0; }
|
|
1497
|
+
.cl-tot dt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
|
1498
|
+
font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
|
|
1499
|
+
color: var(--dim); margin: 0 0 .2rem; }
|
|
1500
|
+
.cl-tot dd { margin: 0; font-size: 1.2rem; font-weight: 650;
|
|
1501
|
+
font-variant-numeric: tabular-nums; }
|
|
1502
|
+
|
|
1503
|
+
/* ---- the Clusters page: six stages, one next step, a table and a detail ----
|
|
1504
|
+
The stage a person is at and the one thing to do next, then every cluster as a
|
|
1505
|
+
row, then the selected one's detail. `--panel` for the table and the detail
|
|
1506
|
+
because they stand on the stage, which is ground. */
|
|
1507
|
+
.stepper { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem 0; margin: 0 0 .9rem;
|
|
1508
|
+
font-size: .74rem; }
|
|
1509
|
+
.step { display: flex; align-items: center; gap: .45rem; color: var(--dim); white-space: nowrap; }
|
|
1510
|
+
.step .n { width: 1.35rem; height: 1.35rem; border-radius: 50%; border: 1px solid var(--line2);
|
|
1511
|
+
display: inline-flex; align-items: center; justify-content: center; font: 600 .68rem var(--mono); }
|
|
1512
|
+
.step.done { color: var(--muted); } .step.done .n { color: var(--green); border-color: var(--green); }
|
|
1513
|
+
.step.now { color: var(--ink); font-weight: 600; }
|
|
1514
|
+
.step.now .n { background: var(--accent-fill); color: var(--on-accent); border-color: var(--accent-fill); }
|
|
1515
|
+
.step.now.wants .n { background: var(--amber); border-color: var(--amber); }
|
|
1516
|
+
.step + .step::before { content: ""; width: 1.1rem; height: 1px; background: var(--line2); margin: 0 .4rem; }
|
|
1517
|
+
.step.skipped { color: var(--dim); } .step.skipped .n { border-style: dashed; }
|
|
1518
|
+
.nextcard { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto; gap: .2rem .8rem;
|
|
1519
|
+
align-items: center; padding: .7rem .9rem; margin: 0 0 1rem; border-radius: var(--r-md);
|
|
1520
|
+
border: 1px solid var(--line); background: var(--panel); }
|
|
1521
|
+
.nextcard.warn { border-color: rgba(180,83,9,.45); background: rgba(210,153,34,.08); }
|
|
1522
|
+
.nextcard.ok { border-color: rgba(6,118,71,.4); background: rgba(63,185,80,.08); }
|
|
1523
|
+
.nextcard .nk { grid-column: 1; grid-row: 1; font-size: .62rem; letter-spacing: .1em;
|
|
1524
|
+
text-transform: uppercase; color: var(--dim); font-weight: 600; }
|
|
1525
|
+
.nextcard .nt { grid-column: 2; grid-row: 1; font-size: .86rem; font-weight: 600; }
|
|
1526
|
+
.nextcard .nw { grid-column: 2; grid-row: 2; font-size: .78rem; color: var(--muted); }
|
|
1527
|
+
.nextcard .nc { grid-column: 2; grid-row: 3; display: flex; align-items: center; gap: .6rem;
|
|
1528
|
+
margin-top: .3rem; font-family: var(--mono); font-size: .76rem; background: var(--panel2);
|
|
1529
|
+
border: 1px solid var(--line); border-radius: var(--r-sm); padding: .35rem .55rem; }
|
|
1530
|
+
.nextcard .nc code { flex: 1; min-width: 0; word-break: break-all; }
|
|
1531
|
+
.nextcard .na { grid-column: 3; grid-row: 1 / span 3; display: flex; flex-direction: column; gap: .35rem; }
|
|
1532
|
+
.cltbl { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel);
|
|
1533
|
+
overflow: hidden; margin: 0 0 1rem; }
|
|
1534
|
+
.clhead, .clrow { display: grid; grid-template-columns: 1rem 1.3fr 1.1fr 1.2fr 1.3fr 1fr 1fr .9fr .9fr;
|
|
1535
|
+
gap: .6rem; align-items: center; padding: .5rem .9rem; }
|
|
1536
|
+
.clhead { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dim);
|
|
1537
|
+
border-bottom: 1px solid var(--line); }
|
|
1538
|
+
.clrow { width: 100%; text-align: left; border: 0; border-top: 1px solid var(--line); background: none;
|
|
1539
|
+
font: inherit; color: var(--ink); cursor: pointer; font-size: .82rem; }
|
|
1540
|
+
.clrow:first-of-type { border-top: 0; }
|
|
1541
|
+
.clrow:hover { background: var(--panel2); }
|
|
1542
|
+
.clrow[aria-current="true"] { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
|
|
1543
|
+
.clrow .dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--dim); }
|
|
1544
|
+
.clrow[data-state="running"] .dot { background: var(--green); }
|
|
1545
|
+
.clrow[data-state="building"] .dot, .clrow[data-state="deleting"] .dot { background: var(--blue);
|
|
1546
|
+
box-shadow: 0 0 0 3px var(--accent-soft); }
|
|
1547
|
+
.clrow[data-state="gone"] .dot { background: transparent; border: 1px solid var(--dim); }
|
|
1548
|
+
.clrow[data-state="refusing"] .dot, .clrow[data-state="unreachable"] .dot,
|
|
1549
|
+
.clrow[data-state="failed"] .dot { background: var(--amber); }
|
|
1550
|
+
.clrow .nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1551
|
+
.clrow .mono { font-family: var(--mono); font-size: .76rem; }
|
|
1552
|
+
.clrow .unk { color: var(--dim); }
|
|
1553
|
+
.clrow .warn { color: var(--amber); font-weight: 600; } .clrow .bad { color: var(--red); font-weight: 600; }
|
|
1554
|
+
.clrow .st { font-size: .74rem; }
|
|
1555
|
+
.clrow .st.building, .clrow .st.deleting { color: var(--blue); }
|
|
1556
|
+
.clrow .st.failed, .clrow .st.refusing, .clrow .st.unreachable { color: var(--amber); }
|
|
1557
|
+
.clfoot { display: flex; gap: .5rem; align-items: center; justify-content: flex-end; padding: .6rem .9rem;
|
|
1558
|
+
border-top: 1px solid var(--line); background: var(--bg); }
|
|
1559
|
+
.clfoot .cl-note { margin-right: auto; }
|
|
1560
|
+
.cldet { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); overflow: hidden; }
|
|
1561
|
+
.cldet-h { display: flex; align-items: baseline; gap: .7rem; padding: .7rem .95rem; border-bottom: 1px solid var(--line); }
|
|
1562
|
+
.cldet-h b { font-size: .95rem; }
|
|
1563
|
+
.cldet-h .arn { font-family: var(--mono); font-size: .72rem; color: var(--dim); overflow: hidden;
|
|
1564
|
+
text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
|
|
1565
|
+
.cldet-h .sp { flex: 1; }
|
|
1566
|
+
.cldet-g { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); }
|
|
1567
|
+
.cldet-g > div { padding: .5rem .95rem; border-bottom: 1px solid var(--line); font-size: .82rem; min-width: 0; }
|
|
1568
|
+
.cldet-g > div:nth-child(odd) { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
|
|
1569
|
+
color: var(--dim); font-weight: 600; padding-top: .62rem; }
|
|
1570
|
+
.cldet-g > div:nth-last-child(-n+2) { border-bottom: 0; }
|
|
1571
|
+
.cldet .ok { color: var(--green); font-weight: 600; } .cldet .no { color: var(--amber); font-weight: 600; }
|
|
1572
|
+
.cl-tot dd.warn { color: var(--amber); }
|
|
1573
|
+
/* The page's three places: what runs on this machine, what runs elsewhere, what AWS
|
|
1574
|
+
bills for. Only the AWS one has stages, totals and a build. */
|
|
1575
|
+
.clsec { display: grid; gap: .7rem; }
|
|
1576
|
+
.clsec[hidden], .cl-tot[hidden] { display: none; }
|
|
1577
|
+
.clsec-h { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
|
|
1578
|
+
.clsec-h h2 { margin: 0; font-size: .95rem; letter-spacing: -.01em; }
|
|
1579
|
+
.clsec-h span { font-size: .74rem; color: var(--muted); }
|
|
1580
|
+
.clsec .cltbl { margin: 0; }
|
|
1581
|
+
.cl-connection { display: flex; align-items: center; justify-content: space-between; gap: .75rem;
|
|
1582
|
+
padding: .6rem .9rem; margin: .65rem 0; border: 1px solid var(--line);
|
|
1583
|
+
border-radius: var(--r-md); background: var(--panel); font-size: .78rem; }
|
|
1584
|
+
.cl-connection[hidden] { display: none; }
|
|
1585
|
+
.cl-connection span { min-width: 0; overflow-wrap: anywhere; }
|
|
1586
|
+
.cl-connection .btn { flex: none; }
|
|
1587
|
+
.cl-auth-dialog { width: min(36rem, 94vw); }
|
|
1588
|
+
.cl-auth-dialog h3 { margin: 1rem 0 .35rem; font-size: .9rem; }
|
|
1589
|
+
.cl-auth-dialog p { font-size: .82rem; line-height: 1.5; }
|
|
1590
|
+
.cl-auth-dialog pre { overflow: auto; padding: .7rem; background: var(--bg); border-radius: var(--r-sm); }
|
|
1591
|
+
@media (max-width: 650px) { .cl-connection { align-items: flex-start; flex-direction: column; } }
|
|
1592
|
+
.cltbl.plain .clhead, .cltbl.plain .clrow { grid-template-columns: 1rem 1.5fr 1fr 1.2fr 1fr 1.2fr; }
|
|
1593
|
+
@media (max-width: 900px) { .cltbl.plain .clrow { grid-template-columns: 1rem 1fr 1fr 1fr; } }
|
|
1594
|
+
@media (max-width: 900px) {
|
|
1595
|
+
.clhead { display: none; }
|
|
1596
|
+
.clrow { grid-template-columns: 1rem 1fr 1fr 1fr; }
|
|
1597
|
+
.clrow > :nth-child(n+5) { display: none; }
|
|
1598
|
+
}
|
|
1599
|
+
.cl-foot { padding: .6rem .95rem; display: flex; gap: .5rem; align-items: center;
|
|
1600
|
+
flex-wrap: wrap; }
|
|
1601
|
+
.cl-foot .banner { margin: 0; padding: .4rem .6rem; }
|
|
1602
|
+
.cl-note { font-size: .74rem; color: var(--muted); }
|
|
1603
|
+
.cl-sweep { border: 1px dashed var(--line2); border-radius: var(--r-md);
|
|
1604
|
+
padding: .8rem .95rem; margin: 1rem 0 0; }
|
|
1605
|
+
.cl-sweep h3 { margin: 0 0 .3rem; font-size: .88rem; }
|
|
1606
|
+
.cl-warn { color: var(--amber); font-size: .74rem; }
|
|
1607
|
+
.cl-doc { white-space: pre-wrap; word-break: break-all; font-size: .7rem;
|
|
1608
|
+
max-height: 14rem; overflow: auto; background: var(--panel2);
|
|
1609
|
+
border: 1px solid var(--line); border-radius: var(--r-sm); padding: .6rem; }
|
|
1610
|
+
|
|
1611
|
+
/* ---- building a cluster: the guided flow ----
|
|
1612
|
+
Four steps in one dialog; each check reads as ✓ or ✗, each step ends with the
|
|
1613
|
+
terminal command that does the same. */
|
|
1614
|
+
dialog.wiz { width: min(46rem, 94vw); }
|
|
1615
|
+
.wizsteps { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; font-size: .72rem;
|
|
1616
|
+
color: var(--dim); margin: .2rem 0 1rem; }
|
|
1617
|
+
.wizsteps span.now { color: var(--ink); font-weight: 600; } .wizsteps span.done { color: var(--green); }
|
|
1618
|
+
.wizsteps i { width: 1.4rem; height: 1px; background: var(--line2); }
|
|
1619
|
+
.chk { display: grid; grid-template-columns: 1.2rem minmax(0, 1fr); gap: .25rem .5rem; font-size: .84rem;
|
|
1620
|
+
margin: .3rem 0; align-items: baseline; }
|
|
1621
|
+
.chk .ok { color: var(--green); font-weight: 600; } .chk .no { color: var(--amber); font-weight: 600; }
|
|
1622
|
+
.chk code, .hint code { font-family: var(--mono); font-size: .8em; }
|
|
1623
|
+
.same { display: flex; align-items: center; gap: .6rem; margin: .8rem 0 0; padding: .45rem .6rem;
|
|
1624
|
+
border: 1px dashed var(--line2); border-radius: var(--r-sm); font-size: .76rem; color: var(--muted); }
|
|
1625
|
+
.same code { font-family: var(--mono); color: var(--ink); flex: 1; min-width: 0; overflow-wrap: anywhere; }
|
|
1626
|
+
.row-btns { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .8rem; }
|
|
1627
|
+
|
|
1628
|
+
/* Section 2's cluster cards: one per cluster, and what it costs. */
|
|
1629
|
+
.forks.clusterpick { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); margin: .35rem 0 .2rem; }
|
|
1630
|
+
.fork-cost.bills { color: var(--amber); }
|
|
1631
|
+
/* A command's words stay whole; a line may break only between them. */
|
|
1632
|
+
code .tok { white-space: nowrap; }
|
|
1633
|
+
.nextcard .nc code { word-break: normal; overflow-wrap: normal; }
|
|
1634
|
+
.same code { overflow-wrap: normal; }
|
|
1635
|
+
/* Runs on: the cluster, then the rest small beneath it. */
|
|
1636
|
+
.kv .v small.v-sub { display: block; margin-top: .15rem; font: 400 .72rem/1.3 var(--sans); color: var(--muted); }
|
|
1637
|
+
|
|
1638
|
+
/* =====================================================================================
|
|
1639
|
+
THE 2026-10 REDESIGN: Home, Clusters, a cluster's view, Create a workspace and Set up
|
|
1640
|
+
Amazon EKS, ported from the approved prototype (.docs/design/prototype/
|
|
1641
|
+
gui-redesign-2026-10-05). Its values are kept as it had them -- 14px text, a 1040px
|
|
1642
|
+
centred column, 28px headings -- because the owner signed off on how it FEELS, and a
|
|
1643
|
+
rem-for-px translation of every figure is how a port drifts. Tokens only: it brought
|
|
1644
|
+
no colour, radius or shadow of its own.
|
|
1645
|
+
===================================================================================== */
|
|
1646
|
+
.pv { max-width: calc(1040px + 4.8rem); margin: 0 auto; padding: 2rem 2.4rem 3rem; font-size: 14px; line-height: 1.45; }
|
|
1647
|
+
.pv.anim { animation: pv-enter var(--t-slow) var(--ease); }
|
|
1648
|
+
@keyframes pv-enter { from { opacity: 0; transform: translateY(6px); } }
|
|
1649
|
+
.pv h1 { font-size: 28px; margin: 0 0 .25rem; letter-spacing: -.02em; line-height: 1.2; }
|
|
1650
|
+
.pv .sub { color: var(--muted); margin: 0 0 1.6rem; }
|
|
1651
|
+
/* The prototype's buttons: white with a hairline, a grey step on hover; the filled one
|
|
1652
|
+
is the single action a screen wants. */
|
|
1653
|
+
.pv .btn, .wzd .btn, .actpane .ppane .btn { font-size: 14px; font-weight: 600; padding: .5rem .9rem; color: var(--ink);
|
|
1654
|
+
background: var(--panel); border: 1px solid var(--line2); display: inline-flex; align-items: center;
|
|
1655
|
+
justify-content: center; gap: .35rem; text-decoration: none; line-height: 1.25; }
|
|
1656
|
+
.pv .btn:hover, .wzd .btn:hover { background: var(--panel2); border-color: var(--line2); color: var(--ink); }
|
|
1657
|
+
.pv .btn.sm, .wzd .btn.sm { font-size: 13px; padding: .3rem .65rem; }
|
|
1658
|
+
.pv .btn.solid, .wzd .btn.solid, .actpane .ppane .btn.solid { background: var(--accent-fill); border-color: var(--accent-fill);
|
|
1659
|
+
color: var(--accent-ink); box-shadow: var(--shadow-accent); }
|
|
1660
|
+
.pv .btn.solid:hover, .wzd .btn.solid:hover, .actpane .ppane .btn.solid:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--accent-ink); }
|
|
1661
|
+
.pv .btn:disabled, .wzd .btn:disabled { box-shadow: none; }
|
|
1662
|
+
.pv .m, .wzd .m { font: 12px var(--mono); color: var(--muted); }
|
|
1663
|
+
.linkbtn { border: 0; background: none; color: var(--blue); cursor: pointer; padding: 0; font: inherit; font-weight: 600; }
|
|
1664
|
+
/* The panel header's link keeps the small size `.linkbtn` was given first: the rule above resets
|
|
1665
|
+
`font`, which made "About this scenario" render full size and bold. */
|
|
1666
|
+
.panelcard-h .linkbtn { font-size: .74rem; font-weight: 400; }
|
|
1667
|
+
.pcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg);
|
|
1668
|
+
box-shadow: var(--shadow-1), var(--edge); }
|
|
1669
|
+
.pill.ok { color: var(--green); border-color: color-mix(in srgb, var(--green) 35%, transparent);
|
|
1670
|
+
background: color-mix(in srgb, var(--green) 8%, var(--panel)); }
|
|
1671
|
+
.pill.warn { color: var(--amber); border-color: color-mix(in srgb, var(--amber) 40%, transparent);
|
|
1672
|
+
background: color-mix(in srgb, var(--amber) 8%, var(--panel)); }
|
|
1673
|
+
.pill.off { color: var(--dim); }
|
|
1674
|
+
.pv .pill, .wzd .pill { display: inline-flex; align-items: center; gap: .3rem; font: 600 11px var(--sans);
|
|
1675
|
+
letter-spacing: 0; text-transform: none; padding: .1rem .5rem; border-radius: var(--r-pill);
|
|
1676
|
+
border: 1px solid var(--line2); white-space: nowrap; }
|
|
1677
|
+
.pv .pill::before, .wzd .pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
|
|
1678
|
+
.pv .pill.off::before, .wzd .pill.off::before { background: transparent; border: 1.5px solid currentColor; }
|
|
1679
|
+
.pill.busy::before { animation: pv-pulse 1.2s var(--ease) infinite; }
|
|
1680
|
+
@keyframes pv-pulse { 50% { opacity: .25; } }
|
|
1681
|
+
|
|
1682
|
+
/* ---- Home: the dashboard ---- */
|
|
1683
|
+
.hcard.dash { padding: 1.1rem 1.25rem; margin-bottom: 1rem; overflow: visible; border-radius: var(--r-lg); }
|
|
1684
|
+
.dash > h3 { margin: 0 0 .7rem; font: 700 11px var(--sans); letter-spacing: .12em; color: var(--muted);
|
|
1685
|
+
text-transform: uppercase; display: flex; justify-content: space-between; }
|
|
1686
|
+
.dash .need { color: var(--amber); font-weight: 700; }
|
|
1687
|
+
.drow { display: flex; align-items: center; gap: .8rem; padding: .65rem 0; border-top: 1px solid var(--line); }
|
|
1688
|
+
.dash > h3 + .drow { border-top: 0; }
|
|
1689
|
+
.drow .grow { flex: 1; min-width: 0; }
|
|
1690
|
+
.drow .t { font-weight: 650; }
|
|
1691
|
+
.drow .m { font: 12px var(--mono); color: var(--muted); }
|
|
1692
|
+
.drow .why { color: var(--muted); font-size: 13px; }
|
|
1693
|
+
.drow .t-btn { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
|
|
1694
|
+
.drow .t-btn:hover .t { color: var(--blue); }
|
|
1695
|
+
.dash .ldot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none;
|
|
1696
|
+
box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 16%, transparent); }
|
|
1697
|
+
.dash .ldot.bad { background: var(--amber); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 18%, transparent); }
|
|
1698
|
+
.welcome { padding: 1.8rem 2rem; display: grid; gap: .8rem; justify-items: start;
|
|
1699
|
+
background: linear-gradient(135deg, var(--accent-soft), transparent 60%), var(--panel); }
|
|
1700
|
+
.welcome h2 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
|
|
1701
|
+
.welcome p { margin: 0; color: var(--muted); max-width: 60ch; }
|
|
1702
|
+
.welcome .small { font-size: 13px; }
|
|
1703
|
+
.dash .big { font: 700 26px var(--mono); }
|
|
1704
|
+
.dash .bar { height: 8px; border-radius: var(--r-pill); background: var(--panel2); overflow: hidden; display: flex; margin: .6rem 0 .4rem; }
|
|
1705
|
+
.dash .bar i { display: block; height: 100%; transition: width var(--t-slow) var(--ease); }
|
|
1706
|
+
|
|
1707
|
+
/* ---- Clusters: a slim "This machine" card, then Amazon EKS as the page ---- */
|
|
1708
|
+
.zone { margin-bottom: 1.8rem; }
|
|
1709
|
+
.zone-h { display: flex; align-items: baseline; gap: .6rem; margin-bottom: .25rem; flex-wrap: wrap; }
|
|
1710
|
+
.zone-h h2 { margin: 0; font-size: 16px; }
|
|
1711
|
+
.zone-h h2.small { font: 700 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
|
|
1712
|
+
.zone-h .sp { flex: 1; }
|
|
1713
|
+
.zone.eks .zone-h h2 { font-size: 21px; letter-spacing: -.01em; }
|
|
1714
|
+
.zone-p { color: var(--muted); margin: 0 0 .8rem; max-width: 78ch; font-size: 13px; }
|
|
1715
|
+
.tag { font: 600 11px var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: .1rem .45rem;
|
|
1716
|
+
border-radius: var(--r-xs); background: var(--panel2); color: var(--muted); }
|
|
1717
|
+
.tag.money { background: color-mix(in srgb, var(--violet) 10%, var(--panel)); color: var(--violet); }
|
|
1718
|
+
.mstrip { margin-bottom: 2.2rem; }
|
|
1719
|
+
.mlist { padding: .15rem 1rem; margin-top: .55rem; }
|
|
1720
|
+
.mrow { display: grid; grid-template-columns: 34px minmax(170px, 230px) 140px 1fr auto; align-items: center;
|
|
1721
|
+
gap: .9rem; padding: .55rem 0; border-top: 1px solid var(--line); }
|
|
1722
|
+
.mrow:first-child { border-top: 0; }
|
|
1723
|
+
.mrow.click { cursor: pointer; }
|
|
1724
|
+
.mrow.click:hover .mname b { color: var(--blue); }
|
|
1725
|
+
.mrow .mname { min-width: 0; }
|
|
1726
|
+
.wh { font-size: 12.5px; color: var(--muted); }
|
|
1727
|
+
.ico { width: 34px; height: 34px; border-radius: var(--r-sm); display: grid; place-items: center;
|
|
1728
|
+
background: var(--panel2); flex: none; color: var(--ink); }
|
|
1729
|
+
.ph { display: flex; align-items: center; gap: .55rem; }
|
|
1730
|
+
.places { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .9rem; }
|
|
1731
|
+
.places.eks { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
|
|
1732
|
+
.place { position: relative; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .45rem; text-align: left;
|
|
1733
|
+
font: inherit; color: inherit;
|
|
1734
|
+
transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease); }
|
|
1735
|
+
.place.click { cursor: pointer; }
|
|
1736
|
+
.place.click:hover { border-color: var(--line2); transform: translateY(-1px); box-shadow: var(--shadow-2); }
|
|
1737
|
+
.place .nm { font-weight: 750; font-size: 15px; line-height: 1.2; }
|
|
1738
|
+
.place .ds { color: var(--muted); font-size: 13px; margin: 0; }
|
|
1739
|
+
.place .facts { font-size: 13px; display: flex; flex-wrap: wrap; gap: .2rem .8rem; }
|
|
1740
|
+
.place .cost { font: 700 18px var(--mono); }
|
|
1741
|
+
.place .cost small { font: 500 12px var(--sans); color: var(--muted); }
|
|
1742
|
+
.place .warnline { font-size: 12.5px; color: var(--amber); background: color-mix(in srgb, var(--amber) 9%, var(--panel));
|
|
1743
|
+
border-radius: var(--r-xs); padding: .35rem .5rem; }
|
|
1744
|
+
.place .acts { margin-top: auto; padding-top: .4rem; display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
|
|
1745
|
+
.place.add { border-style: dashed; background: transparent; box-shadow: none; justify-content: center; align-items: flex-start; min-height: 160px; }
|
|
1746
|
+
.place.add .nm { color: var(--blue); }
|
|
1747
|
+
.place.muted { background: transparent; box-shadow: none; border-style: dashed; }
|
|
1748
|
+
.pv .progress, .wzd .progress { height: 6px; border-radius: var(--r-pill); background: var(--panel2); overflow: hidden; }
|
|
1749
|
+
.pv .progress i, .wzd .progress i { display: block; height: 100%; background: var(--blue); border-radius: inherit; }
|
|
1750
|
+
.ident { display: block; line-height: 1.7; font-size: 13px; color: var(--muted); margin-top: .9rem; }
|
|
1751
|
+
.ident b { color: var(--ink); }
|
|
1752
|
+
.ident.top { margin: 0 0 1rem; padding: .55rem .8rem; border-radius: var(--r-md); background: var(--panel2); }
|
|
1753
|
+
.ident.bad { color: var(--amber); }
|
|
1754
|
+
.ident.bad b { color: var(--amber); }
|
|
1755
|
+
.ident.top.bad { background: color-mix(in srgb, var(--amber) 9%, var(--panel)); }
|
|
1756
|
+
.skel { display: block; background: linear-gradient(90deg, var(--panel2), var(--line), var(--panel2)); background-size: 200% 100%;
|
|
1757
|
+
animation: pv-shimmer 1.2s linear infinite; border-radius: var(--r-xs); height: 14px; }
|
|
1758
|
+
@keyframes pv-shimmer { to { background-position: -200% 0; } }
|
|
1759
|
+
.hero { padding: 1.4rem 1.5rem; background: linear-gradient(135deg, color-mix(in srgb, var(--violet) 8%, transparent), transparent 55%), var(--panel); }
|
|
1760
|
+
.hero .nm { font-weight: 750; font-size: 17px; }
|
|
1761
|
+
.hsteps { list-style: none; padding: 0; margin: 1.1rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
|
|
1762
|
+
.hsteps li { border: 1px solid var(--line); border-radius: var(--r-md); padding: .8rem .9rem; display: grid; gap: .3rem;
|
|
1763
|
+
align-content: start; background: var(--panel); }
|
|
1764
|
+
.hsteps i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
|
|
1765
|
+
background: var(--accent-soft); color: var(--blue); font-weight: 800; font-size: 12px; }
|
|
1766
|
+
.hsteps span { color: var(--muted); font-size: 13px; }
|
|
1767
|
+
.hero-f { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
|
|
1768
|
+
.zerr { padding: .7rem .9rem; border-radius: var(--r-md); font-size: 13px; color: var(--amber);
|
|
1769
|
+
background: color-mix(in srgb, var(--amber) 9%, var(--panel)); display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
|
|
1770
|
+
|
|
1771
|
+
/* ---- a cluster's own view ---- */
|
|
1772
|
+
.crumb { color: var(--muted); font-size: 13px; margin-bottom: .6rem; }
|
|
1773
|
+
.dhead { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
|
|
1774
|
+
.dhead h1 { margin: 0; }
|
|
1775
|
+
.dhead .ico { width: 40px; height: 40px; }
|
|
1776
|
+
.dhead .dcost { margin-left: auto; font: 700 20px var(--mono); }
|
|
1777
|
+
.dhead .dcost small { font: 500 12px var(--sans); color: var(--muted); }
|
|
1778
|
+
.pkv { display: grid; grid-template-columns: 160px 1fr; }
|
|
1779
|
+
.pkv > div { padding: .6rem 0; border-top: 1px solid var(--line); min-width: 0; }
|
|
1780
|
+
.pkv > div:nth-child(-n+2) { border-top: 0; }
|
|
1781
|
+
.pkv .k { font: 700 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .75rem; }
|
|
1782
|
+
.pkv .m { font: 12px var(--mono); color: var(--muted); }
|
|
1783
|
+
.ok-t { color: var(--green); font-weight: 650; }
|
|
1784
|
+
.no-t { color: var(--amber); font-weight: 650; }
|
|
1785
|
+
.pv .callout, .wzd .callout { border-radius: var(--r-md); padding: .75rem .9rem; font-size: 13.5px; margin: .9rem 0 0;
|
|
1786
|
+
border: 1px solid var(--line); background: var(--panel2); }
|
|
1787
|
+
.callout.money { border-color: color-mix(in srgb, var(--amber) 40%, transparent); background: color-mix(in srgb, var(--amber) 8%, var(--panel)); }
|
|
1788
|
+
.callout.info { border-color: color-mix(in srgb, var(--blue) 30%, transparent); background: var(--accent-soft); }
|
|
1789
|
+
.actpane .ppane { display: flex; flex-direction: column; gap: .5rem; padding: 1.2rem 1rem; font-size: 14px; }
|
|
1790
|
+
.ppane h4 { margin: .2rem 0 .2rem; font: 700 11px var(--sans); letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
|
|
1791
|
+
.ppane .btn.solid { width: 100%; justify-content: center; font-size: 14px; font-weight: 600; padding: .5rem .9rem; }
|
|
1792
|
+
.ppane .plink { border: 0; background: none; text-align: left; padding: .4rem .3rem; border-radius: var(--r-xs);
|
|
1793
|
+
cursor: pointer; color: var(--ink); font: inherit; }
|
|
1794
|
+
.ppane .plink:hover { background: var(--panel2); }
|
|
1795
|
+
.ppane .plink.danger { color: var(--red); }
|
|
1796
|
+
.ppane hr { border: 0; border-top: 1px solid var(--line); margin: .5rem 0; width: 100%; }
|
|
1797
|
+
.ppane .note { font-size: 12px; color: var(--muted); margin: .2rem .3rem; }
|
|
1798
|
+
|
|
1799
|
+
/* ---- the two wizards: Create a workspace, Set up Amazon EKS ---- */
|
|
1800
|
+
dialog.wzd { width: min(860px, calc(100vw - 3rem)); max-height: min(860px, calc(100vh - 3rem)); padding: 0;
|
|
1801
|
+
overflow: hidden; border-radius: var(--r-xl); font-size: 14px; line-height: 1.45; }
|
|
1802
|
+
dialog.wzd.narrow { width: min(720px, calc(100vw - 3rem)); }
|
|
1803
|
+
dialog.wzd[open] { display: flex; flex-direction: column; animation: wzd-pop var(--t-slow) var(--ease); }
|
|
1804
|
+
@keyframes wzd-pop { from { opacity: 0; transform: translateY(10px) scale(.985); } }
|
|
1805
|
+
dialog.wzd > form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
|
|
1806
|
+
.wzd-h { padding: 1.2rem 1.5rem .9rem; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; gap: 1rem; }
|
|
1807
|
+
.wzd-h h2 { margin: 0; font-size: 19px; }
|
|
1808
|
+
.wzd-x { margin-left: auto; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--muted); line-height: 1; }
|
|
1809
|
+
.wzd-steps { display: flex; gap: .4rem; align-items: center; margin-top: .45rem; font-size: 12.5px; color: var(--dim); flex-wrap: wrap; }
|
|
1810
|
+
.wzd-steps span { display: inline-flex; gap: .35rem; align-items: center; }
|
|
1811
|
+
.wzd-steps span i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
|
|
1812
|
+
border: 1.5px solid var(--line2); font-size: 11px; font-weight: 700; }
|
|
1813
|
+
.wzd-steps span.on { color: var(--ink); font-weight: 650; }
|
|
1814
|
+
.wzd-steps span.on i { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
|
|
1815
|
+
.wzd-steps span.done { color: var(--green); }
|
|
1816
|
+
.wzd-steps span.done i { border-color: var(--green); color: var(--green); }
|
|
1817
|
+
.wzd-steps .ln { width: 22px; height: 1.5px; background: var(--line2); }
|
|
1818
|
+
.wzd-b { padding: 1.3rem 1.5rem; overflow: auto; flex: 1; min-height: 0; }
|
|
1819
|
+
.wzd-step.anim { animation: wzd-slide var(--t-slow) var(--ease); }
|
|
1820
|
+
.wzd-step.anim.back { animation-name: wzd-slideback; }
|
|
1821
|
+
@keyframes wzd-slide { from { opacity: 0; transform: translateX(14px); } }
|
|
1822
|
+
@keyframes wzd-slideback { from { opacity: 0; transform: translateX(-14px); } }
|
|
1823
|
+
.wzd-f { padding: .9rem 1.5rem; border-top: 1px solid var(--line); display: flex; gap: .6rem; align-items: center;
|
|
1824
|
+
background: var(--panel); margin: 0; }
|
|
1825
|
+
.wzd .wzd-f .wzd-hint { color: var(--muted); font-size: 12.5px; margin: 0 auto 0 0; }
|
|
1826
|
+
.wzd .wzd-f #create-back + .wzd-hint, .wzd .wzd-f .btn + .wzd-hint { margin-left: .4rem; }
|
|
1827
|
+
.wzd-q { font-size: 17px; font-weight: 700; margin: 0 0 1rem; color: var(--ink); }
|
|
1828
|
+
.wzd-q:focus { outline: none; }
|
|
1829
|
+
.wzd .places { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: .5rem 0 1.3rem; }
|
|
1830
|
+
.wzd .zone-h h2 { font-size: 14px; }
|
|
1831
|
+
.wzd label.place { display: flex; margin: 0; font-size: inherit; color: inherit; cursor: pointer; }
|
|
1832
|
+
.wzd label.place input { position: absolute; opacity: 0; pointer-events: none; width: auto; margin: 0; }
|
|
1833
|
+
.wzd label.place:hover { border-color: var(--line2); }
|
|
1834
|
+
.wzd label.place:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring);
|
|
1835
|
+
background: color-mix(in srgb, var(--accent) 5%, var(--panel)); }
|
|
1836
|
+
.wzd label.place:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
1837
|
+
.wzd label.place:has(input:disabled) { cursor: not-allowed; opacity: .6; box-shadow: none; }
|
|
1838
|
+
.wzd label.place .radio { position: absolute; top: .9rem; right: .9rem; width: 18px; height: 18px; border-radius: 50%;
|
|
1839
|
+
border: 2px solid var(--line2); }
|
|
1840
|
+
.wzd label.place:has(input:checked) .radio { border-color: var(--accent); background: radial-gradient(var(--accent) 45%, transparent 50%); }
|
|
1841
|
+
.wzd button.place.add { min-height: 0; }
|
|
1842
|
+
.wzd-summary { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: var(--r-md);
|
|
1843
|
+
background: var(--panel2); margin-bottom: 1.1rem; font-size: 13.5px; }
|
|
1844
|
+
.wzd-summary .sp { flex: 1; }
|
|
1845
|
+
.fsec { display: grid; grid-template-columns: 150px 1fr; gap: .9rem; padding: 1rem 0; border-top: 1px solid var(--line); }
|
|
1846
|
+
.wzd-summary + .fsec { border-top: 0; padding-top: .2rem; }
|
|
1847
|
+
.fsec-l { font: 700 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .55rem; }
|
|
1848
|
+
.fsec-f { display: grid; gap: .7rem; min-width: 0; }
|
|
1849
|
+
.wzd .two { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
|
|
1850
|
+
.wzd .two.https-acme[hidden] { display: none; }
|
|
1851
|
+
.wzd label.f, .wzd .f { display: block; margin: 0; font-size: 12.5px; color: var(--muted); font-weight: 600; }
|
|
1852
|
+
.wzd .f .opt, .wzd .checks .opt { font-weight: 400; color: var(--muted); }
|
|
1853
|
+
.wzd form input:not([type=checkbox]):not([type=radio]), .wzd form select {
|
|
1854
|
+
margin-top: .3rem; padding: .5rem .65rem; border: 1px solid var(--line2); border-radius: var(--r-sm);
|
|
1855
|
+
background: var(--panel2); font-size: 14px; font-weight: 400; color: var(--ink); width: 100%; }
|
|
1856
|
+
.wzd form input:focus, .wzd form select:focus { outline: 2px solid var(--accent-ring); outline-offset: 1px; background: var(--panel); }
|
|
1857
|
+
.wzd select#preset-select { margin-top: 0; }
|
|
1858
|
+
.wzd .hint { font-size: 12px; color: var(--muted); margin: .3rem 0 0; }
|
|
1859
|
+
.wzd .checks { display: flex; gap: .5rem 1.2rem; flex-wrap: wrap; align-items: center; }
|
|
1860
|
+
.wzd .checks > label:not(.f) { display: flex; gap: .45rem; align-items: center; margin: 0; font-size: 14px; color: var(--ink); }
|
|
1861
|
+
.wzd .checks-inline { display: contents; }
|
|
1862
|
+
.wzd .checks-inline label { display: flex; gap: .45rem; align-items: center; margin: 0; font-size: 14px; color: var(--ink); }
|
|
1863
|
+
.wzd .seg { margin-top: 0; }
|
|
1864
|
+
.wzd .seg button { padding: .4rem .8rem; font-size: 14px; }
|
|
1865
|
+
.wzd details.adv { border-top: 1px solid var(--line); padding-top: .9rem; margin-top: 0; }
|
|
1866
|
+
.wzd details.adv summary { cursor: pointer; color: var(--muted); font-weight: 600; font-size: 14px; }
|
|
1867
|
+
.wzd .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: .9rem 0 .8rem; }
|
|
1868
|
+
.wzd .grid3 .span2 { grid-column: span 2; }
|
|
1869
|
+
.wzd .banner { margin: 0 0 1rem; }
|
|
1870
|
+
.wzd .choice { display: flex; gap: .6rem; align-items: flex-start; padding: .7rem .8rem; border: 1px solid var(--line);
|
|
1871
|
+
border-radius: var(--r-md); cursor: pointer; margin: 0 0 .5rem; font-size: 14px; color: var(--ink); font-weight: 400; }
|
|
1872
|
+
.wzd .choice input { width: auto; margin: .2rem 0 0; }
|
|
1873
|
+
.wzd .choice:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 5%, var(--panel)); }
|
|
1874
|
+
.wzd .choice b { display: block; }
|
|
1875
|
+
.wzd .choice span { color: var(--muted); font-size: 13px; }
|
|
1876
|
+
.wzd .cmd { display: flex; gap: .5rem; align-items: flex-start; background: var(--panel2); border: 1px solid var(--line);
|
|
1877
|
+
border-radius: var(--r-sm); padding: .55rem .7rem; font: 12.5px/1.6 var(--mono); margin-top: .4rem; }
|
|
1878
|
+
.wzd .cmd pre { margin: 0; flex: 1; white-space: pre-wrap; word-break: break-all; }
|
|
1879
|
+
.checklist { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
|
|
1880
|
+
.checklist li { display: flex; gap: .6rem; align-items: flex-start; }
|
|
1881
|
+
.checklist .s { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px;
|
|
1882
|
+
font-weight: 800; flex: none; margin-top: 1px; }
|
|
1883
|
+
.checklist .s.y { background: color-mix(in srgb, var(--green) 14%, var(--panel)); color: var(--green); }
|
|
1884
|
+
.checklist .s.n { background: color-mix(in srgb, var(--amber) 16%, var(--panel)); color: var(--amber); }
|
|
1885
|
+
.checklist .s.x { background: color-mix(in srgb, var(--red) 14%, var(--panel)); color: var(--red); }
|
|
1886
|
+
.checklist .s.w { background: var(--panel2); color: var(--dim); }
|
|
1887
|
+
.checklist .s.run { background: var(--accent-soft); color: var(--blue); animation: pv-pulse 1s infinite; }
|
|
1888
|
+
.checklist .warn { color: var(--amber); }
|
|
1889
|
+
.checklist .error { color: var(--red); }
|
|
1890
|
+
.wzd .ways { display: grid; gap: .7rem; }
|
|
1891
|
+
.wzd .way { border: 1px solid var(--line); border-radius: var(--r-md); padding: .8rem .9rem; }
|
|
1892
|
+
.wzd .way h4 { margin: 0 0 .2rem; font-size: 14px; display: flex; gap: .5rem; align-items: center; }
|
|
1893
|
+
.wzd .way p { margin: 0; color: var(--muted); font-size: 13px; }
|
|
1894
|
+
.wzd .way summary { cursor: pointer; font-weight: 650; }
|
|
1895
|
+
.wzd .found { border: 1px solid var(--line); border-radius: var(--r-md); margin-top: .7rem; }
|
|
1896
|
+
.wzd .found .drow { padding: .6rem .8rem; }
|
|
1897
|
+
.wzd .found .drow:first-child { border-top: 0; }
|
|
1898
|
+
.wzd .result-kv { display: grid; grid-template-columns: 110px 1fr; gap: .3rem .8rem; font-size: 13.5px; margin-top: .4rem; }
|
|
1899
|
+
.wzd .result-kv b { color: var(--muted); font-weight: 600; }
|
|
1900
|
+
|
|
1901
|
+
@media (max-width: 760px) {
|
|
1902
|
+
.pv { padding: 1.3rem 1rem 2rem; }
|
|
1903
|
+
.pv h1 { font-size: 23px; }
|
|
1904
|
+
.places, .wzd .places, .places.eks, .hsteps { grid-template-columns: 1fr; }
|
|
1905
|
+
.mrow { grid-template-columns: 34px 1fr auto; row-gap: .25rem; }
|
|
1906
|
+
.mrow > :nth-child(3) { grid-column: 2; grid-row: 2; }
|
|
1907
|
+
.mrow .mnote { grid-column: 2 / -1; grid-row: 3; }
|
|
1908
|
+
.mrow .mact { grid-column: 3; grid-row: 1 / span 2; }
|
|
1909
|
+
.pkv { grid-template-columns: 1fr; }
|
|
1910
|
+
.pkv > div:nth-child(-n+2) { border-top: 1px solid var(--line); }
|
|
1911
|
+
.pkv > div:first-child { border-top: 0; }
|
|
1912
|
+
.pkv .k { padding-bottom: 0; }
|
|
1913
|
+
.pkv > div:not(.k) { border-top: 0; padding-top: .2rem; }
|
|
1914
|
+
dialog.wzd, dialog.wzd.narrow { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; }
|
|
1915
|
+
.fsec { grid-template-columns: 1fr; gap: .4rem; }
|
|
1916
|
+
.wzd .two, .wzd .grid3 { grid-template-columns: 1fr; }
|
|
1917
|
+
.wzd .grid3 .span2 { grid-column: auto; }
|
|
1918
|
+
.wzd .wzd-f .wzd-hint { display: none; }
|
|
1919
|
+
.wzd-f .btn { flex: 1; justify-content: center; }
|
|
1920
|
+
}
|
|
1921
|
+
/* ---- Create a workspace: presets, their settings, the license (options.js) ---- */
|
|
1922
|
+
.span-all { grid-column: 1 / -1; }
|
|
1923
|
+
/* A fact about a thing, not a state: no dot, no colour. "CI build", "Licensed". */
|
|
1924
|
+
.pill.plain { color: var(--muted); border: 1px solid var(--line2); background: var(--panel2);
|
|
1925
|
+
font: 600 11px var(--sans); padding: .1rem .5rem; letter-spacing: 0; }
|
|
1926
|
+
.pill.plain::before { content: none; }
|
|
1927
|
+
.wzd label.f > .pill.plain { margin-left: .35rem; vertical-align: 1px; }
|
|
1928
|
+
.d-sub .pill.plain { align-self: center; }
|
|
1929
|
+
.wzd .hint code { font: 11.5px var(--mono); color: var(--ink); display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
|
|
1930
|
+
.wzd .hint a { color: var(--blue); font-weight: 600; text-decoration: none; }
|
|
1931
|
+
.wzd .hint a:hover { text-decoration: underline; }
|
|
1932
|
+
.wzd .hint .looking { color: var(--dim); animation: pv-pulse 1.2s var(--ease) infinite; }
|
|
1933
|
+
.wzd form textarea { margin-top: .3rem; background: var(--panel2); border-radius: var(--r-sm);
|
|
1934
|
+
font-size: 12.5px; line-height: 1.5; overflow-wrap: anywhere; }
|
|
1935
|
+
.wzd form textarea:focus { background: var(--panel); }
|
|
1936
|
+
.wzd form label.linkbtn { display: inline; margin: 0; font-size: inherit; color: var(--blue); font-weight: 600; }
|
|
1937
|
+
.lic { border-top: 1px dashed var(--line); padding-top: .75rem; }
|
|
1938
|
+
.lic-h { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; min-height: 1.6rem; }
|
|
1939
|
+
.lic-h .f { font-size: 12.5px; font-weight: 600; color: var(--muted); }
|
|
1940
|
+
.lic-h .sp, .lic-sum .sp { flex: 1; }
|
|
1941
|
+
.lic .linkbtn { font-size: 13px; }
|
|
1942
|
+
.lic-b { margin-top: .35rem; }
|
|
1943
|
+
.lic-b > label.f { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
|
|
1944
|
+
.lic-sum { display: flex; align-items: center; gap: .4rem .8rem; flex-wrap: wrap; margin-top: .4rem;
|
|
1945
|
+
padding: .5rem .75rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--panel2); font-size: 13px; }
|
|
1946
|
+
.lic-sum code { font: 600 12.5px var(--mono); }
|
|
1947
|
+
.plist { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--panel); }
|
|
1948
|
+
.wzd .plist label.prow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .2rem .7rem;
|
|
1949
|
+
align-items: start; margin: 0; padding: .55rem .8rem; border-top: 1px solid var(--line);
|
|
1950
|
+
cursor: pointer; font-size: 13.5px; font-weight: 400; color: var(--ink); }
|
|
1951
|
+
.plist .prow:first-child { border-top: 0; }
|
|
1952
|
+
.plist .prow:hover { background: var(--panel2); }
|
|
1953
|
+
.plist .prow:has(input:checked) { background: var(--accent-soft); }
|
|
1954
|
+
.wzd form .plist input[type=checkbox] { width: auto; margin: .2rem 0 0; }
|
|
1955
|
+
.prow-t { display: grid; grid-template-columns: 8.2rem minmax(0, 1fr); gap: .1rem .8rem; align-items: baseline; min-width: 0; }
|
|
1956
|
+
.prow-n { font: 600 13px var(--mono); }
|
|
1957
|
+
.prow-d { color: var(--muted); font-size: 13px; }
|
|
1958
|
+
.prow-why { font-size: 12px; color: var(--muted); align-self: center; white-space: nowrap; }
|
|
1959
|
+
.wzd .plist label.prow.off { cursor: not-allowed; }
|
|
1960
|
+
.plist .prow.off .prow-t { opacity: .5; }
|
|
1961
|
+
.plist .prow.off:hover { background: none; }
|
|
1962
|
+
.wzd #pnone { margin: .4rem 0 0; }
|
|
1963
|
+
.wzd .fsec-f > #pcombo, .wzd .fsec-f > #v9 { margin: .6rem 0 0; }
|
|
1964
|
+
.pcombo { font-size: 13px; color: var(--muted); }
|
|
1965
|
+
.pcombo b { font: 600 12.5px var(--mono); color: var(--ink); }
|
|
1966
|
+
.pcombo p { margin: .3rem 0 0; color: var(--ink); line-height: 1.55; }
|
|
1967
|
+
.banner .linkbtn { font-size: inherit; }
|
|
1968
|
+
.ppanels { display: grid; gap: .6rem; margin-top: .6rem; }
|
|
1969
|
+
.ppanels:empty { display: none; }
|
|
1970
|
+
.ppanel { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); }
|
|
1971
|
+
.ppanel-h { display: flex; align-items: baseline; gap: .6rem; padding: .5rem .8rem;
|
|
1972
|
+
border-bottom: 1px solid var(--line); font: 600 13px var(--mono); }
|
|
1973
|
+
.prm { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: .7rem .9rem; padding: .75rem .8rem .85rem; }
|
|
1974
|
+
.prm > .k { font-size: 12.5px; font-weight: 600; color: var(--muted); padding-top: .4rem; overflow-wrap: anywhere; }
|
|
1975
|
+
.prm > .k code { font: 600 12.5px var(--mono); color: var(--ink); }
|
|
1976
|
+
.prm > .v { min-width: 0; display: grid; gap: .4rem; justify-items: start; }
|
|
1977
|
+
.wzd form .prm input.num { width: 6.5rem; margin-top: 0; }
|
|
1978
|
+
.wzd form .prm input.txt { width: min(16rem, 100%); margin-top: 0; }
|
|
1979
|
+
.wzd .prm .seg { flex-wrap: wrap; max-width: 100%; }
|
|
1980
|
+
.wzd .prm .seg button { font-size: 13px; padding: .34rem .75rem; }
|
|
1981
|
+
.prm .seg button:disabled { cursor: not-allowed; }
|
|
1982
|
+
.prm .seg.off { opacity: .55; }
|
|
1983
|
+
.wzd .prm .hint { margin: 0; }
|
|
1984
|
+
.wzd form .prm label.ck { display: flex; gap: .45rem; align-items: flex-start; margin: 0;
|
|
1985
|
+
font-size: 13.5px; font-weight: 400; color: var(--ink); }
|
|
1986
|
+
.wzd form .prm label.ck input { width: auto; margin: .2rem 0 0; }
|
|
1987
|
+
.prm label.ck .opt { color: var(--muted); }
|
|
1988
|
+
.pchips { display: inline-flex; align-items: baseline; gap: .3rem; color: var(--dim); }
|
|
1989
|
+
.pchip { font: 600 11.5px var(--mono); color: var(--ink); padding: .05rem .4rem;
|
|
1990
|
+
border: 1px solid var(--line2); border-radius: var(--r-xs); background: var(--panel); }
|
|
1991
|
+
@media (max-width: 760px) {
|
|
1992
|
+
.wzd .plist label.prow { grid-template-columns: auto minmax(0, 1fr); }
|
|
1993
|
+
.prow-t { grid-template-columns: minmax(0, 1fr); }
|
|
1994
|
+
.prow-why { grid-column: 2; white-space: normal; }
|
|
1995
|
+
.prm { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
|
|
1996
|
+
.prm > .k { padding-top: .55rem; }
|
|
1997
|
+
.prm > .k:first-child { padding-top: 0; }
|
|
1998
|
+
.lic-h .sp { display: none; }
|
|
1999
|
+
}
|
|
2000
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2001
|
+
.pv.anim, dialog.wzd[open], .wzd-step.anim, .pill.busy::before, .checklist .s.run, .skel,
|
|
2002
|
+
.wzd .hint .looking { animation: none; }
|
|
2003
|
+
}
|