Files
cameleer-server/ui/src/components/DeploymentProgress.module.css
hsiegeln ff62a34d89
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 1m22s
CI / docker (push) Successful in 1m9s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 36s
refactor: UI consistency — shared CSS, design system colors, no inline styles
Phase 1: Extract 6 shared CSS modules (table-section, log-panel,
rate-colors, refresh-indicator, chart-card, section-card) eliminating
~135 duplicate class definitions across 11 files.

Phase 2: Replace all hardcoded hex colors in CSS modules with design
system variables. Strip ~55 hex fallbacks from var() patterns. Fix 4
undefined variable names (--accent, --bg-base, --surface, --bg-surface-raised).

Phase 3: Replace ~45 hardcoded hex values in ProcessDiagram SVG
components with var() CSS custom properties. Fix Dashboard.tsx color prop.

Phase 4: Create CSS modules for AdminLayout, DatabaseAdminPage,
OidcCallback (previously 100% inline). Extract shared PageLoader
component (replaces 3 copy-pasted spinner patterns). Move AppsTab
static inline styles to CSS classes. Extract LayoutShell StarredList styles.

58 files changed, net -219 lines.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 14:55:54 +02:00

105 lines
1.9 KiB
CSS

.container {
position: relative;
padding: 12px 0 4px;
}
/* Background track line spanning full width between first and last dot */
.track {
position: absolute;
top: 16px;
left: calc(100% / 14);
right: calc(100% / 14);
height: 2px;
background: var(--border-subtle);
border-radius: 1px;
}
.trackFill {
height: 100%;
background: var(--amber);
border-radius: 1px;
transition: width 0.4s ease;
}
.trackFailed {
background: var(--error);
}
/* Steps row — dots + labels positioned over the track */
.steps {
position: relative;
display: flex;
justify-content: space-between;
}
.step {
display: flex;
flex-direction: column;
align-items: center;
width: calc(100% / 7);
}
/* Dots */
.dot {
width: 10px;
height: 10px;
border-radius: 50%;
border: 2px solid var(--border-subtle);
background: var(--bg-surface);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
transition: all 0.2s ease;
}
.dot.completed {
background: var(--amber);
border-color: var(--amber);
color: var(--bg-surface);
}
.dot.active {
border-color: var(--amber);
background: var(--amber);
box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 25%, transparent);
animation: pulse 2s ease-in-out infinite;
}
.dot.failed {
background: var(--error);
border-color: var(--error);
box-shadow: 0 0 0 3px color-mix(in srgb, var(--error) 25%, transparent);
}
/* Labels */
.label {
font-size: 10px;
color: var(--text-muted);
text-align: center;
margin-top: 6px;
line-height: 1;
opacity: 0.6;
}
.labelDone {
opacity: 0.8;
}
.labelActive {
color: var(--amber);
font-weight: 600;
opacity: 1;
}
.labelFailed {
color: var(--error);
font-weight: 600;
opacity: 1;
}
@keyframes pulse {
0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 25%, transparent); }
50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--amber) 10%, transparent); }
}