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.

Size every control, table, card and badge from the geometry tokens

Juan Denis89c59b055b25
diff --git a/frontend/scripts/GEOMETRY_CEILING.json b/frontend/scripts/GEOMETRY_CEILING.json
index 5a5d3935..251325a6 100644
--- a/frontend/scripts/GEOMETRY_CEILING.json
+++ b/frontend/scripts/GEOMETRY_CEILING.json
@@ -1,6 +1,6 @@
{
"spacing": 1,
"radius": 0,
- "shadow": 63,
- "height": 223
+ "shadow": 0,
+ "height": 0
}
diff --git a/frontend/scripts/LOGICAL_PROPERTY_CEILING b/frontend/scripts/LOGICAL_PROPERTY_CEILING
index d2a1e59f..5e4a5228 100644
--- a/frontend/scripts/LOGICAL_PROPERTY_CEILING
+++ b/frontend/scripts/LOGICAL_PROPERTY_CEILING
@@ -1 +1 @@
-427
+425
diff --git a/frontend/src/pages/Settings.jsx b/frontend/src/pages/Settings.jsx
index 5e35243e..b16bede9 100644
--- a/frontend/src/pages/Settings.jsx
+++ b/frontend/src/pages/Settings.jsx
@@ -26,11 +26,11 @@ import CloudTab from '../components/settings/CloudTab';
import StorageTab from '../components/settings/StorageTab';
import PluginSlot from '../components/PluginSlot';
import { Activity, CloudCog, Code, Database, HardDrive, Layers, Link2, PaintBucket, Sparkles, Trash2, Webhook, Settings as SettingsIcon } from 'lucide-react';
-import { Button } from '@/components/ui/button';
import { SegControl } from '@/components/ds';
import PageLayout from '../layouts/PageLayout';
import { useNavigate, useParams } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
+import { Button } from '@/components/ui/button';
const VALID_TABS = ['profile', 'security', 'connections', 'cloud', 'appearance', 'sidebar', 'whitelabel', 'notifications', 'system', 'users', 'activity', 'site', 'sso', 'api', 'webhooks', 'ai', 'migrations', 'recyclebin', 'storage', 'developer', 'about'];
@@ -98,8 +98,8 @@ const Settings = () => {
)}
{activeGroup === 'account' && (
<>
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className={`settings-nav-item ${activeTab === 'profile' ? 'active' : ''}`}
onClick={() => setActiveTab('profile')}
>
@@ -109,8 +109,8 @@ const Settings = () => {
</svg>
{t('app.settings.profile', 'Profile')}
</Button>
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className={`settings-nav-item ${activeTab === 'security' ? 'active' : ''}`}
onClick={() => setActiveTab('security')}
>
@@ -120,8 +120,8 @@ const Settings = () => {
</svg>
{t('common.labels.security', 'Security')}
</Button>
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className={`settings-nav-item ${activeTab === 'notifications' ? 'active' : ''}`}
onClick={() => setActiveTab('notifications')}
>
@@ -132,8 +132,8 @@ const Settings = () => {
{t('app.settings.notifications', 'Notifications')}
</Button>
<div className="settings-nav-divider">{t('app.settings.preferences', 'Preferences')}</div>
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className={`settings-nav-item ${activeTab === 'appearance' ? 'active' : ''}`}
onClick={() => setActiveTab('appearance')}
>
@@ -150,8 +150,8 @@ const Settings = () => {
</svg>
{t('app.settings.appearance', 'Appearance')}
</Button>
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className={`settings-nav-item ${activeTab === 'sidebar' ? 'active' : ''}`}
onClick={() => setActiveTab('sidebar')}
>
@@ -161,8 +161,8 @@ const Settings = () => {
</svg>
{t('app.settings.sidebar', 'Sidebar')}
</Button>
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className={`settings-nav-item ${activeTab === 'whitelabel' ? 'active' : ''}`}
onClick={() => setActiveTab('whitelabel')}
>
@@ -172,8 +172,8 @@ const Settings = () => {
{import.meta.env.DEV && !devMode && !isAdmin && (
<>
<div className="settings-nav-divider">{t('app.settings.localDev', 'Local Dev')}</div>
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className="settings-nav-item"
onClick={() => navigate('/style-guide')}
>
@@ -182,8 +182,8 @@ const Settings = () => {
</Button>
</>
)}
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className={`settings-nav-item ${activeTab === 'about' ? 'active' : ''}`}
onClick={() => setActiveTab('about')}
>
@@ -198,8 +198,8 @@ const Settings = () => {
)}
{activeGroup === 'admin' && isAdmin && (
<>
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className={`settings-nav-item ${activeTab === 'users' ? 'active' : ''}`}
onClick={() => setActiveTab('users')}
>
@@ -211,24 +211,24 @@ const Settings = () => {
</svg>
{t('app.settings.users', 'Users')}
</Button>
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className={`settings-nav-item ${activeTab === 'activity' ? 'active' : ''}`}
onClick={() => setActiveTab('activity')}
>
<Activity size={18} />
{t('app.settings.activity', 'Activity')}
</Button>
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className={`settings-nav-item ${activeTab === 'recyclebin' ? 'active' : ''}`}
onClick={() => setActiveTab('recyclebin')}
>
<Trash2 size={18} />
{t('app.settings.recycleBin', 'Recycle bin')}
</Button>
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className={`settings-nav-item ${activeTab === 'site' ? 'active' : ''}`}
onClick={() => setActiveTab('site')}
>
@@ -238,24 +238,24 @@ const Settings = () => {
</svg>
{t('app.settings.siteSettings', 'Site Settings')}
</Button>
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className={`settings-nav-item ${activeTab === 'connections' ? 'active' : ''}`}
onClick={() => setActiveTab('connections')}
>
<Link2 size={18} />
{t('app.settings.connections', 'Connections')}
</Button>
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className={`settings-nav-item ${activeTab === 'cloud' ? 'active' : ''}`}
onClick={() => setActiveTab('cloud')}
>
<CloudCog size={18} />
{t('app.settings.serverkitCloud', 'ServerKit Cloud')}
</Button>
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className={`settings-nav-item ${activeTab === 'sso' ? 'active' : ''}`}
onClick={() => setActiveTab('sso')}
>
@@ -266,48 +266,48 @@ const Settings = () => {
</svg>
SSO
</Button>
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className={`settings-nav-item ${activeTab === 'api' ? 'active' : ''}`}
onClick={() => setActiveTab('api')}
>
<Code size={18} />
API
</Button>
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className={`settings-nav-item ${activeTab === 'webhooks' ? 'active' : ''}`}
onClick={() => setActiveTab('webhooks')}
>
<Webhook size={18} />
{t('app.settings.webhooks', 'Webhooks')}
</Button>
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className={`settings-nav-item ${activeTab === 'ai' ? 'active' : ''}`}
onClick={() => setActiveTab('ai')}
>
<Sparkles size={18} />
{t('app.settings.aiAssistant', 'AI Assistant')}
</Button>
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className={`settings-nav-item ${activeTab === 'migrations' ? 'active' : ''}`}
onClick={() => setActiveTab('migrations')}
>
<Database size={18} />
{t('app.settings.migrations', 'Migrations')}
</Button>
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className={`settings-nav-item ${activeTab === 'storage' ? 'active' : ''}`}
onClick={() => setActiveTab('storage')}
>
<HardDrive size={18} />
{t('app.settings.storage', 'Storage')}
</Button>
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className={`settings-nav-item ${activeTab === 'system' ? 'active' : ''}`}
onClick={() => setActiveTab('system')}
>
@@ -322,8 +322,8 @@ const Settings = () => {
<>
<div className="settings-nav-divider">{devMode ? 'Developer' : 'Local Dev'}</div>
{devMode && (
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className={`settings-nav-item ${activeTab === 'developer' ? 'active' : ''}`}
onClick={() => setActiveTab('developer')}
>
@@ -331,8 +331,8 @@ const Settings = () => {
{t('app.settings.iconReference', 'Icon Reference')}
</Button>
)}
- <Button
- variant="ghost"
+ <Button variant="unstyled"
+ type="button"
className="settings-nav-item"
onClick={() => navigate('/style-guide')}
>
diff --git a/frontend/src/styles/components/_ai-assistant.scss b/frontend/src/styles/components/_ai-assistant.scss
index 28f10803..dc778f6b 100644
--- a/frontend/src/styles/components/_ai-assistant.scss
+++ b/frontend/src/styles/components/_ai-assistant.scss
@@ -55,7 +55,7 @@ $sk-ai-z: 1100;
background: var(--sk-ai-accent);
color: #fff;
cursor: pointer;
- box-shadow: 0 6px 20px var(--sk-ai-glow), 0 2px 8px rgba(0, 0, 0, 0.25);
+ box-shadow: $shadow-raised;
transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), background 0.18s ease;
&:hover { background: var(--sk-ai-accent-hover); transform: translateY(-2px); }
@@ -87,7 +87,7 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
bottom: 88px;
right: 16px;
width: 48px;
- height: 48px;
+ height: 48px; // geometry: floating action bubble (mobile size)
&.is-raised { bottom: 152px; }
}
}
@@ -134,7 +134,7 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
flex-direction: column;
background: var(--sk-ai-bg);
border-left: 1px solid var(--sk-ai-border);
- box-shadow: var(--sk-ai-shadow);
+ box-shadow: $shadow-overlay;
font-family: var(--sk-ai-sans);
color: var(--sk-ai-fg);
animation: sk-ai-slide-in 0.22s cubic-bezier(0.16, 1, 0.3, 1);
@@ -152,7 +152,7 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
display: flex;
align-items: center;
flex: 0 0 auto;
- min-height: 38px;
+ min-height: 38px; // geometry: console tab strip (chrome), matches the dock header
padding: 0 $space-2;
border-bottom: 1px solid var(--sk-ai-border);
}
@@ -186,9 +186,9 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
display: inline-flex;
align-items: center;
justify-content: center;
- width: 30px;
- height: 30px;
- border-radius: $radius-card;
+ width: $control-sm;
+ height: $control-sm;
+ border-radius: $radius-control;
border: 1px solid transparent;
background: transparent;
color: var(--sk-ai-fg-2);
@@ -432,9 +432,9 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
gap: $space-2;
}
.sk-ai-composer__attach.sk-resource-picker__trigger {
- min-width: 40px;
- width: 40px;
- height: 40px;
+ min-width: $control-md;
+ width: $control-md;
+ height: $control-md;
padding: 0;
justify-content: center;
@@ -444,23 +444,24 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
.sk-ai-composer__input {
flex: 1;
resize: none;
- border-radius: $radius-card;
+ border-radius: $radius-control;
border: 1px solid var(--sk-ai-border);
background: var(--sk-ai-bg-body);
color: var(--sk-ai-fg);
- padding: $space-3 $space-3;
+ min-height: $control-md; // matches the 32px attach/send buttons beside it
+ padding: $space-1 $space-3;
font-family: var(--sk-ai-sans);
font-size: $text-base;
line-height: 1.4;
max-height: 160px;
- &:focus { outline: none; border-color: var(--sk-ai-accent); box-shadow: 0 0 0 3px var(--sk-ai-glow); }
+ &:focus { outline: none; border-color: var(--sk-ai-accent); box-shadow: $focus-ring; }
@media (max-width: 768px) { font-size: $text-md; } // avoid iOS zoom-on-focus
}
.sk-ai-composer__btn {
flex: none;
- width: 40px;
- height: 40px;
- border-radius: $radius-card;
+ width: $control-md;
+ height: $control-md;
+ border-radius: $radius-control;
border: none;
background: var(--sk-ai-accent);
color: #fff;
@@ -516,7 +517,7 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
background: var(--sk-ai-elevated);
border: 1px solid var(--sk-ai-border);
border-radius: $radius-card;
- box-shadow: var(--sk-ai-shadow);
+ box-shadow: $shadow-raised;
padding: $space-tight;
z-index: 3;
}
@@ -556,13 +557,13 @@ body:has(.ui-sheet-content[data-state='open']) .sk-ai-bubble {
color: var(--sk-ai-fg);
display: inline-flex; align-items: center; justify-content: center;
cursor: pointer;
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
+ box-shadow: $shadow-raised;
}
// ---------------------------------------------------------------- Animations
@keyframes sk-ai-slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes sk-ai-fade { from { opacity: 0; } to { opacity: 1; } }
-@keyframes sk-ai-pulse { 0%, 100% { box-shadow: 0 6px 20px var(--sk-ai-glow), 0 2px 8px rgba(0,0,0,0.25); } 50% { box-shadow: 0 0 0 6px var(--sk-ai-glow); } }
+@keyframes sk-ai-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.72; } }
@keyframes sk-ai-spin { to { transform: rotate(360deg); } }
@keyframes sk-ai-bounce { 0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; } 40% { transform: scale(1); opacity: 1; } }
diff --git a/frontend/src/styles/components/_badges.scss b/frontend/src/styles/components/_badges.scss
index fb28f7f3..9786a475 100644
--- a/frontend/src/styles/components/_badges.scss
+++ b/frontend/src/styles/components/_badges.scss
@@ -2,6 +2,21 @@
// BADGE COMPONENTS
// ============================================
+// Badge spec, shared by every legacy badge/pill/tag class here and in
+// _status-badge.scss: 20px tall, $radius-badge, 0 $space-tight, $text-xs
+// medium. min-height rather than height so a badge never clips its text.
+@mixin badge-geometry() {
+ display: inline-flex;
+ align-items: center;
+ min-height: 20px; // geometry: badge height (20px badge spec)
+ padding: 0 $space-tight;
+ border-radius: $radius-badge;
+ font-size: $text-xs;
+ font-weight: $font-weight-medium;
+ line-height: 1;
+ white-space: nowrap;
+}
+
// Status badge
.status-dot {
@@ -40,44 +55,28 @@
// App type badge
.app-type {
+ @include badge-geometry();
background: $bg-hover;
- padding: $space-tight $space-3;
- border-radius: $radius-control;
- font-weight: $font-weight-semibold;
- font-size: $text-xs;
}
// SSL badge
.ssl-badge {
- display: inline-flex;
- align-items: center;
+ @include badge-geometry();
gap: $space-1;
@include status-variant($success, $success-bg);
- padding: $space-tight $space-3;
- border-radius: $radius-control;
- font-size: $text-xs;
- font-weight: $font-weight-semibold;
}
// Active badge (for themes/plugins)
.active-badge {
+ @include badge-geometry();
@include status-variant($success, $success-bg);
- padding: $space-1 $space-3;
- border-radius: $radius-full;
- font-size: $text-xs;
- font-weight: $font-weight-semibold;
}
// Database type badge
.db-type-badge {
- display: inline-flex;
- align-items: center;
+ @include badge-geometry();
gap: $space-1;
background: $bg-hover;
- padding: $space-tight $space-3;
- border-radius: $radius-control;
- font-size: $text-xs;
- font-weight: $font-weight-semibold;
&.mysql {
color: $color-mysql;
@@ -90,33 +89,24 @@
// Privilege tag
.privilege-tag {
+ @include badge-geometry();
background: $accent-glow;
color: $accent-primary;
- padding: $space-hair $space-2;
- border-radius: $radius-badge;
- font-size: $text-xs;
- font-weight: $font-weight-semibold;
}
// Table name tag
.table-tag {
background: $bg-hover;
border: 1px solid $border-subtle;
- padding: $space-tight $space-3;
- border-radius: $radius-control;
@include mono-text();
+ @include badge-geometry();
color: $text-secondary;
}
// Environment badge
.env-badge {
- display: inline-flex;
- align-items: center;
+ @include badge-geometry();
gap: $space-1;
- padding: $space-tight $space-3;
- border-radius: $radius-control;
- font-size: $text-xs;
- font-weight: $font-weight-semibold;
border: 1px solid transparent;
&.env-production {
@@ -144,16 +134,8 @@
// Global Badge Base
.badge {
- display: inline-flex;
- align-items: center;
+ @include badge-geometry();
justify-content: center;
- min-height: 1.5rem;
- line-height: 1;
- white-space: nowrap;
- padding: $space-hair $space-2;
- border-radius: $radius-badge;
- font-size: $text-xs;
- font-weight: $font-weight-semibold;
}
.badge-info {
@@ -185,19 +167,11 @@
[data-slot="badge"] {
box-sizing: border-box;
- display: inline-flex;
- align-items: center;
+ @include badge-geometry();
justify-content: center;
gap: $space-1;
- min-height: 22px;
- padding: $space-1 $space-2;
border: 1px solid transparent;
- border-radius: $radius-control;
- font-size: $text-xs;
- font-weight: $font-weight-semibold;
- line-height: 1;
letter-spacing: 0;
- white-space: nowrap;
overflow: visible;
text-shadow: none;
box-shadow: none;
@@ -242,9 +216,6 @@
}
&.status-badge-token {
- min-height: 24px;
- padding: $space-1 $space-2;
- border-radius: $radius-full;
gap: $space-tight;
}
}
diff --git a/frontend/src/styles/components/_buildpack.scss b/frontend/src/styles/components/_buildpack.scss
index 58c57737..9371b295 100644
--- a/frontend/src/styles/components/_buildpack.scss
+++ b/frontend/src/styles/components/_buildpack.scss
@@ -33,7 +33,7 @@
align-items: center;
justify-content: center;
width: 32px;
- height: 32px;
+ height: 32px; // geometry: icon tile
flex-shrink: 0;
border-radius: $radius-control;
background: fade($accent-primary-raw, 12%);
diff --git a/frontend/src/styles/components/_cards.scss b/frontend/src/styles/components/_cards.scss
index cabccc3b..53f78503 100644
--- a/frontend/src/styles/components/_cards.scss
+++ b/frontend/src/styles/components/_cards.scss
@@ -4,14 +4,17 @@
.card {
@include card-base();
- padding: $space-6;
+ // Card spec: $radius-card, 1px border, $space-4 padding, flat.
+ border-radius: $radius-card;
+ box-shadow: none;
+ padding: $space-4;
position: relative;
overflow: hidden;
}
.card-header {
@include flex-between();
- margin-bottom: $space-5;
+ margin-bottom: $space-4;
}
.card h3 {
@@ -158,7 +161,7 @@
&.is-active {
background: $bg-hover;
- box-shadow: inset 3px 0 0 $accent-primary;
+ box-shadow: inset 3px 0 0 $accent-primary; // geometry: inset edge marker drawn as a border
}
&:focus-visible {
@@ -179,7 +182,7 @@
// kept: it is a standalone icon chip still used by StyleGuide demos.
.stat-icon {
width: 48px;
- height: 48px;
+ height: 48px; // geometry: icon tile
display: flex;
align-items: center;
justify-content: center;
@@ -188,7 +191,7 @@
svg {
width: 24px;
- height: 24px;
+ height: 24px; // geometry: icon size
stroke: currentColor;
stroke-width: 2;
fill: none;
@@ -275,10 +278,10 @@
// Danger zone card
.danger-zone {
@include flex-between();
- padding: $space-6;
+ padding: $space-4;
border: 1px solid fade($danger-raw, 30%);
background: fade($danger-raw, 5%);
- border-radius: $radius-overlay;
+ border-radius: $radius-card;
h3, h4 {
color: $danger;
diff --git a/frontend/src/styles/components/_change-bar.scss b/frontend/src/styles/components/_change-bar.scss
index 1c55c5c1..17db8b7b 100644
--- a/frontend/src/styles/components/_change-bar.scss
+++ b/frontend/src/styles/components/_change-bar.scss
@@ -46,7 +46,7 @@
&__divider {
width: 1px;
- height: 20px;
+ height: 20px; // geometry: divider rule
margin-inline: $space-1;
background: $border-default;
}
diff --git a/frontend/src/styles/components/_command-palette.scss b/frontend/src/styles/components/_command-palette.scss
index 8905381c..8f4ca7d0 100644
--- a/frontend/src/styles/components/_command-palette.scss
+++ b/frontend/src/styles/components/_command-palette.scss
@@ -279,7 +279,7 @@
.command-palette__more {
display: flex;
width: calc(100% - 8px);
- height: 29px;
+ height: $control-sm;
align-items: center;
justify-content: center;
gap: $space-2;
@@ -313,15 +313,15 @@
@keyframes setting-focus-flash {
0% {
- box-shadow: 0 0 0 3px var(--accent-bright);
+ box-shadow: $focus-ring;
background-color: var(--accent-bg-soft);
}
70% {
- box-shadow: 0 0 0 3px var(--accent-bright);
+ box-shadow: $focus-ring;
background-color: var(--accent-bg-soft);
}
100% {
- box-shadow: 0 0 0 0 transparent;
+ box-shadow: 0 0 0 0 transparent; // geometry: end frame of the focus-ring flash
background-color: transparent;
}
}
diff --git a/frontend/src/styles/components/_dashboard-widgets.scss b/frontend/src/styles/components/_dashboard-widgets.scss
index 21d1d118..903e593e 100644
--- a/frontend/src/styles/components/_dashboard-widgets.scss
+++ b/frontend/src/styles/components/_dashboard-widgets.scss
@@ -66,7 +66,7 @@ $skw-z-tv: 200;
.skw-varpick,
.skw-iconbtn,
.skw-barbtn {
- height: 32px;
+ height: $control-md;
flex-shrink: 0;
}
@@ -138,9 +138,10 @@ $skw-z-tv: 200;
display: flex;
align-items: center;
gap: $space-2;
- padding: $space-2 $space-3;
+ height: $control-md;
+ padding: 0 $space-3;
border: 1px solid transparent;
- border-radius: $radius-card;
+ border-radius: $radius-control;
background: none;
color: var(--text-faint);
font-family: inherit;
@@ -200,10 +201,10 @@ $skw-z-tv: 200;
display: flex;
align-items: center;
gap: $space-2;
- height: 32px;
+ height: $control-md;
padding: 0 $space-3;
border: 1px solid var(--border);
- border-radius: $radius-card;
+ border-radius: $radius-control;
background: var(--surface-2);
color: var(--text);
font-family: inherit;
@@ -242,12 +243,12 @@ $skw-z-tv: 200;
// Square icon button used across the bar and the widget head.
.skw-iconbtn {
- width: 32px;
- height: 32px;
+ width: $control-md;
+ height: $control-md;
display: grid;
place-items: center;
border: 1px solid var(--border);
- border-radius: $radius-card;
+ border-radius: $radius-control;
background: var(--surface-2);
color: var(--text-faint);
cursor: pointer;
@@ -262,7 +263,7 @@ $skw-z-tv: 200;
// Head actions are smaller and borderless — they live inside a 30px row.
&--bare {
width: 24px;
- height: 24px;
+ height: 24px; // geometry: widget head is sized by the dashboard grid (GRID_ROW 88); 28 would eat 1-row widget bodies
border-color: transparent;
background: none;
@@ -379,7 +380,7 @@ $skw-z-tv: 200;
&.is-selected,
&.is-sel {
border-color: var(--accent-bright);
- box-shadow: 0 0 0 3px var(--accent-bg);
+ box-shadow: $focus-ring;
}
&__head {
@@ -514,7 +515,7 @@ $skw-z-tv: 200;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
- box-shadow: var(--shadow-md);
+ box-shadow: $shadow-raised;
&__item {
display: flex;
@@ -1149,7 +1150,7 @@ $skw-z-tv: 200;
display: grid;
place-items: center;
width: 24px;
- height: 24px;
+ height: 24px; // geometry: fixed glyph chip, not a control
flex-shrink: 0;
border-radius: $radius-control;
background: var(--surface-3);
@@ -1410,7 +1411,7 @@ $skw-z-tv: 200;
background: var(--surface);
border: 1px solid var(--border-strong);
border-radius: var(--radius-lg);
- box-shadow: var(--shadow-lg);
+ box-shadow: $shadow-overlay;
overflow: hidden;
animation: skw-modal-in 0.18s cubic-bezier(0.2, 0.7, 0.3, 1);
@@ -1500,7 +1501,7 @@ $skw-z-tv: 200;
.skw-empty-board {
padding: $space-16 $space-5;
border: 1.5px dashed var(--border-strong);
- border-radius: var(--radius-lg);
+ border-radius: $radius-card;
text-align: center;
&__title { margin: 0 0 6px; color: var(--text); font-size: $text-base; font-weight: $font-weight-semibold; }
@@ -1540,7 +1541,7 @@ $skw-z-tv: 200;
&__icon {
width: 34px;
- height: 34px;
+ height: 34px; // geometry: icon tile
margin-bottom: $space-3;
display: grid;
place-items: center;
@@ -1717,7 +1718,7 @@ $skw-z-tv: 200;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--surface-2);
- box-shadow: var(--shadow-md);
+ box-shadow: $shadow-raised;
pointer-events: none;
&--flip {
diff --git a/frontend/src/styles/components/_datagrid.scss b/frontend/src/styles/components/_datagrid.scss
index 2ce21b66..12dae6d7 100644
--- a/frontend/src/styles/components/_datagrid.scss
+++ b/frontend/src/styles/components/_datagrid.scss
@@ -18,8 +18,10 @@
right: 4px;
top: 50%;
transform: translateY(-50%);
+ // Sized to the 24px lane the header reserves for it, not a toolbar
+ // control: it is a hover affordance inside a 32px header cell.
width: 20px;
- height: 20px;
+ height: 20px; // geometry: header-cell ⋮ affordance sized to its reserved lane
display: grid;
place-items: center;
border: none;
@@ -39,7 +41,7 @@
height: 3px;
border-radius: 50%;
background: currentcolor;
- box-shadow: 0 -5px 0 currentcolor, 0 5px 0 currentcolor;
+ box-shadow: 0 -5px 0 currentcolor, 0 5px 0 currentcolor; // geometry: draws the ⋮ dots, not a shadow
}
}
@@ -185,8 +187,8 @@
opacity: 0;
display: grid;
place-items: center;
- width: 24px;
- height: 24px;
+ width: $control-sm;
+ height: $control-sm;
margin-right: $space-tight;
border: none;
border-radius: $radius-control;
@@ -205,13 +207,13 @@
// ---------------------------------------------------------------- toolbar bits
.sk-gridicon {
position: relative;
- width: 34px;
- height: 32px;
+ width: $control-md;
+ height: $control-md;
display: grid;
place-items: center;
border: 1px solid var(--border);
background: var(--surface-2);
- border-radius: $radius-card;
+ border-radius: $radius-control;
color: var(--text-dim);
cursor: pointer;
flex-shrink: 0;
@@ -236,9 +238,9 @@
background: var(--accent);
color: #fff;
border: 2px solid var(--bg-body);
- border-radius: $radius-overlay;
- min-width: 17px;
- height: 17px;
+ border-radius: $radius-full; // counter bubble: 16px round
+ min-width: 16px;
+ height: 16px;
padding: 0 $space-1;
display: grid;
place-items: center;
@@ -256,7 +258,8 @@
&__clear {
font-size: $text-xs;
color: var(--text-faint);
- padding: $space-tight $space-2;
+ height: $control-sm;
+ padding: 0 $space-2;
border: none;
border-radius: $radius-control;
background: transparent;
@@ -270,10 +273,11 @@
display: inline-flex;
align-items: center;
gap: $space-2;
- padding: $space-tight $space-tight $space-tight $space-3;
+ height: $control-sm;
+ padding: 0 $space-tight 0 $space-3;
border: 1px solid var(--border);
background: var(--surface-2);
- border-radius: $radius-card;
+ border-radius: $radius-control;
font-size: $text-sm;
color: var(--text);
max-width: 360px;
@@ -309,7 +313,7 @@
border-color: var(--accent-dim);
color: var(--accent-bright);
font-size: $text-xs;
- padding: $space-tight $space-3;
+ padding: 0 $space-3;
cursor: pointer;
}
}
@@ -322,7 +326,7 @@
// ---------------------------------------------------------------- the grid
.sk-grid {
border: 1px solid var(--border-soft);
- border-radius: var(--radius-lg);
+ border-radius: $radius-card;
background: var(--surface);
position: relative;
@@ -337,9 +341,10 @@
position: sticky;
top: 0;
z-index: 6;
+ min-height: $control-md; // table header spec: 32
border-bottom: 1px solid var(--border-soft);
background: var(--surface-2);
- border-radius: var(--radius-lg) var(--radius-lg) 0 0;
+ border-radius: $radius-card $radius-card 0 0;
}
&__th {
@@ -347,9 +352,12 @@
display: flex;
align-items: center;
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: $space-3 $space-6 $space-3 $space-4;
+ // 24px of end padding is the reserved lane for the "⋮" button, so the
+ // label never reflows when it appears on hover. Header row: 32 tall
+ // (min-height on __head).
+ padding: 0 $space-6 0 $space-3;
+
+ &:first-child { padding-inline-start: $space-4; }
font-size: $text-xs;
color: var(--text-ghost);
user-select: none;
@@ -378,7 +386,9 @@
&__th.is-filtered .sk-colmenu-btn { opacity: 1; color: var(--accent-bright); }
// ---- rows ----
+ // Rows: min 40; two-line identity cells grow past it.
&__row {
+ min-height: $control-lg;
border-top: 1px solid var(--border-soft);
transition: background 0.12s;
@@ -389,8 +399,11 @@
}
&__td {
- padding: $space-3 $space-4;
+ padding: $space-2 $space-3;
min-width: 0;
+
+ &:first-child { padding-inline-start: $space-4; }
+ &:last-child { padding-inline-end: $space-4; }
font-size: $text-sm;
color: var(--text-dim);
overflow: hidden;
@@ -411,7 +424,7 @@
&__avatar {
width: 30px;
- height: 30px;
+ height: 30px; // geometry: avatar box
border-radius: $radius-card;
flex-shrink: 0;
display: grid;
@@ -501,8 +514,8 @@
padding-right: $space-3 !important;
button {
- width: 24px;
- height: 24px;
+ width: $control-sm;
+ height: $control-sm;
border: none;
border-radius: $radius-control;
background: transparent;
@@ -533,7 +546,7 @@
color: var(--text-faint);
cursor: pointer;
position: sticky;
- top: 41px; // sits under the sticky header, never over it
+ top: calc(#{$control-md} + 1px); // sits under the sticky header (32 + border), never over it
z-index: 2;
&:hover { color: var(--text); }
@@ -543,13 +556,15 @@
&__groupcount { color: var(--text-ghost); }
- &__empty { padding: 56px 20px; text-align: center; }
+ &__empty { padding: $space-12 $space-5; text-align: center; }
// ---- density ----
&--compact {
- .sk-grid__td { padding: 7px 14px; }
+ // Compact rows: min 32.
+ .sk-grid__row { min-height: $control-md; }
+ .sk-grid__td { padding-block: $space-1; }
.sk-grid__sub { display: none; }
- .sk-grid__avatar { width: 22px; height: 22px; border-radius: 7px; }
+ .sk-grid__avatar { width: 22px; height: 22px; border-radius: $radius-control; }
}
}
@@ -579,7 +594,7 @@
// The shared compact Select trigger, sized down to the pager's mono scale.
&__sel.ui-select-trigger {
- height: 24px;
+ height: $control-sm;
margin-right: $space-tight;
border-radius: $radius-control;
font-size: $text-xs;
@@ -588,8 +603,8 @@
// Page arrows only: the rows-per-page trigger is a <button> too.
> button:not(.ui-select-trigger) {
- width: 26px;
- height: 24px;
+ width: $control-sm;
+ height: $control-sm;
display: grid;
place-items: center;
border-radius: $radius-control;
@@ -653,9 +668,10 @@
align-items: center;
gap: $space-3;
width: 100%;
- padding: $space-2 $space-2;
+ min-height: $control-md;
+ padding: $space-1 $space-2;
border: none;
- border-radius: $radius-card;
+ border-radius: $radius-control;
background: transparent;
font-size: $text-sm;
font-family: inherit;
@@ -706,10 +722,11 @@
display: flex;
align-items: center;
gap: $space-2;
- padding: $space-tight $space-2;
+ height: $control-md;
+ padding: 0 $space-2;
border: 1px solid var(--border);
background: var(--surface-3);
- border-radius: $radius-card;
+ border-radius: $radius-control;
margin: $space-hair $space-1 $space-tight;
svg { color: var(--text-ghost); flex-shrink: 0; }
@@ -743,7 +760,8 @@
padding: $space-hair $space-1 $space-tight;
button {
- padding: $space-tight $space-2;
+ height: $control-sm;
+ padding: 0 $space-2;
border-radius: $radius-control;
border: 1px solid var(--border);
background: var(--surface-3);
@@ -764,7 +782,8 @@
button {
flex: 1;
- padding: $space-2;
+ height: $control-md;
+ padding: 0 $space-2;
border: none;
border-radius: $radius-control;
font-size: $text-xs;
@@ -810,7 +829,8 @@
display: flex;
align-items: center;
gap: $space-2;
- padding: $space-3 $space-3 $space-3;
+ height: $control-lg; // underline tabs: 40
+ padding: 0 $space-3;
border: none;
background: transparent;
font-size: $text-sm;
@@ -832,7 +852,6 @@
height: 2px;
border-radius: $radius-badge $radius-badge 0 0;
background: var(--accent);
- box-shadow: 0 -1px 12px var(--accent-glow);
}
.n {
@@ -889,7 +908,8 @@
font-size: $text-xs;
font-family: inherit;
color: var(--accent-bright);
- padding: $space-1 $space-2;
+ height: $control-sm;
+ padding: 0 $space-2;
border: none;
border-radius: $radius-control;
background: transparent;
@@ -930,11 +950,12 @@
gap: $space-hair;
background: var(--surface-3);
border: 1px solid var(--border);
- border-radius: $radius-card;
- padding: $space-hair;
+ border-radius: $radius-control;
+ padding: 1px; // segmented: 28px items + 1px inset + border = 32
button {
- padding: $space-1 $space-3;
+ height: $control-sm;
+ padding: 0 $space-3;
border: none;
border-radius: $radius-control;
background: transparent;
@@ -952,7 +973,7 @@
.sk-gridrule {
display: grid;
- grid-template-columns: 1fr 116px 26px;
+ grid-template-columns: 1fr 116px $control-md;
gap: $space-tight;
align-items: center;
margin-bottom: $space-2;
@@ -971,8 +992,9 @@
input[type='number'],
input[type='date'] {
width: 100%;
- padding: $space-2 $space-3;
- border-radius: $radius-card;
+ height: $control-md;
+ padding: 0 $space-3;
+ border-radius: $radius-control;
border: 1px solid var(--border);
background: var(--surface-2);
color: var(--text);
@@ -983,8 +1005,8 @@
}
&__del {
- width: 26px;
- height: 30px;
+ width: $control-md;
+ height: $control-md;
border: none;
border-radius: $radius-control;
background: transparent;
@@ -1005,7 +1027,8 @@
&__enum { display: flex; flex-wrap: wrap; gap: 6px; }
&__tag {
- padding: $space-tight $space-3;
+ height: $control-sm;
+ padding: 0 $space-3;
border-radius: $radius-control;
border: 1px solid var(--border);
background: var(--surface-2);
diff --git a/frontend/src/styles/components/_deployments.scss b/frontend/src/styles/components/_deployments.scss
index 9f7c1168..a73151b1 100644
--- a/frontend/src/styles/components/_deployments.scss
+++ b/frontend/src/styles/components/_deployments.scss
@@ -73,7 +73,7 @@
&--current {
background: $success;
border-color: $success;
- box-shadow: 0 0 0 4px $success-bg;
+ box-shadow: none;
}
}
@@ -152,7 +152,7 @@
.deploy-timeline__marker {
inset-inline-start: 0;
width: 28px;
- height: 28px;
+ height: 28px; // geometry: timeline marker icon disc
display: inline-flex;
align-items: center;
justify-content: center;
diff --git a/frontend/src/styles/components/_design-system.scss b/frontend/src/styles/components/_design-system.scss
index 99c579d8..3f273932 100644
--- a/frontend/src/styles/components/_design-system.scss
+++ b/frontend/src/styles/components/_design-system.scss
@@ -18,7 +18,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
// Badge spec: 20px tall, 4px radius, 12px/500, tinted fill, flat dot.
display: inline-flex;
align-items: center;
- height: 20px;
+ height: 20px; // geometry: badge height (20px badge spec)
gap: $space-tight;
padding: 0 $space-tight;
border-radius: $radius-badge;
@@ -28,11 +28,11 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
- &--green { background: var(--green-bg); color: var(--green); .sk-pill__dot { background: var(--green); box-shadow: 0 0 6px var(--green); } }
- &--amber { background: var(--amber-bg); color: var(--amber); .sk-pill__dot { background: var(--amber); box-shadow: 0 0 6px var(--amber); } }
+ &--green { background: var(--green-bg); color: var(--green); .sk-pill__dot { background: var(--green); } }
+ &--amber { background: var(--amber-bg); color: var(--amber); .sk-pill__dot { background: var(--amber); } }
&--red { background: var(--red-bg); color: var(--red); .sk-pill__dot { background: var(--red); } }
- &--cyan { background: var(--cyan-bg); color: var(--cyan); .sk-pill__dot { background: var(--cyan); box-shadow: 0 0 6px var(--cyan); } }
- &--violet{ background: var(--violet-bg);color: var(--violet);.sk-pill__dot { background: var(--violet); box-shadow: 0 0 6px var(--violet); } }
+ &--cyan { background: var(--cyan-bg); color: var(--cyan); .sk-pill__dot { background: var(--cyan); } }
+ &--violet{ background: var(--violet-bg);color: var(--violet);.sk-pill__dot { background: var(--violet); } }
&--gray { background: var(--surface-3); color: var(--text-faint); .sk-pill__dot { background: var(--text-faint); } }
}
@@ -48,7 +48,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
%sk-state {
display: inline-flex;
align-items: center;
- height: 20px;
+ height: 20px; // geometry: badge height (20px badge spec)
padding: 0 $space-tight;
border-radius: $radius-badge;
font-size: $text-xs;
@@ -75,7 +75,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
.sk-tag {
display: inline-flex;
align-items: center;
- height: 20px;
+ height: 20px; // geometry: badge height (20px badge spec)
padding: 0 $space-tight;
border-radius: $radius-badge;
font-size: $text-xs;
@@ -91,20 +91,23 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
// ------------------------------------------------------------
// SegControl — segmented toggle (replaces native <select>/filter chips)
+// Items are $control-sm (28); a 1px inset + 1px border makes the whole
+// control $control-md (32), so it lines up with the inputs beside it.
// ------------------------------------------------------------
.sk-seg {
display: inline-flex;
gap: $space-hair;
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: $radius-card;
- padding: $space-1;
+ border-radius: $radius-control;
+ padding: 1px;
&__btn {
display: inline-flex;
align-items: center;
gap: $space-2;
- padding: $space-tight $space-3;
+ height: $control-sm;
+ padding: 0 $space-3;
border-radius: $radius-control;
font-size: $text-sm;
color: var(--text-faint);
@@ -116,7 +119,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
transition: 0.14s;
&:hover { color: var(--text-dim); }
- &.is-on { background: var(--surface-3); color: var(--text); box-shadow: var(--shadow-sm); }
+ &.is-on { background: var(--surface-3); color: var(--text); box-shadow: none; }
.sk-seg__count { font-size: $text-xs; opacity: 0.7; }
}
@@ -132,7 +135,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
.sk-kpi {
background: var(--surface);
border: 1px solid var(--border-soft);
- border-radius: var(--radius);
+ border-radius: $radius-card;
padding: $space-3 $space-3;
position: relative;
overflow: hidden;
@@ -340,7 +343,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
// ------------------------------------------------------------
.sk-feed {
&__item {
- display: flex; gap: 13px; padding: 11px 0; position: relative;
+ display: flex; gap: $space-3; padding: $space-3 0; position: relative;
& + .sk-feed__item { border-top: 1px solid var(--border-soft); }
}
&__dot {
@@ -367,9 +370,15 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
font-size: $text-xs;
color: var(--text-faint);
font-weight: $font-weight-semibold;
- padding: $space-3 $space-4;
+ height: $control-md; // table header spec: 32
+ padding: 0 $space-3;
+ white-space: nowrap; // a wrapped label would grow the 32px header
border-bottom: 1px solid var(--border);
+ // Outer edges get $space-4; must precede .has-menu so its lane wins.
+ &:first-child { padding-inline-start: $space-4; }
+ &:last-child { padding-inline-end: $space-4; }
+
// Header cells that carry a "⋮" reserve its lane, so the label never
// reflows when the button appears on hover.
&.has-menu { padding-right: 28px; }
@@ -406,7 +415,10 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&:hover { border-color: var(--accent-dim); color: var(--accent-bright); }
}
}
- tbody td { padding: 13px 16px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
+ // Rows: min 40 (height on a cell acts as a minimum, so two-line rows grow).
+ tbody td { height: $control-lg; padding: $space-2 $space-3; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
+ tbody td:first-child { padding-inline-start: $space-4; }
+ tbody td:last-child { padding-inline-end: $space-4; }
tbody tr { transition: background 0.12s; }
tbody tr.is-clickable { cursor: pointer; }
tbody tr:hover { background: var(--surface-2); }
@@ -445,7 +457,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
// not the mouse.
tbody tr.is-cursor {
background: var(--accent-bg-soft);
- box-shadow: inset 2px 0 0 var(--accent-bright);
+ box-shadow: inset 2px 0 0 var(--accent-bright); // geometry: inset edge drawn as a border (cursor row marker)
}
// Group header row (groupBy). Click collapses/expands the group.
@@ -454,7 +466,8 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
user-select: none;
td {
- padding: $space-2 $space-4 !important;
+ height: $control-md !important; // group header row: compact 32
+ padding: $space-1 $space-4 !important;
background: var(--surface-2);
border-bottom: 1px solid var(--border-soft);
}
@@ -526,7 +539,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__controls { display: inline-flex; align-items: center; gap: 10px; }
- &__sizes .sk-seg__btn { padding: 3px 9px; font-size: $text-xs; }
+ &__sizes .sk-seg__btn { padding: 0 $space-2; font-size: $text-xs; }
&__pager { display: inline-flex; align-items: center; gap: 8px; }
&__page {
@@ -629,8 +642,8 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
display: inline-flex;
align-items: center;
justify-content: center;
- width: 24px;
- height: 24px;
+ width: $control-sm;
+ height: $control-sm;
border: none;
border-radius: $radius-control;
background: transparent;
@@ -668,9 +681,9 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
display: inline-flex;
align-items: center;
gap: $space-hair;
- height: 24px;
- padding-left: $space-2;
- border-radius: $radius-full;
+ height: 20px; // geometry: chip height (20px badge/chip spec)
+ padding-left: $space-tight;
+ border-radius: $radius-badge;
background: var(--accent-bg-soft);
border: 1px solid var(--accent-dim);
color: var(--accent-bright);
@@ -706,11 +719,11 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
display: inline-flex;
align-items: center;
justify-content: center;
- width: 18px;
- height: 18px;
- margin-right: $space-1;
+ width: 16px;
+ height: 16px;
+ margin-right: $space-hair;
border: none;
- border-radius: $radius-full;
+ border-radius: $radius-badge;
background: transparent;
color: inherit;
opacity: 0.7;
@@ -791,8 +804,8 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
display: inline-flex;
align-items: center;
justify-content: center;
- width: 24px;
- height: 24px;
+ width: $control-sm;
+ height: $control-sm;
border: none;
border-radius: $radius-control;
background: transparent;
@@ -831,11 +844,11 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
input {
flex: 1;
min-width: 0;
- height: 30px;
+ height: $control-md;
padding: 0 $space-3;
background: var(--surface-2);
border: 1px solid var(--border-soft);
- border-radius: $radius-card;
+ border-radius: $radius-control;
color: var(--text);
font-size: $text-sm;
font-family: inherit;
@@ -870,10 +883,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
background: var(--surface-2);
border: 1px solid var(--border-strong);
border-radius: $radius-full;
- box-shadow:
- 0 18px 44px rgba(0, 0, 0, 0.55),
- 0 2px 10px rgba(0, 0, 0, 0.4),
- 0 0 0 1px rgb(from var(--accent) r g b / 0.14);
+ box-shadow: $shadow-raised;
animation: sk-bulkbar-in 0.16s ease-out;
&__count {
@@ -903,9 +913,10 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
display: inline-flex;
align-items: center;
gap: $space-2;
- padding: $space-tight $space-3;
+ height: $control-sm;
+ padding: 0 $space-3;
border: none;
- border-radius: $radius-card;
+ border-radius: $radius-control;
background: transparent;
font-size: $text-sm;
color: var(--text-dim);
@@ -923,8 +934,8 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
display: inline-flex;
align-items: center;
justify-content: center;
- width: 26px;
- height: 26px;
+ width: $control-sm;
+ height: $control-sm;
border: none;
border-radius: $radius-full;
background: var(--surface-2);
@@ -981,10 +992,10 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
// Secondary pickers (server/group selects) that live in the toolbar.
&__select {
- height: 32px;
+ height: $control-md;
padding: 0 $space-3;
border: 1px solid var(--border);
- border-radius: $radius-card;
+ border-radius: $radius-control;
background: var(--surface-2);
color: var(--text-dim);
font-size: $text-sm;
@@ -1023,10 +1034,10 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
padding: 0 $space-3;
width: 240px;
max-width: 100%;
- height: 32px;
+ height: $control-md;
background: var(--surface-2);
border: 1px solid var(--border-soft);
- border-radius: $radius-card;
+ border-radius: $radius-control;
color: var(--text-faint);
transition: border-color 0.14s;
@@ -1053,15 +1064,16 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
display: flex;
gap: $space-hair;
flex-shrink: 0;
- padding: $space-1;
+ padding: 1px; // segmented: 28px items + 1px inset + border = 32
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: $radius-card;
+ border-radius: $radius-control;
button {
display: grid;
place-items: center;
- padding: $space-tight $space-2;
+ height: $control-sm;
+ padding: 0 $space-2;
background: none;
border: none;
border-radius: $radius-control;
@@ -1077,7 +1089,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__card {
background: var(--surface);
border: 1px solid var(--border-soft);
- border-radius: var(--radius);
+ border-radius: $radius-card;
overflow: hidden;
}
@@ -1094,7 +1106,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
padding: $space-4;
background: var(--surface);
border: 1px solid var(--border-soft);
- border-radius: var(--radius);
+ border-radius: $radius-card;
cursor: pointer;
transition: border-color 0.14s, transform 0.14s;
@@ -1184,10 +1196,10 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
align-items: center;
gap: $space-hair;
max-width: 100%;
- padding: $space-1;
+ padding: 1px; // segmented: 28px tabs + 1px inset + border = 32
background: var(--surface);
border: 1px solid var(--border);
- border-radius: $radius-card;
+ border-radius: $radius-control;
}
// Title-less group header: the tabs lead the bar from the left edge and
@@ -1205,9 +1217,11 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
border: none;
border-radius: 0;
}
+ // Page tabs: 40 tall (tab spec).
.sk-topbar__tab {
- padding: $space-2 $space-3;
- border-radius: $radius-card;
+ height: $control-lg;
+ padding: 0 $space-3;
+ border-radius: $radius-control;
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; }
@@ -1218,7 +1232,8 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
display: inline-flex;
align-items: center;
gap: $space-tight;
- padding: $space-tight $space-3;
+ height: $control-sm;
+ padding: 0 $space-3;
border-radius: $radius-control;
font-size: $text-sm;
// Uniform weight across states so activating a tab never re-flows its
@@ -1274,7 +1289,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
.sk-spec-card {
background: var(--surface);
border: 1px solid var(--border-soft);
- border-radius: var(--radius);
+ border-radius: $radius-card;
padding: $space-4 $space-4;
&__label { font-size: $text-xs; color: var(--text-faint); }
@@ -1320,7 +1335,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
// instead of pushing the header extra off the panel.
> div:first-child { flex: 1; min-width: 0; }
}
- &__ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; background: var(--surface-2); color: var(--text-dim); }
+ &__ico { width: 32px; height: 32px; border-radius: $radius-control; display: grid; place-items: center; flex-shrink: 0; background: var(--surface-2); color: var(--text-dim); }
&__title { font-weight: $font-weight-semibold; font-size: $text-base; }
&__sub { font-size: $text-xs; color: var(--text-faint); margin-top: 1px; }
// Padded by default, to the header's own 18px side inset, so a drawer body
@@ -1359,9 +1374,9 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&__input {
width: 100%;
- height: 32px;
+ height: $control-md;
padding: 0 $space-3 0 $space-8;
- border-radius: $radius-card;
+ border-radius: $radius-control;
border: 1px solid var(--border);
background: var(--surface-2);
color: var(--text);
@@ -1373,7 +1388,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&:focus {
outline: none;
border-color: var(--violet);
- box-shadow: 0 0 0 3px var(--violet-bg);
+ box-shadow: $focus-ring;
}
// Hide the native search clear affordance for a consistent look.
&::-webkit-search-cancel-button { -webkit-appearance: none; }
@@ -1390,11 +1405,12 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
display: inline-flex;
align-items: center;
justify-content: center;
- min-width: 17px;
- height: 17px;
- padding: 0 $space-tight;
+ // Counter bubble: 16px round.
+ min-width: 16px;
+ height: 16px;
+ padding: 0 $space-1;
margin-left: $space-hair;
- border-radius: $radius-card;
+ border-radius: $radius-full;
background: var(--violet);
color: #fff;
font-size: $text-xs;
@@ -1431,8 +1447,9 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
display: inline-flex;
align-items: center;
gap: $space-tight;
- padding: $space-tight $space-3;
- border-radius: $radius-full;
+ height: $control-sm;
+ padding: 0 $space-3;
+ border-radius: $radius-control;
border: 1px solid var(--border);
background: var(--surface-2);
color: var(--text-dim);
@@ -1476,7 +1493,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
.sk-resource-list {
display: flex; flex-direction: column;
border: 1px solid var(--border-soft);
- border-radius: $radius-overlay;
+ border-radius: $radius-card;
background: var(--surface);
overflow: hidden;
}
@@ -1528,7 +1545,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
padding: $space-4;
background: var(--surface);
border: 1px solid var(--border-soft);
- border-radius: var(--radius-lg);
+ border-radius: $radius-card;
transition: border-color 0.12s, background 0.12s;
&.is-clickable { cursor: pointer; }
@@ -1581,8 +1598,8 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
// ------------------------------------------------------------
.sk-error-state {
display: flex; flex-direction: column; align-items: center; justify-content: center;
- min-height: 220px; padding: 32px; text-align: center;
- border: 1px dashed var(--border); border-radius: 14px;
+ min-height: 220px; padding: $space-8; text-align: center;
+ border: 1px dashed var(--border); border-radius: $radius-card;
background: var(--surface);
&__icon { color: var(--red); margin-bottom: 14px; }
@@ -1648,7 +1665,8 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
// like the rest of it without the page having to remember.
select {
width: 100%;
- padding: $space-2 $space-3;
+ height: $control-md;
+ padding: 0 $space-3;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: $radius-control;
@@ -1661,7 +1679,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&:focus {
outline: none;
border-color: $accent-primary;
- box-shadow: 0 0 0 3px $accent-glow;
+ box-shadow: $focus-ring;
}
&:disabled { opacity: 0.6; cursor: default; }
@@ -1700,7 +1718,8 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
display: flex;
align-items: center;
gap: $space-2;
- padding: $space-2 $space-3;
+ min-height: $control-md;
+ padding: 0 $space-3;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: $radius-control;
@@ -1708,7 +1727,7 @@ $sk-tones: ('accent', 'green', 'cyan', 'amber', 'red', 'violet');
&:focus-within {
border-color: $accent-primary;
- box-shadow: 0 0 0 3px $accent-glow;
+ box-shadow: $focus-ring;
}
// The domain is derived from the service name + base domain, so it is
diff --git a/frontend/src/styles/components/_empty-state.scss b/frontend/src/styles/components/_empty-state.scss
index 8acbfd96..6178f9d1 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-overlay;
+ border-radius: $radius-card;
border: 1px solid $border-subtle;
color: $text-secondary;
display: flex;
diff --git a/frontend/src/styles/components/_git-connect.scss b/frontend/src/styles/components/_git-connect.scss
index 5c7e52fc..2ac6d074 100644
--- a/frontend/src/styles/components/_git-connect.scss
+++ b/frontend/src/styles/components/_git-connect.scss
@@ -32,7 +32,7 @@
justify-content: center;
flex-shrink: 0;
width: 38px;
- height: 38px;
+ height: 38px; // geometry: icon tile
border-radius: $radius-card;
@include status-variant(var(--accent-bright), var(--accent-bg));
}
@@ -94,7 +94,7 @@
align-items: center;
justify-content: center;
width: 30px;
- height: 30px;
+ height: 30px; // geometry: icon tile
border-radius: $radius-control;
background: var(--surface-2);
color: var(--text-dim);
@@ -185,7 +185,7 @@
align-items: center;
justify-content: space-between;
gap: $space-3;
- min-height: 44px;
+ min-height: $control-md;
padding: 0 $space-3;
background: var(--surface);
border: 1px solid var(--border);
@@ -257,7 +257,7 @@
justify-content: center;
flex-shrink: 0;
width: 38px;
- height: 38px;
+ height: 38px; // geometry: icon tile
border-radius: $radius-card;
@include status-variant(var(--green), var(--green-bg));
}
@@ -462,11 +462,11 @@
label { color: var(--text-dim); }
select {
flex: 1;
- height: 34px;
+ height: $control-md;
padding: 0 $space-3;
background: var(--surface);
border: 1px solid var(--border-soft);
- border-radius: $radius-card;
+ border-radius: $radius-control;
color: var(--text);
}
}
diff --git a/frontend/src/styles/components/_global-statusbar.scss b/frontend/src/styles/components/_global-statusbar.scss
index 293b6d04..55de2dd3 100644
--- a/frontend/src/styles/components/_global-statusbar.scss
+++ b/frontend/src/styles/components/_global-statusbar.scss
@@ -22,7 +22,7 @@
.statusbar-select {
display: inline-flex;
align-items: center;
- height: 22px;
+ height: 22px; // geometry: fixed 22px status-bar segment (chrome)
min-width: 0;
gap: $space-2;
padding-inline: $space-2;
@@ -76,9 +76,9 @@
width: 6px;
height: 6px;
- &.is-online { background: var(--green); box-shadow: 0 0 6px var(--green); }
- &.is-idle { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
- &.is-down { background: var(--red); box-shadow: 0 0 6px var(--red); }
+ &.is-online { background: var(--green); }
+ &.is-idle { background: var(--amber); }
+ &.is-down { background: var(--red); }
}
&__pip {
@@ -154,7 +154,7 @@
border: 1px solid var(--border-strong);
border-radius: $radius-overlay;
background: var(--surface-2);
- box-shadow: var(--shadow-lg);
+ box-shadow: $shadow-raised;
animation: statusbar-menu-enter 140ms ease-out;
&--wide { min-width: 308px; }
@@ -193,9 +193,9 @@
background: var(--accent);
&.is-ghost { background: var(--text-ghost); }
- &.is-online { background: var(--green); box-shadow: 0 0 6px var(--green); }
- &.is-idle { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
- &.is-down { background: var(--red); box-shadow: 0 0 6px var(--red); }
+ &.is-online { background: var(--green); }
+ &.is-idle { background: var(--amber); }
+ &.is-down { background: var(--red); }
}
&__copy {
@@ -244,7 +244,7 @@
overflow: hidden;
border-block-start: 1px solid var(--border-strong);
background: var(--surface);
- box-shadow: 0 -20px 45px rgba(0, 0, 0, 0.18);
+ box-shadow: $shadow-overlay;
animation: shell-panel-enter 160ms ease-out;
&.is-expanded { height: min(62vh, 720px); }
@@ -257,7 +257,7 @@
}
&__head {
- min-height: 38px;
+ min-height: 38px; // geometry: dock header strip (chrome), holds 28px controls
flex: 0 0 auto;
gap: $space-2;
padding-inline: $space-2 $space-2;
@@ -275,7 +275,7 @@
&__filters button,
&__action {
- min-height: 22px;
+ min-height: $control-sm;
border: 0;
border-radius: $radius-badge;
background: transparent;
@@ -312,7 +312,7 @@
}
&__footer {
- min-height: 34px;
+ min-height: 34px; // geometry: dock footer strip (chrome)
justify-content: space-between;
gap: $space-3;
padding-inline: $space-4;
@@ -344,7 +344,7 @@
display: inline-flex;
align-items: center;
gap: $space-2;
- height: 26px;
+ height: $control-sm;
padding: 0 $space-3;
border: 0;
border-radius: $radius-control;
@@ -362,7 +362,7 @@
&__badge {
padding: 1px $space-tight;
- border-radius: $radius-overlay;
+ border-radius: $radius-badge;
font-size: $text-xs;
@include status-variant(var(--accent-bright), var(--accent-bg));
}
@@ -371,8 +371,8 @@
&__control {
display: grid;
- width: 26px;
- height: 26px;
+ width: $control-sm;
+ height: $control-sm;
flex: 0 0 auto;
place-items: center;
border: 0;
@@ -387,8 +387,8 @@
// The refresh IconButton passed in as a control matches the square look.
.icon-button {
- width: 26px;
- height: 26px;
+ width: $control-sm;
+ height: $control-sm;
border: 0;
background: transparent;
}
@@ -432,8 +432,8 @@
border-radius: 50%;
background: var(--text-faint);
- .is-critical & { background: var(--red); box-shadow: 0 0 6px var(--red); }
- .is-warning & { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
+ .is-critical & { background: var(--red); }
+ .is-warning & { background: var(--amber); }
.is-success & { background: var(--green); }
.is-info & { background: var(--cyan); }
}
@@ -494,7 +494,7 @@
border: 0;
border-block-start: 1px solid var(--border-strong);
border-radius: 0;
- box-shadow: 0 -20px 45px rgba(0, 0, 0, 0.18);
+ box-shadow: $shadow-overlay;
animation: shell-panel-enter 160ms ease-out;
}
@@ -502,7 +502,7 @@
.operations-dock__header {
grid-area: header;
- min-height: 38px;
+ min-height: 38px; // geometry: dock header strip (chrome), holds 28px controls
padding: 0 $space-2;
border-block-end: 1px solid var(--border-soft);
}
diff --git a/frontend/src/styles/components/_linked-apps.scss b/frontend/src/styles/components/_linked-apps.scss
index 49e159a2..0cdc15e6 100644
--- a/frontend/src/styles/components/_linked-apps.scss
+++ b/frontend/src/styles/components/_linked-apps.scss
@@ -91,7 +91,7 @@
align-items: center;
justify-content: center;
width: 36px;
- height: 36px;
+ height: 36px; // geometry: icon tile
background: $accent-glow;
color: $accent-primary;
border-radius: $radius-control;
@@ -315,7 +315,7 @@
align-items: center;
justify-content: center;
width: 32px;
- height: 32px;
+ height: 32px; // geometry: connector icon disc
background: $accent-glow;
color: $accent-primary;
border-radius: 50%;
diff --git a/frontend/src/styles/components/_logs-drawer.scss b/frontend/src/styles/components/_logs-drawer.scss
index 5fd8cb54..2620e1fb 100644
--- a/frontend/src/styles/components/_logs-drawer.scss
+++ b/frontend/src/styles/components/_logs-drawer.scss
@@ -10,7 +10,7 @@
background: var(--surface);
border: 1px solid var(--border-strong);
border-radius: var(--radius);
- box-shadow: var(--shadow-lg);
+ box-shadow: none;
overflow: hidden;
.terminal-header {
@@ -26,8 +26,8 @@
// Icon tile (demo SSH drawer: green terminal tile)
.terminal-ico {
width: 28px;
- height: 28px;
- border-radius: $radius-card;
+ height: 28px; // geometry: icon tile
+ border-radius: $radius-control;
display: grid;
place-items: center;
@include status-variant(var(--green), var(--green-bg));
@@ -86,8 +86,8 @@
}
.terminal-close-btn {
- width: 28px;
- height: 28px;
+ width: $control-sm;
+ height: $control-sm;
display: grid;
place-items: center;
background: transparent;
diff --git a/frontend/src/styles/components/_logs.scss b/frontend/src/styles/components/_logs.scss
index 037edd71..5e1e7db3 100644
--- a/frontend/src/styles/components/_logs.scss
+++ b/frontend/src/styles/components/_logs.scss
@@ -34,7 +34,7 @@
overflow: hidden;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-overlay;
+ border-radius: $radius-card;
}
.logs-sidebar {
@@ -95,7 +95,7 @@
.log-icon {
width: 32px;
- height: 32px;
+ height: 32px; // geometry: icon tile
display: inline-flex;
align-items: center;
justify-content: center;
@@ -260,11 +260,11 @@
}
}
- // Shared Select trigger, kept at the search box's 36px and sized to content
- // so it sits in the toolbar instead of claiming a form-field row.
+ // Shared Select trigger, kept at the search box's height and sized to
+ // content so it sits in the toolbar instead of claiming a form-field row.
.lines-select {
width: auto;
- height: 36px;
+ height: $control-md;
min-width: 120px;
font-size: $text-xs;
}
diff --git a/frontend/src/styles/components/_managed-card.scss b/frontend/src/styles/components/_managed-card.scss
index c14064e9..563e9e18 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-overlay;
+ border-radius: $radius-card;
&__icon {
color: $primary-color;
diff --git a/frontend/src/styles/components/_metrics-graph.scss b/frontend/src/styles/components/_metrics-graph.scss
index e5d143cb..bf4ee5aa 100644
--- a/frontend/src/styles/components/_metrics-graph.scss
+++ b/frontend/src/styles/components/_metrics-graph.scss
@@ -5,8 +5,8 @@
.metrics-graph-card {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-overlay;
- padding: $space-6;
+ border-radius: $radius-card;
+ padding: $space-4;
margin-bottom: $space-6;
&.loading,
@@ -125,7 +125,7 @@
border: 1px solid var(--border-strong);
border-radius: $radius-card;
padding: $space-3 $space-4;
- box-shadow: var(--shadow-lg);
+ box-shadow: $shadow-raised;
min-width: 140px;
.tooltip-time {
@@ -265,12 +265,12 @@
&.memory {
background: var(--green);
- box-shadow: 0 0 8px rgba(61, 220, 151, 0.5);
+ box-shadow: none;
}
&.disk {
background: var(--amber);
- box-shadow: 0 0 8px rgba(245, 185, 69, 0.5);
+ box-shadow: none;
}
}
@@ -278,7 +278,7 @@
.metrics-graph-compact {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-overlay;
+ border-radius: $radius-card;
padding: $space-4;
margin-bottom: $space-6;
diff --git a/frontend/src/styles/components/_modals.scss b/frontend/src/styles/components/_modals.scss
index 3c562f00..09aa0d9d 100644
--- a/frontend/src/styles/components/_modals.scss
+++ b/frontend/src/styles/components/_modals.scss
@@ -144,7 +144,7 @@
svg {
width: 32px;
- height: 32px;
+ height: 32px; // geometry: icon size
}
&-danger {
diff --git a/frontend/src/styles/components/_notification-center.scss b/frontend/src/styles/components/_notification-center.scss
index 10f61484..0ba60d99 100644
--- a/frontend/src/styles/components/_notification-center.scss
+++ b/frontend/src/styles/components/_notification-center.scss
@@ -10,10 +10,10 @@
display: inline-flex;
align-items: center;
justify-content: center;
- width: 34px;
- height: 34px;
+ width: $control-md;
+ height: $control-md;
border: 1px solid $border-subtle;
- border-radius: $radius-card;
+ border-radius: $radius-control;
background: $bg-card;
color: $text-secondary;
cursor: pointer;
@@ -30,17 +30,18 @@
position: absolute;
top: -5px;
right: -5px;
- min-width: 17px;
- height: 17px;
+ // Counter bubble: 16px round.
+ min-width: 16px;
+ height: 16px;
padding: 0 $space-1;
border-radius: $radius-full;
background: $danger;
color: #fff;
font-size: $text-xs;
font-weight: $font-weight-semibold;
- line-height: 17px;
+ line-height: 16px;
text-align: center;
- box-shadow: 0 0 0 2px $bg-card;
+ box-shadow: 0 0 0 2px $bg-card; // geometry: cutout ring separating the counter from the bell
}
&__panel {
@@ -53,7 +54,7 @@
background: $bg-elevated;
border: 1px solid $border-default;
border-radius: $radius-overlay;
- box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
+ box-shadow: $shadow-raised;
z-index: 1000;
overflow: hidden;
display: flex;
@@ -221,7 +222,7 @@
.sk-notif__bell {
width: 38px;
height: auto;
- min-height: 34px;
+ min-height: $control-md;
align-self: stretch;
}
}
@@ -232,10 +233,10 @@
display: inline-flex;
align-items: center;
justify-content: center;
- width: 34px;
- height: 34px;
+ width: $control-md;
+ height: $control-md;
border: 1px solid $border-subtle;
- border-radius: $radius-card;
+ border-radius: $radius-control;
background: $bg-card;
color: $text-secondary;
cursor: pointer;
@@ -253,8 +254,8 @@
display: inline-flex;
align-items: center;
justify-content: center;
- width: 28px;
- height: 28px;
+ width: $control-sm;
+ height: $control-sm;
border: none;
border-radius: $radius-control;
background: transparent;
@@ -323,8 +324,8 @@
}
.sk-notif__bell {
- width: 34px;
- min-height: 34px;
+ width: $control-md;
+ min-height: $control-md;
align-self: center;
}
}
diff --git a/frontend/src/styles/components/_notifications.scss b/frontend/src/styles/components/_notifications.scss
index 55818a3e..47abb117 100644
--- a/frontend/src/styles/components/_notifications.scss
+++ b/frontend/src/styles/components/_notifications.scss
@@ -96,7 +96,7 @@
.channel-icon {
width: 48px;
- height: 48px;
+ height: 48px; // geometry: icon tile
display: flex;
align-items: center;
justify-content: center;
diff --git a/frontend/src/styles/components/_operations-dock.scss b/frontend/src/styles/components/_operations-dock.scss
index 1778d10b..07b73125 100644
--- a/frontend/src/styles/components/_operations-dock.scss
+++ b/frontend/src/styles/components/_operations-dock.scss
@@ -6,7 +6,7 @@
font-family: $font-main;
&__launcher {
- min-height: 42px;
+ min-height: $control-md;
gap: $space-2;
border: 1px solid var(--border-strong);
border-radius: $radius-full;
@@ -21,7 +21,7 @@
&__unread {
display: inline-grid;
min-width: 20px;
- height: 20px;
+ height: 20px; // geometry: count badge (20px badge spec)
padding-inline: $space-tight;
place-items: center;
border-radius: $radius-full;
@@ -74,7 +74,7 @@
&__icon {
display: grid;
width: 30px;
- height: 30px;
+ height: 30px; // geometry: icon tile
flex: 0 0 auto;
place-items: center;
border-radius: $radius-control;
@@ -210,7 +210,7 @@
background: var(--surface);
&.is-complete { @include status-variant(var(--green), var(--green), var(--green)); }
- &.is-current { @include status-variant(var(--cyan), null, var(--cyan)); box-shadow: 0 0 0 3px var(--cyan-bg); }
+ &.is-current { @include status-variant(var(--cyan), null, var(--cyan)); }
}
&__error {
@@ -285,7 +285,7 @@
&__handoff-icon {
display: grid;
width: 28px;
- height: 28px;
+ height: 28px; // geometry: icon tile
flex: 0 0 auto;
place-items: center;
border: 1px solid var(--amber);
diff --git a/frontend/src/styles/components/_private-url.scss b/frontend/src/styles/components/_private-url.scss
index d3ea5dee..a54810f3 100644
--- a/frontend/src/styles/components/_private-url.scss
+++ b/frontend/src/styles/components/_private-url.scss
@@ -61,19 +61,19 @@
background: $bg-tertiary;
border: 1px solid $border-subtle;
border-right: none;
- border-radius: $radius-badge 0 0 $radius-badge;
- padding: $space-2 $space-3;
+ border-radius: $radius-control 0 0 $radius-control;
+ padding: 0 $space-3;
color: $text-tertiary;
font-family: $font-mono;
font-size: $text-xs;
- height: 40px;
+ height: $control-md; // matches the 32px slug input it prefixes
display: flex;
align-items: center;
}
.slug-input {
flex: 1;
- border-radius: 0 $radius-badge $radius-badge 0;
+ border-radius: 0 $radius-control $radius-control 0;
font-family: $font-mono;
min-width: 150px;
}
diff --git a/frontend/src/styles/components/_query-runner.scss b/frontend/src/styles/components/_query-runner.scss
index 17352d0d..95ea3965 100644
--- a/frontend/src/styles/components/_query-runner.scss
+++ b/frontend/src/styles/components/_query-runner.scss
@@ -88,8 +88,8 @@
}
.modal-close {
- width: 32px;
- height: 32px;
+ width: $control-sm;
+ height: $control-sm;
display: flex;
align-items: center;
justify-content: center;
@@ -155,8 +155,8 @@
flex-shrink: 0;
.btn-icon {
- width: 24px;
- height: 24px;
+ width: $control-sm;
+ height: $control-sm;
display: flex;
align-items: center;
justify-content: center;
@@ -274,7 +274,7 @@
&:focus {
outline: none;
border-color: $accent-primary;
- box-shadow: 0 0 0 3px $accent-glow;
+ box-shadow: $focus-ring;
}
&::placeholder {
diff --git a/frontend/src/styles/components/_setup-health.scss b/frontend/src/styles/components/_setup-health.scss
index 867d9ee4..20d5585e 100644
--- a/frontend/src/styles/components/_setup-health.scss
+++ b/frontend/src/styles/components/_setup-health.scss
@@ -64,12 +64,12 @@
&__dismiss {
display: grid;
- width: 26px;
- height: 26px;
+ width: $control-sm;
+ height: $control-sm;
flex: 0 0 auto;
place-items: center;
border: 0;
- border-radius: $radius-badge;
+ border-radius: $radius-control;
background: transparent;
color: $text-tertiary;
cursor: pointer;
@@ -99,7 +99,7 @@
}
&--loading {
- min-height: 46px;
+ min-height: 46px; // geometry: reserves the loaded banner's height (no layout jump)
}
@media (max-width: $breakpoint-md) {
diff --git a/frontend/src/styles/components/_shortcut-sheet.scss b/frontend/src/styles/components/_shortcut-sheet.scss
index bf63308b..49c52e33 100644
--- a/frontend/src/styles/components/_shortcut-sheet.scss
+++ b/frontend/src/styles/components/_shortcut-sheet.scss
@@ -8,7 +8,7 @@
align-items: center;
justify-content: space-between;
gap: $space-4;
- min-height: 42px;
+ min-height: $control-lg; // list row: 40 (table row spec)
padding-block: $space-2;
border-block-end: 1px solid $border-subtle;
diff --git a/frontend/src/styles/components/_skeleton.scss b/frontend/src/styles/components/_skeleton.scss
index adc1b5f3..36de210a 100644
--- a/frontend/src/styles/components/_skeleton.scss
+++ b/frontend/src/styles/components/_skeleton.scss
@@ -34,14 +34,14 @@
&--title {
width: 40%;
- height: 20px;
+ height: 20px; // geometry: skeleton title bar (content placeholder)
border-radius: $radius-control;
}
&--avatar {
flex: none;
width: 48px;
- height: 48px;
+ height: 48px; // geometry: skeleton avatar
border-radius: $radius-card;
}
diff --git a/frontend/src/styles/components/_spinner.scss b/frontend/src/styles/components/_spinner.scss
index 8695afcf..46d06e24 100644
--- a/frontend/src/styles/components/_spinner.scss
+++ b/frontend/src/styles/components/_spinner.scss
@@ -20,22 +20,22 @@
&-md {
width: 24px;
- height: 24px;
+ height: 24px; // geometry: spinner (icon size)
.spinner-ring {
width: 24px;
- height: 24px;
+ height: 24px; // geometry: spinner (icon size)
border-width: 3px;
}
}
&-lg {
width: 40px;
- height: 40px;
+ height: 40px; // geometry: spinner (icon size)
.spinner-ring {
width: 40px;
- height: 40px;
+ height: 40px; // geometry: spinner (icon size)
border-width: 4px;
}
}
diff --git a/frontend/src/styles/components/_status-badge.scss b/frontend/src/styles/components/_status-badge.scss
index 10c87b7a..9ea53093 100644
--- a/frontend/src/styles/components/_status-badge.scss
+++ b/frontend/src/styles/components/_status-badge.scss
@@ -1,16 +1,8 @@
.status-badge {
+ @include badge-geometry(); // components/_badges.scss: the 20px badge spec
justify-content: center;
border: 1px solid transparent;
- min-height: 24px;
- line-height: 1;
- white-space: nowrap;
- display: inline-flex;
- align-items: center;
gap: $space-1;
- padding: $space-1 $space-2;
- border-radius: $radius-badge;
- font-size: $text-xs;
- font-weight: $font-weight-medium;
text-transform: capitalize;
&__dot {
diff --git a/frontend/src/styles/components/_system-notices.scss b/frontend/src/styles/components/_system-notices.scss
index 140c679a..cf27ebec 100644
--- a/frontend/src/styles/components/_system-notices.scss
+++ b/frontend/src/styles/components/_system-notices.scss
@@ -61,8 +61,8 @@
display: inline-flex;
align-items: center;
justify-content: center;
- width: 28px;
- height: 28px;
+ width: $control-sm;
+ height: $control-sm;
border: none;
background: transparent;
color: inherit;
diff --git a/frontend/src/styles/components/_tables.scss b/frontend/src/styles/components/_tables.scss
index 485083d9..9cc3e882 100644
--- a/frontend/src/styles/components/_tables.scss
+++ b/frontend/src/styles/components/_tables.scss
@@ -7,15 +7,21 @@
border-collapse: collapse;
font-size: $text-xs;
+ // Header 32, rows min 40 (height on a cell is a minimum), cell padding
+ // $space-3 with $space-4 at the outer edges.
thead {
th {
- padding: $space-3 $space-4;
+ height: $control-md;
+ padding: 0 $space-3;
text-align: left;
font-weight: $font-weight-semibold;
font-size: $text-xs;
color: $text-tertiary;
border-bottom: 1px solid $border-default;
white-space: nowrap;
+
+ &:first-child { padding-inline-start: $space-4; }
+ &:last-child { padding-inline-end: $space-4; }
}
}
@@ -33,8 +39,12 @@
}
}
+ td:first-child { padding-inline-start: $space-4; }
+ td:last-child { padding-inline-end: $space-4; }
+
td {
- padding: $space-3 $space-4;
+ height: $control-lg;
+ padding: $space-2 $space-3;
color: $text-primary;
vertical-align: middle;
@@ -57,7 +67,8 @@ width: 100%;
th {
text-align: left;
- padding: $space-3;
+ height: $control-md;
+ padding: 0 $space-3;
background: $bg-hover;
color: $text-tertiary;
font-weight: $font-weight-semibold;
@@ -66,7 +77,8 @@ width: 100%;
}
td {
- padding: $space-3;
+ height: $control-lg;
+ padding: $space-2 $space-3;
border-bottom: 1px solid $border-subtle;
font-family: $font-mono;
font-size: $text-xs;
@@ -76,6 +88,9 @@ width: 100%;
tr:hover { background: $bg-hover; }
tr:last-child td { border-bottom: none; }
+ th:first-child, td:first-child { padding-inline-start: $space-4; }
+ th:last-child, td:last-child { padding-inline-end: $space-4; }
+
.container-name {
display: block;
color: $text-primary;
diff --git a/frontend/src/styles/components/_tabs.scss b/frontend/src/styles/components/_tabs.scss
index dcd52541..3296228e 100644
--- a/frontend/src/styles/components/_tabs.scss
+++ b/frontend/src/styles/components/_tabs.scss
@@ -30,7 +30,8 @@
gap: $space-2;
background: none;
border: none;
- padding: $space-3 $space-5;
+ height: $control-lg; // underline tabs: 40
+ padding: 0 $space-4;
color: $text-secondary;
font-size: $text-base;
font-weight: $font-weight-medium;
diff --git a/frontend/src/styles/components/_two-factor.scss b/frontend/src/styles/components/_two-factor.scss
index dccc1804..510812d0 100644
--- a/frontend/src/styles/components/_two-factor.scss
+++ b/frontend/src/styles/components/_two-factor.scss
@@ -25,7 +25,7 @@
&:focus {
border-color: $accent-primary;
outline: none;
- box-shadow: 0 0 0 3px fade($accent-primary-raw, 20%);
+ box-shadow: $focus-ring;
}
&::placeholder {
@@ -70,7 +70,7 @@
.two-fa-icon {
width: 48px;
- height: 48px;
+ height: 48px; // geometry: icon tile
display: flex;
align-items: center;
justify-content: center;
@@ -145,7 +145,7 @@
.step-number {
width: 28px;
- height: 28px;
+ height: 28px; // geometry: step number disc, not a control
display: flex;
align-items: center;
justify-content: center;
diff --git a/frontend/src/styles/components/_ui.scss b/frontend/src/styles/components/_ui.scss
index c06b0b8c..9e2e0424 100644
--- a/frontend/src/styles/components/_ui.scss
+++ b/frontend/src/styles/components/_ui.scss
@@ -142,7 +142,7 @@
position: relative;
flex-shrink: 0;
width: 36px;
- height: 20px;
+ height: 20px; // geometry: switch track
padding: 0;
border: none;
border-radius: $radius-full;
@@ -172,7 +172,7 @@
margin: $space-hair;
background: #fff;
border-radius: 50%;
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); // geometry: draws the knob's edge against a light track
transition: transform 150ms ease;
transform: translateX(0);
}
@@ -189,7 +189,7 @@
background: $bg-card;
color: $text-primary;
border: 1px solid $border-subtle;
- border-radius: $radius-overlay;
+ border-radius: $radius-card;
box-shadow: none;
display: flex;
flex-direction: column;
@@ -199,7 +199,7 @@
display: flex;
flex-direction: column;
gap: $space-tight; // 6px
- padding: $space-6;
+ padding: $space-4;
}
.ui-card-title {
@@ -218,7 +218,7 @@
}
.ui-card-content {
- padding: 0 $space-6 $space-6;
+ padding: 0 $space-4 $space-4;
flex: 1;
}
@@ -226,7 +226,7 @@
display: flex;
align-items: center;
gap: $space-2;
- padding: 0 $space-6 $space-6;
+ padding: 0 $space-4 $space-4;
}
// --------------------------------------------
@@ -277,8 +277,8 @@
}
.ui-table-head {
- height: $control-md;
- padding: 0 $space-4;
+ height: $control-md; // table header spec: 32
+ padding: 0 $space-3;
text-align: left;
vertical-align: middle;
color: $text-tertiary;
@@ -287,11 +287,19 @@
}
.ui-table-cell {
- padding: $space-3 $space-4; // 13px 16px
+ // Rows: min 40 (height on a cell is a minimum; two-line rows grow).
+ height: $control-lg;
+ padding: $space-2 $space-3;
vertical-align: middle;
color: $text-primary;
}
+// Outer edges get $space-4.
+.ui-table-head:first-child,
+.ui-table-cell:first-child { padding-inline-start: $space-4; }
+.ui-table-head:last-child,
+.ui-table-cell:last-child { padding-inline-end: $space-4; }
+
.ui-table-caption {
margin-top: $space-4;
color: $text-tertiary;
@@ -543,7 +551,7 @@
display: flex;
align-items: center;
justify-content: center;
- height: 24px;
+ height: 24px; // geometry: menu scroll arrow strip, not a control
cursor: default;
color: $text-tertiary;
}
@@ -765,8 +773,8 @@
.ui-command-input {
flex: 1;
width: 100%;
- height: 44px;
- padding: $space-3 0;
+ height: $control-lg; // borderless search row heading the command list
+ padding: 0;
background: transparent;
border: none;
outline: none;
@@ -957,7 +965,7 @@
justify-content: center;
flex-shrink: 0;
width: 48px;
- height: 48px;
+ height: 48px; // geometry: icon medallion
border-radius: 50%;
border: 1px solid transparent;
diff --git a/frontend/src/styles/components/_uptime.scss b/frontend/src/styles/components/_uptime.scss
index dfdceb93..d47bce5f 100644
--- a/frontend/src/styles/components/_uptime.scss
+++ b/frontend/src/styles/components/_uptime.scss
@@ -5,8 +5,8 @@
.uptime-card {
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-overlay;
- padding: $space-6;
+ border-radius: $radius-card;
+ padding: $space-4;
&.loading,
&.error {
@@ -225,7 +225,7 @@
.uptime-graph {
display: flex;
gap: $space-hair;
- height: 32px;
+ height: 32px; // geometry: uptime bar strip (chart)
background: $bg-hover;
border-radius: $radius-control;
overflow: hidden;
diff --git a/frontend/src/styles/components/_users.scss b/frontend/src/styles/components/_users.scss
index 181c300a..def79051 100644
--- a/frontend/src/styles/components/_users.scss
+++ b/frontend/src/styles/components/_users.scss
@@ -124,7 +124,7 @@
.user-avatar {
width: 40px;
- height: 40px;
+ height: 40px; // geometry: avatar
border-radius: 50%;
background: $accent-primary;
color: #fff;
@@ -536,7 +536,7 @@
.active-user-rank {
width: 28px;
- height: 28px;
+ height: 28px; // geometry: rank medallion, not a control
display: flex;
align-items: center;
justify-content: center;
@@ -627,7 +627,7 @@
select.form-control {
min-width: 200px;
- height: 38px;
+ height: $control-md;
padding: 0 $space-3;
background: $bg-card;
border: 1px solid $border-default;
@@ -640,7 +640,7 @@
&:focus {
outline: none;
border-color: $accent-primary;
- box-shadow: 0 0 0 3px fade($accent-primary-raw, 10%);
+ box-shadow: $focus-ring;
}
&:hover {
@@ -650,7 +650,7 @@
}
.btn-clear {
- height: 38px;
+ height: $control-md;
display: flex;
align-items: center;
gap: $space-2;
diff --git a/frontend/src/styles/components/_walkthroughs.scss b/frontend/src/styles/components/_walkthroughs.scss
index 01de1e12..2f3e0508 100644
--- a/frontend/src/styles/components/_walkthroughs.scss
+++ b/frontend/src/styles/components/_walkthroughs.scss
@@ -44,7 +44,7 @@
&__card-icon {
display: grid;
width: 28px;
- height: 28px;
+ height: 28px; // geometry: icon tile
margin-block-end: $space-3;
place-items: center;
border-radius: $radius-card;
@@ -218,7 +218,7 @@
&__step-marker {
display: grid;
width: 20px;
- height: 20px;
+ height: 20px; // geometry: step marker disc
flex: 0 0 auto;
place-items: center;
border: 1px solid var(--border-strong);
diff --git a/frontend/src/styles/components/_widget-editor.scss b/frontend/src/styles/components/_widget-editor.scss
index d991925f..f205f52f 100644
--- a/frontend/src/styles/components/_widget-editor.scss
+++ b/frontend/src/styles/components/_widget-editor.scss
@@ -84,7 +84,7 @@ $skwe-pane-w: 340px;
&__frame {
flex: none;
max-width: 100%;
- box-shadow: var(--shadow-lg);
+ box-shadow: none;
}
&__caption {
@@ -178,7 +178,7 @@ $skwe-pane-w: 340px;
&:focus-visible {
outline: none;
border-color: var(--accent);
- box-shadow: 0 0 0 3px var(--accent-bg);
+ box-shadow: $focus-ring;
}
}
@@ -285,8 +285,8 @@ $skwe-pane-w: 340px;
// Row delete. Stays neutral until hovered; a column of red bins would
// shout over the settings themselves.
&__del {
- width: 26px;
- height: 26px;
+ width: $control-sm;
+ height: $control-sm;
display: grid;
place-items: center;
border: none;
@@ -396,7 +396,7 @@ $skwe-pane-w: 340px;
&:focus-visible {
outline: none;
- box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--accent);
+ box-shadow: $focus-ring;
}
}
}
@@ -408,14 +408,14 @@ $skwe-pane-w: 340px;
display: flex;
align-items: center;
gap: $space-hair;
- padding: $space-hair;
+ padding: 1px; // 28px buttons + 1px inset + border = 32
border: 1px solid var(--border);
- border-radius: $radius-card;
+ border-radius: $radius-control;
background: var(--surface-2);
&__btn {
- width: 26px;
- height: 26px;
+ width: $control-sm;
+ height: $control-sm;
flex-shrink: 0;
display: grid;
place-items: center;
@@ -497,7 +497,7 @@ $skwe-pane-w: 340px;
// selecting one cannot shift the row.
&.is-on {
border-color: var(--text);
- box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--text-faint);
+ box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--text-faint); // geometry: selection ring drawn around a color swatch
}
}
}
diff --git a/frontend/src/styles/layout/_main-content.scss b/frontend/src/styles/layout/_main-content.scss
index c5efcaea..5a291724 100644
--- a/frontend/src/styles/layout/_main-content.scss
+++ b/frontend/src/styles/layout/_main-content.scss
@@ -204,13 +204,13 @@
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);
+ box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10); // geometry: inset 1px rim used as a border
animation: app-loader-breathe 2.6s ease-in-out infinite;
}
&__glyph {
width: 42px;
- height: 42px;
+ height: 42px; // geometry: icon size
}
// Status LEDs blink like a booting machine; the lower one is "online" green.
diff --git a/frontend/src/styles/layout/_sidebar.scss b/frontend/src/styles/layout/_sidebar.scss
index d06f53f9..ace30556 100644
--- a/frontend/src/styles/layout/_sidebar.scss
+++ b/frontend/src/styles/layout/_sidebar.scss
@@ -31,7 +31,7 @@
&.sidebar--mobile-open {
transform: translateX(0);
- box-shadow: 8px 0 32px rgba(0, 0, 0, 0.45);
+ box-shadow: $shadow-overlay;
}
@media (prefers-reduced-motion: reduce) {
@@ -49,7 +49,7 @@
align-items: center;
justify-content: center;
width: 44px;
- height: 44px;
+ height: 44px; // geometry: mobile-only 44px touch target
margin: $space-2 0 $space-1 auto;
border: none;
background: transparent;
@@ -112,7 +112,7 @@
align-items: center;
justify-content: center;
width: 44px;
- height: 44px;
+ height: 44px; // geometry: mobile-only 44px touch target
flex-shrink: 0;
border: none;
background: transparent;
@@ -138,7 +138,7 @@
display: grid;
place-items: center;
width: 26px;
- height: 26px;
+ height: 26px; // geometry: logo image box
flex-shrink: 0;
img {
@@ -169,14 +169,14 @@
// Demo logo: a periwinkle gradient tile with a white server glyph.
.brand-logo {
width: 34px;
- height: 34px;
+ height: 34px; // geometry: brand logo tile
border-radius: $radius-card;
display: grid;
place-items: center;
flex-shrink: 0;
color: #fff;
background: linear-gradient(160deg, var(--accent-bright), var(--accent));
- box-shadow: 0 4px 14px -2px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
+ box-shadow: none;
svg {
stroke: #fff;
@@ -222,7 +222,7 @@
.brand-custom-logo {
width: 32px;
- height: 32px;
+ height: 32px; // geometry: custom brand logo box
border-radius: $radius-control;
overflow: hidden;
display: grid;
@@ -267,12 +267,12 @@
// Quick-create now lives in the brand row: logo → name → GitHub star → create.
// The square accent treatment matches the prototype's compact app-chrome tool.
.quick-create.quick-create--header {
- width: 27px;
- height: 27px;
+ width: $control-sm;
+ height: $control-sm;
border: none;
- 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);
+ border-radius: $radius-control;
+ background: var(--accent);
+ box-shadow: none;
color: #fff;
flex-shrink: 0;
transition: filter 0.15s, transform 0.15s;
@@ -443,13 +443,13 @@
display: flex;
align-items: center;
justify-content: center;
- width: 28px;
- height: 28px;
+ width: $control-sm;
+ height: $control-sm;
border: none;
background: transparent;
color: $text-tertiary;
cursor: pointer;
- border-radius: $radius-badge;
+ border-radius: $radius-control;
flex-shrink: 0;
transition: all 0.15s ease;
margin-right: $space-1;
@@ -507,7 +507,7 @@
background: var(--surface-2);
border: 1px solid var(--border-strong);
border-radius: var(--radius-lg);
- box-shadow: var(--shadow-lg);
+ box-shadow: $shadow-raised;
padding: $space-1;
z-index: $z-tooltip;
animation: contextMenuIn 0.15s ease-out;
@@ -670,7 +670,7 @@
.user-avatar {
width: 32px;
- height: 32px;
+ height: 32px; // geometry: avatar
background: linear-gradient(150deg, var(--surface-3), var(--surface-2));
border: 1px solid var(--border-strong);
border-radius: $radius-card;
@@ -722,7 +722,6 @@
height: 5px;
background: currentColor;
border-radius: 50%;
- box-shadow: 0 0 6px currentColor;
}
}
@@ -751,7 +750,7 @@
&:hover,
&:focus-within {
width: $sidebar-width;
- box-shadow: 8px 0 32px rgba(0, 0, 0, 0.28);
+ box-shadow: $shadow-overlay;
}
// Collapsed state: bare icon rail. font-size: 0 hides nav text while
diff --git a/frontend/src/styles/pages/_app-map.scss b/frontend/src/styles/pages/_app-map.scss
index 294026a5..09d48894 100644
--- a/frontend/src/styles/pages/_app-map.scss
+++ b/frontend/src/styles/pages/_app-map.scss
@@ -208,7 +208,6 @@
height: 6px;
border-radius: 50%;
background: $primary-color;
- box-shadow: 0 0 0 3px rgba($accent-primary-raw, 0.18);
}
}
diff --git a/frontend/src/styles/pages/_applications.scss b/frontend/src/styles/pages/_applications.scss
index 2538ba2c..bccdb27b 100644
--- a/frontend/src/styles/pages/_applications.scss
+++ b/frontend/src/styles/pages/_applications.scss
@@ -111,7 +111,7 @@
// same convention as the Services list type icon)
.apps-type-ico {
width: 34px;
- height: 34px;
+ height: 34px; // geometry: icon tile
border-radius: $radius-card;
display: grid;
place-items: center;
@@ -122,12 +122,13 @@
// Mono type chip (brand colors via inline style props)
.apps-type-chip {
+ height: 20px; // geometry: badge height (20px badge spec)
display: inline-flex;
align-items: center;
font-size: $text-xs;
- font-weight: $font-weight-semibold;
- padding: $space-hair $space-2;
- border-radius: $radius-control;
+ font-weight: $font-weight-medium;
+ padding: 0 $space-tight;
+ border-radius: $radius-badge;
border: 1px solid;
white-space: nowrap;
}
@@ -208,8 +209,8 @@
}
.apps-icon-action {
- width: 27px;
- height: 27px;
+ width: $control-sm;
+ height: $control-sm;
display: inline-flex;
align-items: center;
justify-content: center;
@@ -278,11 +279,14 @@
// Used by components/LinkAppModal.jsx
.app-type-badge {
+ display: inline-flex;
+ align-items: center;
+ height: 20px; // geometry: badge height (20px badge spec)
font-size: $text-xs;
- font-weight: $font-weight-semibold;
+ font-weight: $font-weight-medium;
@include status-variant(var(--accent-bright), var(--accent-bg));
- padding: $space-hair $space-2;
- border-radius: $radius-control;
+ padding: 0 $space-tight;
+ border-radius: $radius-badge;
}
// Used by pages/Firewall.jsx
@@ -378,7 +382,7 @@
padding: $space-5 $space-6;
background: var(--surface);
border: 1px solid var(--border-soft);
- border-radius: var(--radius-lg);
+ border-radius: $radius-card;
}
.app-detail-icon {
@@ -387,7 +391,7 @@
height: 52px;
border-radius: $radius-overlay;
border: 1px solid fade(#fff, 8%);
- box-shadow: var(--shadow-sm);
+ box-shadow: none;
display: flex;
align-items: center;
justify-content: center;
@@ -457,11 +461,12 @@
// Status badge (WordPressProject still renders this class; ApplicationDetail
// uses the ds Pill) — sk-pill visual spec.
.app-status-badge {
+ height: 20px; // geometry: badge height (20px badge spec)
display: inline-flex;
align-items: center;
gap: $space-tight;
- padding: $space-1 $space-2;
- border-radius: $radius-control;
+ padding: 0 $space-tight;
+ border-radius: $radius-badge;
font-size: $text-xs;
font-weight: $font-weight-medium;
white-space: nowrap;
@@ -488,18 +493,13 @@
flex-shrink: 0;
.running & {
- box-shadow: 0 0 6px currentColor;
animation: pulse-green 2s ease-in-out infinite;
}
}
@keyframes pulse-green {
- 0%, 100% {
- box-shadow: 0 0 0 0 fade($success-raw, 40%);
- }
- 50% {
- box-shadow: 0 0 0 4px fade($success-raw, 0%);
- }
+ 0%, 100% { opacity: 1; }
+ 50% { opacity: 0.45; }
}
// Tabs navigation (WordPress pages render these classes; ApplicationDetail
@@ -525,7 +525,8 @@
display: flex;
align-items: center;
gap: $space-2;
- padding: $space-2 $space-3;
+ height: $control-md;
+ padding: 0 $space-3;
background: transparent;
border: none;
border-radius: $radius-control;
@@ -755,8 +756,6 @@
.card {
background: var(--surface);
border: 1px solid var(--border-soft);
- border-radius: var(--radius);
- box-shadow: none;
> h3,
.card-header-row h3 {
@@ -924,11 +923,14 @@
}
.ssl-badge {
+ display: inline-flex;
+ align-items: center;
+ height: 20px; // geometry: badge height (20px badge spec)
font-size: $text-xs;
- font-weight: $font-weight-semibold;
+ font-weight: $font-weight-medium;
@include status-variant(var(--green), var(--green-bg));
- padding: $space-hair $space-2;
- border-radius: $radius-control;
+ padding: 0 $space-tight;
+ border-radius: $radius-badge;
flex-shrink: 0;
}
@@ -1007,7 +1009,7 @@
.diag-icon {
width: 30px;
- height: 30px;
+ height: 30px; // geometry: icon tile
display: grid;
place-items: center;
border-radius: $radius-card;
diff --git a/frontend/src/styles/pages/_auth.scss b/frontend/src/styles/pages/_auth.scss
index 4b75b16c..b5e6907b 100644
--- a/frontend/src/styles/pages/_auth.scss
+++ b/frontend/src/styles/pages/_auth.scss
@@ -8,6 +8,15 @@
padding: $space-5;
}
+// Sign-in screens are the one place controls default to the large size.
+.auth-container {
+ .btn:not(.btn-sm):not(.btn-link):not(.btn-icon),
+ .ui-input,
+ .ui-select-trigger {
+ height: $control-lg;
+ }
+}
+
.auth-card {
width: 100%;
max-width: 400px;
@@ -23,7 +32,7 @@
.brand-logo {
width: 48px;
- height: 48px;
+ height: 48px; // geometry: logo
margin: 0 auto $space-4;
// ServerKitLogo renders its own gradient tile, so suppress the global
// .brand-logo tile (_sidebar.scss) here — otherwise the self-tiled logo
@@ -117,9 +126,10 @@
justify-content: center;
gap: $space-3;
width: 100%;
- padding: $space-3 $space-4;
+ height: $control-lg;
+ padding: 0 $space-4;
border: 1px solid $border-subtle;
- border-radius: $radius-card;
+ border-radius: $radius-control;
background: $bg-card;
color: $text-primary;
font-size: $text-xs;
diff --git a/frontend/src/styles/pages/_backups.scss b/frontend/src/styles/pages/_backups.scss
index 43e12a56..10097d57 100644
--- a/frontend/src/styles/pages/_backups.scss
+++ b/frontend/src/styles/pages/_backups.scss
@@ -200,7 +200,7 @@
&__dot {
width: 28px;
- height: 28px;
+ height: 28px; // geometry: icon tile
border-radius: $radius-card;
display: grid;
place-items: center;
@@ -318,7 +318,7 @@
&__ico {
width: 38px;
- height: 38px;
+ height: 38px; // geometry: icon tile
border-radius: $radius-card;
display: grid;
place-items: center;
@@ -409,11 +409,14 @@
&__row + &__row { margin-top: $space-3; }
&__tag {
- padding: 1px $space-tight;
+ display: inline-flex;
+ align-items: center;
+ height: 20px; // geometry: badge height (20px badge spec)
+ padding: 0 $space-tight;
border-radius: $radius-badge;
@include status-variant(var(--accent-bright), var(--accent-bg));
font-size: $text-xs;
- font-weight: $font-weight-semibold;
+ font-weight: $font-weight-medium;
}
&__top {
@@ -492,8 +495,8 @@
.bk-iconbtn {
display: grid;
place-items: center;
- width: 30px;
- height: 30px;
+ width: $control-sm;
+ height: $control-sm;
padding: 0;
border: 0;
border-radius: $radius-control;
@@ -697,11 +700,11 @@
display: inline-flex;
align-items: center;
justify-content: center;
- width: 28px;
- height: 28px;
+ width: $control-sm;
+ height: $control-sm;
background: transparent;
border: 1px solid $border-subtle;
- border-radius: $radius-badge;
+ border-radius: $radius-control;
color: $text-secondary;
cursor: pointer;
@@ -741,7 +744,7 @@
&__cell {
position: relative;
- min-height: 44px;
+ min-height: 44px; // geometry: calendar day cell
padding: $space-1;
border: 1px solid $border-subtle;
border-radius: $radius-badge;
diff --git a/frontend/src/styles/pages/_bandwidth.scss b/frontend/src/styles/pages/_bandwidth.scss
index 25815c0a..1fd72525 100644
--- a/frontend/src/styles/pages/_bandwidth.scss
+++ b/frontend/src/styles/pages/_bandwidth.scss
@@ -13,7 +13,7 @@
&--wide {
width: 100%;
max-width: 640px;
- height: 48px;
+ height: 48px; // geometry: sparkline chart box
}
}
diff --git a/frontend/src/styles/pages/_connections.scss b/frontend/src/styles/pages/_connections.scss
index 7bf473f1..e0268b87 100644
--- a/frontend/src/styles/pages/_connections.scss
+++ b/frontend/src/styles/pages/_connections.scss
@@ -104,7 +104,7 @@
justify-content: center;
flex-shrink: 0;
width: 40px;
- height: 40px;
+ height: 40px; // geometry: icon tile
border-radius: $radius-control;
background: var(--surface-2);
color: $text-primary;
@@ -191,11 +191,12 @@
// ── Scope chip (access level) ──
.conn-pill {
+ height: 20px; // geometry: badge height (20px badge spec)
display: inline-flex;
align-items: center;
- padding: 1px $space-2;
+ padding: 0 $space-tight;
border: 1px solid $border-subtle;
- border-radius: $radius-full;
+ border-radius: $radius-badge;
font-size: $text-xs;
font-weight: $font-weight-medium;
color: $text-secondary;
@@ -239,7 +240,7 @@
justify-content: center;
flex-shrink: 0;
width: 38px;
- height: 38px;
+ height: 38px; // geometry: icon tile
border-radius: $radius-control;
background: var(--surface-2);
color: $text-primary;
@@ -296,7 +297,7 @@
.conn-profile {
img {
width: 40px;
- height: 40px;
+ height: 40px; // geometry: avatar
border-radius: $radius-full;
}
@@ -783,7 +784,7 @@
align-items: center;
justify-content: center;
min-width: 22px;
- height: 20px;
+ height: 20px; // geometry: counter badge height (20px badge spec)
padding: 0 $space-tight;
border-radius: $radius-full;
background: var(--surface-2);
diff --git a/frontend/src/styles/pages/_cron.scss b/frontend/src/styles/pages/_cron.scss
index 69c94fc0..04247bd8 100644
--- a/frontend/src/styles/pages/_cron.scss
+++ b/frontend/src/styles/pages/_cron.scss
@@ -71,7 +71,7 @@
// job cell: accent icon tile + name / description / mono command
.cron-ico {
width: 30px;
- height: 30px;
+ height: 30px; // geometry: icon tile
border-radius: $radius-card;
display: grid;
place-items: center;
@@ -529,14 +529,19 @@
color: var(--text);
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: var(--radius-sm);
+ border-radius: $radius-control;
outline: none;
+ &:not(textarea) {
+ height: $control-md;
+ padding-block: 0;
+ }
+
&::placeholder { color: var(--text-ghost); }
&:focus {
border-color: var(--accent);
- box-shadow: 0 0 0 3px var(--accent-bg);
+ box-shadow: $focus-ring;
}
&--mono {
diff --git a/frontend/src/styles/pages/_cutover.scss b/frontend/src/styles/pages/_cutover.scss
index 860cbed5..401bba23 100644
--- a/frontend/src/styles/pages/_cutover.scss
+++ b/frontend/src/styles/pages/_cutover.scss
@@ -74,7 +74,7 @@
align-items: center;
justify-content: center;
width: 20px;
- height: 20px;
+ height: 20px; // geometry: stepper dot
border: 1px solid $border-default;
border-radius: $radius-full;
font-size: $text-xs;
diff --git a/frontend/src/styles/pages/_dashboard.scss b/frontend/src/styles/pages/_dashboard.scss
index 60e69e9b..39c62d19 100644
--- a/frontend/src/styles/pages/_dashboard.scss
+++ b/frontend/src/styles/pages/_dashboard.scss
@@ -68,8 +68,8 @@
padding: $space-2;
background: var(--surface-2);
border: 1px solid var(--border-strong);
- border-radius: var(--radius-lg);
- box-shadow: var(--shadow-lg);
+ border-radius: $radius-overlay;
+ box-shadow: $shadow-raised;
color: var(--text);
&__head {
@@ -606,7 +606,7 @@
&:focus {
border-color: $accent-primary;
- box-shadow: 0 0 0 2px $accent-glow;
+ box-shadow: $focus-ring;
}
}
@@ -643,10 +643,10 @@
// the compact mono look of the other bar controls.
.skw-bar__ctl .skw-refresh-trigger,
.skw-bar__ctl .skw-serverpick {
- height: 32px;
+ height: $control-md;
width: auto;
padding: 0 $space-3;
- border-radius: $radius-card;
+ border-radius: $radius-control;
font-size: $text-xs;
}
diff --git a/frontend/src/styles/pages/_databases.scss b/frontend/src/styles/pages/_databases.scss
index 567f4ac4..f990309c 100644
--- a/frontend/src/styles/pages/_databases.scss
+++ b/frontend/src/styles/pages/_databases.scss
@@ -30,7 +30,9 @@ $dbx-sqlite: #3d8fd1;
display: inline-flex;
align-items: center;
justify-content: center;
- padding: $space-2;
+ width: $control-sm;
+ height: $control-sm;
+ padding: 0;
background: transparent;
border: 1px solid transparent;
border-radius: $radius-control;
@@ -47,7 +49,8 @@ $dbx-sqlite: #3d8fd1;
display: inline-flex;
align-items: center;
gap: $space-2;
- padding: $space-tight $space-3;
+ height: $control-sm;
+ padding: 0 $space-3;
background: $bg-tertiary;
border: 1px solid transparent;
border-radius: $radius-control;
@@ -258,8 +261,8 @@ $dbx-sqlite: #3d8fd1;
color: $text-tertiary;
.dbx-status-dot { width: 7px; height: 7px; border-radius: $radius-full; background: currentColor; }
- &.is-active { color: $success; .dbx-status-dot { box-shadow: 0 0 6px currentColor; } }
- &.is-inactive { color: $warning; .dbx-status-dot { box-shadow: 0 0 6px currentColor; } }
+ &.is-active { color: $success; }
+ &.is-inactive { color: $warning; }
&.is-missing { color: $text-tertiary; }
}
@@ -333,7 +336,8 @@ $dbx-sqlite: #3d8fd1;
display: inline-flex;
align-items: center;
gap: $space-2;
- padding: $space-2 $space-2 $space-2 $space-3;
+ height: $control-md;
+ padding: 0 $space-2 0 $space-3;
max-width: 220px;
background: transparent;
border: 1px solid transparent;
@@ -354,7 +358,7 @@ $dbx-sqlite: #3d8fd1;
border-color: $border-default;
position: relative;
// accent rule along the top edge marks the live tab
- box-shadow: inset 0 2px 0 $accent-primary;
+ box-shadow: inset 0 2px 0 $accent-primary; // geometry: draws the active-tab top rule
}
// engine-tinted icon
@@ -369,7 +373,12 @@ $dbx-sqlite: #3d8fd1;
// demo's `+` new-tab pill at the end of the strip
.dbx-tab-new {
- padding: $space-2;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ width: $control-sm;
+ height: $control-sm;
+ padding: 0;
align-self: center;
border-radius: $radius-control;
color: $text-tertiary;
@@ -565,16 +574,17 @@ $dbx-sqlite: #3d8fd1;
}
.dbx-editor-badge {
+ height: 20px; // geometry: badge height (20px badge spec)
position: absolute;
bottom: 10px;
right: 14px;
display: inline-flex;
align-items: center;
gap: $space-1;
- padding: $space-hair $space-2;
+ padding: 0 $space-tight;
background: $bg-card;
border: 1px solid $border-default;
- border-radius: $radius-full;
+ border-radius: $radius-badge;
font-size: $text-xs;
font-weight: $font-weight-medium;
color: $text-tertiary;
@@ -738,7 +748,8 @@ $dbx-sqlite: #3d8fd1;
align-items: center;
gap: $space-1;
width: 100%;
- padding: $space-2 $space-3;
+ min-height: $control-md;
+ padding: 0 $space-3;
background: transparent;
border: none;
color: inherit;
@@ -805,9 +816,11 @@ $dbx-sqlite: #3d8fd1;
.dbx-pk { color: $color-star; flex-shrink: 0; }
.dbx-engine-tag {
- display: inline-block;
- padding: 1px $space-2;
- border-radius: $radius-full;
+ align-items: center;
+ height: 20px; // geometry: badge height (20px badge spec)
+ display: inline-flex;
+ padding: 0 $space-tight;
+ border-radius: $radius-badge;
font-size: $text-xs;
font-weight: $font-weight-medium;
&.is-mysql { background: fade($color-mysql, 16%); color: $color-mysql; }
@@ -854,7 +867,7 @@ $dbx-sqlite: #3d8fd1;
align-items: center;
justify-content: space-between;
gap: $space-3;
- min-height: 32px;
+ min-height: 32px; // geometry: fixed status-bar chrome
padding: $space-1 $space-3;
background: $bg-card;
border-top: 1px solid $border-default;
@@ -883,7 +896,6 @@ $dbx-sqlite: #3d8fd1;
height: 6px;
border-radius: $radius-full;
background: currentColor;
- box-shadow: 0 0 6px currentColor;
}
}
}
@@ -919,15 +931,16 @@ $dbx-sqlite: #3d8fd1;
align-items: center;
gap: $space-1;
flex-shrink: 0;
- padding: 1px $space-2;
+ height: 20px; // geometry: inline action inside a dense tree row (badge-sized)
+ padding: 0 $space-2;
background: $accent-glow;
border: 1px solid transparent;
- border-radius: $radius-full;
+ border-radius: $radius-control;
color: $accent-primary;
font-family: inherit;
font-size: $text-xs;
font-weight: $font-weight-medium;
- line-height: 1.6;
+ line-height: 1;
cursor: pointer;
transition: background $transition-fast, color $transition-fast, border-color $transition-fast;
@@ -947,7 +960,8 @@ $dbx-sqlite: #3d8fd1;
gap: $space-2;
width: 100%;
margin: $space-2 0 $space-1;
- padding: $space-2 $space-3;
+ min-height: $control-md;
+ padding: 0 $space-3;
background: transparent;
border: 1px dashed $border-active;
border-radius: $radius-control;
@@ -1066,7 +1080,7 @@ $dbx-sqlite: #3d8fd1;
background: $bg-card;
border: 1px solid $border-default;
border-radius: $radius-control;
- box-shadow: $shadow-overlay;
+ box-shadow: $shadow-raised;
z-index: $z-tooltip;
animation: dbx-pop 0.12s $ease-out-quart;
@@ -1171,7 +1185,7 @@ $dbx-sqlite: #3d8fd1;
&:focus {
outline: none;
border-color: $accent-primary;
- box-shadow: 0 0 0 3px $accent-glow;
+ box-shadow: $focus-ring;
}
}
}
@@ -1218,7 +1232,8 @@ $dbx-sqlite: #3d8fd1;
display: flex;
align-items: center;
gap: $space-2;
- padding: $space-2 $space-3;
+ min-height: $control-md;
+ padding: 0 $space-3;
background: $bg-elevated;
border: 1px solid $border-default;
border-radius: $radius-control;
@@ -1226,7 +1241,7 @@ $dbx-sqlite: #3d8fd1;
&:focus-within {
border-color: $accent-primary;
- box-shadow: 0 0 0 3px $accent-glow;
+ box-shadow: $focus-ring;
}
> svg { flex-shrink: 0; color: $text-tertiary; }
@@ -1322,7 +1337,7 @@ $dbx-sqlite: #3d8fd1;
display: grid;
place-items: center;
width: 24px;
- height: 24px;
+ height: 24px; // geometry: inline icon button inside a 32px compact grid cell
padding: 0;
background: transparent;
border: none;
@@ -1437,7 +1452,7 @@ $dbx-sqlite: #3d8fd1;
display: grid;
place-items: center;
width: 24px;
- height: 24px;
+ height: 24px; // geometry: engine glyph icon
flex-shrink: 0;
color: $text-secondary;
}
@@ -1460,11 +1475,12 @@ $dbx-sqlite: #3d8fd1;
}
.dbx-eng-badge {
+ height: 20px; // geometry: badge height (20px badge spec)
display: inline-flex;
align-items: center;
gap: $space-tight;
flex-shrink: 0;
- padding: $space-1 $space-2;
+ padding: 0 $space-tight;
border-radius: $radius-badge;
font-size: $text-xs;
@@ -1564,7 +1580,8 @@ $dbx-sqlite: #3d8fd1;
// Compact variant of the shared .dbx-input, for the column grid's cells.
.dbx-input--sm {
- padding: $space-tight $space-2;
+ min-height: $control-sm;
+ padding: 0 $space-2;
input {
font-family: $font-mono;
font-size: $text-xs;
@@ -1755,7 +1772,7 @@ $dbx-sqlite: #3d8fd1;
display: grid;
place-items: center;
width: 22px;
- height: 22px;
+ height: 22px; // geometry: drawn checkbox sized to the compact grid cell
padding: 0;
background: transparent;
border: 1.5px solid $border-active;
diff --git a/frontend/src/styles/pages/_deploy-console.scss b/frontend/src/styles/pages/_deploy-console.scss
index 480f69da..5b0a214c 100644
--- a/frontend/src/styles/pages/_deploy-console.scss
+++ b/frontend/src/styles/pages/_deploy-console.scss
@@ -42,8 +42,8 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
display: inline-flex;
align-items: center;
justify-content: center;
- width: 32px;
- height: 32px;
+ width: $control-md;
+ height: $control-md;
border-radius: $radius-control;
border: 1px solid $border-subtle;
color: $text-secondary;
@@ -74,10 +74,11 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
display: inline-flex;
align-items: center;
gap: $space-1;
- padding: $space-1 $space-3;
- border-radius: $radius-full;
+ height: 20px; // geometry: badge height (20px badge spec)
+ padding: 0 $space-tight;
+ border-radius: $radius-badge;
font-size: $text-xs;
- font-weight: $font-weight-semibold;
+ font-weight: $font-weight-medium;
text-transform: capitalize;
&--pending { background: var(--surface-3); color: var(--text-faint); }
@@ -264,7 +265,8 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
display: inline-flex;
align-items: center;
gap: $space-1;
- padding: $space-1 $space-2;
+ height: $control-sm;
+ padding: 0 $space-2;
font-size: $text-xs;
border-radius: $radius-control;
border: 1px solid $border-subtle;
@@ -306,7 +308,7 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
color: $text-tertiary;
flex: 1 1 160px;
max-width: 280px;
- min-height: 28px;
+ min-height: $control-sm;
input {
border: none;
@@ -369,7 +371,7 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
// still catches the eye.
&--error {
background: $dc-error;
- box-shadow: 0 0 3px rgba($dc-error, 0.9);
+ box-shadow: 0 0 3px rgba($dc-error, 0.9); // geometry: deploy-console minimap error tick bleed (exempt segment)
min-height: 2px;
}
}
@@ -447,7 +449,7 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
color: #fff;
font-size: $text-xs;
cursor: pointer;
- box-shadow: $shadow-overlay;
+ box-shadow: $shadow-raised;
}
// ---- error card ----
@@ -691,7 +693,7 @@ $dc-surface-line: rgba(255, 255, 255, 0.04);
// The line prev/next landed on, so the eye finds it after the scroll.
&__line.is-current {
background: rgba(255, 255, 255, 0.07);
- box-shadow: inset 2px 0 0 var(--accent-bright);
+ box-shadow: inset 2px 0 0 var(--accent-bright); // geometry: draws the current-line rule
}
// Skip layout and paint for lines that are off-screen. This is what keeps a
diff --git a/frontend/src/styles/pages/_docker.scss b/frontend/src/styles/pages/_docker.scss
index 009fc54e..c64c118e 100644
--- a/frontend/src/styles/pages/_docker.scss
+++ b/frontend/src/styles/pages/_docker.scss
@@ -269,8 +269,6 @@
&:hover {
border-color: $border-hover;
- transform: translateY(-1px);
- box-shadow: $shadow-raised;
}
}
@@ -312,16 +310,18 @@
border-radius: 50%;
flex-shrink: 0;
- &.running { background: $success; box-shadow: 0 0 0 3px fade($success-raw, 16%); opacity: 1; }
+ &.running { background: $success; opacity: 1; }
&.stopped { background: $text-tertiary; opacity: 0.4; }
}
.dx-status-pill {
display: inline-flex;
- padding: 1px $space-2;
- border-radius: $radius-full;
+ align-items: center;
+ height: 20px; // geometry: badge height (20px badge spec)
+ padding: 0 $space-tight;
+ border-radius: $radius-badge;
font-size: $text-xs;
- font-weight: $font-weight-semibold;
+ font-weight: $font-weight-medium;
background: $bg-tertiary;
color: $text-tertiary;
@@ -514,7 +514,7 @@
}
&.is-selected {
- box-shadow: inset 3px 0 0 $accent-primary;
+ box-shadow: inset 3px 0 0 $accent-primary; // geometry: draws the selected-row rule
}
}
}
@@ -551,9 +551,11 @@
}
.dx-code-pill {
- display: inline-flex;
+ display: inline-block;
+ height: 20px; // geometry: badge height (20px badge spec)
+ line-height: 20px; // block, not flex, so the truncate ellipsis still works
max-width: 100%;
- padding: $space-hair $space-2;
+ padding: 0 $space-tight;
border-radius: $radius-badge;
background: $bg-tertiary;
color: $text-secondary;
@@ -617,10 +619,10 @@
}
.dx-row-action {
- width: 28px;
- height: 28px;
+ width: $control-sm;
+ height: $control-sm;
border: 1px solid $border-default;
- border-radius: $radius-badge;
+ border-radius: $radius-control;
background: transparent;
color: $text-tertiary;
display: inline-flex;
@@ -647,9 +649,9 @@
}
.dx-action-btn {
- min-height: 30px;
+ min-height: $control-md;
border: 1px solid $border-default;
- border-radius: $radius-badge;
+ border-radius: $radius-control;
background: $bg-card;
color: $text-secondary;
display: inline-flex;
@@ -684,10 +686,10 @@
display: inline-flex;
align-items: center;
gap: $space-1;
- height: 28px;
+ height: $control-sm;
padding: 0 $space-2;
border: 1px dashed $border-default;
- border-radius: $radius-badge;
+ border-radius: $radius-control;
color: $text-tertiary;
font-size: $text-xs;
white-space: nowrap;
@@ -695,13 +697,13 @@
}
.dx-action-protected {
- min-height: 30px;
+ min-height: $control-md;
display: inline-flex;
align-items: center;
gap: $space-2;
padding: 0 $space-3;
border: 1px dashed $border-default;
- border-radius: $radius-badge;
+ border-radius: $radius-control;
color: $text-tertiary;
font-size: $text-xs;
white-space: nowrap;
@@ -724,7 +726,7 @@
.dx-inspector-icon {
width: 38px;
- height: 38px;
+ height: 38px; // geometry: icon tile
border-radius: $radius-control;
background: fade($info-raw, 12%);
color: $info;
@@ -973,6 +975,11 @@
padding: $space-3;
}
+ // The header takes the shared 32px header height; cells keep their padding.
+ th {
+ padding-block: 0;
+ }
+
tbody tr {
background: $bg-card;
@@ -1007,7 +1014,7 @@
border: none;
border-left: 1px solid $border-default;
border-radius: 0;
- box-shadow: -10px 0 36px rgba(0, 0, 0, 0.42);
+ box-shadow: $shadow-overlay;
z-index: $z-modal;
animation: drawer-slide 0.24s cubic-bezier(0.32, 0.72, 0.24, 1);
}
diff --git a/frontend/src/styles/pages/_domains.scss b/frontend/src/styles/pages/_domains.scss
index bea37a82..67072380 100644
--- a/frontend/src/styles/pages/_domains.scss
+++ b/frontend/src/styles/pages/_domains.scss
@@ -25,7 +25,7 @@
// Domain cell bits
.dom-fav {
width: 30px;
- height: 30px;
+ height: 30px; // geometry: icon tile
border-radius: $radius-card;
display: grid;
place-items: center;
diff --git a/frontend/src/styles/pages/_downloads.scss b/frontend/src/styles/pages/_downloads.scss
index 7db39757..14c71be1 100644
--- a/frontend/src/styles/pages/_downloads.scss
+++ b/frontend/src/styles/pages/_downloads.scss
@@ -13,7 +13,7 @@
.loading-spinner {
width: 40px;
- height: 40px;
+ height: 40px; // geometry: spinner
border: 3px solid $border-default;
border-top-color: $accent-primary;
border-radius: 50%;
@@ -102,7 +102,8 @@
background: transparent;
border: 1px solid rgba(255, 255, 255, 0.4);
color: $white;
- padding: $space-2 $space-4;
+ height: $control-md;
+ padding: 0 $space-4;
border-radius: $radius-control;
font-size: $text-xs;
cursor: pointer;
@@ -118,7 +119,8 @@
background: $white;
color: $accent-primary;
border: none;
- padding: $space-2 $space-5;
+ height: $control-md;
+ padding: 0 $space-5;
border-radius: $radius-control;
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -185,7 +187,7 @@
&:hover {
border-color: $accent-primary;
- box-shadow: 0 0 0 1px $accent-primary;
+ box-shadow: inset 0 0 0 1px $accent-primary; // geometry: doubles the hover border
}
&.unavailable {
@@ -209,7 +211,7 @@
.platform-icon {
width: 32px;
- height: 32px;
+ height: 32px; // geometry: icon
color: $text-primary;
}
}
@@ -265,7 +267,7 @@
.platform-icon {
width: 24px;
- height: 24px;
+ height: 24px; // geometry: icon
color: $text-primary;
}
@@ -308,7 +310,7 @@
.step-number {
flex-shrink: 0;
width: 32px;
- height: 32px;
+ height: 32px; // geometry: step-number disc
background: $accent-primary;
border-radius: 50%;
display: flex;
diff --git a/frontend/src/styles/pages/_file-manager.scss b/frontend/src/styles/pages/_file-manager.scss
index 0c901bd0..cce432ba 100644
--- a/frontend/src/styles/pages/_file-manager.scss
+++ b/frontend/src/styles/pages/_file-manager.scss
@@ -164,9 +164,9 @@ $ft-default: #646b7a;
.nav-btn {
background: transparent;
border: none;
- width: 30px;
- height: 30px;
- border-radius: $radius-card;
+ width: $control-sm;
+ height: $control-sm;
+ border-radius: $radius-control;
color: var(--text-dim);
cursor: pointer;
display: flex;
@@ -233,12 +233,13 @@ $ft-default: #646b7a;
}
.file-mount-chip {
+ height: 20px; // geometry: badge height (20px badge spec)
display: inline-flex;
align-items: center;
min-width: 0;
gap: $space-tight;
margin-inline-start: $space-1;
- padding: $space-1 $space-2;
+ padding: 0 $space-tight;
border: 1px solid var(--border-soft);
border-radius: $radius-badge;
background: var(--surface-2);
@@ -307,10 +308,11 @@ $ft-default: #646b7a;
display: inline-flex;
align-items: center;
gap: $space-2;
- padding: $space-tight $space-3;
+ height: $control-md;
+ padding: 0 $space-3;
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: $radius-card;
+ border-radius: $radius-control;
color: var(--text-dim);
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -354,7 +356,7 @@ $ft-default: #646b7a;
align-items: center;
justify-content: flex-start;
width: auto;
- height: 32px;
+ height: $control-md;
min-width: 0;
gap: $space-tight;
padding-inline: $space-2 $space-tight;
@@ -400,7 +402,7 @@ $ft-default: #646b7a;
background: transparent;
border: none;
width: 30px;
- height: 26px;
+ height: $control-sm;
border-radius: $radius-control;
color: var(--text-faint);
cursor: pointer;
@@ -565,7 +567,7 @@ $ft-default: #646b7a;
background: $bg-body;
padding: $space-4;
z-index: $z-modal;
- box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
+ box-shadow: $shadow-overlay;
}
}
@@ -594,7 +596,7 @@ $ft-default: #646b7a;
background: var(--green);
box-shadow: none;
- &.is-cloud { background: var(--cyan); box-shadow: 0 0 5px var(--cyan); }
+ &.is-cloud { background: var(--cyan); }
}
&__close {
@@ -604,7 +606,7 @@ $ft-default: #646b7a;
z-index: 2;
display: none;
width: 25px;
- height: 25px;
+ height: 25px; // geometry: close glyph pinned inside a source tab
place-items: center;
border: 0;
border-radius: $radius-badge;
@@ -699,8 +701,8 @@ $ft-default: #646b7a;
display: flex;
align-items: center;
justify-content: center;
- width: 26px;
- height: 26px;
+ width: $control-sm;
+ height: $control-sm;
margin-right: $space-hair;
background: transparent;
border: none;
@@ -827,7 +829,7 @@ $ft-default: #646b7a;
select {
width: 100%;
- min-height: 28px;
+ min-height: $control-sm;
padding: $space-1 $space-2;
background: var(--surface-2);
border: 1px solid var(--border);
@@ -1186,14 +1188,17 @@ $ft-default: #646b7a;
}
.ext-badge {
+ display: inline-flex;
+ align-items: center;
+ height: 20px; // geometry: badge height (20px badge spec)
position: absolute;
bottom: 4px;
left: 4px;
- padding: 1px $space-tight;
+ padding: 0 $space-tight;
background: rgba(0, 0, 0, 0.6);
border-radius: $radius-badge;
font-size: $text-xs;
- font-weight: $font-weight-semibold;
+ font-weight: $font-weight-medium;
color: white;
// demo keeps the extension visible on image thumbs at all times
opacity: 1;
@@ -1468,7 +1473,7 @@ $ft-default: #646b7a;
background: var(--surface-2);
border: 1px solid var(--border-strong);
border-radius: $radius-card;
- box-shadow: var(--shadow-lg);
+ box-shadow: $shadow-raised;
min-width: 200px;
padding: $space-tight;
z-index: $z-tooltip;
@@ -1551,7 +1556,7 @@ $drawer-width: 520px;
max-width: 100%;
background: var(--surface);
border-left: 1px solid var(--border-soft);
- box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
+ box-shadow: $shadow-overlay;
z-index: $z-modal;
display: flex;
flex-direction: column;
@@ -1712,7 +1717,7 @@ $drawer-width: 520px;
max-width: 100%;
max-height: 100%;
border-radius: $radius-control;
- box-shadow: var(--shadow-lg);
+ box-shadow: none;
}
}
diff --git a/frontend/src/styles/pages/_fleet-monitor.scss b/frontend/src/styles/pages/_fleet-monitor.scss
index 8c2168bf..e72d3dbe 100644
--- a/frontend/src/styles/pages/_fleet-monitor.scss
+++ b/frontend/src/styles/pages/_fleet-monitor.scss
@@ -66,8 +66,8 @@
.fleet-modal {
background: $bg-elevated;
border: 1px solid $border-default;
- border-radius: $radius-card;
- box-shadow: var(--shadow-lg);
+ border-radius: $radius-overlay;
+ box-shadow: $shadow-overlay;
}
// The heatmap grid that used to live here is gone: colour-coded cells were a
diff --git a/frontend/src/styles/pages/_import-wizard.scss b/frontend/src/styles/pages/_import-wizard.scss
index 73bd6a4f..c0eee505 100644
--- a/frontend/src/styles/pages/_import-wizard.scss
+++ b/frontend/src/styles/pages/_import-wizard.scss
@@ -77,7 +77,7 @@
align-items: center;
justify-content: center;
width: 22px;
- height: 22px;
+ height: 22px; // geometry: stepper dot
border: 1px solid $border-default;
border-radius: $radius-full;
font-size: $text-xs;
@@ -167,7 +167,7 @@
align-items: center;
justify-content: center;
width: 36px;
- height: 36px;
+ height: 36px; // geometry: icon tile
border-radius: $radius-control;
@include status-variant($accent-primary, $accent-bg);
}
@@ -351,12 +351,13 @@
}
&__chip {
+ height: 20px; // geometry: badge height (20px badge spec)
display: inline-flex;
align-items: center;
gap: $space-2;
- padding: $space-1 $space-3;
+ padding: 0 $space-tight;
background: $bg-tertiary;
- border-radius: $radius-full;
+ border-radius: $radius-badge;
font-size: $text-xs;
color: $text-primary;
diff --git a/frontend/src/styles/pages/_marketplace.scss b/frontend/src/styles/pages/_marketplace.scss
index 62d76630..d478ee65 100644
--- a/frontend/src/styles/pages/_marketplace.scss
+++ b/frontend/src/styles/pages/_marketplace.scss
@@ -1,9 +1,6 @@
// Marketplace page styles
.marketplace-page {
- .card {
- border-radius: $radius-card;
- }
.marketplace-hero {
position: relative;
@@ -101,7 +98,7 @@
.extension-card__glyph {
width: 20px;
- height: 20px;
+ height: 20px; // geometry: icon
}
}
@@ -137,7 +134,7 @@
align-items: center;
justify-content: center;
width: 34px;
- height: 34px;
+ height: 34px; // geometry: icon tile
flex: 0 0 34px;
border-radius: $radius-card;
@@ -210,7 +207,7 @@
svg {
width: 30px;
- height: 30px;
+ height: 30px; // geometry: icon
}
}
@@ -293,7 +290,7 @@
.extension-card__glyph {
width: 46px;
- height: 46px;
+ height: 46px; // geometry: icon
}
.extension-card__icon {
@@ -438,7 +435,7 @@
align-items: center;
justify-content: center;
width: 38px;
- height: 38px;
+ height: 38px; // geometry: icon tile
flex: 0 0 38px;
border-radius: $radius-card;
color: $accent-primary;
@@ -464,7 +461,7 @@
display: inline-flex;
align-items: center;
gap: $space-2;
- height: 32px;
+ height: $control-sm;
padding: 0 $space-3;
border: 1px solid transparent;
border-radius: $radius-control;
diff --git a/frontend/src/styles/pages/_monitoring.scss b/frontend/src/styles/pages/_monitoring.scss
index da08917e..de7352af 100644
--- a/frontend/src/styles/pages/_monitoring.scss
+++ b/frontend/src/styles/pages/_monitoring.scss
@@ -13,11 +13,11 @@
display: inline-flex;
align-items: center;
gap: $space-2;
- height: 32px;
+ height: $control-md;
padding: 0 $space-3;
max-width: 210px;
border: 1px solid var(--border);
- border-radius: $radius-card;
+ border-radius: $radius-control;
background: var(--surface-2);
color: var(--text-dim);
font-size: $text-sm;
diff --git a/frontend/src/styles/pages/_monitors.scss b/frontend/src/styles/pages/_monitors.scss
index 9850c6bb..ccd66625 100644
--- a/frontend/src/styles/pages/_monitors.scss
+++ b/frontend/src/styles/pages/_monitors.scss
@@ -22,7 +22,7 @@
// Neutral icon tile (rule editors, channel tiles, host cards)
.mon-ico {
width: 30px;
- height: 30px;
+ height: 30px; // geometry: icon tile
border-radius: $radius-card;
display: grid;
place-items: center;
@@ -32,7 +32,7 @@
&--sm {
width: 26px;
- height: 26px;
+ height: 26px; // geometry: icon tile
border-radius: $radius-control;
}
}
@@ -195,7 +195,7 @@
&__ico {
width: 28px;
- height: 28px;
+ height: 28px; // geometry: icon tile
border-radius: $radius-card;
display: grid;
place-items: center;
@@ -223,13 +223,13 @@
&__spark {
display: block;
- height: 38px;
+ height: 38px; // geometry: sparkline chart box
svg { width: 100%; height: 100%; }
&--empty {
border-bottom: 1px dashed var(--border-soft);
- height: 37px;
+ height: 37px; // geometry: empty sparkline baseline (chart box)
}
}
@@ -1025,7 +1025,7 @@
border-radius: 50%;
background: var(--text-ghost);
- &--red { background: var(--red); box-shadow: 0 0 6px var(--red); }
+ &--red { background: var(--red); }
&--amber { background: var(--amber); }
&--cyan { background: var(--cyan); }
&--green { background: var(--green); }
diff --git a/frontend/src/styles/pages/_new-service.scss b/frontend/src/styles/pages/_new-service.scss
index 8a2e7454..d4d73ead 100644
--- a/frontend/src/styles/pages/_new-service.scss
+++ b/frontend/src/styles/pages/_new-service.scss
@@ -57,7 +57,7 @@
display: grid;
place-items: center;
width: 24px;
- height: 24px;
+ height: 24px; // geometry: stepper dot
border-radius: $radius-full;
background: $bg-elevated;
border: 1px solid $border-subtle;
@@ -165,7 +165,7 @@
display: grid;
place-items: center;
width: 42px;
- height: 42px;
+ height: 42px; // geometry: icon tile
flex-shrink: 0;
border-radius: $radius-card;
background: var(--surface-2);
@@ -218,7 +218,7 @@
display: grid;
place-items: center;
width: 36px;
- height: 36px;
+ height: 36px; // geometry: icon tile
flex-shrink: 0;
border-radius: $radius-card;
background: $bg-elevated;
@@ -239,7 +239,7 @@
img {
width: 36px;
- height: 36px;
+ height: 36px; // geometry: avatar
border-radius: $radius-full;
}
@@ -308,7 +308,7 @@
&--active {
border-color: rgba(20, 184, 166, 0.55);
- box-shadow: inset 0 0 0 1px rgba(20, 184, 166, 0.18);
+ box-shadow: inset 0 0 0 1px rgba(20, 184, 166, 0.18); // geometry: inset border
}
span,
@@ -419,7 +419,7 @@
&--active {
border-color: rgba(20, 184, 166, 0.55);
- box-shadow: inset 0 0 0 1px rgba(20, 184, 166, 0.18);
+ box-shadow: inset 0 0 0 1px rgba(20, 184, 166, 0.18); // geometry: inset border
> svg {
color: $success;
@@ -518,7 +518,7 @@
&--active {
border-color: rgba(20, 184, 166, 0.55);
- box-shadow: inset 0 0 0 1px rgba(20, 184, 166, 0.18);
+ box-shadow: inset 0 0 0 1px rgba(20, 184, 166, 0.18); // geometry: inset border
}
}
@@ -526,7 +526,7 @@
display: grid;
place-items: center;
width: 44px;
- height: 44px;
+ height: 44px; // geometry: icon tile
border-radius: $radius-card;
background: var(--surface-2);
color: var(--accent-bright);
@@ -625,7 +625,7 @@
}
input {
- min-height: 40px;
+ min-height: $control-md;
width: 100%;
background: $bg-elevated;
border: 1px solid $border-subtle;
@@ -636,7 +636,7 @@
&:focus {
outline: none;
border-color: $accent-primary;
- box-shadow: 0 0 0 3px $accent-glow;
+ box-shadow: $focus-ring;
}
}
}
@@ -790,12 +790,13 @@
display: inline-flex;
align-items: center;
gap: $space-1;
- min-height: 24px;
- padding: 0 $space-2;
+ height: 20px; // geometry: badge height (20px badge spec)
+ padding: 0 $space-tight;
border: 1px solid $border-subtle;
- border-radius: $radius-full;
+ border-radius: $radius-badge;
color: $text-secondary;
font-size: $text-xs;
+ font-weight: $font-weight-medium;
line-height: 1;
}
@@ -833,7 +834,6 @@
align-items: center;
gap: $space-2;
flex-wrap: wrap;
- min-height: 32px;
padding: $space-2 $space-3;
background: $bg-card;
border: 1px solid $border-subtle;
@@ -850,10 +850,10 @@
&__manifest-badge {
display: inline-flex;
align-items: center;
- min-height: 20px;
- padding: 0 $space-2;
+ height: 20px; // geometry: badge height (20px badge spec)
+ padding: 0 $space-tight;
background: rgba(99, 102, 241, 0.12);
- border-radius: $radius-full;
+ border-radius: $radius-badge;
color: $accent-primary;
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -869,11 +869,11 @@
&__manifest-chip {
display: inline-flex;
align-items: center;
- min-height: 20px;
- padding: 0 $space-2;
+ height: 20px; // geometry: badge height (20px badge spec)
+ padding: 0 $space-tight;
margin-left: auto;
background: rgba(16, 185, 129, 0.1);
- border-radius: $radius-full;
+ border-radius: $radius-badge;
color: $success;
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -906,13 +906,14 @@
span {
display: inline-flex;
align-items: center;
- min-height: 24px;
- padding: 0 $space-2;
+ min-height: 20px; // geometry: badge height (20px badge spec; long values wrap)
+ padding: 0 $space-tight;
background: $bg-card;
border: 1px solid $border-subtle;
- border-radius: $radius-full;
+ border-radius: $radius-badge;
color: $text-secondary;
font-size: $text-xs;
+ font-weight: $font-weight-medium;
overflow-wrap: anywhere;
}
}
@@ -951,8 +952,7 @@
display: flex;
align-items: center;
gap: $space-2;
- min-height: 40px;
- padding: 0 $space-3;
+ padding: $space-2 $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
border-radius: $radius-control;
@@ -970,7 +970,7 @@
align-items: center;
justify-content: space-between;
gap: $space-3;
- min-height: 44px;
+ min-height: $control-md;
padding: 0 $space-3;
background: $bg-elevated;
border: 1px solid $border-subtle;
diff --git a/frontend/src/styles/pages/_notification-center.scss b/frontend/src/styles/pages/_notification-center.scss
index 8724b10c..f2b92f99 100644
--- a/frontend/src/styles/pages/_notification-center.scss
+++ b/frontend/src/styles/pages/_notification-center.scss
@@ -381,10 +381,11 @@
}
.sk-notif-chip {
- padding: $space-1 $space-3;
+ height: $control-sm;
+ padding: 0 $space-3;
font-size: $text-xs;
border: 1px solid $border-subtle;
- border-radius: $radius-full;
+ border-radius: $radius-control;
background: $bg-card;
color: $text-secondary;
cursor: pointer;
diff --git a/frontend/src/styles/pages/_projects.scss b/frontend/src/styles/pages/_projects.scss
index bde293b1..5c995582 100644
--- a/frontend/src/styles/pages/_projects.scss
+++ b/frontend/src/styles/pages/_projects.scss
@@ -29,19 +29,16 @@
display: flex;
flex-direction: column;
gap: $space-3;
- padding: $space-5;
+ padding: $space-4;
background: $bg-card;
border: 1px solid $border-subtle;
border-radius: $radius-card;
text-decoration: none;
color: inherit;
- transition: border-color $transition-fast, transform $transition-fast,
- box-shadow $transition-fast;
+ transition: border-color $transition-fast;
&:hover {
border-color: $border-active;
- transform: translateY(-2px);
- box-shadow: $shadow-raised;
}
&__header {
@@ -55,7 +52,7 @@
align-items: center;
justify-content: center;
width: 38px;
- height: 38px;
+ height: 38px; // geometry: icon tile
border-radius: $radius-control;
background: $bg-hover;
color: $accent-primary;
@@ -179,11 +176,11 @@
&__pill {
display: inline-flex;
align-items: center;
- min-height: 20px;
- padding: 0 $space-3;
- border-radius: $radius-full;
+ height: 20px; // geometry: badge height (20px badge spec)
+ padding: 0 $space-tight;
+ border-radius: $radius-badge;
font-size: $text-xs;
- font-weight: $font-weight-semibold;
+ font-weight: $font-weight-medium;
text-transform: capitalize;
background: $bg-card;
color: $text-secondary;
@@ -243,7 +240,7 @@
align-items: center;
justify-content: center;
min-width: 20px;
- height: 20px;
+ height: 20px; // geometry: counter badge height (20px badge spec)
padding: 0 $space-tight;
border-radius: $radius-full;
background: $bg-hover;
@@ -262,11 +259,11 @@
display: inline-flex;
align-items: center;
justify-content: center;
- width: 22px;
- height: 22px;
+ width: $control-sm;
+ height: $control-sm;
background: none;
border: none;
- border-radius: $radius-badge;
+ border-radius: $radius-control;
color: $text-tertiary;
cursor: pointer;
transition: background $transition-fast, color $transition-fast;
diff --git a/frontend/src/styles/pages/_queue-operations.scss b/frontend/src/styles/pages/_queue-operations.scss
index 61569e25..8db6c1a8 100644
--- a/frontend/src/styles/pages/_queue-operations.scss
+++ b/frontend/src/styles/pages/_queue-operations.scss
@@ -21,7 +21,7 @@
linear-gradient(135deg, $accent-glow, transparent 55%),
$bg-card;
color: $text-secondary;
- box-shadow: $shadow-overlay;
+ box-shadow: none;
svg {
color: $accent-primary;
@@ -188,10 +188,11 @@
}
.queue-group-badge {
+ height: 20px; // geometry: badge height (20px badge spec)
display: inline-flex;
align-items: center;
- padding: 1px $space-2;
- border-radius: $radius-full;
+ padding: 0 $space-tight;
+ border-radius: $radius-badge;
background: $bg-elevated;
border: 1px solid $border-subtle;
font-size: $text-xs;
@@ -545,16 +546,17 @@
}
.queue-readonly-badge {
+ height: 20px; // geometry: badge height (20px badge spec)
display: inline-flex;
align-items: center;
gap: $space-1;
- padding: $space-1 $space-3;
- border-radius: $radius-full;
+ padding: 0 $space-tight;
+ border-radius: $radius-badge;
background: $bg-elevated;
border: 1px solid $border-subtle;
color: $text-tertiary;
font-size: $text-xs;
- font-weight: $font-weight-semibold;
+ font-weight: $font-weight-medium;
svg {
color: $text-tertiary;
diff --git a/frontend/src/styles/pages/_recipes.scss b/frontend/src/styles/pages/_recipes.scss
index d11e10ef..9aff3346 100644
--- a/frontend/src/styles/pages/_recipes.scss
+++ b/frontend/src/styles/pages/_recipes.scss
@@ -27,7 +27,7 @@
align-items: center;
gap: $space-2;
width: 260px;
- height: 34px;
+ height: $control-md;
padding: 0 $space-3;
border: 1px solid var(--border-color);
border-radius: $radius-control;
@@ -104,7 +104,7 @@
align-items: center;
justify-content: center;
width: 34px;
- height: 34px;
+ height: 34px; // geometry: icon tile
flex-shrink: 0;
border-radius: $radius-control;
background: color-mix(in srgb, var(--primary-color) 12%, transparent);
@@ -201,7 +201,7 @@
.form-input {
width: 100%;
- height: 36px;
+ height: $control-md;
padding: 0 $space-3;
border: 1px solid var(--border-color);
border-radius: $radius-control;
@@ -248,7 +248,7 @@
.is-on & {
border-color: var(--primary-color);
- box-shadow: inset 0 0 0 3.5px var(--primary-color);
+ box-shadow: inset 0 0 0 3.5px var(--primary-color); // geometry: draws the radio's inner dot
}
}
diff --git a/frontend/src/styles/pages/_security.scss b/frontend/src/styles/pages/_security.scss
index 885483d8..cf884548 100644
--- a/frontend/src/styles/pages/_security.scss
+++ b/frontend/src/styles/pages/_security.scss
@@ -12,9 +12,6 @@
.card {
background: var(--surface);
border: 1px solid var(--border-soft);
- border-radius: var(--radius);
- padding: $space-5;
- box-shadow: none;
}
.card-header {
@@ -40,8 +37,8 @@
.card.sec-flush {
padding: 0;
- .card-header { padding: $space-5 $space-4 0; }
- > .card-body { padding: 0 $space-4 $space-5; }
+ .card-header { padding: $space-4 $space-4 0; }
+ > .card-body { padding: 0 $space-4 $space-4; }
}
// Stateful card borders
@@ -343,7 +340,7 @@
display: flex;
align-items: center;
gap: $space-3;
- min-height: 46px;
+ min-height: 40px; // geometry: list-row height (40 default row)
padding: $space-tight 0;
border-top: 1px solid var(--border-soft);
font-size: $text-sm;
@@ -453,7 +450,7 @@
display: grid;
place-items: center;
width: 38px;
- height: 38px;
+ height: 38px; // geometry: icon tile
margin-bottom: $space-3;
border-radius: $radius-card;
background: var(--surface-2);
@@ -492,10 +489,10 @@
flex: 1;
min-width: 0;
padding: 0 $space-2;
- height: 32px;
+ height: $control-md;
background: var(--surface-2);
border: 1px solid var(--border-soft);
- border-radius: var(--radius-sm);
+ border-radius: $radius-control;
color: var(--text);
font-size: $text-sm;
@@ -555,7 +552,7 @@
.spinner {
width: 32px;
- height: 32px;
+ height: 32px; // geometry: spinner icon
}
p {
@@ -624,7 +621,7 @@
display: grid;
place-items: center;
width: 32px;
- height: 32px;
+ height: 32px; // geometry: icon tile
border-radius: $radius-card;
flex-shrink: 0;
}
@@ -790,7 +787,7 @@
.spinner {
width: 40px;
- height: 40px;
+ height: 40px; // geometry: spinner icon
}
}
diff --git a/frontend/src/styles/pages/_server-packages.scss b/frontend/src/styles/pages/_server-packages.scss
index 0d150f4d..17efe751 100644
--- a/frontend/src/styles/pages/_server-packages.scss
+++ b/frontend/src/styles/pages/_server-packages.scss
@@ -37,8 +37,9 @@
}
&__chip {
- padding: 0.4rem 0.85rem;
- border-radius: $radius-full;
+ height: $control-sm;
+ padding: 0 $space-3;
+ border-radius: $radius-control;
border: 1px solid var(--border);
background: var(--surface-2);
color: var(--text-dim);
@@ -182,7 +183,7 @@
align-items: center;
padding: 0.6rem 0;
border-bottom: 1px solid var(--border-soft);
- min-height: 40px;
+ min-height: 40px; // geometry: table-row height (40 default row)
&:last-child {
border-bottom: none;
diff --git a/frontend/src/styles/pages/_server-survey.scss b/frontend/src/styles/pages/_server-survey.scss
index 0419fde4..246baa72 100644
--- a/frontend/src/styles/pages/_server-survey.scss
+++ b/frontend/src/styles/pages/_server-survey.scss
@@ -306,13 +306,15 @@
// Observed-mode chip on the server list rows.
.server-row__mode-chip {
- display: inline-block;
+ align-items: center;
+ height: 20px; // geometry: badge height (20px badge spec)
+ display: inline-flex;
margin-left: $space-2;
- padding: 1px $space-2;
+ padding: 0 $space-tight;
font-size: $text-xs;
font-weight: $font-weight-medium;
@include status-variant($warning, $warning-bg);
border: 1px solid $warning-border;
- border-radius: $radius-full;
+ border-radius: $radius-badge;
vertical-align: middle;
}
diff --git a/frontend/src/styles/pages/_servers.scss b/frontend/src/styles/pages/_servers.scss
index 7d6fc597..d3332c68 100644
--- a/frontend/src/styles/pages/_servers.scss
+++ b/frontend/src/styles/pages/_servers.scss
@@ -33,7 +33,7 @@
&__ico {
width: 30px;
- height: 30px;
+ height: 30px; // geometry: icon tile
border-radius: $radius-card;
display: grid;
place-items: center;
@@ -94,11 +94,11 @@
input {
width: 100%;
- height: 44px;
+ height: $control-md;
background: $bg-body;
border: 1px solid $border-subtle;
- border-radius: $radius-overlay;
- padding: $space-3 $space-3 $space-3 $space-10;
+ border-radius: $radius-control;
+ padding: 0 $space-3 0 $space-10;
color: $text-primary;
font-size: $text-xs;
@@ -172,7 +172,8 @@
&__tab {
flex: 1;
- padding: $space-2 $space-3;
+ height: $control-sm;
+ padding: 0 $space-3;
background: transparent;
border: none;
border-radius: calc(#{$radius-control} - 1px);
@@ -189,7 +190,7 @@
&.is-active {
background: $bg-card;
color: $text-primary;
- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
+ box-shadow: none;
}
}
}
@@ -653,7 +654,8 @@
display: inline-flex;
align-items: center;
gap: $space-1;
- padding: $space-1 $space-2;
+ height: 20px; // geometry: badge height (20px badge spec)
+ padding: 0 $space-tight;
border-radius: $radius-badge;
font-size: $text-xs;
font-weight: $font-weight-medium;
@@ -940,12 +942,6 @@
color: $text-primary;
}
- .badge-success {
- font-size: $text-xs;
- padding: $space-hair $space-2;
- @include status-variant($success, $success-bg);
- border-radius: $radius-badge;
- }
}
.ip-add-form {
@@ -1039,10 +1035,13 @@
}
.severity-badge {
+ display: inline-flex;
+ align-items: center;
+ height: 20px; // geometry: badge height (20px badge spec)
font-size: $text-xs;
- font-weight: $font-weight-semibold;
- padding: $space-hair $space-2;
- border-radius: $radius-control;
+ font-weight: $font-weight-medium;
+ padding: 0 $space-tight;
+ border-radius: $radius-badge;
&.critical { @include status-variant(var(--red), var(--red-bg)); }
&.high { @include status-variant(var(--amber), var(--amber-bg)); }
@@ -1136,7 +1135,7 @@
align-items: center;
justify-content: center;
width: 36px;
- height: 36px;
+ height: 36px; // geometry: icon tile
flex-shrink: 0;
border-radius: $radius-control;
background: rgba($accent-primary-raw, 0.12);
@@ -1285,7 +1284,7 @@
svg {
flex-shrink: 0;
width: 22px;
- height: 22px;
+ height: 22px; // geometry: icon
margin-top: 1px;
}
@@ -1323,7 +1322,7 @@
.servers-bulk-group {
width: auto;
min-width: 140px;
- height: 30px;
+ height: $control-sm;
}
.install-fallback {
@@ -1515,20 +1514,6 @@
border-spacing: 0;
font-size: $text-xs;
- thead th {
- position: sticky;
- top: 0;
- z-index: 1;
- text-align: left;
- padding: $space-3 $space-4;
- font-size: $text-xs;
- font-weight: $font-weight-semibold;
- color: var(--text-faint);
- background: var(--surface-2);
- border-bottom: 1px solid var(--border);
- white-space: nowrap;
- }
-
tbody td {
padding: $space-3 $space-4;
border-bottom: 1px solid $border-subtle;
@@ -1576,7 +1561,7 @@
}
&--offline .status-pill__dot { background: $danger; }
- &--online .status-pill__dot { background: $success; box-shadow: 0 0 8px $success; }
+ &--online .status-pill__dot { background: $success; }
&--connecting .status-pill__dot { background: $warning; }
&--pending .status-pill__dot { background: $text-tertiary; }
}
@@ -1597,7 +1582,7 @@
.server-row__avatar {
flex-shrink: 0;
width: 32px;
- height: 32px;
+ height: 32px; // geometry: avatar
display: flex;
align-items: center;
justify-content: center;
@@ -1726,10 +1711,11 @@
display: inline-flex;
align-items: center;
gap: $space-tight;
- padding: $space-1 $space-3 $space-1 $space-2;
- border-radius: $radius-full;
+ height: 20px; // geometry: badge height (20px badge spec)
+ padding: 0 $space-tight;
+ border-radius: $radius-badge;
font-size: $text-xs;
- font-weight: $font-weight-semibold;
+ font-weight: $font-weight-medium;
text-transform: capitalize;
border: 1px solid transparent;
line-height: 1;
@@ -1770,8 +1756,8 @@
display: inline-flex;
align-items: center;
justify-content: center;
- width: 30px;
- height: 30px;
+ width: $control-sm;
+ height: $control-sm;
border: 1px solid transparent;
border-radius: $radius-control;
background: transparent;
@@ -1795,7 +1781,7 @@
background: $bg-card;
border: 1px solid $border-subtle;
border-radius: $radius-card;
- box-shadow: $shadow-overlay;
+ box-shadow: $shadow-raised;
display: flex;
flex-direction: column;
gap: $space-hair;
@@ -1893,7 +1879,6 @@
background: var(--green-bg);
border-color: fade($success-raw, 25%);
color: var(--green);
- box-shadow: 0 0 0 4px fade($success-raw, 7%), 0 0 24px fade($success-raw, 12%);
}
&--offline {
background: var(--red-bg);
@@ -2176,7 +2161,7 @@
gap: $space-3;
padding: $space-3 0;
border-bottom: 1px solid var(--border-soft);
- min-height: 40px;
+ min-height: 40px; // geometry: table-row height (40 default row)
font-size: $text-sm;
&:last-child { border-bottom: 0; }
@@ -2265,7 +2250,7 @@
align-items: center;
justify-content: center;
width: 32px;
- height: 32px;
+ height: 32px; // geometry: icon tile
border-radius: $radius-control;
background: $bg-elevated;
flex-shrink: 0;
@@ -2388,15 +2373,6 @@
display: flex;
gap: $space-2;
margin-top: $space-3;
-
- .btn,
- button {
- height: 30px;
- padding: 0 $space-3;
- font-size: $text-xs;
- font-weight: $font-weight-medium;
- border-radius: $radius-control;
- }
}
}
diff --git a/frontend/src/styles/pages/_service-detail.scss b/frontend/src/styles/pages/_service-detail.scss
index 3536c220..bae79e13 100644
--- a/frontend/src/styles/pages/_service-detail.scss
+++ b/frontend/src/styles/pages/_service-detail.scss
@@ -79,28 +79,24 @@
flex-wrap: wrap;
justify-content: flex-end;
row-gap: $space-tight;
-
- .ui-button {
- height: 32px;
- padding: 0 $space-3;
- font-size: $text-sm;
- gap: $space-tight;
- }
}
}
// Gradient initial avatar (ds ServiceTile — size via props)
&__tile {
border-radius: $radius-overlay;
- box-shadow: var(--shadow-sm);
+ box-shadow: none;
}
// Service-type tag (brand colors arrive via inline style props)
&__type-badge {
+ display: inline-flex;
+ align-items: center;
+ height: 20px; // geometry: badge height (20px badge spec)
font-size: $text-xs;
- font-weight: $font-weight-semibold;
- padding: $space-hair $space-2;
- border-radius: $radius-control;
+ font-weight: $font-weight-medium;
+ padding: 0 $space-tight;
+ border-radius: $radius-badge;
border: 1px solid;
}
@@ -119,7 +115,7 @@
padding: $space-1;
min-width: 200px;
z-index: $z-dropdown;
- box-shadow: var(--shadow-md);
+ box-shadow: $shadow-raised;
&--right {
left: auto;
@@ -219,9 +215,12 @@
}
&__auto-deploy-badge {
+ display: inline-flex;
+ align-items: center;
+ height: 20px; // geometry: badge height (20px badge spec)
font-size: $text-xs;
- font-weight: $font-weight-semibold;
- padding: 1px $space-tight;
+ font-weight: $font-weight-medium;
+ padding: 0 $space-tight;
@include status-variant(var(--green), var(--green-bg));
border-radius: $radius-badge;
}
@@ -574,9 +573,10 @@ h3.svc-eyebrow {
// to its label, so each item's box was a different width
align-items: center;
gap: $space-2;
- padding: $space-2 $space-3;
+ min-height: $control-md;
+ padding: 0 $space-3;
border: none;
- border-radius: $radius-card;
+ border-radius: $radius-control;
background: none;
color: var(--text-dim);
font-size: $text-sm;
@@ -670,11 +670,11 @@ h3.svc-eyebrow {
&__pill {
display: inline-flex;
align-items: center;
- min-height: 22px;
- padding: 0 $space-3;
- border-radius: $radius-full;
+ height: 20px; // geometry: badge height (20px badge spec)
+ padding: 0 $space-tight;
+ border-radius: $radius-badge;
font-size: $text-xs;
- font-weight: $font-weight-semibold;
+ font-weight: $font-weight-medium;
background: var(--surface-hover);
color: var(--text-dim);
@@ -762,12 +762,12 @@ h3.svc-eyebrow {
&__step-type {
display: inline-flex;
align-items: center;
- min-height: 20px;
- padding: 0 $space-2;
- border-radius: $radius-full;
+ height: 20px; // geometry: badge height (20px badge spec)
+ padding: 0 $space-tight;
+ border-radius: $radius-badge;
@include status-variant(var(--accent-bright), var(--accent-bg));
font-size: $text-xs;
- font-weight: $font-weight-semibold;
+ font-weight: $font-weight-medium;
text-transform: capitalize;
&.is-error { background: rgba(239, 68, 68, 0.14); color: $danger; }
@@ -853,11 +853,10 @@ h3.svc-eyebrow {
flex-direction: column;
gap: $space-5;
- // Lift the KPI tiles so they read as deliberate stat cards rather than flat
- // boxes that dissolve into the page (dark --surface ≈ --bg-body).
+ // A firmer border (no shadow: cards stay flat) keeps the KPI tiles from
+ // dissolving into the page (dark --surface ≈ --bg-body).
.sk-kpi {
border-color: var(--border);
- box-shadow: var(--shadow-sm);
}
// KPI strip (ds MetricCard) — legacy grid, kept for any non-KpiBand use
@@ -884,9 +883,9 @@ h3.svc-eyebrow {
&__card {
background: var(--surface);
border: 1px solid var(--border);
- border-radius: var(--radius);
- box-shadow: var(--shadow-sm);
- padding: $space-4 $space-5;
+ border-radius: $radius-card;
+ box-shadow: none;
+ padding: $space-4;
&--full {
grid-column: 1 / -1;
@@ -921,10 +920,13 @@ h3.svc-eyebrow {
// Info badge (brand colors via inline style props)
&__info-badge {
+ display: inline-flex;
+ align-items: center;
+ height: 20px; // geometry: badge height (20px badge spec)
font-size: $text-xs;
- font-weight: $font-weight-semibold;
- padding: $space-hair $space-2;
- border-radius: $radius-control;
+ font-weight: $font-weight-medium;
+ padding: 0 $space-tight;
+ border-radius: $radius-badge;
border: 1px solid;
}
@@ -1030,9 +1032,9 @@ h3.svc-eyebrow {
flex-shrink: 0;
background: var(--text-ghost);
- &--green { background: var(--green); box-shadow: 0 0 6px var(--green); }
+ &--green { background: var(--green); }
&--red { background: var(--red); }
- &--amber { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
+ &--amber { background: var(--amber); }
&--cyan { background: var(--cyan); }
&--gray { background: var(--text-faint); }
}
diff --git a/frontend/src/styles/pages/_services.scss b/frontend/src/styles/pages/_services.scss
index 4359acee..3a030579 100644
--- a/frontend/src/styles/pages/_services.scss
+++ b/frontend/src/styles/pages/_services.scss
@@ -7,13 +7,14 @@
.services-page {
// Source badge (repo / manual / upload) used inside the shared .sk-dtable.
&__src-badge {
+ height: 20px; // geometry: badge height (20px badge spec)
display: inline-flex;
align-items: center;
gap: $space-tight;
- padding: $space-1 $space-2;
+ padding: 0 $space-tight;
background: var(--surface-2);
border: 1px solid var(--border-soft);
- border-radius: $radius-control;
+ border-radius: $radius-badge;
font-size: $text-xs;
color: var(--text-dim);
max-width: 200px;
diff --git a/frontend/src/styles/pages/_settings.scss b/frontend/src/styles/pages/_settings.scss
index 398d38ca..1db070cd 100644
--- a/frontend/src/styles/pages/_settings.scss
+++ b/frontend/src/styles/pages/_settings.scss
@@ -89,27 +89,29 @@
}
}
-.settings-nav-item,
-.settings-nav-item.settings-nav-item {
+// Nav rows, not buttons: one row height, flush with the rail.
+.settings-nav-item {
display: flex;
align-items: center;
- justify-content: flex-start !important;
- gap: $space-3;
- padding: $space-3 $space-4;
+ gap: $space-2;
+ min-height: $control-md;
+ padding: 0 $space-3;
background: transparent;
border: none;
border-radius: $radius-control;
color: $text-secondary;
+ font-family: inherit;
font-size: $text-xs;
font-weight: $font-weight-medium;
+ line-height: $line-height-tight;
cursor: pointer;
- transition: all $transition-fast;
- text-align: left;
+ transition: background $transition-fast, color $transition-fast;
+ text-align: start;
width: 100%;
svg {
- width: 18px;
- height: 18px;
+ width: 16px;
+ height: 16px;
stroke: currentColor;
fill: none;
stroke-width: 2;
@@ -121,6 +123,11 @@
color: $text-primary;
}
+ &:focus-visible {
+ outline: none;
+ box-shadow: $focus-ring;
+ }
+
&.active {
@include status-variant(var(--text-primary), var(--accent-bg));
@@ -131,7 +138,6 @@
@media (max-width: $breakpoint-lg) {
width: auto;
- padding: $space-2 $space-3;
}
}
@@ -293,7 +299,7 @@
.source-connection-profile {
img {
width: 42px;
- height: 42px;
+ height: 42px; // geometry: avatar
border-radius: $radius-full;
}
@@ -617,7 +623,7 @@
position: relative;
display: inline-block;
width: 44px;
- height: 24px;
+ height: 24px; // geometry: switch track (fixed chrome)
flex-shrink: 0;
input {
@@ -634,7 +640,7 @@
}
&:focus + .toggle-slider {
- box-shadow: 0 0 0 2px var(--accent-bg);
+ box-shadow: $focus-ring;
}
}
@@ -668,7 +674,7 @@
// Mirrors the input-based .toggle-switch above but driven by .on class
.toggle-switch:not(:has(input)) {
width: 44px;
- height: 24px;
+ height: 24px; // geometry: switch track (fixed chrome)
background: var(--surface-3);
border: 1px solid var(--border);
border-radius: $radius-full;
@@ -694,7 +700,7 @@
background: white;
border-radius: 50%;
transition: transform $transition-fast;
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
+ box-shadow: none;
}
}
@@ -905,8 +911,6 @@
border-top: 1px solid $border-subtle;
.btn-sm {
- font-size: $text-xs;
- padding: $space-2 $space-3;
display: inline-flex;
align-items: center;
gap: $space-1;
@@ -1040,7 +1044,7 @@
.star-icon {
flex-shrink: 0;
width: 48px;
- height: 48px;
+ height: 48px; // geometry: icon tile
background: linear-gradient(135deg, $warning 0%, darken($warning-raw, 10%) 100%);
border-radius: $radius-card;
display: flex;
@@ -1320,7 +1324,7 @@
.accent-swatch {
width: 20px;
- height: 20px;
+ height: 20px; // geometry: color swatch
border-radius: $radius-full;
flex-shrink: 0;
}
@@ -1352,7 +1356,7 @@
.accent-custom-input {
width: 40px;
- height: 32px;
+ height: $control-md;
padding: 0;
border: 1px solid $border-subtle;
border-radius: $radius-control;
@@ -1446,12 +1450,12 @@
&--active {
border-color: var(--accent-primary);
- box-shadow: 0 0 0 1px var(--accent-primary);
+ box-shadow: inset 0 0 0 1px var(--accent-primary); // geometry: doubles the selected border
}
&__swatches {
display: flex;
- height: 44px;
+ height: 44px; // geometry: palette preview strip
border-radius: $radius-control;
overflow: hidden;
border: 1px solid var(--border-soft);
@@ -1583,7 +1587,7 @@
.theme-browse__swatches {
display: flex;
- height: 40px;
+ height: 40px; // geometry: palette preview strip
border-radius: $radius-control;
overflow: hidden;
border: 1px solid var(--border-soft);
@@ -1706,7 +1710,7 @@
input[type="color"] {
width: 34px;
- height: 28px;
+ height: $control-sm;
padding: 0;
border: 1px solid var(--border);
border-radius: $radius-badge;
@@ -1778,7 +1782,7 @@
input[type="color"] {
width: 30px;
- height: 26px;
+ height: $control-sm;
flex-shrink: 0;
padding: 0;
border: 1px solid var(--border);
@@ -1790,7 +1794,8 @@
input[type="text"] {
flex: 1;
min-width: 0;
- padding: $space-tight $space-2;
+ height: $control-sm;
+ padding: 0 $space-2;
font-family: $font-mono;
font-size: $text-xs;
color: var(--text);
@@ -1856,8 +1861,8 @@
display: flex;
align-items: center;
justify-content: center;
- width: 28px;
- height: 28px;
+ width: $control-sm;
+ height: $control-sm;
background: transparent;
border: 1px solid $border-subtle;
border-radius: $radius-badge;
@@ -2015,7 +2020,7 @@
img {
width: 48px;
- height: 48px;
+ height: 48px; // geometry: logo preview image
object-fit: contain;
border-radius: $radius-control;
border: 1px solid $border-subtle;
@@ -2060,7 +2065,7 @@
.star-icon {
flex-shrink: 0;
width: 44px;
- height: 44px;
+ height: 44px; // geometry: icon tile
background: linear-gradient(135deg, $warning 0%, darken($warning-raw, 10%) 100%);
border-radius: $radius-card;
display: flex;
@@ -2344,13 +2349,13 @@
&.active {
border-color: $accent-primary;
background: $bg-card;
- box-shadow: 0 0 0 1px $accent-primary;
+ box-shadow: inset 0 0 0 1px $accent-primary; // geometry: doubles the selected border
}
.preset-card-icon {
flex-shrink: 0;
width: 36px;
- height: 36px;
+ height: 36px; // geometry: icon tile
display: flex;
align-items: center;
justify-content: center;
diff --git a/frontend/src/styles/pages/_setup-wizard.scss b/frontend/src/styles/pages/_setup-wizard.scss
index 0b66108c..2d5b8aa0 100644
--- a/frontend/src/styles/pages/_setup-wizard.scss
+++ b/frontend/src/styles/pages/_setup-wizard.scss
@@ -7,6 +7,22 @@
@include flex-center();
padding: $space-5;
background: $bg-body;
+
+ // Setup is the other screen (with sign-in) where controls default to the
+ // large size.
+ .btn:not(.btn-sm):not(.btn-link):not(.btn-icon),
+ .btn-wizard-next,
+ .btn-wizard-prev,
+ .ui-input,
+ .ui-select-trigger {
+ height: $control-lg;
+ }
+
+ .btn-wizard-next,
+ .btn-wizard-prev {
+ padding-block: 0;
+ border-radius: $radius-control;
+ }
}
.wizard-card {
@@ -27,7 +43,7 @@
.wizard-logo {
width: 48px;
- height: 48px;
+ height: 48px; // geometry: logo
margin: 0 auto $space-4;
}
@@ -56,7 +72,7 @@
.wizard-progress-step {
@include flex-center();
width: 32px;
- height: 32px;
+ height: 32px; // geometry: stepper dot
border-radius: $radius-full;
font-size: $text-xs;
font-weight: $font-weight-semibold;
@@ -177,7 +193,7 @@
top: $space-3;
right: $space-3;
width: 22px;
- height: 22px;
+ height: 22px; // geometry: check badge icon
border-radius: $radius-full;
@include flex-center();
background: $accent-primary;
@@ -234,11 +250,14 @@
}
.tier-card-badge {
+ display: inline-flex;
+ align-items: center;
+ height: 20px; // geometry: badge height (20px badge spec)
font-size: $text-xs;
- padding: $space-hair $space-2;
+ padding: 0 $space-tight;
background: $accent-primary;
color: #fff;
- border-radius: $radius-full;
+ border-radius: $radius-badge;
font-weight: $font-weight-medium;
}
@@ -599,10 +618,11 @@
.summary-tag {
display: inline-flex;
align-items: center;
- padding: $space-1 $space-3;
+ height: 20px; // geometry: badge height (20px badge spec)
+ padding: 0 $space-tight;
background: fade($accent-primary-raw, 12%);
color: $accent-primary;
- border-radius: $radius-full;
+ border-radius: $radius-badge;
font-size: $text-xs;
font-weight: $font-weight-medium;
}
diff --git a/frontend/src/styles/pages/_ssl.scss b/frontend/src/styles/pages/_ssl.scss
index 5acf5dc9..ab737443 100644
--- a/frontend/src/styles/pages/_ssl.scss
+++ b/frontend/src/styles/pages/_ssl.scss
@@ -13,7 +13,7 @@
display: grid;
place-items: center;
width: 26px;
- height: 26px;
+ height: 26px; // geometry: icon tile
flex-shrink: 0;
border-radius: $radius-control;
@include status-variant($success, $success-bg);
diff --git a/frontend/src/styles/pages/_status-pages.scss b/frontend/src/styles/pages/_status-pages.scss
index ee4330b2..b8c33fa1 100644
--- a/frontend/src/styles/pages/_status-pages.scss
+++ b/frontend/src/styles/pages/_status-pages.scss
@@ -541,7 +541,7 @@
}
.public-status-badge {
- min-height: 34px;
+ min-height: 34px; // geometry: public status summary banner, not a chip
padding: $space-2 $space-3;
}
diff --git a/frontend/src/styles/pages/_telemetry.scss b/frontend/src/styles/pages/_telemetry.scss
index 6aa37a73..920c7e40 100644
--- a/frontend/src/styles/pages/_telemetry.scss
+++ b/frontend/src/styles/pages/_telemetry.scss
@@ -54,7 +54,10 @@
}
.telemetry-cell__badge {
- padding: 1px $space-tight;
+ display: inline-flex;
+ align-items: center;
+ height: 20px; // geometry: badge height (20px badge spec)
+ padding: 0 $space-tight;
border-radius: $radius-badge;
border: 1px solid var(--border);
color: var(--text-dim);
@@ -71,8 +74,8 @@
// Severity accent down the left edge of a row — the one visual the DataTable
// does not provide and the whole point of skimming an event log.
tr.is-critical,
- tr.is-error { box-shadow: inset 3px 0 0 var(--red); }
- tr.is-warning { box-shadow: inset 3px 0 0 var(--amber); }
+ tr.is-error { box-shadow: inset 3px 0 0 var(--red); } // geometry: draws the severity rule
+ tr.is-warning { box-shadow: inset 3px 0 0 var(--amber); } // geometry: draws the severity rule
tr.is-debug { opacity: 0.72; }
.telemetry-loading {
diff --git a/frontend/src/styles/pages/_templates.scss b/frontend/src/styles/pages/_templates.scss
index 0c882a36..d65f1185 100644
--- a/frontend/src/styles/pages/_templates.scss
+++ b/frontend/src/styles/pages/_templates.scss
@@ -68,7 +68,7 @@
place-items: center;
flex-shrink: 0;
width: 36px;
- height: 36px;
+ height: 36px; // geometry: icon tile
border-radius: $radius-control;
background: var(--surface-2);
border: 1px solid $border-subtle;
@@ -126,12 +126,15 @@
}
.detail-source-tag {
+ display: inline-flex;
+ align-items: center;
+ height: 20px; // geometry: badge height (20px badge spec)
margin-left: auto;
font-size: $text-xs;
text-transform: none;
color: var(--text-faint);
background: var(--surface-2);
- padding: $space-hair $space-2;
+ padding: 0 $space-tight;
border-radius: $radius-badge;
}
@@ -159,7 +162,10 @@
}
.env-preview-chip {
- padding: $space-hair $space-2;
+ display: inline-flex;
+ align-items: center;
+ height: 20px; // geometry: badge height (20px badge spec)
+ padding: 0 $space-tight;
font-family: var(--mono);
font-size: $text-xs;
color: var(--text-dim);
@@ -231,14 +237,15 @@
}
.category-badge {
+ height: 20px; // geometry: badge height (20px badge spec)
display: inline-flex;
align-items: center;
gap: $space-1;
- padding: $space-hair $space-2;
+ padding: 0 $space-tight;
font-size: $text-xs;
color: var(--text-dim);
background: var(--surface-2);
- border-radius: $radius-control;
+ border-radius: $radius-badge;
text-transform: capitalize;
}
@@ -256,7 +263,7 @@
overflow: hidden;
display: flex;
flex-direction: column;
- box-shadow: var(--shadow-lg);
+ box-shadow: $shadow-overlay;
animation: drawer-slide-in 0.28s cubic-bezier(0.16, 1, 0.3, 1);
.modal-header {
@@ -411,19 +418,25 @@
}
.required-badge {
+ display: inline-flex;
+ align-items: center;
+ height: 20px; // geometry: badge height (20px badge spec)
font-size: $text-xs;
- padding: $space-hair $space-2;
+ padding: 0 $space-tight;
@include status-variant(var(--accent-bright), var(--accent-bg));
border-radius: $radius-badge;
- font-weight: $font-weight-semibold;
+ font-weight: $font-weight-medium;
}
.auto-badge {
+ display: inline-flex;
+ align-items: center;
+ height: 20px; // geometry: badge height (20px badge spec)
font-size: $text-xs;
- padding: $space-hair $space-2;
+ padding: 0 $space-tight;
@include status-variant(var(--green), var(--green-bg));
border-radius: $radius-badge;
- font-weight: $font-weight-semibold;
+ font-weight: $font-weight-medium;
}
.variable-description {
diff --git a/frontend/src/styles/pages/_terminal.scss b/frontend/src/styles/pages/_terminal.scss
index 2f2df3d8..25a1100b 100644
--- a/frontend/src/styles/pages/_terminal.scss
+++ b/frontend/src/styles/pages/_terminal.scss
@@ -111,7 +111,7 @@ $lk-default: #646b7a;
background: var(--text-ghost);
flex-shrink: 0;
- &.is-on { background: var(--green); box-shadow: 0 0 5px var(--green); }
+ &.is-on { background: var(--green); }
}
&__name {
@@ -363,8 +363,9 @@ $lk-default: #646b7a;
width: 100%;
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: $radius-card;
- padding: $space-tight $space-2 $space-tight $space-8;
+ height: $control-md;
+ border-radius: $radius-control;
+ padding: 0 $space-2 0 $space-8;
font-size: $text-sm;
color: $text-primary;
@include transition(all);
@@ -660,8 +661,9 @@ $lk-default: #646b7a;
.lv-select {
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: $radius-card;
- padding: $space-tight $space-2;
+ border-radius: $radius-control;
+ height: $control-md;
+ padding: 0 $space-2;
font-size: $text-sm;
color: $text-primary;
cursor: pointer;
@@ -672,20 +674,21 @@ $lk-default: #646b7a;
outline: none;
}
- // The Radix trigger (LogToolbar) keeps the compact toolbar size rather
- // than the full-width 40px form field it defaults to.
+ // The Radix trigger (LogToolbar) sizes to its value, not the full-width
+ // form field it defaults to.
&.ui-select-trigger {
width: auto;
- height: auto;
gap: $space-1;
}
}
.lv-icon-btn {
+ width: $control-sm;
+ height: $control-sm;
background: transparent;
border: none;
- padding: $space-tight;
- border-radius: $radius-card;
+ padding: 0;
+ border-radius: $radius-control;
color: var(--text-dim);
cursor: pointer;
display: flex;
@@ -712,10 +715,11 @@ $lk-default: #646b7a;
display: inline-flex;
align-items: center;
gap: $space-2;
- padding: $space-tight $space-3;
+ height: $control-md;
+ padding: 0 $space-3;
background: var(--surface-2);
border: 1px solid var(--border);
- border-radius: $radius-card;
+ border-radius: $radius-control;
color: var(--text-dim);
font-size: $text-sm;
font-weight: $font-weight-medium;
@@ -739,15 +743,14 @@ $lk-default: #646b7a;
&.on {
background: var(--green);
- box-shadow: 0 0 0 0 fade($success-raw, 60%);
animation: lv-pulse 1.6s ease-out infinite;
}
}
@keyframes lv-pulse {
- 0% { box-shadow: 0 0 0 0 fade($success-raw, 60%); }
- 70% { box-shadow: 0 0 0 8px fade($success-raw, 0%); }
- 100% { box-shadow: 0 0 0 0 fade($success-raw, 0%); }
+ 0% { opacity: 1; }
+ 70% { opacity: 0.4; }
+ 100% { opacity: 1; }
}
// ─── Content (the log well) ───────────────────────────
@@ -797,7 +800,7 @@ $lk-default: #646b7a;
font-weight: $font-weight-semibold;
color: #fff;
background: var(--red, #dc2626);
- box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
+ box-shadow: $shadow-raised;
pointer-events: none;
}
@@ -982,8 +985,8 @@ $lk-default: #646b7a;
input,
.ui-select-trigger {
- min-height: 36px;
- padding: $space-2 $space-3;
+ min-height: $control-md;
+ padding: 0 $space-3;
border: 1px solid $border-subtle;
border-radius: $radius-control;
background: $bg-card;
@@ -1014,10 +1017,10 @@ $lk-default: #646b7a;
}
.unit-chip {
- min-height: 24px;
- padding: $space-1 $space-3;
+ min-height: $control-sm;
+ padding: 0 $space-3;
border: 1px solid $border-subtle;
- border-radius: $radius-full;
+ border-radius: $radius-control;
background: $bg-card;
font-size: $text-xs;
color: $text-secondary;
@@ -1190,8 +1193,8 @@ $lk-default: #646b7a;
}
.process-action-button {
- width: 28px;
- height: 28px;
+ width: $control-sm;
+ height: $control-sm;
}
}
diff --git a/frontend/src/styles/pages/_workspaces.scss b/frontend/src/styles/pages/_workspaces.scss
index 540caf00..4343b287 100644
--- a/frontend/src/styles/pages/_workspaces.scss
+++ b/frontend/src/styles/pages/_workspaces.scss
@@ -427,10 +427,10 @@
// applies if the modal is ever portaled outside the page block.
.workspace-color-input {
width: 48px;
- height: 32px;
+ height: $control-md;
padding: $space-hair;
border: 1px solid var(--border);
- border-radius: var(--radius-sm);
+ border-radius: $radius-control;
background: var(--surface-2);
cursor: pointer;
}