feat: Frontend CSS refactoring and test improvements

Frontend:
- Refactored CSS architecture with new utility classes
- Updated dashboard components styling
- Improved responsive grid system
- Enhanced typography and variables
- Updated E2E and integration tests

Added:
- Claude Code slash commands for validation
- SSH tunnel and start test scripts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-21 21:08:47 +02:00
parent 05fc705fe5
commit 12ac2b671e
58 changed files with 7783 additions and 3539 deletions

View File

@@ -151,27 +151,27 @@
.page-container {
padding: var(--space-md);
}
.header-container {
padding: 0 var(--space-md);
}
.dashboard-container {
gap: var(--space-lg);
padding: var(--space-md);
}
.card-container {
padding: var(--space-md);
}
.toolbar-container {
flex-direction: column;
align-items: stretch;
gap: var(--space-sm);
padding: var(--space-md);
}
.action-bar {
flex-direction: column;
align-items: stretch;
@@ -185,15 +185,15 @@
.dashboard-container {
padding: var(--space-sm);
}
.header-container {
padding: 0 var(--space-sm);
}
.card-container {
padding: var(--space-sm);
}
.stats-container-horizontal {
flex-direction: column;
gap: var(--space-sm);
@@ -202,11 +202,15 @@
}
/* Utility Container Classes */
.container-fluid { width: 100%; }
.container-full-height { min-height: 100vh; }
.container-fluid {
width: 100%;
}
.container-full-height {
min-height: 100vh;
}
.container-centered {
display: flex;
align-items: center;
justify-content: center;
min-height: 50vh;
}
}

View File

@@ -1,82 +1,194 @@
/* Grid System - ROA2WEB */
/* Flexbox Grid System */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex {
display: flex;
}
.inline-flex {
display: inline-flex;
}
/* Flex Direction */
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-row-reverse { flex-direction: row-reverse; }
.flex-col-reverse { flex-direction: column-reverse; }
.flex-row {
flex-direction: row;
}
.flex-col {
flex-direction: column;
}
.flex-row-reverse {
flex-direction: row-reverse;
}
.flex-col-reverse {
flex-direction: column-reverse;
}
/* Flex Wrap */
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-wrap {
flex-wrap: wrap;
}
.flex-nowrap {
flex-wrap: nowrap;
}
/* Flex Grow/Shrink */
.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-none { flex: none; }
.flex-1 {
flex: 1 1 0%;
}
.flex-auto {
flex: 1 1 auto;
}
.flex-none {
flex: none;
}
/* Justify Content */
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }
.justify-start {
justify-content: flex-start;
}
.justify-center {
justify-content: center;
}
.justify-end {
justify-content: flex-end;
}
.justify-between {
justify-content: space-between;
}
.justify-around {
justify-content: space-around;
}
.justify-evenly {
justify-content: space-evenly;
}
/* Align Items */
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.items-baseline { align-items: baseline; }
.items-start {
align-items: flex-start;
}
.items-center {
align-items: center;
}
.items-end {
align-items: flex-end;
}
.items-stretch {
align-items: stretch;
}
.items-baseline {
align-items: baseline;
}
/* CSS Grid */
.grid { display: grid; }
.inline-grid { display: inline-grid; }
.grid {
display: grid;
}
.inline-grid {
display: inline-grid;
}
/* Grid Template Columns */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid-cols-1 {
grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-cols-4 {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-cols-5 {
grid-template-columns: repeat(5, minmax(0, 1fr));
}
.grid-cols-6 {
grid-template-columns: repeat(6, minmax(0, 1fr));
}
.grid-cols-12 {
grid-template-columns: repeat(12, minmax(0, 1fr));
}
/* Grid Column Span */
.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-6 { grid-column: span 6 / span 6; }
.col-span-12 { grid-column: span 12 / span 12; }
.col-span-full { grid-column: 1 / -1; }
.col-span-1 {
grid-column: span 1 / span 1;
}
.col-span-2 {
grid-column: span 2 / span 2;
}
.col-span-3 {
grid-column: span 3 / span 3;
}
.col-span-4 {
grid-column: span 4 / span 4;
}
.col-span-6 {
grid-column: span 6 / span 6;
}
.col-span-12 {
grid-column: span 12 / span 12;
}
.col-span-full {
grid-column: 1 / -1;
}
/* Grid Gap */
.gap-0 { gap: 0; }
.gap-1 { gap: var(--space-xs); }
.gap-2 { gap: var(--space-sm); }
.gap-4 { gap: var(--space-md); }
.gap-6 { gap: var(--space-lg); }
.gap-8 { gap: var(--space-xl); }
.gap-0 {
gap: 0;
}
.gap-1 {
gap: var(--space-xs);
}
.gap-2 {
gap: var(--space-sm);
}
.gap-4 {
gap: var(--space-md);
}
.gap-6 {
gap: var(--space-lg);
}
.gap-8 {
gap: var(--space-xl);
}
.gap-x-0 { column-gap: 0; }
.gap-x-1 { column-gap: var(--space-xs); }
.gap-x-2 { column-gap: var(--space-sm); }
.gap-x-4 { column-gap: var(--space-md); }
.gap-x-6 { column-gap: var(--space-lg); }
.gap-x-8 { column-gap: var(--space-xl); }
.gap-x-0 {
column-gap: 0;
}
.gap-x-1 {
column-gap: var(--space-xs);
}
.gap-x-2 {
column-gap: var(--space-sm);
}
.gap-x-4 {
column-gap: var(--space-md);
}
.gap-x-6 {
column-gap: var(--space-lg);
}
.gap-x-8 {
column-gap: var(--space-xl);
}
.gap-y-0 { row-gap: 0; }
.gap-y-1 { row-gap: var(--space-xs); }
.gap-y-2 { row-gap: var(--space-sm); }
.gap-y-4 { row-gap: var(--space-md); }
.gap-y-6 { row-gap: var(--space-lg); }
.gap-y-8 { row-gap: var(--space-xl); }
.gap-y-0 {
row-gap: 0;
}
.gap-y-1 {
row-gap: var(--space-xs);
}
.gap-y-2 {
row-gap: var(--space-sm);
}
.gap-y-4 {
row-gap: var(--space-md);
}
.gap-y-6 {
row-gap: var(--space-lg);
}
.gap-y-8 {
row-gap: var(--space-xl);
}
/* Dashboard Specific Grids */
.stats-grid {
@@ -109,15 +221,15 @@
.stats-grid {
grid-template-columns: repeat(2, 1fr);
}
.dashboard-v2-grid {
grid-template-columns: repeat(3, 1fr);
}
.dashboard-v3-layout {
grid-template-columns: 1fr;
}
.dashboard-v4-actions {
grid-template-columns: repeat(2, 1fr);
}
@@ -127,12 +239,12 @@
.stats-grid {
grid-template-columns: 1fr;
}
.dashboard-v2-grid {
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(6, 1fr);
}
.dashboard-v4-actions {
grid-template-columns: 1fr;
}
@@ -156,4 +268,4 @@
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: var(--space-md);
}
}

View File

@@ -254,23 +254,23 @@
.hamburger-btn {
display: flex;
}
.header-actions {
gap: var(--space-sm);
}
.quick-actions {
display: none;
}
.slide-menu {
width: 280px;
}
.menu-section {
padding: var(--space-md);
}
.quick-action-btn {
justify-content: center;
padding: var(--space-md);
@@ -281,9 +281,9 @@
.header-brand {
font-size: var(--text-base);
}
.slide-menu {
width: 100vw;
max-width: 320px;
}
}
}