Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

Put spacing, radii and controls on one geometry scale

Juan Denis5e6c49c1b682
diff --git a/frontend/package.json b/frontend/package.json
index 01bed4ac..8d13defe 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -9,7 +9,7 @@
"test": "node --test",
"test:browser": "node scripts/settings-browser.mjs",
"test:settings-ui": "node scripts/settings-ui-browser.mjs",
- "lint": "node scripts/lint.mjs && node scripts/check-font-integrity.mjs && node scripts/check-settings-index.mjs && node scripts/check-theme-tokens.mjs && node scripts/check-frontend-boundaries.mjs && node scripts/check-style-ownership.mjs && node scripts/check-status-one-door.mjs && node scripts/check-shared-fields.mjs && node scripts/check-type-scale.mjs && node scripts/check-status-scss.mjs && node scripts/check-i18n-literals.mjs && node scripts/check-intl-door.mjs && node scripts/extract-i18n.mjs --check && node scripts/check-i18n.mjs && node scripts/check-logical-properties.mjs && node scripts/generate-vendor-shims.mjs --check && node ../scripts/check-html-sinks.mjs",
+ "lint": "node scripts/lint.mjs && node scripts/check-font-integrity.mjs && node scripts/check-settings-index.mjs && node scripts/check-theme-tokens.mjs && node scripts/check-frontend-boundaries.mjs && node scripts/check-style-ownership.mjs && node scripts/check-status-one-door.mjs && node scripts/check-shared-fields.mjs && node scripts/check-type-scale.mjs && node scripts/check-geometry.mjs && node scripts/check-status-scss.mjs && node scripts/check-i18n-literals.mjs && node scripts/check-intl-door.mjs && node scripts/extract-i18n.mjs --check && node scripts/check-i18n.mjs && node scripts/check-logical-properties.mjs && node scripts/generate-vendor-shims.mjs --check && node ../scripts/check-html-sinks.mjs",
"lint:baseline": "node scripts/lint.mjs --update",
"test:controls": "node scripts/controls-browser.mjs",
"test:metrics": "node scripts/metrics-browser.mjs",
@@ -21,6 +21,7 @@
"lint:status": "node scripts/check-status-one-door.mjs",
"lint:shared-fields": "node scripts/check-shared-fields.mjs",
"lint:type-scale": "node scripts/check-type-scale.mjs",
+ "lint:geometry": "node scripts/check-geometry.mjs",
"lint:i18n": "node scripts/check-i18n-literals.mjs",
"lint:intl": "node scripts/check-intl-door.mjs",
"lint:locales": "node scripts/check-i18n.mjs",
diff --git a/frontend/scripts/GEOMETRY_CEILING.json b/frontend/scripts/GEOMETRY_CEILING.json
new file mode 100644
index 00000000..5a5d3935
--- /dev/null
+++ b/frontend/scripts/GEOMETRY_CEILING.json
@@ -0,0 +1,6 @@
+{
+ "spacing": 1,
+ "radius": 0,
+ "shadow": 63,
+ "height": 223
+}
diff --git a/frontend/scripts/check-geometry.mjs b/frontend/scripts/check-geometry.mjs
new file mode 100644
index 00000000..85c20f3a
--- /dev/null
+++ b/frontend/scripts/check-geometry.mjs
@@ -0,0 +1,77 @@
+#!/usr/bin/env node
+// One geometry system: spacing on the $space-* scale, four theme-driven
+// radii, three control heights, two shadows and a focus ring. Tokens live in
+// src/styles/_variables.scss. Legacy token names are rejected outright; raw
+// values are ratcheted (the ceilings below only go down) while the
+// remaining files move over.
+//
+// Allowed raw: 0, 1px, auto, %, em, negatives, calc(), and lines marked
+// `// geometry: <reason>` (an icon drawn with box-shadow, a fixed chart box).
+
+import { readFileSync, readdirSync, statSync, writeFileSync } from 'node:fs';
+import { join, relative, sep } from 'node:path';
+
+const STYLES = new URL('../src/styles', import.meta.url).pathname.replace(/^\/([A-Za-z]:)/, '$1');
+const CEILING_FILE = new URL('./GEOMETRY_CEILING.json', import.meta.url).pathname.replace(/^\/([A-Za-z]:)/, '$1');
+const SKIP = new Set(['_variables.scss', '_fonts.scss', '_theme-variables.scss']);
+
+const RAW_PX = /(?<![\w$.#-])([2-9]|\d{2,})(\.\d+)?px\b/;
+const CHECKS = {
+ spacing: /^\s*(padding|margin|gap|row-gap|column-gap)(-[a-z-]+)?\s*:/,
+ radius: /^\s*border(-[a-z]+)*-radius\s*:/,
+ shadow: /^\s*box-shadow\s*:/,
+ height: /^\s*(height|min-height)\s*:/,
+};
+const LEGACY = /\$(radius-(sm|md|lg|xl|2xl)|shadow-(sm|md|lg|accent))\b/;
+
+function* walk(dir) {
+ for (const name of readdirSync(dir)) {
+ const p = join(dir, name);
+ if (statSync(p).isDirectory()) yield* walk(p);
+ else if (name.endsWith('.scss') && !SKIP.has(name)) yield p;
+ }
+}
+
+const counts = { spacing: 0, radius: 0, shadow: 0, height: 0 };
+const problems = [];
+for (const file of walk(STYLES)) {
+ const rel = relative(STYLES, file).split(sep).join('/');
+ readFileSync(file, 'utf8').split(/\r?\n/).forEach((line, i) => {
+ if (line.includes('// geometry:')) return;
+ const code = line.replace(/\/\/.*$/, '');
+ if (LEGACY.test(code)) problems.push(` - ${rel}:${i + 1}: legacy geometry token — use $radius-badge|control|card|overlay / $shadow-raised|overlay`);
+ const value = code.split(':').slice(1).join(':');
+ if (!value || value.includes('calc(')) return;
+ for (const [kind, re] of Object.entries(CHECKS)) {
+ if (!re.test(code)) continue;
+ if (kind === 'shadow') {
+ if (!/^\s*(none|\$[a-z-]+|var\(--[a-z-]+\))\s*(!important)?\s*;?\s*$/.test(value)) counts.shadow += 1;
+ } else if (kind === 'height') {
+ const m = value.match(/(\d+)px/);
+ if (m && +m[1] >= 20 && +m[1] <= 48) counts.height += 1; // control-range only
+ } else if (value.split(/\s+/).some((v) => !v.startsWith('-') && RAW_PX.test(v))) {
+ counts[kind] += 1;
+ }
+ }
+ });
+}
+
+let ceiling = {};
+try { ceiling = JSON.parse(readFileSync(CEILING_FILE, 'utf8')); } catch { /* first run */ }
+if (process.argv.includes('--update')) {
+ writeFileSync(CEILING_FILE, JSON.stringify(counts, null, 4) + '\n');
+ console.log('geometry ceilings updated:', counts);
+ process.exit(0);
+}
+for (const [kind, n] of Object.entries(counts)) {
+ if (ceiling[kind] === undefined) continue;
+ if (n > ceiling[kind]) problems.push(` - raw ${kind} values: ${n}, ceiling ${ceiling[kind]} — use the tokens in _variables.scss`);
+ else if (n < ceiling[kind]) console.log(`note: raw ${kind} dropped to ${n}; run with --update to lower the ceiling.`);
+}
+
+if (problems.length) {
+ console.error('Geometry check failed:\n');
+ console.error(problems.join('\n'));
+ process.exit(1);
+}
+console.log(`✓ geometry: no legacy tokens; raw values within ceilings (${Object.entries(counts).map(([k, v]) => `${k} ${v}`).join(', ')}).`);
diff --git a/frontend/src/data/themes/default.json b/frontend/src/data/themes/default.json
index e534983d..2306b4d8 100644
--- a/frontend/src/data/themes/default.json
+++ b/frontend/src/data/themes/default.json
@@ -32,9 +32,9 @@
"--cyan-bg": "rgba(73,199,240,0.12)",
"--violet": "#b07bf5",
"--violet-bg": "rgba(176,123,245,0.12)",
- "--radius": "10px",
- "--radius-sm": "7px",
- "--radius-lg": "14px",
+ "--radius": "8px",
+ "--radius-sm": "6px",
+ "--radius-lg": "12px",
"--scrollbar-track": "#101218",
"--scrollbar-thumb": "#2a2f3a",
"--scrollbar-thumb-hover": "#363c49",
@@ -66,9 +66,9 @@
"--cyan-bg": "rgba(73,199,240,0.12)",
"--violet": "#b07bf5",
"--violet-bg": "rgba(176,123,245,0.12)",
- "--radius": "10px",
- "--radius-sm": "7px",
- "--radius-lg": "14px",
+ "--radius": "8px",
+ "--radius-sm": "6px",
+ "--radius-lg": "12px",
"--scrollbar-track": "#f1f3f9",
"--scrollbar-thumb": "#cdd3e0",
"--scrollbar-thumb-hover": "#aab2c2",
diff --git a/frontend/src/styles/_mixins.scss b/frontend/src/styles/_mixins.scss
index c15b863f..b691a501 100644
--- a/frontend/src/styles/_mixins.scss
+++ b/frontend/src/styles/_mixins.scss
@@ -73,7 +73,7 @@
@mixin card-base() {
background-color: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
@include transition(border-color);
&:hover {
@@ -98,7 +98,7 @@
padding: $space-3 $space-4;
background: $bg-body;
border: 1px solid $border-default;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
color: $text-primary;
font-size: $text-base;
@include transition(border-color);
@@ -121,7 +121,7 @@
align-items: center;
gap: $space-2;
padding: $space-2 $space-5;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
border: 1px solid transparent;
font-size: $text-sm;
font-weight: $font-weight-medium;
@@ -141,7 +141,7 @@
@mixin icon-box($size: 40px) {
width: $size;
height: $size;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
@include flex-center();
flex-shrink: 0;
}
@@ -191,7 +191,7 @@
&::-webkit-scrollbar-thumb {
background: $border-active;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
&:hover {
background: $text-tertiary;
@@ -220,7 +220,7 @@
@mixin code-block() {
background: $bg-body;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-4;
@include mono-text();
@include custom-scrollbar();
diff --git a/frontend/src/styles/_theme-variables.scss b/frontend/src/styles/_theme-variables.scss
index 3746bdc9..fb8d5267 100644
--- a/frontend/src/styles/_theme-variables.scss
+++ b/frontend/src/styles/_theme-variables.scss
@@ -85,10 +85,10 @@
--violet: #b07bf5;
--violet-bg: rgba(176, 123, 245, 0.12);
- // ---- Radius scale (new) ----
- --radius: 10px;
- --radius-sm: 7px;
- --radius-lg: 14px;
+ // ---- Radius: controls / surfaces / overlays ----
+ --radius: 8px;
+ --radius-sm: 6px;
+ --radius-lg: 12px;
// ---- Fonts (new; IBM Plex) ----
--sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
diff --git a/frontend/src/styles/_variables.scss b/frontend/src/styles/_variables.scss
index 267c59b6..4701b405 100644
--- a/frontend/src/styles/_variables.scss
+++ b/frontend/src/styles/_variables.scss
@@ -187,7 +187,9 @@ $line-height-relaxed: 1.6;
// --------------------------------------------
// SPACING
// --------------------------------------------
+$space-hair: 2px; // hairline offsets only
$space-1: 4px;
+$space-tight: 6px; // compact chips and badges
$space-2: 8px;
$space-3: 12px;
$space-4: 16px;
@@ -208,20 +210,47 @@ $spacing-xl: $space-8;
// --------------------------------------------
// BORDER RADIUS
// --------------------------------------------
-$radius-sm: 4px;
-$radius-md: 6px;
-$radius-lg: 8px;
-$radius-xl: 12px;
-$radius-2xl: 16px;
+// Four radii, driven by the theme (--radius-sm/--radius/--radius-lg in
+// _theme-variables.scss and the theme JSON), so a tight-radius theme reaches
+// every corner. Badges never exceed 4px.
+$radius-badge: min(4px, var(--radius-sm, 6px));
+$radius-control: var(--radius-sm, 6px); // buttons, inputs, selects, chips
+$radius-card: var(--radius, 8px); // cards, panels, tables
+$radius-overlay: var(--radius-lg, 12px); // modals, drawers, popovers
$radius-full: 9999px;
+// Legacy names on the same four radii (extension stylesheets compile
+// against these); core uses the names above. check-geometry rejects them.
+$radius-sm: $radius-badge;
+$radius-md: $radius-control;
+$radius-lg: $radius-card;
+$radius-xl: $radius-overlay;
+$radius-2xl: $radius-overlay;
+
+// --------------------------------------------
+// CONTROL HEIGHTS
+// --------------------------------------------
+// Three sizes for every button, input, select and segmented control.
+// 32 is the default (dense-product norm: Primer, Atlassian); 28 for row
+// actions and toolbars; 40 only on sign-in and setup screens.
+$control-sm: 28px;
+$control-md: 32px;
+$control-lg: 40px;
+
// --------------------------------------------
// SHADOWS (theme-sensitive)
// --------------------------------------------
-$shadow-sm: var(--shadow-sm);
-$shadow-md: var(--shadow-md);
-$shadow-lg: var(--shadow-lg);
-$shadow-accent: 0 4px 12px $accent-shadow;
+// Two elevations and a focus ring. Cards and controls are flat; only things
+// that float over the page cast a shadow. No glows.
+$shadow-raised: var(--shadow-md); // menus, popovers, dropdowns, toasts
+$shadow-overlay: var(--shadow-lg); // modals, drawers
+$focus-ring: 0 0 0 2px var(--accent-bg, rgba(99, 102, 241, 0.35));
+
+// Legacy names (extensions); core uses the names above.
+$shadow-sm: none;
+$shadow-md: $shadow-raised;
+$shadow-lg: $shadow-overlay;
+$shadow-accent: none;
// --------------------------------------------
// TRANSITIONS
diff --git a/frontend/src/styles/base/_reset.scss b/frontend/src/styles/base/_reset.scss
index 695c3d6a..2afffffe 100644
--- a/frontend/src/styles/base/_reset.scss
+++ b/frontend/src/styles/base/_reset.scss
@@ -44,8 +44,13 @@ a {
text-decoration: none;
}
-button {
- font-family: inherit;
+// Buttons, inputs and selects inherit the page font. Without this, every
+// button without its own font-size rendered at the browser's 13.33px.
+button,
+input,
+select,
+textarea {
+ font: inherit;
}
img {
@@ -75,7 +80,7 @@ ul, ol {
::-webkit-scrollbar-thumb {
background: $border-active;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
&:hover {
background: $text-tertiary;
diff --git a/frontend/src/styles/base/_utilities.scss b/frontend/src/styles/base/_utilities.scss
index 4006e3b1..5142def0 100644
--- a/frontend/src/styles/base/_utilities.scss
+++ b/frontend/src/styles/base/_utilities.scss
@@ -159,8 +159,8 @@
// --------------------------------------------
.border { border: 1px solid $border-default; }
.border-b { border-bottom: 1px solid $border-subtle; }
-.rounded { border-radius: $radius-md; }
-.rounded-lg { border-radius: $radius-lg; }
+.rounded { border-radius: $radius-control; }
+.rounded-lg { border-radius: $radius-card; }
// --------------------------------------------
// MISC
@@ -305,8 +305,8 @@
// ---- Borders & radius ----
.border-t { border-top: 1px solid $border-subtle; }
.border-border { border-color: $border-default; }
-.rounded-sm { border-radius: $radius-sm; }
-.rounded-md { border-radius: $radius-md; }
+.rounded-sm { border-radius: $radius-badge; }
+.rounded-md { border-radius: $radius-control; }
.rounded-full { border-radius: $radius-full; }
// ---- Flex / interaction / state ----
@@ -334,7 +334,7 @@
.m-4 { margin: 1rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
-.rounded-xl { border-radius: $radius-xl; }
+.rounded-xl { border-radius: $radius-overlay; }
.overflow-x-auto { overflow-x: auto; }
.whitespace-pre-wrap { white-space: pre-wrap; }
.max-w-\[200px\] { max-width: 200px; }
diff --git a/frontend/src/styles/components/_ai-assistant.scss b/frontend/src/styles/components/_ai-assistant.scss
index 08289286..28f10803 100644
--- a/frontend/src/styles/components/_ai-assistant.scss
+++ b/frontend/src/styles/components/_ai-assistant.scss
@@ -153,7 +153,7 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
align-items: center;
flex: 0 0 auto;
min-height: 38px;
- padding: 0 8px;
+ padding: 0 $space-2;
border-bottom: 1px solid var(--sk-ai-border);
}
@@ -172,8 +172,8 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
display: flex;
align-items: center;
justify-content: space-between;
- gap: 8px;
- padding: 12px 14px;
+ gap: $space-2;
+ padding: $space-3 $space-4;
border-bottom: 1px solid var(--sk-ai-border);
}
@@ -188,7 +188,7 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
justify-content: center;
width: 30px;
height: 30px;
- border-radius: 8px;
+ border-radius: $radius-card;
border: 1px solid transparent;
background: transparent;
color: var(--sk-ai-fg-2);
@@ -203,16 +203,16 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
display: inline-flex;
background: var(--sk-ai-bg-body);
border: 1px solid var(--sk-ai-border);
- border-radius: 999px;
- padding: 2px;
+ border-radius: $radius-full;
+ padding: $space-hair;
}
.sk-ai-modes__item {
border: none;
background: transparent;
color: var(--sk-ai-fg-2);
font-size: $text-xs;
- padding: 4px 10px;
- border-radius: 999px;
+ padding: $space-1 $space-3;
+ border-radius: $radius-full;
cursor: pointer;
&.is-active { background: var(--sk-ai-accent); color: #fff; }
}
@@ -221,10 +221,10 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
.sk-ai-context-chip {
display: inline-flex;
align-items: center;
- gap: 6px;
- margin: 10px 14px 0;
- padding: 4px 10px;
- border-radius: 999px;
+ gap: $space-tight;
+ margin: $space-3 $space-4 0;
+ padding: $space-1 $space-3;
+ border-radius: $radius-full;
font-size: $text-xs;
cursor: pointer;
border: 1px solid var(--sk-ai-border);
@@ -238,10 +238,10 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
.sk-ai-messages {
flex: 1;
overflow-y: auto;
- padding: 14px;
+ padding: $space-4;
display: flex;
flex-direction: column;
- gap: 12px;
+ gap: $space-3;
position: relative;
}
@@ -252,17 +252,17 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
- gap: 6px;
+ gap: $space-tight;
}
.sk-ai-attachment {
min-width: 0;
max-width: 100%;
display: inline-flex;
align-items: center;
- gap: 5px;
- padding: 4px 6px;
+ gap: $space-tight;
+ padding: $space-1 $space-tight;
border: 1px solid var(--sk-ai-border);
- border-radius: 999px;
+ border-radius: $radius-full;
background: var(--sk-ai-bg-body);
color: var(--sk-ai-fg-2);
font-size: $text-xs;
@@ -306,8 +306,8 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
.sk-ai-message--user .sk-ai-message__bubble {
background: var(--sk-ai-accent);
color: #fff;
- padding: 8px 12px;
- border-radius: 14px 14px 4px 14px;
+ padding: $space-2 $space-3;
+ border-radius: $radius-overlay $radius-overlay $radius-badge $radius-overlay;
max-width: 85%;
white-space: pre-wrap;
word-break: break-word;
@@ -317,8 +317,8 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
color: #fca5a5;
font-size: $text-sm;
border: 1px solid fade($danger-raw, 40%);
- border-radius: 8px;
- padding: 8px 10px;
+ border-radius: $radius-card;
+ padding: $space-2 $space-3;
}
.sk-ai-markdown {
@@ -336,10 +336,10 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
font-family: var(--sk-ai-mono);
font-size: $text-sm;
border: 1px solid var(--sk-ai-border);
- border-radius: 8px;
- padding: 10px 12px;
+ border-radius: $radius-card;
+ padding: $space-3 $space-3;
overflow-x: auto;
- margin: 6px 0;
+ margin: $space-tight 0;
position: relative;
code { font-family: inherit; white-space: pre; }
}
@@ -347,20 +347,20 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
display: block;
font-size: $text-xs;
color: var(--sk-ai-fg-3);
- margin-bottom: 4px;
+ margin-bottom: $space-1;
}
.sk-ai-inline-code {
font-family: var(--sk-ai-mono);
font-size: 0.9em;
background: var(--sk-ai-hover);
- padding: 1px 5px;
- border-radius: 4px;
+ padding: 1px $space-tight;
+ border-radius: $radius-badge;
}
// ---------------------------------------------------------------- Tool cards
.sk-ai-tool-card {
border: 1px solid var(--sk-ai-border);
- border-radius: 10px;
+ border-radius: $radius-card;
background: var(--sk-ai-bg-body);
overflow: hidden;
&--error { border-color: fade($danger-raw, 50%); }
@@ -369,8 +369,8 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
width: 100%;
display: flex;
align-items: center;
- gap: 8px;
- padding: 8px 10px;
+ gap: $space-2;
+ padding: $space-2 $space-3;
background: transparent;
border: none;
color: var(--sk-ai-fg);
@@ -391,12 +391,12 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
// ---------------------------------------------------------------- Confirm card
.sk-ai-confirm {
border: 1px solid var(--sk-ai-accent);
- border-radius: 10px;
+ border-radius: $radius-card;
background: var(--sk-ai-glow);
- padding: 12px;
+ padding: $space-3;
display: flex;
flex-direction: column;
- gap: 8px;
+ gap: $space-2;
}
.sk-ai-confirm__head { display: flex; align-items: center; gap: 6px; font-weight: $font-weight-semibold; font-size: $text-sm; }
.sk-ai-confirm__summary { font-size: $text-sm; color: var(--sk-ai-fg); margin: 0; }
@@ -405,8 +405,8 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
// ---------------------------------------------------------------- Buttons
.sk-ai-btn {
- border-radius: 8px;
- padding: 6px 14px;
+ border-radius: $radius-card;
+ padding: $space-tight $space-4;
font-size: $text-sm;
cursor: pointer;
border: 1px solid var(--sk-ai-border);
@@ -420,8 +420,8 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
.sk-ai-composer {
display: flex;
flex-direction: column;
- gap: 8px;
- padding: 12px 14px;
+ gap: $space-2;
+ padding: $space-3 $space-4;
border-top: 1px solid var(--sk-ai-border);
}
.sk-ai-composer__attachments { width: 100%; }
@@ -429,7 +429,7 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
width: 100%;
display: flex;
align-items: flex-end;
- gap: 8px;
+ gap: $space-2;
}
.sk-ai-composer__attach.sk-resource-picker__trigger {
min-width: 40px;
@@ -444,11 +444,11 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
.sk-ai-composer__input {
flex: 1;
resize: none;
- border-radius: 10px;
+ border-radius: $radius-card;
border: 1px solid var(--sk-ai-border);
background: var(--sk-ai-bg-body);
color: var(--sk-ai-fg);
- padding: 10px 12px;
+ padding: $space-3 $space-3;
font-family: var(--sk-ai-sans);
font-size: $text-base;
line-height: 1.4;
@@ -460,7 +460,7 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
flex: none;
width: 40px;
height: 40px;
- border-radius: 10px;
+ border-radius: $radius-card;
border: none;
background: var(--sk-ai-accent);
color: #fff;
@@ -498,8 +498,8 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
border: 1px solid var(--sk-ai-border);
background: var(--sk-ai-bg-body);
color: var(--sk-ai-fg);
- border-radius: 10px;
- padding: 8px 12px;
+ border-radius: $radius-card;
+ padding: $space-2 $space-3;
font-size: $text-sm;
cursor: pointer;
text-align: left;
@@ -515,15 +515,15 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
width: 240px;
background: var(--sk-ai-elevated);
border: 1px solid var(--sk-ai-border);
- border-radius: 10px;
+ border-radius: $radius-card;
box-shadow: var(--sk-ai-shadow);
- padding: 6px;
+ padding: $space-tight;
z-index: 3;
}
.sk-ai-convo__new {
width: 100%; display: flex; align-items: center; gap: 6px;
- padding: 8px; border: none; background: transparent; color: var(--sk-ai-fg);
- border-radius: 8px; cursor: pointer; font-size: $text-sm;
+ padding: $space-2; border: none; background: transparent; color: var(--sk-ai-fg);
+ border-radius: $radius-card; cursor: pointer; font-size: $text-sm;
&:hover { background: var(--sk-ai-hover); }
}
.sk-ai-convo__list { max-height: 280px; overflow-y: auto; margin-top: 4px; }
@@ -535,12 +535,12 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
}
.sk-ai-convo__title {
flex: 1; text-align: left; border: none; background: transparent; color: var(--sk-ai-fg);
- padding: 7px 8px; font-size: $text-sm; cursor: pointer;
+ padding: $space-2 $space-2; font-size: $text-sm; cursor: pointer;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sk-ai-convo__del {
border: none; background: transparent; color: var(--sk-ai-fg-3);
- padding: 6px; cursor: pointer; border-radius: 6px;
+ padding: $space-tight; cursor: pointer; border-radius: 6px;
&:hover { color: #f87171; }
}
diff --git a/frontend/src/styles/components/_alerts.scss b/frontend/src/styles/components/_alerts.scss
index f0870b46..4390cea3 100644
--- a/frontend/src/styles/components/_alerts.scss
+++ b/frontend/src/styles/components/_alerts.scss
@@ -7,14 +7,14 @@
align-items: flex-start;
gap: $space-2;
padding: $space-3 $space-4;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-size: $text-xs;
line-height: 1.5;
margin-bottom: $space-4;
> svg {
flex-shrink: 0;
- margin-top: 2px;
+ margin-top: $space-hair;
}
&.alert-success,
@@ -73,12 +73,12 @@
border: 1px solid $danger-border;
color: $danger;
padding: $space-3 $space-4;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
margin-bottom: $space-6;
> svg {
flex-shrink: 0;
- margin-top: 2px;
+ margin-top: $space-hair;
}
&__close {
diff --git a/frontend/src/styles/components/_api-key-scopes.scss b/frontend/src/styles/components/_api-key-scopes.scss
index bcefdcaf..5411a892 100644
--- a/frontend/src/styles/components/_api-key-scopes.scss
+++ b/frontend/src/styles/components/_api-key-scopes.scss
@@ -16,7 +16,7 @@
gap: $space-3;
padding: $space-3;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $bg-secondary;
}
@@ -27,7 +27,7 @@
color: $text-primary;
svg {
- margin-top: 2px;
+ margin-top: $space-hair;
color: $color-primary;
flex-shrink: 0;
}
@@ -85,7 +85,7 @@
align-items: flex-start;
gap: $space-2;
padding: $space-2;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
cursor: pointer;
&:hover {
@@ -96,7 +96,7 @@
.api-key-scopes__item-text {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
min-width: 0;
}
diff --git a/frontend/src/styles/components/_api-settings.scss b/frontend/src/styles/components/_api-settings.scss
index fd0b91db..365eb35b 100644
--- a/frontend/src/styles/components/_api-settings.scss
+++ b/frontend/src/styles/components/_api-settings.scss
@@ -46,9 +46,9 @@
code {
font-family: $font-mono;
font-size: $text-xs;
- padding: 2px 6px;
+ padding: $space-hair $space-tight;
background: $bg-elevated;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
&--compact {
@@ -113,7 +113,7 @@
.api-settings__webhook-card {
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
overflow: hidden;
}
@@ -204,7 +204,7 @@
.api-settings__bar-chart {
display: flex;
align-items: flex-end;
- gap: 2px;
+ gap: $space-hair;
height: 120px;
padding: $space-2 0;
}
@@ -221,7 +221,7 @@
.api-settings__bar {
background: $accent-primary;
- border-radius: $radius-sm $radius-sm 0 0;
+ border-radius: $radius-badge $radius-badge 0 0;
min-height: 2px;
transition: height 0.3s ease;
@@ -246,8 +246,8 @@
.badge--method {
font-size: $text-xs;
font-weight: $font-weight-semibold;
- padding: 1px 6px;
- border-radius: $radius-sm;
+ padding: 1px $space-tight;
+ border-radius: $radius-badge;
}
.badge--get {
@@ -289,8 +289,8 @@
background: $bg-elevated;
color: $text-secondary;
font-size: $text-xs;
- padding: 1px 6px;
- border-radius: $radius-sm;
+ padding: 1px $space-tight;
+ border-radius: $radius-badge;
}
// ─── API Key Modal ─────────────────────────────────────
@@ -305,7 +305,7 @@
padding: $space-3;
background: $warning-bg;
border: 1px solid $warning-border;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $warning;
font-size: $text-xs;
margin-bottom: $space-4;
@@ -324,7 +324,7 @@
gap: $space-1;
padding: $space-3;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: transparent;
color: $text-secondary;
cursor: pointer;
@@ -360,7 +360,7 @@
overflow-y: auto;
padding: $space-2;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
.api-key-modal__scope-item {
@@ -373,7 +373,7 @@
&:hover {
background: $bg-hover;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
input[type="checkbox"] {
@@ -391,7 +391,7 @@
max-height: 300px;
overflow-y: auto;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
padding: $space-2;
}
@@ -430,7 +430,7 @@
&:hover {
background: $bg-hover;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
input[type="checkbox"] {
diff --git a/frontend/src/styles/components/_badges.scss b/frontend/src/styles/components/_badges.scss
index 5a9d3c64..fb28f7f3 100644
--- a/frontend/src/styles/components/_badges.scss
+++ b/frontend/src/styles/components/_badges.scss
@@ -41,8 +41,8 @@
// App type badge
.app-type {
background: $bg-hover;
- padding: 5px $space-3;
- border-radius: $radius-md;
+ padding: $space-tight $space-3;
+ border-radius: $radius-control;
font-weight: $font-weight-semibold;
font-size: $text-xs;
}
@@ -53,8 +53,8 @@
align-items: center;
gap: $space-1;
@include status-variant($success, $success-bg);
- padding: 6px $space-3;
- border-radius: $radius-md;
+ padding: $space-tight $space-3;
+ border-radius: $radius-control;
font-size: $text-xs;
font-weight: $font-weight-semibold;
}
@@ -74,8 +74,8 @@
align-items: center;
gap: $space-1;
background: $bg-hover;
- padding: 5px $space-3;
- border-radius: $radius-md;
+ padding: $space-tight $space-3;
+ border-radius: $radius-control;
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -92,8 +92,8 @@
.privilege-tag {
background: $accent-glow;
color: $accent-primary;
- padding: $space-1 - 2 $space-2;
- border-radius: $radius-sm;
+ padding: $space-hair $space-2;
+ border-radius: $radius-badge;
font-size: $text-xs;
font-weight: $font-weight-semibold;
}
@@ -102,8 +102,8 @@
.table-tag {
background: $bg-hover;
border: 1px solid $border-subtle;
- padding: $space-2 - 2 $space-3;
- border-radius: $radius-md;
+ padding: $space-tight $space-3;
+ border-radius: $radius-control;
@include mono-text();
color: $text-secondary;
}
@@ -113,8 +113,8 @@
display: inline-flex;
align-items: center;
gap: $space-1;
- padding: 5px $space-3;
- border-radius: $radius-md;
+ padding: $space-tight $space-3;
+ border-radius: $radius-control;
font-size: $text-xs;
font-weight: $font-weight-semibold;
border: 1px solid transparent;
@@ -150,8 +150,8 @@
min-height: 1.5rem;
line-height: 1;
white-space: nowrap;
- padding: 2px 8px;
- border-radius: $radius-sm;
+ padding: $space-hair $space-2;
+ border-radius: $radius-badge;
font-size: $text-xs;
font-weight: $font-weight-semibold;
}
@@ -190,9 +190,9 @@
justify-content: center;
gap: $space-1;
min-height: 22px;
- padding: 4px $space-2;
+ padding: $space-1 $space-2;
border: 1px solid transparent;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-size: $text-xs;
font-weight: $font-weight-semibold;
line-height: 1;
@@ -243,8 +243,8 @@
&.status-badge-token {
min-height: 24px;
- padding: 4px 9px;
+ padding: $space-1 $space-2;
border-radius: $radius-full;
- gap: 6px;
+ gap: $space-tight;
}
}
diff --git a/frontend/src/styles/components/_build.scss b/frontend/src/styles/components/_build.scss
index 71d40da3..dd9bd379 100644
--- a/frontend/src/styles/components/_build.scss
+++ b/frontend/src/styles/components/_build.scss
@@ -85,7 +85,7 @@
font-size: $text-xs;
padding: $space-1 $space-2;
background: $bg-hover;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
.commit-message {
@@ -131,13 +131,13 @@
gap: $space-3;
padding: $space-3;
background: $bg-hover;
- border-radius: $radius-md;
+ border-radius: $radius-control;
cursor: pointer;
transition: all $transition-fast;
&:hover {
background: $bg-card;
- box-shadow: $shadow-sm;
+ box-shadow: none;
}
.build-log-method {
@@ -179,7 +179,7 @@
margin: 0;
padding: $space-4;
background: $bg-body;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-family: $font-mono;
font-size: $text-xs;
line-height: $line-height-relaxed;
diff --git a/frontend/src/styles/components/_buildpack.scss b/frontend/src/styles/components/_buildpack.scss
index ec43f0fe..58c57737 100644
--- a/frontend/src/styles/components/_buildpack.scss
+++ b/frontend/src/styles/components/_buildpack.scss
@@ -11,7 +11,7 @@
padding: $space-4;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
&--unknown {
border-color: fade($warning-raw, 40%);
@@ -35,7 +35,7 @@
width: 32px;
height: 32px;
flex-shrink: 0;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: fade($accent-primary-raw, 12%);
color: $accent-primary;
}
@@ -65,7 +65,7 @@
padding: $space-1 $space-2;
font-size: $text-xs;
font-weight: $font-weight-medium;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
background: $bg-hover;
color: $text-tertiary;
@@ -98,7 +98,7 @@
gap: $space-1;
padding: $space-3;
background: $bg-body;
- border-radius: $radius-md;
+ border-radius: $radius-control;
span {
display: inline-flex;
@@ -153,7 +153,7 @@
display: flex;
flex-direction: column;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
overflow: hidden;
}
diff --git a/frontend/src/styles/components/_buttons.scss b/frontend/src/styles/components/_buttons.scss
index 4091588c..4851daa8 100644
--- a/frontend/src/styles/components/_buttons.scss
+++ b/frontend/src/styles/components/_buttons.scss
@@ -27,11 +27,11 @@
text-align: center;
vertical-align: middle;
- // Geometry — default (md) size
- height: 40px;
- min-width: 96px;
- padding: 0 $space-5;
- border-radius: $radius-lg;
+ // Geometry: default (md) size
+ height: $control-md;
+ min-width: 64px;
+ padding: 0 $space-3;
+ border-radius: $radius-control;
border: 1px solid transparent;
// Typography
@@ -61,8 +61,8 @@
}
&:focus-visible {
- outline: 2px solid $accent-primary;
- outline-offset: 2px;
+ outline: none;
+ box-shadow: $focus-ring;
}
}
@@ -70,20 +70,13 @@
// Variants
// --------------------------------------------
-// Prototype accent treatment: soft top-light gradient, accent glow, inner
-// highlight; hover lifts the whole gradient toward white instead of swapping
-// to a flat hover color. Built from theme tokens so runtime skins keep it.
+// Flat accent fill. No gradient, glow or inner highlight.
.btn-primary {
- background: linear-gradient(160deg, var(--accent-bright), var(--accent));
+ background: var(--accent);
color: #fff;
- box-shadow: 0 4px 14px -4px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
&:hover:not(:disabled) {
- background: linear-gradient(
- 160deg,
- color-mix(in srgb, var(--accent-bright) 86%, white),
- color-mix(in srgb, var(--accent) 86%, white)
- );
+ background: color-mix(in srgb, var(--accent) 88%, white);
}
}
@@ -122,12 +115,11 @@
// --------------------------------------------
.btn-sm {
- height: 32px;
- min-width: 72px;
- padding: 0 $space-3 + 2; // 14px
- font-size: $text-sm; // 13px
- border-radius: $radius-md;
- gap: $space-1 + 2; // 6px
+ height: $control-sm;
+ min-width: 0;
+ padding: 0 $space-2;
+ font-size: $text-sm;
+ gap: $space-tight;
svg {
width: 14px;
@@ -136,10 +128,10 @@
}
.btn-lg {
- height: 44px;
- min-width: 128px;
- padding: 0 $space-6 + 4; // 28px
- font-size: $text-md; // 16px
+ height: $control-lg;
+ min-width: 96px;
+ padding: 0 $space-4;
+ font-size: $text-base;
svg {
width: 18px;
@@ -159,8 +151,8 @@ height: auto;
text-decoration: none;
// Named sizes retain their geometry while links keep zero padding.
- &.btn-sm { height: 32px; min-width: 72px; }
- &.btn-lg { height: 44px; min-width: 128px; }
+ &.btn-sm { height: $control-sm; min-width: 0; }
+ &.btn-lg { height: $control-lg; min-width: 0; }
&:hover,
&:hover:not(:disabled) { text-decoration: underline; }
@@ -172,33 +164,33 @@ height: auto;
display: flex;
align-items: center;
justify-content: center;
- width: 28px;
- height: 28px;
+ width: $control-md;
+ height: $control-md;
min-width: auto !important;
- padding: $space-2 !important;
+ padding: 0 !important;
background: transparent;
border: none;
- border-radius: $radius-sm;
+ border-radius: $radius-control;
color: $text-tertiary;
cursor: pointer;
transition: all 0.2s;
svg {
- width: 18px;
- height: 18px;
+ width: 16px;
+ height: 16px;
margin: 0 !important;
}
&.btn-sm {
- width: 32px;
- height: 32px;
+ width: $control-sm;
+ height: $control-sm;
- svg { width: 16px; height: 16px; }
+ svg { width: 14px; height: 14px; }
}
&.btn-lg {
- width: 44px;
- height: 44px;
+ width: $control-lg;
+ height: $control-lg;
svg { width: 20px; height: 20px; }
}
@@ -253,7 +245,7 @@ display: flex;
// Loading state styling lives in _spinner.scss alongside .spinner overrides.
.btn-xs {
- padding: 2px 6px;
+ padding: $space-hair $space-tight;
font-size: $text-xs;
svg {
diff --git a/frontend/src/styles/components/_cards.scss b/frontend/src/styles/components/_cards.scss
index 9b0144dd..cabccc3b 100644
--- a/frontend/src/styles/components/_cards.scss
+++ b/frontend/src/styles/components/_cards.scss
@@ -35,7 +35,7 @@
// Application/Service icon
.app-icon {
@include icon-box(48px);
- border-radius: $radius-xl - 2;
+ border-radius: $radius-card;
font-size: $text-lg;
font-weight: $font-weight-semibold;
color: white;
@@ -76,7 +76,7 @@
gap: 1px;
background: $border-subtle;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
overflow: hidden;
margin-bottom: $space-6;
}
@@ -84,7 +84,7 @@
.stat-strip__item {
display: flex;
flex-direction: column;
- gap: 6px;
+ gap: $space-tight;
min-width: 0;
padding: $space-4 $space-5;
background: $bg-card;
@@ -183,7 +183,7 @@
display: flex;
align-items: center;
justify-content: center;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
flex-shrink: 0;
svg {
@@ -237,14 +237,14 @@
.progress-bar {
height: 4px;
background: $bg-hover;
- border-radius: $radius-sm - 2;
+ border-radius: $radius-badge;
overflow: hidden;
margin-top: $space-1;
}
.progress-fill {
height: 100%;
- border-radius: $radius-sm - 2;
+ border-radius: $radius-badge;
@include transition(width);
}
@@ -278,7 +278,7 @@
padding: $space-6;
border: 1px solid fade($danger-raw, 30%);
background: fade($danger-raw, 5%);
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
h3, h4 {
color: $danger;
diff --git a/frontend/src/styles/components/_change-bar.scss b/frontend/src/styles/components/_change-bar.scss
index 2aa108ad..1c55c5c1 100644
--- a/frontend/src/styles/components/_change-bar.scss
+++ b/frontend/src/styles/components/_change-bar.scss
@@ -11,9 +11,9 @@
margin: $space-6 auto $space-4;
padding: $space-2 $space-3 $space-2 $space-4;
border: 1px solid $border-active;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
background: $bg-elevated;
- box-shadow: $shadow-lg;
+ box-shadow: $shadow-overlay;
&__state,
&__actions {
diff --git a/frontend/src/styles/components/_command-palette.scss b/frontend/src/styles/components/_command-palette.scss
index 69d1b75b..8905381c 100644
--- a/frontend/src/styles/components/_command-palette.scss
+++ b/frontend/src/styles/components/_command-palette.scss
@@ -18,8 +18,8 @@
max-height: 460px;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-xl;
- box-shadow: $shadow-lg;
+ border-radius: $radius-overlay;
+ box-shadow: $shadow-overlay;
display: flex;
flex-direction: column;
overflow: hidden;
@@ -66,10 +66,10 @@
&__kbd {
font-size: $text-xs;
font-family: $font-main;
- padding: 2px 6px;
+ padding: $space-hair $space-tight;
background: $bg-hover;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-tertiary;
flex-shrink: 0;
}
@@ -189,14 +189,14 @@
kbd {
min-width: 16px;
- padding: 1px 5px;
+ padding: 1px $space-tight;
text-align: center;
font-size: $text-xs;
font-family: $font-mono;
color: $text-secondary;
background: $bg-hover;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
}
@@ -221,8 +221,8 @@
[cmdk-group-items] {
display: flex;
flex-wrap: wrap;
- gap: 6px;
- padding: 2px 4px 8px;
+ gap: $space-tight;
+ padding: $space-hair $space-1 $space-2;
}
}
@@ -232,10 +232,10 @@
flex: 0 0 118px;
flex-direction: column;
align-items: flex-start;
- gap: 9px;
- padding: 11px 11px 10px;
+ gap: $space-2;
+ padding: $space-3 $space-3 $space-3;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: var(--surface);
color: $text-secondary;
font-size: $text-xs;
@@ -282,10 +282,10 @@
height: 29px;
align-items: center;
justify-content: center;
- gap: 7px;
- margin: 0 4px 6px;
+ gap: $space-2;
+ margin: 0 $space-1 $space-tight;
border: 1px dashed $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: transparent;
color: $text-tertiary;
font-size: $text-xs;
@@ -308,7 +308,7 @@
.is-setting-focused {
scroll-margin-top: $space-6;
animation: setting-focus-flash 2s ease-out;
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
@keyframes setting-focus-flash {
diff --git a/frontend/src/styles/components/_connection-status.scss b/frontend/src/styles/components/_connection-status.scss
index 4fcc32a2..9b6339a6 100644
--- a/frontend/src/styles/components/_connection-status.scss
+++ b/frontend/src/styles/components/_connection-status.scss
@@ -5,7 +5,7 @@
flex-shrink: 0;
display: inline-flex;
align-items: center;
- padding: 2px $space-2;
+ padding: $space-hair $space-2;
border: 1px solid $border-subtle;
border-radius: $radius-full;
font-size: $text-xs;
@@ -22,12 +22,12 @@
&--live .conn-status__dot {
background: $success;
- box-shadow: 0 0 8px $success;
+ box-shadow: none;
}
&--down .conn-status__dot {
background: $warning;
- box-shadow: 0 0 8px $warning;
+ box-shadow: none;
}
&--ok {
diff --git a/frontend/src/styles/components/_container-status.scss b/frontend/src/styles/components/_container-status.scss
index 889f0526..92c1c8d4 100644
--- a/frontend/src/styles/components/_container-status.scss
+++ b/frontend/src/styles/components/_container-status.scss
@@ -15,7 +15,7 @@
display: inline-flex;
align-items: center;
padding: 1px $space-1;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
background: $warning-bg;
border: 1px solid $warning-border;
color: $warning;
@@ -39,8 +39,8 @@
padding: $space-2 $space-3;
background: $bg-elevated;
border: 1px solid $border-default;
- border-radius: $radius-md;
- box-shadow: $shadow-lg;
+ border-radius: $radius-control;
+ box-shadow: $shadow-overlay;
font-size: $text-xs;
line-height: 1.4;
color: $text-secondary;
diff --git a/frontend/src/styles/components/_contribution-graph.scss b/frontend/src/styles/components/_contribution-graph.scss
index ae2f063b..08dd0849 100644
--- a/frontend/src/styles/components/_contribution-graph.scss
+++ b/frontend/src/styles/components/_contribution-graph.scss
@@ -2,7 +2,7 @@
padding: $space-4;
background: $bg-card;
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
margin-bottom: $space-6;
.graph-header {
@@ -32,12 +32,12 @@
.legend-cells {
display: flex;
- gap: 2px;
+ gap: $space-hair;
.cell {
width: 10px;
height: 10px;
- border-radius: 2px;
+ border-radius: $radius-badge;
}
}
}
@@ -61,20 +61,20 @@
.graph-grid {
display: flex;
- gap: 3px;
+ gap: $space-1;
min-width: fit-content;
}
.graph-week {
display: flex;
flex-direction: column;
- gap: 3px;
+ gap: $space-1;
}
.graph-cell {
width: 12px;
height: 12px;
- border-radius: 2px;
+ border-radius: $radius-badge;
transition: transform 0.1s ease;
&:hover {
diff --git a/frontend/src/styles/components/_credentials.scss b/frontend/src/styles/components/_credentials.scss
index 75a8adbf..fd66c74b 100644
--- a/frontend/src/styles/components/_credentials.scss
+++ b/frontend/src/styles/components/_credentials.scss
@@ -5,7 +5,7 @@
.credentials-box {
background: $bg-body;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-4;
margin: $space-4 0;
@@ -21,7 +21,7 @@
color: $warning;
margin-bottom: $space-3;
@include flex-start();
- gap: $space-2 - 2;
+ gap: $space-tight;
}
}
@@ -48,7 +48,7 @@
color: $text-primary;
background: $bg-hover;
padding: $space-1 $space-2;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
flex: 1;
}
diff --git a/frontend/src/styles/components/_dashboard-widgets.scss b/frontend/src/styles/components/_dashboard-widgets.scss
index 4aefe0ad..21d1d118 100644
--- a/frontend/src/styles/components/_dashboard-widgets.scss
+++ b/frontend/src/styles/components/_dashboard-widgets.scss
@@ -43,16 +43,16 @@ $skw-z-tv: 200;
.skw-bar {
display: flex;
align-items: center;
- gap: 14px;
+ gap: $space-4;
flex-wrap: wrap;
- margin-bottom: 14px;
+ margin-bottom: $space-4;
// Range / refresh / variable pickers + edit toggle. `margin-left:auto`
// rather than a spacer element so the tabs keep their natural width.
&__ctl {
display: flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
margin-left: auto;
flex-wrap: wrap;
@@ -92,10 +92,10 @@ $skw-z-tv: 200;
.skw-barbtn {
display: inline-flex;
align-items: center;
- gap: 7px;
- padding: 0 12px;
+ gap: $space-2;
+ padding: 0 $space-3;
border: 1px solid var(--border);
- border-radius: 8px;
+ border-radius: $radius-card;
background: var(--surface-2);
color: var(--text-dim);
font-family: inherit;
@@ -130,17 +130,17 @@ $skw-z-tv: 200;
.skw-tabs {
display: flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
flex-wrap: wrap;
}
.skw-tab {
display: flex;
align-items: center;
- gap: 7px;
- padding: 7px 11px;
+ gap: $space-2;
+ padding: $space-2 $space-3;
border: 1px solid transparent;
- border-radius: 9px;
+ border-radius: $radius-card;
background: none;
color: var(--text-faint);
font-family: inherit;
@@ -167,8 +167,8 @@ $skw-z-tv: 200;
// Widget count on the tab.
&__count {
- padding: 1px 5px;
- border-radius: 5px;
+ padding: 1px $space-tight;
+ border-radius: $radius-control;
background: var(--surface-3);
color: var(--text-ghost);
font-size: $text-xs;
@@ -176,7 +176,7 @@ $skw-z-tv: 200;
// "+" new-board affordance — icon only, so it drops the label padding.
&--add {
- padding: 8px;
+ padding: $space-2;
color: var(--text-faint);
}
}
@@ -185,9 +185,9 @@ $skw-z-tv: 200;
// replaces the tab in place and has to read as "editing" without growing.
.skw-rename {
width: 130px;
- padding: 2px 6px;
+ padding: $space-hair $space-tight;
border: 1px solid var(--accent);
- border-radius: 6px;
+ border-radius: $radius-control;
background: var(--surface-3);
color: var(--text);
font-family: var(--sans);
@@ -199,11 +199,11 @@ $skw-z-tv: 200;
.skw-varpick {
display: flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
height: 32px;
- padding: 0 10px;
+ padding: 0 $space-3;
border: 1px solid var(--border);
- border-radius: 8px;
+ border-radius: $radius-card;
background: var(--surface-2);
color: var(--text);
font-family: inherit;
@@ -247,7 +247,7 @@ $skw-z-tv: 200;
display: grid;
place-items: center;
border: 1px solid var(--border);
- border-radius: 8px;
+ border-radius: $radius-card;
background: var(--surface-2);
color: var(--text-faint);
cursor: pointer;
@@ -274,11 +274,11 @@ $skw-z-tv: 200;
.skw-hint {
display: flex;
align-items: center;
- gap: 8px;
- margin-bottom: 12px;
- padding: 8px 12px;
+ gap: $space-2;
+ margin-bottom: $space-3;
+ padding: $space-2 $space-3;
border: 1px solid var(--accent-dim);
- border-radius: 8px;
+ border-radius: $radius-card;
@include status-variant(var(--accent-bright), var(--accent-bg));
font-size: $text-xs;
@@ -325,7 +325,7 @@ $skw-z-tv: 200;
position: absolute;
inset: 0;
pointer-events: none;
- border-radius: 8px;
+ border-radius: $radius-card;
background-image:
linear-gradient(to right, var(--accent-bg) 1px, transparent 1px),
linear-gradient(to bottom, var(--accent-bg) 1px, transparent 1px);
@@ -340,7 +340,7 @@ $skw-z-tv: 200;
flex-direction: column;
align-items: center;
justify-content: center;
- gap: 10px;
+ gap: $space-3;
border: 1.5px dashed var(--border-strong);
border-radius: var(--radius);
color: var(--text-faint);
@@ -385,9 +385,9 @@ $skw-z-tv: 200;
&__head {
display: flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
flex-shrink: 0;
- padding: 9px 11px 8px;
+ padding: $space-2 $space-3 $space-2;
border-bottom: 1px solid var(--border-soft);
}
@@ -420,7 +420,7 @@ $skw-z-tv: 200;
flex-shrink: 0;
border-radius: 50%;
background: var(--green);
- box-shadow: 0 0 6px var(--green);
+ box-shadow: none;
animation: skw-tick-pulse 1.6s ease-in-out infinite;
// A paused / disconnected stream keeps the dot but drops the pulse,
@@ -510,7 +510,7 @@ $skw-z-tv: 200;
right: 0;
z-index: $z-tooltip;
width: 196px;
- padding: 4px;
+ padding: $space-1;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
@@ -519,11 +519,11 @@ $skw-z-tv: 200;
&__item {
display: flex;
align-items: center;
- gap: 10px;
+ gap: $space-3;
width: 100%;
- padding: 7px 10px;
+ padding: $space-2 $space-3;
border: none;
- border-radius: 6px;
+ border-radius: $radius-control;
background: none;
color: var(--text-dim);
font-family: inherit;
@@ -562,7 +562,7 @@ $skw-z-tv: 200;
// Negative margins pull the rule to the panel edges, past the 4px pad.
&__sep {
height: 1px;
- margin: 4px -4px;
+ margin: $space-1 -4px;
background: var(--border-soft);
}
}
@@ -570,7 +570,7 @@ $skw-z-tv: 200;
// Unknown widget type / no data. Deliberately plain: an unrecognised type is
// a config problem, not an error, and the frame around it already names it.
.skw-empty {
- padding: 16px;
+ padding: $space-4;
color: var(--text-faint);
font-size: $text-sm;
@@ -603,7 +603,7 @@ $skw-z-tv: 200;
// tile — the reading is the point of this widget, so it is pinned first and
// the chart gets whatever is left.
justify-content: flex-start;
- padding: 12px 13px;
+ padding: $space-3 $space-3;
&__value {
flex: 0 0 auto;
@@ -624,8 +624,8 @@ $skw-z-tv: 200;
flex: 0 0 auto;
display: flex;
align-items: center;
- gap: 9px;
- margin-top: 5px;
+ gap: $space-2;
+ margin-top: $space-tight;
color: var(--text-faint);
font-size: $text-xs;
}
@@ -633,7 +633,7 @@ $skw-z-tv: 200;
&__delta {
display: inline-flex;
align-items: center;
- gap: 2px;
+ gap: $space-hair;
&--up,
.up { color: var(--green); }
@@ -648,7 +648,7 @@ $skw-z-tv: 200;
// taller stat widget grows its trend line instead of banking dead
// space under the value. `min-height: 0` lets it shrink in a 2-row
// tile without pushing the meta row out.
- margin-top: 8px;
+ margin-top: $space-2;
margin-left: -2px;
margin-right: -2px;
line-height: 0;
@@ -669,7 +669,7 @@ $skw-z-tv: 200;
min-height: 0;
display: flex;
flex-direction: column;
- padding: 8px 10px 6px;
+ padding: $space-2 $space-3 $space-tight;
&__chart {
flex: 1;
@@ -688,15 +688,15 @@ $skw-z-tv: 200;
.skw-legend {
display: flex;
flex-wrap: wrap;
- gap: 12px;
- padding-top: 8px;
+ gap: $space-3;
+ padding-top: $space-2;
color: var(--text-faint);
font-size: $text-xs;
&__item {
display: flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
b { color: var(--text); font-weight: $font-weight-semibold; }
}
@@ -706,7 +706,7 @@ $skw-z-tv: 200;
.sw {
width: 8px;
height: 8px;
- border-radius: 2px;
+ border-radius: $radius-badge;
flex-shrink: 0;
}
}
@@ -718,8 +718,8 @@ $skw-z-tv: 200;
flex-direction: column;
align-items: center;
justify-content: center;
- gap: 6px;
- padding: 10px;
+ gap: $space-tight;
+ padding: $space-3;
&__sub {
color: var(--text-faint);
@@ -740,8 +740,8 @@ $skw-z-tv: 200;
.skw-topn {
display: flex;
flex-direction: column;
- gap: 9px;
- padding: 12px 13px;
+ gap: $space-2;
+ padding: $space-3 $space-3;
overflow: auto;
@include custom-scrollbar;
@@ -751,7 +751,7 @@ $skw-z-tv: 200;
display: grid;
grid-template-columns: 1fr 2fr auto;
align-items: center;
- gap: 9px;
+ gap: $space-2;
}
&__label {
@@ -763,7 +763,7 @@ $skw-z-tv: 200;
&__track {
height: 7px;
- border-radius: 4px;
+ border-radius: $radius-badge;
background: var(--surface-3);
overflow: hidden;
}
@@ -773,7 +773,7 @@ $skw-z-tv: 200;
&__track i {
display: block;
height: 100%;
- border-radius: 4px;
+ border-radius: $radius-badge;
transition: width 0.4s ease;
}
@@ -800,7 +800,7 @@ $skw-z-tv: 200;
position: sticky;
top: 0;
z-index: 1;
- padding: 7px 12px;
+ padding: $space-2 $space-3;
border-bottom: 1px solid var(--border-soft);
background: var(--surface-2);
color: var(--text-ghost);
@@ -811,7 +811,7 @@ $skw-z-tv: 200;
td {
max-width: 180px;
- padding: 7px 12px;
+ padding: $space-2 $space-3;
border-bottom: 1px solid var(--border-soft);
color: var(--text-dim);
white-space: nowrap;
@@ -833,8 +833,8 @@ $skw-z-tv: 200;
// Mono status chip used by the table and list widgets. Kept local rather than
// @extend-ing %sk-state: this one is lowercase and sized for a 12px row.
.skw-pill {
- padding: 2px 7px;
- border-radius: 5px;
+ padding: $space-hair $space-2;
+ border-radius: $radius-control;
background: var(--surface-3);
color: var(--text-faint);
font-size: $text-xs;
@@ -857,9 +857,9 @@ $skw-z-tv: 200;
&__bar {
display: flex;
align-items: center;
- gap: 10px;
+ gap: $space-3;
flex-shrink: 0;
- padding: 6px 11px;
+ padding: $space-tight $space-3;
border-bottom: 1px solid var(--border-soft);
color: var(--text-faint);
font-size: $text-xs;
@@ -874,7 +874,7 @@ $skw-z-tv: 200;
&__body {
flex: 1;
overflow: auto;
- padding: 6px 0;
+ padding: $space-tight 0;
background: var(--bg-code);
font-family: var(--mono);
font-size: $text-xs;
@@ -884,8 +884,8 @@ $skw-z-tv: 200;
&__line {
display: flex;
- gap: 9px;
- padding: 0 11px;
+ gap: $space-2;
+ padding: 0 $space-3;
color: var(--text-dim);
white-space: pre-wrap;
word-break: break-all;
@@ -912,13 +912,13 @@ $skw-z-tv: 200;
.skw-list {
flex: 1;
overflow: auto;
- padding: 6px 0;
+ padding: $space-tight 0;
@include custom-scrollbar;
}
// ---- deploys: recent deployment jobs ------------------------
.skw-dep {
- padding: 9px 13px;
+ padding: $space-2 $space-3;
border-bottom: 1px solid var(--border-soft);
cursor: pointer;
transition: background 0.12s;
@@ -929,7 +929,7 @@ $skw-z-tv: 200;
display: flex;
align-items: center;
justify-content: space-between;
- gap: 10px;
+ gap: $space-3;
}
&__name { font-size: $text-sm; font-weight: $font-weight-semibold; }
@@ -939,13 +939,13 @@ $skw-z-tv: 200;
// glance without a percentage.
&__steps {
display: flex;
- gap: 3px;
- margin: 7px 0 5px;
+ gap: $space-1;
+ margin: $space-2 0 $space-tight;
.st {
flex: 1;
height: 4px;
- border-radius: 2px;
+ border-radius: $radius-badge;
background: var(--surface-3);
&.done { background: var(--green); }
@@ -967,8 +967,8 @@ $skw-z-tv: 200;
.skw-alert {
display: flex;
align-items: center;
- gap: 10px;
- padding: 10px 13px;
+ gap: $space-3;
+ padding: $space-3 $space-3;
border-bottom: 1px solid var(--border-soft);
cursor: pointer;
transition: background 0.12s;
@@ -999,7 +999,7 @@ $skw-z-tv: 200;
}
&__meta {
- margin-top: 2px;
+ margin-top: $space-hair;
color: var(--text-faint);
font-size: $text-xs;
}
@@ -1011,15 +1011,15 @@ $skw-z-tv: 200;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
align-content: start;
- gap: 8px;
- padding: 12px 13px;
+ gap: $space-2;
+ padding: $space-3 $space-3;
overflow: auto;
@include custom-scrollbar;
&__cell {
- padding: 9px 10px;
+ padding: $space-2 $space-3;
border: 1px solid var(--border-soft);
- border-radius: 8px;
+ border-radius: $radius-card;
background: var(--surface-2);
cursor: pointer;
transition: 0.12s;
@@ -1031,7 +1031,7 @@ $skw-z-tv: 200;
display: block;
width: 7px;
height: 7px;
- margin-bottom: 6px;
+ margin-bottom: $space-tight;
border-radius: 50%;
}
@@ -1043,7 +1043,7 @@ $skw-z-tv: 200;
}
&__meta {
- margin-top: 2px;
+ margin-top: $space-hair;
color: var(--text-faint);
font-size: $text-xs;
}
@@ -1057,8 +1057,8 @@ $skw-z-tv: 200;
&__item {
display: flex;
align-items: flex-start;
- gap: 9px;
- padding: 8px 13px;
+ gap: $space-2;
+ padding: $space-2 $space-3;
border-bottom: 1px solid var(--border-soft);
cursor: pointer;
transition: background 0.12s;
@@ -1072,7 +1072,7 @@ $skw-z-tv: 200;
&__dot {
width: 6px;
height: 6px;
- margin-top: 5px;
+ margin-top: $space-tight;
flex-shrink: 0;
border-radius: 50%;
background: var(--text-ghost);
@@ -1094,7 +1094,7 @@ $skw-z-tv: 200;
}
&__time {
- margin-top: 2px;
+ margin-top: $space-hair;
color: var(--text-ghost);
font-size: $text-xs;
}
@@ -1104,8 +1104,8 @@ $skw-z-tv: 200;
.skw-actions {
display: flex;
flex-direction: column;
- gap: 7px;
- padding: 12px 13px;
+ gap: $space-2;
+ padding: $space-3 $space-3;
overflow: auto;
@include custom-scrollbar;
@@ -1115,11 +1115,11 @@ $skw-z-tv: 200;
&__row {
display: flex;
align-items: center;
- gap: 10px;
+ gap: $space-3;
width: 100%;
- padding: 8px 10px;
+ padding: $space-2 $space-3;
border: 1px solid var(--border);
- border-radius: 8px;
+ border-radius: $radius-card;
background: var(--surface-2);
color: var(--text-dim);
font-family: inherit;
@@ -1151,7 +1151,7 @@ $skw-z-tv: 200;
width: 24px;
height: 24px;
flex-shrink: 0;
- border-radius: 7px;
+ border-radius: $radius-control;
background: var(--surface-3);
color: var(--text-faint);
transition: 0.13s;
@@ -1164,7 +1164,7 @@ $skw-z-tv: 200;
// ---- specs: key/value host details --------------------------
.skw-kv {
- padding: 4px 13px 8px;
+ padding: $space-1 $space-3 $space-2;
overflow: auto;
@include custom-scrollbar;
@@ -1173,9 +1173,9 @@ $skw-z-tv: 200;
display: flex;
align-items: center;
justify-content: space-between;
- gap: 12px;
+ gap: $space-3;
min-height: 0;
- padding: 6px 0;
+ padding: $space-tight 0;
border-top: 1px solid var(--border-soft);
&:first-child { border-top: none; }
@@ -1186,7 +1186,7 @@ $skw-z-tv: 200;
// …and a density override when the renderer reuses the shared
// .sk-info-row primitive instead, which is spaced for a drawer.
.sk-info-row {
- padding: 6px 0;
+ padding: $space-tight 0;
min-height: 0;
.k { font-size: $text-xs; }
@@ -1195,7 +1195,7 @@ $skw-z-tv: 200;
// ---- note: markdown-ish text --------------------------------
.skw-note {
- padding: 13px;
+ padding: $space-3;
overflow: auto;
color: var(--text-dim);
font-size: $text-sm;
@@ -1203,8 +1203,8 @@ $skw-z-tv: 200;
@include custom-scrollbar;
code {
- padding: 1px 5px;
- border-radius: 4px;
+ padding: 1px $space-tight;
+ border-radius: $radius-badge;
background: var(--surface-3);
font-family: var(--mono);
font-size: $text-xs;
@@ -1221,7 +1221,7 @@ $skw-z-tv: 200;
// .sk-drawer__body deliberately has none (it is the scroll region), and
// the sticky filter bar below cancels this padding with negative margins
// to span the panel edge to edge. Both numbers therefore live here.
- padding: 14px 16px 18px;
+ padding: $space-4 $space-4 $space-5;
// Search + category chips. The library renders inside the shared
// ds/Drawer, whose .sk-drawer__body owns the scroll — so this bar has to
@@ -1235,9 +1235,9 @@ $skw-z-tv: 200;
z-index: 2;
display: flex;
flex-direction: column;
- gap: 10px;
- margin: -14px -16px 14px;
- padding: 14px 16px 12px;
+ gap: $space-3;
+ margin: -14px -16px $space-4;
+ padding: $space-4 $space-4 $space-3;
background: var(--surface);
border-bottom: 1px solid var(--border-soft);
}
@@ -1256,13 +1256,13 @@ $skw-z-tv: 200;
&__chips {
display: flex;
flex-wrap: wrap;
- gap: 6px;
+ gap: $space-tight;
}
&__chip {
- padding: 4px 11px;
+ padding: $space-1 $space-3;
border: 1px solid var(--border);
- border-radius: 999px;
+ border-radius: $radius-full;
background: var(--surface-2);
color: var(--text-dim);
font-family: inherit;
@@ -1286,7 +1286,7 @@ $skw-z-tv: 200;
// "No widget matches that search."
&__empty {
- padding: 40px 16px;
+ padding: $space-10 $space-4;
color: var(--text-faint);
font-size: $text-sm;
text-align: center;
@@ -1295,7 +1295,7 @@ $skw-z-tv: 200;
&__grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
- gap: 12px;
+ gap: $space-3;
}
&__card {
@@ -1324,7 +1324,7 @@ $skw-z-tv: 200;
height: 88px;
display: flex;
align-items: stretch;
- padding: 6px;
+ padding: $space-tight;
border-bottom: 1px solid var(--border-soft);
background: var(--bg-sidebar);
}
@@ -1344,7 +1344,7 @@ $skw-z-tv: 200;
display: flex;
align-items: center;
justify-content: center;
- gap: 6px;
+ gap: $space-tight;
background: var(--surface);
color: var(--accent-bright);
font-size: $text-xs;
@@ -1367,7 +1367,7 @@ $skw-z-tv: 200;
&__name {
display: flex;
align-items: center;
- gap: 7px;
+ gap: $space-2;
font-size: $text-sm;
font-weight: $font-weight-semibold;
}
@@ -1375,15 +1375,15 @@ $skw-z-tv: 200;
// Default cell span ("3×2"), pushed to the right edge of the name row.
&__size {
margin-left: auto;
- padding: 1px 5px;
- border-radius: 4px;
+ padding: 1px $space-tight;
+ border-radius: $radius-badge;
background: var(--surface-3);
color: var(--text-ghost);
font-size: $text-xs;
}
&__desc {
- margin-top: 5px;
+ margin-top: $space-tight;
color: var(--text-faint);
font-size: $text-xs;
line-height: 1.45;
@@ -1457,16 +1457,16 @@ $skw-z-tv: 200;
&__bar {
display: flex;
align-items: center;
- gap: 16px;
+ gap: $space-4;
flex-shrink: 0;
- padding: 12px 20px;
+ padding: $space-3 $space-5;
border-bottom: 1px solid var(--border-soft);
}
&__body {
flex: 1;
overflow: auto;
- padding: 18px 20px;
+ padding: $space-5 $space-5;
@include custom-scrollbar;
}
@@ -1498,7 +1498,7 @@ $skw-z-tv: 200;
// A blank 12-column grid is not a starting point, so a new board offers
// ready-made layouts before it offers an "add widget" button.
.skw-empty-board {
- padding: 70px 20px;
+ padding: $space-16 $space-5;
border: 1.5px dashed var(--border-strong);
border-radius: var(--radius-lg);
text-align: center;
@@ -1510,21 +1510,21 @@ $skw-z-tv: 200;
display: flex;
align-items: center;
justify-content: center;
- gap: 9px;
- margin-top: 18px;
+ gap: $space-2;
+ margin-top: $space-5;
}
}
.skw-tpl {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
- gap: 12px;
+ gap: $space-3;
max-width: 900px;
margin: 0 auto;
text-align: left;
&__card {
- padding: 15px;
+ padding: $space-4;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--surface-2);
@@ -1541,10 +1541,10 @@ $skw-z-tv: 200;
&__icon {
width: 34px;
height: 34px;
- margin-bottom: 11px;
+ margin-bottom: $space-3;
display: grid;
place-items: center;
- border-radius: 9px;
+ border-radius: $radius-card;
background: var(--surface-3);
color: var(--accent-bright);
}
@@ -1641,8 +1641,8 @@ $skw-z-tv: 200;
flex-direction: column;
align-items: center;
justify-content: center;
- gap: 2px;
- padding: 10px 12px;
+ gap: $space-hair;
+ padding: $space-3 $space-3;
text-align: center;
&__time {
@@ -1712,8 +1712,8 @@ $skw-z-tv: 200;
top: 8px;
z-index: 2;
min-width: 132px;
- margin-left: 12px;
- padding: 8px 10px;
+ margin-left: $space-3;
+ padding: $space-2 $space-3;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--surface-2);
@@ -1727,7 +1727,7 @@ $skw-z-tv: 200;
}
&__tip-when {
- margin-bottom: 6px;
+ margin-bottom: $space-tight;
color: var(--text-faint);
font-size: $text-xs;
text-align: center;
@@ -1736,8 +1736,8 @@ $skw-z-tv: 200;
&__tip-row {
display: flex;
align-items: center;
- gap: 8px;
- padding: 2px 0;
+ gap: $space-2;
+ padding: $space-hair 0;
font-size: $text-xs;
}
diff --git a/frontend/src/styles/components/_datagrid.scss b/frontend/src/styles/components/_datagrid.scss
index 6493d8d2..2ce21b66 100644
--- a/frontend/src/styles/components/_datagrid.scss
+++ b/frontend/src/styles/components/_datagrid.scss
@@ -23,7 +23,7 @@
display: grid;
place-items: center;
border: none;
- border-radius: 5px;
+ border-radius: $radius-control;
background: transparent;
color: var(--text-ghost);
cursor: pointer;
@@ -47,8 +47,8 @@
.sk-viewbar {
display: flex;
align-items: center;
- gap: 14px;
- margin-bottom: 14px;
+ gap: $space-4;
+ margin-bottom: $space-4;
// The table's own chrome (search, filter, "⋮") sits on the SAME line as the
// view name. It used to go in a ListToolbar underneath, which on a page
@@ -57,7 +57,7 @@
&__actions {
display: flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
margin-left: auto;
}
@@ -65,11 +65,11 @@
&__dirty {
display: flex;
align-items: center;
- gap: 8px;
- padding: 4px 5px 4px 11px;
+ gap: $space-2;
+ padding: $space-1 $space-tight $space-1 $space-3;
border: 1px solid rgba(245, 185, 69, 0.28);
background: rgba(245, 185, 69, 0.07);
- border-radius: 9px;
+ border-radius: $radius-card;
font-size: $text-xs;
color: var(--amber);
white-space: nowrap;
@@ -77,12 +77,12 @@
button {
display: inline-flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
font-size: $text-xs;
font-weight: $font-weight-medium;
- padding: 4px 9px;
+ padding: $space-1 $space-2;
border: none;
- border-radius: 6px;
+ border-radius: $radius-control;
background: transparent;
color: var(--text-dim);
cursor: pointer;
@@ -103,10 +103,10 @@
.sk-viewpick {
display: flex;
align-items: center;
- gap: 8px;
- padding: 5px 10px 5px 4px;
+ gap: $space-2;
+ padding: $space-tight $space-3 $space-tight $space-1;
border: none;
- border-radius: 9px;
+ border-radius: $radius-card;
background: transparent;
color: var(--text);
cursor: pointer;
@@ -134,7 +134,7 @@
&__row {
display: flex;
align-items: center;
- border-radius: 8px;
+ border-radius: $radius-card;
&:hover { background: var(--surface-3); }
&.is-on { background: var(--accent-bg); }
@@ -146,8 +146,8 @@
min-width: 0;
display: flex;
align-items: center;
- gap: 10px;
- padding: 8px 9px;
+ gap: $space-3;
+ padding: $space-2 $space-2;
border: none;
background: transparent;
font-size: $text-sm;
@@ -187,9 +187,9 @@
place-items: center;
width: 24px;
height: 24px;
- margin-right: 5px;
+ margin-right: $space-tight;
border: none;
- border-radius: 5px;
+ border-radius: $radius-control;
background: transparent;
color: var(--text-ghost);
cursor: pointer;
@@ -211,7 +211,7 @@
place-items: center;
border: 1px solid var(--border);
background: var(--surface-2);
- border-radius: 9px;
+ border-radius: $radius-card;
color: var(--text-dim);
cursor: pointer;
flex-shrink: 0;
@@ -236,10 +236,10 @@
background: var(--accent);
color: #fff;
border: 2px solid var(--bg-body);
- border-radius: 20px;
+ border-radius: $radius-overlay;
min-width: 17px;
height: 17px;
- padding: 0 4px;
+ padding: 0 $space-1;
display: grid;
place-items: center;
}
@@ -250,15 +250,15 @@
display: flex;
flex-wrap: wrap;
align-items: center;
- gap: 7px;
- margin-bottom: 13px;
+ gap: $space-2;
+ margin-bottom: $space-3;
&__clear {
font-size: $text-xs;
color: var(--text-faint);
- padding: 5px 8px;
+ padding: $space-tight $space-2;
border: none;
- border-radius: 7px;
+ border-radius: $radius-control;
background: transparent;
cursor: pointer;
@@ -269,11 +269,11 @@
.sk-gridchip {
display: inline-flex;
align-items: center;
- gap: 8px;
- padding: 5px 6px 5px 10px;
+ gap: $space-2;
+ padding: $space-tight $space-tight $space-tight $space-3;
border: 1px solid var(--border);
background: var(--surface-2);
- border-radius: 9px;
+ border-radius: $radius-card;
font-size: $text-sm;
color: var(--text);
max-width: 360px;
@@ -294,7 +294,7 @@
width: 18px;
height: 18px;
border: none;
- border-radius: 5px;
+ border-radius: $radius-control;
background: transparent;
display: grid;
place-items: center;
@@ -309,7 +309,7 @@
border-color: var(--accent-dim);
color: var(--accent-bright);
font-size: $text-xs;
- padding: 6px 10px;
+ padding: $space-tight $space-3;
cursor: pointer;
}
}
@@ -346,10 +346,10 @@
position: relative;
display: flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
// 26px of right padding is the reserved lane for the "⋮" button, so the
// label never reflows when it appears on hover.
- padding: 10px 26px 10px 14px;
+ padding: $space-3 $space-6 $space-3 $space-4;
font-size: $text-xs;
color: var(--text-ghost);
user-select: none;
@@ -389,7 +389,7 @@
}
&__td {
- padding: 11px 14px;
+ padding: $space-3 $space-4;
min-width: 0;
font-size: $text-sm;
color: var(--text-dim);
@@ -405,14 +405,14 @@
&__name {
display: flex;
align-items: center;
- gap: 11px;
+ gap: $space-3;
min-width: 0;
}
&__avatar {
width: 30px;
height: 30px;
- border-radius: 9px;
+ border-radius: $radius-card;
flex-shrink: 0;
display: grid;
place-items: center;
@@ -441,8 +441,8 @@
&__sub {
display: flex;
align-items: center;
- gap: 9px;
- margin-top: 2px;
+ gap: $space-2;
+ margin-top: $space-hair;
font-size: $text-xs;
color: var(--text-ghost);
white-space: nowrap;
@@ -461,7 +461,7 @@
border-radius: 50%;
background: var(--border-strong);
flex-shrink: 0;
- margin-right: 9px;
+ margin-right: $space-2;
}
}
@@ -470,7 +470,7 @@
display: flex;
align-items: center;
justify-content: center;
- padding-left: 12px !important;
+ padding-left: $space-3 !important;
padding-right: 0 !important;
cursor: pointer;
}
@@ -478,7 +478,7 @@
&__box {
width: 16px;
height: 16px;
- border-radius: 5px;
+ border-radius: $radius-control;
border: 1.5px solid var(--border-strong);
display: grid;
place-items: center;
@@ -497,14 +497,14 @@
display: flex;
align-items: center;
justify-content: flex-end;
- gap: 2px;
- padding-right: 10px !important;
+ gap: $space-hair;
+ padding-right: $space-3 !important;
button {
width: 24px;
height: 24px;
border: none;
- border-radius: 6px;
+ border-radius: $radius-control;
background: transparent;
display: grid;
place-items: center;
@@ -523,9 +523,9 @@
&__group {
display: flex;
align-items: center;
- gap: 10px;
+ gap: $space-3;
width: 100%;
- padding: 9px 16px;
+ padding: $space-2 $space-4;
border: none;
border-top: 1px solid var(--border-soft);
background: var(--surface-0);
@@ -557,8 +557,8 @@
.sk-gridfoot {
display: flex;
align-items: center;
- gap: 14px;
- padding: 12px 16px;
+ gap: $space-4;
+ padding: $space-3 $space-4;
border-top: 1px solid var(--border-soft);
font-size: $text-xs;
color: var(--text-ghost);
@@ -570,7 +570,7 @@
.sk-gridpager {
display: flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
&__label {
font-size: $text-xs;
@@ -580,8 +580,8 @@
// The shared compact Select trigger, sized down to the pager's mono scale.
&__sel.ui-select-trigger {
height: 24px;
- margin-right: 6px;
- border-radius: 7px;
+ margin-right: $space-tight;
+ border-radius: $radius-control;
font-size: $text-xs;
color: var(--text-dim);
}
@@ -592,7 +592,7 @@
height: 24px;
display: grid;
place-items: center;
- border-radius: 7px;
+ border-radius: $radius-control;
border: 1px solid var(--border);
background: var(--surface-2);
color: var(--text-dim);
@@ -611,7 +611,7 @@
&__pos {
font-size: $text-xs;
color: var(--text-dim);
- padding: 0 4px;
+ padding: 0 $space-1;
min-width: 44px;
text-align: center;
}
@@ -624,7 +624,7 @@
width: auto;
min-width: 15.5rem;
max-width: 20rem;
- padding: 8px;
+ padding: $space-2;
display: flex;
flex-direction: column;
gap: 1px;
@@ -632,30 +632,30 @@
&__head {
font-size: $text-xs;
color: var(--text-ghost);
- padding: 5px 8px 7px;
+ padding: $space-tight $space-2 $space-2;
}
&__note {
font-size: $text-xs;
color: var(--text-ghost);
- padding: 2px 9px 8px;
+ padding: $space-hair $space-2 $space-2;
line-height: 1.45;
}
&__sep {
height: 1px;
background: var(--border-soft);
- margin: 6px 4px;
+ margin: $space-tight $space-1;
}
&__opt {
display: flex;
align-items: center;
- gap: 10px;
+ gap: $space-3;
width: 100%;
- padding: 7px 9px;
+ padding: $space-2 $space-2;
border: none;
- border-radius: 8px;
+ border-radius: $radius-card;
background: transparent;
font-size: $text-sm;
font-family: inherit;
@@ -678,7 +678,7 @@
&__box {
width: 15px;
height: 15px;
- border-radius: 4px;
+ border-radius: $radius-badge;
border: 1.5px solid var(--border-strong);
display: grid;
place-items: center;
@@ -705,12 +705,12 @@
&__mini {
display: flex;
align-items: center;
- gap: 7px;
- padding: 6px 9px;
+ gap: $space-2;
+ padding: $space-tight $space-2;
border: 1px solid var(--border);
background: var(--surface-3);
- border-radius: 8px;
- margin: 2px 4px 6px;
+ border-radius: $radius-card;
+ margin: $space-hair $space-1 $space-tight;
svg { color: var(--text-ghost); flex-shrink: 0; }
@@ -732,19 +732,19 @@
// the plain-block `__scroll` list.
&__op.ui-select-trigger {
display: flex;
- margin: 2px 4px 6px;
+ margin: $space-hair $space-1 $space-tight;
font-size: $text-sm;
}
&__quick {
display: flex;
flex-wrap: wrap;
- gap: 5px;
- padding: 2px 4px 6px;
+ gap: $space-tight;
+ padding: $space-hair $space-1 $space-tight;
button {
- padding: 5px 9px;
- border-radius: 7px;
+ padding: $space-tight $space-2;
+ border-radius: $radius-control;
border: 1px solid var(--border);
background: var(--surface-3);
font-size: $text-xs;
@@ -757,16 +757,16 @@
&__foot {
display: flex;
- gap: 6px;
- padding: 6px 4px 0;
- margin-top: 4px;
+ gap: $space-tight;
+ padding: $space-tight $space-1 0;
+ margin-top: $space-1;
border-top: 1px solid var(--border-soft);
button {
flex: 1;
- padding: 7px;
+ padding: $space-2;
border: none;
- border-radius: 7px;
+ border-radius: $radius-control;
font-size: $text-xs;
font-weight: $font-weight-medium;
font-family: inherit;
@@ -799,8 +799,8 @@
&__tabs {
display: flex;
- gap: 2px;
- padding: 0 16px;
+ gap: $space-hair;
+ padding: 0 $space-4;
border-bottom: 1px solid var(--border);
background: var(--surface-0);
flex-shrink: 0;
@@ -809,8 +809,8 @@
position: relative;
display: flex;
align-items: center;
- gap: 8px;
- padding: 11px 13px 12px;
+ gap: $space-2;
+ padding: $space-3 $space-3 $space-3;
border: none;
background: transparent;
font-size: $text-sm;
@@ -830,7 +830,7 @@
right: 8px;
bottom: -1px;
height: 2px;
- border-radius: 2px 2px 0 0;
+ border-radius: $radius-badge $radius-badge 0 0;
background: var(--accent);
box-shadow: 0 -1px 12px var(--accent-glow);
}
@@ -840,8 +840,8 @@
color: var(--text-ghost);
background: var(--surface-2);
border: 1px solid var(--border-soft);
- border-radius: 5px;
- padding: 1px 5px;
+ border-radius: $radius-control;
+ padding: 1px $space-tight;
}
&.is-on .n { color: var(--text-dim); background: var(--surface-3); border-color: var(--border); }
@@ -853,8 +853,8 @@
&__foot {
display: flex;
align-items: center;
- gap: 8px;
- padding: 14px 20px;
+ gap: $space-2;
+ padding: $space-4 $space-5;
border-top: 1px solid var(--border);
background: var(--surface-0);
flex-shrink: 0;
@@ -864,14 +864,14 @@
}
.sk-gridsec {
- padding: 18px 20px;
+ padding: $space-5 $space-5;
border-bottom: 1px solid var(--border-soft);
&__head {
display: flex;
align-items: center;
- gap: 10px;
- margin-bottom: 13px;
+ gap: $space-3;
+ margin-bottom: $space-3;
&--separated { margin-top: 18px; }
}
@@ -885,13 +885,13 @@
&__add {
display: flex;
align-items: center;
- gap: 5px;
+ gap: $space-tight;
font-size: $text-xs;
font-family: inherit;
color: var(--accent-bright);
- padding: 4px 8px;
+ padding: $space-1 $space-2;
border: none;
- border-radius: 7px;
+ border-radius: $radius-control;
background: transparent;
cursor: pointer;
@@ -899,9 +899,9 @@
}
&__none {
- padding: 14px;
+ padding: $space-4;
border: 1px dashed var(--border);
- border-radius: 10px;
+ border-radius: $radius-card;
text-align: center;
font-size: $text-sm;
color: var(--text-ghost);
@@ -910,7 +910,7 @@
&__hint {
font-size: $text-sm;
color: var(--text-faint);
- margin-bottom: 10px;
+ margin-bottom: $space-3;
}
&__tags { display: flex; flex-wrap: wrap; gap: 6px; }
@@ -919,24 +919,24 @@
.sk-gridmatch {
display: inline-flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
font-size: $text-sm;
color: var(--text-faint);
- margin-bottom: 11px;
+ margin-bottom: $space-3;
}
.sk-gridseg {
display: inline-flex;
- gap: 2px;
+ gap: $space-hair;
background: var(--surface-3);
border: 1px solid var(--border);
- border-radius: 8px;
- padding: 2px;
+ border-radius: $radius-card;
+ padding: $space-hair;
button {
- padding: 4px 10px;
+ padding: $space-1 $space-3;
border: none;
- border-radius: 6px;
+ border-radius: $radius-control;
background: transparent;
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -953,9 +953,9 @@
.sk-gridrule {
display: grid;
grid-template-columns: 1fr 116px 26px;
- gap: 6px;
+ gap: $space-tight;
align-items: center;
- margin-bottom: 9px;
+ margin-bottom: $space-2;
&__value { grid-column: 1 / -1; }
@@ -971,8 +971,8 @@
input[type='number'],
input[type='date'] {
width: 100%;
- padding: 8px 10px;
- border-radius: 8px;
+ padding: $space-2 $space-3;
+ border-radius: $radius-card;
border: 1px solid var(--border);
background: var(--surface-2);
color: var(--text);
@@ -986,7 +986,7 @@
width: 26px;
height: 30px;
border: none;
- border-radius: 7px;
+ border-radius: $radius-control;
background: transparent;
display: grid;
place-items: center;
@@ -999,14 +999,14 @@
&__join {
font-size: $text-xs;
color: var(--text-ghost);
- padding: 1px 0 6px 2px;
+ padding: 1px 0 $space-tight $space-hair;
}
&__enum { display: flex; flex-wrap: wrap; gap: 6px; }
&__tag {
- padding: 5px 10px;
- border-radius: 7px;
+ padding: $space-tight $space-3;
+ border-radius: $radius-control;
border: 1px solid var(--border);
background: var(--surface-2);
font-size: $text-xs;
@@ -1028,9 +1028,9 @@
.sk-gridcol {
display: flex;
align-items: center;
- gap: 10px;
- padding: 7px 9px;
- border-radius: 8px;
+ gap: $space-3;
+ padding: $space-2 $space-2;
+ border-radius: $radius-card;
border: 1px solid transparent;
font-size: $text-sm;
color: var(--text-dim);
@@ -1076,7 +1076,7 @@
display: flex;
align-items: center;
justify-content: flex-end;
- gap: 6px;
+ gap: $space-tight;
}
// Purge is the one irreversible control here, so it stays a quiet icon
diff --git a/frontend/src/styles/components/_deploy.scss b/frontend/src/styles/components/_deploy.scss
index 1b065f5d..80aac083 100644
--- a/frontend/src/styles/components/_deploy.scss
+++ b/frontend/src/styles/components/_deploy.scss
@@ -123,7 +123,7 @@
padding: $space-12 $space-8;
background: $bg-card;
border: 1px dashed $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
svg {
color: $text-tertiary;
@@ -156,7 +156,7 @@
padding: $space-4 $space-6;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
.deploy-repo-info {
@@ -201,7 +201,7 @@
margin-top: $space-3;
padding: $space-3;
background: $bg-hover;
- border-radius: $radius-md;
+ border-radius: $radius-control;
overflow: hidden;
code {
@@ -251,7 +251,7 @@
.webhook-log-item {
padding: $space-3;
background: $bg-hover;
- border-radius: $radius-md;
+ border-radius: $radius-control;
border: 1px solid $border-subtle;
}
@@ -267,7 +267,7 @@
padding: $space-1 $space-2;
font-size: $text-xs;
font-weight: $font-weight-medium;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
text-transform: capitalize;
&.github {
@@ -304,7 +304,7 @@
margin: 0;
padding: $space-2;
background: $bg-body;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
font-family: $font-mono;
font-size: $text-xs;
color: $text-secondary;
@@ -351,7 +351,7 @@
margin: 0;
padding: $space-3;
background: $bg-hover;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-family: $font-mono;
font-size: $text-xs;
color: $text-primary;
diff --git a/frontend/src/styles/components/_deployments.scss b/frontend/src/styles/components/_deployments.scss
index 69f4da35..9f7c1168 100644
--- a/frontend/src/styles/components/_deployments.scss
+++ b/frontend/src/styles/components/_deployments.scss
@@ -18,7 +18,7 @@
text-align: center;
background: $bg-card;
border: 1px dashed $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
svg {
color: $text-tertiary;
@@ -46,7 +46,7 @@
&::before {
content: '';
position: absolute;
- inset-inline-start: 7px;
+ inset-inline-start: $space-2;
top: 0;
bottom: 0;
width: 2px;
@@ -80,7 +80,7 @@
&__card {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-4;
display: flex;
flex-direction: column;
@@ -120,10 +120,10 @@
display: inline-flex;
align-items: center;
gap: $space-1;
- padding: 2px $space-2;
+ padding: $space-hair $space-2;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-secondary;
font-size: $text-sm;
}
@@ -142,10 +142,10 @@
}
.deploy-timeline__item {
- padding-inline-start: 44px;
+ padding-inline-start: $space-12;
&::before {
- inset-inline-start: 13px;
+ inset-inline-start: $space-3;
}
}
@@ -256,11 +256,11 @@
padding: $space-3 $space-4;
@include status-variant($info, $info-bg, $info-border);
border: 1px solid $info-border;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
svg {
flex-shrink: 0;
- margin-block-start: 2px;
+ margin-block-start: $space-hair;
}
p {
@@ -284,11 +284,11 @@
padding: $space-3 $space-4;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
> svg {
flex-shrink: 0;
- margin-block-start: 2px;
+ margin-block-start: $space-hair;
color: $text-tertiary;
}
@@ -359,7 +359,7 @@
padding: $space-3;
background: $info-bg;
border: 1px solid $info-border;
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
&__summary-icon {
@@ -371,7 +371,7 @@
&__summary-text {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
}
&__summary-label {
@@ -412,15 +412,15 @@
padding: 0;
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
}
&__line {
display: flex;
align-items: center;
gap: $space-2;
- padding: 2px $space-2;
- border-radius: $radius-sm;
+ padding: $space-hair $space-2;
+ border-radius: $radius-badge;
font-family: $font-mono;
font-size: $text-sm;
min-width: 0;
@@ -524,7 +524,7 @@
padding: $space-4;
background: $warning-bg;
border: 1px solid $warning-border;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
> ul {
margin: 0;
@@ -553,7 +553,7 @@
padding: $space-4;
background: $danger-bg;
border: 1px solid $danger-border;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
color: $danger;
> svg {
@@ -615,7 +615,7 @@
&__value {
width: 100%;
- margin-inline-start: 20px;
+ margin-inline-start: $space-5;
text-align: start;
}
}
diff --git a/frontend/src/styles/components/_design-system.scss b/frontend/src/styles/components/_design-system.scss
index 9c9404f9..99c579d8 100644
--- a/frontend/src/styles/components/_design-system.scss
+++ b/frontend/src/styles/components/_design-system.scss
@@ -15,11 +15,13 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
// Pill — status badge (dot + label)
// ------------------------------------------------------------
.sk-pill {
+ // Badge spec: 20px tall, 4px radius, 12px/500, tinted fill, flat dot.
display: inline-flex;
align-items: center;
- gap: 6px;
- padding: 3px 9px;
- border-radius: 6px;
+ height: 20px;
+ gap: $space-tight;
+ padding: 0 $space-tight;
+ border-radius: $radius-badge;
font-size: $text-xs;
font-weight: $font-weight-medium;
white-space: nowrap;
@@ -46,10 +48,11 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
%sk-state {
display: inline-flex;
align-items: center;
- padding: 3px 9px;
- border-radius: 6px;
+ height: 20px;
+ padding: 0 $space-tight;
+ border-radius: $radius-badge;
font-size: $text-xs;
- font-weight: $font-weight-semibold;
+ font-weight: $font-weight-medium;
white-space: nowrap;
flex-shrink: 0;
}
@@ -72,10 +75,11 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
.sk-tag {
display: inline-flex;
align-items: center;
- padding: 2px 7px;
- border-radius: 5px;
+ height: 20px;
+ padding: 0 $space-tight;
+ border-radius: $radius-badge;
font-size: $text-xs;
- font-weight: $font-weight-semibold;
+ font-weight: $font-weight-medium;
border: 1px solid var(--border-strong);
color: var(--text-dim);
background: var(--surface-2);
@@ -90,18 +94,18 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
// ------------------------------------------------------------
.sk-seg {
display: inline-flex;
- gap: 2px;
+ gap: $space-hair;
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: 9px;
- padding: 3px;
+ border-radius: $radius-card;
+ padding: $space-1;
&__btn {
display: inline-flex;
align-items: center;
- gap: 7px;
- padding: 6px 12px;
- border-radius: 6px;
+ gap: $space-2;
+ padding: $space-tight $space-3;
+ border-radius: $radius-control;
font-size: $text-sm;
color: var(--text-faint);
font-weight: $font-weight-medium;
@@ -129,7 +133,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
background: var(--surface);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
- padding: 11px 13px;
+ padding: $space-3 $space-3;
position: relative;
overflow: hidden;
transition: border-color 0.15s;
@@ -137,7 +141,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
align-items: center;
- gap: 11px;
+ gap: $space-3;
// The spark spans the full width on its own line under the row.
grid-template-areas: "icon body trend" "spark spark spark";
@@ -181,9 +185,9 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__sub {
font-size: $text-xs;
color: var(--text-faint);
- margin-top: 3px;
+ margin-top: $space-1;
display: flex;
- gap: 12px;
+ gap: $space-3;
flex-wrap: wrap;
}
&__trend {
@@ -200,7 +204,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
// — the design mock's `.kpi-spark`.
&__spark {
grid-area: spark;
- margin: 8px -13px -11px;
+ margin: $space-2 -13px -11px;
line-height: 0;
opacity: 0.9;
@@ -220,14 +224,14 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
.sk-kpiband-wrap {
display: flex;
flex-direction: column;
- gap: 10px;
+ gap: $space-3;
margin-bottom: $space-5;
}
.sk-kpiband {
display: grid;
grid-template-columns: repeat(var(--kpi-cols, 4), minmax(0, 1fr));
- gap: 14px;
+ gap: $space-4;
&--dense { gap: 10px; }
@@ -253,7 +257,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
align-self: flex-start;
background: none;
border: none;
- padding: 2px 0;
+ padding: $space-hair $space-tight;
font-size: $text-xs;
color: var(--accent-bright);
cursor: pointer;
@@ -264,8 +268,8 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__strip {
display: flex;
flex-wrap: wrap;
- gap: 8px 20px;
- padding: 10px 12px;
+ gap: $space-2 $space-5;
+ padding: $space-3 $space-3;
border: 1px solid var(--border-soft);
border-radius: var(--radius);
background: var(--surface);
@@ -291,7 +295,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
// ------------------------------------------------------------
.sk-gauge {
height: 5px;
- border-radius: 3px;
+ border-radius: $radius-badge;
background: var(--surface-3);
overflow: hidden;
@@ -302,7 +306,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
// ServiceTile — gradient initial avatar
// ------------------------------------------------------------
.sk-tile {
- border-radius: 10px;
+ border-radius: $radius-card;
display: grid;
place-items: center;
font-weight: $font-weight-semibold;
@@ -363,7 +367,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
font-size: $text-xs;
color: var(--text-faint);
font-weight: $font-weight-semibold;
- padding: 11px 16px;
+ padding: $space-3 $space-4;
border-bottom: 1px solid var(--border);
// Header cells that carry a "⋮" reserve its lane, so the label never
@@ -383,16 +387,16 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
// Filtered-to-nothing: the header stays, because the control that undoes it
// lives in the header menu.
&__nomatch td {
- padding: 34px 16px !important;
+ padding: $space-8 $space-4 !important;
text-align: center;
color: var(--text-faint);
font-size: $text-sm;
button {
- margin-left: 10px;
- padding: 5px 10px;
+ margin-left: $space-3;
+ padding: $space-tight $space-3;
border: 1px solid var(--border);
- border-radius: 7px;
+ border-radius: $radius-control;
background: var(--surface-2);
color: var(--text-dim);
font-size: $text-xs;
@@ -450,7 +454,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
user-select: none;
td {
- padding: 7px 16px !important;
+ padding: $space-2 $space-4 !important;
background: var(--surface-2);
border-bottom: 1px solid var(--border-soft);
}
@@ -479,8 +483,8 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
color: var(--text-faint);
background: var(--surface);
border: 1px solid var(--border-soft);
- border-radius: 999px;
- padding: 1px 7px;
+ border-radius: $radius-full;
+ padding: 1px $space-2;
}
}
@@ -510,8 +514,8 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
display: flex;
align-items: center;
justify-content: space-between;
- gap: 12px;
- padding: 9px 16px;
+ gap: $space-3;
+ padding: $space-2 $space-4;
border-top: 1px solid var(--border-soft);
&__count {
@@ -539,30 +543,30 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
// ------------------------------------------------------------
.sk-tablemenu {
width: 15rem;
- padding: 10px;
+ padding: $space-3;
display: flex;
flex-direction: column;
- gap: 4px;
+ gap: $space-1;
&__title {
font-size: $text-xs;
color: var(--text-faint);
font-weight: $font-weight-semibold;
- padding: 2px 6px 6px;
+ padding: $space-hair $space-tight $space-tight;
}
&__section {
font-size: $text-xs;
color: var(--text-ghost);
- padding: 8px 6px 3px;
+ padding: $space-2 $space-tight $space-1;
border-top: 1px solid var(--border-soft);
- margin-top: 4px;
+ margin-top: $space-1;
}
&__empty {
font-size: $text-xs;
color: var(--text-faint);
- padding: 6px;
+ padding: $space-tight;
}
&__list { display: flex; flex-direction: column; gap: 1px; }
@@ -570,11 +574,11 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__item {
display: flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
width: 100%;
- padding: 6px 8px;
+ padding: $space-tight $space-2;
border: none;
- border-radius: 7px;
+ border-radius: $radius-control;
background: transparent;
color: var(--text-dim);
font-size: $text-sm;
@@ -595,9 +599,9 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__row {
display: flex;
align-items: center;
- gap: 6px;
- padding: 4px 6px;
- border-radius: 7px;
+ gap: $space-tight;
+ padding: $space-1 $space-tight;
+ border-radius: $radius-control;
background: var(--surface-2);
}
@@ -628,7 +632,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
width: 24px;
height: 24px;
border: none;
- border-radius: 6px;
+ border-radius: $radius-control;
background: transparent;
color: var(--text-faint);
cursor: pointer;
@@ -642,9 +646,9 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__footer {
display: flex;
justify-content: flex-end;
- gap: 8px;
- padding-top: 8px;
- margin-top: 4px;
+ gap: $space-2;
+ padding-top: $space-2;
+ margin-top: $space-1;
border-top: 1px solid var(--border-soft);
}
}
@@ -656,17 +660,17 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
.sk-sortchips {
display: flex;
align-items: center;
- gap: 7px;
+ gap: $space-2;
flex-wrap: wrap;
- padding: 8px 2px 0;
+ padding: $space-2 $space-hair 0;
&__chip {
display: inline-flex;
align-items: center;
- gap: 2px;
+ gap: $space-hair;
height: 24px;
- padding-left: 9px;
- border-radius: 999px;
+ padding-left: $space-2;
+ border-radius: $radius-full;
background: var(--accent-bg-soft);
border: 1px solid var(--accent-dim);
color: var(--accent-bright);
@@ -679,15 +683,15 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
font-size: $text-xs;
font-weight: $font-weight-semibold;
opacity: 0.8;
- margin-right: 2px;
+ margin-right: $space-hair;
}
&__body {
display: inline-flex;
align-items: center;
- gap: 5px;
+ gap: $space-tight;
height: 100%;
- padding: 0 4px 0 0;
+ padding: 0 $space-1 0 0;
border: none;
background: none;
color: inherit;
@@ -704,9 +708,9 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
justify-content: center;
width: 18px;
height: 18px;
- margin-right: 3px;
+ margin-right: $space-1;
border: none;
- border-radius: 999px;
+ border-radius: $radius-full;
background: transparent;
color: inherit;
opacity: 0.7;
@@ -719,7 +723,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__reset {
border: none;
background: none;
- padding: 0 4px;
+ padding: 0 $space-1;
color: var(--text-faint);
font-size: $text-xs;
font-family: inherit;
@@ -739,18 +743,18 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__dot {
width: 7px;
height: 7px;
- border-radius: 999px;
+ border-radius: $radius-full;
background: var(--amber);
- margin-left: 2px;
+ margin-left: $space-hair;
flex-shrink: 0;
}
&__row {
display: flex;
align-items: center;
- gap: 2px;
- border-radius: 7px;
- padding-right: 4px;
+ gap: $space-hair;
+ border-radius: $radius-control;
+ padding-right: $space-1;
transition: background 0.12s;
&:hover { background: var(--surface-2); }
@@ -762,8 +766,8 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
min-width: 0;
display: flex;
align-items: center;
- gap: 7px;
- padding: 6px 8px;
+ gap: $space-2;
+ padding: $space-tight $space-2;
border: none;
background: none;
color: var(--text-dim);
@@ -790,7 +794,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
width: 24px;
height: 24px;
border: none;
- border-radius: 6px;
+ border-radius: $radius-control;
background: transparent;
color: var(--text-faint);
cursor: pointer;
@@ -811,27 +815,27 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__update {
display: flex;
justify-content: flex-end;
- gap: 4px;
- padding: 6px 2px 2px;
+ gap: $space-1;
+ padding: $space-tight $space-hair $space-hair;
border-top: 1px solid var(--border-soft);
- margin-top: 4px;
+ margin-top: $space-1;
}
&__save {
display: flex;
- gap: 8px;
- padding-top: 8px;
- margin-top: 4px;
+ gap: $space-2;
+ padding-top: $space-2;
+ margin-top: $space-1;
border-top: 1px solid var(--border-soft);
input {
flex: 1;
min-width: 0;
height: 30px;
- padding: 0 10px;
+ padding: 0 $space-3;
background: var(--surface-2);
border: 1px solid var(--border-soft);
- border-radius: 8px;
+ border-radius: $radius-card;
color: var(--text);
font-size: $text-sm;
font-family: inherit;
@@ -856,8 +860,8 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
z-index: 60;
display: flex;
align-items: center;
- gap: 12px;
- padding: 7px 9px 7px 16px;
+ gap: $space-3;
+ padding: $space-2 $space-2 $space-2 $space-4;
// It floats over a dark page in a dark pill, so at --surface with a hairline
// border it read as a smudge rather than a control. Lifted one step to
// --surface-2, given an accent-tinted rim and a deeper, wider shadow: the
@@ -865,7 +869,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
// greys a few percent apart never will.
background: var(--surface-2);
border: 1px solid var(--border-strong);
- border-radius: 999px;
+ border-radius: $radius-full;
box-shadow:
0 18px 44px rgba(0, 0, 0, 0.55),
0 2px 10px rgba(0, 0, 0, 0.4),
@@ -887,7 +891,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__actions {
display: inline-flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
min-width: 0;
overflow-x: auto;
scrollbar-width: none;
@@ -898,10 +902,10 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
flex-shrink: 0;
display: inline-flex;
align-items: center;
- gap: 7px;
- padding: 6px 11px;
+ gap: $space-2;
+ padding: $space-tight $space-3;
border: none;
- border-radius: 8px;
+ border-radius: $radius-card;
background: transparent;
font-size: $text-sm;
color: var(--text-dim);
@@ -922,7 +926,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
width: 26px;
height: 26px;
border: none;
- border-radius: 999px;
+ border-radius: $radius-full;
background: var(--surface-2);
color: var(--text-faint);
cursor: pointer;
@@ -967,7 +971,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__count {
display: inline-flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
font-size: $text-xs;
color: var(--text-faint);
white-space: nowrap;
@@ -980,7 +984,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
height: 32px;
padding: 0 $space-3;
border: 1px solid var(--border);
- border-radius: 8px;
+ border-radius: $radius-card;
background: var(--surface-2);
color: var(--text-dim);
font-size: $text-sm;
@@ -1016,13 +1020,13 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
display: inline-flex;
align-items: center;
gap: $space-2;
- padding: 0 10px;
+ padding: 0 $space-3;
width: 240px;
max-width: 100%;
height: 32px;
background: var(--surface-2);
border: 1px solid var(--border-soft);
- border-radius: 8px;
+ border-radius: $radius-card;
color: var(--text-faint);
transition: border-color 0.14s;
@@ -1047,20 +1051,20 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
// Lives in the ListToolbar tools slot.
&__viewswitch {
display: flex;
- gap: 2px;
+ gap: $space-hair;
flex-shrink: 0;
- padding: 3px;
+ padding: $space-1;
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: 9px;
+ border-radius: $radius-card;
button {
display: grid;
place-items: center;
- padding: 6px 9px;
+ padding: $space-tight $space-2;
background: none;
border: none;
- border-radius: 6px;
+ border-radius: $radius-control;
color: var(--text-faint);
cursor: pointer;
transition: background 0.14s, color 0.14s;
@@ -1081,7 +1085,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__cards {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
- gap: 14px;
+ gap: $space-4;
}
&__cardtile {
@@ -1106,10 +1110,10 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
.sk-topbar {
display: flex;
align-items: center;
- gap: 14px;
+ gap: $space-4;
min-height: 60px;
- padding: 10px 4px;
- margin-bottom: 4px;
+ padding: $space-3 $space-1;
+ margin-bottom: $space-1;
// Its own surface, so the bar reads as chrome rather than as the first row
// of the content — and the same surface as the sidebar, so the two frame
// the page together. Solid rather than the design mock's translucent fill:
@@ -1127,7 +1131,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__actions {
display: inline-flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
flex-shrink: 0;
// House rule: the top bar has FIXED SLOTS, not a publication order.
@@ -1167,7 +1171,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
display: flex;
align-items: center;
justify-content: flex-end;
- margin-left: 6px;
+ margin-left: $space-tight;
flex: 1 1 auto;
min-width: 0;
overflow: hidden;
@@ -1178,12 +1182,12 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__tabs-inner {
display: inline-flex;
align-items: center;
- gap: 2px;
+ gap: $space-hair;
max-width: 100%;
- padding: 3px;
+ padding: $space-1;
background: var(--surface);
border: 1px solid var(--border);
- border-radius: 10px;
+ border-radius: $radius-card;
}
// Title-less group header: the tabs lead the bar from the left edge and
@@ -1195,15 +1199,15 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
margin-left: 0;
}
.sk-topbar__tabs-inner {
- gap: 4px;
+ gap: $space-1;
padding: 0;
background: none;
border: none;
border-radius: 0;
}
.sk-topbar__tab {
- padding: 7px 13px;
- border-radius: 9px;
+ padding: $space-2 $space-3;
+ border-radius: $radius-card;
color: var(--text-faint);
&:hover { background: var(--surface-2); color: var(--text); }
&.is-active { background: var(--accent-bg); color: var(--text); font-weight: $font-weight-semibold; }
@@ -1213,9 +1217,9 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__tab {
display: inline-flex;
align-items: center;
- gap: 6px;
- padding: 6px 11px;
- border-radius: 7px;
+ gap: $space-tight;
+ padding: $space-tight $space-3;
+ border-radius: $radius-control;
font-size: $text-sm;
// Uniform weight across states so activating a tab never re-flows its
// neighbours; the active tab is set apart by fill + colour, not weight.
@@ -1271,7 +1275,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
background: var(--surface);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
- padding: 14px 15px;
+ padding: $space-4 $space-4;
&__label { font-size: $text-xs; color: var(--text-faint); }
&__value { font-size: $text-base; font-weight: $font-weight-semibold; color: var(--text); margin-top: 8px; }
@@ -1283,8 +1287,8 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
display: flex;
justify-content: space-between;
align-items: center;
- gap: 16px;
- padding: 11px 0;
+ gap: $space-4;
+ padding: $space-3 0;
border-top: 1px solid var(--border-soft);
font-size: $text-sm;
&:first-child { border-top: none; }
@@ -1310,7 +1314,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__head {
display: flex; align-items: center; gap: 12px;
- padding: 15px 18px; border-bottom: 1px solid var(--border-soft); flex-shrink: 0;
+ padding: $space-4 $space-5; border-bottom: 1px solid var(--border-soft); flex-shrink: 0;
// Title+subtitle column; min-width 0 lets long titles ellipsis
// instead of pushing the header extra off the panel.
@@ -1327,7 +1331,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
flex: 1;
overflow: auto;
min-height: 0;
- padding: 18px 18px 28px;
+ padding: $space-5 $space-5 $space-8;
&--flush { padding: 0; }
}
@@ -1356,8 +1360,8 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__input {
width: 100%;
height: 32px;
- padding: 0 12px 0 34px;
- border-radius: 8px;
+ padding: 0 $space-3 0 $space-8;
+ border-radius: $radius-card;
border: 1px solid var(--border);
background: var(--surface-2);
color: var(--text);
@@ -1388,9 +1392,9 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
justify-content: center;
min-width: 17px;
height: 17px;
- padding: 0 5px;
- margin-left: 2px;
- border-radius: 9px;
+ padding: 0 $space-tight;
+ margin-left: $space-hair;
+ border-radius: $radius-card;
background: var(--violet);
color: #fff;
font-size: $text-xs;
@@ -1402,7 +1406,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
.sk-filter {
display: flex;
flex-direction: column;
- gap: 22px;
+ gap: $space-6;
&__group { display: flex; flex-direction: column; gap: 10px; }
@@ -1418,17 +1422,17 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__extra {
display: flex;
flex-direction: column;
- gap: 14px;
- padding-top: 4px;
+ gap: $space-4;
+ padding-top: $space-1;
border-top: 1px solid var(--border-soft);
}
&__chip {
display: inline-flex;
align-items: center;
- gap: 6px;
- padding: 6px 13px;
- border-radius: 999px;
+ gap: $space-tight;
+ padding: $space-tight $space-3;
+ border-radius: $radius-full;
border: 1px solid var(--border);
background: var(--surface-2);
color: var(--text-dim);
@@ -1458,9 +1462,9 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
display: flex;
justify-content: space-between;
align-items: center;
- gap: 10px;
- padding-top: 6px;
- margin-top: 4px;
+ gap: $space-3;
+ padding-top: $space-tight;
+ margin-top: $space-1;
border-top: 1px solid var(--border-soft);
}
}
@@ -1472,14 +1476,14 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
.sk-resource-list {
display: flex; flex-direction: column;
border: 1px solid var(--border-soft);
- border-radius: 12px;
+ border-radius: $radius-overlay;
background: var(--surface);
overflow: hidden;
}
.sk-resource-card {
display: flex; align-items: center; gap: 12px;
- padding: 12px 16px;
+ padding: $space-3 $space-4;
border-bottom: 1px solid var(--border-soft);
background: var(--surface);
transition: background 0.12s;
@@ -1512,7 +1516,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
.sk-catalog-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
- gap: 12px;
+ gap: $space-3;
margin: 0;
padding: 0;
list-style: none;
@@ -1521,7 +1525,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
.sk-catalog-card {
display: flex; flex-direction: column; gap: 10px;
min-width: 0;
- padding: 14px;
+ padding: $space-4;
background: var(--surface);
border: 1px solid var(--border-soft);
border-radius: var(--radius-lg);
@@ -1632,7 +1636,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
label,
&__label {
display: block;
- margin-bottom: 7px;
+ margin-bottom: $space-2;
color: $text-secondary;
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -1644,10 +1648,10 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
// like the rest of it without the page having to remember.
select {
width: 100%;
- padding: 8px 11px;
+ padding: $space-2 $space-3;
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-primary;
font-family: inherit;
font-size: $text-xs;
@@ -1684,8 +1688,8 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
}
code {
- padding: 1px 5px;
- border-radius: $radius-sm;
+ padding: 1px $space-tight;
+ border-radius: $radius-badge;
background: var(--surface-3);
font-family: var(--mono);
font-size: $text-xs;
@@ -1695,11 +1699,11 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__input {
display: flex;
align-items: center;
- gap: 9px;
- padding: 8px 11px;
+ gap: $space-2;
+ padding: $space-2 $space-3;
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: $radius-md;
+ border-radius: $radius-control;
transition: border-color $transition-fast, box-shadow $transition-fast;
&:focus-within {
@@ -1743,7 +1747,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__hint {
display: block;
- margin-top: 6px;
+ margin-top: $space-tight;
color: $text-tertiary;
font-size: $text-xs;
}
@@ -1768,7 +1772,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
padding: $space-3 $space-4;
background: rgba($warning-raw, 0.08);
border: 1px solid rgba($warning-raw, 0.2);
- border-radius: $radius-md;
+ border-radius: $radius-control;
> svg { flex-shrink: 0; margin-top: 2px; color: $warning; }
diff --git a/frontend/src/styles/components/_detail-tabs.scss b/frontend/src/styles/components/_detail-tabs.scss
index f7f5eee6..1ba6ff55 100644
--- a/frontend/src/styles/components/_detail-tabs.scss
+++ b/frontend/src/styles/components/_detail-tabs.scss
@@ -74,7 +74,7 @@
font-size: $text-xs;
@include status-variant(var(--accent-bright), var(--accent-bg));
padding: 1px $space-2;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
flex-shrink: 0;
}
@@ -93,7 +93,7 @@
padding: $space-3;
background: var(--bg-code);
border: 1px solid var(--border-soft);
- border-radius: $radius-md;
+ border-radius: $radius-control;
max-height: 60vh;
overflow-y: auto;
@@ -115,7 +115,7 @@
.form-group {
margin: 0;
- padding: 2px 0;
+ padding: $space-hair 0;
& + .form-group {
border-top: 1px solid var(--border-soft);
@@ -124,7 +124,7 @@
// Eyebrow-style field labels (text inputs)
> label {
display: block;
- margin: 10px 0 6px;
+ margin: $space-3 0 $space-tight;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-faint);
@@ -136,7 +136,7 @@
justify-content: space-between;
align-items: center;
gap: $space-4;
- padding: 9px 0;
+ padding: $space-2 0;
label {
margin: 0;
diff --git a/frontend/src/styles/components/_disk-reclaim.scss b/frontend/src/styles/components/_disk-reclaim.scss
index 5335f3d4..0506983c 100644
--- a/frontend/src/styles/components/_disk-reclaim.scss
+++ b/frontend/src/styles/components/_disk-reclaim.scss
@@ -28,7 +28,7 @@
'title size'
'detail size';
column-gap: $spacing-md;
- row-gap: 2px;
+ row-gap: $space-hair;
padding: $spacing-sm 0;
& + & {
diff --git a/frontend/src/styles/components/_domain-field.scss b/frontend/src/styles/components/_domain-field.scss
index f57f18e3..1f450e23 100644
--- a/frontend/src/styles/components/_domain-field.scss
+++ b/frontend/src/styles/components/_domain-field.scss
@@ -28,7 +28,7 @@
flex: 0 0 auto;
width: auto;
max-width: 45%;
- gap: 2px;
+ gap: $space-hair;
justify-content: flex-start;
font-family: var(--mono);
}
diff --git a/frontend/src/styles/components/_empty-state.scss b/frontend/src/styles/components/_empty-state.scss
index 22fbf017..8acbfd96 100644
--- a/frontend/src/styles/components/_empty-state.scss
+++ b/frontend/src/styles/components/_empty-state.scss
@@ -1,6 +1,6 @@
.empty-state {
background: $bg-card;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
border: 1px solid $border-subtle;
color: $text-secondary;
display: flex;
diff --git a/frontend/src/styles/components/_env-vars.scss b/frontend/src/styles/components/_env-vars.scss
index 9856116f..1480ba2a 100644
--- a/frontend/src/styles/components/_env-vars.scss
+++ b/frontend/src/styles/components/_env-vars.scss
@@ -76,7 +76,7 @@
@include card-base();
background: var(--surface-2);
border: 1px solid var(--border-soft);
- border-radius: $radius-md;
+ border-radius: $radius-control;
padding: $space-3 $space-4;
transition: border-color 0.15s, background 0.15s;
@@ -113,7 +113,7 @@
align-items: center;
gap: $space-1;
padding: 1px $space-2;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
font-family: $font-mono;
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -154,7 +154,7 @@
font-size: $text-xs;
background: $bg-body;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
padding: $space-4;
resize: vertical;
min-height: 200px;
diff --git a/frontend/src/styles/components/_extensions.scss b/frontend/src/styles/components/_extensions.scss
index 658a7907..96930d37 100644
--- a/frontend/src/styles/components/_extensions.scss
+++ b/frontend/src/styles/components/_extensions.scss
@@ -13,7 +13,7 @@
background: $bg-card;
border: 1px solid $border-color;
border-left: 3px solid $color-danger;
- border-radius: $radius-md;
+ border-radius: $radius-control;
&__icon {
flex: 0 0 auto;
@@ -38,9 +38,9 @@
color: $text-secondary;
code {
- padding: 0 4px;
+ padding: 0 $space-1;
background: $bg-hover;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
font-size: 0.9em;
}
}
diff --git a/frontend/src/styles/components/_fields.scss b/frontend/src/styles/components/_fields.scss
index 9be832a1..8c163798 100644
--- a/frontend/src/styles/components/_fields.scss
+++ b/frontend/src/styles/components/_fields.scss
@@ -14,7 +14,7 @@
align-items: flex-start;
gap: $space-1;
min-width: 0;
- padding: 4px 4px 4px $space-3;
+ padding: $space-1 $space-1 $space-1 $space-3;
background: var(--surface-2);
border: 1px solid var(--border-soft);
border-radius: var(--radius-sm);
diff --git a/frontend/src/styles/components/_forms.scss b/frontend/src/styles/components/_forms.scss
index f5ddb04b..5e676b28 100644
--- a/frontend/src/styles/components/_forms.scss
+++ b/frontend/src/styles/components/_forms.scss
@@ -134,7 +134,7 @@ display: grid;
> svg {
flex-shrink: 0;
- margin-top: 2px;
+ margin-top: $space-hair;
}
}
@@ -143,7 +143,7 @@ display: grid;
border: 1px solid $danger-border;
color: $danger;
padding: $space-3 $space-4;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
margin-bottom: $space-5;
font-size: $text-sm;
}
@@ -190,7 +190,7 @@ display: grid;
padding: $space-4;
background: $bg-body;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
color: $text-primary;
font-family: $font-mono;
font-size: $text-sm;
@@ -241,7 +241,7 @@ display: flex;
margin-bottom: 0;
background: $bg-card;
border: 1px solid $border-default;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-5;
// Forms already inside a card inherit its surface and spacing.
@@ -272,7 +272,7 @@ display: flex;
padding: $space-3;
background: $bg-hover;
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-primary;
font-size: $text-xs;
transition: border-color $transition-fast;
diff --git a/frontend/src/styles/components/_git-connect.scss b/frontend/src/styles/components/_git-connect.scss
index 760e4d8e..5c7e52fc 100644
--- a/frontend/src/styles/components/_git-connect.scss
+++ b/frontend/src/styles/components/_git-connect.scss
@@ -33,7 +33,7 @@
flex-shrink: 0;
width: 38px;
height: 38px;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
@include status-variant(var(--accent-bright), var(--accent-bg));
}
@@ -47,7 +47,7 @@
span {
display: block;
- margin-top: 2px;
+ margin-top: $space-hair;
color: $text-tertiary;
font-size: $text-xs;
line-height: 1.5;
@@ -95,7 +95,7 @@
justify-content: center;
width: 30px;
height: 30px;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: var(--surface-2);
color: var(--text-dim);
transition: background $transition-fast, color $transition-fast;
@@ -120,10 +120,10 @@
&__detected {
display: inline-flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
width: max-content;
margin-top: $space-1;
- padding: 3px $space-2;
+ padding: $space-1 $space-2;
border: 1px solid var(--accent-dim);
border-radius: $radius-full;
@include status-variant(var(--accent-bright), var(--accent-bg));
@@ -157,7 +157,7 @@
padding: $space-3;
background: var(--surface);
border: 1px solid var(--border-soft);
- border-radius: $radius-md;
+ border-radius: $radius-control;
strong,
span {
@@ -171,7 +171,7 @@
}
span {
- margin-top: 2px;
+ margin-top: $space-hair;
color: $text-tertiary;
font-size: $text-xs;
line-height: 1.4;
@@ -189,7 +189,7 @@
padding: 0 $space-3;
background: var(--surface);
border: 1px solid var(--border);
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-secondary;
cursor: pointer;
transition: border-color $transition-fast, background $transition-fast;
@@ -258,7 +258,7 @@
flex-shrink: 0;
width: 38px;
height: 38px;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
@include status-variant(var(--green), var(--green-bg));
}
@@ -292,13 +292,13 @@
padding: $space-4;
background: var(--surface-2);
border: 1px solid var(--border-soft);
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
&__meta-item {
span {
display: block;
- margin-bottom: 3px;
+ margin-bottom: $space-1;
font-size: $text-xs;
color: var(--text-faint);
}
@@ -348,8 +348,8 @@
&--hint {
display: flex;
align-items: center;
- gap: 9px;
- padding: 11px 13px;
+ gap: $space-2;
+ padding: $space-3 $space-3;
font-size: $text-sm;
color: var(--text-dim);
@@ -360,8 +360,8 @@
&--connect {
display: flex;
align-items: center;
- gap: 12px;
- padding: 14px 15px;
+ gap: $space-3;
+ padding: $space-4 $space-4;
> svg { color: var(--text); flex-shrink: 0; }
}
@@ -381,7 +381,7 @@
&-account {
display: flex;
align-items: center;
- gap: 9px;
+ gap: $space-2;
img { width: 26px; height: 26px; border-radius: 50%; }
.git-connect__gh-account-name {
@@ -397,11 +397,11 @@
&-search {
display: flex;
align-items: center;
- gap: 8px;
- padding: 0 10px;
+ gap: $space-2;
+ padding: 0 $space-3;
background: var(--surface);
border: 1px solid var(--border-soft);
- border-radius: 8px;
+ border-radius: $radius-card;
svg { color: var(--text-faint); flex-shrink: 0; }
.ui-input { border: none; background: none; padding-left: 0; height: 34px; }
@@ -410,7 +410,7 @@
&-list {
display: flex;
flex-direction: column;
- gap: 4px;
+ gap: $space-1;
max-height: 240px;
overflow-y: auto;
}
@@ -420,10 +420,10 @@
&-repo {
display: flex;
align-items: center;
- gap: 10px;
- padding: 9px 11px;
+ gap: $space-3;
+ padding: $space-2 $space-3;
border: 1px solid var(--border-soft);
- border-radius: 8px;
+ border-radius: $radius-card;
background: var(--surface);
text-align: left;
cursor: pointer;
@@ -456,17 +456,17 @@
&-branch {
display: flex;
align-items: center;
- gap: 10px;
+ gap: $space-3;
font-size: $text-sm;
label { color: var(--text-dim); }
select {
flex: 1;
height: 34px;
- padding: 0 10px;
+ padding: 0 $space-3;
background: var(--surface);
border: 1px solid var(--border-soft);
- border-radius: 8px;
+ border-radius: $radius-card;
color: var(--text);
}
}
@@ -506,8 +506,8 @@
&__chip {
display: inline-flex;
align-items: center;
- gap: 5px;
- padding: 5px 10px;
+ gap: $space-tight;
+ padding: $space-tight $space-3;
border: 1px solid var(--border);
border-radius: $radius-full;
background: var(--surface);
@@ -557,10 +557,10 @@
display: inline-flex;
align-items: center;
gap: $space-1;
- padding: 4px 8px 4px 10px;
+ padding: $space-1 $space-2 $space-1 $space-3;
background: var(--bg-code);
border: 1px solid var(--border-soft);
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-size: $text-sm;
code {
@@ -577,7 +577,7 @@
height: 18px;
padding: 0;
border: none;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
background: transparent;
color: var(--text-faint);
cursor: pointer;
diff --git a/frontend/src/styles/components/_global-statusbar.scss b/frontend/src/styles/components/_global-statusbar.scss
index 238914a0..293b6d04 100644
--- a/frontend/src/styles/components/_global-statusbar.scss
+++ b/frontend/src/styles/components/_global-statusbar.scss
@@ -10,8 +10,8 @@
display: flex;
align-items: center;
height: var(--sk-statusbar-height);
- gap: 2px;
- padding-inline: 6px;
+ gap: $space-hair;
+ padding-inline: $space-tight;
border-block-start: 1px solid var(--border-soft);
background: var(--bg-sidebar);
color: var(--text-faint);
@@ -24,10 +24,10 @@
align-items: center;
height: 22px;
min-width: 0;
- gap: 7px;
- padding-inline: 8px;
+ gap: $space-2;
+ padding-inline: $space-2;
border: 0;
- border-radius: 5px;
+ border-radius: $radius-control;
background: transparent;
color: var(--text-faint);
font: inherit;
@@ -95,7 +95,7 @@
height: 3px;
overflow: hidden;
border: 0;
- border-radius: 999px;
+ border-radius: $radius-full;
background: var(--surface-3);
appearance: none;
@@ -150,9 +150,9 @@
min-width: 280px;
max-height: min(46vh, 380px);
overflow-y: auto;
- padding: 5px;
+ padding: $space-tight;
border: 1px solid var(--border-strong);
- border-radius: 12px;
+ border-radius: $radius-overlay;
background: var(--surface-2);
box-shadow: var(--shadow-lg);
animation: statusbar-menu-enter 140ms ease-out;
@@ -160,7 +160,7 @@
&--wide { min-width: 308px; }
&__head {
- padding: 7px 10px 5px;
+ padding: $space-2 $space-3 $space-tight;
color: var(--text-ghost);
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -170,10 +170,10 @@
display: flex;
align-items: center;
width: 100%;
- gap: 11px;
- padding: 9px 10px;
+ gap: $space-3;
+ padding: $space-2 $space-3;
border: 0;
- border-radius: 9px;
+ border-radius: $radius-card;
background: transparent;
color: var(--text);
font: inherit;
@@ -260,7 +260,7 @@
min-height: 38px;
flex: 0 0 auto;
gap: $space-2;
- padding-inline: 8px 8px;
+ padding-inline: $space-2 $space-2;
border-block-end: 1px solid var(--border-soft);
}
@@ -268,8 +268,8 @@
// panel-scoped actions (prototype cp-filters).
&__filters {
flex: 0 0 auto;
- gap: 2px;
- padding: 6px 8px;
+ gap: $space-hair;
+ padding: $space-tight $space-2;
border-block-end: 1px solid var(--border-soft);
}
@@ -277,7 +277,7 @@
&__action {
min-height: 22px;
border: 0;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
background: transparent;
color: var(--text-ghost);
font-size: $text-xs;
@@ -338,16 +338,16 @@
align-items: center;
flex: 1;
min-width: 0;
- gap: 2px;
+ gap: $space-hair;
&__tab {
display: inline-flex;
align-items: center;
- gap: 7px;
+ gap: $space-2;
height: 26px;
- padding: 0 10px;
+ padding: 0 $space-3;
border: 0;
- border-radius: 6px;
+ border-radius: $radius-control;
background: transparent;
color: var(--text-faint);
font-size: $text-sm;
@@ -361,8 +361,8 @@
}
&__badge {
- padding: 1px 5px;
- border-radius: 20px;
+ padding: 1px $space-tight;
+ border-radius: $radius-overlay;
font-size: $text-xs;
@include status-variant(var(--accent-bright), var(--accent-bg));
}
@@ -376,7 +376,7 @@
flex: 0 0 auto;
place-items: center;
border: 0;
- border-radius: 6px;
+ border-radius: $radius-control;
background: transparent;
color: var(--text-faint);
cursor: pointer;
@@ -416,7 +416,7 @@
width: 100%;
min-width: 0;
gap: $space-3;
- padding: 9px 13px;
+ padding: $space-2 $space-3;
border: 0;
background: transparent;
color: var(--text);
@@ -503,7 +503,7 @@
.operations-dock__header {
grid-area: header;
min-height: 38px;
- padding: 0 8px;
+ padding: 0 $space-2;
border-block-end: 1px solid var(--border-soft);
}
.operations-dock__tabs { grid-area: tabs; }
@@ -576,7 +576,7 @@
.global-statusbar {
justify-content: space-around;
- padding-inline: max(4px, env(safe-area-inset-left)) max(4px, env(safe-area-inset-right));
+ padding-inline: max($space-1, env(safe-area-inset-left)) max($space-1, env(safe-area-inset-right));
&__segment,
.statusbar-select { justify-content: center; min-width: 32px; padding-inline: 7px; }
diff --git a/frontend/src/styles/components/_htaccess-converter.scss b/frontend/src/styles/components/_htaccess-converter.scss
index 8aaddcd8..0584c320 100644
--- a/frontend/src/styles/components/_htaccess-converter.scss
+++ b/frontend/src/styles/components/_htaccess-converter.scss
@@ -47,7 +47,7 @@
&__pane {
background: $bg-secondary;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
overflow: hidden;
&--warn {
diff --git a/frontend/src/styles/components/_linked-apps.scss b/frontend/src/styles/components/_linked-apps.scss
index 23da8437..49e159a2 100644
--- a/frontend/src/styles/components/_linked-apps.scss
+++ b/frontend/src/styles/components/_linked-apps.scss
@@ -35,7 +35,7 @@
gap: $space-3;
padding: $space-3;
background: $bg-hover;
- border-radius: $radius-md;
+ border-radius: $radius-control;
.env-label {
font-size: $text-xs;
@@ -72,7 +72,7 @@
padding: $space-3;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
transition: border-color $transition-fast;
&:hover {
@@ -94,7 +94,7 @@
height: 36px;
background: $accent-glow;
color: $accent-primary;
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
.linked-app-details {
@@ -131,7 +131,7 @@
padding: $space-4;
text-align: center;
background: $bg-hover;
- border-radius: $radius-md;
+ border-radius: $radius-control;
p {
margin: 0 0 $space-3;
@@ -153,7 +153,7 @@
padding: $space-3;
background: fade($accent-primary-raw, 10%);
border: 1px solid fade($accent-primary-raw, 20%);
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
.shared-config-badge {
@@ -176,7 +176,7 @@
span {
background: $bg-card;
padding: $space-1 $space-2;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
}
@@ -200,7 +200,7 @@
gap: $space-2;
padding: $space-3;
background: $bg-hover;
- border-radius: $radius-md;
+ border-radius: $radius-control;
margin-bottom: $space-4;
.link-app-label {
@@ -249,7 +249,7 @@
padding: $space-3;
background: $bg-card;
border: 2px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
cursor: pointer;
transition: all $transition-fast;
@@ -276,7 +276,7 @@
margin: $space-4 0;
padding: $space-4;
background: $bg-hover;
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
.link-preview-title {
@@ -300,7 +300,7 @@
padding: $space-3;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
min-width: 120px;
}
@@ -331,8 +331,8 @@
.status-badge-sm {
display: inline-flex;
align-items: center;
- gap: 4px;
- padding: 2px 8px;
+ gap: $space-1;
+ padding: $space-hair $space-2;
border-radius: $radius-full;
font-size: $text-xs;
font-weight: $font-weight-medium;
diff --git a/frontend/src/styles/components/_lists.scss b/frontend/src/styles/components/_lists.scss
index e30381f1..8e6e17f0 100644
--- a/frontend/src/styles/components/_lists.scss
+++ b/frontend/src/styles/components/_lists.scss
@@ -174,9 +174,9 @@
.wp-update-badge {
display: inline-flex;
align-items: center;
- padding: 2px $space-2;
+ padding: $space-hair $space-2;
margin-left: $space-2;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
font-size: $text-xs;
font-weight: $font-weight-medium;
color: $warning;
@@ -188,7 +188,7 @@
@include flex-between();
padding: $space-3 $space-4;
margin-bottom: $space-3;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: fade($warning-raw, 8%);
font-size: $text-xs;
}
@@ -250,7 +250,7 @@
.privileges-list {
display: flex;
flex-wrap: wrap;
- gap: $space-2 - 2;
+ gap: $space-tight;
margin-top: $space-2;
padding-top: $space-2;
border-top: 1px solid $border-subtle;
diff --git a/frontend/src/styles/components/_logs-drawer.scss b/frontend/src/styles/components/_logs-drawer.scss
index eff8bcd8..5fd8cb54 100644
--- a/frontend/src/styles/components/_logs-drawer.scss
+++ b/frontend/src/styles/components/_logs-drawer.scss
@@ -27,7 +27,7 @@
.terminal-ico {
width: 28px;
height: 28px;
- border-radius: 8px;
+ border-radius: $radius-card;
display: grid;
place-items: center;
@include status-variant(var(--green), var(--green-bg));
@@ -60,7 +60,7 @@
&.connected {
background: var(--green);
- box-shadow: 0 0 7px var(--green);
+ box-shadow: none;
animation: sk-overlay-blink 1.4s infinite;
}
@@ -92,7 +92,7 @@
place-items: center;
background: transparent;
border: none;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: var(--text-faint);
cursor: pointer;
transition: background $transition-fast, color $transition-fast;
diff --git a/frontend/src/styles/components/_logs.scss b/frontend/src/styles/components/_logs.scss
index 10198500..037edd71 100644
--- a/frontend/src/styles/components/_logs.scss
+++ b/frontend/src/styles/components/_logs.scss
@@ -19,7 +19,7 @@
padding: $space-2 $space-3;
background: $bg-body;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-primary;
font-size: $text-sm;
}
@@ -34,7 +34,7 @@
overflow: hidden;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
}
.logs-sidebar {
@@ -76,7 +76,7 @@
gap: $space-2;
padding: $space-2;
border: 1px solid transparent;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
color: $text-secondary;
cursor: pointer;
transition: background $transition-fast, border-color $transition-fast, color $transition-fast;
@@ -99,7 +99,7 @@
display: inline-flex;
align-items: center;
justify-content: center;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $bg-elevated;
color: $text-tertiary;
@@ -111,7 +111,7 @@
min-width: 0;
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
}
.log-file-name {
@@ -220,7 +220,7 @@
&__highlight {
background: rgba(245, 185, 69, 0.35);
color: var(--text);
- border-radius: 2px;
+ border-radius: $radius-badge;
padding: 0 1px;
}
}
@@ -320,7 +320,7 @@
.command-output {
background: $bg-body;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-4;
margin-top: $space-5;
diff --git a/frontend/src/styles/components/_managed-card.scss b/frontend/src/styles/components/_managed-card.scss
index 93eda0b8..c14064e9 100644
--- a/frontend/src/styles/components/_managed-card.scss
+++ b/frontend/src/styles/components/_managed-card.scss
@@ -14,7 +14,7 @@
margin: $spacing-xl auto;
background: $bg-card;
border: 1px solid $border-color;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
&__icon {
color: $primary-color;
@@ -56,7 +56,7 @@
padding: $spacing-sm $spacing-md;
background: rgba($warning-color, 0.12);
border: 1px solid rgba($warning-color, 0.35);
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-primary;
font-size: $text-xs;
}
diff --git a/frontend/src/styles/components/_metrics-graph.scss b/frontend/src/styles/components/_metrics-graph.scss
index 22f12a9f..e5d143cb 100644
--- a/frontend/src/styles/components/_metrics-graph.scss
+++ b/frontend/src/styles/components/_metrics-graph.scss
@@ -5,7 +5,7 @@
.metrics-graph-card {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
padding: $space-6;
margin-bottom: $space-6;
@@ -52,7 +52,7 @@
gap: $space-6;
padding: $space-4;
background: $bg-hover;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
margin-bottom: $space-5;
}
@@ -83,7 +83,7 @@
.metrics-chart-container {
margin-bottom: $space-4;
background: linear-gradient(180deg, var(--bg-hover) 0%, transparent 100%);
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-2 0;
&.compact {
@@ -123,7 +123,7 @@
background: var(--surface-2);
backdrop-filter: blur(8px);
border: 1px solid var(--border-strong);
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-3 $space-4;
box-shadow: var(--shadow-lg);
min-width: 140px;
@@ -170,8 +170,8 @@
align-items: center;
gap: $space-2;
background: $bg-hover;
- padding: 4px;
- border-radius: $radius-md;
+ padding: $space-1;
+ border-radius: $radius-control;
border: 1px solid $border-subtle;
}
@@ -179,10 +179,10 @@
background: transparent;
border: 1px solid transparent;
color: $text-tertiary;
- padding: 6px 12px;
+ padding: $space-tight $space-3;
font-size: $text-xs;
font-weight: $font-weight-semibold;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
cursor: pointer;
transition: all $transition-fast;
@@ -243,7 +243,7 @@
.legend-line {
width: 24px;
height: 3px;
- border-radius: 2px;
+ border-radius: $radius-badge;
position: relative;
&::after {
@@ -260,7 +260,7 @@
&.cpu {
background: var(--accent-bright);
- box-shadow: 0 0 8px var(--accent-glow);
+ box-shadow: none;
}
&.memory {
@@ -278,7 +278,7 @@
.metrics-graph-compact {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
padding: $space-4;
margin-bottom: $space-6;
diff --git a/frontend/src/styles/components/_modals.scss b/frontend/src/styles/components/_modals.scss
index 04890ade..3c562f00 100644
--- a/frontend/src/styles/components/_modals.scss
+++ b/frontend/src/styles/components/_modals.scss
@@ -15,7 +15,7 @@
.modal {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-2xl;
+ border-radius: $radius-overlay;
width: 100%;
max-width: 560px;
max-height: 90vh;
@@ -93,7 +93,7 @@
.app-type-card {
background: $bg-body;
border: 1px solid $border-subtle;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
padding: $space-6;
text-align: center;
cursor: pointer;
@@ -107,7 +107,7 @@
.app-type-icon {
@include icon-box(48px);
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
font-size: $text-lg;
font-weight: $font-weight-semibold;
color: white;
diff --git a/frontend/src/styles/components/_notification-center.scss b/frontend/src/styles/components/_notification-center.scss
index 92f36758..10f61484 100644
--- a/frontend/src/styles/components/_notification-center.scss
+++ b/frontend/src/styles/components/_notification-center.scss
@@ -13,7 +13,7 @@
width: 34px;
height: 34px;
border: 1px solid $border-subtle;
- border-radius: 9px;
+ border-radius: $radius-card;
background: $bg-card;
color: $text-secondary;
cursor: pointer;
@@ -32,8 +32,8 @@
right: -5px;
min-width: 17px;
height: 17px;
- padding: 0 4px;
- border-radius: 999px;
+ padding: 0 $space-1;
+ border-radius: $radius-full;
background: $danger;
color: #fff;
font-size: $text-xs;
@@ -52,7 +52,7 @@
max-width: calc(100vw - 32px);
background: $bg-elevated;
border: 1px solid $border-default;
- border-radius: 12px;
+ border-radius: $radius-overlay;
box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
z-index: 1000;
overflow: hidden;
@@ -66,7 +66,7 @@
display: flex;
align-items: center;
justify-content: space-between;
- padding: 12px 14px;
+ padding: $space-3 $space-4;
border-bottom: 1px solid $border-subtle;
}
@@ -79,7 +79,7 @@
&__markall {
display: inline-flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
border: none;
background: none;
cursor: pointer;
@@ -96,7 +96,7 @@
}
&__empty {
- padding: 28px 14px;
+ padding: $space-8 $space-4;
text-align: center;
color: $text-secondary;
font-size: $text-sm;
@@ -104,9 +104,9 @@
&__item {
display: flex;
- gap: 10px;
+ gap: $space-3;
width: 100%;
- padding: 11px 14px;
+ padding: $space-3 $space-4;
border: none;
background: none;
cursor: pointer;
@@ -122,14 +122,14 @@
flex: 0 0 auto;
width: 8px;
height: 8px;
- margin-top: 6px;
+ margin-top: $space-tight;
border-radius: 50%;
}
&__content {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
min-width: 0;
}
@@ -161,7 +161,7 @@
&__hit {
display: flex;
- gap: 10px;
+ gap: $space-3;
flex: 1;
min-width: 0;
padding: 0;
@@ -175,11 +175,11 @@
&__dismiss {
flex: 0 0 auto;
align-self: flex-start;
- margin-top: 2px;
- padding: 2px;
+ margin-top: $space-hair;
+ padding: $space-hair;
border: none;
background: none;
- border-radius: 6px;
+ border-radius: $radius-control;
cursor: pointer;
color: $text-secondary;
line-height: 0;
@@ -188,7 +188,7 @@
}
&__seeall {
- padding: 11px 14px;
+ padding: $space-3 $space-4;
border: none;
background: none;
cursor: pointer;
@@ -206,7 +206,7 @@
.sidebar-footer__row {
display: flex;
align-items: stretch;
- gap: 8px;
+ gap: $space-2;
.user-mini {
flex: 1;
@@ -235,7 +235,7 @@
width: 34px;
height: 34px;
border: 1px solid $border-subtle;
- border-radius: 9px;
+ border-radius: $radius-card;
background: $bg-card;
color: $text-secondary;
cursor: pointer;
@@ -256,7 +256,7 @@
width: 28px;
height: 28px;
border: none;
- border-radius: 7px;
+ border-radius: $radius-control;
background: transparent;
color: var(--text-faint);
cursor: pointer;
@@ -315,7 +315,7 @@
[data-layout="rail"] .sidebar:not(:hover):not(:focus-within) .sidebar-footer__row {
flex-direction: column;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
.user-mini {
flex: 0 0 auto;
diff --git a/frontend/src/styles/components/_notifications.scss b/frontend/src/styles/components/_notifications.scss
index 00e5a93f..55818a3e 100644
--- a/frontend/src/styles/components/_notifications.scss
+++ b/frontend/src/styles/components/_notifications.scss
@@ -21,7 +21,7 @@
padding: $space-3;
background: $danger-bg;
border: 1px solid $danger-border;
- border-radius: $radius-md;
+ border-radius: $radius-control;
&__body {
display: flex;
@@ -51,7 +51,7 @@
padding: $space-3;
background: $bg-card;
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
cursor: pointer;
color: $text-primary;
font-size: $text-xs;
@@ -70,7 +70,7 @@
.notification-channel-card {
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
background: $bg-card;
overflow: hidden;
transition: border-color 0.2s;
@@ -101,7 +101,7 @@
align-items: center;
justify-content: center;
background: $bg-hover;
- border-radius: $radius-md;
+ border-radius: $radius-control;
flex-shrink: 0;
svg {
@@ -181,7 +181,7 @@
.notif-event-category {
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
overflow: hidden;
&__header {
@@ -227,7 +227,7 @@
&__meta {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
min-width: 180px;
}
@@ -249,7 +249,7 @@
&__reset {
background: transparent;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-secondary;
padding: $space-1 $space-2;
font-size: $text-xs;
@@ -266,7 +266,7 @@
gap: $space-1;
padding: $space-1 $space-2;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
background: $bg-card;
color: $text-secondary;
font-size: $text-xs;
@@ -354,12 +354,12 @@
.notif-digest-option {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
flex: 1 1 140px;
padding: $space-3 $space-4;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
cursor: pointer;
text-align: left;
color: $text-secondary;
diff --git a/frontend/src/styles/components/_onboarding-wizard.scss b/frontend/src/styles/components/_onboarding-wizard.scss
index 78ad6ce6..38541f43 100644
--- a/frontend/src/styles/components/_onboarding-wizard.scss
+++ b/frontend/src/styles/components/_onboarding-wizard.scss
@@ -12,7 +12,7 @@
.onboarding-wizard {
background: $bg-card;
border: 1px solid $border-color;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-5;
&__header {
@@ -101,7 +101,7 @@
gap: $space-2;
padding: $space-3 $space-4;
margin-bottom: $space-4;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $danger-bg;
border: 1px solid $danger-border;
color: $danger;
@@ -190,7 +190,7 @@
}
&__step-desc {
- margin: 2px 0 0;
+ margin: $space-hair 0 0;
font-size: $text-xs;
color: $text-secondary;
}
@@ -201,7 +201,7 @@
padding: 0;
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
}
&__log {
@@ -225,7 +225,7 @@
&__trail {
margin-top: $space-4;
border: 1px solid $border-color;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $bg-elevated;
overflow: hidden;
}
@@ -283,7 +283,7 @@
&__trail-row {
display: flex;
gap: $space-3;
- padding: 2px $space-3;
+ padding: $space-hair $space-3;
font-family: $font-mono;
font-size: $text-xs;
line-height: 1.6;
diff --git a/frontend/src/styles/components/_operations-dock.scss b/frontend/src/styles/components/_operations-dock.scss
index ba98680d..1778d10b 100644
--- a/frontend/src/styles/components/_operations-dock.scss
+++ b/frontend/src/styles/components/_operations-dock.scss
@@ -9,10 +9,10 @@
min-height: 42px;
gap: $space-2;
border: 1px solid var(--border-strong);
- border-radius: 999px;
+ border-radius: $radius-full;
background: var(--surface);
color: var(--text);
- box-shadow: $shadow-lg;
+ box-shadow: $shadow-overlay;
svg.is-active { color: var(--cyan); }
}
@@ -22,9 +22,9 @@
display: inline-grid;
min-width: 20px;
height: 20px;
- padding-inline: 5px;
+ padding-inline: $space-tight;
place-items: center;
- border-radius: 999px;
+ border-radius: $radius-full;
font-size: $text-xs;
line-height: 1;
}
@@ -39,9 +39,9 @@
height: min(720px, calc(100vh - #{$space-8}));
overflow: hidden;
border: 1px solid var(--border-strong);
- border-radius: $radius-lg;
+ border-radius: $radius-card;
background: var(--surface);
- box-shadow: $shadow-lg;
+ box-shadow: $shadow-overlay;
}
&__header,
@@ -77,7 +77,7 @@
height: 30px;
flex: 0 0 auto;
place-items: center;
- border-radius: $radius-md;
+ border-radius: $radius-control;
@include status-variant(var(--cyan), var(--cyan-bg));
}
@@ -90,7 +90,7 @@
.btn {
flex: 1;
justify-content: center;
- gap: 6px;
+ gap: $space-tight;
color: var(--text-dim);
span { color: var(--text-faint); font-size: $text-xs; }
@@ -146,8 +146,8 @@
&__row-unread {
position: absolute;
- inset-block-start: 7px;
- inset-inline-end: 7px;
+ inset-block-start: $space-2;
+ inset-inline-end: $space-2;
width: 6px;
height: 6px;
border-radius: 50%;
@@ -194,7 +194,7 @@
height: 5px;
overflow: hidden;
border: 0;
- border-radius: 999px;
+ border-radius: $radius-full;
background: var(--surface-hover);
accent-color: var(--accent-primary);
}
@@ -219,7 +219,7 @@
gap: $space-2;
padding: $space-2 $space-3;
border: 1px solid transparent;
- border-radius: $radius-md;
+ border-radius: $radius-control;
@include status-variant(var(--red), var(--red-bg), var(--red));
font-size: $text-xs;
}
@@ -231,7 +231,7 @@
padding: $space-3;
overflow: hidden;
border: 1px solid var(--amber);
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: var(--amber-bg);
&::before {
@@ -289,7 +289,7 @@
flex: 0 0 auto;
place-items: center;
border: 1px solid var(--amber);
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: var(--amber);
background: var(--surface);
}
@@ -307,7 +307,7 @@
overflow: auto;
padding: $space-3;
border: 1px solid var(--border-soft);
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: var(--bg-code);
font-family: var(--mono);
font-size: $text-xs;
@@ -329,7 +329,7 @@
@media (max-width: $breakpoint-md) {
inset-inline: $space-3;
- inset-block-end: 72px;
+ inset-block-end: $space-16;
&__panel {
width: auto;
diff --git a/frontend/src/styles/components/_previews.scss b/frontend/src/styles/components/_previews.scss
index 7002e1ee..b48f7309 100644
--- a/frontend/src/styles/components/_previews.scss
+++ b/frontend/src/styles/components/_previews.scss
@@ -11,7 +11,7 @@
.preview-settings {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
padding: $space-5;
&__header {
@@ -30,7 +30,7 @@
svg {
color: $accent-primary;
flex-shrink: 0;
- margin-top: 2px;
+ margin-top: $space-hair;
}
h3 {
@@ -51,8 +51,8 @@
font-family: $font-mono;
font-size: $text-xs;
background: $bg-tertiary;
- padding: 1px 5px;
- border-radius: $radius-sm;
+ padding: 1px $space-tight;
+ border-radius: $radius-badge;
color: $text-primary;
}
}
@@ -120,7 +120,7 @@
gap: $space-4;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
padding: $space-4;
flex-wrap: wrap;
@@ -167,8 +167,8 @@
&__sha {
color: $text-tertiary;
background: $bg-tertiary;
- padding: 1px 6px;
- border-radius: $radius-sm;
+ padding: 1px $space-tight;
+ border-radius: $radius-badge;
}
&__url {
diff --git a/frontend/src/styles/components/_private-url.scss b/frontend/src/styles/components/_private-url.scss
index d499d0db..d3ea5dee 100644
--- a/frontend/src/styles/components/_private-url.scss
+++ b/frontend/src/styles/components/_private-url.scss
@@ -5,7 +5,7 @@
.private-url-section {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
padding: $space-5;
margin-bottom: $space-5;
@@ -61,7 +61,7 @@
background: $bg-tertiary;
border: 1px solid $border-subtle;
border-right: none;
- border-radius: $radius-sm 0 0 $radius-sm;
+ border-radius: $radius-badge 0 0 $radius-badge;
padding: $space-2 $space-3;
color: $text-tertiary;
font-family: $font-mono;
@@ -73,7 +73,7 @@
.slug-input {
flex: 1;
- border-radius: 0 $radius-sm $radius-sm 0;
+ border-radius: 0 $radius-badge $radius-badge 0;
font-family: $font-mono;
min-width: 150px;
}
@@ -83,7 +83,7 @@
.private-url-display {
background: fade($success-raw, 10%);
border: 1px solid fade($success-raw, 30%);
- border-radius: $radius-md;
+ border-radius: $radius-control;
padding: $space-4;
margin-bottom: $space-4;
}
diff --git a/frontend/src/styles/components/_proxy.scss b/frontend/src/styles/components/_proxy.scss
index 3ea92cd7..c3ed46b3 100644
--- a/frontend/src/styles/components/_proxy.scss
+++ b/frontend/src/styles/components/_proxy.scss
@@ -51,7 +51,7 @@
padding: $space-4;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
&__label {
@@ -73,7 +73,7 @@
padding: $space-3;
background: $bg-body;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-family: $font-mono;
font-size: $text-xs;
line-height: 1.5;
@@ -92,7 +92,7 @@
margin-bottom: $space-3;
background: $danger-bg;
border: 1px solid $danger-border;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $danger-color;
font-size: $text-xs;
}
@@ -106,7 +106,7 @@
padding: $space-4;
background: $warning-bg;
border: 1px solid $warning-border;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
&__ingress-warning-head {
diff --git a/frontend/src/styles/components/_query-runner.scss b/frontend/src/styles/components/_query-runner.scss
index 5cbfd12d..17352d0d 100644
--- a/frontend/src/styles/components/_query-runner.scss
+++ b/frontend/src/styles/components/_query-runner.scss
@@ -49,7 +49,7 @@
.db-type-badge {
font-size: $text-xs;
padding: $space-1 $space-2;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
font-weight: $font-weight-medium;
&.mysql {
@@ -98,7 +98,7 @@
color: $text-secondary;
font-size: $text-xl;
cursor: pointer;
- border-radius: $radius-md;
+ border-radius: $radius-control;
transition: all $transition-fast;
&:hover {
@@ -164,7 +164,7 @@
border: none;
color: $text-secondary;
cursor: pointer;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
transition: all $transition-fast;
&:hover {
@@ -187,7 +187,7 @@
align-items: center;
justify-content: space-between;
padding: $space-2 $space-3;
- border-radius: $radius-md;
+ border-radius: $radius-control;
cursor: pointer;
transition: all $transition-fast;
@@ -221,7 +221,7 @@
align-items: center;
justify-content: space-between;
padding: $space-1 $space-3;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
cursor: pointer;
transition: all $transition-fast;
@@ -266,7 +266,7 @@
line-height: $line-height-relaxed;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-primary;
resize: vertical;
transition: border-color $transition-fast;
@@ -321,7 +321,7 @@
svg {
flex-shrink: 0;
- margin-top: 2px;
+ margin-top: $space-hair;
}
}
@@ -420,8 +420,8 @@
max-height: calc(100% - 80px);
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
- box-shadow: $shadow-lg;
+ border-radius: $radius-card;
+ box-shadow: $shadow-overlay;
display: flex;
flex-direction: column;
z-index: $z-modal;
@@ -452,7 +452,7 @@
.history-item {
padding: $space-3;
- border-radius: $radius-md;
+ border-radius: $radius-control;
cursor: pointer;
transition: all $transition-fast;
diff --git a/frontend/src/styles/components/_requires-docker.scss b/frontend/src/styles/components/_requires-docker.scss
index 7a75bc60..31ebab81 100644
--- a/frontend/src/styles/components/_requires-docker.scss
+++ b/frontend/src/styles/components/_requires-docker.scss
@@ -36,7 +36,7 @@
margin-bottom: $space-5;
background: $bg-elevated;
border: 1px solid $border-default;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
&__how-label {
@@ -55,7 +55,7 @@
color: $text-primary;
padding: $space-2 $space-3;
background: $bg-tertiary;
- border-radius: $radius-md;
+ border-radius: $radius-control;
overflow-x: auto;
white-space: nowrap;
diff --git a/frontend/src/styles/components/_schedule-picker.scss b/frontend/src/styles/components/_schedule-picker.scss
index ec2fb140..d42b19f2 100644
--- a/frontend/src/styles/components/_schedule-picker.scss
+++ b/frontend/src/styles/components/_schedule-picker.scss
@@ -6,10 +6,10 @@
.schedule-picker {
display: flex;
flex-direction: column;
- gap: 14px;
+ gap: $space-4;
&--compact {
- gap: 10px;
+ gap: $space-3;
font-size: $text-sm;
}
@@ -17,16 +17,16 @@
&__presets {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
- gap: 8px;
+ gap: $space-2;
}
&__preset {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
text-align: left;
- padding: 9px 11px;
- border-radius: var(--radius, 8px);
+ padding: $space-2 $space-3;
+ border-radius: var(--radius, $radius-card);
border: 1px solid var(--border);
background: var(--surface-2);
color: var(--text-dim);
@@ -48,13 +48,13 @@
&__builder {
display: flex;
flex-direction: column;
- gap: 10px;
+ gap: $space-3;
}
&__row {
display: flex;
align-items: center;
- gap: 12px;
+ gap: $space-3;
flex-wrap: wrap;
> label {
@@ -69,14 +69,14 @@
&__days {
display: inline-flex;
- gap: 4px;
+ gap: $space-1;
flex-wrap: wrap;
}
&__day {
min-width: 40px;
- padding: 6px 8px;
- border-radius: 7px;
+ padding: $space-tight $space-2;
+ border-radius: $radius-control;
border: 1px solid var(--border);
background: var(--surface-2);
color: var(--text-faint);
@@ -96,7 +96,7 @@
&__advanced {
display: flex;
flex-direction: column;
- gap: 8px;
+ gap: $space-2;
}
&__cron-input {
@@ -105,7 +105,7 @@
&__fieldhints {
display: flex;
- gap: 8px;
+ gap: $space-2;
flex-wrap: wrap;
}
@@ -122,8 +122,8 @@
color: var(--text);
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: 5px;
- padding: 2px 7px;
+ border-radius: $radius-control;
+ padding: $space-hair $space-2;
min-width: 34px;
text-align: center;
}
@@ -134,9 +134,9 @@
&__footer {
display: flex;
flex-direction: column;
- gap: 6px;
- padding: 11px 12px;
- border-radius: var(--radius, 8px);
+ gap: $space-tight;
+ padding: $space-3 $space-3;
+ border-radius: var(--radius, $radius-card);
border: 1px solid var(--border-soft);
background: var(--surface);
}
@@ -144,7 +144,7 @@
&__cronline {
display: flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
flex-wrap: wrap;
code {
@@ -168,7 +168,7 @@
&__nextruns {
display: flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
flex-wrap: wrap;
font-size: $text-xs;
color: var(--text-faint);
@@ -179,7 +179,7 @@
&__nextrun {
color: var(--text-dim);
background: var(--surface-2);
- border-radius: 5px;
- padding: 1px 7px;
+ border-radius: $radius-control;
+ padding: 1px $space-2;
}
}
diff --git a/frontend/src/styles/components/_server-selector.scss b/frontend/src/styles/components/_server-selector.scss
index 1d176533..a2cec726 100644
--- a/frontend/src/styles/components/_server-selector.scss
+++ b/frontend/src/styles/components/_server-selector.scss
@@ -8,7 +8,7 @@
gap: $space-2;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
padding: $space-2 $space-3;
svg {
diff --git a/frontend/src/styles/components/_services.scss b/frontend/src/styles/components/_services.scss
index 3e8b0143..4ed214ca 100644
--- a/frontend/src/styles/components/_services.scss
+++ b/frontend/src/styles/components/_services.scss
@@ -16,7 +16,7 @@
padding: $space-2 $space-4;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
font-size: $text-sm;
}
@@ -27,7 +27,7 @@
&.running {
background: $success;
- box-shadow: 0 0 8px $success;
+ box-shadow: none;
}
&.stopped {
diff --git a/frontend/src/styles/components/_setup-health.scss b/frontend/src/styles/components/_setup-health.scss
index fbc76f1b..867d9ee4 100644
--- a/frontend/src/styles/components/_setup-health.scss
+++ b/frontend/src/styles/components/_setup-health.scss
@@ -11,9 +11,9 @@
align-items: center;
gap: $space-3;
min-width: 0;
- padding: 9px 8px 9px 13px;
+ padding: $space-2 $space-2 $space-2 $space-3;
border: 1px solid var(--border-soft, #{$border-default});
- border-radius: 10px;
+ border-radius: $radius-card;
background: var(--surface, #{$bg-card});
&__title {
@@ -40,7 +40,7 @@
height: 4px;
overflow: hidden;
border: 0;
- border-radius: 999px;
+ border-radius: $radius-full;
background: var(--surface-3);
appearance: none;
@@ -69,7 +69,7 @@
flex: 0 0 auto;
place-items: center;
border: 0;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
background: transparent;
color: $text-tertiary;
cursor: pointer;
@@ -116,7 +116,7 @@
padding: $space-3 $space-4;
margin-bottom: $space-4;
border: 1px solid var(--warning-border, rgba(245, 179, 66, 0.35));
- border-radius: var(--radius, #{$radius-lg});
+ border-radius: var(--radius, #{$radius-card});
background: var(--warning-bg, rgba(245, 179, 66, 0.08));
&__icon {
@@ -127,7 +127,7 @@
&__body {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
flex: 1;
min-width: 0;
}
diff --git a/frontend/src/styles/components/_shared-resources.scss b/frontend/src/styles/components/_shared-resources.scss
index 12c7fe51..e3ba7ba8 100644
--- a/frontend/src/styles/components/_shared-resources.scss
+++ b/frontend/src/styles/components/_shared-resources.scss
@@ -38,7 +38,7 @@
gap: $space-1;
background: $bg-hover;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
padding: $space-1 $space-2;
font-size: $text-xs;
color: $text-secondary;
@@ -54,7 +54,7 @@
height: 16px;
background: transparent;
border: none;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-tertiary;
cursor: pointer;
font-size: $text-md;
@@ -107,7 +107,7 @@
padding: $space-2 $space-3;
background: $bg-body;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-primary;
font-size: $text-xs;
@@ -122,7 +122,7 @@
color: $text-tertiary;
background: $bg-card;
border: 1px dashed $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-size: $text-xs;
}
@@ -131,7 +131,7 @@
border-left: 2px solid $warning-border;
background: $warning-bg;
padding: $space-2 $space-3;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
}
@@ -173,7 +173,7 @@
display: inline-flex;
align-items: center;
padding: 1px $space-2;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
font-size: $text-xs;
font-weight: $font-weight-semibold;
line-height: 1.5;
@@ -211,7 +211,7 @@
align-items: center;
margin-left: $space-2;
padding: 1px $space-2;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
font-family: $font-main;
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -318,7 +318,7 @@
padding: $space-3;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
&__list {
@@ -339,7 +339,7 @@
padding: $space-3;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
cursor: pointer;
transition: border-color 0.15s;
diff --git a/frontend/src/styles/components/_shortcut-sheet.scss b/frontend/src/styles/components/_shortcut-sheet.scss
index 5c80db45..bf63308b 100644
--- a/frontend/src/styles/components/_shortcut-sheet.scss
+++ b/frontend/src/styles/components/_shortcut-sheet.scss
@@ -30,10 +30,10 @@
}
kbd {
- padding: 3px $space-2;
+ padding: $space-1 $space-2;
border: 1px solid $border-default;
border-block-end-color: $border-active;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
background: $bg-elevated;
color: $text-secondary;
font-family: $font-mono;
diff --git a/frontend/src/styles/components/_skeleton.scss b/frontend/src/styles/components/_skeleton.scss
index c7fea88c..adc1b5f3 100644
--- a/frontend/src/styles/components/_skeleton.scss
+++ b/frontend/src/styles/components/_skeleton.scss
@@ -10,7 +10,7 @@
position: relative;
overflow: hidden;
background: var(--surface-2);
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
// Shimmer sweep — a soft highlight travelling left → right.
&::after {
@@ -35,20 +35,20 @@
&--title {
width: 40%;
height: 20px;
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
&--avatar {
flex: none;
width: 48px;
height: 48px;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
&--card {
width: 100%;
height: 84px;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
&--block {
@@ -172,7 +172,7 @@
// ---- table ----
&__table {
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
overflow: hidden;
}
@@ -210,11 +210,11 @@
display: grid;
grid-template-columns: 16px minmax(0, 1fr) auto 70px 54px;
align-items: center;
- gap: 18px;
- padding: 12px 16px;
+ gap: $space-5;
+ padding: $space-3 $space-4;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
&__ticks { display: flex; gap: 3px; }
@@ -223,7 +223,7 @@
&--cards {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(264px, 1fr));
- gap: 14px;
+ gap: $space-4;
}
&__card {
@@ -233,7 +233,7 @@
padding: $space-4;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
&__card-top {
@@ -245,7 +245,7 @@
&__card-tags {
display: flex;
- gap: 5px;
+ gap: $space-tight;
margin-top: $space-2;
}
@@ -257,7 +257,7 @@
padding: $space-5;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
&__stats {
@@ -273,7 +273,7 @@
padding: $space-4;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
&__panels {
@@ -289,7 +289,7 @@
padding: $space-4;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
&__kv {
@@ -307,7 +307,7 @@
padding: $space-3 $space-4;
background: #0d1117;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
}
@@ -347,7 +347,7 @@
padding: $space-4;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
&__plot-bars {
@@ -388,7 +388,7 @@
padding: $space-3;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
&__twig {
@@ -492,7 +492,7 @@
padding: $space-4;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
+ .sk-gallery { margin-top: $space-4; }
diff --git a/frontend/src/styles/components/_staging-banner.scss b/frontend/src/styles/components/_staging-banner.scss
index 70bd20aa..a79a160d 100644
--- a/frontend/src/styles/components/_staging-banner.scss
+++ b/frontend/src/styles/components/_staging-banner.scss
@@ -22,8 +22,8 @@
&__label {
font-weight: $font-weight-semibold;
- padding: 2px $spacing-sm;
- border-radius: $radius-sm;
+ padding: $space-hair $spacing-sm;
+ border-radius: $radius-badge;
background-color: rgba(0, 0, 0, 0.16);
}
diff --git a/frontend/src/styles/components/_status-badge.scss b/frontend/src/styles/components/_status-badge.scss
index bf3c9606..10c87b7a 100644
--- a/frontend/src/styles/components/_status-badge.scss
+++ b/frontend/src/styles/components/_status-badge.scss
@@ -8,7 +8,7 @@
align-items: center;
gap: $space-1;
padding: $space-1 $space-2;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
font-size: $text-xs;
font-weight: $font-weight-medium;
text-transform: capitalize;
diff --git a/frontend/src/styles/components/_system-notices.scss b/frontend/src/styles/components/_system-notices.scss
index fccd74c9..140c679a 100644
--- a/frontend/src/styles/components/_system-notices.scss
+++ b/frontend/src/styles/components/_system-notices.scss
@@ -16,7 +16,7 @@
align-items: flex-start;
gap: $space-3;
padding: $space-3 $space-4;
- border-radius: $radius-md;
+ border-radius: $radius-control;
border: 1px solid transparent;
font-size: $text-xs;
line-height: 1.5;
@@ -39,7 +39,7 @@
&__message {
color: $text-secondary;
- margin-top: 2px;
+ margin-top: $space-hair;
}
&__actions {
@@ -68,7 +68,7 @@
color: inherit;
opacity: 0.6;
cursor: pointer;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
transition: opacity $transition-fast, background $transition-fast;
&:hover {
diff --git a/frontend/src/styles/components/_tables.scss b/frontend/src/styles/components/_tables.scss
index da7283b7..485083d9 100644
--- a/frontend/src/styles/components/_tables.scss
+++ b/frontend/src/styles/components/_tables.scss
@@ -43,7 +43,7 @@
font-size: $text-xs;
background: $bg-elevated;
padding: $space-1 $space-2;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-secondary;
}
}
diff --git a/frontend/src/styles/components/_tabs.scss b/frontend/src/styles/components/_tabs.scss
index 1715eca9..dcd52541 100644
--- a/frontend/src/styles/components/_tabs.scss
+++ b/frontend/src/styles/components/_tabs.scss
@@ -58,7 +58,7 @@
&:focus-visible {
outline: 2px solid $accent-primary;
outline-offset: 2px;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
}
@@ -80,7 +80,7 @@
.tabs-overflow-list {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
}
.tabs-overflow-item {
@@ -95,7 +95,7 @@
font-weight: $font-weight-medium;
text-align: left;
cursor: pointer;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
width: 100%;
@include transition();
diff --git a/frontend/src/styles/components/_toasts.scss b/frontend/src/styles/components/_toasts.scss
index 8040a5a5..8a1b08a0 100644
--- a/frontend/src/styles/components/_toasts.scss
+++ b/frontend/src/styles/components/_toasts.scss
@@ -19,10 +19,10 @@
align-items: flex-start;
gap: $space-3;
padding: $space-3 $space-4;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $bg-card;
border: 1px solid $border-subtle;
- box-shadow: $shadow-lg;
+ box-shadow: $shadow-overlay;
pointer-events: auto;
animation: toast-slide-in 0.3s ease-out;
@@ -52,7 +52,7 @@
padding: $space-1;
cursor: pointer;
color: $text-tertiary;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
@include transition(all);
&:hover {
diff --git a/frontend/src/styles/components/_two-factor.scss b/frontend/src/styles/components/_two-factor.scss
index a5474881..dccc1804 100644
--- a/frontend/src/styles/components/_two-factor.scss
+++ b/frontend/src/styles/components/_two-factor.scss
@@ -17,7 +17,7 @@
font-weight: $font-weight-semibold;
text-align: center;
border: 2px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $bg-card;
color: $text-primary;
transition: all 0.2s;
@@ -58,7 +58,7 @@
// 2FA Card in Settings
.two-fa-card {
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-6;
margin-bottom: $space-6;
}
@@ -75,7 +75,7 @@
align-items: center;
justify-content: center;
background: fade($accent-primary-raw, 15%);
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $accent-primary;
flex-shrink: 0;
}
@@ -114,7 +114,7 @@
.two-fa-backup-info {
background: $bg-hover;
padding: $space-2 $space-4;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
margin-bottom: $space-4;
display: flex;
flex-direction: column;
@@ -177,7 +177,7 @@
justify-content: center;
padding: $space-4;
background: white;
- border-radius: $radius-md;
+ border-radius: $radius-control;
margin-bottom: $space-4;
}
@@ -189,7 +189,7 @@
.qr-fallback {
background: $bg-hover;
padding: $space-4;
- border-radius: $radius-md;
+ border-radius: $radius-control;
text-align: center;
}
@@ -213,8 +213,8 @@
code {
background: $bg-hover;
- padding: 2px 6px;
- border-radius: $radius-sm;
+ padding: $space-hair $space-tight;
+ border-radius: $radius-badge;
}
}
@@ -234,7 +234,7 @@
padding: $space-4;
background: fade($warning-raw, 10%);
border: 1px solid fade($warning-raw, 30%);
- border-radius: $radius-md;
+ border-radius: $radius-control;
margin-bottom: $space-6;
svg {
diff --git a/frontend/src/styles/components/_ui.scss b/frontend/src/styles/components/_ui.scss
index 12396bc4..c06b0b8c 100644
--- a/frontend/src/styles/components/_ui.scss
+++ b/frontend/src/styles/components/_ui.scss
@@ -39,10 +39,10 @@
%ui-field-base {
display: block;
width: 100%;
- padding: 0 $space-3 + 1; // 13px
+ padding: 0 $space-3;
background: $bg-body;
border: 1px solid $border-default;
- border-radius: $radius-lg;
+ border-radius: $radius-control;
color: $text-primary;
font-family: inherit;
font-size: $text-base;
@@ -57,7 +57,7 @@
&:focus-visible {
border-color: $accent-primary;
outline: none;
- box-shadow: 0 0 0 3px fade($accent-primary-raw, 18%);
+ box-shadow: $focus-ring;
}
&:disabled,
@@ -68,18 +68,17 @@
&[aria-invalid='true'] {
border-color: $danger;
- box-shadow: 0 0 0 3px fade($danger-raw, 18%);
}
}
.ui-input {
@extend %ui-field-base;
- height: 40px;
+ height: $control-md;
&::file-selector-button {
margin-right: $space-3;
padding: 0 $space-2;
- height: 28px;
+ height: $control-sm - 8px;
background: transparent;
border: none;
color: $text-primary;
@@ -92,8 +91,8 @@
.ui-textarea {
@extend %ui-field-base;
min-height: 80px;
- padding-top: $space-2 + 1;
- padding-bottom: $space-2 + 1;
+ padding-top: 0;
+ padding-bottom: 0;
resize: vertical;
}
@@ -105,7 +104,7 @@
width: 16px;
height: 16px;
border: 1px solid $border-active;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
background: $bg-body;
cursor: pointer;
@include transition();
@@ -170,7 +169,7 @@
display: block;
width: 16px;
height: 16px;
- margin: 2px;
+ margin: $space-hair;
background: #fff;
border-radius: 50%;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
@@ -190,8 +189,8 @@
background: $bg-card;
color: $text-primary;
border: 1px solid $border-subtle;
- border-radius: $radius-xl;
- box-shadow: $shadow-sm;
+ border-radius: $radius-overlay;
+ box-shadow: none;
display: flex;
flex-direction: column;
}
@@ -199,7 +198,7 @@
.ui-card-header {
display: flex;
flex-direction: column;
- gap: $space-1 + 2; // 6px
+ gap: $space-tight; // 6px
padding: $space-6;
}
@@ -278,7 +277,7 @@
}
.ui-table-head {
- height: 40px;
+ height: $control-md;
padding: 0 $space-4;
text-align: left;
vertical-align: middle;
@@ -288,7 +287,7 @@
}
.ui-table-cell {
- padding: $space-3 + 1 $space-4; // 13px 16px
+ padding: $space-3 $space-4; // 13px 16px
vertical-align: middle;
color: $text-primary;
}
@@ -325,8 +324,8 @@
padding: $space-6;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-2xl;
- box-shadow: $shadow-lg;
+ border-radius: $radius-overlay;
+ box-shadow: $shadow-overlay;
overflow-y: auto;
@include custom-scrollbar();
@@ -341,11 +340,11 @@
top: $space-4;
right: $space-4;
width: 28px;
- height: 28px;
+ height: $control-sm;
padding: 0;
background: transparent;
border: none;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-tertiary;
cursor: pointer;
display: inline-flex;
@@ -372,7 +371,7 @@
.ui-dialog-header {
display: flex;
flex-direction: column;
- gap: $space-1 + 2;
+ gap: $space-tight;
text-align: left;
}
@@ -419,7 +418,7 @@
padding: $space-6;
background: $bg-card;
border-color: $border-subtle;
- box-shadow: $shadow-lg;
+ box-shadow: $shadow-overlay;
overflow-y: auto;
@include custom-scrollbar();
@@ -486,7 +485,7 @@
// --------------------------------------------
.ui-select-trigger {
@extend %ui-field-base;
- height: 40px;
+ height: $control-md;
display: inline-flex;
align-items: center;
justify-content: space-between;
@@ -513,11 +512,11 @@
&--sm {
width: auto;
- height: 30px;
+ height: $control-sm;
padding-block: 0;
padding-inline: $space-2;
gap: $space-1;
- font-size: $text-xs;
+ font-size: $text-sm;
.ui-select-icon { width: 14px; height: 14px; }
}
@@ -531,8 +530,8 @@
overflow: hidden;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
- box-shadow: $shadow-md;
+ border-radius: $radius-card;
+ box-shadow: $shadow-raised;
color: $text-primary;
}
@@ -550,7 +549,7 @@
}
.ui-select-label {
- padding: $space-1 + 2 $space-2;
+ padding: $space-tight $space-2;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: $text-tertiary;
@@ -562,7 +561,7 @@
align-items: center;
width: 100%;
padding: $space-2 $space-2 $space-2 $space-8;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-size: $text-sm;
color: $text-primary;
cursor: default;
@@ -613,8 +612,8 @@
padding: $space-1;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
- box-shadow: $shadow-md;
+ border-radius: $radius-card;
+ box-shadow: $shadow-raised;
color: $text-primary;
outline: none;
}
@@ -627,8 +626,8 @@
padding: $space-4;
background: $bg-elevated;
border: 1px solid $border-default;
- border-radius: $radius-md;
- box-shadow: $shadow-md;
+ border-radius: $radius-control;
+ box-shadow: $shadow-raised;
color: $text-primary;
outline: none;
}
@@ -644,13 +643,13 @@
padding: $space-1;
background: $bg-elevated;
border: 1px solid $border-default;
- border-radius: $radius-md;
- box-shadow: $shadow-md;
+ border-radius: $radius-control;
+ box-shadow: $shadow-raised;
color: $text-primary;
}
.ui-dropdown-sub-content {
- box-shadow: $shadow-lg;
+ box-shadow: $shadow-overlay;
}
.ui-dropdown-item,
@@ -661,8 +660,8 @@
display: flex;
align-items: center;
gap: $space-2;
- padding: $space-1 + 2 $space-2; // 6px 8px
- border-radius: $radius-sm;
+ padding: $space-tight $space-2; // 6px 8px
+ border-radius: $radius-badge;
font-size: $text-sm;
color: $text-primary;
cursor: default;
@@ -711,7 +710,7 @@
}
.ui-dropdown-label {
- padding: $space-1 + 2 $space-2;
+ padding: $space-tight $space-2;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: $text-tertiary;
@@ -742,7 +741,7 @@
width: 100%;
height: 100%;
overflow: hidden;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $bg-elevated;
color: $text-primary;
}
@@ -803,7 +802,7 @@
color: $text-primary;
[cmdk-group-heading] {
- padding: $space-1 + 2 $space-2;
+ padding: $space-tight $space-2;
font-size: $text-xs;
font-weight: $font-weight-medium;
color: $text-tertiary;
@@ -821,8 +820,8 @@
display: flex;
align-items: center;
gap: $space-2;
- padding: $space-1 + 2 $space-2;
- border-radius: $radius-sm;
+ padding: $space-tight $space-2;
+ border-radius: $radius-badge;
font-size: $text-sm;
color: $text-primary;
cursor: default;
@@ -895,7 +894,7 @@
.sk-modal__header {
display: flex;
flex-direction: column;
- gap: $space-1 + 2;
+ gap: $space-tight;
padding: $space-4 $space-10 $space-4 $space-6; // right pad clears the close btn
border-bottom: 1px solid $border-subtle;
}
@@ -984,7 +983,7 @@
}
.sk-confirm__details {
- margin: $space-1 + 2 0 0;
+ margin: $space-tight 0 0;
font-size: $text-sm;
color: $text-tertiary;
}
diff --git a/frontend/src/styles/components/_uptime.scss b/frontend/src/styles/components/_uptime.scss
index 385773e1..dfdceb93 100644
--- a/frontend/src/styles/components/_uptime.scss
+++ b/frontend/src/styles/components/_uptime.scss
@@ -5,7 +5,7 @@
.uptime-card {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
padding: $space-6;
&.loading,
@@ -66,7 +66,7 @@
.status-dot {
background: $success;
- box-shadow: 0 0 8px $success;
+ box-shadow: none;
animation: uptime-pulse-dot 2s ease-in-out infinite;
}
}
@@ -143,7 +143,7 @@
padding: $space-5;
background: linear-gradient(135deg, fade($accent-primary-raw, 5%), fade($success-raw, 5%));
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
margin-bottom: $space-6;
}
@@ -198,7 +198,7 @@
gap: $space-1;
background: $bg-hover;
padding: $space-1;
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
.period-btn {
@@ -208,7 +208,7 @@
color: $text-tertiary;
background: transparent;
border: none;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
cursor: pointer;
transition: all $transition-fast;
@@ -224,17 +224,17 @@
.uptime-graph {
display: flex;
- gap: 2px;
+ gap: $space-hair;
height: 32px;
background: $bg-hover;
- border-radius: $radius-md;
+ border-radius: $radius-control;
overflow: hidden;
- padding: 4px;
+ padding: $space-1;
}
.graph-bar {
flex: 1;
- border-radius: 2px;
+ border-radius: $radius-badge;
transition: transform $transition-fast, opacity $transition-fast;
cursor: pointer;
min-width: 4px;
@@ -285,7 +285,7 @@
.legend-dot {
width: 10px;
height: 10px;
- border-radius: 2px;
+ border-radius: $radius-badge;
&.up {
background: $success;
@@ -312,7 +312,7 @@
align-items: center;
padding: $space-3;
background: $bg-hover;
- border-radius: $radius-md;
+ border-radius: $radius-control;
.stat-period {
font-size: $text-xs;
@@ -348,7 +348,7 @@
padding: $space-4 $space-5;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
.uptime-compact-status {
@@ -365,7 +365,7 @@
font-size: $text-base;
font-weight: $font-weight-semibold;
padding: $space-1 $space-2;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
@include status-variant($success, $success-bg);
&.fair {
@@ -381,7 +381,7 @@
.uptime-compact-time {
display: flex;
align-items: baseline;
- gap: 2px;
+ gap: $space-hair;
.value {
font-size: $text-lg;
diff --git a/frontend/src/styles/components/_users.scss b/frontend/src/styles/components/_users.scss
index 8ac9083e..181c300a 100644
--- a/frontend/src/styles/components/_users.scss
+++ b/frontend/src/styles/components/_users.scss
@@ -14,7 +14,7 @@
gap: $space-4;
padding: $space-4;
background: fade($accent-primary-raw, 10%);
- border-radius: $radius-md;
+ border-radius: $radius-control;
margin-bottom: $space-6;
.setup-info-icon {
@@ -76,7 +76,7 @@
overflow-x: auto;
background: var(--surface);
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
.users-action--warning { color: $warning; }
@@ -139,7 +139,7 @@
.user-details {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
.username {
font-weight: $font-weight-medium;
@@ -156,17 +156,17 @@
.you-badge {
font-size: $text-xs;
- padding: 2px 6px;
+ padding: $space-hair $space-tight;
background: $accent-primary;
color: #fff;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
font-weight: $font-weight-medium;
}
.status-badge {
display: inline-flex;
align-items: center;
- padding: 4px 10px;
+ padding: $space-1 $space-3;
border-radius: $radius-full;
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -209,7 +209,7 @@
margin-top: $space-6;
padding: $space-4;
background: $bg-hover;
- border-radius: $radius-md;
+ border-radius: $radius-control;
h4 {
margin: 0 0 $space-4 0;
@@ -332,7 +332,7 @@
.permission-editor {
margin-top: $space-4;
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
max-height: 400px;
overflow-y: auto;
}
@@ -431,7 +431,7 @@
.invitation-status {
display: inline-flex;
align-items: center;
- padding: 3px 8px;
+ padding: $space-1 $space-2;
border-radius: $radius-full;
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -512,8 +512,8 @@
padding: $space-6;
background: $bg-card;
border: 1px solid $border-default;
- border-radius: $radius-lg;
- box-shadow: $shadow-sm;
+ border-radius: $radius-card;
+ box-shadow: none;
h4 {
margin: 0 0 $space-6 0;
@@ -608,7 +608,7 @@
margin-bottom: $space-6;
padding: $space-5;
background: $bg-hover;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
border: 1px solid $border-default;
.filter-group {
@@ -631,7 +631,7 @@
padding: 0 $space-3;
background: $bg-card;
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-size: $text-xs;
color: $text-primary;
cursor: pointer;
@@ -668,7 +668,7 @@
// per event inside a single bordered surface with hairline separators.
.audit-log-list {
border: 1px solid $border-default;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
overflow: hidden;
background: $bg-card;
}
@@ -790,7 +790,7 @@
padding: $space-2 $space-3;
background: $bg-card;
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-primary;
font-size: $text-xs;
}
@@ -816,7 +816,7 @@
margin-top: $space-4;
padding: $space-4;
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $bg-hover;
&-title {
@@ -831,7 +831,7 @@
margin: $space-4 0 0;
padding: 0;
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
&__item {
diff --git a/frontend/src/styles/components/_walkthroughs.scss b/frontend/src/styles/components/_walkthroughs.scss
index 73524988..01de1e12 100644
--- a/frontend/src/styles/components/_walkthroughs.scss
+++ b/frontend/src/styles/components/_walkthroughs.scss
@@ -8,17 +8,17 @@
display: grid;
flex: 1;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
- gap: 10px;
+ gap: $space-3;
align-content: start;
overflow-y: auto;
- padding: 12px;
+ padding: $space-3;
}
&__card {
display: flex;
flex-direction: column;
border: 1px solid var(--border-soft);
- border-radius: 11px;
+ border-radius: $radius-card;
background: var(--surface-2);
transition: border-color 130ms ease;
@@ -31,7 +31,7 @@
flex: 1;
flex-direction: column;
align-items: flex-start;
- padding: 13px 13px 0;
+ padding: $space-3 $space-3 0;
border: 0;
background: transparent;
color: inherit;
@@ -45,9 +45,9 @@
display: grid;
width: 28px;
height: 28px;
- margin-block-end: 10px;
+ margin-block-end: $space-3;
place-items: center;
- border-radius: 8px;
+ border-radius: $radius-card;
@include status-variant(var(--accent-bright), var(--accent-bg));
&.is-cyan { color: var(--cyan); background: color-mix(in srgb, var(--cyan) 13%, transparent); }
@@ -64,7 +64,7 @@
}
&__card-desc {
- margin-block-start: 3px;
+ margin-block-start: $space-1;
color: var(--text-faint);
font-size: $text-xs;
line-height: 1.5;
@@ -73,8 +73,8 @@
&__card-meta {
display: flex;
align-items: center;
- gap: 6px;
- padding: 9px 13px 12px;
+ gap: $space-tight;
+ padding: $space-2 $space-3 $space-3;
color: var(--text-faint);
font-size: $text-xs;
@@ -84,11 +84,11 @@
&__card-stop {
display: inline-flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
margin-inline-start: auto;
- padding: 2px 7px;
+ padding: $space-hair $space-2;
border: 0;
- border-radius: 6px;
+ border-radius: $radius-control;
background: transparent;
color: var(--text-faint);
font: inherit;
@@ -102,10 +102,10 @@
display: flex;
min-height: 78px;
align-items: center;
- gap: 11px;
- padding: 13px;
+ gap: $space-3;
+ padding: $space-3;
border: 1px dashed var(--border-soft);
- border-radius: 11px;
+ border-radius: $radius-card;
background: transparent;
color: var(--text-dim);
font: inherit;
@@ -126,7 +126,7 @@
display: flex;
min-width: 0;
flex-direction: column;
- gap: 3px;
+ gap: $space-1;
}
strong { font-size: $text-sm; font-weight: $font-weight-semibold; }
@@ -153,8 +153,8 @@
display: flex;
flex: 0 0 auto;
align-items: center;
- gap: 10px;
- padding: 9px 10px 9px 12px;
+ gap: $space-3;
+ padding: $space-2 $space-3 $space-2 $space-3;
border-block-end: 1px solid var(--border-soft);
}
@@ -173,7 +173,7 @@
}
.mono {
- margin-block-start: 2px;
+ margin-block-start: $space-hair;
color: var(--text-faint);
font-size: $text-xs;
}
@@ -189,8 +189,8 @@
display: flex;
width: 100%;
align-items: center;
- gap: 10px;
- padding: 9px 12px;
+ gap: $space-3;
+ padding: $space-2 $space-3;
border: 0;
border-inline-start: 2px solid transparent;
background: transparent;
@@ -243,7 +243,7 @@
flex-direction: column;
min-height: 0;
min-width: 0;
- padding: 12px 14px;
+ padding: $space-3 $space-4;
}
&__eyebrow {
@@ -252,7 +252,7 @@
}
&__step-heading {
- margin: 2px 0 10px;
+ margin: $space-hair 0 $space-3;
font-size: $text-base;
font-weight: $font-weight-semibold;
}
@@ -272,9 +272,9 @@
display: flex;
flex: 0 0 auto;
align-items: center;
- gap: 8px;
- margin-block-start: 12px;
- padding-block-start: 12px;
+ gap: $space-2;
+ margin-block-start: $space-3;
+ padding-block-start: $space-3;
border-block-start: 1px solid var(--border-soft);
}
}
diff --git a/frontend/src/styles/components/_widget-editor.scss b/frontend/src/styles/components/_widget-editor.scss
index bfa05cf2..d991925f 100644
--- a/frontend/src/styles/components/_widget-editor.scss
+++ b/frontend/src/styles/components/_widget-editor.scss
@@ -53,8 +53,8 @@ $skwe-pane-w: 340px;
min-height: 0;
display: flex;
flex-direction: column;
- gap: 9px;
- padding: 16px 18px;
+ gap: $space-2;
+ padding: $space-4 $space-5;
border-right: 1px solid var(--border-soft);
}
@@ -68,7 +68,7 @@ $skwe-pane-w: 340px;
display: flex;
justify-content: center;
align-items: flex-start;
- padding: 18px;
+ padding: $space-5;
overflow: auto;
border: 1px solid var(--border-soft);
border-radius: var(--radius-lg);
@@ -100,20 +100,20 @@ $skwe-pane-w: 340px;
width: $skwe-pane-w;
min-height: 0;
overflow: auto;
- padding: 16px 18px 26px;
+ padding: $space-4 $space-5 $space-6;
background: var(--surface);
@include custom-scrollbar;
}
&__group {
- margin-bottom: 22px;
+ margin-bottom: $space-6;
&:last-child { margin-bottom: 0; }
}
&__grouphead {
- margin-bottom: 13px;
- padding-bottom: 7px;
+ margin-bottom: $space-3;
+ padding-bottom: $space-2;
border-bottom: 1px solid var(--border-soft);
color: var(--text-dim);
font-size: $text-xs;
@@ -121,7 +121,7 @@ $skwe-pane-w: 340px;
}
&__row {
- margin-bottom: 15px;
+ margin-bottom: $space-4;
&:last-child { margin-bottom: 0; }
@@ -130,7 +130,7 @@ $skwe-pane-w: 340px;
display: flex;
align-items: center;
justify-content: space-between;
- gap: 12px;
+ gap: $space-3;
.skwe-edit__label { margin-bottom: 0; }
.skwe-edit__control { flex: none; }
@@ -148,7 +148,7 @@ $skwe-pane-w: 340px;
&__label {
display: block;
- margin-bottom: 6px;
+ margin-bottom: $space-tight;
color: var(--text-ghost);
font-size: $text-xs;
}
@@ -163,9 +163,9 @@ $skwe-pane-w: 340px;
&__field,
&__textarea {
width: 100%;
- padding: 7px 9px;
+ padding: $space-2 $space-2;
border: 1px solid var(--border);
- border-radius: 7px;
+ border-radius: $radius-control;
background: var(--surface-2);
color: var(--text);
font-family: inherit;
@@ -188,7 +188,7 @@ $skwe-pane-w: 340px;
width: 100%;
min-width: 0;
border-color: var(--border);
- border-radius: 7px;
+ border-radius: $radius-control;
background: var(--surface-2);
color: var(--text);
font-size: $text-sm;
@@ -213,9 +213,9 @@ $skwe-pane-w: 340px;
// (a single connected machine). Dashed, so it does not pretend to be a
// control you can open.
&__static {
- padding: 7px 9px;
+ padding: $space-2 $space-2;
border: 1px dashed var(--border);
- border-radius: 7px;
+ border-radius: $radius-control;
background: var(--surface-2);
color: var(--text-dim);
font-size: $text-xs;
@@ -227,7 +227,7 @@ $skwe-pane-w: 340px;
// Explanatory line under a control — quieter than the caption above it, so
// a row still reads caption → control → aside.
&__hint {
- margin: 6px 0 0;
+ margin: $space-tight 0 0;
color: var(--text-faint);
font-size: $text-xs;
line-height: 1.45;
@@ -237,7 +237,7 @@ $skwe-pane-w: 340px;
&__pair {
display: flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
> .skwe-edit__pairitem,
> .skwe-stepper { flex: 1; min-width: 0; }
@@ -246,7 +246,7 @@ $skwe-pane-w: 340px;
&__pairitem {
display: flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
}
// Leading sigil glued to a field ("amber ≥"). A sibling rather than
@@ -263,21 +263,21 @@ $skwe-pane-w: 340px;
&__series {
display: flex;
flex-direction: column;
- gap: 7px;
+ gap: $space-2;
}
&__ser {
display: grid;
grid-template-columns: 18px 1fr 1fr 26px;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
// Single-machine install: the resource picker is gone, so the metric
// select takes the rest of the row.
&--solo { grid-template-columns: 18px 1fr 26px; }
.skwe-edit__select.ui-select-trigger {
- padding-inline: 8px;
+ padding-inline: $space-2;
font-size: $text-xs;
}
}
@@ -290,7 +290,7 @@ $skwe-pane-w: 340px;
display: grid;
place-items: center;
border: none;
- border-radius: 6px;
+ border-radius: $radius-control;
background: none;
color: var(--text-ghost);
cursor: pointer;
@@ -306,12 +306,12 @@ $skwe-pane-w: 340px;
display: flex;
align-items: center;
justify-content: center;
- gap: 6px;
+ gap: $space-tight;
width: 100%;
- margin-top: 2px;
- padding: 6px 10px;
+ margin-top: $space-hair;
+ padding: $space-tight $space-3;
border: 1px dashed var(--border-strong);
- border-radius: 7px;
+ border-radius: $radius-control;
background: none;
color: var(--text-faint);
font-family: inherit;
@@ -328,7 +328,7 @@ $skwe-pane-w: 340px;
}
&__empty {
- padding: 2px 0 4px;
+ padding: $space-hair 0 $space-1;
color: var(--text-faint);
font-size: $text-xs;
line-height: 1.45;
@@ -340,7 +340,7 @@ $skwe-pane-w: 340px;
&__checks {
display: flex;
flex-direction: column;
- gap: 5px;
+ gap: $space-tight;
max-height: 210px;
overflow: auto;
@include custom-scrollbar;
@@ -349,8 +349,8 @@ $skwe-pane-w: 340px;
&__check {
display: flex;
align-items: center;
- gap: 9px;
- padding: 3px 2px;
+ gap: $space-2;
+ padding: $space-1 $space-hair;
color: var(--text-dim);
font-size: $text-sm;
cursor: pointer;
@@ -370,9 +370,9 @@ $skwe-pane-w: 340px;
&__foot {
display: flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
flex-shrink: 0;
- padding: 12px 18px;
+ padding: $space-3 $space-5;
border-top: 1px solid var(--border-soft);
background: var(--surface);
}
@@ -388,7 +388,7 @@ $skwe-pane-w: 340px;
height: 16px;
padding: 0;
border: 1px solid var(--border-strong);
- border-radius: 5px;
+ border-radius: $radius-control;
cursor: pointer;
transition: 0.12s;
@@ -407,10 +407,10 @@ $skwe-pane-w: 340px;
.skwe-stepper {
display: flex;
align-items: center;
- gap: 2px;
- padding: 2px;
+ gap: $space-hair;
+ padding: $space-hair;
border: 1px solid var(--border);
- border-radius: 8px;
+ border-radius: $radius-card;
background: var(--surface-2);
&__btn {
@@ -420,7 +420,7 @@ $skwe-pane-w: 340px;
display: grid;
place-items: center;
border: none;
- border-radius: 6px;
+ border-radius: $radius-control;
background: none;
color: var(--text-faint);
cursor: pointer;
@@ -433,7 +433,7 @@ $skwe-pane-w: 340px;
&__val {
flex: 1;
min-width: 0;
- padding: 0 6px;
+ padding: 0 $space-tight;
color: var(--text-dim);
font-size: $text-xs;
text-align: center;
@@ -478,16 +478,16 @@ $skwe-pane-w: 340px;
.skwe-palette {
display: flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
width: auto;
- padding: 8px;
+ padding: $space-2;
&__dot {
width: 18px;
height: 18px;
padding: 0;
border: 1px solid var(--border-strong);
- border-radius: 5px;
+ border-radius: $radius-control;
cursor: pointer;
transition: 0.12s;
diff --git a/frontend/src/styles/layout/_main-content.scss b/frontend/src/styles/layout/_main-content.scss
index 18c72b49..c5efcaea 100644
--- a/frontend/src/styles/layout/_main-content.scss
+++ b/frontend/src/styles/layout/_main-content.scss
@@ -97,7 +97,7 @@
> .sk-topbar {
flex-shrink: 0;
- padding: 10px $space-4;
+ padding: $space-3 $space-4;
margin: 0;
// Match the 18px header icon the per-page top bars used to render.
@@ -201,7 +201,7 @@
justify-content: center;
width: 76px;
height: 76px;
- border-radius: 20px;
+ border-radius: $radius-overlay;
color: #fff;
background: linear-gradient(150deg, var(--accent-bright), var(--accent-hover));
box-shadow: 0 14px 34px -10px var(--accent-shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.10);
@@ -228,7 +228,7 @@
position: relative;
width: 132px;
height: 4px;
- border-radius: 999px;
+ border-radius: $radius-full;
background: var(--surface-3);
overflow: hidden;
}
diff --git a/frontend/src/styles/layout/_sidebar.scss b/frontend/src/styles/layout/_sidebar.scss
index f655715f..d06f53f9 100644
--- a/frontend/src/styles/layout/_sidebar.scss
+++ b/frontend/src/styles/layout/_sidebar.scss
@@ -54,7 +54,7 @@
border: none;
background: transparent;
color: $text-secondary;
- border-radius: $radius-md;
+ border-radius: $radius-control;
cursor: pointer;
@include transition(color);
@include focus-ring();
@@ -117,7 +117,7 @@
border: none;
background: transparent;
color: $text-primary;
- border-radius: $radius-md;
+ border-radius: $radius-control;
cursor: pointer;
@include transition(background);
@include focus-ring();
@@ -161,7 +161,7 @@
height: $sidebar-header-height;
display: flex;
align-items: center;
- gap: 10px;
+ gap: $space-3;
padding: 0 0.5rem;
flex-shrink: 0;
}
@@ -170,7 +170,7 @@
.brand-logo {
width: 34px;
height: 34px;
- border-radius: 9px;
+ border-radius: $radius-card;
display: grid;
place-items: center;
flex-shrink: 0;
@@ -223,7 +223,7 @@
.brand-custom-logo {
width: 32px;
height: 32px;
- border-radius: $radius-md;
+ border-radius: $radius-control;
overflow: hidden;
display: grid;
place-items: center;
@@ -270,7 +270,7 @@
width: 27px;
height: 27px;
border: none;
- border-radius: 8px;
+ border-radius: $radius-card;
background: linear-gradient(160deg, var(--accent-bright), var(--accent));
box-shadow: 0 2px 8px -1px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
color: #fff;
@@ -306,7 +306,7 @@
padding: $space-1 $space-2;
background-color: $bg-card;
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-primary;
font-size: $text-xs;
cursor: pointer;
@@ -365,22 +365,22 @@
.nav {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
}
// Navigation Item
.nav-item {
display: flex;
align-items: center;
- gap: 11px;
+ gap: $space-3;
padding: 0.5rem 0.625rem;
- border-radius: 8px;
+ border-radius: $radius-card;
color: var(--text-dim);
text-decoration: none;
font-size: $text-sm;
font-weight: $font-weight-normal;
transition: background-color 0.14s ease, color 0.14s ease;
- margin-bottom: 2px;
+ margin-bottom: $space-hair;
position: relative;
white-space: nowrap;
overflow: hidden;
@@ -417,9 +417,9 @@
transform: translateY(-50%);
width: 3px;
height: 18px;
- border-radius: 0 3px 3px 0;
+ border-radius: 0 $radius-badge $radius-badge 0;
background: var(--accent);
- box-shadow: 0 0 10px var(--accent-glow);
+ box-shadow: none;
}
}
}
@@ -449,10 +449,10 @@
background: transparent;
color: $text-tertiary;
cursor: pointer;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
flex-shrink: 0;
transition: all 0.15s ease;
- margin-right: 4px;
+ margin-right: $space-1;
@include focus-ring();
&:hover {
@@ -491,7 +491,7 @@
// Sidebar Footer — compact rail like the prototype's sb-foot: the divider
// hugs the user card instead of floating a full spacing unit above it.
.sidebar-footer {
- padding: 11px 0;
+ padding: $space-3 0;
margin-top: auto;
border-top: 1px solid $border-subtle;
flex-shrink: 0;
@@ -525,23 +525,23 @@
}
.context-menu-section {
- padding: 6px 8px;
+ padding: $space-tight $space-2;
}
.context-menu-label {
font-size: $text-xs;
font-weight: $font-weight-medium;
color: var(--text-ghost);
- margin-bottom: 6px;
+ margin-bottom: $space-tight;
}
.theme-switcher {
display: flex;
- gap: 2px;
+ gap: $space-hair;
background: var(--surface);
border: 1px solid var(--border);
- border-radius: 9px;
- padding: 3px;
+ border-radius: $radius-card;
+ padding: $space-1;
}
.theme-btn {
@@ -549,11 +549,11 @@
display: flex;
align-items: center;
justify-content: center;
- padding: 6px 0;
+ padding: $space-tight 0;
border: none;
background: transparent;
color: var(--text-faint);
- border-radius: 6px;
+ border-radius: $radius-control;
cursor: pointer;
transition: all 0.15s ease;
@include focus-ring();
@@ -571,20 +571,20 @@
.view-switcher {
display: flex;
flex-wrap: wrap;
- gap: 4px;
+ gap: $space-1;
}
.view-btn {
display: inline-flex;
align-items: center;
- gap: 4px;
- padding: 4px 8px;
+ gap: $space-1;
+ padding: $space-1 $space-2;
border: 1px solid var(--border);
background: var(--surface-2);
color: var(--text-faint);
font-size: $text-xs;
font-weight: $font-weight-medium;
- border-radius: 6px;
+ border-radius: $radius-control;
cursor: pointer;
transition: all 0.15s ease;
@include focus-ring();
@@ -611,15 +611,15 @@
.context-menu-item {
display: flex;
align-items: center;
- gap: 10px;
+ gap: $space-3;
width: 100%;
- padding: 8px 10px;
+ padding: $space-2 $space-3;
border: none;
background: transparent;
color: $text-secondary;
font-size: $text-sm;
font-weight: $font-weight-medium;
- border-radius: $radius-md;
+ border-radius: $radius-control;
cursor: pointer;
transition: all 0.15s ease;
text-align: left;
@@ -650,7 +650,7 @@
.user-mini {
display: flex;
align-items: center;
- gap: 10px;
+ gap: $space-3;
width: auto;
padding: 0.5rem;
cursor: pointer;
@@ -659,7 +659,7 @@
color: inherit;
font: inherit;
text-align: left;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
transition: all 0.2s ease;
@include focus-ring();
@@ -673,7 +673,7 @@
height: 32px;
background: linear-gradient(150deg, var(--surface-3), var(--surface-2));
border: 1px solid var(--border-strong);
- border-radius: 9px;
+ border-radius: $radius-card;
display: grid;
place-items: center;
font-size: $text-sm;
@@ -713,7 +713,7 @@
color: var(--green);
display: flex;
align-items: center;
- gap: 5px;
+ gap: $space-tight;
margin-top: 1px;
&::before {
@@ -873,7 +873,7 @@
width: auto;
height: 2px;
transform: none;
- border-radius: 2px 2px 0 0;
+ border-radius: $radius-badge $radius-badge 0 0;
}
}
diff --git a/frontend/src/styles/pages/_agent-fleet.scss b/frontend/src/styles/pages/_agent-fleet.scss
index 09ad8b85..1c824852 100644
--- a/frontend/src/styles/pages/_agent-fleet.scss
+++ b/frontend/src/styles/pages/_agent-fleet.scss
@@ -81,7 +81,7 @@
.fleet-queued-description { font-size: $text-base; }
.fleet-session-list > * + * { margin-top: 0.5rem; }
.fleet-session-list { overflow-y: auto; max-height: 12rem; }
-.fleet-session-row { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem; font-size: $text-base; border-radius: $radius-md; }
+.fleet-session-row { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem; font-size: $text-base; border-radius: $radius-control; }
.fleet-session-offline { color: $text-tertiary; }
.fleet-session-disconnect-reason { margin-inline-start: 0.5rem; color: $danger; }
.fleet-command-retry { color: $warning; }
diff --git a/frontend/src/styles/pages/_app-map.scss b/frontend/src/styles/pages/_app-map.scss
index 03f1294d..294026a5 100644
--- a/frontend/src/styles/pages/_app-map.scss
+++ b/frontend/src/styles/pages/_app-map.scss
@@ -26,8 +26,8 @@
border: 1px solid $border-subtle;
color: $text-secondary;
font-size: $text-xs;
- padding: 3px 10px;
- border-radius: $radius-sm;
+ padding: $space-1 $space-3;
+ border-radius: $radius-badge;
cursor: pointer;
&:hover {
@@ -44,7 +44,7 @@
margin-bottom: 0.5rem;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-size: $text-xs;
color: $text-secondary;
}
@@ -60,14 +60,14 @@
width: 12px;
height: 12px;
border: 1px solid;
- border-radius: 3px;
+ border-radius: $radius-badge;
}
&__canvas {
flex: 1 1 auto;
min-height: 480px;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
background: $bg-card;
overflow: hidden;
position: relative;
@@ -87,7 +87,7 @@
}
.react-flow__node .app-map__node-sub {
- margin-top: 2px;
+ margin-top: $space-hair;
font-size: $text-xs;
opacity: 0.7;
}
@@ -128,10 +128,10 @@
li {
display: flex;
flex-direction: column;
- gap: 4px;
+ gap: $space-1;
padding: 0.7rem 0.85rem;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $bg-card;
transition: border-color 0.15s ease, background-color 0.15s ease;
@@ -170,8 +170,8 @@
font-size: $text-xs;
color: $text-tertiary;
background: $bg-elevated;
- padding: 1px 6px;
- border-radius: $radius-sm;
+ padding: 1px $space-tight;
+ border-radius: $radius-badge;
}
&__ext {
diff --git a/frontend/src/styles/pages/_applications.scss b/frontend/src/styles/pages/_applications.scss
index 7ac2242b..2538ba2c 100644
--- a/frontend/src/styles/pages/_applications.scss
+++ b/frontend/src/styles/pages/_applications.scss
@@ -55,7 +55,7 @@
align-items: center;
gap: $space-3;
flex-wrap: wrap;
- padding: 10px 14px;
+ padding: $space-3 $space-4;
border-bottom: 1px solid var(--border-soft);
}
@@ -65,7 +65,7 @@
gap: $space-2;
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: 8px;
+ border-radius: $radius-card;
padding: 0 $space-3;
min-width: 230px;
transition: border-color $transition-fast;
@@ -83,7 +83,7 @@
flex: 1;
background: none;
border: none;
- padding: 7px 0;
+ padding: $space-2 0;
color: var(--text);
font-size: $text-sm;
outline: none;
@@ -112,7 +112,7 @@
.apps-type-ico {
width: 34px;
height: 34px;
- border-radius: 9px;
+ border-radius: $radius-card;
display: grid;
place-items: center;
flex-shrink: 0;
@@ -126,8 +126,8 @@
align-items: center;
font-size: $text-xs;
font-weight: $font-weight-semibold;
- padding: 2px 7px;
- border-radius: 5px;
+ padding: $space-hair $space-2;
+ border-radius: $radius-control;
border: 1px solid;
white-space: nowrap;
}
@@ -135,14 +135,14 @@
.apps-domain {
display: flex;
flex-direction: column;
- gap: 3px;
+ gap: $space-1;
font-family: var(--mono);
font-size: $text-xs;
a {
display: inline-flex;
align-items: center;
- gap: 5px;
+ gap: $space-tight;
color: var(--text-dim);
text-decoration: none;
@@ -169,7 +169,7 @@
gap: $space-2;
& + & {
- margin-top: 6px;
+ margin-top: $space-tight;
}
.sk-gauge {
@@ -203,7 +203,7 @@
display: inline-flex;
align-items: center;
justify-content: flex-end;
- gap: 2px;
+ gap: $space-hair;
white-space: nowrap;
}
@@ -215,7 +215,7 @@
justify-content: center;
background: transparent;
border: none;
- border-radius: 7px;
+ border-radius: $radius-control;
color: var(--text-faint);
cursor: pointer;
transition: background 0.12s, color 0.12s;
@@ -250,8 +250,8 @@
.app-logs-select {
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: 8px;
- padding: 6px 10px;
+ border-radius: $radius-card;
+ padding: $space-tight $space-3;
color: var(--text);
font-size: $text-sm;
cursor: pointer;
@@ -281,8 +281,8 @@
font-size: $text-xs;
font-weight: $font-weight-semibold;
@include status-variant(var(--accent-bright), var(--accent-bg));
- padding: 2px 7px;
- border-radius: 5px;
+ padding: $space-hair $space-2;
+ border-radius: $radius-control;
}
// Used by pages/Firewall.jsx
@@ -375,7 +375,7 @@
display: flex;
align-items: center;
gap: $space-4;
- padding: 20px 22px;
+ padding: $space-5 $space-6;
background: var(--surface);
border: 1px solid var(--border-soft);
border-radius: var(--radius-lg);
@@ -385,7 +385,7 @@
position: relative;
width: 52px;
height: 52px;
- border-radius: 13px;
+ border-radius: $radius-overlay;
border: 1px solid fade(#fff, 8%);
box-shadow: var(--shadow-sm);
display: flex;
@@ -400,7 +400,7 @@
width: 100%;
height: 100%;
object-fit: contain;
- border-radius: 13px;
+ border-radius: $radius-overlay;
}
svg {
@@ -415,7 +415,7 @@
h1 {
display: flex;
align-items: center;
- gap: 11px;
+ gap: $space-3;
flex-wrap: wrap;
margin: 0;
font-size: $text-lg;
@@ -425,7 +425,7 @@
// linked-app glyph inside the EnvTag
.sk-tag svg {
- margin-left: 4px;
+ margin-left: $space-1;
}
}
}
@@ -434,9 +434,9 @@
.app-detail-subtitle {
display: flex;
align-items: center;
- gap: 9px;
+ gap: $space-2;
flex-wrap: wrap;
- margin-top: 4px;
+ margin-top: $space-1;
font-size: $text-xs;
color: var(--text-dim);
@@ -459,9 +459,9 @@
.app-status-badge {
display: inline-flex;
align-items: center;
- gap: 6px;
- padding: 3px 9px;
- border-radius: 6px;
+ gap: $space-tight;
+ padding: $space-1 $space-2;
+ border-radius: $radius-control;
font-size: $text-xs;
font-weight: $font-weight-medium;
white-space: nowrap;
@@ -509,11 +509,11 @@
// it; the active pill is filled so the current section is unmistakable.
.app-detail-tabs {
display: flex;
- gap: 3px;
+ gap: $space-1;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
- padding: 4px;
+ padding: $space-1;
overflow-x: auto;
&::-webkit-scrollbar {
@@ -524,11 +524,11 @@
.app-detail-tab {
display: flex;
align-items: center;
- gap: 7px;
- padding: 8px 13px;
+ gap: $space-2;
+ padding: $space-2 $space-3;
background: transparent;
border: none;
- border-radius: 7px;
+ border-radius: $radius-control;
color: var(--text-dim);
font-size: $text-sm;
font-weight: $font-weight-medium;
@@ -604,8 +604,8 @@
display: flex;
align-items: center;
justify-content: flex-start;
- gap: 7px;
- padding: 12px 17px;
+ gap: $space-2;
+ padding: $space-3 $space-4;
border-bottom: 1px solid var(--border-soft);
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -632,7 +632,7 @@
}
.app-panel-body {
- padding: $space-4 17px;
+ padding: $space-4 $space-4;
.hint:last-child {
margin-bottom: 0;
@@ -673,8 +673,8 @@
color: var(--text-dim);
background: var(--surface-2);
border: 1px solid var(--border-soft);
- padding: 3px 8px;
- border-radius: 5px;
+ padding: $space-1 $space-2;
+ border-radius: $radius-control;
overflow-wrap: anywhere;
}
@@ -697,17 +697,17 @@
.app-detail-page {
// ---- shadcn tab strip (.tabs/.tab) → accent-wash chips ----
.tabs {
- gap: 2px;
+ gap: $space-hair;
border-bottom: 1px solid var(--border-soft);
padding-bottom: $space-2;
margin-bottom: $space-5;
}
.tab {
- padding: 7px 12px;
+ padding: $space-2 $space-3;
border-bottom: none;
margin-bottom: 0;
- border-radius: 8px;
+ border-radius: $radius-card;
color: var(--text-dim);
font-size: $text-sm;
font-weight: $font-weight-normal;
@@ -729,7 +729,7 @@
h3.app-eyebrow {
display: flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
margin: 0 0 $space-3;
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -743,7 +743,7 @@
h3 {
display: flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
margin: 0;
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -762,7 +762,7 @@
.card-header-row h3 {
display: flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
margin: 0 0 $space-3;
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -797,7 +797,7 @@
// ---- InfoList rows → k/v spec rows ----
.info-item {
- padding: 10px 0;
+ padding: $space-3 0;
border-bottom: 1px solid var(--border-soft);
&:last-child {
@@ -839,7 +839,7 @@
display: flex;
align-items: center;
gap: $space-3;
- padding: 10px 0;
+ padding: $space-3 0;
border-top: 1px solid var(--border-soft);
&:first-child {
@@ -851,7 +851,7 @@
margin: 0 (-$space-2);
padding-left: $space-2;
padding-right: $space-2;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
> .btn,
@@ -870,8 +870,8 @@
font-family: var(--mono);
font-size: $text-xs;
@include status-variant(var(--accent-bright), var(--accent-bg));
- padding: 2px 7px;
- border-radius: 5px;
+ padding: $space-hair $space-2;
+ border-radius: $radius-control;
}
.deployment-meta {
@@ -898,7 +898,7 @@
align-items: center;
justify-content: space-between;
gap: $space-3;
- padding: 10px 0;
+ padding: $space-3 0;
border-top: 1px solid var(--border-soft);
&:first-child {
@@ -927,8 +927,8 @@
font-size: $text-xs;
font-weight: $font-weight-semibold;
@include status-variant(var(--green), var(--green-bg));
- padding: 2px 7px;
- border-radius: 5px;
+ padding: $space-hair $space-2;
+ border-radius: $radius-control;
flex-shrink: 0;
}
@@ -936,7 +936,7 @@
.resource-bar-container {
display: flex;
flex-direction: column;
- gap: 7px;
+ gap: $space-2;
& + .resource-bar-container {
margin-top: $space-4;
@@ -963,14 +963,14 @@
.resource-bar-track {
height: 5px;
background: var(--surface-3);
- border-radius: 3px;
+ border-radius: $radius-badge;
overflow: hidden;
}
.resource-bar-fill {
display: block;
height: 100%;
- border-radius: 3px;
+ border-radius: $radius-badge;
transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
&.cpu {
@@ -1010,7 +1010,7 @@
height: 30px;
display: grid;
place-items: center;
- border-radius: 8px;
+ border-radius: $radius-card;
font-family: var(--mono);
font-size: $text-base;
font-weight: $font-weight-semibold;
@@ -1036,7 +1036,7 @@
}
p {
- margin: 2px 0 0;
+ margin: $space-hair 0 0;
font-family: var(--mono);
font-size: $text-xs;
color: var(--text-dim);
@@ -1074,7 +1074,7 @@
border: none;
border-radius: 0;
box-shadow: none;
- padding: 11px 16px;
+ padding: $space-3 $space-4;
& + .package-item {
border-top: 1px solid var(--border-soft);
@@ -1146,7 +1146,7 @@
h3 {
display: flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
margin: 0;
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -1247,7 +1247,7 @@
&__field-text {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
min-width: 0;
}
@@ -1265,9 +1265,9 @@
// registry picker (native select, themed to match the Input control)
&__select {
max-width: 280px;
- padding: 8px 10px;
+ padding: $space-2 $space-3;
border: 1px solid var(--border-soft);
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: var(--surface-2, var(--bg-card));
color: var(--text-strong, inherit);
font-size: $text-sm;
@@ -1297,7 +1297,7 @@
&__input {
display: flex;
flex-direction: column;
- gap: 6px;
+ gap: $space-tight;
label {
font-size: $text-sm;
@@ -1354,7 +1354,7 @@
@media (max-width: $breakpoint-sm) {
grid-template-columns: 1fr;
- gap: 4px;
+ gap: $space-1;
}
}
@@ -1365,7 +1365,7 @@
&--name {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
}
}
@@ -1378,7 +1378,7 @@
&__pills {
display: flex;
- gap: 6px;
+ gap: $space-tight;
flex-wrap: wrap;
}
@@ -1399,7 +1399,7 @@
&__ro {
display: flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
font-size: $text-sm;
color: var(--text-dim);
}
@@ -1424,7 +1424,7 @@
&__note {
display: flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
margin-top: $spacing-md;
font-size: $text-xs;
color: var(--text-faint);
@@ -1452,14 +1452,14 @@
gap: $spacing-md;
padding: $spacing-md;
border: 1px solid var(--border-soft);
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: var(--surface-2, var(--bg-card));
}
&__banner-text {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
min-width: 0;
span {
@@ -1472,7 +1472,7 @@
&__mode {
display: flex;
flex-direction: column;
- gap: 8px;
+ gap: $space-2;
margin-top: $space-3;
.sk-seg {
@@ -1489,7 +1489,7 @@
&__rules {
display: flex;
flex-direction: column;
- gap: 6px;
+ gap: $space-tight;
margin-top: $spacing-md;
padding-top: $spacing-md;
border-top: 1px solid var(--border-soft);
@@ -1499,7 +1499,7 @@
display: flex;
align-items: center;
gap: $spacing-sm;
- margin-top: 4px;
+ margin-top: $space-1;
.input,
input {
@@ -1511,14 +1511,14 @@
display: flex;
flex-wrap: wrap;
gap: $spacing-sm;
- margin-top: 8px;
+ margin-top: $space-2;
}
&__chip {
display: inline-flex;
align-items: center;
- gap: 6px;
- padding: 3px 6px 3px 10px;
+ gap: $space-tight;
+ padding: $space-1 $space-tight $space-1 $space-3;
border: 1px solid var(--border-soft);
border-radius: $radius-full;
background: var(--surface-2, var(--bg-card));
@@ -1595,7 +1595,7 @@
&__ttl {
display: flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
input { width: 96px; }
}
diff --git a/frontend/src/styles/pages/_auth.scss b/frontend/src/styles/pages/_auth.scss
index e0036a45..4b75b16c 100644
--- a/frontend/src/styles/pages/_auth.scss
+++ b/frontend/src/styles/pages/_auth.scss
@@ -13,7 +13,7 @@
max-width: 400px;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-2xl;
+ border-radius: $radius-overlay;
padding: $space-10;
}
@@ -119,7 +119,7 @@
width: 100%;
padding: $space-3 $space-4;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
background: $bg-card;
color: $text-primary;
font-size: $text-xs;
@@ -174,7 +174,7 @@
margin-bottom: $space-6;
padding: $space-4;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
background: $bg-hover;
text-align: center;
diff --git a/frontend/src/styles/pages/_backups.scss b/frontend/src/styles/pages/_backups.scss
index 125d55c3..43e12a56 100644
--- a/frontend/src/styles/pages/_backups.scss
+++ b/frontend/src/styles/pages/_backups.scss
@@ -64,7 +64,7 @@
&__sub {
display: block;
- margin-top: 3px;
+ margin-top: $space-1;
font-size: $text-xs;
color: var(--text-faint);
}
@@ -74,7 +74,7 @@
.bk-link {
display: inline-flex;
align-items: center;
- gap: 3px;
+ gap: $space-1;
padding: 0;
border: 0;
background: none;
@@ -89,7 +89,7 @@
.bk-hint {
display: flex;
align-items: center;
- gap: 7px;
+ gap: $space-2;
margin: 0;
font-size: $text-sm;
color: var(--text-faint);
@@ -119,12 +119,12 @@
grid-template-rows: repeat(7, auto);
grid-auto-flow: column;
grid-auto-columns: minmax(0, 1fr);
- gap: 3px;
+ gap: $space-1;
i {
aspect-ratio: 1;
min-width: 0;
- border-radius: 2px;
+ border-radius: $radius-badge;
background: var(--surface-3);
&.l1 { background: rgba(61, 220, 151, 0.32); }
@@ -135,13 +135,13 @@
&__scroll {
min-width: 0;
- padding-bottom: 4px;
+ padding-bottom: $space-1;
}
&__legend {
display: inline-flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
font-size: $text-xs;
color: var(--text-faint);
white-space: nowrap;
@@ -149,7 +149,7 @@
i {
width: 10px;
height: 10px;
- border-radius: 2px;
+ border-radius: $radius-badge;
&.l1 { background: rgba(61, 220, 151, 0.32); }
&.l2 { background: rgba(61, 220, 151, 0.62); }
@@ -174,7 +174,7 @@
strong {
display: block;
- margin-top: 3px;
+ margin-top: $space-1;
font-size: $text-lg;
font-weight: $font-weight-semibold;
color: var(--text);
@@ -190,8 +190,8 @@
&__item {
display: flex;
align-items: flex-start;
- gap: 12px;
- padding: 11px 0;
+ gap: $space-3;
+ padding: $space-3 0;
border-top: 1px solid var(--border-soft);
&:first-child { border-top: 0; padding-top: 0; }
@@ -201,7 +201,7 @@
&__dot {
width: 28px;
height: 28px;
- border-radius: 8px;
+ border-radius: $radius-card;
display: grid;
place-items: center;
flex-shrink: 0;
@@ -224,7 +224,7 @@
}
&__time {
- margin-top: 2px;
+ margin-top: $space-hair;
font-size: $text-xs;
color: var(--text-faint);
}
@@ -247,11 +247,11 @@
// Retention chips (the mock's GFS daily/weekly/monthly row).
.bk-ret {
display: inline-flex;
- gap: 4px;
+ gap: $space-1;
span {
- padding: 2px 7px;
- border-radius: 5px;
+ padding: $space-hair $space-2;
+ border-radius: $radius-control;
background: var(--surface-3);
color: var(--text-dim);
font-size: $text-xs;
@@ -261,7 +261,7 @@
.bk-lastrun {
display: inline-flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
font-size: $text-xs;
color: var(--text-faint);
white-space: nowrap;
@@ -319,7 +319,7 @@
&__ico {
width: 38px;
height: 38px;
- border-radius: 10px;
+ border-radius: $radius-card;
display: grid;
place-items: center;
flex-shrink: 0;
@@ -331,7 +331,7 @@
&__name {
display: flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
font-size: $text-base;
font-weight: $font-weight-semibold;
color: var(--text);
@@ -339,7 +339,7 @@
}
&__type {
- margin-top: 2px;
+ margin-top: $space-hair;
font-size: $text-xs;
color: var(--text-faint);
}
@@ -348,7 +348,7 @@
display: flex;
justify-content: space-between;
gap: $space-3;
- margin-top: 7px;
+ margin-top: $space-2;
font-size: $text-xs;
color: var(--text-faint);
}
@@ -360,7 +360,7 @@
display: flex;
justify-content: space-between;
gap: $space-3;
- padding: 7px 0;
+ padding: $space-2 0;
border-top: 1px solid var(--border-soft);
}
@@ -409,8 +409,8 @@
&__row + &__row { margin-top: $space-3; }
&__tag {
- padding: 1px 6px;
- border-radius: 4px;
+ padding: 1px $space-tight;
+ border-radius: $radius-badge;
@include status-variant(var(--accent-bright), var(--accent-bg));
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -421,13 +421,13 @@
align-items: baseline;
justify-content: space-between;
gap: $space-3;
- margin-bottom: 7px;
+ margin-bottom: $space-2;
}
&__name {
display: inline-flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
min-width: 0;
font-size: $text-sm;
font-weight: $font-weight-semibold;
@@ -453,14 +453,14 @@
&__bar {
height: 6px;
- border-radius: 3px;
+ border-radius: $radius-badge;
background: var(--surface-3);
overflow: hidden;
i {
display: block;
height: 100%;
- border-radius: 3px;
+ border-radius: $radius-badge;
transition: width 0.3s;
}
@@ -472,7 +472,7 @@
.bk-card {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-4;
}
@@ -484,7 +484,7 @@
flex-wrap: nowrap;
justify-content: flex-end;
align-items: center;
- gap: 2px;
+ gap: $space-hair;
white-space: nowrap;
// Icon-only affordances: quiet by default, and only the delete goes red —
@@ -496,7 +496,7 @@
height: 30px;
padding: 0;
border: 0;
- border-radius: 7px;
+ border-radius: $radius-control;
background: none;
color: var(--text-faint);
cursor: pointer;
@@ -595,7 +595,7 @@
align-items: flex-start;
gap: $space-2;
padding: $space-3;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $warning-bg;
border: 1px solid $warning-border;
color: $warning;
@@ -615,7 +615,7 @@
padding: $space-3;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
&__ico {
@@ -646,7 +646,7 @@
.backup-history-card {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-4;
&__tools {
@@ -660,7 +660,7 @@
align-items: center;
gap: $space-1;
padding: 1px $space-2;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
background: $bg-hover;
border: 1px solid $border-subtle;
color: $text-secondary;
@@ -683,7 +683,7 @@
.backup-calendar {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-4;
&__head {
@@ -701,7 +701,7 @@
height: 28px;
background: transparent;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-secondary;
cursor: pointer;
@@ -717,7 +717,7 @@
margin-left: auto;
background: transparent;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
padding: $space-1 $space-2;
color: $text-secondary;
font-size: $text-xs;
@@ -744,7 +744,7 @@
min-height: 44px;
padding: $space-1;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
background: $bg-body;
&--empty {
@@ -784,7 +784,7 @@
right: 2px;
min-width: 16px;
height: 16px;
- padding: 0 4px;
+ padding: 0 $space-1;
display: inline-flex;
align-items: center;
justify-content: center;
@@ -839,7 +839,7 @@
&__error {
padding: $space-3;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $danger-bg;
border: 1px solid $danger-border;
color: $danger;
@@ -875,7 +875,7 @@
&__item {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
overflow: hidden;
}
@@ -1008,7 +1008,7 @@
.schedule-card {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-4;
display: flex;
flex-direction: column;
@@ -1090,7 +1090,7 @@
gap: $space-2;
padding: $space-2 $space-3;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
cursor: pointer;
&:hover { border-color: $border-active; }
@@ -1104,7 +1104,7 @@
overflow-y: auto;
padding: $space-2;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $bg-body;
}
@@ -1113,7 +1113,7 @@
align-items: flex-start;
gap: $space-2;
padding: $space-3;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $warning-bg;
border: 1px solid $warning-border;
color: $warning;
@@ -1128,7 +1128,7 @@
gap: $space-3;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-4;
}
diff --git a/frontend/src/styles/pages/_bandwidth.scss b/frontend/src/styles/pages/_bandwidth.scss
index 6dcd7099..25815c0a 100644
--- a/frontend/src/styles/pages/_bandwidth.scss
+++ b/frontend/src/styles/pages/_bandwidth.scss
@@ -21,7 +21,7 @@
.bw-cell {
display: inline-flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
.bw-spark { flex-shrink: 0; }
@@ -41,7 +41,7 @@
&-caption {
display: block;
- margin-top: 6px;
+ margin-top: $space-tight;
font-size: $text-xs;
color: var(--text-faint);
}
@@ -58,13 +58,13 @@
&__grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
- gap: 16px;
+ gap: $space-4;
}
&__stat {
display: flex;
flex-direction: column;
- gap: 4px;
+ gap: $space-1;
min-width: 0;
}
@@ -92,15 +92,15 @@
padding: 0;
display: flex;
flex-direction: column;
- gap: 6px;
+ gap: $space-tight;
}
&__row {
display: grid;
grid-template-columns: 80px minmax(0, 1fr) minmax(0, 2fr) auto;
align-items: center;
- gap: 12px;
- padding: 6px 0;
+ gap: $space-3;
+ padding: $space-tight 0;
border-top: 1px solid var(--border-soft);
&:first-child { border-top: 0; }
@@ -132,8 +132,8 @@
display: flex;
align-items: center;
justify-content: space-between;
- gap: 12px;
- margin-bottom: 10px;
+ gap: $space-3;
+ margin-bottom: $space-3;
font-size: $text-sm;
color: var(--text-dim);
}
@@ -141,7 +141,7 @@
&__dialog {
display: flex;
flex-direction: column;
- gap: 12px;
+ gap: $space-3;
}
&__failure-mode {
@@ -154,29 +154,29 @@
// Database Explorer: Insights tab (plan 86 §A3).
// Component: databases/InsightsPanel.
.dbx-insights {
- padding: 16px;
+ padding: $space-4;
display: flex;
flex-direction: column;
- gap: 12px;
+ gap: $space-3;
overflow: auto;
&__head {
display: flex;
align-items: flex-start;
justify-content: space-between;
- gap: 16px;
+ gap: $space-4;
}
&__gauges {
display: flex;
flex-wrap: wrap;
- gap: 32px;
+ gap: $space-8;
}
&__gauge {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
}
&__label,
@@ -191,7 +191,7 @@
}
&__title {
- margin: 8px 0 0;
+ margin: $space-2 0 0;
font-size: $text-sm;
color: var(--text);
}
@@ -205,12 +205,12 @@
text-align: start;
font-weight: $font-weight-medium;
color: var(--text-dim);
- padding: 6px 8px;
+ padding: $space-tight $space-2;
border-bottom: 1px solid var(--border-soft);
}
td {
- padding: 6px 8px;
+ padding: $space-tight $space-2;
border-bottom: 1px solid var(--border-soft);
font-family: var(--mono);
white-space: nowrap;
@@ -228,7 +228,7 @@
display: flex;
flex-direction: column;
align-items: flex-start;
- gap: 8px;
+ gap: $space-2;
margin: 0;
font-size: $text-sm;
color: var(--text-dim);
@@ -246,7 +246,7 @@
.pooler {
&__hint,
&__tradeoff {
- margin: 0 0 6px;
+ margin: 0 0 $space-tight;
font-size: $text-sm;
color: var(--text-dim);
}
@@ -268,14 +268,14 @@
padding: 0;
display: flex;
flex-direction: column;
- gap: 12px;
+ gap: $space-3;
}
&__item {
display: flex;
flex-direction: column;
- gap: 4px;
- padding-top: 10px;
+ gap: $space-1;
+ padding-top: $space-3;
border-top: 1px solid var(--border-soft);
&:first-child { border-top: 0; padding-top: 0; }
@@ -313,7 +313,7 @@
&__slots {
display: flex;
flex-direction: column;
- gap: 10px;
+ gap: $space-3;
margin: 0;
}
@@ -321,7 +321,7 @@
display: grid;
grid-template-columns: 72px 1fr;
align-items: center;
- gap: 12px;
+ gap: $space-3;
dt {
font-size: $text-xs;
@@ -332,7 +332,7 @@
display: flex;
flex-wrap: wrap;
align-items: center;
- gap: 10px;
+ gap: $space-3;
margin: 0;
}
}
@@ -354,21 +354,21 @@
display: flex;
flex-wrap: wrap;
align-items: center;
- gap: 10px;
- margin-top: 12px;
- padding-top: 12px;
+ gap: $space-3;
+ margin-top: $space-3;
+ padding-top: $space-3;
border-top: 1px solid var(--border-soft);
}
&__off {
display: flex;
flex-direction: column;
- gap: 6px;
+ gap: $space-tight;
}
&__reasons {
- margin: 6px 0 0;
- padding-inline-start: 18px;
+ margin: $space-tight 0 0;
+ padding-inline-start: $space-5;
font-size: $text-sm;
color: var(--text-dim);
@@ -382,13 +382,13 @@
// Component: apps/SlotDeploysPanel.
.slot-split {
&__downtime {
- margin: 0 0 12px;
+ margin: 0 0 $space-3;
font-size: $text-sm;
color: var(--amber);
}
&__label {
- margin: 12px 0 6px;
+ margin: $space-3 0 $space-tight;
font-size: $text-xs;
color: var(--text-dim);
}
@@ -396,12 +396,12 @@
&__yaml {
max-height: 240px;
margin: 0;
- padding: 10px 12px;
+ padding: $space-3 $space-3;
overflow: auto;
font-family: var(--mono);
font-size: $text-xs;
background: var(--bg-code);
border: 1px solid var(--border-soft);
- border-radius: 6px;
+ border-radius: $radius-control;
}
}
diff --git a/frontend/src/styles/pages/_coexistence.scss b/frontend/src/styles/pages/_coexistence.scss
index 7ab679f9..a13304c9 100644
--- a/frontend/src/styles/pages/_coexistence.scss
+++ b/frontend/src/styles/pages/_coexistence.scss
@@ -11,7 +11,7 @@
padding: $space-5;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
}
&__mode-title {
@@ -60,7 +60,7 @@
padding: $space-4 $space-5;
background: $warning-bg;
border: 1px solid $warning-border;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
> svg { color: $warning; flex-shrink: 0; margin-top: 2px; }
diff --git a/frontend/src/styles/pages/_connections.scss b/frontend/src/styles/pages/_connections.scss
index d3498fac..7bf473f1 100644
--- a/frontend/src/styles/pages/_connections.scss
+++ b/frontend/src/styles/pages/_connections.scss
@@ -25,7 +25,7 @@
padding: $space-3 $space-4;
background: fade($warning-raw, 10%);
border: 1px solid fade($warning-raw, 30%);
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-size: $text-xs;
color: $text-secondary;
@@ -56,7 +56,7 @@
}
p {
- margin: 2px 0 0;
+ margin: $space-hair 0 0;
font-size: $text-xs;
color: $text-tertiary;
}
@@ -77,7 +77,7 @@
padding: $space-4;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
transition: border-color $transition-fast, background $transition-fast;
&:hover {
@@ -105,7 +105,7 @@
flex-shrink: 0;
width: 40px;
height: 40px;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: var(--surface-2);
color: $text-primary;
}
@@ -123,7 +123,7 @@
}
&__blurb {
- margin: 2px 0 0;
+ margin: $space-hair 0 0;
font-size: $text-xs;
color: $text-tertiary;
line-height: 1.45;
@@ -168,7 +168,7 @@
&__crosslink {
display: inline-flex;
align-items: center;
- gap: 3px;
+ gap: $space-1;
font-size: $text-xs;
font-weight: $font-weight-medium;
color: $text-tertiary;
@@ -240,7 +240,7 @@
flex-shrink: 0;
width: 38px;
height: 38px;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: var(--surface-2);
color: $text-primary;
}
@@ -276,7 +276,7 @@
.form-group {
display: flex;
flex-direction: column;
- gap: 6px;
+ gap: $space-tight;
}
}
@@ -290,7 +290,7 @@
padding: $space-3 $space-4;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
.conn-profile {
@@ -312,7 +312,7 @@
span {
display: block;
- margin-top: 2px;
+ margin-top: $space-hair;
color: $text-tertiary;
font-size: $text-xs;
}
@@ -337,7 +337,7 @@
span {
display: block;
- margin-top: 3px;
+ margin-top: $space-1;
color: $text-tertiary;
font-size: $text-xs;
line-height: 1.45;
@@ -354,7 +354,7 @@
&__item {
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
overflow: hidden;
}
@@ -365,7 +365,7 @@
padding: $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
// When nested inside an expandable item the border/radius come from the
// wrapper, so the row itself sits flush.
@@ -395,7 +395,7 @@
&__key {
display: block;
- margin-top: 2px;
+ margin-top: $space-hair;
font-family: $font-mono;
font-size: $text-xs;
color: $text-tertiary;
@@ -489,7 +489,7 @@
&__error {
flex-basis: 100%;
- margin-top: 2px;
+ margin-top: $space-hair;
color: $danger;
line-height: 1.4;
}
@@ -504,7 +504,7 @@
padding: $space-4;
background: var(--accent-bg, rgba(109, 124, 255, 0.08));
border: 1px solid var(--accent-dim, $border-subtle);
- border-radius: $radius-md;
+ border-radius: $radius-control;
&__head {
display: flex;
@@ -539,7 +539,7 @@
a {
display: inline-flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
color: $accent-primary;
text-decoration: none;
@@ -583,7 +583,7 @@
padding: $space-4;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
&__heading {
display: flex;
@@ -658,7 +658,7 @@
text-align: left;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
cursor: pointer;
transition: border-color $transition-fast, background $transition-fast;
@@ -702,7 +702,7 @@
gap: $space-2;
&__opt {
- padding: 5px $space-3;
+ padding: $space-tight $space-3;
background: $bg-card;
border: 1px solid $border-subtle;
border-radius: $radius-full;
@@ -752,7 +752,7 @@
margin-bottom: $space-5;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
overflow: hidden;
&__head {
@@ -784,7 +784,7 @@
justify-content: center;
min-width: 22px;
height: 20px;
- padding: 0 6px;
+ padding: 0 $space-tight;
border-radius: $radius-full;
background: var(--surface-2);
font-size: $text-xs;
@@ -795,7 +795,7 @@
&__warn {
display: inline-flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
font-size: $text-xs;
font-weight: $font-weight-medium;
color: $warning;
@@ -804,11 +804,11 @@
&__refresh {
display: inline-flex;
align-items: center;
- gap: 5px;
- padding: 5px $space-2;
+ gap: $space-tight;
+ padding: $space-tight $space-2;
background: transparent;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-size: $text-xs;
font-weight: $font-weight-medium;
color: $text-secondary;
@@ -857,7 +857,7 @@
&__expiry {
font-size: $text-xs;
font-weight: $font-weight-semibold;
- padding: 2px $space-2;
+ padding: $space-hair $space-2;
border-radius: $radius-full;
white-space: nowrap;
text-align: center;
diff --git a/frontend/src/styles/pages/_cron.scss b/frontend/src/styles/pages/_cron.scss
index 48b0f979..69c94fc0 100644
--- a/frontend/src/styles/pages/_cron.scss
+++ b/frontend/src/styles/pages/_cron.scss
@@ -72,7 +72,7 @@
.cron-ico {
width: 30px;
height: 30px;
- border-radius: 8px;
+ border-radius: $radius-card;
display: grid;
place-items: center;
flex-shrink: 0;
@@ -90,7 +90,7 @@
}
&__desc {
- margin-top: 2px;
+ margin-top: $space-hair;
font-size: $text-xs;
font-weight: $font-weight-normal;
color: var(--text-dim);
@@ -107,14 +107,14 @@
.cron-sched {
display: inline-flex;
align-items: center;
- gap: 5px;
- padding: 2px 8px;
+ gap: $space-tight;
+ padding: $space-hair $space-2;
font-family: var(--mono);
font-size: $text-xs;
color: var(--text-dim);
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: 6px;
+ border-radius: $radius-control;
white-space: nowrap;
svg {
@@ -124,7 +124,7 @@
}
.cron-sched-readable {
- margin-top: 3px;
+ margin-top: $space-1;
font-size: $text-xs;
color: var(--text-faint);
}
@@ -197,7 +197,7 @@
flex-wrap: wrap;
justify-content: flex-end;
gap: $space-2;
- padding-right: 32px; // clear the sheet's close button
+ padding-right: $space-8; // clear the sheet's close button
}
.cron-drawer {
@@ -385,7 +385,7 @@
min-width: 0;
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
}
&__name {
@@ -435,9 +435,9 @@
display: inline-flex;
align-items: center;
justify-content: center;
- padding: 3px;
+ padding: $space-1;
border: 1px solid var(--border-soft);
- border-radius: var(--radius-sm, 6px);
+ border-radius: var(--radius-sm, $radius-control);
background: transparent;
color: var(--text-faint);
cursor: pointer;
@@ -524,7 +524,7 @@
&__input {
width: 100%;
- padding: 9px 11px;
+ padding: $space-2 $space-3;
font-size: $text-sm;
color: var(--text);
background: var(--surface-2);
@@ -557,7 +557,7 @@
&__entry {
margin: 0;
- padding: 10px 12px;
+ padding: $space-3 $space-3;
overflow-x: auto;
font-family: var(--mono);
font-size: $text-xs;
diff --git a/frontend/src/styles/pages/_cutover.scss b/frontend/src/styles/pages/_cutover.scss
index d622ae16..860cbed5 100644
--- a/frontend/src/styles/pages/_cutover.scss
+++ b/frontend/src/styles/pages/_cutover.scss
@@ -100,9 +100,9 @@
code {
font-family: $font-mono;
font-size: $text-xs;
- padding: 1px 5px;
+ padding: 1px $space-tight;
background: $bg-secondary;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
}
@@ -140,7 +140,7 @@
padding: $space-2 $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-size: $text-xs;
color: $text-primary;
cursor: pointer;
@@ -166,11 +166,11 @@
&__stat {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
padding: $space-3 $space-4;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
&__stat-val {
@@ -191,7 +191,7 @@
&__table-wrap {
overflow-x: auto;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
margin-bottom: $space-3;
}
@@ -248,12 +248,12 @@
display: flex;
gap: $space-3;
padding: $space-3 $space-4;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-size: $text-xs;
svg {
flex-shrink: 0;
- margin-top: 2px;
+ margin-top: $space-hair;
}
p {
@@ -262,9 +262,9 @@
code {
font-family: $font-mono;
font-size: $text-xs;
- padding: 1px 5px;
+ padding: 1px $space-tight;
background: $bg-secondary;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
}
diff --git a/frontend/src/styles/pages/_dashboard.scss b/frontend/src/styles/pages/_dashboard.scss
index 0f5a1545..60e69e9b 100644
--- a/frontend/src/styles/pages/_dashboard.scss
+++ b/frontend/src/styles/pages/_dashboard.scss
@@ -23,7 +23,7 @@
letter-spacing: -0.02em;
display: flex;
align-items: center;
- gap: 10px;
+ gap: $space-3;
color: $text-primary;
}
}
@@ -33,11 +33,11 @@
.srv-switch {
display: inline-flex;
align-items: center;
- gap: 10px;
- padding: 2px 4px;
+ gap: $space-3;
+ padding: $space-hair $space-1;
border: none;
background: transparent;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
cursor: pointer;
color: $text-primary;
@include focus-ring();
@@ -65,7 +65,7 @@
// as `.ui-popover-content`.
.env-menu {
min-width: 280px;
- padding: 7px;
+ padding: $space-2;
background: var(--surface-2);
border: 1px solid var(--border-strong);
border-radius: var(--radius-lg);
@@ -75,19 +75,19 @@
&__head {
font-size: $text-xs;
color: var(--text-ghost);
- padding: 7px 10px 5px;
+ padding: $space-2 $space-3 $space-tight;
}
}
.env-opt {
display: flex;
align-items: center;
- gap: 11px;
+ gap: $space-3;
width: 100%;
- padding: 9px 10px;
+ padding: $space-2 $space-3;
border: none;
background: transparent;
- border-radius: 9px;
+ border-radius: $radius-card;
text-align: left;
cursor: pointer;
transition: background 0.1s ease;
@@ -105,7 +105,7 @@
&--online {
background: var(--green);
- box-shadow: 0 0 6px var(--green);
+ box-shadow: none;
}
&--offline {
@@ -203,7 +203,7 @@
grid-column: span 3;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
padding: $space-5;
position: relative;
overflow: hidden;
@@ -291,7 +291,7 @@
grid-column: span 8;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
padding: $space-5;
min-height: 450px;
display: flex;
@@ -346,7 +346,7 @@
grid-column: span 4;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
padding: $space-5;
display: flex;
flex-direction: column;
@@ -394,7 +394,7 @@
padding: $space-3;
background: $bg-hover;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-primary;
font-weight: $font-weight-semibold;
font-size: $text-xs;
@@ -423,7 +423,7 @@
grid-column: span 8;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
overflow: hidden;
@media (max-width: $breakpoint-lg) {
@@ -438,7 +438,7 @@
grid-column: span 4;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
padding: $space-5;
display: flex;
flex-direction: column;
@@ -468,7 +468,7 @@
font-size: $text-xs;
color: $text-tertiary;
text-decoration: none;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
transition: color $transition-fast;
@include focus-ring();
@@ -505,7 +505,7 @@
.app-name-link {
color: $text-primary;
text-decoration: none;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
@include focus-ring();
&:hover {
@@ -593,7 +593,7 @@
.refresh-select {
background: $bg-hover;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-primary;
font-size: $text-xs;
padding: $space-1 $space-2;
@@ -616,7 +616,7 @@
justify-content: center;
background: $bg-hover;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-secondary;
padding: $space-2;
cursor: pointer;
@@ -645,8 +645,8 @@
.skw-bar__ctl .skw-serverpick {
height: 32px;
width: auto;
- padding: 0 10px;
- border-radius: 8px;
+ padding: 0 $space-3;
+ border-radius: $radius-card;
font-size: $text-xs;
}
diff --git a/frontend/src/styles/pages/_databases.scss b/frontend/src/styles/pages/_databases.scss
index 7c0d2dc4..567f4ac4 100644
--- a/frontend/src/styles/pages/_databases.scss
+++ b/frontend/src/styles/pages/_databases.scss
@@ -30,10 +30,10 @@ $dbx-sqlite: #3d8fd1;
display: inline-flex;
align-items: center;
justify-content: center;
- padding: 7px;
+ padding: $space-2;
background: transparent;
border: 1px solid transparent;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-secondary;
cursor: pointer;
transition: background $transition-fast, color $transition-fast;
@@ -47,10 +47,10 @@ $dbx-sqlite: #3d8fd1;
display: inline-flex;
align-items: center;
gap: $space-2;
- padding: 6px $space-3;
+ padding: $space-tight $space-3;
background: $bg-tertiary;
border: 1px solid transparent;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-secondary;
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -126,7 +126,7 @@ $dbx-sqlite: #3d8fd1;
padding: $space-2;
scrollbar-width: thin;
&::-webkit-scrollbar { width: 6px; }
- &::-webkit-scrollbar-thumb { background: $border-active; border-radius: $radius-sm; }
+ &::-webkit-scrollbar-thumb { background: $border-active; border-radius: $radius-badge; }
}
.dbx-tree-loading {
@@ -153,8 +153,8 @@ $dbx-sqlite: #3d8fd1;
display: flex;
align-items: center;
gap: $space-1;
- padding: 5px 4px;
- border-radius: $radius-sm;
+ padding: $space-tight $space-1;
+ border-radius: $radius-badge;
cursor: pointer;
color: $text-primary;
user-select: none;
@@ -182,10 +182,10 @@ $dbx-sqlite: #3d8fd1;
.dbx-tree-source {
display: inline-flex;
align-items: center;
- gap: 3px;
+ gap: $space-1;
flex-shrink: 0;
margin-left: $space-1;
- padding: 1px 6px;
+ padding: 1px $space-tight;
font-size: $text-xs;
font-weight: $font-weight-medium;
line-height: 1.5;
@@ -206,7 +206,7 @@ $dbx-sqlite: #3d8fd1;
border: none;
color: $text-tertiary;
cursor: pointer;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
&:hover { color: $text-primary; }
&--leaf { cursor: default; }
}
@@ -222,7 +222,7 @@ $dbx-sqlite: #3d8fd1;
.dbx-tree-badge {
flex-shrink: 0;
- padding: 0 6px;
+ padding: 0 $space-tight;
font-size: $text-xs;
color: $text-tertiary;
background: $bg-tertiary;
@@ -251,7 +251,7 @@ $dbx-sqlite: #3d8fd1;
.dbx-tree-status {
display: inline-flex;
align-items: center;
- gap: 5px;
+ gap: $space-tight;
flex-shrink: 0;
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -268,10 +268,10 @@ $dbx-sqlite: #3d8fd1;
display: flex;
align-items: center;
justify-content: center;
- padding: 2px;
+ padding: $space-hair;
background: transparent;
border: none;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-tertiary;
cursor: pointer;
opacity: 0;
@@ -280,7 +280,7 @@ $dbx-sqlite: #3d8fd1;
}
.dbx-tree-leaf-msg {
- padding: 4px 6px;
+ padding: $space-1 $space-tight;
font-size: $text-xs;
color: $text-tertiary;
font-style: italic;
@@ -318,7 +318,7 @@ $dbx-sqlite: #3d8fd1;
.dbx-tabbar {
display: flex;
align-items: stretch;
- gap: 2px;
+ gap: $space-hair;
padding: $space-1 $space-1 0;
background: $bg-elevated;
border-bottom: 1px solid $border-default;
@@ -326,7 +326,7 @@ $dbx-sqlite: #3d8fd1;
flex-shrink: 0;
scrollbar-width: thin;
&::-webkit-scrollbar { height: 4px; }
- &::-webkit-scrollbar-thumb { background: $border-active; border-radius: $radius-sm; }
+ &::-webkit-scrollbar-thumb { background: $border-active; border-radius: $radius-badge; }
}
.dbx-tab {
@@ -338,7 +338,7 @@ $dbx-sqlite: #3d8fd1;
background: transparent;
border: 1px solid transparent;
border-bottom: none;
- border-radius: $radius-md $radius-md 0 0;
+ border-radius: $radius-control $radius-control 0 0;
color: $text-secondary;
font-size: $text-xs;
cursor: pointer;
@@ -371,7 +371,7 @@ $dbx-sqlite: #3d8fd1;
.dbx-tab-new {
padding: $space-2;
align-self: center;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-tertiary;
&:disabled { opacity: 0.4; cursor: not-allowed; }
@@ -382,10 +382,10 @@ $dbx-sqlite: #3d8fd1;
display: flex;
align-items: center;
justify-content: center;
- padding: 2px;
+ padding: $space-hair;
background: transparent;
border: none;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-tertiary;
cursor: pointer;
flex-shrink: 0;
@@ -444,15 +444,15 @@ $dbx-sqlite: #3d8fd1;
display: inline-flex;
align-items: center;
gap: $space-2;
- padding: 6px $space-3;
+ padding: $space-tight $space-3;
background: $accent-primary;
border: none;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: #fff;
font-size: $text-xs;
font-weight: $font-weight-semibold;
cursor: pointer;
- box-shadow: $shadow-accent;
+ box-shadow: none;
transition: background $transition-fast, transform $transition-fast;
&:hover:not(:disabled) { background: $accent-hover; }
@@ -461,20 +461,20 @@ $dbx-sqlite: #3d8fd1;
kbd {
font-family: $font-mono;
font-size: $text-xs;
- padding: 1px 5px;
+ padding: 1px $space-tight;
background: rgba(255, 255, 255, 0.18);
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
}
.dbx-toggle {
display: inline-flex;
align-items: center;
- gap: 6px;
- padding: 6px $space-3;
+ gap: $space-tight;
+ padding: $space-tight $space-3;
background: $bg-tertiary;
border: 1px solid transparent;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-secondary;
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -509,7 +509,7 @@ $dbx-sqlite: #3d8fd1;
&__gutter {
flex-shrink: 0;
min-width: 40px;
- padding: $space-3 10px $space-3 $space-3;
+ padding: $space-3 $space-3 $space-3 $space-3;
overflow: hidden;
text-align: right;
font-family: $font-mono;
@@ -570,8 +570,8 @@ $dbx-sqlite: #3d8fd1;
right: 14px;
display: inline-flex;
align-items: center;
- gap: 4px;
- padding: 2px 7px;
+ gap: $space-1;
+ padding: $space-hair $space-2;
background: $bg-card;
border: 1px solid $border-default;
border-radius: $radius-full;
@@ -620,8 +620,8 @@ $dbx-sqlite: #3d8fd1;
.dbx-history-time {
display: inline-flex;
align-items: center;
- gap: 4px;
- margin-top: 3px;
+ gap: $space-1;
+ margin-top: $space-1;
font-size: $text-xs;
color: $text-tertiary;
}
@@ -640,10 +640,10 @@ $dbx-sqlite: #3d8fd1;
kbd {
font-family: $font-mono;
font-size: $text-xs;
- padding: 1px 6px;
+ padding: 1px $space-tight;
background: $bg-tertiary;
border: 1px solid $border-default;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-secondary;
}
}
@@ -666,26 +666,26 @@ $dbx-sqlite: #3d8fd1;
.dbx-segmented {
display: inline-flex;
- gap: 2px;
- padding: 2px;
+ gap: $space-hair;
+ padding: $space-hair;
background: $bg-tertiary;
- border-radius: $radius-md;
+ border-radius: $radius-control;
button {
display: inline-flex;
align-items: center;
- gap: 6px;
- padding: 5px $space-3;
+ gap: $space-tight;
+ padding: $space-tight $space-3;
background: transparent;
border: none;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-secondary;
font-size: $text-xs;
font-weight: $font-weight-medium;
cursor: pointer;
transition: background $transition-fast, color $transition-fast;
&:hover { color: $text-primary; }
- &.is-active { background: $bg-card; color: $accent-primary; box-shadow: $shadow-sm; }
+ &.is-active { background: $bg-card; color: $accent-primary; box-shadow: none; }
svg { flex-shrink: 0; }
}
}
@@ -707,7 +707,7 @@ $dbx-sqlite: #3d8fd1;
background: $bg-card;
scrollbar-width: thin;
&::-webkit-scrollbar { width: 10px; height: 10px; }
- &::-webkit-scrollbar-thumb { background: $border-active; border-radius: $radius-sm; }
+ &::-webkit-scrollbar-thumb { background: $border-active; border-radius: $radius-badge; }
}
.dbx-grid {
@@ -736,7 +736,7 @@ $dbx-sqlite: #3d8fd1;
.dbx-grid-th {
display: flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
width: 100%;
padding: $space-2 $space-3;
background: transparent;
@@ -753,7 +753,7 @@ $dbx-sqlite: #3d8fd1;
tbody td {
max-width: 380px;
- padding: 6px $space-3;
+ padding: $space-tight $space-3;
border-bottom: 1px solid $border-subtle;
border-right: 1px solid $border-subtle;
color: $text-primary;
@@ -806,7 +806,7 @@ $dbx-sqlite: #3d8fd1;
.dbx-engine-tag {
display: inline-block;
- padding: 1px 8px;
+ padding: 1px $space-2;
border-radius: $radius-full;
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -830,7 +830,7 @@ $dbx-sqlite: #3d8fd1;
margin: $space-4;
background: $danger-bg;
border: 1px solid $danger-border;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $danger;
font-size: $text-xs;
svg { flex-shrink: 0; margin-top: 2px; }
@@ -866,7 +866,7 @@ $dbx-sqlite: #3d8fd1;
.dbx-status-item {
display: inline-flex;
align-items: center;
- gap: 5px;
+ gap: $space-tight;
font-size: $text-xs;
color: $text-secondary;
svg { color: $text-tertiary; }
@@ -901,7 +901,7 @@ $dbx-sqlite: #3d8fd1;
padding: 0;
background: $bg-tertiary;
border: none;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-tertiary;
cursor: pointer;
opacity: 0;
@@ -917,9 +917,9 @@ $dbx-sqlite: #3d8fd1;
.dbx-tree-install-btn {
display: inline-flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
flex-shrink: 0;
- padding: 1px 7px;
+ padding: 1px $space-2;
background: $accent-glow;
border: 1px solid transparent;
border-radius: $radius-full;
@@ -950,7 +950,7 @@ $dbx-sqlite: #3d8fd1;
padding: $space-2 $space-3;
background: transparent;
border: 1px dashed $border-active;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-tertiary;
font-size: $text-xs;
text-align: left;
@@ -995,7 +995,7 @@ $dbx-sqlite: #3d8fd1;
margin-bottom: $space-4;
background: $bg-elevated;
border: 1px solid $border-default;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
color: $text-secondary;
&.is-failed { border-color: $danger-border; color: $danger; }
@@ -1029,8 +1029,8 @@ $dbx-sqlite: #3d8fd1;
line-height: 1.6;
code {
- padding: 1px 5px;
- border-radius: $radius-sm;
+ padding: 1px $space-tight;
+ border-radius: $radius-badge;
background: $bg-tertiary;
font-family: $font-mono;
font-size: $text-xs;
@@ -1049,7 +1049,7 @@ $dbx-sqlite: #3d8fd1;
&__note {
display: inline-flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
max-width: 46ch;
margin: $space-5 0 0;
font-size: $text-xs;
@@ -1062,11 +1062,11 @@ $dbx-sqlite: #3d8fd1;
.dbx-context {
position: fixed;
min-width: 200px;
- padding: 4px;
+ padding: $space-1;
background: $bg-card;
border: 1px solid $border-default;
- border-radius: $radius-md;
- box-shadow: $shadow-lg;
+ border-radius: $radius-control;
+ box-shadow: $shadow-overlay;
z-index: $z-tooltip;
animation: dbx-pop 0.12s $ease-out-quart;
@@ -1078,7 +1078,7 @@ $dbx-sqlite: #3d8fd1;
padding: $space-2 $space-3;
background: transparent;
border: none;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-primary;
font-size: $text-xs;
text-align: left;
@@ -1159,10 +1159,10 @@ $dbx-sqlite: #3d8fd1;
// to inherit — give them the panel's own instead of the browser's.
select {
width: 100%;
- padding: 8px 11px;
+ padding: $space-2 $space-3;
background: $bg-elevated;
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-primary;
font-family: inherit;
font-size: $text-xs;
@@ -1183,7 +1183,7 @@ $dbx-sqlite: #3d8fd1;
&__label {
display: block;
- margin-bottom: 7px;
+ margin-bottom: $space-2;
color: $text-secondary;
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -1200,14 +1200,14 @@ $dbx-sqlite: #3d8fd1;
}
.dbx-field-hint {
- margin: 6px 0 0;
+ margin: $space-tight 0 0;
color: $text-tertiary;
font-size: $text-xs;
line-height: 1.5;
code {
- padding: 1px 5px;
- border-radius: $radius-sm;
+ padding: 1px $space-tight;
+ border-radius: $radius-badge;
background: $bg-tertiary;
font-family: $font-mono;
color: $text-secondary;
@@ -1217,11 +1217,11 @@ $dbx-sqlite: #3d8fd1;
.dbx-input {
display: flex;
align-items: center;
- gap: 9px;
- padding: 8px 11px;
+ gap: $space-2;
+ padding: $space-2 $space-3;
background: $bg-elevated;
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
transition: border-color $transition-fast, box-shadow $transition-fast;
&:focus-within {
@@ -1246,7 +1246,7 @@ $dbx-sqlite: #3d8fd1;
.dbx-inline-link {
display: inline-flex;
align-items: center;
- gap: 5px;
+ gap: $space-tight;
padding: 0;
background: none;
border: none;
@@ -1266,7 +1266,7 @@ $dbx-sqlite: #3d8fd1;
margin: 0;
gap: 0;
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
overflow: hidden;
&__ok { color: $success; }
@@ -1276,13 +1276,13 @@ $dbx-sqlite: #3d8fd1;
.dbx-optlist {
.info-item {
gap: $space-3;
- padding: 9px 13px;
+ padding: $space-2 $space-3;
border-bottom: none;
.info-label {
display: inline-flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
flex-shrink: 0;
color: $text-tertiary;
font-size: $text-xs;
@@ -1314,7 +1314,7 @@ $dbx-sqlite: #3d8fd1;
display: flex;
align-items: center;
justify-content: flex-end;
- gap: 6px;
+ gap: $space-tight;
min-width: 0;
}
@@ -1326,7 +1326,7 @@ $dbx-sqlite: #3d8fd1;
padding: 0;
background: transparent;
border: none;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-tertiary;
cursor: pointer;
flex-shrink: 0;
@@ -1339,7 +1339,7 @@ $dbx-sqlite: #3d8fd1;
// ─── Option rows + the public-port warning ────────────────
.dbx-optlist {
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
overflow: hidden;
> * + * { border-top: 1px solid $border-subtle; }
@@ -1350,7 +1350,7 @@ $dbx-sqlite: #3d8fd1;
align-items: center;
justify-content: space-between;
gap: $space-4;
- padding: 11px 13px;
+ padding: $space-3 $space-3;
&__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
&__title { color: $text-primary; font-size: $text-xs; font-weight: $font-weight-medium; }
@@ -1364,10 +1364,10 @@ $dbx-sqlite: #3d8fd1;
align-items: flex-start;
gap: $space-2;
margin: $space-3 0 0;
- padding: 10px 12px;
+ padding: $space-3 $space-3;
background: $warning-bg;
border: 1px solid $warning-border;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-secondary;
font-size: $text-xs;
line-height: 1.55;
@@ -1380,10 +1380,10 @@ $dbx-sqlite: #3d8fd1;
align-items: flex-start;
gap: $space-2;
margin-bottom: $space-4;
- padding: 11px 13px;
+ padding: $space-3 $space-3;
background: $success-bg;
border: 1px solid $success-border;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-secondary;
font-size: $text-xs;
line-height: 1.55;
@@ -1407,7 +1407,7 @@ $dbx-sqlite: #3d8fd1;
.dbx-cat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dbx-cat-chip {
- padding: 3px 10px;
+ padding: $space-1 $space-3;
background: $bg-tertiary;
border: 1px solid transparent;
border-radius: $radius-full;
@@ -1462,10 +1462,10 @@ $dbx-sqlite: #3d8fd1;
.dbx-eng-badge {
display: inline-flex;
align-items: center;
- gap: 5px;
+ gap: $space-tight;
flex-shrink: 0;
- padding: 3px 8px;
- border-radius: $radius-sm;
+ padding: $space-1 $space-2;
+ border-radius: $radius-badge;
font-size: $text-xs;
&.is-running { color: $success; background: $success-bg; }
@@ -1479,7 +1479,7 @@ $dbx-sqlite: #3d8fd1;
margin: 0;
padding: 0;
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
overflow: hidden;
}
@@ -1487,7 +1487,7 @@ $dbx-sqlite: #3d8fd1;
display: flex;
align-items: center;
gap: $space-3;
- padding: 11px 13px;
+ padding: $space-3 $space-3;
border-top: 1px solid $border-subtle;
&:first-child { border-top: none; }
}
@@ -1502,12 +1502,12 @@ $dbx-sqlite: #3d8fd1;
.dbx-eng-opt {
display: flex;
align-items: center;
- gap: 9px;
+ gap: $space-2;
min-width: 0;
- padding: 9px 11px;
+ padding: $space-2 $space-3;
background: $bg-elevated;
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
text-align: left;
cursor: pointer;
transition: border-color $transition-fast, background $transition-fast;
@@ -1556,7 +1556,7 @@ $dbx-sqlite: #3d8fd1;
&.dbx-select--sm {
height: auto;
min-width: 0;
- padding: 5px 8px;
+ padding: $space-tight $space-2;
font-family: $font-mono;
font-size: $text-xs;
}
@@ -1564,7 +1564,7 @@ $dbx-sqlite: #3d8fd1;
// Compact variant of the shared .dbx-input, for the column grid's cells.
.dbx-input--sm {
- padding: 5px 8px;
+ padding: $space-tight $space-2;
input {
font-family: $font-mono;
font-size: $text-xs;
@@ -1578,9 +1578,9 @@ $dbx-sqlite: #3d8fd1;
align-items: flex-start;
gap: $space-2;
margin-bottom: $space-4;
- padding: 11px 13px;
+ padding: $space-3 $space-3;
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $bg-elevated;
color: $text-secondary;
font-size: $text-xs;
@@ -1624,12 +1624,12 @@ $dbx-sqlite: #3d8fd1;
}
&__detail {
- margin: 6px 0 0;
- padding: 8px 10px;
+ margin: $space-tight 0 0;
+ padding: $space-2 $space-3;
max-height: 160px;
overflow: auto;
background: var(--bg-code);
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: var(--text-code);
font-family: $font-mono;
font-size: $text-xs;
@@ -1643,12 +1643,12 @@ $dbx-sqlite: #3d8fd1;
// is the safety story of the whole builder, so it must not read as prose.
.dbx-sqlprev {
margin: 0;
- padding: 11px 13px;
+ padding: $space-3 $space-3;
max-height: 220px;
overflow: auto;
background: var(--bg-code);
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: var(--text-code);
font-family: $font-mono;
font-size: $text-xs;
@@ -1666,8 +1666,8 @@ $dbx-sqlite: #3d8fd1;
li {
display: flex;
align-items: flex-start;
- gap: 7px;
- padding: 3px 0;
+ gap: $space-2;
+ padding: $space-1 0;
color: $danger;
font-size: $text-xs;
line-height: 1.5;
@@ -1700,15 +1700,15 @@ $dbx-sqlite: #3d8fd1;
&__target {
display: flex;
align-items: center;
- gap: 7px;
+ gap: $space-2;
margin: -$space-2 0 $space-4;
color: $text-tertiary;
font-size: $text-xs;
line-height: 1.5;
code {
- padding: 1px 5px;
- border-radius: $radius-sm;
+ padding: 1px $space-tight;
+ border-radius: $radius-badge;
background: $bg-tertiary;
font-family: $font-mono;
color: $text-secondary;
@@ -1727,12 +1727,12 @@ $dbx-sqlite: #3d8fd1;
&__row {
display: grid;
grid-template-columns: 1.4fr 1.3fr 34px 52px 1fr 26px;
- gap: 7px;
+ gap: $space-2;
align-items: center;
}
&__head {
- padding: 0 2px 6px;
+ padding: 0 $space-hair $space-tight;
color: $text-tertiary;
font-size: $text-xs;
}
@@ -1740,7 +1740,7 @@ $dbx-sqlite: #3d8fd1;
&__rows {
display: flex;
flex-direction: column;
- gap: 6px;
+ gap: $space-tight;
}
&__add {
@@ -1759,7 +1759,7 @@ $dbx-sqlite: #3d8fd1;
padding: 0;
background: transparent;
border: 1.5px solid $border-active;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $white;
cursor: pointer;
transition: background $transition-fast, border-color $transition-fast;
@@ -1784,12 +1784,12 @@ $dbx-sqlite: #3d8fd1;
max-height: 210px;
overflow-y: auto;
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
&__empty {
display: flex;
align-items: center;
- gap: 7px;
+ gap: $space-2;
margin: 0;
padding: $space-4;
color: $text-tertiary;
@@ -1804,7 +1804,7 @@ $dbx-sqlite: #3d8fd1;
display: flex;
align-items: center;
gap: $space-3;
- padding: 9px 12px;
+ padding: $space-2 $space-3;
background: transparent;
border: none;
border-top: 1px solid $border-subtle;
@@ -1834,8 +1834,8 @@ $dbx-sqlite: #3d8fd1;
&__tag {
flex-shrink: 0;
- padding: 2px 8px;
- border-radius: $radius-sm;
+ padding: $space-hair $space-2;
+ border-radius: $radius-badge;
font-size: $text-xs;
background: $bg-tertiary;
color: $text-tertiary;
@@ -1848,11 +1848,11 @@ $dbx-sqlite: #3d8fd1;
.dbx-check {
display: flex;
align-items: flex-start;
- gap: 9px;
+ gap: $space-2;
margin-bottom: $space-4;
- padding: 11px 13px;
+ padding: $space-3 $space-3;
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
cursor: pointer;
input { margin-top: 2px; flex-shrink: 0; accent-color: $accent-primary; }
@@ -1865,8 +1865,8 @@ $dbx-sqlite: #3d8fd1;
// A label may name an identifier the operator has to retype — give it the same
// code treatment the hints get.
.dbx-field__label code {
- padding: 1px 5px;
- border-radius: $radius-sm;
+ padding: 1px $space-tight;
+ border-radius: $radius-badge;
background: $bg-tertiary;
font-family: $font-mono;
color: $text-secondary;
@@ -1897,7 +1897,7 @@ $dbx-sqlite: #3d8fd1;
&__empty {
display: flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
font-size: $text-sm;
color: var(--text-faint);
padding: $spacing-lg 0;
@@ -1945,25 +1945,25 @@ $dbx-sqlite: #3d8fd1;
gap: $spacing-md;
padding: $spacing-sm;
border: 1px dashed var(--border-soft);
- border-radius: 6px;
+ border-radius: $radius-control;
.sk-copy-field { flex: 1 1 220px; }
}
&__user-form {
display: flex;
- gap: 6px;
+ gap: $space-tight;
flex-wrap: wrap;
align-items: center;
input {
flex: 1;
min-width: 160px;
- padding: 6px 10px;
+ padding: $space-tight $space-3;
font-size: $text-sm;
background: var(--bg-input, transparent);
border: 1px solid var(--border-soft);
- border-radius: 6px;
+ border-radius: $radius-control;
color: var(--text);
}
}
@@ -1971,7 +1971,7 @@ $dbx-sqlite: #3d8fd1;
&__info {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
min-width: 0;
flex: 1;
}
@@ -1984,7 +1984,7 @@ $dbx-sqlite: #3d8fd1;
&__actions {
display: flex;
- gap: 6px;
+ gap: $space-tight;
flex-wrap: wrap;
justify-content: flex-end;
}
diff --git a/frontend/src/styles/pages/_db-processes.scss b/frontend/src/styles/pages/_db-processes.scss
index a4939bae..362c1c3d 100644
--- a/frontend/src/styles/pages/_db-processes.scss
+++ b/frontend/src/styles/pages/_db-processes.scss
@@ -33,7 +33,7 @@
padding: $space-2 $space-3;
background: $danger-bg;
border: 1px solid $danger-border;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $danger;
font-size: $text-xs;
}
@@ -49,7 +49,7 @@
display: inline-block;
padding: 1px $space-2;
background: $bg-tertiary;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-secondary;
font-size: $text-xs;
}
diff --git a/frontend/src/styles/pages/_db-tuner.scss b/frontend/src/styles/pages/_db-tuner.scss
index 80045491..21d461c2 100644
--- a/frontend/src/styles/pages/_db-tuner.scss
+++ b/frontend/src/styles/pages/_db-tuner.scss
@@ -40,7 +40,7 @@
&__table-wrap {
overflow-x: auto;
border: 1px solid $border-color;
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
&__table {
@@ -80,7 +80,7 @@
&__desc {
display: block;
- margin-top: 2px;
+ margin-top: $space-hair;
color: $text-muted;
font-size: $text-xs;
max-width: 340px;
@@ -99,10 +99,10 @@
&__input {
width: 110px;
- padding: 4px $space-2;
+ padding: $space-1 $space-2;
background: $bg-input;
border: 1px solid $border-color;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-primary;
font-family: $font-mono;
font-size: $text-sm;
@@ -115,7 +115,7 @@
&__range {
display: block;
- margin-top: 2px;
+ margin-top: $space-hair;
font-size: $text-xs;
color: $text-muted;
}
diff --git a/frontend/src/styles/pages/_deploy-console.scss b/frontend/src/styles/pages/_deploy-console.scss
index a90338d7..480f69da 100644
--- a/frontend/src/styles/pages/_deploy-console.scss
+++ b/frontend/src/styles/pages/_deploy-console.scss
@@ -44,7 +44,7 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
justify-content: center;
width: 32px;
height: 32px;
- border-radius: $radius-md;
+ border-radius: $radius-control;
border: 1px solid $border-subtle;
color: $text-secondary;
background: $bg-card;
@@ -74,8 +74,8 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
display: inline-flex;
align-items: center;
gap: $space-1;
- padding: 3px 10px;
- border-radius: 999px;
+ padding: $space-1 $space-3;
+ border-radius: $radius-full;
font-size: $text-xs;
font-weight: $font-weight-semibold;
text-transform: capitalize;
@@ -110,7 +110,7 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
align-items: center;
gap: $space-2;
padding: $space-2 $space-3;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-size: $text-xs;
}
@@ -136,7 +136,7 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
flex-direction: column;
min-width: 0;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
overflow: hidden;
}
@@ -145,7 +145,7 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
display: flex;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
overflow: hidden;
// Narrow viewports: segments would shrink past legibility, so the strip
@@ -158,7 +158,7 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
&__seg {
flex: 1;
min-width: 0;
- padding: 12px 14px 13px;
+ padding: $space-3 $space-4 $space-3;
background: none;
border: none;
// A 2px top edge carries the step's state colour — the strip reads as a
@@ -183,7 +183,7 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
&__seg-head {
display: flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
color: var(--text-ghost);
font-size: $text-sm;
font-weight: $font-weight-medium;
@@ -209,8 +209,8 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
&__seg-bar {
display: block;
height: 3px;
- margin-top: 11px;
- border-radius: 2px;
+ margin-top: $space-3;
+ border-radius: $radius-badge;
background: var(--surface-3);
overflow: hidden;
@@ -223,7 +223,7 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
&__seg-dur {
display: block;
- margin-top: 6px;
+ margin-top: $space-tight;
color: $text-tertiary;
font-size: $text-xs;
}
@@ -234,8 +234,8 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
&__runmeta {
display: flex;
flex-wrap: wrap;
- gap: 6px 20px;
- padding: 0 3px;
+ gap: $space-tight $space-5;
+ padding: 0 $space-1;
color: var(--text-ghost);
font-size: $text-xs;
@@ -263,10 +263,10 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
&__toggle {
display: inline-flex;
align-items: center;
- gap: 4px;
- padding: 4px 8px;
+ gap: $space-1;
+ padding: $space-1 $space-2;
font-size: $text-xs;
- border-radius: $radius-md;
+ border-radius: $radius-control;
border: 1px solid $border-subtle;
background: transparent;
color: $text-secondary;
@@ -282,10 +282,10 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
&__level .ui-select-trigger {
width: auto;
height: auto;
- gap: 4px;
- padding: 4px 6px;
+ gap: $space-1;
+ padding: $space-1 $space-tight;
font-size: $text-xs;
- border-radius: $radius-md;
+ border-radius: $radius-control;
border: 1px solid $border-subtle;
background: $bg-card;
color: $text-secondary;
@@ -299,9 +299,9 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
&__search {
display: inline-flex;
align-items: center;
- gap: 4px;
- padding: 2px 8px;
- border-radius: $radius-md;
+ gap: $space-1;
+ padding: $space-hair $space-2;
+ border-radius: $radius-control;
border: 1px solid $border-subtle;
color: $text-tertiary;
flex: 1 1 160px;
@@ -345,7 +345,7 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
width: 16px;
display: flex;
flex-direction: column;
- padding: 2px 3px;
+ padding: $space-hair $space-1;
gap: 1px;
background: rgba(0, 0, 0, 0.25);
border-left: 1px solid $dc-surface-line;
@@ -356,7 +356,7 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
&__map-tick {
flex: 1 1 0;
min-height: 1px;
- border-radius: 1px;
+ border-radius: $radius-badge;
// Unclassified slices stay empty rather than drawing a bar for
// "nothing happened here".
background: transparent;
@@ -380,7 +380,7 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
right: 0;
min-height: 8px;
border: 1px solid rgba(255, 255, 255, 0.5);
- border-radius: 2px;
+ border-radius: $radius-badge;
background: rgba(255, 255, 255, 0.1);
pointer-events: none;
}
@@ -405,8 +405,8 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
&__line {
display: flex;
gap: $space-2;
- padding: 0 4px;
- border-radius: 3px;
+ padding: 0 $space-1;
+ border-radius: $radius-badge;
&[data-step] { scroll-margin-top: $space-2; }
@@ -439,22 +439,22 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
transform: translateX(-50%);
display: inline-flex;
align-items: center;
- gap: 4px;
- padding: 4px 12px;
- border-radius: 999px;
+ gap: $space-1;
+ padding: $space-1 $space-3;
+ border-radius: $radius-full;
border: none;
background: var(--accent-primary);
color: #fff;
font-size: $text-xs;
cursor: pointer;
- box-shadow: $shadow-lg;
+ box-shadow: $shadow-overlay;
}
// ---- error card ----
&__error {
border: 1px solid var(--red-bg);
border-left: 3px solid $danger;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
background: var(--red-bg);
padding: $space-3;
display: flex;
@@ -471,7 +471,7 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
}
&__error-msg {
- margin: 2px 0 0;
+ margin: $space-hair 0 0;
color: $text-secondary;
font-size: $text-xs;
}
@@ -482,7 +482,7 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
gap: $space-1;
margin: 0;
padding: $space-2;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: rgba($warning-raw, 0.12);
color: $warning;
font-size: $text-xs;
@@ -494,7 +494,7 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
overflow: auto;
padding: $space-2;
background: $dc-surface;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-family: $font-mono;
font-size: $text-xs;
line-height: 1.5;
@@ -514,7 +514,7 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
&__success {
border: 1px solid var(--green-bg);
border-left: 3px solid $success;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
background: var(--green-bg);
padding: $space-3;
display: flex;
@@ -540,14 +540,14 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
margin: 0;
padding: 0;
display: grid;
- gap: 2px;
+ gap: $space-hair;
li {
display: flex;
justify-content: space-between;
font-size: $text-xs;
color: $text-secondary;
- padding: 2px 0;
+ padding: $space-hair 0;
border-bottom: 1px solid $dc-surface-line;
span:last-child { font-variant-numeric: tabular-nums; }
@@ -574,8 +574,8 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
display: inline-flex;
align-items: center;
gap: $space-1;
- padding: 6px 12px;
- border-radius: $radius-md;
+ padding: $space-tight $space-3;
+ border-radius: $radius-control;
border: 1px solid $border-subtle;
background: $bg-card;
color: $text-primary;
@@ -616,8 +616,8 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
// Error / warning counts in the toolbar. They read as a summary first and
// filter second, so they stay visible even when a filter is off.
&__chip {
- padding: 3px 9px;
- border-radius: 999px;
+ padding: $space-1 $space-2;
+ border-radius: $radius-full;
border: 1px solid transparent;
background: var(--surface-3);
color: $text-secondary;
@@ -636,7 +636,7 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
&__nav {
display: flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
}
&__nav-count {
@@ -656,9 +656,9 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
z-index: 2;
display: flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
width: 100%;
- padding: 5px $space-2;
+ padding: $space-tight $space-2;
border: none;
border-top: 1px solid $dc-surface-line;
background: #131a24;
@@ -710,15 +710,15 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
&__error-toggle {
display: inline-flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
margin-left: auto;
- padding: 4px 8px;
+ padding: $space-1 $space-2;
border: none;
background: transparent;
color: $text-secondary;
font-size: $text-xs;
cursor: pointer;
- border-radius: $radius-md;
+ border-radius: $radius-control;
&:hover { color: $text-primary; background: rgba(255, 255, 255, 0.06); }
}
diff --git a/frontend/src/styles/pages/_deployments.scss b/frontend/src/styles/pages/_deployments.scss
index 5c1329e1..db262c46 100644
--- a/frontend/src/styles/pages/_deployments.scss
+++ b/frontend/src/styles/pages/_deployments.scss
@@ -19,9 +19,9 @@
.sk-cell-dim { white-space: nowrap; }
&__kind {
- padding: 1px 5px;
+ padding: 1px $space-tight;
border: 1px solid var(--border);
- border-radius: 4px;
+ border-radius: $radius-badge;
color: var(--text-ghost);
font-size: $text-xs;
}
@@ -31,18 +31,18 @@
&__pipe {
display: flex;
align-items: center;
- gap: 9px;
+ gap: $space-2;
}
&__ticks {
display: flex;
- gap: 3px;
+ gap: $space-1;
i {
display: block;
width: 7px;
height: 15px;
- border-radius: 2px;
+ border-radius: $radius-badge;
background: var(--surface-3);
&.is-done { background: var(--green); }
@@ -91,7 +91,7 @@
padding: $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
cursor: pointer;
text-align: left;
@@ -108,7 +108,7 @@
&__sim-scenario-text {
display: grid;
- gap: 2px;
+ gap: $space-hair;
min-width: 0;
strong { color: $text-primary; font-size: $text-xs; font-weight: $font-weight-semibold; }
diff --git a/frontend/src/styles/pages/_docker.scss b/frontend/src/styles/pages/_docker.scss
index e34729d5..009fc54e 100644
--- a/frontend/src/styles/pages/_docker.scss
+++ b/frontend/src/styles/pages/_docker.scss
@@ -42,7 +42,7 @@
flex: 1;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
padding: $space-4;
overflow-y: auto;
font-family: $font-mono;
@@ -62,7 +62,7 @@
code {
background: $bg-hover;
padding: $space-1 $space-2;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $accent-primary;
}
}
@@ -108,7 +108,7 @@
gap: $space-2;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
padding: $space-2 $space-3;
&:focus-within {
@@ -150,7 +150,7 @@
padding: $space-12 $space-6;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
max-width: 600px;
margin: 0 auto;
@@ -161,7 +161,7 @@
align-items: center;
justify-content: center;
background: fade($color-docker, 10%);
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
margin-bottom: $space-6;
svg {
@@ -192,7 +192,7 @@
padding: $space-3 $space-4;
background: $bg-hover;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-family: $font-mono;
font-size: $text-xs;
color: $text-tertiary;
@@ -205,7 +205,7 @@
width: 100%;
padding: $space-5;
background: $bg-hover;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
text-align: left;
margin-bottom: $space-6;
@@ -264,13 +264,13 @@
padding: $space-4;
background: $bg-card;
border: 1px solid $border-default;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
@include transition(all);
&:hover {
border-color: $border-hover;
transform: translateY(-1px);
- box-shadow: $shadow-md;
+ box-shadow: $shadow-raised;
}
}
@@ -278,8 +278,8 @@
.dx-tab {
background: transparent;
border: none;
- padding: 8px $space-4;
- border-radius: $radius-md;
+ padding: $space-2 $space-4;
+ border-radius: $radius-control;
color: $text-secondary;
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -297,7 +297,7 @@
.dx-panel {
background: $bg-card;
border: 1px solid $border-default;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
overflow: hidden;
min-height: 400px;
}
@@ -318,7 +318,7 @@
.dx-status-pill {
display: inline-flex;
- padding: 1px 8px;
+ padding: 1px $space-2;
border-radius: $radius-full;
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -332,9 +332,9 @@
.dx-port-pill {
display: inline-flex;
align-items: center;
- padding: 1px 6px;
+ padding: 1px $space-tight;
background: $bg-tertiary;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
font-family: $font-mono;
font-size: $text-xs;
color: $text-secondary;
@@ -345,9 +345,9 @@
.dx-port-more {
display: inline-flex;
align-items: center;
- padding: 1px 6px;
+ padding: 1px $space-tight;
background: $bg-tertiary;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
font-size: $text-xs;
color: $text-tertiary;
}
@@ -362,7 +362,7 @@
.dx-res-track {
height: 4px;
background: $border-default;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
overflow: hidden;
}
@@ -450,7 +450,7 @@
min-height: 0;
background: $bg-elevated;
border: 1px solid $border-default;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
.dx-resource-list {
@@ -522,7 +522,7 @@
.dx-name-stack {
display: flex;
flex-direction: column;
- gap: 3px;
+ gap: $space-1;
min-width: 0;
}
@@ -553,8 +553,8 @@
.dx-code-pill {
display: inline-flex;
max-width: 100%;
- padding: 2px $space-2;
- border-radius: $radius-sm;
+ padding: $space-hair $space-2;
+ border-radius: $radius-badge;
background: $bg-tertiary;
color: $text-secondary;
font-family: $font-mono;
@@ -565,7 +565,7 @@
.dx-port-list {
display: flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
flex-wrap: wrap;
min-width: 0;
@@ -581,7 +581,7 @@
.dx-mini-resources {
display: flex;
flex-direction: column;
- gap: 5px;
+ gap: $space-tight;
min-width: 150px;
&.is-muted {
@@ -613,14 +613,14 @@
display: flex;
align-items: center;
justify-content: flex-end;
- gap: 4px;
+ gap: $space-1;
}
.dx-row-action {
width: 28px;
height: 28px;
border: 1px solid $border-default;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
background: transparent;
color: $text-tertiary;
display: inline-flex;
@@ -649,7 +649,7 @@
.dx-action-btn {
min-height: 30px;
border: 1px solid $border-default;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
background: $bg-card;
color: $text-secondary;
display: inline-flex;
@@ -683,11 +683,11 @@
.dx-row-protected {
display: inline-flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
height: 28px;
padding: 0 $space-2;
border: 1px dashed $border-default;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-tertiary;
font-size: $text-xs;
white-space: nowrap;
@@ -701,7 +701,7 @@
gap: $space-2;
padding: 0 $space-3;
border: 1px dashed $border-default;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-tertiary;
font-size: $text-xs;
white-space: nowrap;
@@ -725,7 +725,7 @@
.dx-inspector-icon {
width: 38px;
height: 38px;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: fade($info-raw, 12%);
color: $info;
display: flex;
@@ -781,7 +781,7 @@
button {
border: none;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
background: transparent;
color: $text-secondary;
font-size: $text-xs;
@@ -821,7 +821,7 @@
div {
min-width: 0;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
padding: $space-3;
background: $bg-card;
}
@@ -830,7 +830,7 @@
display: block;
color: $text-tertiary;
font-size: $text-xs;
- margin-bottom: 4px;
+ margin-bottom: $space-1;
}
strong {
@@ -868,11 +868,11 @@
min-width: 0;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-secondary;
font-family: $font-mono;
font-size: $text-xs;
- padding: 3px $space-2;
+ padding: $space-1 $space-2;
@include truncate();
}
}
@@ -886,7 +886,7 @@
display: block;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-secondary;
font-family: $font-mono;
font-size: $text-xs;
diff --git a/frontend/src/styles/pages/_doctor.scss b/frontend/src/styles/pages/_doctor.scss
index db9305bf..6c563daa 100644
--- a/frontend/src/styles/pages/_doctor.scss
+++ b/frontend/src/styles/pages/_doctor.scss
@@ -55,7 +55,7 @@
&__body {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
min-width: 0;
flex: 1;
}
@@ -122,7 +122,7 @@
}
.doctor-check__why {
- margin-top: 2px;
+ margin-top: $space-hair;
font-size: $text-xs;
line-height: 1.45;
color: var(--text-faint);
diff --git a/frontend/src/styles/pages/_domains.scss b/frontend/src/styles/pages/_domains.scss
index ec60efd5..bea37a82 100644
--- a/frontend/src/styles/pages/_domains.scss
+++ b/frontend/src/styles/pages/_domains.scss
@@ -26,7 +26,7 @@
.dom-fav {
width: 30px;
height: 30px;
- border-radius: 8px;
+ border-radius: $radius-card;
display: grid;
place-items: center;
flex-shrink: 0;
@@ -35,8 +35,8 @@
.dom-primary {
margin-left: $space-2;
- padding: 1px 6px;
- border-radius: $radius-sm;
+ padding: 1px $space-tight;
+ border-radius: $radius-badge;
@include status-variant(var(--accent-bright), var(--accent-bg));
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -52,8 +52,8 @@
// "Managed" chip — a provider zone ServerKit has adopted for record/ops management.
.dom-managed {
margin-left: $space-2;
- padding: 1px 6px;
- border-radius: $radius-sm;
+ padding: 1px $space-tight;
+ border-radius: $radius-badge;
@include status-variant($success, $success-bg);
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -82,21 +82,21 @@
.dom-meter {
display: flex;
flex-direction: column;
- gap: 5px;
+ gap: $space-tight;
min-width: 0;
font-size: $text-xs;
&__bar {
display: block;
height: 4px;
- border-radius: 3px;
+ border-radius: $radius-badge;
background: var(--surface-3);
overflow: hidden;
i {
display: block;
height: 100%;
- border-radius: 3px;
+ border-radius: $radius-badge;
opacity: 0.85;
}
}
@@ -118,7 +118,7 @@
margin-bottom: $space-3;
padding: $space-2 $space-3;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: fade($warning-raw, 8%);
font-size: $text-xs;
color: $text-secondary;
@@ -165,7 +165,7 @@
font-size: $text-xs;
color: $text-tertiary;
background: var(--surface-2);
- border-radius: $radius-md;
+ border-radius: $radius-control;
&--error { color: $danger; }
}
@@ -176,7 +176,7 @@
gap: $space-3;
padding: $space-3;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: var(--surface-2);
}
@@ -222,7 +222,7 @@
&__ssl {
display: flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
margin: 0;
font-size: $text-xs;
color: $success;
@@ -233,7 +233,7 @@
&__proxy {
display: inline-flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
font-size: $text-xs;
color: $text-tertiary;
@@ -244,7 +244,7 @@
font-size: $text-xs;
font-weight: $font-weight-medium;
color: $text-tertiary;
- padding: 1px 6px;
+ padding: 1px $space-tight;
border-radius: $radius-full;
background: var(--surface-2);
@@ -267,15 +267,15 @@
display: inline-flex;
align-items: center;
justify-content: flex-end;
- gap: 6px;
+ gap: $space-tight;
}
// "Dynamic" badge on a record that is a token-updatable DDNS host.
&__dyn {
display: inline-flex;
align-items: center;
- gap: 4px;
- padding: 1px 7px;
+ gap: $space-1;
+ padding: 1px $space-2;
border-radius: $radius-full;
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -293,7 +293,7 @@
flex-direction: column;
padding: $space-2 $space-3;
background: var(--surface-2);
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
&__prop-row {
@@ -325,7 +325,7 @@
flex-wrap: wrap;
justify-content: flex-end;
gap: $space-2;
- padding-right: 32px;
+ padding-right: $space-8;
}
.dom-drawer {
@@ -411,7 +411,7 @@
padding: $space-5;
background: $success-bg;
border: 1px solid $success-border;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
margin-bottom: $space-5;
color: $success;
@@ -435,8 +435,8 @@
.dns-rtype {
display: inline-flex;
align-items: center;
- padding: 2px 7px;
- border-radius: 5px;
+ padding: $space-hair $space-2;
+ border-radius: $radius-control;
font-family: var(--mono);
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -499,7 +499,7 @@
min-width: 0;
background: var(--surface);
border: 1px solid var(--border-soft);
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
padding: $spacing-xs $spacing-sm;
font-family: var(--mono);
font-size: $text-xs;
diff --git a/frontend/src/styles/pages/_downloads.scss b/frontend/src/styles/pages/_downloads.scss
index 2ea2d655..7db39757 100644
--- a/frontend/src/styles/pages/_downloads.scss
+++ b/frontend/src/styles/pages/_downloads.scss
@@ -25,7 +25,7 @@
.alert-error {
background: $danger-bg;
border: 1px solid $danger-border;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-4;
margin-bottom: $space-6;
display: flex;
@@ -42,7 +42,7 @@
border: 1px solid $danger;
color: $danger;
padding: $space-2 $space-4;
- border-radius: $radius-md;
+ border-radius: $radius-control;
cursor: pointer;
transition: all 0.2s;
@@ -56,7 +56,7 @@
// Version Banner
.version-banner {
background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-hover) 100%);
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-6 $space-8;
margin-bottom: $space-8;
display: flex;
@@ -103,7 +103,7 @@
border: 1px solid rgba(255, 255, 255, 0.4);
color: $white;
padding: $space-2 $space-4;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-size: $text-xs;
cursor: pointer;
transition: all 0.2s;
@@ -119,7 +119,7 @@
color: $accent-primary;
border: none;
padding: $space-2 $space-5;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-size: $text-xs;
font-weight: $font-weight-semibold;
cursor: pointer;
@@ -157,7 +157,7 @@
code {
background: $bg-secondary;
padding: $space-1 $space-2;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
font-family: $font-mono;
font-size: $text-xs;
}
@@ -174,7 +174,7 @@
.download-card {
background: $bg-card;
border: 1px solid $border-default;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-6;
display: flex;
flex-direction: column;
@@ -204,7 +204,7 @@
align-items: center;
justify-content: center;
background: $bg-elevated;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
margin-bottom: $space-1;
.platform-icon {
@@ -252,7 +252,7 @@
.command-block {
background: $bg-card;
border: 1px solid $border-default;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
overflow: hidden;
.command-header {
@@ -303,7 +303,7 @@
padding: $space-4;
background: $bg-card;
border: 1px solid $border-default;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
.step-number {
flex-shrink: 0;
@@ -340,7 +340,7 @@
code {
background: $bg-secondary;
padding: $space-1 $space-2;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
font-family: $font-mono;
font-size: $text-xs;
color: $text-primary;
diff --git a/frontend/src/styles/pages/_errors.scss b/frontend/src/styles/pages/_errors.scss
index c481e1fd..27cdba82 100644
--- a/frontend/src/styles/pages/_errors.scss
+++ b/frontend/src/styles/pages/_errors.scss
@@ -22,7 +22,7 @@
}
.sk-err__message {
- margin-top: 2px;
+ margin-top: $space-hair;
font-size: $text-sm;
color: var(--text-dim);
white-space: nowrap;
@@ -49,8 +49,8 @@
// Occurrence badge — only rendered when the same fingerprint hit >1 time.
.sk-err__count {
display: inline-block;
- padding: 1px 8px;
- border-radius: 999px;
+ padding: 1px $space-2;
+ border-radius: $radius-full;
border: 1px solid var(--border);
background: var(--surface-2);
font-size: $text-xs;
@@ -68,7 +68,7 @@
.err-detail {
display: flex;
flex-direction: column;
- gap: 16px;
+ gap: $space-4;
&__rows {
margin: 0;
@@ -79,8 +79,8 @@
display: flex;
align-items: center;
justify-content: space-between;
- gap: 16px;
- padding: 9px 0;
+ gap: $space-4;
+ padding: $space-2 0;
border-bottom: 1px solid var(--border-soft);
&:last-child { border-bottom: none; }
@@ -114,8 +114,8 @@
&__context {
margin: 0;
overflow: auto;
- padding: 12px;
- border-radius: 8px;
+ padding: $space-3;
+ border-radius: $radius-card;
border: 1px solid var(--border-soft);
background: var(--surface-2);
font-family: var(--mono);
@@ -131,6 +131,6 @@
&__actions {
display: flex;
justify-content: flex-end;
- gap: 8px;
+ gap: $space-2;
}
}
diff --git a/frontend/src/styles/pages/_file-manager.scss b/frontend/src/styles/pages/_file-manager.scss
index ec3a2145..0c901bd0 100644
--- a/frontend/src/styles/pages/_file-manager.scss
+++ b/frontend/src/styles/pages/_file-manager.scss
@@ -49,7 +49,7 @@ $ft-default: #646b7a;
.upload-tray {
background: var(--surface);
border: 1px solid $border-default;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
overflow: hidden;
margin: $space-2 $space-4 0;
flex-shrink: 0;
@@ -102,7 +102,7 @@ $ft-default: #646b7a;
.upload-bar {
height: 4px;
background: var(--surface-3);
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
overflow: hidden;
.upload-bar-fill {
@@ -132,7 +132,7 @@ $ft-default: #646b7a;
display: flex;
justify-content: space-between;
align-items: center;
- padding: 9px $space-4;
+ padding: $space-2 $space-4;
background: transparent;
border: none;
border-bottom: 1px solid var(--border-soft);
@@ -159,14 +159,14 @@ $ft-default: #646b7a;
.nav-buttons {
display: flex;
- gap: 2px;
+ gap: $space-hair;
.nav-btn {
background: transparent;
border: none;
width: 30px;
height: 30px;
- border-radius: 8px;
+ border-radius: $radius-card;
color: var(--text-dim);
cursor: pointer;
display: flex;
@@ -211,8 +211,8 @@ $ft-default: #646b7a;
.crumb {
background: transparent;
border: none;
- padding: 4px 8px;
- border-radius: $radius-sm;
+ padding: $space-1 $space-2;
+ border-radius: $radius-badge;
color: var(--text-dim);
cursor: pointer;
font: inherit;
@@ -236,11 +236,11 @@ $ft-default: #646b7a;
display: inline-flex;
align-items: center;
min-width: 0;
- gap: 5px;
+ gap: $space-tight;
margin-inline-start: $space-1;
- padding: 4px 8px;
+ padding: $space-1 $space-2;
border: 1px solid var(--border-soft);
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
background: var(--surface-2);
color: var(--text-faint);
font-size: $text-xs;
@@ -257,7 +257,7 @@ $ft-default: #646b7a;
align-items: center;
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: 8px;
+ border-radius: $radius-card;
width: clamp(160px, 18vw, 220px);
@include transition(all);
@@ -276,7 +276,7 @@ $ft-default: #646b7a;
input {
background: transparent;
border: none;
- padding: 6px $space-3 6px 32px;
+ padding: $space-tight $space-3 $space-tight $space-8;
font-size: $text-xs;
color: $text-primary;
width: 100%;
@@ -290,10 +290,10 @@ $ft-default: #646b7a;
right: 6px;
background: transparent;
border: none;
- padding: 4px;
+ padding: $space-1;
color: $text-tertiary;
cursor: pointer;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
display: flex;
align-items: center;
justify-content: center;
@@ -307,10 +307,10 @@ $ft-default: #646b7a;
display: inline-flex;
align-items: center;
gap: $space-2;
- padding: 6px $space-3;
+ padding: $space-tight $space-3;
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: 8px;
+ border-radius: $radius-card;
color: var(--text-dim);
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -331,8 +331,8 @@ $ft-default: #646b7a;
.toolbar-icon-btn {
background: transparent;
border: none;
- padding: 7px;
- border-radius: 8px;
+ padding: $space-2;
+ border-radius: $radius-card;
color: var(--text-dim);
cursor: pointer;
display: flex;
@@ -356,10 +356,10 @@ $ft-default: #646b7a;
width: auto;
height: 32px;
min-width: 0;
- gap: 5px;
- padding-inline: 8px 5px;
+ gap: $space-tight;
+ padding-inline: $space-2 $space-tight;
border: 1px solid var(--border);
- border-radius: 8px;
+ border-radius: $radius-card;
background: var(--surface-2);
color: var(--text-faint);
font-size: $text-xs;
@@ -390,18 +390,18 @@ $ft-default: #646b7a;
// ─── View toggles ───────────────────────────────────
.view-toggle {
display: flex;
- gap: 2px;
- padding: 2px;
+ gap: $space-hair;
+ padding: $space-hair;
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: 8px;
+ border-radius: $radius-card;
.view-toggle-btn {
background: transparent;
border: none;
width: 30px;
height: 26px;
- border-radius: 6px;
+ border-radius: $radius-control;
color: var(--text-faint);
cursor: pointer;
display: flex;
@@ -447,7 +447,7 @@ $ft-default: #646b7a;
svg {
background: $accent-primary;
color: white;
- padding: 2px;
+ padding: $space-hair;
border-radius: $radius-full;
box-sizing: content-box;
}
@@ -458,11 +458,11 @@ $ft-default: #646b7a;
.bulk-btn {
display: inline-flex;
align-items: center;
- gap: 6px;
- padding: 6px $space-3;
+ gap: $space-tight;
+ padding: $space-tight $space-3;
background: var(--surface);
border: 1px solid var(--border);
- border-radius: 8px;
+ border-radius: $radius-card;
color: $text-primary;
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -553,7 +553,7 @@ $ft-default: #646b7a;
scrollbar-width: thin;
&::-webkit-scrollbar { width: 4px; }
- &::-webkit-scrollbar-thumb { background: $border-default; border-radius: $radius-sm; }
+ &::-webkit-scrollbar-thumb { background: $border-default; border-radius: $radius-badge; }
@media (max-width: $breakpoint-lg) {
position: fixed;
@@ -571,7 +571,7 @@ $ft-default: #646b7a;
.file-manager-source {
position: relative;
- padding: 0 2px $space-3;
+ padding: 0 $space-hair $space-3;
border-bottom: 1px solid var(--border-soft);
.file-manager-source__picker { width: 100%; max-width: none; }
@@ -579,9 +579,9 @@ $ft-default: #646b7a;
&__meta {
display: flex;
align-items: center;
- gap: 6px;
- margin-block-start: 6px;
- padding-inline: 9px;
+ gap: $space-tight;
+ margin-block-start: $space-tight;
+ padding-inline: $space-2;
color: var(--text-ghost);
font-size: $text-xs;
}
@@ -592,22 +592,22 @@ $ft-default: #646b7a;
flex: 0 0 auto;
border-radius: 50%;
background: var(--green);
- box-shadow: 0 0 5px var(--green);
+ box-shadow: none;
&.is-cloud { background: var(--cyan); box-shadow: 0 0 5px var(--cyan); }
}
&__close {
position: absolute;
- inset-block-start: 5px;
- inset-inline-end: 7px;
+ inset-block-start: $space-tight;
+ inset-inline-end: $space-2;
z-index: 2;
display: none;
width: 25px;
height: 25px;
place-items: center;
border: 0;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
background: var(--surface-3);
color: var(--text-faint);
cursor: pointer;
@@ -634,7 +634,7 @@ $ft-default: #646b7a;
display: flex;
align-items: center;
gap: $space-2;
- padding: 10px $space-2 5px;
+ padding: $space-3 $space-2 $space-tight;
background: transparent;
border: none;
width: 100%;
@@ -665,7 +665,7 @@ $ft-default: #646b7a;
gap: $space-2;
flex: 1;
min-width: 0;
- padding: 10px $space-2 5px;
+ padding: $space-3 $space-2 $space-tight;
background: transparent;
border: none;
color: inherit;
@@ -689,7 +689,7 @@ $ft-default: #646b7a;
min-width: 0;
flex: 1;
gap: $space-2;
- padding: 10px $space-2 5px;
+ padding: $space-3 $space-2 $space-tight;
svg { width: 13px; height: 13px; }
}
@@ -701,10 +701,10 @@ $ft-default: #646b7a;
justify-content: center;
width: 26px;
height: 26px;
- margin-right: 2px;
+ margin-right: $space-hair;
background: transparent;
border: none;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: var(--text-faint);
cursor: pointer;
@include transition(all);
@@ -732,12 +732,12 @@ $ft-default: #646b7a;
.quick-access-item {
display: flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
width: 100%;
- padding: 6px 10px;
+ padding: $space-tight $space-3;
background: transparent;
border: none;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: var(--text-dim);
font-size: $text-sm;
text-align: left;
@@ -774,10 +774,10 @@ $ft-default: #646b7a;
justify-content: space-between;
gap: $space-2;
width: 100%;
- padding: 5px $space-2;
+ padding: $space-tight $space-2;
background: transparent;
border: none;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: var(--text-dim);
cursor: pointer;
font-size: $text-xs;
@@ -828,10 +828,10 @@ $ft-default: #646b7a;
select {
width: 100%;
min-height: 28px;
- padding: 4px $space-2;
+ padding: $space-1 $space-2;
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-primary;
font-size: $text-xs;
outline: none;
@@ -858,9 +858,9 @@ $ft-default: #646b7a;
.tree-row {
display: flex;
align-items: center;
- gap: 6px;
- padding: 5px $space-2;
- border-radius: $radius-sm;
+ gap: $space-tight;
+ padding: $space-tight $space-2;
+ border-radius: $radius-badge;
cursor: pointer;
color: var(--text-dim);
@include transition(background);
@@ -888,7 +888,7 @@ $ft-default: #646b7a;
color: var(--text-faint);
cursor: pointer;
flex-shrink: 0;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
&:hover { background: var(--surface-3); color: var(--text); }
}
@@ -920,7 +920,7 @@ $ft-default: #646b7a;
}
.tree-empty {
- padding: 4px $space-2;
+ padding: $space-1 $space-2;
font-size: $text-xs;
color: $text-tertiary;
font-style: italic;
@@ -936,7 +936,7 @@ $ft-default: #646b7a;
&--footer {
justify-content: flex-end;
- padding: 5px $space-2 0;
+ padding: $space-tight $space-2 0;
font-size: $text-xs;
}
}
@@ -945,9 +945,9 @@ $ft-default: #646b7a;
.disk-mount-item {
width: 100%;
- padding: 7px $space-2 8px;
+ padding: $space-2 $space-2 $space-2;
border: 1px solid transparent;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
background: transparent;
color: inherit;
text-align: start;
@@ -962,7 +962,7 @@ $ft-default: #646b7a;
display: flex;
justify-content: space-between;
align-items: center;
- margin-bottom: 6px;
+ margin-bottom: $space-tight;
}
.disk-mount-point {
@@ -982,7 +982,7 @@ $ft-default: #646b7a;
.disk-progress {
height: 5px;
background: var(--surface-3);
- border-radius: 3px;
+ border-radius: $radius-badge;
overflow: hidden;
margin-bottom: 0;
@@ -1051,7 +1051,7 @@ $ft-default: #646b7a;
justify-content: center;
pointer-events: none;
border: 2px dashed $accent-primary;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
.drag-overlay-inner {
text-align: center;
@@ -1070,8 +1070,8 @@ $ft-default: #646b7a;
code {
background: $bg-tertiary;
- padding: 2px $space-2;
- border-radius: $radius-sm;
+ padding: $space-hair $space-2;
+ border-radius: $radius-badge;
font-family: $font-mono;
color: $accent-primary;
}
@@ -1112,7 +1112,7 @@ $ft-default: #646b7a;
padding: $space-3 $space-2;
background: transparent;
border: 1px solid transparent;
- border-radius: 11px;
+ border-radius: $radius-card;
cursor: pointer;
@include transition(all);
user-select: none;
@@ -1155,7 +1155,7 @@ $ft-default: #646b7a;
align-items: center;
justify-content: center;
margin-bottom: $space-2;
- border-radius: 9px;
+ border-radius: $radius-card;
overflow: hidden;
@include transition(all);
@@ -1189,9 +1189,9 @@ $ft-default: #646b7a;
position: absolute;
bottom: 4px;
left: 4px;
- padding: 1px 5px;
+ padding: 1px $space-tight;
background: rgba(0, 0, 0, 0.6);
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: white;
@@ -1210,7 +1210,7 @@ $ft-default: #646b7a;
color: $text-primary;
font-weight: $font-weight-medium;
@include truncate();
- margin-bottom: 2px;
+ margin-bottom: $space-hair;
}
.file-card-meta {
@@ -1224,7 +1224,7 @@ $ft-default: #646b7a;
left: $space-2;
background: transparent;
border: none;
- padding: 4px;
+ padding: $space-1;
cursor: pointer;
opacity: 0;
@include transition(opacity);
@@ -1240,7 +1240,7 @@ $ft-default: #646b7a;
height: 16px;
background: var(--surface);
border: 1.5px solid var(--border-strong);
- border-radius: 5px;
+ border-radius: $radius-control;
color: white;
@include transition(all);
@@ -1252,7 +1252,7 @@ $ft-default: #646b7a;
.checkbox-btn {
background: transparent;
border: none;
- padding: 4px;
+ padding: $space-1;
cursor: pointer;
display: flex;
align-items: center;
@@ -1264,7 +1264,7 @@ $ft-default: #646b7a;
.file-list-header {
display: grid;
grid-template-columns: 36px 1fr 110px 130px 120px 110px 140px;
- padding: 8px $space-4;
+ padding: $space-2 $space-4;
position: sticky;
top: 0;
z-index: 2;
@@ -1287,7 +1287,7 @@ $ft-default: #646b7a;
.file-item {
display: grid;
grid-template-columns: 36px 1fr 110px 130px 120px 110px 140px;
- padding: 7px $space-4;
+ padding: $space-2 $space-4;
border-bottom: 1px solid var(--border-soft);
cursor: pointer;
align-items: center;
@@ -1315,7 +1315,7 @@ $ft-default: #646b7a;
.col-name {
display: flex;
align-items: center;
- gap: 11px;
+ gap: $space-3;
overflow: hidden;
min-width: 0;
@@ -1345,7 +1345,7 @@ $ft-default: #646b7a;
}
.col-actions {
display: flex;
- gap: 2px;
+ gap: $space-hair;
justify-content: flex-end;
}
}
@@ -1373,8 +1373,8 @@ $ft-default: #646b7a;
.row-action {
background: transparent;
border: none;
- padding: 5px;
- border-radius: $radius-sm;
+ padding: $space-tight;
+ border-radius: $radius-badge;
color: var(--text-faint);
cursor: pointer;
display: flex;
@@ -1408,7 +1408,7 @@ $ft-default: #646b7a;
display: flex;
justify-content: space-between;
align-items: center;
- padding: 7px $space-4;
+ padding: $space-2 $space-4;
background: transparent;
border: none;
border-top: 1px solid var(--border-soft);
@@ -1467,10 +1467,10 @@ $ft-default: #646b7a;
position: fixed;
background: var(--surface-2);
border: 1px solid var(--border-strong);
- border-radius: 11px;
+ border-radius: $radius-card;
box-shadow: var(--shadow-lg);
min-width: 200px;
- padding: 5px;
+ padding: $space-tight;
z-index: $z-tooltip;
animation: ctx-pop 0.12s ease-out;
@@ -1479,10 +1479,10 @@ $ft-default: #646b7a;
align-items: center;
gap: $space-2;
width: 100%;
- padding: 7px $space-3;
+ padding: $space-2 $space-3;
background: transparent;
border: none;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-primary;
font-size: $text-xs;
text-align: left;
@@ -1499,7 +1499,7 @@ $ft-default: #646b7a;
.context-menu-divider {
height: 1px;
background: var(--border);
- margin: 4px 0;
+ margin: $space-1 0;
}
@keyframes ctx-pop {
@@ -1512,7 +1512,7 @@ $ft-default: #646b7a;
margin-top: $space-4;
padding: $space-3;
background: $bg-tertiary;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-size: $text-xs;
p { margin: 0 0 $space-2 0; font-weight: $font-weight-medium; }
@@ -1520,7 +1520,7 @@ $ft-default: #646b7a;
margin: 0;
padding-left: $space-5;
li { margin-bottom: $space-1; }
- code { background: $bg-body; padding: 2px $space-2; border-radius: $radius-sm; }
+ code { background: $bg-body; padding: 2px $space-2; border-radius: $radius-badge; }
}
}
@@ -1578,7 +1578,7 @@ $drawer-width: 520px;
min-width: 0;
h3 {
- margin: 0 0 2px;
+ margin: 0 0 $space-hair;
font-size: $text-base;
font-weight: $font-weight-semibold;
color: $text-primary;
@@ -1600,8 +1600,8 @@ $drawer-width: 520px;
.preview-drawer-close {
background: transparent;
border: none;
- padding: 6px;
- border-radius: $radius-sm;
+ padding: $space-tight;
+ border-radius: $radius-badge;
color: $text-secondary;
cursor: pointer;
display: flex;
@@ -1623,7 +1623,7 @@ $drawer-width: 520px;
.meta-item {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
min-width: 0;
&.meta-item-wide { grid-column: span 2; }
@@ -1655,11 +1655,11 @@ $drawer-width: 520px;
.drawer-action-btn {
display: inline-flex;
align-items: center;
- gap: 6px;
- padding: 6px $space-3;
+ gap: $space-tight;
+ padding: $space-tight $space-3;
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: 8px;
+ border-radius: $radius-card;
color: $text-primary;
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -1711,7 +1711,7 @@ $drawer-width: 520px;
img {
max-width: 100%;
max-height: 100%;
- border-radius: $radius-md;
+ border-radius: $radius-control;
box-shadow: var(--shadow-lg);
}
}
@@ -1776,7 +1776,7 @@ $drawer-width: 520px;
&__n {
flex-shrink: 0;
width: 44px;
- padding-right: 12px;
+ padding-right: $space-3;
text-align: right;
color: var(--text-ghost);
user-select: none;
@@ -1816,7 +1816,7 @@ $drawer-width: 520px;
@media (max-width: $breakpoint-md) {
.file-manager {
.file-manager-source {
- padding-inline-end: 38px;
+ padding-inline-end: $space-10;
&__close { display: grid; }
}
@@ -1883,7 +1883,7 @@ $drawer-width: 520px;
.file-manager-target-banner {
margin: $space-2 $space-4 0;
padding: $space-2 $space-3;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: var(--accent-bg-soft);
color: var(--text-primary);
font-size: $text-xs;
diff --git a/frontend/src/styles/pages/_firewall.scss b/frontend/src/styles/pages/_firewall.scss
index 8351f44d..6bfaa48d 100644
--- a/frontend/src/styles/pages/_firewall.scss
+++ b/frontend/src/styles/pages/_firewall.scss
@@ -15,9 +15,9 @@
flex-direction: column;
align-items: center;
justify-content: center;
- padding: 80px $space-6;
+ padding: $space-16 $space-6;
background: $bg-card;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
text-align: center;
.icon {
@@ -97,7 +97,7 @@
justify-content: center;
padding: $space-12;
background: $bg-card;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
color: $text-tertiary;
.icon {
@@ -124,7 +124,7 @@
.info-card,
.protection-summary {
background: $bg-card;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-5;
h3 {
@@ -200,7 +200,7 @@
.rules-tab {
.rules-table {
background: $bg-card;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
overflow: hidden;
table {
@@ -229,7 +229,7 @@
font-size: $text-xs;
background: $bg-hover;
padding: $space-1 $space-2;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
}
@@ -254,7 +254,7 @@
align-items: center;
padding: $space-4;
background: $bg-card;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
border: 1px solid $border-subtle;
.blocked-info {
@@ -297,7 +297,7 @@
align-items: center;
padding: $space-4;
background: $bg-card;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
border: 1px solid $border-subtle;
.port-info {
@@ -322,7 +322,7 @@
.install-info {
padding: $space-4;
background: $bg-hover;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
margin-top: $space-4;
p {
diff --git a/frontend/src/styles/pages/_fleet-monitor.scss b/frontend/src/styles/pages/_fleet-monitor.scss
index 7b8c5b5d..8c2168bf 100644
--- a/frontend/src/styles/pages/_fleet-monitor.scss
+++ b/frontend/src/styles/pages/_fleet-monitor.scss
@@ -21,7 +21,7 @@
padding: $space-3;
background: $warning-bg;
border: 1px solid $warning-border;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $warning;
font-size: $text-xs;
}
@@ -30,7 +30,7 @@
.fleet-ico {
display: inline-flex;
padding: $space-2;
- border-radius: $radius-md;
+ border-radius: $radius-control;
@include status-variant(var(--accent-bright), var(--accent-bg));
}
@@ -39,7 +39,7 @@
padding: $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
text-align: center;
&.is-green { background: $success-bg; border-color: $success-border; }
@@ -55,7 +55,7 @@
// Capacity-forecast prediction tiles
.fleet-predbox {
padding: $space-4;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
border: 1px solid $border-default;
&.is-red { background: $danger-bg; border-color: $danger-border; }
@@ -66,7 +66,7 @@
.fleet-modal {
background: $bg-elevated;
border: 1px solid $border-default;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
box-shadow: var(--shadow-lg);
}
@@ -113,7 +113,7 @@
padding: $space-2 $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
cursor: pointer;
text-align: left;
transition: border-color 0.12s ease;
diff --git a/frontend/src/styles/pages/_fleet-proxy.scss b/frontend/src/styles/pages/_fleet-proxy.scss
index 9954605e..e8b51a1a 100644
--- a/frontend/src/styles/pages/_fleet-proxy.scss
+++ b/frontend/src/styles/pages/_fleet-proxy.scss
@@ -24,14 +24,14 @@
flex-wrap: wrap;
.sk-pill svg {
- margin-right: 2px;
+ margin-right: $space-hair;
}
}
&__table {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
overflow: hidden;
}
@@ -80,7 +80,7 @@
padding: $space-4;
background: $danger-bg;
border: 1px solid $danger-border;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $danger;
font-size: $text-xs;
}
diff --git a/frontend/src/styles/pages/_ftp-server.scss b/frontend/src/styles/pages/_ftp-server.scss
index a2e48b6f..947f7796 100644
--- a/frontend/src/styles/pages/_ftp-server.scss
+++ b/frontend/src/styles/pages/_ftp-server.scss
@@ -43,7 +43,7 @@
justify-content: space-between;
align-items: center;
gap: $space-4;
- padding: 10px 0;
+ padding: $space-3 0;
border-bottom: 1px solid var(--border-soft);
font-size: $text-sm;
diff --git a/frontend/src/styles/pages/_import-wizard.scss b/frontend/src/styles/pages/_import-wizard.scss
index 4069079c..73bd6a4f 100644
--- a/frontend/src/styles/pages/_import-wizard.scss
+++ b/frontend/src/styles/pages/_import-wizard.scss
@@ -91,7 +91,7 @@
&__panel {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
padding: $space-6;
}
@@ -133,7 +133,7 @@
padding: $space-5;
background: $bg-elevated;
border: 1px solid $border-default;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
text-align: left;
text-decoration: none;
cursor: pointer;
@@ -168,7 +168,7 @@
justify-content: center;
width: 36px;
height: 36px;
- border-radius: $radius-md;
+ border-radius: $radius-control;
@include status-variant($accent-primary, $accent-bg);
}
@@ -188,7 +188,7 @@
padding: $space-1;
margin-bottom: $space-4;
background: $bg-tertiary;
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
&__mode-btn {
@@ -197,7 +197,7 @@
gap: $space-2;
padding: $space-2 $space-3;
border: none;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
background: transparent;
color: $text-secondary;
font-size: $text-xs;
@@ -216,7 +216,7 @@
gap: $space-2;
padding: $space-10 $space-6;
border: 1px dashed $border-active;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
color: $text-secondary;
text-align: center;
cursor: pointer;
@@ -307,7 +307,7 @@
&__table-wrap {
overflow-x: auto;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
&__table {
@@ -372,7 +372,7 @@
padding: $space-3;
background: $bg-code;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-family: $font-mono;
font-size: $text-xs;
color: $text-secondary;
@@ -387,12 +387,12 @@
gap: $space-3;
padding: $space-4;
margin-bottom: $space-4;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-size: $text-xs;
svg {
flex-shrink: 0;
- margin-top: 2px;
+ margin-top: $space-hair;
}
p {
@@ -459,7 +459,7 @@
padding: $space-3 $space-4;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-secondary;
font-size: $text-xs;
@@ -508,7 +508,7 @@
padding: $space-4;
background: $bg-code;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-family: $font-mono;
font-size: $text-xs;
line-height: 1.6;
@@ -534,7 +534,7 @@
padding: 0;
list-style: none;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
background: $bg-card;
overflow: hidden;
}
diff --git a/frontend/src/styles/pages/_jobs.scss b/frontend/src/styles/pages/_jobs.scss
index 5144b95c..6d86b200 100644
--- a/frontend/src/styles/pages/_jobs.scss
+++ b/frontend/src/styles/pages/_jobs.scss
@@ -42,7 +42,7 @@
}
.sk-jobs__error {
- margin-top: 3px;
+ margin-top: $space-1;
font-size: $text-xs;
color: $danger;
max-width: 320px;
diff --git a/frontend/src/styles/pages/_marketplace.scss b/frontend/src/styles/pages/_marketplace.scss
index 897997b5..62d76630 100644
--- a/frontend/src/styles/pages/_marketplace.scss
+++ b/frontend/src/styles/pages/_marketplace.scss
@@ -2,7 +2,7 @@
.marketplace-page {
.card {
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
.marketplace-hero {
@@ -15,7 +15,7 @@
padding: $space-6;
overflow: hidden;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
background: $bg-card;
}
@@ -139,7 +139,7 @@
width: 34px;
height: 34px;
flex: 0 0 34px;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
svg {
width: 17px;
@@ -206,7 +206,7 @@
}
.marketplace-empty {
- border-radius: $radius-lg;
+ border-radius: $radius-card;
svg {
width: 30px;
@@ -255,7 +255,7 @@
// `secondary` variant selector specificity and wins on source order to apply
// the accent tint.
[data-slot='badge'].extension-firstparty {
- gap: 4px;
+ gap: $space-1;
border-color: var(--accent-dim);
@include status-variant(var(--accent-bright), var(--accent-bg));
font-weight: $font-weight-semibold;
@@ -279,7 +279,7 @@
display: grid;
place-items: center;
height: 128px;
- border-radius: $radius-md;
+ border-radius: $radius-control;
overflow: hidden;
&--icon {
@@ -361,7 +361,7 @@
width: 100%;
height: auto;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $bg-elevated;
object-fit: cover;
}
@@ -440,7 +440,7 @@
width: 38px;
height: 38px;
flex: 0 0 38px;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
color: $accent-primary;
background: fade($accent-primary-raw, 12%);
@@ -456,7 +456,7 @@
margin-bottom: $space-4;
padding: $space-1;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
background: $bg-body;
}
@@ -467,7 +467,7 @@
height: 32px;
padding: 0 $space-3;
border: 1px solid transparent;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: transparent;
color: $text-secondary;
font-family: inherit;
@@ -541,7 +541,7 @@
gap: $space-4;
padding: $space-4;
border: 1px solid $border-color;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
background: $bg-elevated;
&__head {
@@ -633,7 +633,7 @@
flex-shrink: 0;
width: 15px;
height: 15px;
- margin-top: 2px;
+ margin-top: $space-hair;
}
}
}
@@ -752,7 +752,7 @@
padding: $space-3;
border: 1px solid $border-subtle;
border-left: 2px solid $border-active;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $bg-elevated;
// Left edge carries the verdict so a scan down the list reads the
@@ -787,8 +787,8 @@
code {
font-family: $font-mono;
font-size: $text-xs;
- padding: 1px 4px;
- border-radius: $radius-sm;
+ padding: 1px $space-1;
+ border-radius: $radius-badge;
background: $bg-code;
color: $text-primary;
overflow-wrap: anywhere;
@@ -819,7 +819,7 @@
overflow: auto;
padding: $space-3;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $bg-code;
color: $text-secondary;
font-family: $font-mono;
diff --git a/frontend/src/styles/pages/_migration-wizard.scss b/frontend/src/styles/pages/_migration-wizard.scss
index 878930c8..797800f2 100644
--- a/frontend/src/styles/pages/_migration-wizard.scss
+++ b/frontend/src/styles/pages/_migration-wizard.scss
@@ -12,7 +12,7 @@
.migration-status-panel {
background: $bg-elevated;
border: 1px solid $border-default;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
padding: $space-4;
margin-bottom: $space-4;
}
@@ -39,8 +39,8 @@
@at-root code#{&} {
background: $bg-secondary;
- padding: 2px 8px;
- border-radius: $radius-md;
+ padding: $space-hair $space-2;
+ border-radius: $radius-control;
font-family: $font-family-mono;
}
}
@@ -57,8 +57,8 @@
font-family: $font-family-mono;
font-size: $text-xs;
background: $bg-secondary;
- padding: 1px 6px;
- border-radius: $radius-sm;
+ padding: 1px $space-tight;
+ border-radius: $radius-badge;
white-space: nowrap;
}
}
@@ -120,7 +120,7 @@
padding: $space-2 $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
font-size: $text-xs;
&:not(:last-child) {
@@ -163,7 +163,7 @@
padding: $space-3 $space-4;
background: $bg-elevated;
border: 1px solid $border-default;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
font-size: $text-base;
color: $text-primary;
@include transition(border-color);
@@ -187,7 +187,7 @@
padding: $space-3;
background: $danger-bg;
border: 1px solid $danger-border;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
color: $danger;
font-size: $text-xs;
}
@@ -204,7 +204,7 @@
align-items: flex-start;
gap: $space-3;
padding: $space-4;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
margin-bottom: $space-6;
&--success {
@@ -221,7 +221,7 @@
svg {
flex-shrink: 0;
- margin-top: 2px;
+ margin-top: $space-hair;
}
strong {
@@ -292,8 +292,8 @@
code {
background: $bg-secondary;
- padding: 2px 8px;
- border-radius: $radius-md;
+ padding: $space-hair $space-2;
+ border-radius: $radius-control;
font-family: $font-family-mono;
font-size: $text-xs;
}
@@ -306,13 +306,13 @@
padding: $space-4;
background: $danger-bg;
border: 1px solid $danger-border;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
margin-bottom: $space-6;
> svg {
flex-shrink: 0;
color: $danger;
- margin-top: 2px;
+ margin-top: $space-hair;
}
strong {
diff --git a/frontend/src/styles/pages/_monitoring.scss b/frontend/src/styles/pages/_monitoring.scss
index 9c76baac..da08917e 100644
--- a/frontend/src/styles/pages/_monitoring.scss
+++ b/frontend/src/styles/pages/_monitoring.scss
@@ -12,12 +12,12 @@
.mon-scope {
display: inline-flex;
align-items: center;
- gap: 7px;
+ gap: $space-2;
height: 32px;
- padding: 0 10px;
+ padding: 0 $space-3;
max-width: 210px;
border: 1px solid var(--border);
- border-radius: 8px;
+ border-radius: $radius-card;
background: var(--surface-2);
color: var(--text-dim);
font-size: $text-sm;
@@ -34,18 +34,18 @@
&__sep {
height: 1px;
- margin: 5px 2px;
+ margin: $space-tight $space-hair;
background: var(--border-soft);
}
&__item {
display: flex;
align-items: center;
- gap: 9px;
+ gap: $space-2;
width: 100%;
- padding: 7px 9px;
+ padding: $space-2 $space-2;
border: 0;
- border-radius: 7px;
+ border-radius: $radius-control;
background: none;
color: var(--text-dim);
text-align: left;
diff --git a/frontend/src/styles/pages/_monitors.scss b/frontend/src/styles/pages/_monitors.scss
index 577c67ac..9850c6bb 100644
--- a/frontend/src/styles/pages/_monitors.scss
+++ b/frontend/src/styles/pages/_monitors.scss
@@ -23,7 +23,7 @@
.mon-ico {
width: 30px;
height: 30px;
- border-radius: 8px;
+ border-radius: $radius-card;
display: grid;
place-items: center;
flex-shrink: 0;
@@ -33,7 +33,7 @@
&--sm {
width: 26px;
height: 26px;
- border-radius: 7px;
+ border-radius: $radius-control;
}
}
@@ -90,7 +90,7 @@
min-width: 0;
flex-direction: column;
align-items: flex-start;
- gap: 3px;
+ gap: $space-1;
}
}
@@ -114,7 +114,7 @@
i {
width: 8px;
height: 8px;
- border-radius: 2px;
+ border-radius: $radius-badge;
&.is-memory { background: var(--cyan); }
&.is-disk { background: var(--green); }
@@ -162,14 +162,14 @@
.mon-fleet-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
- gap: 14px;
+ gap: $space-4;
}
.mon-host {
display: block;
width: 100%;
min-width: 0;
- padding: 14px 16px 12px;
+ padding: $space-4 $space-4 $space-3;
border: 1px solid var(--border-soft);
border-radius: var(--radius);
background: var(--surface);
@@ -187,8 +187,8 @@
&__head {
display: flex;
align-items: center;
- gap: 9px;
- margin-bottom: 10px;
+ gap: $space-2;
+ margin-bottom: $space-3;
.sk-pill { margin-left: auto; flex-shrink: 0; }
}
@@ -196,7 +196,7 @@
&__ico {
width: 28px;
height: 28px;
- border-radius: 8px;
+ border-radius: $radius-card;
display: grid;
place-items: center;
flex-shrink: 0;
@@ -237,8 +237,8 @@
&__mini {
display: flex;
justify-content: space-between;
- gap: 10px;
- margin-top: 10px;
+ gap: $space-3;
+ margin-top: $space-3;
font-size: $text-xs;
color: var(--text-faint);
@@ -256,8 +256,8 @@
.mon-alert-row {
display: flex;
align-items: center;
- gap: 14px;
- padding: 12px 0;
+ gap: $space-4;
+ padding: $space-3 0;
border-top: 1px solid var(--border-soft);
&:first-child {
@@ -279,7 +279,7 @@
}
&__sub {
- margin-top: 2px;
+ margin-top: $space-hair;
font-size: $text-xs;
color: var(--text-faint);
}
@@ -288,7 +288,7 @@
display: flex;
flex-direction: column;
align-items: flex-end;
- gap: 4px;
+ gap: $space-1;
flex-shrink: 0;
}
@@ -309,7 +309,7 @@
.mon-sev {
width: 9px;
height: 9px;
- border-radius: 3px;
+ border-radius: $radius-badge;
flex-shrink: 0;
background: var(--text-ghost);
@@ -347,7 +347,7 @@
grid-template-columns: minmax(0, 1fr) 150px auto;
gap: $space-4;
align-items: center;
- padding: 15px 16px;
+ padding: $space-4 $space-4;
border: 1px solid var(--border-soft);
border-radius: var(--radius);
background: var(--surface-2);
@@ -363,7 +363,7 @@
min-width: 0;
h4 {
- margin: 0 0 3px;
+ margin: 0 0 $space-1;
font-size: $text-sm;
font-weight: $font-weight-semibold;
}
@@ -425,7 +425,7 @@
span {
display: block;
- margin-top: 3px;
+ margin-top: $space-1;
font-size: $text-xs;
color: var(--text-faint);
}
@@ -442,7 +442,7 @@
grid-template-columns: auto minmax(0, 1fr) auto;
gap: $space-3;
align-items: center;
- padding: 13px 14px;
+ padding: $space-3 $space-4;
border: 1px solid var(--border-soft);
border-radius: var(--radius);
background: var(--surface-2);
@@ -470,7 +470,7 @@
span {
display: block;
- margin-top: 2px;
+ margin-top: $space-hair;
font-size: $text-xs;
color: var(--text-faint);
// "Configured but off" is longer than the tile is wide at three
@@ -496,7 +496,7 @@
.mon-speed {
min-width: 0;
- padding: 12px 14px;
+ padding: $space-3 $space-4;
border: 1px solid var(--border-soft);
border-radius: var(--radius);
background: var(--surface-2);
@@ -505,7 +505,7 @@
// three of them side by side don't read as three status badges.
&__ico {
display: block;
- margin-bottom: 6px;
+ margin-bottom: $space-tight;
background: none;
&.is-cpu { color: var(--accent-bright); }
@@ -522,7 +522,7 @@
color: var(--text);
small {
- margin-left: 3px;
+ margin-left: $space-1;
font-size: $text-xs;
color: var(--text-faint);
}
@@ -530,7 +530,7 @@
&__label {
display: block;
- margin-top: 5px;
+ margin-top: $space-tight;
font-size: $text-xs;
color: var(--text-dim);
}
@@ -557,7 +557,7 @@
// Small mono caption used for every field label in the fleet panels.
.mon-field-label {
display: block;
- margin-bottom: 4px;
+ margin-bottom: $space-1;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-faint);
@@ -660,14 +660,14 @@
.mon-grid-2 {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
- gap: 16px;
+ gap: $space-4;
}
.mon-panel {
background: var(--bg-card, var(--surface-1));
border: 1px solid var(--border-soft);
- border-radius: 12px;
- padding: 18px;
+ border-radius: $radius-overlay;
+ padding: $space-5;
&--flush { padding: 18px 0 0; }
&--flush .mon-panel__header { padding: 0 18px; }
@@ -677,8 +677,8 @@
display: flex;
align-items: flex-start;
justify-content: space-between;
- gap: 12px;
- margin-bottom: 14px;
+ gap: $space-3;
+ margin-bottom: $space-4;
h3 {
margin: 0;
@@ -690,8 +690,8 @@
.mon-panel__actions { display: flex; align-items: center; gap: 8px; }
.mon-panel__footer {
- margin-top: 14px;
- padding-top: 12px;
+ margin-top: $space-4;
+ padding-top: $space-3;
border-top: 1px solid var(--border-soft);
}
@@ -707,8 +707,8 @@
display: flex;
align-items: center;
justify-content: space-between;
- gap: 16px;
- padding: 9px 0;
+ gap: $space-4;
+ padding: $space-2 0;
border-bottom: 1px solid var(--border-soft);
&:last-child { border-bottom: none; }
@@ -732,8 +732,8 @@
.mon-code {
display: inline-flex;
align-items: center;
- padding: 2px 7px;
- border-radius: 5px;
+ padding: $space-hair $space-2;
+ border-radius: $radius-control;
font-family: var(--mono);
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -747,8 +747,8 @@
.monitor-detail__crumb {
display: flex;
align-items: center;
- gap: 8px;
- margin-bottom: 14px;
+ gap: $space-2;
+ margin-bottom: $space-4;
font-size: $text-sm;
color: var(--text-faint);
@@ -759,7 +759,7 @@
.monitor-detail__sections { margin: 18px 0 16px; }
.mon-kpi-sub {
- margin-top: 4px;
+ margin-top: $space-1;
font-size: $text-xs;
color: var(--text-faint);
}
@@ -767,9 +767,9 @@
.mon-statstrip {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
- gap: 12px;
- margin-top: 14px;
- padding-top: 14px;
+ gap: $space-3;
+ margin-top: $space-4;
+ padding-top: $space-4;
border-top: 1px solid var(--border-soft);
}
@@ -781,7 +781,7 @@
.mon-statstrip__value {
display: block;
- margin-top: 3px;
+ margin-top: $space-1;
font-size: $text-base;
font-weight: $font-weight-semibold;
}
@@ -791,7 +791,7 @@
.mon-uptime-axis {
display: flex;
justify-content: space-between;
- margin-top: 8px;
+ margin-top: $space-2;
font-size: $text-xs;
color: var(--text-faint);
}
@@ -814,7 +814,7 @@
.mon-card {
background: var(--bg-card, var(--surface-1));
border: 1px solid var(--border-soft);
- border-radius: 12px;
+ border-radius: $radius-overlay;
overflow: hidden;
}
@@ -833,8 +833,8 @@
.mon-type {
display: inline-flex;
- padding: 2px 8px;
- border-radius: 999px;
+ padding: $space-hair $space-2;
+ border-radius: $radius-full;
border: 1px solid var(--border);
font-size: $text-xs;
color: var(--text-dim);
@@ -843,7 +843,7 @@
.mon-response {
display: flex;
align-items: center;
- gap: 9px;
+ gap: $space-2;
}
.mon-response__ms {
@@ -873,20 +873,20 @@
.mon-form {
display: flex;
flex-direction: column;
- gap: 16px;
+ gap: $space-4;
}
.mon-form__row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
- gap: 12px;
+ gap: $space-3;
}
.mon-form__actions {
display: flex;
justify-content: flex-end;
- gap: 8px;
- padding-top: 6px;
+ gap: $space-2;
+ padding-top: $space-tight;
border-top: 1px solid var(--border-soft);
}
@@ -894,8 +894,8 @@
display: flex;
align-items: center;
justify-content: space-between;
- gap: 16px;
- padding: 12px 0;
+ gap: $space-4;
+ padding: $space-3 0;
border-top: 1px solid var(--border-soft);
strong { display: block; font-size: $text-sm; font-weight: $font-weight-semibold; }
@@ -909,7 +909,7 @@
.uptime-bars {
display: flex;
align-items: stretch;
- gap: 2px;
+ gap: $space-hair;
height: 52px;
width: 100%;
@@ -918,7 +918,7 @@
min-width: 3px;
padding: 0;
border: none;
- border-radius: 2px;
+ border-radius: $radius-badge;
background: var(--green);
cursor: pointer;
transition: opacity 0.12s, transform 0.12s;
@@ -938,8 +938,8 @@
.mon-monitors-summary {
display: flex;
flex-direction: column;
- gap: 16px;
- margin-bottom: 22px;
+ gap: $space-4;
+ margin-bottom: $space-6;
}
.mon-nomonitors { margin-bottom: 22px; }
@@ -951,8 +951,8 @@
.mon-feed-row {
display: flex;
align-items: center;
- gap: 12px;
- padding: 10px 0;
+ gap: $space-3;
+ padding: $space-3 0;
border-bottom: 1px solid var(--border-soft);
color: inherit;
text-decoration: none;
@@ -996,16 +996,16 @@
.incidents-list {
background: var(--bg-card, var(--surface-1));
border: 1px solid var(--border-soft);
- border-radius: 12px;
+ border-radius: $radius-overlay;
overflow: hidden;
}
.incident-row {
display: flex;
align-items: center;
- gap: 12px;
+ gap: $space-3;
width: 100%;
- padding: 14px 18px;
+ padding: $space-4 $space-5;
border: none;
border-top: 1px solid var(--border-soft);
background: transparent;
@@ -1036,7 +1036,7 @@
.incident-row__title {
display: flex;
align-items: center;
- gap: 9px;
+ gap: $space-2;
flex-wrap: wrap;
font-size: $text-sm;
font-weight: $font-weight-semibold;
@@ -1044,7 +1044,7 @@
.incident-row__sub {
display: block;
- margin-top: 3px;
+ margin-top: $space-1;
font-size: $text-xs;
color: var(--text-faint);
}
@@ -1056,7 +1056,7 @@
.incident-row__acts {
display: flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
}
}
@@ -1064,7 +1064,7 @@
.incident-detail {
display: flex;
flex-direction: column;
- gap: 16px;
+ gap: $space-4;
&__pills { display: flex; gap: 8px; flex-wrap: wrap; }
@@ -1079,7 +1079,7 @@
&__link {
display: inline-flex;
align-items: center;
- gap: 7px;
+ gap: $space-2;
font-size: $text-sm;
color: var(--accent-bright);
text-decoration: none;
@@ -1095,16 +1095,16 @@
.incident-timeline {
list-style: none;
margin: 0;
- padding: 0 0 0 6px;
+ padding: 0 0 0 $space-tight;
display: flex;
flex-direction: column;
- gap: 16px;
+ gap: $space-4;
&__item {
display: flex;
- gap: 12px;
+ gap: $space-3;
position: relative;
- padding-left: 14px;
+ padding-left: $space-4;
border-left: 1px solid var(--border-soft);
p { margin: 5px 0 0; font-size: $text-sm; }
@@ -1128,7 +1128,7 @@
&__head {
display: flex;
align-items: center;
- gap: 9px;
+ gap: $space-2;
font-size: $text-xs;
color: var(--text-faint);
}
@@ -1138,15 +1138,15 @@
.status-attach-list {
display: flex;
flex-direction: column;
- margin-top: 12px;
+ margin-top: $space-3;
.status-attach-row {
display: flex;
align-items: center;
justify-content: space-between;
- gap: 12px;
+ gap: $space-3;
width: 100%;
- padding: 11px 4px;
+ padding: $space-3 $space-1;
border: none;
border-bottom: 1px solid var(--border-soft);
background: transparent;
@@ -1165,7 +1165,7 @@
span span,
&__body > span {
display: block;
- margin-top: 2px;
+ margin-top: $space-hair;
font-size: $text-xs;
color: var(--text-faint);
}
diff --git a/frontend/src/styles/pages/_new-service.scss b/frontend/src/styles/pages/_new-service.scss
index 2a8da080..8a2e7454 100644
--- a/frontend/src/styles/pages/_new-service.scss
+++ b/frontend/src/styles/pages/_new-service.scss
@@ -26,7 +26,7 @@
padding: $space-2 $space-3;
background: transparent;
border: none;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-tertiary;
font: inherit;
cursor: default;
@@ -167,7 +167,7 @@
width: 42px;
height: 42px;
flex-shrink: 0;
- border-radius: 11px;
+ border-radius: $radius-card;
background: var(--surface-2);
color: var(--text-dim);
transition: background $transition-fast, color $transition-fast;
@@ -181,7 +181,7 @@
&__source-text {
display: grid;
- gap: 3px;
+ gap: $space-1;
strong {
font-size: $text-base;
@@ -220,7 +220,7 @@
width: 36px;
height: 36px;
flex-shrink: 0;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
background: $bg-elevated;
color: $accent-primary;
@@ -235,7 +235,7 @@
padding: $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
img {
width: 36px;
@@ -255,7 +255,7 @@
}
span {
- margin-top: 2px;
+ margin-top: $space-hair;
color: $text-tertiary;
font-size: $text-xs;
}
@@ -269,7 +269,7 @@
padding: $space-2;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
> svg {
margin-left: $space-2;
@@ -295,7 +295,7 @@
padding: $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-primary;
text-align: left;
cursor: pointer;
@@ -326,7 +326,7 @@
}
small {
- margin-top: 3px;
+ margin-top: $space-1;
color: $text-tertiary;
font-size: $text-xs;
line-height: 1.35;
@@ -335,7 +335,7 @@
em {
flex-shrink: 0;
- padding: 3px $space-2;
+ padding: $space-1 $space-2;
border: 1px solid $border-subtle;
border-radius: $radius-full;
color: $text-tertiary;
@@ -351,7 +351,7 @@
padding: $space-4;
background: $bg-elevated;
border: 1px dashed $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-tertiary;
font-size: $text-xs;
}
@@ -405,7 +405,7 @@
padding: $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-primary;
font: inherit;
text-align: left;
@@ -429,7 +429,7 @@
&__template-main {
display: grid;
- gap: 3px;
+ gap: $space-1;
min-width: 0;
strong,
@@ -474,7 +474,7 @@
padding: $space-2;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
> svg {
margin-left: $space-2;
@@ -503,7 +503,7 @@
padding: $space-4 $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-primary;
font: inherit;
text-align: center;
@@ -527,7 +527,7 @@
place-items: center;
width: 44px;
height: 44px;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
background: var(--surface-2);
color: var(--accent-bright);
overflow: hidden;
@@ -536,7 +536,7 @@
width: 100%;
height: 100%;
object-fit: contain;
- padding: 8px;
+ padding: $space-2;
}
svg { display: block; }
@@ -580,7 +580,7 @@
padding: $space-4;
background: $bg-elevated;
border: 1px dashed $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
div {
min-width: 0;
@@ -595,7 +595,7 @@
span {
display: block;
- margin-top: 2px;
+ margin-top: $space-hair;
color: $text-tertiary;
font-size: $text-xs;
line-height: 1.4;
@@ -605,7 +605,7 @@
&__pane-link {
display: inline-flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
color: $text-tertiary;
font-size: $text-xs;
text-decoration: none;
@@ -629,7 +629,7 @@
width: 100%;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-primary;
font-size: $text-xs;
@@ -659,7 +659,7 @@
padding: $space-5;
background: $bg-elevated;
border: 2px dashed $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
color: $text-tertiary;
text-align: center;
cursor: pointer;
@@ -696,7 +696,7 @@
padding: $space-4;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
&__manifest-head {
@@ -754,7 +754,7 @@
padding: $space-2;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
span,
@@ -770,7 +770,7 @@
}
strong {
- margin-top: 2px;
+ margin-top: $space-hair;
color: $text-primary;
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -789,7 +789,7 @@
&__env-preview span {
display: inline-flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
min-height: 24px;
padding: 0 $space-2;
border: 1px solid $border-subtle;
@@ -837,7 +837,7 @@
padding: $space-2 $space-3;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
&__manifest-service-name {
@@ -926,7 +926,7 @@
padding: $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
label,
span {
@@ -940,7 +940,7 @@
}
span {
- margin-top: 3px;
+ margin-top: $space-1;
color: $text-tertiary;
font-size: $text-xs;
line-height: 1.4;
@@ -955,7 +955,7 @@
padding: 0 $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-tertiary;
font-size: $text-xs;
@@ -974,7 +974,7 @@
padding: 0 $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-secondary;
cursor: pointer;
transition: border-color $transition-fast, background $transition-fast;
diff --git a/frontend/src/styles/pages/_notification-center.scss b/frontend/src/styles/pages/_notification-center.scss
index ebd82890..8724b10c 100644
--- a/frontend/src/styles/pages/_notification-center.scss
+++ b/frontend/src/styles/pages/_notification-center.scss
@@ -3,23 +3,23 @@
.sk-notif-page {
max-width: 760px;
margin: 0 auto;
- padding: 20px 24px 40px;
+ padding: $space-5 $space-6 $space-10;
&__filters {
display: inline-flex;
- gap: 4px;
- margin-bottom: 16px;
+ gap: $space-1;
+ margin-bottom: $space-4;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: 9px;
- padding: 3px;
+ border-radius: $radius-card;
+ padding: $space-1;
button {
border: none;
background: none;
cursor: pointer;
- padding: 6px 14px;
- border-radius: 7px;
+ padding: $space-tight $space-4;
+ border-radius: $radius-control;
font-size: $text-sm;
font-weight: $font-weight-medium;
color: $text-secondary;
@@ -35,8 +35,8 @@
display: flex;
flex-direction: column;
align-items: center;
- gap: 10px;
- padding: 60px 20px;
+ gap: $space-3;
+ padding: $space-16 $space-5;
color: $text-secondary;
svg { opacity: 0.5; }
@@ -48,7 +48,7 @@
margin: 0;
padding: 0;
border: 1px solid $border-subtle;
- border-radius: 12px;
+ border-radius: $radius-overlay;
overflow: hidden;
background: $bg-card;
}
@@ -56,15 +56,15 @@
&__more {
display: flex;
justify-content: center;
- margin-top: 16px;
+ margin-top: $space-4;
}
}
.sk-notif-row {
display: flex;
align-items: flex-start;
- gap: 12px;
- padding: 14px 16px;
+ gap: $space-3;
+ padding: $space-4 $space-4;
cursor: pointer;
border-bottom: 1px solid $border-subtle;
@@ -76,7 +76,7 @@
flex: 0 0 auto;
width: 9px;
height: 9px;
- margin-top: 5px;
+ margin-top: $space-tight;
border-radius: 50%;
}
@@ -92,7 +92,7 @@
}
&__text {
- margin-top: 2px;
+ margin-top: $space-hair;
font-size: $text-sm;
color: $text-secondary;
}
@@ -106,7 +106,7 @@
}
&__action {
- margin-top: 4px;
+ margin-top: $space-1;
font-size: $text-xs;
font-weight: $font-weight-medium;
color: $accent-primary;
@@ -115,10 +115,10 @@
&__dismiss {
flex: 0 0 auto;
align-self: flex-start;
- padding: 2px;
+ padding: $space-hair;
border: none;
background: none;
- border-radius: 6px;
+ border-radius: $radius-control;
cursor: pointer;
color: $text-secondary;
line-height: 0;
@@ -131,17 +131,17 @@
.sk-dlog {
max-width: 1000px;
margin: 0 auto;
- padding: 20px 24px 40px;
+ padding: $space-5 $space-6 $space-10;
&__filters {
display: flex;
- gap: 16px;
- margin-bottom: 14px;
+ gap: $space-4;
+ margin-bottom: $space-4;
label {
display: inline-flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
font-size: $text-sm;
color: $text-secondary;
}
@@ -149,9 +149,9 @@
select {
background: $bg-card;
border: 1px solid $border-default;
- border-radius: 8px;
+ border-radius: $radius-card;
color: $text-primary;
- padding: 6px 10px;
+ padding: $space-tight $space-3;
font-size: $text-sm;
text-transform: capitalize;
}
@@ -159,7 +159,7 @@
&__table-wrap {
border: 1px solid $border-subtle;
- border-radius: 12px;
+ border-radius: $radius-overlay;
overflow: hidden;
background: $bg-card;
}
@@ -171,7 +171,7 @@
th {
text-align: left;
- padding: 10px 14px;
+ padding: $space-3 $space-4;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: $text-secondary;
@@ -179,7 +179,7 @@
}
td {
- padding: 11px 14px;
+ padding: $space-3 $space-4;
border-bottom: 1px solid $border-subtle;
color: $text-primary;
vertical-align: top;
@@ -190,8 +190,8 @@
&__status {
display: inline-block;
- padding: 2px 9px;
- border-radius: 999px;
+ padding: $space-hair $space-2;
+ border-radius: $radius-full;
font-size: $text-xs;
font-weight: $font-weight-semibold;
text-transform: capitalize;
@@ -215,7 +215,7 @@
&__title { font-weight: $font-weight-semibold; }
&__error {
- margin-top: 3px;
+ margin-top: $space-1;
font-size: $text-xs;
color: #d2544f;
max-width: 320px;
@@ -234,21 +234,21 @@
.sk-eprov {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: 12px;
- padding: 16px 18px;
- margin-bottom: 18px;
+ border-radius: $radius-overlay;
+ padding: $space-4 $space-5;
+ margin-bottom: $space-5;
&__head {
display: flex;
align-items: baseline;
- gap: 10px;
- margin-bottom: 12px;
+ gap: $space-3;
+ margin-bottom: $space-3;
}
&__title {
display: inline-flex;
align-items: center;
- gap: 7px;
+ gap: $space-2;
font-size: $text-base;
font-weight: $font-weight-semibold;
color: $text-primary;
@@ -259,12 +259,12 @@
&__empty {
font-size: $text-sm;
color: $text-secondary;
- padding: 6px 0 12px;
+ padding: $space-tight 0 $space-3;
}
&__list {
list-style: none;
- margin: 0 0 12px;
+ margin: 0 0 $space-3;
padding: 0;
}
@@ -272,8 +272,8 @@
display: flex;
align-items: center;
justify-content: space-between;
- gap: 12px;
- padding: 10px 0;
+ gap: $space-3;
+ padding: $space-3 0;
border-bottom: 1px solid $border-subtle;
&:last-child { border-bottom: none; }
@@ -282,14 +282,14 @@
&__meta {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
min-width: 0;
}
&__name {
display: inline-flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
font-size: $text-sm;
font-weight: $font-weight-semibold;
color: $text-primary;
@@ -298,8 +298,8 @@
&__badge {
font-size: $text-xs;
font-weight: $font-weight-semibold;
- padding: 1px 7px;
- border-radius: 999px;
+ padding: 1px $space-2;
+ border-radius: $radius-full;
@include status-variant($accent-primary, $accent-bg);
}
@@ -308,55 +308,55 @@
&__actions {
display: flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
flex: 0 0 auto;
}
&__add {
display: flex;
flex-wrap: wrap;
- gap: 8px;
+ gap: $space-2;
}
&__form {
border-top: 1px solid $border-subtle;
- margin-top: 6px;
- padding-top: 14px;
+ margin-top: $space-tight;
+ padding-top: $space-4;
}
&__form-title {
font-size: $text-sm;
font-weight: $font-weight-semibold;
color: $text-primary;
- margin-bottom: 10px;
+ margin-bottom: $space-3;
}
&__grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
- gap: 12px;
+ gap: $space-3;
}
&__field {
display: flex;
flex-direction: column;
- gap: 5px;
+ gap: $space-tight;
}
&__check {
display: inline-flex;
align-items: center;
- gap: 7px;
+ gap: $space-2;
font-size: $text-sm;
color: $text-secondary;
- padding-top: 6px;
+ padding-top: $space-tight;
}
&__form-actions {
display: flex;
justify-content: flex-end;
- gap: 8px;
- margin-top: 14px;
+ gap: $space-2;
+ margin-top: $space-4;
}
}
@@ -381,10 +381,10 @@
}
.sk-notif-chip {
- padding: 3px 10px;
+ padding: $space-1 $space-3;
font-size: $text-xs;
border: 1px solid $border-subtle;
- border-radius: 999px;
+ border-radius: $radius-full;
background: $bg-card;
color: $text-secondary;
cursor: pointer;
@@ -401,7 +401,7 @@
.sk-notif-row.is-linked { cursor: pointer; }
.sk-notif-row__action {
- margin-top: 3px;
+ margin-top: $space-1;
font-size: $text-xs;
color: $accent-primary;
font-weight: $font-weight-medium;
diff --git a/frontend/src/styles/pages/_projects.scss b/frontend/src/styles/pages/_projects.scss
index 0e071aaa..bde293b1 100644
--- a/frontend/src/styles/pages/_projects.scss
+++ b/frontend/src/styles/pages/_projects.scss
@@ -32,7 +32,7 @@
padding: $space-5;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
text-decoration: none;
color: inherit;
transition: border-color $transition-fast, transform $transition-fast,
@@ -41,7 +41,7 @@
&:hover {
border-color: $border-active;
transform: translateY(-2px);
- box-shadow: $shadow-md;
+ box-shadow: $shadow-raised;
}
&__header {
@@ -56,7 +56,7 @@
justify-content: center;
width: 38px;
height: 38px;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $bg-hover;
color: $accent-primary;
flex-shrink: 0;
@@ -168,7 +168,7 @@
padding: $space-2 $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
&__label {
color: $text-secondary;
@@ -180,7 +180,7 @@
display: inline-flex;
align-items: center;
min-height: 20px;
- padding: 0 10px;
+ padding: 0 $space-3;
border-radius: $radius-full;
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -217,7 +217,7 @@
padding: $space-1 $space-2 $space-1 $space-3;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
transition: border-color $transition-fast, background $transition-fast;
&.is-active {
@@ -244,8 +244,8 @@
justify-content: center;
min-width: 20px;
height: 20px;
- padding: 0 6px;
- border-radius: 999px;
+ padding: 0 $space-tight;
+ border-radius: $radius-full;
background: $bg-hover;
color: $text-secondary;
font-size: $text-xs;
@@ -255,7 +255,7 @@
&__controls {
display: inline-flex;
align-items: center;
- gap: 2px;
+ gap: $space-hair;
margin-left: $space-1;
button {
@@ -266,7 +266,7 @@
height: 22px;
background: none;
border: none;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-tertiary;
cursor: pointer;
transition: background $transition-fast, color $transition-fast;
@@ -354,7 +354,7 @@
padding: $space-3 $space-4;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
&__status {
width: 8px;
@@ -395,9 +395,9 @@
.project-detail-page .status-pill {
display: inline-flex;
align-items: center;
- gap: 6px;
- padding: 2px 10px;
- border-radius: 999px;
+ gap: $space-tight;
+ padding: $space-hair $space-3;
+ border-radius: $radius-full;
font-size: $text-xs;
font-weight: $font-weight-medium;
text-transform: capitalize;
diff --git a/frontend/src/styles/pages/_queue-operations.scss b/frontend/src/styles/pages/_queue-operations.scss
index 1fc67051..61569e25 100644
--- a/frontend/src/styles/pages/_queue-operations.scss
+++ b/frontend/src/styles/pages/_queue-operations.scss
@@ -16,12 +16,12 @@
gap: $space-3;
padding: $space-5 $space-6;
border: 1px solid $border-subtle;
- border-radius: $radius-2xl;
+ border-radius: $radius-overlay;
background:
linear-gradient(135deg, $accent-glow, transparent 55%),
$bg-card;
color: $text-secondary;
- box-shadow: $shadow-lg;
+ box-shadow: $shadow-overlay;
svg {
color: $accent-primary;
@@ -55,9 +55,9 @@
.queue-rail-section {
padding: $space-4;
border: 1px solid $border-subtle;
- border-radius: $radius-2xl;
+ border-radius: $radius-overlay;
background: $bg-card;
- box-shadow: $shadow-sm;
+ box-shadow: none;
}
.queue-rail-section-header {
@@ -115,7 +115,7 @@
width: 100%;
padding: $space-2 $space-3;
border: 1px solid transparent;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
background: transparent;
color: $text-secondary;
font-size: $text-xs;
@@ -138,7 +138,7 @@
b {
margin-left: auto;
- padding: 2px $space-2;
+ padding: $space-hair $space-2;
border-radius: $radius-full;
background: $bg-secondary;
color: $text-secondary;
@@ -261,9 +261,9 @@
margin-bottom: $space-6;
padding: $space-3;
border: 1px solid $border-subtle;
- border-radius: $radius-2xl;
+ border-radius: $radius-overlay;
background: $bg-card;
- box-shadow: $shadow-sm;
+ box-shadow: none;
@media (max-width: $breakpoint-lg) {
flex-direction: column;
@@ -310,9 +310,9 @@
.queue-table-wrap {
border: 1px solid $border-subtle;
- border-radius: $radius-2xl;
+ border-radius: $radius-overlay;
background: $bg-card;
- box-shadow: $shadow-sm;
+ box-shadow: none;
overflow: hidden;
}
@@ -362,7 +362,7 @@
.queue-row-name {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
}
.queue-row-title {
@@ -441,7 +441,7 @@
.queue-send-readonly {
padding: $space-2 $space-3;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
background: $bg-secondary;
color: $text-primary;
font-family: $font-mono;
@@ -457,7 +457,7 @@
pre {
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-3;
overflow: auto;
font-size: $text-xs;
@@ -468,7 +468,7 @@
.queue-message-error {
@include status-variant($danger, $danger-bg);
border: 1px solid $danger-border;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-3;
}
@@ -584,9 +584,9 @@
.queue-detail-panel {
border: 1px solid $border-subtle;
- border-radius: $radius-2xl;
+ border-radius: $radius-overlay;
background: $bg-card;
- box-shadow: $shadow-sm;
+ box-shadow: none;
padding: $space-4;
position: sticky;
top: $space-4;
@@ -612,7 +612,7 @@
display: inline-flex;
padding: $space-1;
border: none;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
background: transparent;
color: $text-tertiary;
cursor: pointer;
diff --git a/frontend/src/styles/pages/_recipes.scss b/frontend/src/styles/pages/_recipes.scss
index ce0f40d2..d11e10ef 100644
--- a/frontend/src/styles/pages/_recipes.scss
+++ b/frontend/src/styles/pages/_recipes.scss
@@ -3,7 +3,7 @@
.recipes-page {
max-width: 1320px;
margin: 0 auto;
- padding: 22px 30px 60px;
+ padding: $space-6 $space-8 $space-16;
&__head {
display: flex;
@@ -25,12 +25,12 @@
&__search {
display: flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
width: 260px;
height: 34px;
- padding: 0 10px;
+ padding: 0 $space-3;
border: 1px solid var(--border-color);
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: var(--bg-card);
color: var(--text-tertiary);
@@ -48,7 +48,7 @@
&__cats {
display: flex;
flex-wrap: wrap;
- gap: 8px;
+ gap: $space-2;
margin-bottom: $spacing-md;
.sk-pill {
@@ -72,7 +72,7 @@
&__loading {
display: flex;
justify-content: center;
- padding: 80px 0;
+ padding: $space-16 0;
color: var(--text-tertiary);
}
@@ -87,16 +87,16 @@
.recipe-card {
display: flex;
flex-direction: column;
- gap: 10px;
+ gap: $space-3;
padding: $spacing-md;
border: 1px solid var(--border-color);
- border-radius: $radius-lg;
+ border-radius: $radius-card;
background: var(--bg-card);
&__top {
display: flex;
align-items: center;
- gap: 10px;
+ gap: $space-3;
}
&__ico {
@@ -106,7 +106,7 @@
width: 34px;
height: 34px;
flex-shrink: 0;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: color-mix(in srgb, var(--primary-color) 12%, transparent);
color: var(--primary-color);
}
@@ -149,11 +149,11 @@
&__reqs {
display: flex;
flex-wrap: wrap;
- gap: 6px;
+ gap: $space-tight;
span {
- padding: 2px 8px;
- border-radius: $radius-sm;
+ padding: $space-hair $space-2;
+ border-radius: $radius-badge;
border: 1px solid var(--border-color);
font-size: $text-xs;
color: var(--text-tertiary);
@@ -170,7 +170,7 @@
align-items: center;
gap: $spacing-sm;
margin-top: auto;
- padding-top: 4px;
+ padding-top: $space-1;
}
&__steps {
@@ -190,11 +190,11 @@
display: block;
font-size: $text-sm;
font-weight: $font-weight-semibold;
- margin-bottom: 6px;
+ margin-bottom: $space-tight;
}
.form-hint {
- margin: 4px 0 0;
+ margin: $space-1 0 0;
font-size: $text-xs;
color: var(--text-tertiary);
}
@@ -202,9 +202,9 @@
.form-input {
width: 100%;
height: 36px;
- padding: 0 10px;
+ padding: 0 $space-3;
border: 1px solid var(--border-color);
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: var(--bg-input, var(--bg-card));
color: var(--text-primary);
font-size: $text-sm;
@@ -218,9 +218,9 @@
&__server {
display: flex;
align-items: center;
- gap: 10px;
+ gap: $space-3;
width: 100%;
- padding: 10px 12px;
+ padding: $space-3 $space-3;
border: none;
border-bottom: 1px solid var(--border-color);
background: transparent;
@@ -266,7 +266,7 @@
&__nosrv {
margin: 0;
- padding: 12px;
+ padding: $space-3;
font-size: $text-sm;
color: var(--text-tertiary);
}
@@ -277,7 +277,7 @@
}
&__blocked {
- margin: 8px 0 0;
+ margin: $space-2 0 0;
font-size: $text-xs;
color: var(--red);
}
@@ -290,7 +290,7 @@
&__actions {
display: flex;
justify-content: flex-end;
- gap: 8px;
+ gap: $space-2;
padding-top: $spacing-sm;
}
}
@@ -298,8 +298,8 @@
.recipe-preflight {
display: flex;
align-items: center;
- gap: 8px;
- padding: 8px 12px;
+ gap: $space-2;
+ padding: $space-2 $space-3;
border-bottom: 1px solid var(--border-color);
font-size: $text-sm;
@@ -325,8 +325,8 @@
.recipe-handoff-row {
display: flex;
align-items: center;
- gap: 8px;
- padding: 8px 12px;
+ gap: $space-2;
+ padding: $space-2 $space-3;
border-bottom: 1px solid var(--border-color);
font-size: $text-sm;
diff --git a/frontend/src/styles/pages/_secrets.scss b/frontend/src/styles/pages/_secrets.scss
index 6491d1d3..ae6c5d19 100644
--- a/frontend/src/styles/pages/_secrets.scss
+++ b/frontend/src/styles/pages/_secrets.scss
@@ -21,7 +21,7 @@
.secrets__code {
background: var(--bg-tertiary);
padding: $spacing-xs $spacing-sm;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
font-family: $font-mono;
font-size: $text-sm;
word-break: break-all;
@@ -30,7 +30,7 @@
.secrets__value {
background: var(--bg-tertiary);
padding: $spacing-xs $spacing-sm;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
font-family: $font-mono;
font-size: $text-sm;
}
diff --git a/frontend/src/styles/pages/_security.scss b/frontend/src/styles/pages/_security.scss
index 02ddced3..885483d8 100644
--- a/frontend/src/styles/pages/_security.scss
+++ b/frontend/src/styles/pages/_security.scss
@@ -25,7 +25,7 @@
margin: 0;
display: flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-faint);
@@ -89,9 +89,9 @@
.sec-dot {
width: 8px;
height: 8px;
- border-radius: 3px;
+ border-radius: $radius-badge;
flex-shrink: 0;
- margin-top: 5px;
+ margin-top: $space-tight;
background: var(--text-ghost);
&--red { background: var(--red); }
@@ -109,7 +109,7 @@
.sec-what {
display: inline-flex;
flex-wrap: wrap;
- gap: 6px;
+ gap: $space-tight;
}
// Right-aligned chip cluster inside an info row (jail tags…)
@@ -117,7 +117,7 @@
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
- gap: 6px;
+ gap: $space-tight;
}
// Findings / log rows (audit findings, lynis warnings + suggestions)
@@ -129,8 +129,8 @@
.sec-finding {
display: flex;
align-items: flex-start;
- gap: 10px;
- padding: 9px 0;
+ gap: $space-3;
+ padding: $space-2 0;
border-top: 1px solid var(--border-soft);
font-size: $text-sm;
line-height: 1.45;
@@ -305,7 +305,7 @@
display: grid;
grid-template-columns: auto auto;
grid-template-rows: auto auto;
- column-gap: 7px;
+ column-gap: $space-2;
align-items: center;
&__icon { grid-row: 1 / span 2; color: var(--text-faint); }
@@ -344,7 +344,7 @@
align-items: center;
gap: $space-3;
min-height: 46px;
- padding: 6px 0;
+ padding: $space-tight 0;
border-top: 1px solid var(--border-soft);
font-size: $text-sm;
@@ -455,7 +455,7 @@
width: 38px;
height: 38px;
margin-bottom: $space-3;
- border-radius: 10px;
+ border-radius: $radius-card;
background: var(--surface-2);
color: var(--text-dim);
}
@@ -537,7 +537,7 @@
display: flex;
align-items: center;
gap: $space-3;
- padding: 8px 0;
+ padding: $space-2 0;
border-top: 1px solid var(--border-soft);
&:first-child { border-top: none; }
@@ -618,14 +618,14 @@
.status-indicator {
display: flex;
align-items: center;
- gap: 11px;
+ gap: $space-3;
.sec-shield {
display: grid;
place-items: center;
width: 32px;
height: 32px;
- border-radius: 9px;
+ border-radius: $radius-card;
flex-shrink: 0;
}
@@ -669,7 +669,7 @@
display: flex;
flex-direction: column;
min-width: 120px;
- padding: 12px 16px;
+ padding: $space-3 $space-4;
background: var(--surface);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
@@ -682,7 +682,7 @@
}
.stat-label {
- margin-top: 5px;
+ margin-top: $space-tight;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-faint);
@@ -722,7 +722,7 @@
}
.port-number {
- margin-top: 2px;
+ margin-top: $space-hair;
font-family: var(--mono);
font-size: $text-xs;
color: var(--text-faint);
@@ -740,7 +740,7 @@
justify-content: space-between;
align-items: center;
gap: $space-3;
- padding: 11px $space-4;
+ padding: $space-3 $space-4;
border-top: 1px solid var(--border-soft);
.blocked-ip {
@@ -870,7 +870,7 @@
}
&__sub {
- margin-top: 5px;
+ margin-top: $space-tight;
font-size: $text-xs;
color: var(--text-faint);
}
@@ -933,7 +933,7 @@
&::-webkit-scrollbar-thumb {
background: $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
}
@@ -942,30 +942,30 @@
.f2b-jails {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
- gap: 12px;
- margin-bottom: 16px;
+ gap: $space-3;
+ margin-bottom: $space-4;
}
.f2b-jail {
background: var(--surface);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
- padding: 14px 16px;
+ padding: $space-4 $space-4;
&__name {
display: flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
font-weight: $font-weight-semibold;
font-size: $text-sm;
- margin-bottom: 12px;
+ margin-bottom: $space-3;
svg { color: var(--accent-bright); }
}
&__stats {
display: flex;
- gap: 20px;
+ gap: $space-5;
}
&__v {
@@ -979,7 +979,7 @@
&__l {
font-size: $text-xs;
color: var(--text-faint);
- margin-top: 2px;
+ margin-top: $space-hair;
}
}
}
diff --git a/frontend/src/styles/pages/_server-packages.scss b/frontend/src/styles/pages/_server-packages.scss
index 5a2845f9..0d150f4d 100644
--- a/frontend/src/styles/pages/_server-packages.scss
+++ b/frontend/src/styles/pages/_server-packages.scss
@@ -38,7 +38,7 @@
&__chip {
padding: 0.4rem 0.85rem;
- border-radius: 999px;
+ border-radius: $radius-full;
border: 1px solid var(--border);
background: var(--surface-2);
color: var(--text-dim);
diff --git a/frontend/src/styles/pages/_server-services.scss b/frontend/src/styles/pages/_server-services.scss
index 2244c33c..218e804a 100644
--- a/frontend/src/styles/pages/_server-services.scss
+++ b/frontend/src/styles/pages/_server-services.scss
@@ -21,7 +21,7 @@
font-size: $text-sm;
th, td {
- padding: 11px 12px;
+ padding: $space-3 $space-3;
text-align: left;
vertical-align: middle;
}
diff --git a/frontend/src/styles/pages/_server-survey.scss b/frontend/src/styles/pages/_server-survey.scss
index e843090d..0419fde4 100644
--- a/frontend/src/styles/pages/_server-survey.scss
+++ b/frontend/src/styles/pages/_server-survey.scss
@@ -62,7 +62,7 @@
&__migrated {
display: inline-flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
font-size: $text-xs;
color: $success;
@@ -83,7 +83,7 @@
padding: $space-2 $space-3;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
svg { color: $text-tertiary; flex-shrink: 0; }
}
@@ -103,7 +103,7 @@
&__table-wrap {
overflow-x: auto;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
&__table {
@@ -157,7 +157,7 @@
padding: $space-4;
background: $bg-secondary;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
&__catalog-list {
@@ -180,10 +180,10 @@
code {
font-family: $font-mono;
font-size: $text-xs;
- padding: 1px 6px;
+ padding: 1px $space-tight;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-tertiary;
}
}
@@ -195,7 +195,7 @@
padding: $space-4;
background: rgba($success-raw, 0.06);
border: 1px solid rgba($success-raw, 0.3);
- border-radius: $radius-lg;
+ border-radius: $radius-card;
.survey-tab__section-title { color: $success; }
.survey-tab__section-title svg { color: $success; }
@@ -225,7 +225,7 @@
padding: $space-4;
background: $warning-bg;
border: 1px solid $warning-border;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
> svg { color: $warning; flex-shrink: 0; margin-top: 2px; }
@@ -251,7 +251,7 @@
padding: $space-4;
background: $warning-bg;
border: 1px solid $warning-border;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
p { margin: $space-2 0; }
}
@@ -274,8 +274,8 @@
input { margin-top: 3px; flex-shrink: 0; }
code {
- padding: 1px 4px;
- border-radius: $radius-sm;
+ padding: 1px $space-1;
+ border-radius: $radius-badge;
background: rgba(0, 0, 0, 0.06);
}
}
@@ -291,7 +291,7 @@
padding: $space-3 $space-4;
background: $warning-bg;
border: 1px solid $warning-border;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
&__text {
font-size: $text-xs;
@@ -308,7 +308,7 @@
.server-row__mode-chip {
display: inline-block;
margin-left: $space-2;
- padding: 1px 8px;
+ padding: 1px $space-2;
font-size: $text-xs;
font-weight: $font-weight-medium;
@include status-variant($warning, $warning-bg);
diff --git a/frontend/src/styles/pages/_server-templates.scss b/frontend/src/styles/pages/_server-templates.scss
index 1b86640f..454ffbbb 100644
--- a/frontend/src/styles/pages/_server-templates.scss
+++ b/frontend/src/styles/pages/_server-templates.scss
@@ -20,7 +20,7 @@
align-items: center;
gap: $space-2;
padding: $space-2 $space-4;
- border-radius: $radius-md;
+ border-radius: $radius-control;
cursor: pointer;
transition: background-color 0.15s;
diff --git a/frontend/src/styles/pages/_servers.scss b/frontend/src/styles/pages/_servers.scss
index b7eb4f5a..7d6fc597 100644
--- a/frontend/src/styles/pages/_servers.scss
+++ b/frontend/src/styles/pages/_servers.scss
@@ -34,7 +34,7 @@
&__ico {
width: 30px;
height: 30px;
- border-radius: 8px;
+ border-radius: $radius-card;
display: grid;
place-items: center;
flex-shrink: 0;
@@ -97,7 +97,7 @@
height: 44px;
background: $bg-body;
border: 1px solid $border-subtle;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
padding: $space-3 $space-3 $space-3 $space-10;
color: $text-primary;
font-size: $text-xs;
@@ -164,9 +164,9 @@
display: flex;
background: $bg-body;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
- padding: 3px;
- gap: 2px;
+ border-radius: $radius-card;
+ padding: $space-1;
+ gap: $space-hair;
flex-shrink: 0;
margin: $space-4 $space-6 0;
@@ -175,7 +175,7 @@
padding: $space-2 $space-3;
background: transparent;
border: none;
- border-radius: calc(#{$radius-md} - 1px);
+ border-radius: calc(#{$radius-control} - 1px);
color: $text-secondary;
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -201,7 +201,7 @@
padding: $space-3 $space-4;
background: rgba($accent-primary-raw, 0.07);
border: 1px solid rgba($accent-primary-raw, 0.22);
- border-radius: $radius-md;
+ border-radius: $radius-control;
p {
margin: 0;
@@ -214,8 +214,8 @@
font-size: $text-xs;
color: $accent-primary;
background: rgba($accent-primary-raw, 0.12);
- padding: 1px 5px;
- border-radius: $radius-sm;
+ padding: 1px $space-tight;
+ border-radius: $radius-badge;
}
}
}
@@ -257,7 +257,7 @@
.form-hint {
display: block;
- margin-top: 6px;
+ margin-top: $space-tight;
color: $text-tertiary;
font-size: $text-xs;
line-height: 1.4;
@@ -297,7 +297,7 @@
padding: $space-2 $space-3;
background: transparent;
border: 1px dashed $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-secondary;
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -336,7 +336,7 @@
padding: $space-4;
background: $bg-body;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
animation: form-disclosure-in 0.18s ease;
}
}
@@ -354,7 +354,7 @@
padding: $space-16 $space-6;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
.empty-icon {
width: 64px;
@@ -428,7 +428,7 @@
.info-card {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-5;
h3 {
@@ -536,7 +536,7 @@
&__name {
color: var(--text);
font-weight: $font-weight-medium;
- margin-bottom: 2px;
+ margin-bottom: $space-hair;
}
&__command {
@@ -549,7 +549,7 @@
&__description {
color: var(--text-faint);
font-size: $text-xs;
- margin-top: 2px;
+ margin-top: $space-hair;
}
&__custom-schedule {
@@ -597,7 +597,7 @@
code {
background: var(--surface-2);
padding: 0 $space-1;
- border-radius: 4px;
+ border-radius: $radius-badge;
font-family: var(--mono);
font-size: $text-xs;
color: var(--text);
@@ -612,7 +612,7 @@
.docker-sub-tabs {
display: flex;
- gap: 2px;
+ gap: $space-hair;
border-bottom: 1px solid var(--border-soft);
padding: 0 $space-3;
}
@@ -623,7 +623,7 @@
color: var(--text-faint);
font-size: $text-sm;
font-weight: $font-weight-medium;
- padding: 11px 14px;
+ padding: $space-3 $space-4;
cursor: pointer;
border-bottom: 2px solid transparent;
margin-bottom: -1px;
@@ -654,7 +654,7 @@
align-items: center;
gap: $space-1;
padding: $space-1 $space-2;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -750,7 +750,7 @@
.metric-card {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-5;
&.large {
@@ -896,7 +896,7 @@
padding: $space-1 $space-4;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
margin-bottom: $space-5;
}
@@ -920,7 +920,7 @@
text-align: center;
background: $bg-elevated;
border: 1px dashed $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
.ip-item {
@@ -930,7 +930,7 @@
padding: $space-2 $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
margin-bottom: $space-2;
code {
@@ -942,9 +942,9 @@
.badge-success {
font-size: $text-xs;
- padding: 2px $space-2;
+ padding: $space-hair $space-2;
@include status-variant($success, $success-bg);
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
}
@@ -956,7 +956,7 @@
flex: 1;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
padding: $space-2 $space-3;
color: $text-primary;
font-size: $text-xs;
@@ -977,7 +977,7 @@
padding: $space-3 $space-4;
background: fade($warning-raw, 10%);
border: 1px solid fade($warning-raw, 25%);
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-size: $text-xs;
color: $warning;
}
@@ -1010,7 +1010,7 @@
padding: $space-4;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
&.severity-critical { border-color: fade($danger-raw, 45%); }
&.severity-high { border-color: fade($warning-raw, 45%); }
@@ -1041,8 +1041,8 @@
.severity-badge {
font-size: $text-xs;
font-weight: $font-weight-semibold;
- padding: 2px $space-2;
- border-radius: 5px;
+ padding: $space-hair $space-2;
+ border-radius: $radius-control;
&.critical { @include status-variant(var(--red), var(--red-bg)); }
&.high { @include status-variant(var(--amber), var(--amber-bg)); }
@@ -1068,7 +1068,7 @@
.form-section {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-6;
margin-bottom: $space-6;
@@ -1138,7 +1138,7 @@
width: 36px;
height: 36px;
flex-shrink: 0;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: rgba($accent-primary-raw, 0.12);
color: $accent-primary;
border: 1px solid rgba($accent-primary-raw, 0.25);
@@ -1172,7 +1172,7 @@
&.active {
background: var(--green);
- box-shadow: 0 0 6px var(--green);
+ box-shadow: none;
}
}
@@ -1185,7 +1185,7 @@
.install-script-block {
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
overflow: hidden;
}
@@ -1279,7 +1279,7 @@
border: 1px solid $success-border;
color: $success;
padding: $space-5;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
margin-bottom: $space-6;
svg {
@@ -1346,7 +1346,7 @@
padding: $space-5;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
h4 {
font-size: $text-xs;
@@ -1386,7 +1386,7 @@
flex: 1;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
padding: $space-3;
color: $text-primary;
font-size: $text-xs;
@@ -1417,13 +1417,13 @@
padding: $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
input {
flex: 1;
background: $bg-card;
border: 1px solid $accent-primary;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
padding: $space-2;
color: $text-primary;
font-size: $text-xs;
@@ -1520,7 +1520,7 @@
top: 0;
z-index: 1;
text-align: left;
- padding: 11px $space-4;
+ padding: $space-3 $space-4;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-faint);
@@ -1601,7 +1601,7 @@
display: flex;
align-items: center;
justify-content: center;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $bg-elevated;
border: 1px solid $border-subtle;
color: $text-secondary;
@@ -1644,14 +1644,14 @@
color: $text-tertiary;
font-size: $text-xs;
line-height: 1.3;
- margin-top: 2px;
+ margin-top: $space-hair;
}
.server-row__group {
display: inline-flex;
align-items: center;
- gap: 6px;
- padding: 2px $space-2;
+ gap: $space-tight;
+ padding: $space-hair $space-2;
border-radius: $radius-full;
background: $bg-elevated;
border: 1px solid $border-subtle;
@@ -1679,7 +1679,7 @@
.server-row__telemetry {
display: flex;
flex-direction: column;
- gap: 4px;
+ gap: $space-1;
min-width: 180px;
> span {
@@ -1707,14 +1707,14 @@
position: relative;
height: 5px;
background: var(--surface-3);
- border-radius: 3px;
+ border-radius: $radius-badge;
overflow: hidden;
}
.bar-fill {
position: absolute;
inset: 0 auto 0 0;
- border-radius: 3px;
+ border-radius: $radius-badge;
&.cpu { background: var(--accent-bright); }
&.memory { background: var(--cyan); }
@@ -1725,8 +1725,8 @@
.status-pill {
display: inline-flex;
align-items: center;
- gap: 6px;
- padding: 3px 10px 3px 8px;
+ gap: $space-tight;
+ padding: $space-1 $space-3 $space-1 $space-2;
border-radius: $radius-full;
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -1764,7 +1764,7 @@
position: relative;
display: inline-flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
&__icon {
display: inline-flex;
@@ -1773,7 +1773,7 @@
width: 30px;
height: 30px;
border: 1px solid transparent;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: transparent;
color: $text-secondary;
cursor: pointer;
@@ -1791,14 +1791,14 @@
.row-menu {
z-index: 9999;
min-width: 200px;
- padding: 6px;
+ padding: $space-tight;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
- box-shadow: $shadow-lg;
+ border-radius: $radius-card;
+ box-shadow: $shadow-overlay;
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
&__item {
display: flex;
@@ -1806,7 +1806,7 @@
gap: $space-2;
padding: $space-2 $space-3;
border: 0;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: transparent;
color: $text-secondary;
font-size: $text-xs;
@@ -1840,7 +1840,7 @@
&__divider {
height: 1px;
background: $border-subtle;
- margin: 4px 0;
+ margin: $space-1 0;
}
}
@@ -1858,7 +1858,7 @@
align-items: flex-start;
justify-content: space-between;
gap: $space-5;
- padding: 22px;
+ padding: $space-6;
margin-bottom: $space-5;
background: var(--surface);
border: 1px solid var(--border-soft);
@@ -1882,7 +1882,7 @@
display: flex;
align-items: center;
justify-content: center;
- border-radius: 14px;
+ border-radius: $radius-overlay;
background: var(--surface-2);
border: 1px solid var(--border);
color: var(--text-dim);
@@ -1915,7 +1915,7 @@
&__title-row {
display: flex;
align-items: center;
- gap: 11px;
+ gap: $space-3;
flex-wrap: wrap;
h1 {
@@ -1931,11 +1931,11 @@
.copy-chip {
display: inline-flex;
align-items: center;
- gap: 7px;
- padding: 2px $space-2;
+ gap: $space-2;
+ padding: $space-hair $space-2;
background: var(--surface-2);
border: 1px solid var(--border-soft);
- border-radius: 6px;
+ border-radius: $radius-control;
color: var(--text-faint);
font-size: $text-xs;
cursor: pointer;
@@ -1976,9 +1976,9 @@
&__meta {
display: flex;
align-items: center;
- gap: 9px;
+ gap: $space-2;
flex-wrap: wrap;
- margin-top: 8px;
+ margin-top: $space-2;
font-size: $text-xs;
color: var(--text-dim);
@@ -1990,7 +1990,7 @@
&__meta-item {
display: inline-flex;
align-items: center;
- gap: 5px;
+ gap: $space-tight;
min-width: 0;
svg {
@@ -2027,10 +2027,10 @@
// Refine overview info cards (less marketing, more dashboard)
.overview-tab .info-card {
padding: $space-5;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
background: $bg-card;
border: 1px solid $border-subtle;
- box-shadow: $shadow-sm;
+ box-shadow: none;
transition: border-color $transition-fast;
&:hover {
@@ -2083,8 +2083,8 @@
position: relative;
display: flex;
flex-direction: column;
- gap: 7px;
- padding: $space-4 17px;
+ gap: $space-2;
+ padding: $space-4 $space-4;
background: var(--surface);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
@@ -2097,7 +2097,7 @@
&__head {
display: flex;
align-items: center;
- gap: 7px;
+ gap: $space-2;
color: var(--text-faint);
}
@@ -2131,7 +2131,7 @@
}
&__meter {
- margin-top: 2px;
+ margin-top: $space-hair;
}
// Tone variants (status tile + gauge thresholds)
@@ -2174,7 +2174,7 @@
.info-item {
gap: $space-3;
- padding: 11px 0;
+ padding: $space-3 0;
border-bottom: 1px solid var(--border-soft);
min-height: 40px;
font-size: $text-sm;
@@ -2229,7 +2229,7 @@
margin-left: $space-2;
min-width: 18px;
height: 17px;
- padding: 0 6px;
+ padding: 0 $space-tight;
border-radius: $radius-full;
@include status-variant(var(--amber), var(--amber-bg));
font-size: $text-xs;
@@ -2257,8 +2257,8 @@
padding: $space-4 $space-5;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
- box-shadow: $shadow-sm;
+ border-radius: $radius-card;
+ box-shadow: none;
&__icon {
display: inline-flex;
@@ -2266,7 +2266,7 @@
justify-content: center;
width: 32px;
height: 32px;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $bg-elevated;
flex-shrink: 0;
}
@@ -2314,7 +2314,7 @@
padding: $space-12 $space-6;
background: $bg-card;
border: 1px dashed $border-subtle;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
text-align: center;
svg { color: $text-tertiary; margin-bottom: $space-2; }
@@ -2395,7 +2395,7 @@
padding: 0 $space-3;
font-size: $text-xs;
font-weight: $font-weight-medium;
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
}
}
@@ -2414,13 +2414,13 @@
// Demo `.wp-tab` spec: 13px labels, faint → dim → active text + accent
// underline. Tab ids/keys and deep-linking are untouched (JSX as-is).
.tabs {
- gap: 2px;
+ gap: $space-hair;
margin-bottom: $space-5;
border-bottom: 1px solid var(--border-soft);
}
.tab {
- padding: 11px 14px;
+ padding: $space-3 $space-4;
font-size: $text-sm;
font-weight: $font-weight-medium;
color: var(--text-faint);
@@ -2445,13 +2445,13 @@
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-faint);
- padding: 11px $space-4;
+ padding: $space-3 $space-4;
border-bottom: 1px solid var(--border);
white-space: nowrap;
}
td {
- padding: 13px $space-4;
+ padding: $space-3 $space-4;
font-size: $text-sm;
color: var(--text-dim);
border-bottom: 1px solid var(--border-soft);
@@ -2475,7 +2475,7 @@
font-family: var(--mono);
font-size: $text-xs;
color: var(--text-faint);
- margin-top: 2px;
+ margin-top: $space-hair;
}
.mono {
@@ -2489,7 +2489,7 @@
// `> h3` on purpose: SystemStatusCard nests its own h3 (styled in
// _server-packages.scss) and must not get a second eyebrow border.
.overview-tab .info-card {
- padding: 16px 17px;
+ padding: $space-4 $space-4;
border-radius: var(--radius);
background: var(--surface);
border: 1px solid var(--border-soft);
@@ -2503,9 +2503,9 @@
> h3 {
display: flex;
align-items: center;
- gap: 7px;
+ gap: $space-2;
margin: 0 0 $space-2;
- padding-bottom: 10px;
+ padding-bottom: $space-3;
border-bottom: 1px solid var(--border-soft);
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -2554,7 +2554,7 @@
background: var(--accent-bg);
border-color: fade($accent-primary-raw, 22%);
color: var(--accent-bright);
- border-radius: 9px;
+ border-radius: $radius-card;
}
}
@@ -2607,7 +2607,7 @@
box-shadow: none;
&__icon {
- border-radius: 8px;
+ border-radius: $radius-card;
}
&__title {
@@ -2650,13 +2650,13 @@
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-faint);
- padding: 11px $space-3;
+ padding: $space-3 $space-3;
border-bottom: 1px solid var(--border);
white-space: nowrap;
}
td {
- padding: 11px $space-3;
+ padding: $space-3 $space-3;
font-size: $text-sm;
color: var(--text-dim);
border-bottom: 1px solid var(--border-soft);
diff --git a/frontend/src/styles/pages/_service-detail.scss b/frontend/src/styles/pages/_service-detail.scss
index b47668b7..3536c220 100644
--- a/frontend/src/styles/pages/_service-detail.scss
+++ b/frontend/src/styles/pages/_service-detail.scss
@@ -40,7 +40,7 @@
// Identity row — flat (no card): just the tile + name on the page.
.app-detail-header {
- padding: 4px 0 0;
+ padding: $space-1 0 0;
background: none;
border: none;
border-radius: 0;
@@ -52,7 +52,7 @@
.svc-crumbs {
display: inline-flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
white-space: nowrap;
a {
@@ -67,9 +67,9 @@
// The detail page carries several actions, so let the whole bar wrap
// instead of squeezing the breadcrumb (matches .wp-detail-topbar).
.svc-detail-topbar {
- padding: 10px $space-4;
+ padding: $space-3 $space-4;
flex-wrap: wrap;
- row-gap: 8px;
+ row-gap: $space-2;
.sk-topbar__spacer { display: none; }
.sk-topbar__titles { flex-shrink: 0; }
@@ -78,20 +78,20 @@
margin-left: auto;
flex-wrap: wrap;
justify-content: flex-end;
- row-gap: 6px;
+ row-gap: $space-tight;
.ui-button {
height: 32px;
- padding: 0 10px;
+ padding: 0 $space-3;
font-size: $text-sm;
- gap: 6px;
+ gap: $space-tight;
}
}
}
// Gradient initial avatar (ds ServiceTile — size via props)
&__tile {
- border-radius: 13px;
+ border-radius: $radius-overlay;
box-shadow: var(--shadow-sm);
}
@@ -99,8 +99,8 @@
&__type-badge {
font-size: $text-xs;
font-weight: $font-weight-semibold;
- padding: 2px 7px;
- border-radius: 5px;
+ padding: $space-hair $space-2;
+ border-radius: $radius-control;
border: 1px solid;
}
@@ -137,7 +137,7 @@
color: $text-secondary;
font-size: $text-xs;
cursor: pointer;
- border-radius: $radius-md;
+ border-radius: $radius-control;
text-decoration: none;
&:hover {
@@ -176,7 +176,7 @@
display: inline-flex;
align-items: center;
gap: $space-2;
- padding: 6px $space-3;
+ padding: $space-tight $space-3;
background: var(--surface);
border: 1px solid var(--border);
border-radius: $radius-full;
@@ -221,16 +221,16 @@
&__auto-deploy-badge {
font-size: $text-xs;
font-weight: $font-weight-semibold;
- padding: 1px 6px;
+ padding: 1px $space-tight;
@include status-variant(var(--green), var(--green-bg));
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
&__connect-repo {
display: inline-flex;
align-items: center;
gap: $space-2;
- padding: 6px $space-3;
+ padding: $space-tight $space-3;
background: none;
border: 1px dashed var(--border-strong);
border-radius: $radius-full;
@@ -250,7 +250,7 @@
padding: $space-4;
background: var(--surface);
border: 1px solid var(--border);
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
&__versions-header {
@@ -272,10 +272,10 @@
display: inline-flex;
align-items: center;
gap: $space-2;
- padding: 6px $space-3;
+ padding: $space-tight $space-3;
background: var(--accent-bg-soft);
border: 1px solid var(--accent-dim);
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: var(--accent-bright);
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -306,7 +306,7 @@
padding: $space-3;
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: $radius-md;
+ border-radius: $radius-control;
&.is-current {
border-color: rgba(61, 220, 151, 0.35);
@@ -329,7 +329,7 @@
}
&__version-current {
- padding: 3px $space-2;
+ padding: $space-1 $space-2;
background: rgba(61, 220, 151, 0.1);
border: 1px solid rgba(61, 220, 151, 0.2);
border-radius: $radius-full;
@@ -345,7 +345,7 @@
.app-detail-tabs {
flex-wrap: wrap;
overflow-x: visible;
- row-gap: 2px;
+ row-gap: $space-hair;
}
// Settings pinned to the far right of the strip (matches the mockup's gear).
@@ -391,7 +391,7 @@
h3.svc-eyebrow {
display: flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
margin: 0;
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -529,7 +529,7 @@ h3.svc-eyebrow {
&__nav {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
position: sticky;
top: $space-4;
@@ -542,9 +542,9 @@ h3.svc-eyebrow {
position: static;
flex-direction: row;
flex-wrap: nowrap;
- gap: 6px;
+ gap: $space-tight;
overflow-x: auto;
- padding-bottom: 2px; // keep the active pill's ring/shadow unclipped
+ padding-bottom: $space-hair; // keep the active pill's ring/shadow unclipped
scrollbar-width: none;
&::-webkit-scrollbar { display: none; }
}
@@ -561,8 +561,8 @@ h3.svc-eyebrow {
}
&__grouplabel {
- padding: 0 12px;
- margin-bottom: 6px;
+ padding: 0 $space-3;
+ margin-bottom: $space-tight;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-faint);
@@ -573,10 +573,10 @@ h3.svc-eyebrow {
width: 100%; // fill the nav column — a flex <button> otherwise shrinks
// to its label, so each item's box was a different width
align-items: center;
- gap: 9px;
- padding: 9px 12px;
+ gap: $space-2;
+ padding: $space-2 $space-3;
border: none;
- border-radius: 8px;
+ border-radius: $radius-card;
background: none;
color: var(--text-dim);
font-size: $text-sm;
@@ -614,7 +614,7 @@ h3.svc-eyebrow {
&__section-title {
display: flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
margin: 0 0 $space-3;
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -659,7 +659,7 @@ h3.svc-eyebrow {
&__badge {
display: inline-flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
color: var(--text-dim);
font-size: $text-sm;
font-weight: $font-weight-medium;
@@ -671,7 +671,7 @@ h3.svc-eyebrow {
display: inline-flex;
align-items: center;
min-height: 22px;
- padding: 0 10px;
+ padding: 0 $space-3;
border-radius: $radius-full;
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -731,7 +731,7 @@ h3.svc-eyebrow {
overflow: auto;
background: var(--surface-sunken, var(--surface-hover));
border: 1px solid var(--border-soft);
- border-radius: 8px;
+ border-radius: $radius-card;
font-family: var(--mono);
font-size: $text-xs;
line-height: 1.5;
@@ -742,7 +742,7 @@ h3.svc-eyebrow {
&__issues {
display: flex;
flex-direction: column;
- gap: 6px;
+ gap: $space-tight;
margin: $space-2 0 0;
padding: 0;
list-style: none;
@@ -763,7 +763,7 @@ h3.svc-eyebrow {
display: inline-flex;
align-items: center;
min-height: 20px;
- padding: 0 8px;
+ padding: 0 $space-2;
border-radius: $radius-full;
@include status-variant(var(--accent-bright), var(--accent-bg));
font-size: $text-xs;
@@ -896,7 +896,7 @@ h3.svc-eyebrow {
&__card-title {
display: flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
margin: 0 0 $space-3;
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -923,8 +923,8 @@ h3.svc-eyebrow {
&__info-badge {
font-size: $text-xs;
font-weight: $font-weight-semibold;
- padding: 2px 7px;
- border-radius: 5px;
+ padding: $space-hair $space-2;
+ border-radius: $radius-control;
border: 1px solid;
}
@@ -985,7 +985,7 @@ h3.svc-eyebrow {
&__metric-item {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
}
&__metric-item-label {
@@ -1016,7 +1016,7 @@ h3.svc-eyebrow {
display: flex;
align-items: center;
gap: $space-3;
- padding: 11px 0;
+ padding: $space-3 0;
& + & {
border-top: 1px solid var(--border-soft);
@@ -1058,13 +1058,13 @@ h3.svc-eyebrow {
gap: $space-3;
font-size: $text-xs;
color: var(--text-faint);
- margin-top: 2px;
+ margin-top: $space-hair;
}
&__deploy-sha {
@include status-variant(var(--accent-bright), var(--accent-bg));
padding: 0 $space-1;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
}
@@ -1123,7 +1123,7 @@ h3.svc-eyebrow {
gap: $space-2;
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: $radius-md;
+ border-radius: $radius-control;
padding: 0 $space-2;
flex: 1;
max-width: 300px;
@@ -1202,7 +1202,7 @@ h3.svc-eyebrow {
font-weight: $font-weight-semibold;
padding: 1px $space-1;
@include status-variant(var(--red), var(--red-bg));
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
animation: pulse-dot 1.5s ease-in-out infinite;
}
}
@@ -1212,7 +1212,7 @@ h3.svc-eyebrow {
.svc-detail__portlink {
display: inline-flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
color: $text-tertiary;
transition: color $transition-fast;
diff --git a/frontend/src/styles/pages/_services.scss b/frontend/src/styles/pages/_services.scss
index fc4e4af8..4359acee 100644
--- a/frontend/src/styles/pages/_services.scss
+++ b/frontend/src/styles/pages/_services.scss
@@ -9,11 +9,11 @@
&__src-badge {
display: inline-flex;
align-items: center;
- gap: 6px;
- padding: 3px 9px;
+ gap: $space-tight;
+ padding: $space-1 $space-2;
background: var(--surface-2);
border: 1px solid var(--border-soft);
- border-radius: 6px;
+ border-radius: $radius-control;
font-size: $text-xs;
color: var(--text-dim);
max-width: 200px;
@@ -48,7 +48,7 @@
&__project-name {
display: inline-flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
max-width: 160px;
overflow: hidden;
text-overflow: ellipsis;
@@ -62,9 +62,9 @@
&__unassigned {
display: inline-flex;
align-items: center;
- padding: 2px 8px;
+ padding: $space-hair $space-2;
border: 1px dashed $border-subtle;
- border-radius: 999px;
+ border-radius: $radius-full;
font-size: $text-xs;
color: $text-secondary;
}
@@ -120,7 +120,7 @@
&__domain {
overflow: hidden;
- margin-bottom: 14px;
+ margin-bottom: $space-4;
color: $text-secondary;
font-family: var(--mono);
font-size: $text-xs;
@@ -131,8 +131,8 @@
&__stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
- gap: 2px;
- padding-top: 13px;
+ gap: $space-hair;
+ padding-top: $space-3;
border-top: 1px solid $border-subtle;
.l {
@@ -144,7 +144,7 @@
.v {
display: block;
overflow: hidden;
- margin-top: 3px;
+ margin-top: $space-1;
color: $text-primary;
font-size: $text-sm;
font-weight: $font-weight-semibold;
@@ -157,9 +157,9 @@
display: flex;
align-items: center;
justify-content: flex-end;
- gap: 2px;
- margin-top: 14px;
- padding-top: 13px;
+ gap: $space-hair;
+ margin-top: $space-4;
+ padding-top: $space-3;
border-top: 1px solid $border-subtle;
}
}
diff --git a/frontend/src/styles/pages/_settings.scss b/frontend/src/styles/pages/_settings.scss
index 4bf1e93a..398d38ca 100644
--- a/frontend/src/styles/pages/_settings.scss
+++ b/frontend/src/styles/pages/_settings.scss
@@ -45,7 +45,7 @@
overflow-y: visible;
background: $bg-card;
padding: $space-2;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
}
@@ -58,7 +58,7 @@
margin-bottom: $space-3;
background: $bg-card;
border: 1px solid $border-color;
- border-radius: $radius-md;
+ border-radius: $radius-control;
@media (max-width: $breakpoint-lg) {
flex-basis: 100%;
@@ -71,7 +71,7 @@
border: none;
background: transparent;
padding: $space-2 $space-3;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-secondary;
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -98,7 +98,7 @@
padding: $space-3 $space-4;
background: transparent;
border: none;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-secondary;
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -212,7 +212,7 @@
.settings-card {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-5;
h3 {
@@ -242,7 +242,7 @@
> svg {
flex-shrink: 0;
color: $text-tertiary;
- margin-top: 2px;
+ margin-top: $space-hair;
}
h3 {
@@ -287,7 +287,7 @@
padding: $space-4;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
.source-connection-profile {
@@ -309,7 +309,7 @@
}
span {
- margin-top: 2px;
+ margin-top: $space-hair;
color: $text-tertiary;
font-size: $text-xs;
}
@@ -332,7 +332,7 @@
}
span {
- margin-top: 3px;
+ margin-top: $space-1;
color: $text-tertiary;
font-size: $text-xs;
line-height: 1.45;
@@ -355,7 +355,7 @@
padding: $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-tertiary;
font-size: $text-xs;
overflow-wrap: anywhere;
@@ -411,7 +411,7 @@
align-items: center;
padding: $space-4;
background: $bg-hover;
- border-radius: $radius-md;
+ border-radius: $radius-control;
margin-top: $space-3;
.session-info {
@@ -458,7 +458,7 @@
padding: $space-4;
background: transparent;
border: 2px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
cursor: pointer;
transition: all $transition-fast;
@@ -481,7 +481,7 @@
.theme-preview {
width: 100%;
height: 80px;
- border-radius: $radius-md;
+ border-radius: $radius-control;
display: flex;
overflow: hidden;
@@ -500,7 +500,7 @@
.preview-card {
flex: 1;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
&.dark {
@@ -591,7 +591,7 @@
align-items: center;
padding: $space-4;
background: $bg-hover;
- border-radius: $radius-md;
+ border-radius: $radius-control;
gap: $space-4;
.notification-info {
@@ -647,7 +647,7 @@
bottom: 0;
background: var(--surface-3);
border: 1px solid var(--border);
- border-radius: 24px;
+ border-radius: $radius-full;
transition: all $transition-fast;
&::before {
@@ -671,7 +671,7 @@
height: 24px;
background: var(--surface-3);
border: 1px solid var(--border);
- border-radius: 24px;
+ border-radius: $radius-full;
cursor: pointer;
transition: background $transition-fast;
flex-shrink: 0;
@@ -813,7 +813,7 @@
}
input {
- padding-left: 36px;
+ padding-left: $space-10;
}
}
@@ -849,7 +849,7 @@
.timezone-message {
margin-top: $space-2;
padding: $space-2 $space-3;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-size: $text-xs;
&.success {
@@ -867,7 +867,7 @@
.about-card {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-8;
text-align: center;
@@ -997,7 +997,7 @@
padding: $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-size: $text-xs;
text-align: start;
white-space: pre-wrap;
@@ -1013,7 +1013,7 @@
position: relative;
background: linear-gradient(135deg, $accent-glow 0%, fade($accent-primary-raw, 8%) 100%);
border: 1px solid fade($accent-primary-raw, 30%);
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-6;
display: flex;
align-items: flex-start;
@@ -1028,7 +1028,7 @@
color: $text-tertiary;
cursor: pointer;
padding: $space-1;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
transition: all $transition-fast;
&:hover {
@@ -1042,7 +1042,7 @@
width: 48px;
height: 48px;
background: linear-gradient(135deg, $warning 0%, darken($warning-raw, 10%) 100%);
- border-radius: $radius-lg;
+ border-radius: $radius-card;
display: flex;
align-items: center;
justify-content: center;
@@ -1126,7 +1126,7 @@
gap: $space-3;
padding: $space-3 $space-4;
background: $bg-hover;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-secondary;
text-decoration: none;
font-size: $text-xs;
@@ -1161,7 +1161,7 @@
align-items: flex-start;
padding: $space-4;
background: $bg-hover;
- border-radius: $radius-md;
+ border-radius: $radius-control;
gap: $space-4;
&:not(:last-child) {
@@ -1203,7 +1203,7 @@
padding: $space-2 $space-3;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-primary;
font-size: $text-xs;
cursor: pointer;
@@ -1248,7 +1248,7 @@
gap: $space-1;
padding: $space-3 $space-2;
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $bg-card;
cursor: pointer;
transition: all 0.15s ease;
@@ -1304,7 +1304,7 @@
padding: $space-2 $space-3;
background: transparent;
border: 2px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
cursor: pointer;
transition: all $transition-fast;
@@ -1355,17 +1355,17 @@
height: 32px;
padding: 0;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: transparent;
cursor: pointer;
&::-webkit-color-swatch-wrapper {
- padding: 2px;
+ padding: $space-hair;
}
&::-webkit-color-swatch {
border: none;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
}
@@ -1378,15 +1378,15 @@
.accent-custom-reset {
display: inline-flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
margin-left: auto;
- padding: 4px 10px;
+ padding: $space-1 $space-3;
font-size: $text-xs;
font-weight: $font-weight-medium;
color: var(--text-dim);
background: transparent;
border: 1px solid var(--border);
- border-radius: $radius-md;
+ border-radius: $radius-control;
cursor: pointer;
transition: all $transition-fast;
@@ -1436,7 +1436,7 @@
text-align: left;
background: var(--surface-2);
border: 2px solid var(--border);
- border-radius: $radius-lg;
+ border-radius: $radius-card;
cursor: pointer;
transition: all $transition-fast;
@@ -1452,7 +1452,7 @@
&__swatches {
display: flex;
height: 44px;
- border-radius: $radius-md;
+ border-radius: $radius-control;
overflow: hidden;
border: 1px solid var(--border-soft);
}
@@ -1477,9 +1477,9 @@
&__base {
font-size: $text-xs;
color: var(--text-faint);
- padding: 1px 6px;
+ padding: 1px $space-tight;
border: 1px solid var(--border);
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
&__desc {
@@ -1500,7 +1500,7 @@
&__applied {
display: inline-flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
font-size: $text-xs;
font-weight: $font-weight-medium;
color: var(--accent-primary);
@@ -1509,7 +1509,7 @@
&__default {
display: inline-flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
font-size: $text-xs;
font-weight: $font-weight-medium;
color: var(--amber);
@@ -1526,14 +1526,14 @@
&__admin-btn {
display: inline-flex;
align-items: center;
- gap: 4px;
- padding: 3px 8px;
+ gap: $space-1;
+ padding: $space-1 $space-2;
font-size: $text-xs;
font-weight: $font-weight-medium;
color: var(--text-dim);
background: transparent;
border: 1px solid var(--border);
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
cursor: pointer;
transition: all $transition-fast;
@@ -1569,7 +1569,7 @@
gap: $space-3;
max-height: 60vh;
overflow-y: auto;
- padding: 2px;
+ padding: $space-hair;
}
.theme-browse__card {
@@ -1579,12 +1579,12 @@
padding: $space-3;
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: $radius-lg;
+ border-radius: $radius-card;
.theme-browse__swatches {
display: flex;
height: 40px;
- border-radius: $radius-md;
+ border-radius: $radius-control;
overflow: hidden;
border: 1px solid var(--border-soft);
@@ -1619,7 +1619,7 @@
.theme-browse__installed {
display: inline-flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
font-size: $text-xs;
font-weight: $font-weight-medium;
color: var(--green);
@@ -1629,14 +1629,14 @@
display: inline-flex;
align-items: center;
justify-content: center;
- gap: 5px;
- padding: 5px 10px;
+ gap: $space-tight;
+ padding: $space-tight $space-3;
font-size: $text-xs;
font-weight: $font-weight-medium;
color: var(--text);
background: var(--surface-3);
border: 1px solid var(--border);
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
cursor: pointer;
transition: all $transition-fast;
@@ -1668,7 +1668,7 @@
&__field {
display: flex;
flex-direction: column;
- gap: 4px;
+ gap: $space-1;
// Direct child only: the Select and SegControl inside carry spans of their own.
> span {
@@ -1678,12 +1678,12 @@
}
input {
- padding: 6px 10px;
+ padding: $space-tight $space-3;
font-size: $text-xs;
color: var(--text);
background: var(--surface);
border: 1px solid var(--border);
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
}
@@ -1709,7 +1709,7 @@
height: 28px;
padding: 0;
border: 1px solid var(--border);
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
background: transparent;
cursor: pointer;
}
@@ -1718,11 +1718,11 @@
&__modes {
display: inline-flex;
border: 1px solid var(--border);
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
overflow: hidden;
button {
- padding: 5px 12px;
+ padding: $space-tight $space-3;
font-size: $text-xs;
font-weight: $font-weight-medium;
color: var(--text-dim);
@@ -1741,7 +1741,7 @@
display: flex;
flex-direction: column;
gap: $space-4;
- padding-right: 2px;
+ padding-right: $space-hair;
}
&__group h4 {
@@ -1763,7 +1763,7 @@
&__token {
display: flex;
flex-direction: column;
- gap: 3px;
+ gap: $space-1;
label {
font-size: $text-xs;
@@ -1774,7 +1774,7 @@
&__token-input {
display: flex;
align-items: center;
- gap: 6px;
+ gap: $space-tight;
input[type="color"] {
width: 30px;
@@ -1782,7 +1782,7 @@
flex-shrink: 0;
padding: 0;
border: 1px solid var(--border);
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
background: transparent;
cursor: pointer;
}
@@ -1790,13 +1790,13 @@
input[type="text"] {
flex: 1;
min-width: 0;
- padding: 5px 8px;
+ padding: $space-tight $space-2;
font-family: $font-mono;
font-size: $text-xs;
color: var(--text);
background: var(--surface);
border: 1px solid var(--border);
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
}
@@ -1827,7 +1827,7 @@
align-items: center;
padding: $space-3 $space-4;
background: $bg-hover;
- border-radius: $radius-md;
+ border-radius: $radius-control;
transition: opacity $transition-fast;
&--hidden {
@@ -1860,7 +1860,7 @@
height: 28px;
background: transparent;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-secondary;
cursor: pointer;
transition: all $transition-fast;
@@ -1900,7 +1900,7 @@
padding: $space-4;
background: transparent;
border: 2px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
cursor: pointer;
transition: all $transition-fast;
text-align: center;
@@ -1958,7 +1958,7 @@
padding: $space-3;
background: $bg-hover;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-primary;
font-size: $text-xs;
transition: border-color $transition-fast;
@@ -1973,7 +1973,7 @@
.whitelabel-upload {
border: 2px dashed $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-5;
cursor: pointer;
transition: all $transition-fast;
@@ -2017,7 +2017,7 @@
width: 48px;
height: 48px;
object-fit: contain;
- border-radius: $radius-md;
+ border-radius: $radius-control;
border: 1px solid $border-subtle;
background: $bg-hover;
padding: $space-1;
@@ -2038,12 +2038,12 @@
.whitelabel-preview__box {
display: flex;
align-items: center;
- gap: 10px;
+ gap: $space-3;
height: 70px;
padding: 0 $space-4;
background: $bg-body;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
}
@@ -2051,7 +2051,7 @@
margin-top: $space-4;
background: linear-gradient(135deg, $accent-glow 0%, fade($accent-primary-raw, 8%) 100%);
border: 1px solid fade($accent-primary-raw, 30%);
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-5;
display: flex;
align-items: flex-start;
@@ -2062,7 +2062,7 @@
width: 44px;
height: 44px;
background: linear-gradient(135deg, $warning 0%, darken($warning-raw, 10%) 100%);
- border-radius: $radius-lg;
+ border-radius: $radius-card;
display: flex;
align-items: center;
justify-content: center;
@@ -2127,7 +2127,7 @@
padding: $space-3;
background: $bg-hover;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-primary;
font-size: $text-xs;
@@ -2202,7 +2202,7 @@
padding: $space-3;
background: $bg-hover;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-primary;
font-size: $text-xs;
font-family: $font-mono;
@@ -2241,7 +2241,7 @@
justify-content: space-between;
padding: $space-3;
background: $bg-secondary;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
border: 1px solid $border-subtle;
.linked-account__info {
@@ -2329,7 +2329,7 @@
padding: $space-4;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
cursor: pointer;
transition: all $transition-fast;
text-align: left;
@@ -2355,7 +2355,7 @@
align-items: center;
justify-content: center;
background: $bg-secondary;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $text-secondary;
svg {
@@ -2406,7 +2406,7 @@
margin-bottom: $space-4;
background: fade($warning-raw, 10%);
border: 1px solid fade($warning-raw, 20%);
- border-radius: $radius-md;
+ border-radius: $radius-control;
.migration-pending-icon { color: $warning; flex-shrink: 0; margin-top: 1px; }
.migration-pending-body { flex: 1; min-width: 0; }
@@ -2459,9 +2459,9 @@
.migration-uptodate code {
font-family: $font-mono;
font-size: $text-xs;
- padding: 1px 5px;
+ padding: 1px $space-tight;
background: $bg-tertiary;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-primary;
}
@@ -2493,7 +2493,7 @@
align-items: center;
justify-content: space-between;
padding: $space-3 $space-2;
- border-radius: $radius-md;
+ border-radius: $radius-control;
cursor: pointer;
transition: all $transition-fast;
@@ -2603,7 +2603,7 @@
}
.sk-ai-candidates { display: grid; gap: $space-3; margin-block: $space-4;
> button { justify-self: start; }
- &__row { padding: $space-4; background: $bg-elevated; border: 1px solid $border-default; border-radius: $radius-md; min-width: 0;
+ &__row { padding: $space-4; background: $bg-elevated; border: 1px solid $border-default; border-radius: $radius-control; min-width: 0;
> .form-field { margin-block: $space-4; }
.settings-actions { justify-content: flex-end; }
}
@@ -2611,7 +2611,7 @@
.sk-ai-advanced { border-top: 1px solid $border-subtle; padding-block: $space-4;
summary { cursor: pointer; font-weight: $font-weight-medium; margin-bottom: $space-3; }
}
-.sk-ai-routing-result { background: $bg-body; border: 1px solid $border-default; border-radius: $radius-md; padding: $space-4; margin-block: $space-4; overflow-wrap: anywhere; }
+.sk-ai-routing-result { background: $bg-body; border: 1px solid $border-default; border-radius: $radius-control; padding: $space-4; margin-block: $space-4; overflow-wrap: anywhere; }
.sk-ai-usage { min-width: 0;
.stat-strip { margin-block: $space-4; }
.stat-strip__item { background: $bg-body; }
diff --git a/frontend/src/styles/pages/_setup-wizard.scss b/frontend/src/styles/pages/_setup-wizard.scss
index ef711356..0b66108c 100644
--- a/frontend/src/styles/pages/_setup-wizard.scss
+++ b/frontend/src/styles/pages/_setup-wizard.scss
@@ -14,7 +14,7 @@
max-width: 700px;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-2xl;
+ border-radius: $radius-overlay;
padding: $space-10;
}
@@ -140,7 +140,7 @@
padding: $space-5;
background: $bg-elevated;
border: 2px solid $border-default;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
cursor: pointer;
@include transition();
position: relative;
@@ -158,7 +158,7 @@
@include icon-box(40px);
background: $bg-secondary;
color: $text-secondary;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
.option-card-label {
@@ -213,7 +213,7 @@
padding: $space-5;
background: $bg-elevated;
border: 2px solid $border-default;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
@include transition();
&.detected {
@@ -235,7 +235,7 @@
.tier-card-badge {
font-size: $text-xs;
- padding: 2px 8px;
+ padding: $space-hair $space-2;
background: $accent-primary;
color: #fff;
border-radius: $radius-full;
@@ -310,7 +310,7 @@
margin-bottom: $space-5;
background: $bg-elevated;
border: 1px solid $border-default;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
&__summary {
font-size: $text-lg;
@@ -347,15 +347,15 @@
padding: $space-4;
background: $warning-bg;
border: 1px solid $warning-border;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
margin-bottom: $space-6;
code {
font-family: $font-mono;
font-size: $text-xs;
- padding: 1px 5px;
+ padding: 1px $space-tight;
background: $bg-tertiary;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
.tier-warning-icon {
@@ -381,7 +381,7 @@
margin-bottom: $space-6;
background: $bg-elevated;
border: 1px solid $border-default;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
&__icon {
flex-shrink: 0;
@@ -409,7 +409,7 @@
margin-bottom: $space-5;
background: $bg-elevated;
border: 1px solid $border-default;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
@media (max-width: $breakpoint-md) {
flex-direction: column;
@@ -420,7 +420,7 @@
flex-shrink: 0;
width: 160px;
height: 160px;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
// QR codes render as dark-on-transparent; a white plate keeps them
// scannable in dark mode.
background: #fff;
@@ -477,7 +477,7 @@
.summary-panel {
background: $bg-elevated;
border: 1px solid $border-default;
- border-radius: $radius-xl;
+ border-radius: $radius-overlay;
padding: $space-6;
margin-bottom: $space-6;
}
@@ -559,7 +559,7 @@
text-align: left;
padding: $space-3;
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $bg-card;
cursor: pointer;
transition: border-color 0.15s ease, background-color 0.15s ease;
@@ -620,7 +620,7 @@
padding: $space-2 $space-4;
background: $bg-secondary;
border: 1px solid $border-default;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
font-size: $text-xs;
color: $text-primary;
}
@@ -647,7 +647,7 @@
padding: $space-3 $space-4;
background: $bg-secondary;
border: 1px solid $border-default;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
cursor: pointer;
&:hover {
@@ -655,7 +655,7 @@
}
&__check {
- margin-top: 3px;
+ margin-top: $space-1;
flex-shrink: 0;
cursor: pointer;
}
@@ -663,7 +663,7 @@
&__body {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
flex: 1;
min-width: 0;
}
@@ -744,7 +744,7 @@
.summary-rec-ico {
display: inline;
vertical-align: middle;
- margin-right: 6px;
+ margin-right: $space-tight;
}
.btn-wizard-prev {
@@ -783,7 +783,7 @@
gap: $space-4;
padding: $space-4;
background: fade($accent-primary-raw, 10%);
- border-radius: $radius-md;
+ border-radius: $radius-control;
margin-bottom: $space-6;
.wizard-info-icon {
diff --git a/frontend/src/styles/pages/_ssl.scss b/frontend/src/styles/pages/_ssl.scss
index 0d7ddfa7..5acf5dc9 100644
--- a/frontend/src/styles/pages/_ssl.scss
+++ b/frontend/src/styles/pages/_ssl.scss
@@ -15,7 +15,7 @@
width: 26px;
height: 26px;
flex-shrink: 0;
- border-radius: $radius-md;
+ border-radius: $radius-control;
@include status-variant($success, $success-bg);
// Same four states the Status column reports, so the row does not say
diff --git a/frontend/src/styles/pages/_status-pages.scss b/frontend/src/styles/pages/_status-pages.scss
index 14e070a1..ee4330b2 100644
--- a/frontend/src/styles/pages/_status-pages.scss
+++ b/frontend/src/styles/pages/_status-pages.scss
@@ -28,14 +28,14 @@
.status-page-item {
width: 100%;
- padding: 13px 14px;
+ padding: $space-3 $space-4;
background: var(--surface);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
color: var(--text);
cursor: pointer;
display: grid;
- gap: 6px;
+ gap: $space-tight;
text-align: left;
transition: border-color $transition-fast, background $transition-fast;
@@ -64,7 +64,7 @@
}
.sk-pill {
- padding: 1px 7px;
+ padding: 1px $space-2;
font-size: $text-xs;
}
@@ -78,7 +78,7 @@
&__meta {
display: inline-flex;
align-items: center;
- gap: 5px;
+ gap: $space-tight;
color: var(--text-faint);
font-size: $text-xs;
@@ -140,20 +140,20 @@
.status-overall-pill {
font-size: $text-xs;
- padding: 4px 11px;
+ padding: $space-1 $space-3;
}
// Component status dot strip (prototype .comp-dots)
.comp-dots {
display: flex;
- gap: 3px;
+ gap: $space-1;
flex-wrap: wrap;
margin-top: $space-3;
i {
width: 8px;
height: 8px;
- border-radius: 2px;
+ border-radius: $radius-badge;
background: var(--green);
&.degraded { background: var(--amber); }
@@ -232,7 +232,7 @@
grid-template-columns: minmax(220px, 1fr) minmax(260px, auto) auto;
gap: $space-4;
align-items: center;
- padding: 12px 0;
+ padding: $space-3 0;
&:last-child {
padding-bottom: 0;
@@ -251,7 +251,7 @@
> div {
min-width: 0;
display: grid;
- gap: 3px;
+ gap: $space-1;
}
strong {
@@ -301,17 +301,17 @@
.status-dot {
width: 9px;
height: 9px;
- border-radius: 3px;
+ border-radius: $radius-badge;
flex: 0 0 auto;
&--success {
background: var(--green);
- box-shadow: 0 0 6px var(--green);
+ box-shadow: none;
}
&--warning {
background: var(--amber);
- box-shadow: 0 0 6px var(--amber);
+ box-shadow: none;
}
&--danger {
@@ -347,7 +347,7 @@
strong {
display: block;
- margin-bottom: 3px;
+ margin-bottom: $space-1;
font-size: $text-sm;
font-weight: $font-weight-semibold;
}
@@ -412,7 +412,7 @@
> div {
display: grid;
- gap: 2px;
+ gap: $space-hair;
}
span {
@@ -441,7 +441,7 @@
> div {
min-height: 72px;
- padding: 14px 15px;
+ padding: $space-4 $space-4;
border: 1px solid var(--border-soft);
border-radius: var(--radius);
background: var(--surface-2);
@@ -501,7 +501,7 @@
.public-status-page {
min-height: 100vh;
- padding: clamp(24px, 4vw, 56px);
+ padding: clamp($space-6, 4vw, $space-16);
background: $bg-body;
color: $text-primary;
@@ -520,7 +520,7 @@
gap: $space-5;
padding: $space-6;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
background: $bg-card;
h1 {
@@ -542,7 +542,7 @@
.public-status-badge {
min-height: 34px;
- padding: 8px $space-3;
+ padding: $space-2 $space-3;
}
.public-status-summary {
@@ -554,7 +554,7 @@
> div {
padding: $space-4;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $bg-card;
}
@@ -612,7 +612,7 @@
.public-status-shell {
padding: $space-4;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $bg-card;
}
@@ -674,7 +674,7 @@
span {
display: block;
- margin-top: 3px;
+ margin-top: $space-1;
color: $text-tertiary;
font-size: $text-xs;
}
diff --git a/frontend/src/styles/pages/_storage.scss b/frontend/src/styles/pages/_storage.scss
index 92c9c945..1216ba05 100644
--- a/frontend/src/styles/pages/_storage.scss
+++ b/frontend/src/styles/pages/_storage.scss
@@ -25,7 +25,7 @@
margin: $space-3 0 0;
padding: $space-2 $space-3;
border: 1px solid transparent;
- border-radius: $radius-md;
+ border-radius: $radius-control;
@include status-variant($text-primary, $warning-bg, $warning-border);
font-size: $text-xs;
}
diff --git a/frontend/src/styles/pages/_style-guide.scss b/frontend/src/styles/pages/_style-guide.scss
index 86f1d548..b1ef2acb 100644
--- a/frontend/src/styles/pages/_style-guide.scss
+++ b/frontend/src/styles/pages/_style-guide.scss
@@ -133,7 +133,7 @@
color: $text-tertiary;
background: transparent;
border: 1px solid transparent;
- border-radius: $radius-md;
+ border-radius: $radius-control;
cursor: pointer;
transition: all $transition-fast;
@@ -178,7 +178,7 @@
&__swatch-preview {
width: 100%;
height: 64px;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
border: 1px solid $border-default;
display: flex;
align-items: center;
@@ -201,7 +201,7 @@
&__spacing-bar {
height: $space-4;
background: $accent-primary;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
min-width: 4px;
}
@@ -218,7 +218,7 @@
width: 80px;
height: 80px;
background: $bg-card;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
border: 1px solid $border-default;
}
@@ -227,7 +227,7 @@
padding: $space-2 $space-3;
background: $bg-elevated;
border: 1px solid $border-default;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-size: $text-xs;
color: $text-secondary;
text-align: center;
diff --git a/frontend/src/styles/pages/_telemetry.scss b/frontend/src/styles/pages/_telemetry.scss
index cece72bd..6aa37a73 100644
--- a/frontend/src/styles/pages/_telemetry.scss
+++ b/frontend/src/styles/pages/_telemetry.scss
@@ -14,13 +14,13 @@
display: flex;
align-items: center;
justify-content: space-between;
- gap: 12px;
+ gap: $space-3;
flex-wrap: wrap;
- margin: 16px 0 12px;
- padding: 10px 14px;
+ margin: $space-4 0 $space-3;
+ padding: $space-3 $space-4;
border: 1px solid var(--border-soft);
border-left: 3px solid var(--violet);
- border-radius: 8px;
+ border-radius: $radius-card;
background: var(--surface-2);
font-size: $text-sm;
color: var(--text-dim);
@@ -42,9 +42,9 @@
.telemetry-cell__meta {
display: flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
flex-wrap: wrap;
- margin-top: 4px;
+ margin-top: $space-1;
font-size: $text-xs;
color: var(--text-faint);
}
@@ -54,8 +54,8 @@
}
.telemetry-cell__badge {
- padding: 1px 6px;
- border-radius: 4px;
+ padding: 1px $space-tight;
+ border-radius: $radius-badge;
border: 1px solid var(--border);
color: var(--text-dim);
}
@@ -78,7 +78,7 @@
.telemetry-loading {
display: flex;
justify-content: center;
- padding: 18px 0;
+ padding: $space-5 0;
}
}
@@ -86,7 +86,7 @@
.telemetry-detail {
display: flex;
flex-direction: column;
- gap: 16px;
+ gap: $space-4;
&__heading {
margin: 0;
@@ -98,8 +98,8 @@
margin: 0;
max-height: 340px;
overflow: auto;
- padding: 12px;
- border-radius: 8px;
+ padding: $space-3;
+ border-radius: $radius-card;
border: 1px solid var(--border-soft);
background: var(--surface-2);
font-family: var(--mono);
@@ -123,8 +123,8 @@
display: flex;
align-items: center;
justify-content: space-between;
- gap: 16px;
- padding: 9px 0;
+ gap: $space-4;
+ padding: $space-2 0;
border-bottom: 1px solid var(--border-soft);
&:last-child { border-bottom: none; }
diff --git a/frontend/src/styles/pages/_templates.scss b/frontend/src/styles/pages/_templates.scss
index 5112d7de..0c882a36 100644
--- a/frontend/src/styles/pages/_templates.scss
+++ b/frontend/src/styles/pages/_templates.scss
@@ -46,11 +46,11 @@
&__card {
display: flex;
align-items: center;
- gap: 13px;
- padding: 14px 16px;
+ gap: $space-3;
+ padding: $space-4 $space-4;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
text-align: left;
cursor: pointer;
transition: background $transition-fast, border-color $transition-fast;
@@ -69,7 +69,7 @@
flex-shrink: 0;
width: 36px;
height: 36px;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: var(--surface-2);
border: 1px solid $border-subtle;
color: var(--accent-bright);
@@ -86,7 +86,7 @@
&__sub {
display: block;
- margin-top: 2px;
+ margin-top: $space-hair;
color: $text-tertiary;
font-size: $text-xs;
}
@@ -131,8 +131,8 @@
text-transform: none;
color: var(--text-faint);
background: var(--surface-2);
- padding: 2px $space-2;
- border-radius: $radius-sm;
+ padding: $space-hair $space-2;
+ border-radius: $radius-badge;
}
.manifest-file-list {
@@ -145,11 +145,11 @@
display: inline-flex;
align-items: center;
gap: $space-1;
- padding: 2px 8px;
+ padding: $space-hair $space-2;
font-family: var(--mono);
font-size: $text-xs;
@include status-variant(var(--green), var(--green-bg));
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
.env-preview-list {
@@ -159,12 +159,12 @@
}
.env-preview-chip {
- padding: 2px 8px;
+ padding: $space-hair $space-2;
font-family: var(--mono);
font-size: $text-xs;
color: var(--text-dim);
background: var(--surface-2);
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
&--secret {
color: var(--amber);
@@ -186,7 +186,7 @@
align-items: center;
justify-content: center;
background: var(--surface-2);
- border-radius: $radius-lg;
+ border-radius: $radius-card;
overflow: hidden;
color: var(--accent-bright);
@@ -221,7 +221,7 @@
color: var(--accent-bright);
padding: $space-1 $space-2;
background: var(--accent-bg);
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
}
.template-categories {
@@ -234,11 +234,11 @@
display: inline-flex;
align-items: center;
gap: $space-1;
- padding: 2px 7px;
+ padding: $space-hair $space-2;
font-size: $text-xs;
color: var(--text-dim);
background: var(--surface-2);
- border-radius: 5px;
+ border-radius: $radius-control;
text-transform: capitalize;
}
@@ -251,7 +251,7 @@
width: 520px;
max-width: 100vw;
max-height: none;
- border-radius: $radius-2xl 0 0 $radius-2xl;
+ border-radius: $radius-overlay 0 0 $radius-overlay;
border-left: 1px solid var(--border-soft);
overflow: hidden;
display: flex;
@@ -335,7 +335,7 @@
border: none;
color: $text-tertiary;
cursor: pointer;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
display: flex;
align-items: center;
transition: all $transition-fast;
@@ -361,7 +361,7 @@
gap: $space-2;
padding: $space-2 $space-3;
background: var(--surface-2);
- border-radius: $radius-md;
+ border-radius: $radius-control;
.requirement-label {
font-size: $text-xs;
@@ -388,7 +388,7 @@
gap: $space-1;
padding: $space-3;
background: var(--surface-2);
- border-radius: $radius-md;
+ border-radius: $radius-control;
border: 1px solid var(--border-soft);
&.required {
@@ -412,17 +412,17 @@
.required-badge {
font-size: $text-xs;
- padding: 2px $space-2;
+ padding: $space-hair $space-2;
@include status-variant(var(--accent-bright), var(--accent-bg));
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
font-weight: $font-weight-semibold;
}
.auto-badge {
font-size: $text-xs;
- padding: 2px $space-2;
+ padding: $space-hair $space-2;
@include status-variant(var(--green), var(--green-bg));
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
font-weight: $font-weight-semibold;
}
@@ -450,7 +450,7 @@
gap: $space-2;
padding: $space-2 $space-3;
background: var(--surface-2);
- border-radius: $radius-md;
+ border-radius: $radius-control;
}
.port-number {
@@ -463,7 +463,7 @@
font-size: $text-xs;
padding: $space-1;
background: var(--surface-3);
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
color: $text-secondary;
}
@@ -476,7 +476,7 @@
.compose-preview {
padding: $space-4;
background: var(--bg-code);
- border-radius: $radius-md;
+ border-radius: $radius-control;
border: 1px solid var(--border-soft);
code {
@@ -515,13 +515,13 @@
.deployment-progress-track {
height: 5px;
background: var(--surface-3);
- border-radius: 3px;
+ border-radius: $radius-badge;
overflow: hidden;
}
.deployment-progress-fill {
height: 100%;
- border-radius: 3px;
+ border-radius: $radius-badge;
background: var(--accent-primary);
transition: width 180ms ease;
}
@@ -534,12 +534,12 @@
// the deploy.
.tpl-capacity {
display: flex;
- gap: 8px;
+ gap: $space-2;
align-items: flex-start;
- margin-top: 8px;
- padding: 10px 12px;
+ margin-top: $space-2;
+ padding: $space-3 $space-3;
border: 1px solid var(--surface-3);
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: var(--surface-2);
transition: opacity 0.15s ease;
@@ -552,7 +552,7 @@
&__text {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
min-width: 0;
}
diff --git a/frontend/src/styles/pages/_terminal.scss b/frontend/src/styles/pages/_terminal.scss
index c5a614eb..2f2df3d8 100644
--- a/frontend/src/styles/pages/_terminal.scss
+++ b/frontend/src/styles/pages/_terminal.scss
@@ -68,14 +68,14 @@ $lk-default: #646b7a;
}
&__grp {
- padding: 8px 14px 6px;
+ padding: $space-2 $space-4 $space-tight;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-ghost);
}
&__hint {
- padding: 8px 14px;
+ padding: $space-2 $space-4;
font-size: $text-sm;
color: var(--text-faint);
}
@@ -83,9 +83,9 @@ $lk-default: #646b7a;
&__row {
display: flex;
align-items: center;
- gap: 9px;
+ gap: $space-2;
width: 100%;
- padding: 8px 14px;
+ padding: $space-2 $space-4;
background: transparent;
border: none;
text-align: left;
@@ -202,7 +202,7 @@ $lk-default: #646b7a;
justify-content: space-between;
align-items: center;
gap: $space-4;
- padding: 9px $space-4;
+ padding: $space-2 $space-4;
background: var(--surface);
border-bottom: 1px solid var(--border-soft);
flex-wrap: wrap;
@@ -228,10 +228,10 @@ $lk-default: #646b7a;
display: inline-flex;
align-items: center;
gap: $space-1;
- padding: 3px $space-2;
+ padding: $space-1 $space-2;
background: $warning-bg;
border: 1px solid $warning-border;
- border-radius: $radius-md;
+ border-radius: $radius-control;
color: $warning;
font-size: $text-xs;
@@ -301,7 +301,7 @@ $lk-default: #646b7a;
cursor: pointer;
font-size: $text-lg;
line-height: 1;
- padding: 0 4px;
+ padding: 0 $space-1;
opacity: 0.7;
&:hover { opacity: 1; }
@@ -363,8 +363,8 @@ $lk-default: #646b7a;
width: 100%;
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: 8px;
- padding: 6px 8px 6px 28px;
+ border-radius: $radius-card;
+ padding: $space-tight $space-2 $space-tight $space-8;
font-size: $text-sm;
color: $text-primary;
@include transition(all);
@@ -387,7 +387,7 @@ $lk-default: #646b7a;
scrollbar-width: thin;
&::-webkit-scrollbar { width: 4px; }
- &::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: $radius-sm; }
+ &::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: $radius-badge; }
}
.lv-empty-hint {
@@ -426,14 +426,14 @@ $lk-default: #646b7a;
display: flex;
align-items: center;
gap: $space-1;
- padding: 9px 6px 4px;
+ padding: $space-2 $space-tight $space-1;
background: transparent;
border: none;
color: var(--text-ghost);
font-size: $text-xs;
font-weight: $font-weight-semibold;
cursor: pointer;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
&.is-static { cursor: default; }
&__spacer { width: 12px; }
@@ -449,7 +449,7 @@ $lk-default: #646b7a;
.lv-group-count {
background: transparent;
color: var(--text-ghost);
- padding: 0 2px;
+ padding: 0 $space-hair;
font-size: $text-xs;
font-weight: $font-weight-semibold;
line-height: 14px;
@@ -461,7 +461,7 @@ $lk-default: #646b7a;
display: flex;
flex-direction: column;
gap: 1px;
- padding: 2px 0 $space-2;
+ padding: $space-hair 0 $space-2;
}
// ─── Target row (demo con-target look) ────────────────
@@ -473,11 +473,11 @@ $lk-default: #646b7a;
'dot name size'
'dot name time';
align-items: center;
- gap: 2px $space-2;
- padding: 6px 9px;
+ gap: $space-hair $space-2;
+ padding: $space-tight $space-2;
background: transparent;
border: none;
- border-radius: 8px;
+ border-radius: $radius-card;
color: var(--text-dim);
font-size: $text-sm;
text-align: left;
@@ -611,7 +611,7 @@ $lk-default: #646b7a;
align-items: center;
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: 8px;
+ border-radius: $radius-card;
min-width: 220px;
@include transition(all);
@@ -632,7 +632,7 @@ $lk-default: #646b7a;
input {
background: transparent;
border: none;
- padding: 6px $space-3 6px 30px;
+ padding: $space-tight $space-3 $space-tight $space-8;
font-size: $text-sm;
color: $text-primary;
width: 100%;
@@ -646,10 +646,10 @@ $lk-default: #646b7a;
right: 6px;
background: transparent;
border: none;
- padding: 4px;
+ padding: $space-1;
color: var(--text-faint);
cursor: pointer;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
display: flex;
align-items: center;
@@ -660,8 +660,8 @@ $lk-default: #646b7a;
.lv-select {
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: 8px;
- padding: 6px $space-2;
+ border-radius: $radius-card;
+ padding: $space-tight $space-2;
font-size: $text-sm;
color: $text-primary;
cursor: pointer;
@@ -684,8 +684,8 @@ $lk-default: #646b7a;
.lv-icon-btn {
background: transparent;
border: none;
- padding: 6px;
- border-radius: 8px;
+ padding: $space-tight;
+ border-radius: $radius-card;
color: var(--text-dim);
cursor: pointer;
display: flex;
@@ -712,10 +712,10 @@ $lk-default: #646b7a;
display: inline-flex;
align-items: center;
gap: $space-2;
- padding: 5px 11px;
+ padding: $space-tight $space-3;
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: 8px;
+ border-radius: $radius-card;
color: var(--text-dim);
font-size: $text-sm;
font-weight: $font-weight-medium;
@@ -762,7 +762,7 @@ $lk-default: #646b7a;
scrollbar-width: thin;
&::-webkit-scrollbar { width: 8px; height: 8px; }
- &::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: $radius-sm; }
+ &::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: $radius-badge; }
&::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-thumb-hover); }
&.wrap {
@@ -790,9 +790,9 @@ $lk-default: #646b7a;
z-index: 4;
display: inline-flex;
align-items: center;
- gap: 6px;
- padding: 3px 10px;
- border-radius: 999px;
+ gap: $space-tight;
+ padding: $space-1 $space-3;
+ border-radius: $radius-full;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: #fff;
@@ -910,8 +910,8 @@ $lk-default: #646b7a;
.lv-match {
background: $warning;
color: $black;
- padding: 0 2px;
- border-radius: 2px;
+ padding: 0 $space-hair;
+ border-radius: $radius-badge;
font-weight: $font-weight-semibold;
}
@@ -941,7 +941,7 @@ $lk-default: #646b7a;
background: var(--bg-code);
border: 1px solid var(--border-soft);
padding: $space-3;
- border-radius: $radius-md;
+ border-radius: $radius-control;
margin: 0;
overflow-x: auto;
white-space: pre-wrap;
@@ -985,7 +985,7 @@ $lk-default: #646b7a;
min-height: 36px;
padding: $space-2 $space-3;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
background: $bg-card;
font-size: $text-xs;
}
@@ -1015,7 +1015,7 @@ $lk-default: #646b7a;
.unit-chip {
min-height: 24px;
- padding: 4px $space-3;
+ padding: $space-1 $space-3;
border: 1px solid $border-subtle;
border-radius: $radius-full;
background: $bg-card;
@@ -1043,7 +1043,7 @@ $lk-default: #646b7a;
padding: $space-2 $space-4;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-md;
+ border-radius: $radius-control;
font-size: $text-xs;
color: $text-secondary;
margin-top: -$space-4;
@@ -1055,7 +1055,7 @@ $lk-default: #646b7a;
.journal-viewer {
flex: 1;
background: var(--bg-code);
- border-radius: $radius-lg;
+ border-radius: $radius-card;
overflow: auto;
padding: 1rem;
@@ -1094,7 +1094,7 @@ $lk-default: #646b7a;
select {
padding: $space-1 $space-2;
border: 1px solid $border-subtle;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
background: $bg-card;
font-size: $text-xs;
}
@@ -1104,7 +1104,7 @@ $lk-default: #646b7a;
overflow-x: auto;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
}
.processes-table {
@@ -1165,7 +1165,7 @@ $lk-default: #646b7a;
left: 0;
bottom: 0;
height: 3px;
- border-radius: 2px;
+ border-radius: $radius-badge;
opacity: 0.4;
&.cpu {
@@ -1198,7 +1198,7 @@ $lk-default: #646b7a;
.process-details-panel {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
overflow: hidden;
.panel-header {
@@ -1261,7 +1261,7 @@ $lk-default: #646b7a;
display: block;
padding: $space-2;
background: $bg-hover;
- border-radius: $radius-sm;
+ border-radius: $radius-badge;
font-family: $font-mono;
font-size: $text-xs;
word-break: break-all;
@@ -1290,7 +1290,7 @@ $lk-default: #646b7a;
.service-card {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-lg;
+ border-radius: $radius-card;
padding: $space-4;
display: flex;
flex-direction: column;
@@ -1378,7 +1378,7 @@ $lk-default: #646b7a;
max-height: 500px;
overflow: auto;
background: var(--bg-code);
- border-radius: $radius-md;
+ border-radius: $radius-control;
padding: 1rem;
pre {
diff --git a/frontend/src/styles/pages/_workspaces.scss b/frontend/src/styles/pages/_workspaces.scss
index d026f4f6..540caf00 100644
--- a/frontend/src/styles/pages/_workspaces.scss
+++ b/frontend/src/styles/pages/_workspaces.scss
@@ -48,8 +48,8 @@
.ws-row {
display: flex;
align-items: center;
- gap: 11px;
- padding: 10px 0;
+ gap: $space-3;
+ padding: $space-3 0;
border-bottom: 1px solid var(--border-soft);
&:last-child { border-bottom: none; }
@@ -71,7 +71,7 @@
}
&__sub {
- margin-top: 2px;
+ margin-top: $space-hair;
font-size: $text-xs;
color: var(--text-faint);
@include truncate();
@@ -100,8 +100,8 @@
&__item {
display: flex;
align-items: center;
- gap: 11px;
- padding: 10px 14px;
+ gap: $space-3;
+ padding: $space-3 $space-4;
cursor: pointer;
transition: background 0.12s, border-color 0.12s;
@@ -119,7 +119,7 @@
&__tile {
flex-shrink: 0;
- border-radius: 8px;
+ border-radius: $radius-card;
}
&__name {
@@ -146,7 +146,7 @@
&__back {
display: inline-flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
margin: $space-4 0 $space-3;
font-size: $text-xs;
color: var(--text-faint);
@@ -161,7 +161,7 @@
display: flex;
align-items: center;
gap: $space-4;
- padding: 18px 20px;
+ padding: $space-5 $space-5;
background: linear-gradient(135deg, var(--surface), var(--surface-2));
border: 1px solid var(--border-soft);
border-radius: var(--radius);
@@ -188,8 +188,8 @@
&__meta {
display: flex;
align-items: center;
- gap: 7px;
- margin-top: 5px;
+ gap: $space-2;
+ margin-top: $space-tight;
font-size: $text-xs;
color: var(--text-faint);
@@ -223,7 +223,7 @@
}
&__card {
- padding: 16px 18px;
+ padding: $space-4 $space-5;
background: var(--surface);
border: 1px solid var(--border-soft);
border-radius: var(--radius);
@@ -266,7 +266,7 @@
}
&__label {
- margin-top: 4px;
+ margin-top: $space-1;
font-size: $text-xs;
font-weight: $font-weight-medium;
color: var(--text-faint);
@@ -277,15 +277,15 @@
// tab strip (prototype wp-tabs: accent underline + mono counts)
&__tabs {
display: flex;
- gap: 2px;
+ gap: $space-hair;
border-bottom: 1px solid var(--border-soft);
}
&__tab {
display: inline-flex;
align-items: center;
- gap: 7px;
- padding: 9px 13px;
+ gap: $space-2;
+ padding: $space-2 $space-3;
background: transparent;
border: none;
border-bottom: 2px solid transparent;
@@ -328,7 +328,7 @@
&__manage {
display: inline-flex;
align-items: center;
- gap: 4px;
+ gap: $space-1;
font-size: $text-xs;
color: var(--text-faint);
cursor: pointer;
@@ -351,9 +351,9 @@
// Full-bleed top bar with breadcrumb + title; matches the WordPress/service
// detail pages and the Workspaces list page chrome.
.ws-detail-topbar {
- padding: 10px $space-4;
+ padding: $space-3 $space-4;
flex-wrap: wrap;
- row-gap: 8px;
+ row-gap: $space-2;
.sk-topbar__spacer { display: none; }
.sk-topbar__titles { flex-shrink: 0; }
@@ -361,7 +361,7 @@
.ws-crumbs {
display: inline-flex;
align-items: center;
- gap: 8px;
+ gap: $space-2;
white-space: nowrap;
a {
@@ -377,7 +377,7 @@
margin-left: auto;
flex-wrap: wrap;
justify-content: flex-end;
- row-gap: 6px;
+ row-gap: $space-tight;
}
}
@@ -396,7 +396,7 @@
// Identity row — flat on the page, no card background.
.app-detail-header {
gap: $space-4;
- padding: 4px 0 0;
+ padding: $space-1 0 0;
background: none;
border: none;
border-radius: 0;
@@ -416,7 +416,7 @@
.app-detail-tabs {
flex-wrap: wrap;
overflow-x: visible;
- row-gap: 2px;
+ row-gap: $space-hair;
}
// Settings tab pinned to the far right of the tab strip.
@@ -428,7 +428,7 @@
.workspace-color-input {
width: 48px;
height: 32px;
- padding: 2px;
+ padding: $space-hair;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
background: var(--surface-2);
@@ -487,7 +487,7 @@
&__nav {
display: flex;
flex-direction: column;
- gap: 2px;
+ gap: $space-hair;
position: sticky;
top: $space-4;
@@ -499,8 +499,8 @@
&__group + &__group { margin-top: $space-4; }
&__grouplabel {
- padding: 0 12px;
- margin-bottom: 6px;
+ padding: 0 $space-3;
+ margin-bottom: $space-tight;
font-size: $text-xs;
font-weight: $font-weight-semibold;
color: var(--text-faint);
@@ -510,10 +510,10 @@
display: flex;
width: 100%;
align-items: center;
- gap: 9px;
- padding: 9px 12px;
+ gap: $space-2;
+ padding: $space-2 $space-3;
border: none;
- border-radius: 8px;
+ border-radius: $radius-card;
background: transparent;
color: var(--text-dim);
font-size: $text-sm;