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.
Python astracloudflarecontrol-panelcyberpaneldnsfablehosting-control-panelhosting-panelkimi-k3server-managementserverkitubuntu-web-panelwebserver
feat(ui): restyle the Applications pages + modernize the base app-* chrome
Juan Denis96641a18559e
diff --git a/frontend/src/pages/ApplicationDetail.jsx b/frontend/src/pages/ApplicationDetail.jsxindex 9ccac842..57edb908 100644--- a/frontend/src/pages/ApplicationDetail.jsx+++ b/frontend/src/pages/ApplicationDetail.jsx@@ -13,14 +13,24 @@ import EnvironmentVariables from '../components/EnvironmentVariables';import PrivateURLSection from '../components/PrivateURLSection';import LinkedAppsSection from '../components/LinkedAppsSection';import LinkAppModal from '../components/LinkAppModal';+import { getServiceType, getStatusConfig } from '../utils/serviceTypes';import { Button } from '@/components/ui/button';import { Input } from '@/components/ui/input';import { Textarea } from '@/components/ui/textarea';-import { Badge } from '@/components/ui/badge';import { Tabs, TabsList, TabsTrigger, TabsContent } from '@/components/ui/tabs';+import { Pill, EnvTag } from '@/components/ds';const VALID_TABS = ['overview', 'environment', 'packages', 'gunicorn', 'commands', 'build', 'deploy', 'logs', 'settings'];+// statusInfo.dotClass → ds Pill kind+const STATUS_PILL = {+ live: 'green',+ stopped: 'gray',+ deploying: 'amber',+ building: 'amber',+ failed: 'red',+};+const ApplicationDetail = () => {const { id } = useParams();const navigate = useNavigate();@@ -65,18 +75,6 @@ const ApplicationDetail = () => {}}- function getStackColor(type) {- const colors = {- 'php': '#777bb4',- 'wordpress': '#21759b',- 'flask': '#fcd34d',- 'django': '#34d399',- 'docker': '#2496ed',- 'static': '#60a5fa',- };- return colors[type] || '#a1a1aa';- }-function getAppIcon(type) {switch (type) {case 'wordpress':@@ -93,7 +91,7 @@ const ApplicationDetail = () => {</svg>);default:- return <span className="text-xl font-bold">{type.charAt(0).toUpperCase()}</span>;+ return <span>{type.charAt(0).toUpperCase()}</span>;}}@@ -115,6 +113,8 @@ const ApplicationDetail = () => {const isPythonApp = ['flask', 'django'].includes(app.app_type);const isDockerApp = app.app_type === 'docker';const isRunning = app.status === 'running';+ const typeInfo = getServiceType(app.app_type);+ const statusInfo = getStatusConfig(app.status);return (<div className="page-container app-detail-page">@@ -173,28 +173,25 @@ const ApplicationDetail = () => {{/* App Header */}<div className="app-detail-header">- <div className="app-detail-icon" style={{ background: getStackColor(app.app_type) }}>+ <div className="app-detail-icon" style={{ background: typeInfo.bgColor, color: typeInfo.color }}>{getAppIcon(app.app_type)}</div><div className="app-detail-title-block"><h1>{app.name}- <span className={`app-status-badge ${isRunning ? 'running' : 'stopped'}`}>- <span className="pulse-dot" />- {isRunning ? 'Running' : 'Stopped'}- </span>+ <Pill kind={STATUS_PILL[statusInfo.dotClass] || 'gray'}>{statusInfo.label}</Pill>{app.environment_type && app.environment_type !== 'standalone' && (- <span className={`env-badge env-${app.environment_type}`}>+ <EnvTag env={app.environment_type}>{app.environment_type === 'production' ? 'PROD' :app.environment_type === 'development' ? 'DEV' : 'STAGING'}{app.has_linked_app && <GitBranch size={10} />}- </span>+ </EnvTag>)}</h1><div className="app-detail-subtitle"><span>{app.app_type.toUpperCase()}</span>- <span className="separator">•</span>- {app.port && <><span className="mono">Port {app.port}</span><span className="separator">•</span></>}+ <span className="separator">·</span>+ {app.port && <><span className="mono">Port {app.port}</span><span className="separator">·</span></>}<span>Created {new Date(app.created_at).toLocaleDateString()}</span></div></div>@@ -569,14 +566,16 @@ const RoutingDiagnosticsPanel = ({ appId }) => {<div className="app-panel"><div className="app-panel-header"><span>Routing Diagnostics</span>- <Button- variant="ghost"- size="sm"- onClick={runDiagnostics}- disabled={loading}- >- {loading ? 'Checking...' : 'Run Diagnostics'}- </Button>+ <span className="app-panel-header-actions">+ <Button+ variant="ghost"+ size="sm"+ onClick={runDiagnostics}+ disabled={loading}+ >+ {loading ? 'Checking...' : 'Run Diagnostics'}+ </Button>+ </span></div><div className="app-panel-body">{diagnostics ? (@@ -603,7 +602,7 @@ const RoutingDiagnosticsPanel = ({ appId }) => {</>) : (<p className="app-panel-hint">- Click "Run Diagnostics" to check routing configuration and identify issues.+ Click "Run Diagnostics" to check routing configuration and identify issues.</p>)}</div>@@ -802,8 +801,8 @@ const CommandsTab = ({ appId, appType }) => {return (<div>- <h3>Run Commands</h3>- <p className="hint">Commands run in the app's virtual environment context.</p>+ <h3 className="app-eyebrow">Run Commands</h3>+ <p className="hint">Commands run in the app's virtual environment context.</p><div className="quick-commands">{quickCommands.map(({ label, cmd }) => (@@ -992,15 +991,15 @@ const BuildTab = ({ appId, appPath }) => {}}- function getStatusBadgeVariant(status) {+ function getStatusPillKind(status) {switch (status) {- case 'live': return 'success';+ case 'live': return 'green';case 'building':case 'deploying':- case 'pending': return 'warning';- case 'failed': return 'destructive';- case 'rolled_back': return 'secondary';- default: return 'default';+ case 'pending': return 'amber';+ case 'failed': return 'red';+ case 'rolled_back': return 'gray';+ default: return 'gray';}}@@ -1087,7 +1086,7 @@ const BuildTab = ({ appId, appPath }) => {<div key={dep.version} className={`deployment-item ${dep.status === 'live' ? 'current' : ''}`}><div className="deployment-info"><span className="deployment-version">v{dep.version}</span>- <Badge variant={getStatusBadgeVariant(dep.status)}>{dep.status}</Badge>+ <Pill kind={getStatusPillKind(dep.status)}>{dep.status}</Pill></div><div className="deployment-meta"><span>{new Date(dep.created_at).toLocaleString()}</span>@@ -1325,7 +1324,7 @@ const SettingsTab = ({ app, onUpdate }) => {return (<div>- <h3>Application Settings</h3>+ <h3 className="app-eyebrow">Application Settings</h3><div className="card settings-section"><h4>Environment Configuration</h4>@@ -1340,9 +1339,9 @@ const SettingsTab = ({ app, onUpdate }) => {</div><div className="settings-control">{app.has_linked_app ? (- <span className={`env-badge env-${app.environment_type}`}>+ <EnvTag env={app.environment_type}>{envLabels[app.environment_type] || app.environment_type}- </span>+ </EnvTag>) : (<selectvalue={environmentType}@@ -1449,7 +1448,7 @@ const DeployTab = ({ appId, appPath }) => {try {const statusRes = await api.getAppGitStatus(appId);setGitStatus(statusRes);- } catch (e) {}+ } catch { /* git status is optional context for the deploy tab */ }} else {setConfig(null);}@@ -1529,12 +1528,12 @@ const DeployTab = ({ appId, appPath }) => {}}- function getStatusBadgeVariant(status) {+ function getStatusPillKind(status) {switch (status) {- case 'success': return 'success';- case 'failed': return 'destructive';- case 'in_progress': return 'warning';- default: return 'secondary';+ case 'success': return 'green';+ case 'failed': return 'red';+ case 'in_progress': return 'amber';+ default: return 'gray';}}@@ -1616,7 +1615,7 @@ const DeployTab = ({ appId, appPath }) => {<div className="deployments-list">{history.slice(0, 5).map((dep, idx) => (<div key={idx} className="deployment-item">- <Badge variant={getStatusBadgeVariant(dep.status)}>{dep.status}</Badge>+ <Pill kind={getStatusPillKind(dep.status)}>{dep.status}</Pill><span className="deployment-date">{new Date(dep.timestamp).toLocaleString()}</span></div>))}diff --git a/frontend/src/pages/Applications.jsx b/frontend/src/pages/Applications.jsxindex 67d9d9b0..2060d4d8 100644--- a/frontend/src/pages/Applications.jsx+++ b/frontend/src/pages/Applications.jsx@@ -1,14 +1,27 @@-import React, { useState, useEffect, useCallback } from 'react';+import React, { useState, useEffect } from 'react';import { useNavigate } from 'react-router-dom';-import { Plus, X, Container, Globe, Package, FileText, RefreshCw, Square, Play, Settings, Trash2, AlertTriangle, Boxes } from 'lucide-react';+import {+ Plus, X, Container, Globe, RefreshCw, Boxes, Activity, Square,+ FileText, RotateCw, Play, Trash2, Settings,+} from 'lucide-react';import api from '../services/api';import EmptyState from '../components/EmptyState';import { useToast } from '../contexts/ToastContext';import { useConfirm } from '../hooks/useConfirm';import { ConfirmDialog } from '../components/ConfirmDialog';+import { getServiceType, getStatusConfig } from '../utils/serviceTypes';import { Button } from '@/components/ui/button';import { Input } from '@/components/ui/input';-import { Badge } from '@/components/ui/badge';+import { PageTopbar, MetricCard, Pill, SegControl, Gauge } from '@/components/ds';++// statusInfo.dotClass → ds Pill kind+const STATUS_PILL = {+ live: 'green',+ stopped: 'gray',+ deploying: 'amber',+ building: 'amber',+ failed: 'red',+};const Applications = () => {const navigate = useNavigate();@@ -19,7 +32,7 @@ const Applications = () => {const [loading, setLoading] = useState(true);const [showCreateModal, setShowCreateModal] = useState(false);const [searchTerm, setSearchTerm] = useState('');- const [showStopped, setShowStopped] = useState(true);+ const [statusFilter, setStatusFilter] = useState('all');const [selectedApp, setSelectedApp] = useState(null);const [stats, setStats] = useState({total: 0,@@ -117,20 +130,9 @@ const Applications = () => {}}- function getStackColor(type) {- const colors = {- 'php': '#a78bfa',- 'wordpress': '#21759b',- 'flask': '#fcd34d',- 'django': '#34d399',- 'docker': '#2496ed',- 'static': '#60a5fa',- };- return colors[type] || '#a1a1aa';- }-const filteredApps = apps.filter(app => {- if (!showStopped && app.status !== 'running') return false;+ if (statusFilter === 'running' && app.status !== 'running') return false;+ if (statusFilter === 'stopped' && app.status === 'running') return false;if (!searchTerm) return true;const search = searchTerm.toLowerCase();return app.name?.toLowerCase().includes(search) ||@@ -142,186 +144,185 @@ const Applications = () => {}return (- <div className="page-container docker-page-new">- <div className="docker-page-header">- <div className="docker-page-title">- <h2>Applications</h2>- <div className="docker-page-subtitle">Manage your web applications and services</div>- </div>- <div className="docker-page-actions">- <Button onClick={() => setShowCreateModal(true)}>- <Plus size={16} /> New Application- </Button>- </div>- </div>-- <div className="docker-stats-row">- <div className="docker-stat-card">- <div className="docker-stat-label">Applications</div>- <div className="docker-stat-value">{stats.total}</div>- <div className="docker-stat-meta">- <span className="docker-stat-running">{stats.running} Running</span>- <span className="docker-stat-stopped">{stats.stopped} Stopped</span>- </div>- </div>- <div className="docker-stat-card">- <div className="docker-stat-label">Docker Apps</div>- <div className="docker-stat-value">{stats.docker}</div>- <div className="docker-stat-meta">Container-based</div>- </div>- <div className="docker-stat-card">- <div className="docker-stat-label">Running</div>- <div className="docker-stat-value">{stats.running}</div>- <div className="docker-stat-meta">Active services</div>- </div>- <div className="docker-stat-card">- <div className="docker-stat-label">Stopped</div>- <div className="docker-stat-value">{stats.stopped}</div>- <div className="docker-stat-meta">Inactive</div>- </div>- </div>-- <div className="docker-panel">- <div className="docker-panel-header">- <div className="docker-panel-tabs">- <div className="docker-panel-tab active">All Applications</div>- </div>- <div className="docker-panel-actions">+ <div className="page-container applications-page">+ <PageTopbar+ icon={<Boxes size={18} />}+ title="Applications"+ meta={`${stats.total} apps · ${stats.running} running`}+ actions={(+ <><Button variant="outline" size="sm" onClick={loadApps}><RefreshCw size={14} /> Refresh</Button>- </div>+ <Button size="sm" onClick={() => setShowCreateModal(true)}>+ <Plus size={16} /> New Application+ </Button>+ </>+ )}+ />++ {apps.length > 0 && (+ <div className="apps-kpis">+ <MetricCard tone="green" icon={<Activity size={16} />} value={stats.running} label="Running" />+ <MetricCard tone="amber" icon={<Square size={16} />} value={stats.stopped} label="Stopped" />+ <MetricCard tone="cyan" icon={<Container size={16} />} value={stats.docker} label="Docker Apps">+ <div className="sk-kpi__sub"><span>Container-based</span></div>+ </MetricCard>+ <MetricCard tone="accent" icon={<Boxes size={16} />} value={stats.total} label="Total Applications" /></div>+ )}- <div className="docker-panel-content">- <div className="docker-table-header">- <label className="docker-filter-toggle">- <input- type="checkbox"- checked={showStopped}- onChange={(e) => setShowStopped(e.target.checked)}- />- Show stopped- </label>+ <div className="apps-list-card">+ <div className="apps-list-head">+ <SegControl+ value={statusFilter}+ onChange={setStatusFilter}+ options={[+ { value: 'all', label: 'All', count: stats.total },+ { value: 'running', label: 'Running', count: stats.running },+ { value: 'stopped', label: 'Stopped', count: stats.stopped },+ ]}+ />+ <div className="apps-search">+ <svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2">+ <circle cx="11" cy="11" r="8"/>+ <line x1="21" y1="21" x2="16.65" y2="16.65"/>+ </svg><Inputtype="text"- className="docker-search"placeholder="Search apps..."value={searchTerm}onChange={(e) => setSearchTerm(e.target.value)}/></div>+ </div>- {filteredApps.length === 0 ? (- <EmptyState- icon={Boxes}- title="No applications"- description="Create your first application to get started."- action={<Button onClick={() => setShowCreateModal(true)}><Plus size={16} /> New Application</Button>}- />- ) : (- <table className="docker-table">- <thead>- <tr>- <th>Application</th>- <th>Type</th>- <th>Status</th>- <th>Domain</th>- <th>Resources</th>- <th className="text-right">Actions</th>- </tr>- </thead>- <tbody>- {filteredApps.map(app => {- const stats = appStats[app.id];- const isRunning = app.status === 'running';- const cpuPercent = stats?.cpu_percent || 0;- const memPercent = stats?.memory_percent || 0;-- return (- <tr key={app.id}>- <td>- <span className="docker-container-name">{app.name}</span>- <span className="docker-container-id">ID: {app.id}</span>- </td>- <td>- <span className="docker-image-tag" style={{ borderLeft: `3px solid ${getStackColor(app.app_type)}` }}>- {app.app_type === 'docker' && <Container size={12} className="mr-1" />}- {app.app_type.toUpperCase()}- </span>- </td>- <td>- <span className={`docker-status-pill ${isRunning ? 'running' : 'exited'}`}>- <span className="docker-status-dot" />- {isRunning ? 'Running' : 'Stopped'}- </span>- {app.port && (- <div className="docker-status-detail">Port: {app.port}</div>- )}- </td>- <td>- <span className={`docker-ports ${!isRunning ? 'faded' : ''}`}>- {app.domains && app.domains.length > 0 ? (- app.domains.map((d, i) => (- <span key={i}>- <Globe size={12} className="mr-1 align-middle" />- {d.name}- {i < app.domains.length - 1 && <br />}- </span>- ))- ) : (- <span className="text-gray-400">-</span>- )}+ {filteredApps.length === 0 ? (+ <EmptyState+ icon={Boxes}+ title="No applications"+ description={searchTerm || statusFilter !== 'all'+ ? 'Try adjusting your filters.'+ : 'Create your first application to get started.'}+ action={!searchTerm && statusFilter === 'all' && (+ <Button onClick={() => setShowCreateModal(true)}><Plus size={16} /> New Application</Button>+ )}+ />+ ) : (+ <table className="sk-dtable apps-table">+ <thead>+ <tr>+ <th>Application</th>+ <th>Type</th>+ <th>Status</th>+ <th>Domain</th>+ <th>Resources</th>+ <th>Actions</th>+ </tr>+ </thead>+ <tbody>+ {filteredApps.map(app => {+ const res = appStats[app.id];+ const typeInfo = getServiceType(app.app_type);+ const statusInfo = getStatusConfig(app.status);+ const isRunning = app.status === 'running';+ const cpuPercent = res?.cpu_percent || 0;+ const memPercent = res?.memory_percent || 0;++ return (+ <tr key={app.id} className="is-clickable" onClick={() => navigate(`/apps/${app.id}`)}>+ <td>+ <div className="sk-cell-name">+ <span+ className="apps-type-ico"+ style={{ background: typeInfo.bgColor, color: typeInfo.color }}+ >+ {app.app_type === 'docker'+ ? <Container size={16} />+ : (app.app_type || '?').charAt(0).toUpperCase()}</span>- </td>- <td>- <div className={!isRunning ? 'faded' : ''}>- <ResourceBar- label="CPU"- value={cpuPercent}- color={cpuPercent > 50 ? '#F59E0B' : '#6366F1'}- />- <ResourceBar- label="RAM"- value={memPercent}- color="#10B981"- />+ <div>+ <div>{app.name}</div>+ <div className="sk-cell-sub">id {app.id}</div>+ </div>+ </div>+ </td>+ <td>+ <span+ className="apps-type-chip"+ style={{ color: typeInfo.color, background: typeInfo.bgColor, borderColor: typeInfo.borderColor }}+ >+ {typeInfo.label}+ </span>+ </td>+ <td>+ <Pill kind={STATUS_PILL[statusInfo.dotClass] || 'gray'}>{statusInfo.label}</Pill>+ {app.port && (+ <div className="sk-cell-sub">port {app.port}</div>+ )}+ </td>+ <td>+ {app.domains && app.domains.length > 0 ? (+ <div className={`apps-domain ${!isRunning ? 'is-faded' : ''}`}>+ {app.domains.map((d, i) => (+ <span key={i}>+ <Globe size={11} /> {d.name}+ </span>+ ))}+ </div>+ ) : (+ <span className="apps-none">—</span>+ )}+ </td>+ <td>+ <div className={!isRunning ? 'is-faded' : ''}>+ <div className="apps-res">+ <span className="apps-res__label">CPU</span>+ <Gauge value={cpuPercent} color="var(--accent-bright)" />+ <span className="apps-res__val">{cpuPercent.toFixed(0)}%</span>+ </div>+ <div className="apps-res">+ <span className="apps-res__label">RAM</span>+ <Gauge value={memPercent} color="var(--cyan)" />+ <span className="apps-res__val">{memPercent.toFixed(0)}%</span></div>- </td>- <td className="docker-actions-cell">+ </div>+ </td>+ <td onClick={(e) => e.stopPropagation()}>+ <div className="apps-actions-cell"><IconAction title="Logs" onClick={() => setSelectedApp(app)}>- <LogsIcon />+ <FileText size={14} /></IconAction>{isRunning ? (<><IconAction title="Restart" onClick={() => handleAction(app.id, 'restart')}>- <RestartIcon />+ <RotateCw size={14} /></IconAction>- <IconAction title="Stop" onClick={() => handleAction(app.id, 'stop')} color="#EF4444">- <StopIcon />+ <IconAction title="Stop" tone="red" onClick={() => handleAction(app.id, 'stop')}>+ <Square size={13} /></IconAction></>) : (<>- <IconAction title="Start" onClick={() => handleAction(app.id, 'start')} color="#10B981">- <PlayIcon />+ <IconAction title="Start" tone="green" onClick={() => handleAction(app.id, 'start')}>+ <Play size={14} /></IconAction>- <IconAction title="Delete" onClick={() => handleAction(app.id, 'delete')} color="#EF4444">- <TrashIcon />+ <IconAction title="Delete" tone="red" onClick={() => handleAction(app.id, 'delete')}>+ <Trash2 size={14} /></IconAction></>)}<IconAction title="Manage" onClick={() => navigate(`/apps/${app.id}`)}>- <SettingsIcon />+ <Settings size={14} /></IconAction>- </td>- </tr>- );- })}- </tbody>- </table>- )}- </div>+ </div>+ </td>+ </tr>+ );+ })}+ </tbody>+ </table>+ )}</div>{showCreateModal && (@@ -348,80 +349,19 @@ const Applications = () => {);};-// Resource Bar Component-const ResourceBar = ({ label, value, color }) => {- const numValue = parseFloat(value) || 0;- return (- <div className="docker-res-container">- <span className="docker-res-label">{label}</span>- <div className="docker-res-track">- <div- className="docker-res-fill"- style={{ width: `${Math.min(numValue, 100)}%`, backgroundColor: color }}- />- </div>- <span className="docker-res-value">{numValue.toFixed(0)}%</span>- </div>- );-};--// Icon Actions-const IconAction = ({ title, onClick, color, children, disabled }) => (+// Per-row icon action (tones via modifier classes — no inline colors)+const IconAction = ({ title, onClick, tone, children, disabled }) => (<button- className="docker-icon-action"+ type="button"+ className={`apps-icon-action${tone ? ` apps-icon-action--${tone}` : ''}`}title={title}onClick={onClick}disabled={disabled}- style={color ? { color } : {}}>{children}</button>);-// Icons-const LogsIcon = () => (- <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2">- <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/>- <polyline points="14 2 14 8 20 8"/>- <line x1="16" y1="13" x2="8" y2="13"/>- <line x1="16" y1="17" x2="8" y2="17"/>- </svg>-);--const RestartIcon = () => (- <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2">- <polyline points="23 4 23 10 17 10"/>- <polyline points="1 20 1 14 7 14"/>- <path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"/>- </svg>-);--const StopIcon = () => (- <svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor">- <rect x="6" y="6" width="12" height="12"/>- </svg>-);--const PlayIcon = () => (- <svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor">- <polygon points="5 3 19 12 5 21 5 3"/>- </svg>-);--const TrashIcon = () => (- <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2">- <polyline points="3 6 5 6 21 6"/>- <path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/>- </svg>-);--const SettingsIcon = () => (- <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2">- <circle cx="12" cy="12" r="3"/>- <path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"/>- </svg>-);-// App Logs Modalconst AppLogsModal = ({ app, onClose }) => {const [logs, setLogs] = useState('');@@ -453,18 +393,18 @@ const AppLogsModal = ({ app, onClose }) => {return (<div className="modal-overlay" onClick={onClose}>- <div className="modal modal-lg" onClick={e => e.stopPropagation()}>+ <div className="modal modal-lg app-logs-modal" onClick={e => e.stopPropagation()}><div className="modal-header"><h2>Logs: {app.name}</h2><button className="modal-close" onClick={onClose}>×</button></div><div className="modal-body">{app.app_type !== 'docker' && (- <div className="mb-4">+ <div className="app-logs-controls"><selectvalue={logType}onChange={(e) => setLogType(e.target.value)}- className="docker-search w-auto"+ className="app-logs-select"><option value="access">Access Logs</option><option value="error">Error Logs</option>@@ -486,6 +426,7 @@ const AppLogsModal = ({ app, onClose }) => {const CreateAppModal = ({ onClose }) => {const navigate = useNavigate();+ // Brand categorical colors (literal on purpose)const templates = [{ id: 'wordpress', name: 'WordPress', icon: 'W', color: '#21759b', description: 'Full WordPress installation with database' },{ id: 'nextcloud', name: 'Nextcloud', icon: 'N', color: '#0082c9', description: 'Self-hosted cloud storage platform' },diff --git a/frontend/src/styles/pages/_applications.scss b/frontend/src/styles/pages/_applications.scssindex e268f157..ce12887b 100644--- a/frontend/src/styles/pages/_applications.scss+++ b/frontend/src/styles/pages/_applications.scss@@ -1,5 +1,16 @@// ============================================-// APPLICATIONS PAGES+// APPLICATIONS PAGES (redesign — infra console look)+// ============================================+// 1. Applications list (pages/Applications.jsx): KPI strip + dense table.+// 2. Shared `app-*` detail chrome — BASE styles consumed by THREE pages:+// - pages/ApplicationDetail.jsx (this feature)+// - pages/WordPressDetail.jsx (already restyled; `.wp-detail-page`+// overrides in _wordpress.scss layer the SAME spec on top — keep the+// base values aligned with that spec so the overrides stay harmless)+// - pages/WordPressProject.jsx (no overrides; inherits this base)+// Selector names and structural layout roles are preserved on purpose.+// 3. ApplicationDetail tab internals — re-tints of shared classes scoped+// under `.app-detail-page` so they cannot leak into other pages.// ============================================// Applications page wrapper@@ -10,464 +21,508 @@}// ============================================-// TOOLBAR+// LIST — KPI STRIP// ============================================-.apps-toolbar {- display: flex;- justify-content: space-between;- align-items: center;+.apps-kpis {+ display: grid;+ grid-template-columns: repeat(4, 1fr);gap: $space-4;- flex-wrap: wrap;++ @media (max-width: $breakpoint-lg) {+ grid-template-columns: repeat(2, 1fr);+ }++ @media (max-width: $breakpoint-sm) {+ grid-template-columns: 1fr;+ }}-.apps-toolbar-left {- display: flex;- align-items: center;- gap: $space-4;- flex: 1;- min-width: 0;+// ============================================+// LIST — CARD + FILTER BAR + DENSE TABLE+// ============================================++.apps-list-card {+ background: var(--surface);+ border: 1px solid var(--border-soft);+ border-radius: var(--radius);+ overflow: hidden;}-.apps-toolbar-right {+.apps-list-head {display: flex;+ justify-content: space-between;align-items: center;gap: $space-3;+ flex-wrap: wrap;+ padding: 10px 14px;+ border-bottom: 1px solid var(--border-soft);}-// Search wrapper-.apps-search-wrapper {- position: relative;- max-width: 300px;- flex: 1;-}--.apps-search-icon {- position: absolute;- left: $space-3;- top: 50%;- transform: translateY(-50%);- color: $text-tertiary;- pointer-events: none;-}+.apps-search {+ display: flex;+ align-items: center;+ gap: $space-2;+ background: var(--surface-2);+ border: 1px solid var(--border);+ border-radius: 8px;+ padding: 0 $space-3;+ min-width: 230px;+ transition: border-color $transition-fast;-.apps-search-input {- width: 100%;- padding: $space-2 $space-3;- padding-left: $space-8 + 4;- padding-right: $space-8;- background: $bg-card;- border: 1px solid $border-default;- border-radius: $radius-md;- color: $text-primary;- font-size: $font-size-sm;- @include transition(border-color);+ &:focus-within {+ border-color: var(--accent-primary);+ }- &::placeholder {- color: $text-tertiary;+ svg {+ color: var(--text-faint);+ flex-shrink: 0;}- &:focus {+ input {+ flex: 1;+ background: none;+ border: none;+ padding: 7px 0;+ color: var(--text);+ font-size: 13px;outline: none;- border-color: $accent-primary;+ box-shadow: none;+ min-width: 0;++ &::placeholder {+ color: var(--text-faint);+ }}}-.apps-search-clear {- position: absolute;- right: $space-2;- top: 50%;- transform: translateY(-50%);- background: none;- border: none;- padding: $space-1;- cursor: pointer;- color: $text-tertiary;- display: flex;- align-items: center;- justify-content: center;- border-radius: $radius-sm;- @include transition(color);+.apps-table {+ th:last-child,+ td:last-child {+ text-align: right;+ }- &:hover {- color: $text-primary;+ .sk-cell-name > div {+ min-width: 0;}}-// Results count-.apps-count {- font-size: $font-size-sm;- color: $text-tertiary;- white-space: nowrap;+// Tinted type glyph tile (brand colors arrive via inline style props,+// same convention as the Services list type icon)+.apps-type-ico {+ width: 34px;+ height: 34px;+ border-radius: 9px;+ display: grid;+ place-items: center;+ flex-shrink: 0;+ font-family: var(--mono);+ font-size: 14px;+ font-weight: $font-weight-bold;}-// Sort dropdown-.apps-sort-wrapper {- position: relative;+// Mono type chip (brand colors via inline style props)+.apps-type-chip {+ display: inline-flex;+ align-items: center;+ font-family: var(--mono);+ font-size: 10.5px;+ font-weight: $font-weight-semibold;+ letter-spacing: 0.06em;+ text-transform: uppercase;+ padding: 2px 7px;+ border-radius: 5px;+ border: 1px solid;+ white-space: nowrap;}-.apps-sort-select {- appearance: none;- padding: $space-2 $space-8 $space-2 $space-3;- background: $bg-card;- border: 1px solid $border-default;- border-radius: $radius-md;- color: $text-primary;- font-size: $font-size-sm;- cursor: pointer;- @include transition(border-color);+.apps-domain {+ display: flex;+ flex-direction: column;+ gap: 3px;+ font-family: var(--mono);+ font-size: 12px;- &:focus {- outline: none;- border-color: $accent-primary;- }-}+ a {+ display: inline-flex;+ align-items: center;+ gap: 5px;+ color: var(--text-dim);+ text-decoration: none;++ svg {+ color: var(--text-faint);+ flex-shrink: 0;+ }-.apps-sort-icon {- position: absolute;- right: $space-2;- top: 50%;- transform: translateY(-50%);- color: $text-tertiary;- pointer-events: none;+ &:hover {+ color: var(--accent-bright);+ }+ }}-// View toggle-.apps-view-toggle {- display: flex;- background: $bg-card;- border: 1px solid $border-default;- border-radius: $radius-md;- overflow: hidden;+.apps-none {+ font-family: var(--mono);+ font-size: 12px;+ color: var(--text-ghost);}-.apps-view-btn {- padding: $space-2;- background: transparent;- border: none;- cursor: pointer;- color: $text-tertiary;+// CPU / RAM mini gauges (token colors: CPU accent-bright, RAM cyan)+.apps-res {display: flex;align-items: center;- justify-content: center;- @include transition(all);+ gap: $space-2;- &:hover {- color: $text-primary;- background: $bg-hover;+ & + & {+ margin-top: 6px;}- &.active {- color: $accent-primary;- background: $accent-glow;+ .sk-gauge {+ width: 88px;+ flex-shrink: 0;}- &:first-child {- border-right: 1px solid $border-default;+ &__label {+ width: 28px;+ font-family: var(--mono);+ font-size: 10px;+ font-weight: $font-weight-semibold;+ letter-spacing: 0.05em;+ text-transform: uppercase;+ color: var(--text-faint);+ flex-shrink: 0;}-}-// ============================================-// BULK ACTION BAR-// ============================================+ &__val {+ width: 36px;+ font-family: var(--mono);+ font-size: 11px;+ color: var(--text-dim);+ text-align: right;+ flex-shrink: 0;+ }+}-.apps-bulk-bar {- display: flex;- justify-content: space-between;- align-items: center;- padding: $space-3 $space-4;- background: $accent-glow;- border: 1px solid fade($accent-primary-raw, 30%);- border-radius: $radius-lg;- gap: $space-4;- flex-wrap: wrap;+.is-faded {+ opacity: 0.45;}-.apps-bulk-info {- display: flex;+// Per-row icon actions (tones via modifier classes, no inline hex)+.apps-actions-cell {+ display: inline-flex;align-items: center;- gap: $space-2;- color: $accent-primary;- font-size: $font-size-sm;- font-weight: $font-weight-medium;+ justify-content: flex-end;+ gap: 2px;+ white-space: nowrap;}-.apps-bulk-clear {- background: none;+.apps-icon-action {+ width: 27px;+ height: 27px;+ display: inline-flex;+ align-items: center;+ justify-content: center;+ background: transparent;border: none;- color: $text-secondary;- font-size: $font-size-sm;+ border-radius: 7px;+ color: var(--text-faint);cursor: pointer;- padding: $space-1 $space-2;- margin-left: $space-2;- border-radius: $radius-sm;- @include transition(color);+ transition: background 0.12s, color 0.12s;&:hover {- color: $text-primary;+ background: var(--surface-3);+ color: var(--text);}-}-.apps-bulk-actions {- display: flex;- gap: $space-2;-}+ &:disabled {+ opacity: 0.5;+ pointer-events: none;+ }-// ============================================-// CHECKBOX STYLES-// ============================================+ &--green:hover {+ background: var(--green-bg);+ color: var(--green);+ }-.apps-checkbox-label {- display: inline-flex;- align-items: center;- cursor: pointer;- position: relative;+ &--red:hover {+ background: var(--red-bg);+ color: var(--red);+ }+}- input[type="checkbox"] {- position: absolute;- opacity: 0;- width: 0;- height: 0;+// Logs modal (list page) — console well on the code surface+.app-logs-modal {+ .app-logs-controls {+ display: flex;+ justify-content: flex-end;+ margin-bottom: $space-3;+ }- &:checked + .apps-checkbox-custom {- background: $accent-primary;- border-color: $accent-primary;+ .app-logs-select {+ background: var(--surface-2);+ border: 1px solid var(--border);+ border-radius: 8px;+ padding: 6px 10px;+ color: var(--text);+ font-size: 13px;+ cursor: pointer;- &::after {- opacity: 1;- }+ &:focus {+ outline: none;+ border-color: var(--accent-primary);}+ }- &:focus + .apps-checkbox-custom {- box-shadow: 0 0 0 2px $accent-glow;- }+ .log-viewer {+ background: var(--bg-code);+ border: 1px solid var(--border-soft);+ border-radius: var(--radius);+ color: var(--text-code);+ font-family: var(--mono);+ font-size: 12.5px;}}-.apps-checkbox-custom {- width: 18px;- height: 18px;- background: $bg-card;- border: 1px solid $border-default;- border-radius: $radius-sm;- position: relative;- @include transition(all);+// ============================================+// SHARED CHIPS (other consumers live outside these pages)+// ============================================- &::after {- content: '';- position: absolute;- left: 5px;- top: 2px;- width: 5px;- height: 9px;- border: solid $text-primary;- border-width: 0 2px 2px 0;- transform: rotate(45deg);- opacity: 0;- @include transition(opacity);+// Used by components/LinkAppModal.jsx+.app-type-badge {+ font-family: var(--mono);+ font-size: 10.5px;+ font-weight: $font-weight-semibold;+ letter-spacing: 0.06em;+ text-transform: uppercase;+ color: var(--accent-bright);+ background: var(--accent-bg);+ padding: 2px 7px;+ border-radius: 5px;+}++// Used by pages/Firewall.jsx+.port-status {+ font-size: $font-size-xs;+ margin-left: $space-2;++ &.accessible {+ color: $success;}- &:hover {- border-color: $accent-primary;+ &.not-accessible {+ color: $danger;+ }+}++// Used by components/wordpress/HealthStatusPanel.jsx+.panel-empty {+ text-align: center;+ padding: $space-6;+ color: var(--text-faint);+ font-size: 13px;+}++// Icon-only button (legacy global utility; LinkedAppsSection consumes it)+.btn-icon {+ padding: $space-2 !important;++ svg {+ margin: 0 !important;}}// ============================================-// APPLICATIONS LIST VIEW+// APP DETAIL — SHARED BASE CHROME+// (visual spec matches the `.wp-detail-page` overrides in _wordpress.scss)// ============================================-.apps-list {- @include flex-column-gap($space-2);+.app-detail-page {+ display: flex;+ flex-direction: column;+ gap: $space-4;}-.apps-list-header {+// Top bar with breadcrumbs and actions+.app-detail-topbar {display: flex;+ justify-content: space-between;align-items: center;gap: $space-4;- padding: $space-2 $space-4;- color: $text-tertiary;- font-size: $font-size-sm;- font-weight: $font-weight-medium;-}--.apps-list-header-text {- margin-left: $space-1;+ flex-wrap: wrap;}-.app-row {- @include list-item-base();+// Breadcrumbs — mono trail+.app-detail-breadcrumbs {display: flex;align-items: center;- gap: $space-4;- @include transition(all);+ gap: $space-2;+ font-family: var(--mono);+ font-size: $font-size-sm;+ color: var(--text-faint);++ a {+ color: var(--text-faint);+ text-decoration: none;+ @include transition(color);++ &:hover {+ color: var(--accent-bright);+ }+ }- &.selected {- background: $accent-glow;- border-color: fade($accent-primary-raw, 30%);+ > span {+ color: var(--text-ghost);}- &:hover {- border-color: $border-active;+ .current {+ color: var(--text-dim);+ font-weight: $font-weight-medium;}}-.app-info {- @include flex-start();+.app-detail-actions {+ display: flex;+ gap: $space-2;+}++// Header — gradient surface card + radial accent wash+.app-detail-header {+ position: relative;+ display: flex;+ align-items: center;gap: $space-4;- flex: 1;- min-width: 0;+ padding: 20px 22px;+ background: linear-gradient(120deg, var(--surface) 0%, var(--surface-2) 100%);+ border: 1px solid var(--border-soft);+ border-radius: var(--radius-lg);++ // No overflow:hidden (header menus must escape), so the wash carries+ // its own radius instead.+ &::before {+ content: "";+ position: absolute;+ inset: 0;+ border-radius: var(--radius-lg);+ background: radial-gradient(420px 200px at 0% 0%, var(--accent-bg-soft), transparent 70%);+ pointer-events: none;+ }}-.app-icon {- width: 40px;- height: 40px;- border-radius: $radius-md;+.app-detail-icon {+ position: relative;+ width: 52px;+ height: 52px;+ border-radius: 13px;+ border: 1px solid fade(#fff, 8%);+ box-shadow: var(--shadow-sm);display: flex;align-items: center;justify-content: center;- color: white;- font-weight: $font-weight-bold;- font-size: $font-size-md;flex-shrink: 0;+ font-size: $font-size-xl;+ font-weight: $font-weight-bold;+ color: #fff;++ img {+ width: 100%;+ height: 100%;+ object-fit: contain;+ border-radius: 13px;+ }svg {- color: white;+ color: currentColor;}}-.app-details {- min-width: 0;+.app-detail-title-block {flex: 1;+ min-width: 0;- h3 {- font-size: $font-size-base + 1;+ h1 {+ display: flex;+ align-items: center;+ gap: 11px;+ flex-wrap: wrap;+ margin: 0;+ font-size: 21px;font-weight: $font-weight-semibold;- color: $text-primary;- margin-bottom: $space-1;- @include truncate();+ letter-spacing: -0.02em;+ color: var(--text);++ // linked-app glyph inside the EnvTag+ .sk-tag svg {+ margin-left: 4px;+ }}}-.app-meta {- @include flex-start();- gap: $space-3;- font-size: $font-size-sm;- color: $text-tertiary;+// Mono dot-separated meta line under the title+.app-detail-subtitle {+ display: flex;+ align-items: center;+ gap: 9px;flex-wrap: wrap;+ margin-top: 4px;+ font-family: var(--mono);+ font-size: 12px;+ color: var(--text-dim);a {- color: $text-secondary;- @include transition(color);+ color: var(--accent-bright);+ text-decoration: none;&:hover {- color: $accent-primary;+ text-decoration: underline;}}-}--.app-type-badge {- font-size: $font-size-xs;- font-weight: $font-weight-medium;- color: $accent-primary;- background: $accent-glow;- padding: 2px $space-2;- border-radius: $radius-sm;-}-.app-port {- font-family: $font-mono;- font-size: $font-size-xs;- color: $text-secondary;+ .separator {+ color: var(--text-ghost);+ }}-.app-domains-info {+// Status badge (WordPressProject still renders this class; ApplicationDetail+// uses the ds Pill) — sk-pill visual spec.+.app-status-badge {display: inline-flex;align-items: center;- gap: $space-1;- color: $text-secondary;+ gap: 6px;+ padding: 3px 9px;+ border-radius: 6px;+ font-family: var(--mono);+ font-size: 11.5px;+ font-weight: 500;+ letter-spacing: 0.02em;+ white-space: nowrap;- a {- color: $text-secondary;+ &.running {+ background: var(--green-bg);+ color: var(--green);+ }- &:hover {- color: $accent-primary;- }+ &.stopped {+ background: var(--surface-3);+ color: var(--text-faint);}-}-.private-url-indicator {- display: inline-flex;- align-items: center;- gap: $space-1;- color: $success;- font-size: $font-size-xs;+ &.error {+ background: var(--red-bg);+ color: var(--red);+ }}-.app-status {- flex-shrink: 0;-}--// Enhanced status badge with animation-.status-badge-enhanced {- display: inline-flex;- align-items: center;- gap: $space-2;- padding: $space-1 + 2 $space-3;- border-radius: $radius-full;- font-size: $font-size-sm;- font-weight: $font-weight-medium;- text-transform: capitalize;-- &.status-active {- background: $success-bg;- color: $success;-- .status-dot-animated {- background: $success;- animation: pulse-green 2s ease-in-out infinite;- }- }-- &.status-stopped {- background: $bg-tertiary;- color: $text-secondary;-- .status-dot-animated {- background: $text-tertiary;- }- }-- &.status-error {- background: $danger-bg;- color: $danger;-- .status-dot-animated {- background: $danger;- }- }-- &.status-warning {- background: $warning-bg;- color: $warning;-- .status-dot-animated {- background: $warning;- animation: pulse-yellow 2s ease-in-out infinite;- }- }-- &.transitioning {- .status-dot-animated {- animation: pulse-fast 0.5s ease-in-out infinite;- }- }-}--.status-dot-animated {- width: 8px;- height: 8px;- border-radius: 50%;+.pulse-dot {+ width: 6px;+ height: 6px;+ border-radius: 50%;+ background: currentColor;flex-shrink: 0;++ .running & {+ box-shadow: 0 0 6px currentColor;+ animation: pulse-green 2s ease-in-out infinite;+ }}@keyframes pulse-green {@@ -479,464 +534,629 @@}}-@keyframes pulse-yellow {- 0%, 100% {- box-shadow: 0 0 0 0 fade($warning, 40%);- }- 50% {- box-shadow: 0 0 0 4px fade($warning, 0%);- }-}+// Tabs navigation (WordPress pages render these classes; ApplicationDetail+// uses shadcn Tabs — see the scoped `.tabs` block below)+.app-detail-tabs {+ display: flex;+ gap: 2px;+ background: transparent;+ border: none;+ border-bottom: 1px solid var(--border-soft);+ border-radius: 0;+ padding: 0;+ overflow-x: auto;-@keyframes pulse-fast {- 0%, 100% {- opacity: 1;- }- 50% {- opacity: 0.4;+ &::-webkit-scrollbar {+ height: 0;}}-.app-actions {+.app-detail-tab {display: flex;- gap: $space-2;- flex-shrink: 0;+ align-items: center;+ gap: 7px;+ padding: 11px 14px;+ background: transparent;+ border: none;+ border-radius: 0;+ border-bottom: 2px solid transparent;+ color: var(--text-faint);+ font-size: 13px;+ font-weight: $font-weight-normal;+ cursor: pointer;+ white-space: nowrap;+ transition: color 0.14s;- .btn-text {- @media (max-width: $breakpoint-md) {- display: none;- }+ svg {+ color: var(--text-ghost);+ transition: color 0.14s;+ flex-shrink: 0;}-}--// ============================================-// APPLICATIONS GRID VIEW-// ============================================--.apps-grid {- display: grid;- grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));- gap: $space-4;-}--.app-card {- background: $bg-card;- border: 1px solid $border-default;- border-radius: $radius-lg;- padding: $space-4;- cursor: pointer;- position: relative;- @include transition(all);&:hover {- border-color: $border-active;- transform: translateY(-2px);- box-shadow: $shadow-md;+ background: none;+ color: var(--text-dim);++ svg {+ color: var(--text-faint);+ }}- &.selected {- background: $accent-glow;- border-color: fade($accent-primary-raw, 30%);+ &.active {+ background: none;+ color: var(--text);+ border-bottom-color: var(--accent);+ font-weight: $font-weight-medium;++ svg {+ color: var(--accent-bright);+ }}}-.app-card-checkbox {- position: absolute;- top: $space-3;- left: $space-3;- z-index: 1;+// Tab content area+.app-detail-content {+ min-height: 400px;}-.app-card-header {- display: flex;- justify-content: space-between;- align-items: flex-start;- margin-bottom: $space-3;- padding-left: $space-6 + $space-2;-}+// Overview grid layout+.app-overview-grid {+ display: grid;+ grid-template-columns: 2fr 1fr;+ gap: $space-4;-.app-card-body {- h3 {- font-size: $font-size-md;- font-weight: $font-weight-semibold;- color: $text-primary;- margin-bottom: $space-2;- @include truncate();+ @media (max-width: $breakpoint-lg) {+ grid-template-columns: 1fr;}}-.app-card-meta {+.app-overview-left,+.app-overview-right {display: flex;- align-items: center;- gap: $space-2;- margin-bottom: $space-3;+ flex-direction: column;+ gap: $space-4;}-.app-card-info {- display: flex;- flex-direction: column;- gap: $space-1;- min-height: 48px;+// Panels — quiet surface + mono eyebrow header+.app-panel {+ background: var(--surface);+ border: 1px solid var(--border-soft);+ border-radius: var(--radius);+ overflow: hidden;}-.app-card-info-row {+.app-panel-header {display: flex;align-items: center;- gap: $space-2;- font-size: $font-size-sm;- color: $text-secondary;+ justify-content: flex-start;+ gap: 7px;+ padding: 12px 17px;+ border-bottom: 1px solid var(--border-soft);+ font-family: var(--mono);+ font-size: 10.5px;+ font-weight: $font-weight-semibold;+ letter-spacing: 0.08em;+ text-transform: uppercase;+ color: var(--text-faint);svg {- color: $text-tertiary;- flex-shrink: 0;+ width: 13px;+ height: 13px;+ color: var(--accent-bright);}}-.app-card-actions {- display: flex;- justify-content: flex-end;+// Right-aligned action slot inside an eyebrow header (resets the eyebrow+// typography so buttons keep their normal type)+.app-panel-header-actions {+ margin-left: auto;+ display: inline-flex;+ align-items: center;gap: $space-2;- margin-top: $space-3;- padding-top: $space-3;- border-top: 1px solid $border-subtle;+ font-family: $font-main;+ font-weight: $font-weight-normal;+ text-transform: none;+ letter-spacing: normal;}-// Icon-only button-.btn-icon {- padding: $space-2 !important;+.app-panel-body {+ padding: $space-4 17px;- svg {- margin: 0 !important;+ .hint:last-child {+ margin-bottom: 0;+ }++ .app-detail-actions {+ flex-wrap: wrap;+ align-items: center;+ margin-bottom: $space-3;++ &:last-child {+ margin-bottom: 0;+ }+ }++ .app-info-grid + .app-detail-actions,+ .app-info-grid + .hint {+ margin-top: $space-3;}}-// ============================================-// CONFIRMATION MODAL-// ============================================+.app-panel-hint {+ margin: 0 0 $space-3;+ font-size: 13px;+ line-height: 1.5;+ color: var(--text-dim);-.confirm-modal {- max-width: 420px;+ &:last-child {+ margin-bottom: 0;+ }+}++// Info grids → k/v spec rows (.sk-info-row look)+.app-info-grid {+ display: flex;+ flex-direction: column;+ gap: 0;}-.confirm-modal-header {+.app-info-item {display: flex;+ flex-direction: row;+ justify-content: space-between;align-items: center;- gap: $space-3;- margin-bottom: $space-3;+ gap: $space-4;+ padding: 10px 0;+ border-top: 1px solid var(--border-soft);- h2 {- margin: 0;- font-size: $font-size-lg;+ &:first-child {+ border-top: none;+ padding-top: 0;}-}-.confirm-icon-danger {- color: $danger;- flex-shrink: 0;+ &:last-child {+ padding-bottom: 0;+ }}-.confirm-modal-message {- color: $text-secondary;- font-size: $font-size-base;- line-height: $line-height-relaxed;- margin-bottom: $space-5;+.app-info-label {+ font-family: var(--mono);+ font-size: 12px;+ color: var(--text-faint);+ min-width: 0;+ overflow-wrap: anywhere;}-// ============================================-// APPLICATION DETAIL PAGE-// ============================================+.app-info-value {+ display: inline-flex;+ align-items: center;+ justify-content: flex-end;+ flex-wrap: wrap;+ gap: $space-2;+ font-family: var(--mono);+ font-size: 12.5px;+ color: var(--text);+ text-align: right;+ min-width: 0;+ overflow-wrap: anywhere;-.app-header-info {- @include flex-start();- gap: $space-5;+ a {+ color: var(--accent-bright);+ text-decoration: none;- @media (max-width: $breakpoint-md) {- flex-direction: column;- align-items: flex-start;+ &:hover {+ text-decoration: underline;+ }}}-.app-header-title {- @include flex-start();- gap: $space-4;+// Mono path chip (Root Path row)+.app-path-value {+ display: inline-block;+ font-family: var(--mono);+ font-size: 11.5px;+ color: var(--text-dim);+ background: var(--surface-2);+ border: 1px solid var(--border-soft);+ padding: 3px 8px;+ border-radius: 5px;+ overflow-wrap: anywhere;+}- h1 {- font-size: $font-size-2xl;+// Port reachability hint inside the info value+.port-indicator {+ font-family: var(--mono);+ font-size: 11px;+ color: var(--red);++ &.accessible {+ color: var(--green);}}// ============================================-// DEPLOY TAB+// APPLICATION DETAIL — SCOPED TAB INTERNALS+// (shared class re-tints that must not leak to other pages)// ============================================-.deploy-tab {- @include flex-column-gap($space-5);-- .deploy-setup {- padding: $space-8 0;- }+.app-detail-page {- .deploy-header {+ // ---- shadcn tab strip (.tabs/.tab) → accent-wash chips ----+ .tabs {+ gap: 2px;+ border-bottom: 1px solid var(--border-soft);+ padding-bottom: $space-2;margin-bottom: $space-5;}- .deploy-status-card {- display: flex;- align-items: center;- justify-content: space-between;- gap: $space-4;- padding: $space-4 $space-5;- background: $bg-card;- border: 1px solid $border-subtle;- border-radius: $radius-lg;+ .tab {+ padding: 7px 12px;+ border-bottom: none;+ margin-bottom: 0;+ border-radius: 8px;+ color: var(--text-dim);+ font-size: 13px;+ font-weight: $font-weight-normal;- @media (max-width: $breakpoint-md) {- flex-direction: column;- align-items: flex-start;+ &:hover {+ background: var(--surface-hover);+ color: var(--text);+ }++ &.active,+ &[data-state="active"] {+ background: var(--accent-bg);+ color: var(--accent-bright);+ font-weight: $font-weight-medium;}}- .deploy-repo-info {+ // ---- Mono eyebrow heading (JSX opt-in for bare h3 headers) ----+ .app-eyebrow,+ h3.app-eyebrow {display: flex;align-items: center;- gap: $space-3;+ gap: 6px;+ margin: 0 0 $space-3;+ font-family: var(--mono);+ font-size: 11px;+ font-weight: $font-weight-semibold;+ letter-spacing: 0.08em;+ text-transform: uppercase;+ color: var(--text-faint);+ }- svg {- flex-shrink: 0;- color: $text-secondary;+ // ---- Section headers → mono eyebrows ----+ .section-header {+ margin-bottom: $space-4;++ h3 {+ display: flex;+ align-items: center;+ gap: 6px;+ margin: 0;+ font-family: var(--mono);+ font-size: 11px;+ font-weight: $font-weight-semibold;+ letter-spacing: 0.08em;+ text-transform: uppercase;+ color: var(--text-faint);}+ }- > div {+ // ---- Generic cards (Build / Deploy / Settings tabs) ----+ .card {+ background: var(--surface);+ border: 1px solid var(--border-soft);+ border-radius: var(--radius);+ box-shadow: none;++ > h3,+ .card-header-row h3 {display: flex;- flex-direction: column;- gap: $space-1;+ align-items: center;+ gap: 6px;+ margin: 0 0 $space-3;+ font-family: var(--mono);+ font-size: 11px;+ font-weight: $font-weight-semibold;+ letter-spacing: 0.08em;+ text-transform: uppercase;+ color: var(--text-faint);}- .repo-url {- font-family: $font-mono;+ h4 {font-size: $font-size-sm;- color: $text-primary;- word-break: break-all;+ font-weight: $font-weight-semibold;+ color: var(--text);}+ }- .repo-branch {- font-size: $font-size-xs;- color: $text-tertiary;+ .card-header-row {+ display: flex;+ justify-content: space-between;+ align-items: center;+ margin-bottom: $space-4;++ h3 {+ margin: 0;}}- .deploy-actions {+ .card-actions {display: flex;gap: $space-2;- flex-shrink: 0;- }-- .deploy-grid {- display: grid;- grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));- gap: $space-5;+ margin-top: $space-4;+ padding-top: $space-4;+ border-top: 1px solid var(--border-soft);}- .webhook-url {- display: flex;- align-items: center;- gap: $space-3;- margin-top: $space-3;- padding: $space-3;- background: $bg-hover;- border-radius: $radius-md;+ // ---- InfoList rows → k/v spec rows ----+ .info-item {+ padding: 10px 0;+ border-bottom: 1px solid var(--border-soft);- code {- flex: 1;- font-size: $font-size-xs;- color: $text-secondary;- word-break: break-all;+ &:last-child {+ border-bottom: none;}+ }- .btn {- flex-shrink: 0;- }+ .info-label {+ font-family: var(--mono);+ font-size: 12px;+ color: var(--text-faint);}- .scripts-grid {- display: grid;- grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));- gap: $space-4;+ .info-value {+ font-family: var(--mono);+ font-size: 12.5px;+ color: var(--text);+ overflow-wrap: anywhere;+ text-align: right;}- .script-section {- h4 {- font-size: $font-size-sm;- font-weight: $font-weight-medium;- color: $text-secondary;- margin-bottom: $space-2;- }+ // ---- Build auto-detection grid ----+ .detection-label {+ font-family: var(--mono);+ font-size: 10.5px;+ letter-spacing: 0.06em;+ color: var(--text-faint);}- .script-code {- padding: $space-3;- background: $bg-hover;- border-radius: $radius-md;- font-family: $font-mono;- font-size: $font-size-xs;- color: $text-secondary;- overflow-x: auto;- white-space: pre-wrap;- word-break: break-word;- margin: 0;+ .detection-value {+ font-size: 13px;+ font-weight: $font-weight-medium;+ color: var(--text);}- .card-actions {+ // ---- Deployment history rows (Build + Deploy tabs) ----+ .deployments-list {display: flex;- gap: $space-2;- margin-top: $space-4;- padding-top: $space-4;- border-top: 1px solid $border-subtle;+ flex-direction: column;}- .checkbox-label {+ .deployment-item {display: flex;align-items: center;- gap: $space-2;- cursor: pointer;+ gap: $space-3;+ padding: 10px 0;+ border-top: 1px solid var(--border-soft);- input[type="checkbox"] {- width: 18px;- height: 18px;- cursor: pointer;+ &:first-child {+ border-top: none;}- span {- font-size: $font-size-sm;- color: $text-primary;+ &.current {+ background: fade($success, 5%);+ margin: 0 (-$space-2);+ padding-left: $space-2;+ padding-right: $space-2;+ border-radius: $radius-sm;+ }++ > .btn,+ > button {+ margin-left: auto;}}- .form-help {- display: block;- margin-top: $space-1;- font-size: $font-size-xs;- color: $text-tertiary;+ .deployment-info {+ display: flex;+ align-items: center;+ gap: $space-2;}- textarea {- font-family: $font-mono;- font-size: $font-size-sm;- resize: vertical;- min-height: 80px;+ .deployment-version {+ font-family: var(--mono);+ font-size: 11.5px;+ color: var(--accent-bright);+ background: var(--accent-bg);+ padding: 2px 7px;+ border-radius: 5px;}- .text-danger {- color: $danger;- font-size: $font-size-sm;+ .deployment-meta {+ display: flex;+ align-items: center;+ gap: $space-3;+ font-family: var(--mono);+ font-size: 11px;+ color: var(--text-faint);}- .text-muted {- color: $text-tertiary;- font-size: $font-size-sm;+ .deployment-date {+ font-family: var(--mono);+ font-size: 11px;+ color: var(--text-faint);}-}-// ============================================-// ROUTING DIAGNOSTICS-// ============================================+ // ---- Domains panel rows ----+ .domains-list {+ display: flex;+ flex-direction: column;+ }-.diagnostics-card {- .card-header-row {+ .domain-item {display: flex;- justify-content: space-between;align-items: center;- margin-bottom: $space-4;+ justify-content: space-between;+ gap: $space-3;+ padding: 10px 0;+ border-top: 1px solid var(--border-soft);- h3 {- margin: 0;+ &:first-child {+ border-top: none;+ padding-top: 0;}- }- .diagnostics-hint {- color: $text-tertiary;- font-size: $font-size-sm;- margin: 0;+ &:last-child {+ padding-bottom: 0;+ }++ a {+ font-family: var(--mono);+ font-size: 12.5px;+ color: var(--accent-bright);+ text-decoration: none;+ overflow-wrap: anywhere;++ &:hover {+ text-decoration: underline;+ }+ }}- .diagnostics-results {- @include flex-column-gap($space-4);+ .ssl-badge {+ font-family: var(--mono);+ font-size: 10px;+ font-weight: $font-weight-semibold;+ letter-spacing: 0.05em;+ text-transform: uppercase;+ background: var(--green-bg);+ color: var(--green);+ padding: 2px 7px;+ border-radius: 5px;+ flex-shrink: 0;}- .health-summary {- padding: $space-3 $space-4;- border-radius: $radius-md;- font-weight: $font-weight-medium;+ // ---- Live resources (CPU accent-bright / RAM cyan, sk-gauge spec) ----+ .resource-bar-container {+ display: flex;+ flex-direction: column;+ gap: 7px;- &.healthy {- background: rgba(34, 197, 94, 0.1);- color: $success;+ & + .resource-bar-container {+ margin-top: $space-4;}+ }- &.unhealthy {- background: rgba(239, 68, 68, 0.1);- color: $danger;- }+ .resource-bar-header {+ display: flex;+ justify-content: space-between;+ align-items: center;}- .diagnostics-section {- h4 {- font-size: $font-size-sm;- font-weight: $font-weight-semibold;- color: $text-secondary;- margin-bottom: $space-2;- display: flex;- align-items: center;- gap: $space-2;- }+ .resource-bar-label {+ font-size: 13px;+ color: var(--text-dim);+ }- &.issues, &.recommendations {- padding: $space-3;- border-radius: $radius-md;- }+ .resource-bar-value {+ font-family: var(--mono);+ font-size: 12.5px;+ font-weight: $font-weight-semibold;+ color: var(--text);+ }++ .resource-bar-track {+ height: 5px;+ background: var(--surface-3);+ border-radius: 3px;+ overflow: hidden;+ }- &.issues {- background: rgba(239, 68, 68, 0.05);- border: 1px solid rgba(239, 68, 68, 0.2);+ .resource-bar-fill {+ display: block;+ height: 100%;+ border-radius: 3px;+ transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);++ &.cpu {+ background: var(--accent-bright);}- &.recommendations {- background: rgba(234, 179, 8, 0.05);- border: 1px solid rgba(234, 179, 8, 0.2);+ &.ram {+ background: var(--cyan);}}- .check-list {- display: flex;- flex-wrap: wrap;- gap: $space-2 $space-4;+ .resource-hint {+ margin: $space-3 0 0;+ font-family: var(--mono);+ font-size: 11.5px;+ color: var(--text-faint);}- .check-item {+ // ---- Routing diagnostics ----+ .diag-status {display: flex;align-items: center;- gap: $space-2;- font-size: $font-size-sm;- color: $text-secondary;+ gap: $space-3;+ padding: $space-3;+ border-radius: var(--radius-sm);++ &.healthy {+ background: var(--green-bg);+ }++ &.unhealthy {+ background: var(--red-bg);+ }}- .health-icon {- font-weight: bold;- font-size: $font-size-base;+ .diag-icon {+ width: 30px;+ height: 30px;+ display: grid;+ place-items: center;+ border-radius: 8px;+ font-family: var(--mono);+ font-size: 14px;+ font-weight: $font-weight-bold;+ flex-shrink: 0;&.healthy {- color: $success;+ color: var(--green);}&.unhealthy {- color: $danger;+ color: var(--red);}}- .issues-list, .recommendations-list {- margin: 0;+ .diag-text {+ min-width: 0;++ h4 {+ margin: 0;+ font-size: 13px;+ font-weight: $font-weight-semibold;+ color: var(--text);+ }++ p {+ margin: 2px 0 0;+ font-family: var(--mono);+ font-size: 11px;+ color: var(--text-dim);+ }+ }++ .diag-issues {+ margin: $space-3 0 0;padding-left: $space-5;- font-size: $font-size-sm;+ font-size: 12.5px;+ color: var(--red);li {margin-bottom: $space-1;@@ -947,538 +1167,258 @@}}- .issues-list {- color: $danger;+ // ---- Packages tab — dense list rows ----+ .packages-list {+ display: flex;+ flex-direction: column;+ gap: 0;+ background: var(--surface);+ border: 1px solid var(--border-soft);+ border-radius: var(--radius);+ overflow: hidden;+ }++ .package-item {+ background: transparent;+ border: none;+ border-radius: 0;+ box-shadow: none;+ padding: 11px 16px;++ & + .package-item {+ border-top: 1px solid var(--border-soft);+ }}- .recommendations-list {- color: $warning;+ .package-name {+ font-family: var(--mono);+ font-size: 12.5px;+ color: var(--accent-bright);}- .config-preview {- margin: $space-2 0 0;- padding: $space-3;- background: $bg-hover;- border-radius: $radius-md;- font-family: $font-mono;- font-size: $font-size-xs;- color: $text-secondary;- overflow-x: auto;- white-space: pre;- max-height: 300px;- overflow-y: auto;+ .package-version {+ font-family: var(--mono);+ font-size: 12px;+ color: var(--text-faint);}-}--.port-status {- font-size: $font-size-xs;- margin-left: $space-2;- &.accessible {- color: $success;+ .install-form {+ margin-bottom: $space-4;}- &.not-accessible {- color: $danger;+ // ---- Consoles / editors → code surface ----+ .code-editor {+ background: var(--bg-code);+ border-color: var(--border-soft);+ color: var(--text-code);+ font-family: var(--mono);+ font-size: $font-size-sm;}-}--// ============================================-// APP DETAIL PAGE - NEW DESIGN-// ============================================-.app-detail-page {- display: flex;- flex-direction: column;- gap: $space-4;-}--// Top bar with breadcrumbs and actions-.app-detail-topbar {- display: flex;- justify-content: space-between;- align-items: center;- gap: $space-4;- flex-wrap: wrap;-}+ .command-output {+ background: var(--bg-code);+ border-color: var(--border-soft);+ border-radius: var(--radius);-.app-detail-breadcrumbs {- display: flex;- align-items: center;- gap: $space-2;- font-size: $font-size-sm;- color: $text-tertiary;-- a {- color: $text-secondary;- text-decoration: none;- @include transition(color);-- &:hover {- color: $accent-primary;+ pre {+ color: var(--text-code);+ font-size: $font-size-sm;}- }-- .breadcrumb-separator {- color: $text-tertiary;- }-- .breadcrumb-current {- color: $text-primary;- font-weight: $font-weight-medium;- }-}--.app-detail-actions {- display: flex;- gap: $space-2;-}--// App header with icon, title, status-.app-detail-header {- display: flex;- align-items: center;- gap: $space-4;- padding: $space-5;- background: $bg-card;- border: 1px solid $border-default;- border-radius: $radius-lg;-}-.app-detail-icon {- width: 56px;- height: 56px;- border-radius: $radius-lg;- display: flex;- align-items: center;- justify-content: center;- flex-shrink: 0;- font-size: $font-size-xl;- font-weight: $font-weight-bold;- color: white;+ &.error {+ border-color: rgba(251, 111, 111, 0.4);+ }- img {- width: 100%;- height: 100%;- object-fit: contain;- border-radius: $radius-lg;+ .stderr {+ color: var(--red);+ }}- svg {- color: white;+ .log-viewer {+ background: var(--bg-code);+ border: 1px solid var(--border-soft);+ border-radius: var(--radius);+ color: var(--text-code);+ font-family: var(--mono);+ font-size: 12.5px;}-}-.app-detail-title-block {- flex: 1;- min-width: 0;-- h1 {- font-size: $font-size-xl;- font-weight: $font-weight-semibold;- color: $text-primary;- margin: 0 0 $space-1 0;+ // ---- Logs tab chrome ----+ .logs-header {display: flex;+ justify-content: space-between;align-items: center;gap: $space-3;- }-}+ flex-wrap: wrap;+ margin-bottom: $space-3;-.app-detail-meta {- display: flex;- align-items: center;- gap: $space-4;- font-size: $font-size-sm;- color: $text-tertiary;+ h3 {+ display: flex;+ align-items: center;+ gap: 6px;+ margin: 0;+ font-family: var(--mono);+ font-size: 11px;+ font-weight: $font-weight-semibold;+ letter-spacing: 0.08em;+ text-transform: uppercase;+ color: var(--text-faint);+ }+ }- span {+ .logs-controls {display: flex;align-items: center;- gap: $space-1;- }-- a {- color: $text-secondary;- @include transition(color);+ gap: $space-3;- &:hover {- color: $accent-primary;+ .hint {+ margin: 0;+ font-family: var(--mono);+ font-size: 11px;+ color: var(--text-faint);}}-}-// Status badge for app detail-.app-status-badge {- display: inline-flex;- align-items: center;- gap: $space-2;- padding: $space-1 $space-3;- border-radius: $radius-full;- font-size: $font-size-sm;- font-weight: $font-weight-medium;-- &.running {- background: $success-bg;- color: $success;- }-- &.stopped {- background: $bg-tertiary;- color: $text-secondary;- }-- &.error {- background: $danger-bg;- color: $danger;- }-}--.pulse-dot {- width: 8px;- height: 8px;- border-radius: 50%;- background: currentColor;-- .running & {- animation: pulse-green 2s ease-in-out infinite;- }-}--// Tabs navigation-.app-detail-tabs {- display: flex;- gap: $space-1;- background: $bg-card;- border: 1px solid $border-default;- border-radius: $radius-lg;- padding: $space-1;- overflow-x: auto;-}--.app-detail-tab {- padding: $space-2 $space-4;- background: transparent;- border: none;- border-radius: $radius-md;- color: $text-secondary;- font-size: $font-size-sm;- font-weight: $font-weight-medium;- cursor: pointer;- white-space: nowrap;- @include transition(all);-- &:hover {- color: $text-primary;- background: $bg-hover;- }-- &.active {- color: $accent-primary;- background: $accent-glow;- }-}--// Tab content area-.app-detail-content {- min-height: 400px;-}--// Overview grid layout-.app-overview-grid {- display: grid;- grid-template-columns: 2fr 1fr;- gap: $space-4;+ .checkbox-inline {+ display: inline-flex;+ align-items: center;+ gap: $space-1;+ font-size: 13px;+ color: var(--text-dim);+ cursor: pointer;+ white-space: nowrap;- @media (max-width: $breakpoint-lg) {- grid-template-columns: 1fr;+ input {+ accent-color: var(--accent-primary);+ }}-}--.app-overview-left,-.app-overview-right {- display: flex;- flex-direction: column;- gap: $space-4;-}--// Panels-.app-panel {- background: $bg-card;- border: 1px solid $border-default;- border-radius: $radius-lg;- overflow: hidden;-}--.app-panel-header {- display: flex;- justify-content: space-between;- align-items: center;- padding: $space-4;- border-bottom: 1px solid $border-subtle;- h3 {- margin: 0;- font-size: $font-size-base;+ // ---- Config modals (Build / Deploy) — mono eyebrow field labels ----+ .modal .form-group > label:not(.checkbox-label) {+ font-family: var(--mono);+ font-size: 11px;font-weight: $font-weight-semibold;- color: $text-primary;+ letter-spacing: 0.06em;+ text-transform: uppercase;+ color: var(--text-faint);}}-.app-panel-body {- padding: $space-4;-}+// ============================================+// DEPLOY TAB+// ============================================-// Info grid for key-value pairs-.app-info-grid {- display: grid;- grid-template-columns: repeat(2, 1fr);- gap: $space-4;+.deploy-tab {+ @include flex-column-gap($space-5);- @media (max-width: $breakpoint-sm) {- grid-template-columns: 1fr;+ .deploy-setup {+ padding: $space-8 0;}-}--.app-info-item {- display: flex;- flex-direction: column;- gap: $space-1;- .info-label {- font-size: $font-size-xs;- color: $text-tertiary;- text-transform: uppercase;- letter-spacing: 0.5px;+ .deploy-header {+ margin-bottom: 0;}- .info-value {- font-size: $font-size-sm;- color: $text-primary;- font-weight: $font-weight-medium;-- &.mono {- font-family: $font-mono;- }-- a {- color: $accent-primary;- @include transition(color);+ .deploy-status-card {+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: $space-4;+ padding: $space-4 $space-5;+ background: var(--surface);+ border: 1px solid var(--border-soft);+ border-radius: var(--radius);- &:hover {- text-decoration: underline;- }+ @media (max-width: $breakpoint-md) {+ flex-direction: column;+ align-items: flex-start;}}-}-// Private URL box-.private-url-box {- display: flex;- align-items: center;- gap: $space-3;- padding: $space-3;- background: $bg-hover;- border-radius: $radius-md;-- code {- flex: 1;- font-size: $font-size-sm;- color: $text-secondary;- word-break: break-all;- }-}--// Resource bars for live stats-.resource-bar-container {- display: flex;- flex-direction: column;- gap: $space-3;-}--.resource-bar-item {- display: flex;- align-items: center;- gap: $space-3;-}--.resource-bar-label {- width: 40px;- font-size: $font-size-sm;- color: $text-secondary;- flex-shrink: 0;-}--.resource-bar-track {- flex: 1;- height: 8px;- background: $bg-hover;- border-radius: $radius-sm;- overflow: hidden;-}--.resource-bar-fill {- height: 100%;- border-radius: $radius-sm;- @include transition(width);-- &.cpu {- background: $accent-primary;- }-- &.ram {- background: $warning;- }-}--.resource-bar-value {- width: 48px;- font-size: $font-size-sm;- font-weight: $font-weight-medium;- color: $text-primary;- text-align: right;- flex-shrink: 0;-}--// Environment linking panel-.env-link-section {- @include flex-column-gap($space-3);-}--.env-link-item {- display: flex;- align-items: center;- justify-content: space-between;- padding: $space-3;- background: $bg-hover;- border-radius: $radius-md;-- .env-link-info {+ .deploy-repo-info {display: flex;align-items: center;gap: $space-3;- .env-badge {- padding: $space-1 $space-2;- border-radius: $radius-sm;- font-size: $font-size-xs;- font-weight: $font-weight-semibold;- text-transform: uppercase;-- &.prod {- background: rgba(239, 68, 68, 0.15);- color: $danger;- }-- &.dev {- background: rgba(34, 197, 94, 0.15);- color: $success;- }+ svg {+ flex-shrink: 0;+ color: var(--text-faint);+ }- &.staging {- background: rgba(234, 179, 8, 0.15);- color: $warning;- }+ > div {+ display: flex;+ flex-direction: column;+ gap: $space-1;}- .env-name {+ .repo-url {+ font-family: var(--mono);font-size: $font-size-sm;- color: $text-primary;+ color: var(--text);+ word-break: break-all;}- }-}-// Process status list-.process-list {- @include flex-column-gap($space-2);-}+ .repo-branch {+ font-family: var(--mono);+ font-size: 11px;+ color: var(--accent-bright);+ }+ }-.process-item {- display: flex;- align-items: center;- justify-content: space-between;- padding: $space-2 $space-3;- background: $bg-hover;- border-radius: $radius-md;+ .deploy-actions {+ display: flex;+ gap: $space-2;+ flex-shrink: 0;+ }- .process-name {- font-size: $font-size-sm;- color: $text-primary;- font-family: $font-mono;+ .deploy-grid {+ display: grid;+ grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));+ gap: $space-5;}- .process-status {+ .checkbox-label {display: flex;align-items: center;gap: $space-2;- font-size: $font-size-xs;+ cursor: pointer;- &.running {- color: $success;+ input[type="checkbox"] {+ width: 16px;+ height: 16px;+ cursor: pointer;+ accent-color: var(--accent-primary);}- &.stopped {- color: $text-tertiary;+ span {+ font-size: $font-size-sm;+ color: var(--text);}}-}-// Domains list-.domains-list {- @include flex-column-gap($space-2);-}--.domain-item {- display: flex;- align-items: center;- justify-content: space-between;- padding: $space-2 $space-3;- background: $bg-hover;- border-radius: $radius-md;+ .form-help {+ display: block;+ margin-top: $space-1;+ font-size: $font-size-xs;+ color: var(--text-faint);+ }- .domain-url {+ textarea {+ font-family: var(--mono);font-size: $font-size-sm;- color: $text-primary;-- a {- color: $accent-primary;- @include transition(color);-- &:hover {- text-decoration: underline;- }- }+ resize: vertical;+ min-height: 80px;}- .domain-ssl {- display: flex;- align-items: center;- gap: $space-1;- font-size: $font-size-xs;- color: $success;-- &.no-ssl {- color: $text-tertiary;- }+ .text-danger {+ color: $danger;+ font-size: $font-size-sm;}-}-// Empty state for panels-.panel-empty {- text-align: center;- padding: $space-6;- color: $text-tertiary;- font-size: $font-size-sm;-}--// Loading state for resources-.resources-loading {- display: flex;- align-items: center;- justify-content: center;- gap: $space-2;- padding: $space-4;- color: $text-tertiary;- font-size: $font-size-sm;+ .text-muted {+ color: var(--text-faint);+ font-size: $font-size-sm;+ }}// ============================================@@ -1486,42 +1426,16 @@// ============================================@media (max-width: $breakpoint-md) {- .apps-toolbar {- flex-direction: column;- align-items: stretch;- }-- .apps-toolbar-left {- flex-direction: column;- align-items: stretch;- }-- .apps-search-wrapper {- max-width: none;- }-- .apps-toolbar-right {- justify-content: space-between;- }-- .apps-bulk-bar {+ .apps-list-head {flex-direction: column;align-items: stretch;- }- .apps-bulk-actions {- justify-content: flex-end;+ .apps-search {+ min-width: 0;+ }}- .app-row {+ .app-detail-header {flex-wrap: wrap;}-- .app-actions {- width: 100%;- justify-content: flex-end;- margin-top: $space-2;- padding-top: $space-2;- border-top: 1px solid $border-subtle;- }}