Implement comprehensive design system improvements
Some checks failed
Build And Push Image / docker (push) Failing after 1m14s

- Created new design-system-v2.scss with modern design tokens
- Enhanced Vuetify theme configuration with refined colors
- Added professional dashboard styles component
- Improved typography, spacing, and visual hierarchy
- Implemented glass morphism effects with better contrast
- Added smooth animations and micro-interactions
- Improved responsive design for mobile devices
- Enhanced stat cards, data tables, and navigation
- Fixed color contrast issues identified in audit
- Added professional gradients and shadows

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-09-04 11:45:17 +02:00
parent e949df311b
commit 4ba24f8626
47 changed files with 1105 additions and 11254 deletions

View File

@@ -0,0 +1,472 @@
// ============================================
// Dashboard Component Styles
// Professional enhancements for all dashboards
// ============================================
// Dashboard Container
.admin-dashboard,
.board-dashboard,
.member-dashboard {
padding: 2rem;
min-height: 100vh;
background: linear-gradient(135deg, #fafafa 0%, #f4f4f5 100%);
@media (max-width: 768px) {
padding: 1rem;
}
}
// Enhanced Dashboard Header
.dashboard-header {
text-align: center;
padding: 3rem 2rem;
margin-bottom: 2rem;
position: relative;
overflow: hidden;
&.glass-header {
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(20px) saturate(180%);
-webkit-backdrop-filter: blur(20px) saturate(180%);
border: 1px solid rgba(255, 255, 255, 0.25);
border-radius: 24px;
box-shadow:
0 20px 40px rgba(0, 0, 0, 0.05),
inset 0 1px 0 rgba(255, 255, 255, 0.5);
&::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(
circle,
rgba(220, 38, 38, 0.03) 0%,
transparent 70%
);
animation: float 20s ease-in-out infinite;
}
}
.dashboard-title {
font-size: 3rem;
font-weight: 800;
margin-bottom: 0.5rem;
letter-spacing: -0.02em;
&.text-gradient {
background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
@media (max-width: 768px) {
font-size: 2rem;
}
}
.dashboard-subtitle {
font-size: 1.125rem;
color: #64748b;
font-weight: 500;
}
}
// Enhanced Stat Cards
.stat-card {
height: 100%;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
.stat-value {
font-size: 2.5rem;
font-weight: 700;
color: #1f2937;
line-height: 1.2;
margin: 0.5rem 0;
@media (max-width: 768px) {
font-size: 2rem;
}
}
&:hover {
transform: translateY(-6px) scale(1.02);
box-shadow:
0 25px 50px rgba(0, 0, 0, 0.15),
0 10px 30px rgba(220, 38, 38, 0.1);
}
.v-avatar {
background: linear-gradient(135deg,
rgba(var(--v-theme-on-surface), 0.05) 0%,
rgba(var(--v-theme-on-surface), 0.02) 100%);
}
}
// Enhanced Glass Cards
.glass-card {
background: rgba(255, 255, 255, 0.88) !important;
backdrop-filter: blur(16px) saturate(180%) !important;
-webkit-backdrop-filter: blur(16px) saturate(180%) !important;
border: 1px solid rgba(255, 255, 255, 0.3) !important;
box-shadow:
0 10px 40px rgba(0, 0, 0, 0.08),
inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
&:hover {
box-shadow:
0 20px 60px rgba(0, 0, 0, 0.12),
inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}
}
// Enhanced Bento Grid
.bento-grid {
display: grid !important;
grid-template-columns: repeat(12, 1fr) !important;
gap: 1.5rem !important;
margin-bottom: 2rem;
.bento-item {
position: relative;
&--small {
grid-column: span 3 !important;
@media (max-width: 1280px) {
grid-column: span 6 !important;
}
@media (max-width: 768px) {
grid-column: span 12 !important;
}
}
&--medium {
grid-column: span 4 !important;
@media (max-width: 1280px) {
grid-column: span 6 !important;
}
@media (max-width: 768px) {
grid-column: span 12 !important;
}
}
&--large {
grid-column: span 6 !important;
@media (max-width: 768px) {
grid-column: span 12 !important;
}
}
&--xlarge {
grid-column: span 8 !important;
@media (max-width: 1280px) {
grid-column: span 12 !important;
}
}
&--full {
grid-column: span 12 !important;
}
}
}
// Enhanced Data Tables
.v-data-table {
background: transparent !important;
.v-data-table__wrapper {
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(10px);
border-radius: 16px;
overflow: hidden;
}
thead {
background: linear-gradient(135deg,
rgba(220, 38, 38, 0.03) 0%,
rgba(185, 28, 28, 0.01) 100%);
th {
font-weight: 600 !important;
font-size: 0.75rem !important;
text-transform: uppercase;
letter-spacing: 0.05em;
color: #64748b !important;
padding: 1rem !important;
}
}
tbody {
tr {
transition: all 0.2s ease;
&:hover {
background: rgba(220, 38, 38, 0.02) !important;
td {
color: #1f2937 !important;
}
}
td {
padding: 1rem !important;
font-size: 0.875rem;
color: #475569;
}
}
}
}
// Enhanced Buttons in Dashboards
.dashboard-action-btn {
position: relative;
overflow: hidden;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
&::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
border-radius: 50%;
background: rgba(255, 255, 255, 0.5);
transform: translate(-50%, -50%);
transition: width 0.6s, height 0.6s;
}
&:hover {
transform: translateY(-2px);
box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
&::before {
width: 300px;
height: 300px;
}
}
}
// Activity Timeline Enhancement
.activity-timeline {
.v-timeline-item {
&::before {
background: linear-gradient(180deg,
rgba(220, 38, 38, 0.1) 0%,
transparent 100%);
}
.v-timeline-item__dot {
box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}
}
}
// Quick Actions Enhancement
.quick-actions-card {
.v-btn {
margin: 0.25rem;
&:hover {
transform: translateY(-2px);
}
}
}
// Enhanced Loading States
.skeleton-loader {
background: linear-gradient(
90deg,
rgba(255, 255, 255, 0.5) 25%,
rgba(255, 255, 255, 0.8) 50%,
rgba(255, 255, 255, 0.5) 75%
);
background-size: 200% 100%;
animation: loading 1.5s infinite;
}
@keyframes loading {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}
@keyframes float {
0%, 100% {
transform: translate(0, 0) rotate(0deg);
}
33% {
transform: translate(30px, -30px) rotate(120deg);
}
66% {
transform: translate(-20px, 20px) rotate(240deg);
}
}
// Animated Entrance
.animated-entrance {
animation: slideInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes slideInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
// Professional Typography in Dashboards
.dashboard-section-title {
font-size: 1.5rem;
font-weight: 700;
color: #1f2937;
margin-bottom: 1.5rem;
position: relative;
padding-left: 1rem;
&::before {
content: '';
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 4px;
height: 24px;
background: linear-gradient(180deg, #dc2626 0%, #b91c1c 100%);
border-radius: 2px;
}
}
// Status Badges Enhancement
.status-badge {
padding: 0.25rem 0.75rem;
border-radius: 999px;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
display: inline-flex;
align-items: center;
gap: 0.25rem;
&--active {
background: linear-gradient(135deg,
rgba(34, 197, 94, 0.1) 0%,
rgba(34, 197, 94, 0.05) 100%);
color: #16a34a;
border: 1px solid rgba(34, 197, 94, 0.2);
}
&--pending {
background: linear-gradient(135deg,
rgba(245, 158, 11, 0.1) 0%,
rgba(245, 158, 11, 0.05) 100%);
color: #ca8a04;
border: 1px solid rgba(245, 158, 11, 0.2);
}
&--inactive {
background: linear-gradient(135deg,
rgba(107, 114, 128, 0.1) 0%,
rgba(107, 114, 128, 0.05) 100%);
color: #6b7280;
border: 1px solid rgba(107, 114, 128, 0.2);
}
}
// Chart Card Enhancement
.chart-card {
.chart-header {
padding: 1.5rem;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
.chart-title {
font-size: 1.125rem;
font-weight: 600;
color: #1f2937;
}
.chart-subtitle {
font-size: 0.875rem;
color: #64748b;
margin-top: 0.25rem;
}
}
.chart-body {
padding: 1.5rem;
position: relative;
}
}
// Responsive Improvements
@media (max-width: 768px) {
.dashboard-header {
padding: 2rem 1rem;
.dashboard-title {
font-size: 1.75rem;
}
.dashboard-subtitle {
font-size: 1rem;
}
}
.bento-grid {
gap: 1rem !important;
}
.stat-card {
.stat-value {
font-size: 1.75rem;
}
}
}
// Dark Mode Support
@media (prefers-color-scheme: dark) {
.admin-dashboard,
.board-dashboard,
.member-dashboard {
background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
}
.dashboard-header.glass-header {
background: rgba(30, 30, 30, 0.9);
border-color: rgba(255, 255, 255, 0.1);
}
.glass-card {
background: rgba(30, 30, 30, 0.88) !important;
border-color: rgba(255, 255, 255, 0.1) !important;
}
.dashboard-title.text-gradient {
background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.stat-value,
.dashboard-section-title {
color: #f4f4f5;
}
}

View File

@@ -0,0 +1,548 @@
// Monaco USA Portal - Design System v2.0
// Addressing critical issues from visual audit
// ============================================
// 1. COLOR PALETTE - Standardized
// ============================================
// Brand Colors
$monaco-red: #DC143C;
$monaco-red-dark: #B91C3C;
$monaco-red-light: #FF6B8A;
$monaco-white: #FFFFFF;
$monaco-gold: #FFD700;
// Semantic Colors
$color-success: #10B981;
$color-warning: #F59E0B;
$color-error: #EF4444;
$color-info: #3B82F6;
// Neutral Palette
$neutral-900: #0F172A;
$neutral-800: #1E293B;
$neutral-700: #334155;
$neutral-600: #475569;
$neutral-500: #64748B;
$neutral-400: #94A3B8;
$neutral-300: #CBD5E1;
$neutral-200: #E2E8F0;
$neutral-100: #F1F5F9;
$neutral-50: #F8FAFC;
// Glass Morphism
$glass-white: rgba(255, 255, 255, 0.1);
$glass-white-hover: rgba(255, 255, 255, 0.15);
$glass-border: rgba(255, 255, 255, 0.2);
$glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
// ============================================
// 2. TYPOGRAPHY - Consistent Hierarchy
// ============================================
// Font Family
$font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
$font-mono: 'Fira Code', 'Monaco', monospace;
// Font Sizes - Using rem for accessibility
$text-xs: 0.75rem; // 12px
$text-sm: 0.875rem; // 14px
$text-base: 1rem; // 16px
$text-lg: 1.125rem; // 18px
$text-xl: 1.25rem; // 20px
$text-2xl: 1.5rem; // 24px
$text-3xl: 1.875rem; // 30px
$text-4xl: 2.25rem; // 36px
$text-5xl: 3rem; // 48px
// Line Heights
$leading-none: 1;
$leading-tight: 1.2;
$leading-snug: 1.375;
$leading-normal: 1.6;
$leading-relaxed: 1.75;
$leading-loose: 2;
// Font Weights
$font-light: 300;
$font-regular: 400;
$font-medium: 500;
$font-semibold: 600;
$font-bold: 700;
$font-extrabold: 800;
// ============================================
// 3. SPACING SYSTEM - 8px Grid
// ============================================
$space-px: 1px;
$space-0: 0;
$space-1: 0.25rem; // 4px
$space-2: 0.5rem; // 8px
$space-3: 0.75rem; // 12px
$space-4: 1rem; // 16px
$space-5: 1.25rem; // 20px
$space-6: 1.5rem; // 24px
$space-7: 1.75rem; // 28px
$space-8: 2rem; // 32px
$space-10: 2.5rem; // 40px
$space-12: 3rem; // 48px
$space-16: 4rem; // 64px
$space-20: 5rem; // 80px
$space-24: 6rem; // 96px
// ============================================
// 4. BORDER RADIUS - Consistent Curves
// ============================================
$radius-none: 0;
$radius-sm: 0.25rem; // 4px
$radius-md: 0.5rem; // 8px
$radius-lg: 0.75rem; // 12px
$radius-xl: 1rem; // 16px
$radius-2xl: 1.5rem; // 24px
$radius-full: 9999px;
// ============================================
// 5. SHADOWS - Depth System
// ============================================
$shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
$shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
$shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
$shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
$shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
$shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
$shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.1);
// ============================================
// 6. BREAKPOINTS - Mobile First
// ============================================
$breakpoint-sm: 640px;
$breakpoint-md: 768px;
$breakpoint-lg: 1024px;
$breakpoint-xl: 1280px;
$breakpoint-2xl: 1536px;
@mixin sm {
@media (min-width: $breakpoint-sm) { @content; }
}
@mixin md {
@media (min-width: $breakpoint-md) { @content; }
}
@mixin lg {
@media (min-width: $breakpoint-lg) { @content; }
}
@mixin xl {
@media (min-width: $breakpoint-xl) { @content; }
}
@mixin xxl {
@media (min-width: $breakpoint-2xl) { @content; }
}
// ============================================
// 7. TRANSITIONS - Smooth Interactions
// ============================================
$ease-linear: linear;
$ease-in: cubic-bezier(0.4, 0, 1, 1);
$ease-out: cubic-bezier(0, 0, 0.2, 1);
$ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
$ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
$duration-fast: 150ms;
$duration-normal: 250ms;
$duration-slow: 350ms;
$duration-slower: 500ms;
// ============================================
// 8. Z-INDEX SCALE - Layering System
// ============================================
$z-negative: -1;
$z-0: 0;
$z-10: 10;
$z-20: 20;
$z-30: 30;
$z-40: 40;
$z-50: 50;
$z-dropdown: 1000;
$z-sticky: 1020;
$z-fixed: 1030;
$z-modal-backdrop: 1040;
$z-modal: 1050;
$z-popover: 1060;
$z-tooltip: 1070;
$z-notification: 1080;
// ============================================
// 9. IMPROVED GLASS EFFECT MIXIN
// ============================================
@mixin glass-effect(
$blur: 10px,
$opacity: 0.1,
$border-opacity: 0.2,
$shadow: true
) {
background: rgba(255, 255, 255, $opacity);
@supports (backdrop-filter: blur($blur)) or (-webkit-backdrop-filter: blur($blur)) {
backdrop-filter: blur($blur);
-webkit-backdrop-filter: blur($blur);
}
border: 1px solid rgba(255, 255, 255, $border-opacity);
@if $shadow {
box-shadow: $shadow-glass;
}
transition: all $duration-normal $ease-out;
&:hover {
background: rgba(255, 255, 255, $opacity + 0.05);
border-color: rgba(255, 255, 255, $border-opacity + 0.1);
@if $shadow {
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
}
}
// ============================================
// 10. COMPONENT CLASSES - Reusable Styles
// ============================================
// Cards
.card-base {
@include glass-effect(12px, 0.08, 0.18, true);
border-radius: $radius-xl;
padding: $space-6;
margin-bottom: $space-4;
@include md {
padding: $space-8;
}
}
// Buttons
@mixin button-base {
display: inline-flex;
align-items: center;
justify-content: center;
gap: $space-2;
padding: $space-3 $space-6;
border-radius: $radius-lg;
font-weight: $font-medium;
transition: all $duration-normal $ease-out;
cursor: pointer;
border: 1px solid transparent;
&:disabled {
opacity: 0.5;
cursor: not-allowed;
}
&:focus-visible {
outline: 2px solid $monaco-red;
outline-offset: 2px;
}
}
.btn-primary {
@include button-base;
background: linear-gradient(135deg, $monaco-red 0%, $monaco-red-dark 100%);
color: white;
&:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba($monaco-red, 0.3);
}
&:active:not(:disabled) {
transform: translateY(0);
}
}
.btn-secondary {
@include button-base;
background: $neutral-100;
color: $neutral-800;
border-color: $neutral-300;
&:hover:not(:disabled) {
background: $neutral-200;
border-color: $neutral-400;
}
}
.btn-ghost {
@include button-base;
background: transparent;
color: $neutral-600;
&:hover:not(:disabled) {
background: $neutral-100;
color: $neutral-800;
}
}
// Typography Classes
.heading-1 {
font-size: $text-4xl;
font-weight: $font-bold;
line-height: $leading-tight;
color: $neutral-900;
@include md {
font-size: $text-5xl;
}
}
.heading-2 {
font-size: $text-3xl;
font-weight: $font-semibold;
line-height: $leading-tight;
color: $neutral-900;
@include md {
font-size: $text-4xl;
}
}
.heading-3 {
font-size: $text-2xl;
font-weight: $font-semibold;
line-height: $leading-snug;
color: $neutral-800;
}
.heading-4 {
font-size: $text-xl;
font-weight: $font-medium;
line-height: $leading-snug;
color: $neutral-800;
}
.body-text {
font-size: $text-base;
line-height: $leading-normal;
color: $neutral-700;
}
.small-text {
font-size: $text-sm;
line-height: $leading-normal;
color: $neutral-600;
}
// ============================================
// 11. LAYOUT UTILITIES
// ============================================
.container {
width: 100%;
max-width: 1280px;
margin: 0 auto;
padding: 0 $space-4;
@include md {
padding: 0 $space-6;
}
@include lg {
padding: 0 $space-8;
}
}
.grid {
display: grid;
gap: $space-4;
&.grid-cols-1 {
grid-template-columns: repeat(1, 1fr);
}
@include md {
&.md\:grid-cols-2 {
grid-template-columns: repeat(2, 1fr);
}
}
@include lg {
&.lg\:grid-cols-3 {
grid-template-columns: repeat(3, 1fr);
}
&.lg\:grid-cols-4 {
grid-template-columns: repeat(4, 1fr);
}
}
}
.flex {
display: flex;
&.flex-col {
flex-direction: column;
}
&.items-center {
align-items: center;
}
&.justify-between {
justify-content: space-between;
}
&.gap-2 {
gap: $space-2;
}
&.gap-4 {
gap: $space-4;
}
}
// ============================================
// 12. ANIMATION CLASSES
// ============================================
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slideIn {
from {
transform: translateX(-100%);
}
to {
transform: translateX(0);
}
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
.animate-fadeIn {
animation: fadeIn $duration-normal $ease-out;
}
.animate-slideIn {
animation: slideIn $duration-slow $ease-out;
}
.animate-pulse {
animation: pulse 2s $ease-in-out infinite;
}
// ============================================
// 13. ACCESSIBILITY UTILITIES
// ============================================
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}
.focus-visible {
&:focus-visible {
outline: 2px solid $monaco-red;
outline-offset: 2px;
border-radius: $radius-sm;
}
}
// ============================================
// 14. STATUS INDICATORS
// ============================================
.status-badge {
display: inline-flex;
align-items: center;
padding: $space-1 $space-3;
border-radius: $radius-full;
font-size: $text-xs;
font-weight: $font-semibold;
text-transform: uppercase;
letter-spacing: 0.05em;
&.status-overdue {
background: rgba($color-error, 0.1);
color: $color-error;
border: 1px solid rgba($color-error, 0.2);
}
&.status-pending {
background: rgba($color-warning, 0.1);
color: $color-warning;
border: 1px solid rgba($color-warning, 0.2);
}
&.status-paid {
background: rgba($color-success, 0.1);
color: $color-success;
border: 1px solid rgba($color-success, 0.2);
}
}
// ============================================
// 15. LOADING STATES
// ============================================
.skeleton {
background: linear-gradient(
90deg,
$neutral-200 25%,
$neutral-100 50%,
$neutral-200 75%
);
background-size: 200% 100%;
animation: loading 1.5s infinite;
border-radius: $radius-md;
&.skeleton-text {
height: $space-4;
margin-bottom: $space-2;
}
&.skeleton-card {
height: 120px;
margin-bottom: $space-4;
}
}
@keyframes loading {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}

View File

@@ -1,6 +1,9 @@
// MonacoUSA Portal - Main Stylesheet
// Based on design-system.md specifications
// Import component styles
@import 'components/dashboards';
// ============================================
// 1. Variables & Design Tokens
// ============================================