1485 lines
36 KiB
CSS
1485 lines
36 KiB
CSS
/*
|
|
* Reifen Späth - Lagerbestand App
|
|
* Design System - Single Source of Truth
|
|
* =============================================
|
|
*/
|
|
|
|
/* =============================================
|
|
1. CSS Variables / Design Tokens
|
|
============================================= */
|
|
:root {
|
|
/* Brand Colors */
|
|
--color-primary: #dc2626;
|
|
--color-primary-light: #ef4444;
|
|
--color-primary-dark: #b91c1c;
|
|
--color-secondary: #c0c0c0;
|
|
|
|
/* Semantic Colors */
|
|
--color-success: #22c55e;
|
|
--color-success-light: #86efac;
|
|
--color-warning: #fbbf24;
|
|
--color-warning-light: #fde047;
|
|
--color-error: #ef4444;
|
|
--color-error-light: #f87171;
|
|
--color-info: #60a5fa;
|
|
--color-info-light: #93c5fd;
|
|
|
|
/* Background Colors */
|
|
--color-bg: #000000;
|
|
--color-bg-gradient: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
|
|
|
|
/* Surface Colors */
|
|
--surface-primary: rgba(28, 28, 30, 0.95);
|
|
--surface-secondary: rgba(44, 44, 46, 0.9);
|
|
--surface-tertiary: rgba(58, 58, 60, 0.8);
|
|
--surface-elevated: rgba(28, 28, 30, 0.8);
|
|
|
|
/* Text Colors */
|
|
--text-primary: #ffffff;
|
|
--text-secondary: rgba(255, 255, 255, 0.7);
|
|
--text-tertiary: rgba(255, 255, 255, 0.5);
|
|
--text-muted: rgba(255, 255, 255, 0.5);
|
|
--text-placeholder: rgba(255, 255, 255, 0.4);
|
|
|
|
/* Border Colors */
|
|
--border-default: rgba(255, 255, 255, 0.1);
|
|
--border-light: rgba(255, 255, 255, 0.06);
|
|
--border-focus: rgba(220, 38, 38, 0.5);
|
|
|
|
/* Spacing Scale (4px base) */
|
|
--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-8: 2rem; /* 32px */
|
|
--space-10: 2.5rem; /* 40px */
|
|
--space-12: 3rem; /* 48px */
|
|
|
|
/* Responsive spacing */
|
|
--space-page-x: clamp(0.75rem, 2vw, 2rem);
|
|
--space-page-y: clamp(1rem, 3vw, 2.5rem);
|
|
|
|
/* Typography Scale */
|
|
--font-family-base: 'Rajdhani', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
|
|
--font-family-heading: 'Orbitron', 'SF Pro Display', monospace;
|
|
--font-family-mono: 'Orbitron', monospace;
|
|
--font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
|
|
|
|
--text-xs: 0.75rem; /* 12px */
|
|
--text-sm: 0.875rem; /* 14px */
|
|
--text-base: 1rem; /* 16px - minimum for inputs */
|
|
--text-lg: 1.125rem; /* 18px */
|
|
--text-xl: 1.25rem; /* 20px */
|
|
--text-2xl: 1.5rem; /* 24px */
|
|
--text-3xl: 1.875rem; /* 30px */
|
|
|
|
--font-weight-normal: 400;
|
|
--font-weight-medium: 500;
|
|
--font-weight-semibold: 600;
|
|
--font-weight-bold: 700;
|
|
|
|
--line-height-tight: 1.2;
|
|
--line-height-normal: 1.5;
|
|
--line-height-relaxed: 1.6;
|
|
|
|
/* Border Radius */
|
|
--radius-sm: 6px;
|
|
--radius-md: 10px;
|
|
--radius-lg: 14px;
|
|
--radius-xl: 20px;
|
|
--radius-full: 9999px;
|
|
|
|
/* Shadows */
|
|
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
|
|
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
|
|
--shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
|
|
--shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.5);
|
|
--shadow-glow: 0 0 20px rgba(220, 38, 38, 0.4);
|
|
--shadow-btn-primary: 0 4px 12px rgba(220, 38, 38, 0.3);
|
|
--shadow-btn-primary-hover: 0 6px 18px rgba(220, 38, 38, 0.4);
|
|
|
|
/* Transitions */
|
|
--ease-default: cubic-bezier(0.25, 0.1, 0.25, 1);
|
|
--ease-out: cubic-bezier(0.25, 1, 0.5, 1);
|
|
--ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
--duration-fast: 150ms;
|
|
--duration-normal: 250ms;
|
|
--duration-slow: 350ms;
|
|
|
|
/* Touch Targets (Apple HIG minimum 44px) */
|
|
--touch-target: 44px;
|
|
--touch-target-sm: 36px;
|
|
--touch-target-lg: 52px;
|
|
|
|
/* Safe Areas */
|
|
--safe-area-top: env(safe-area-inset-top, 0px);
|
|
--safe-area-bottom: env(safe-area-inset-bottom, 0px);
|
|
--safe-area-left: env(safe-area-inset-left, 0px);
|
|
--safe-area-right: env(safe-area-inset-right, 0px);
|
|
|
|
/* Z-Index Scale — values above Bootstrap's highest (1080) */
|
|
--z-dropdown: 100;
|
|
--z-sticky: 200;
|
|
--z-modal-backdrop: 1100;
|
|
--z-modal: 1200;
|
|
--z-tooltip: 1300;
|
|
--z-toast: 1400;
|
|
|
|
/* Emoji sizing */
|
|
--emoji-sm: 1rem;
|
|
--emoji-md: 1.25rem;
|
|
--emoji-lg: 1.5rem;
|
|
--emoji-xl: 2rem;
|
|
}
|
|
|
|
/* =============================================
|
|
2. Base Styles / Reset
|
|
============================================= */
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
-webkit-text-size-adjust: 100%;
|
|
-webkit-tap-highlight-color: transparent;
|
|
text-size-adjust: 100%;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-family-base);
|
|
background: var(--color-bg-gradient);
|
|
color: var(--text-primary);
|
|
line-height: var(--line-height-normal);
|
|
min-height: 100vh;
|
|
min-height: 100dvh;
|
|
overflow-x: hidden;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
overscroll-behavior-y: contain;
|
|
font-size: max(16px, 1rem);
|
|
}
|
|
|
|
img, svg, video, iframe {
|
|
display: block;
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
a {
|
|
color: var(--color-primary-light);
|
|
text-decoration: none;
|
|
transition: color var(--duration-fast) var(--ease-default);
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
a:active {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* =============================================
|
|
3. Typography
|
|
============================================= */
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: var(--font-family-heading);
|
|
color: var(--text-primary);
|
|
line-height: var(--line-height-tight);
|
|
font-weight: var(--font-weight-bold);
|
|
}
|
|
|
|
h1 { font-size: clamp(1.5rem, 5vw, 2.5rem); }
|
|
h2 { font-size: clamp(1.25rem, 4vw, 2rem); }
|
|
h3 { font-size: clamp(1.1rem, 3vw, 1.5rem); }
|
|
h4 { font-size: clamp(1rem, 2.5vw, 1.25rem); }
|
|
|
|
.metallic-text {
|
|
background: linear-gradient(45deg, #c0c0c0, #ffffff, #c0c0c0);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
/* =============================================
|
|
4. Form Controls
|
|
============================================= */
|
|
.form-control,
|
|
.form-select {
|
|
width: 100%;
|
|
min-height: var(--touch-target);
|
|
padding: var(--space-3) var(--space-4);
|
|
font-size: var(--text-base);
|
|
font-family: var(--font-family-base);
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
border: 0.5px solid var(--border-default);
|
|
border-radius: var(--radius-md);
|
|
color: var(--text-primary);
|
|
-webkit-text-fill-color: var(--text-primary);
|
|
transition: all var(--duration-fast) var(--ease-default);
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
}
|
|
|
|
.form-control:focus,
|
|
.form-select:focus {
|
|
outline: none;
|
|
border-color: var(--border-focus);
|
|
box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
|
|
background-color: rgba(0, 0, 0, 0.4);
|
|
color: var(--text-primary);
|
|
-webkit-text-fill-color: var(--text-primary);
|
|
}
|
|
|
|
.form-control:-webkit-autofill,
|
|
.form-control:-webkit-autofill:hover,
|
|
.form-control:-webkit-autofill:focus {
|
|
-webkit-text-fill-color: var(--text-primary);
|
|
-webkit-box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.3) inset;
|
|
transition: background-color 5000s ease-in-out 0s;
|
|
}
|
|
|
|
.form-control::placeholder {
|
|
color: var(--text-placeholder);
|
|
}
|
|
|
|
.form-control:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.form-label {
|
|
display: block;
|
|
margin-bottom: var(--space-2);
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-sm);
|
|
font-weight: var(--font-weight-medium);
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
textarea.form-control {
|
|
resize: vertical;
|
|
min-height: 80px;
|
|
}
|
|
|
|
/* Select dropdown styling */
|
|
select.form-control {
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' fill-opacity='0.5' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
|
|
background-repeat: no-repeat;
|
|
background-position: right var(--space-4) center;
|
|
padding-right: calc(var(--space-4) * 2 + 12px);
|
|
cursor: pointer;
|
|
}
|
|
|
|
select.form-control option {
|
|
background: #1c1c1e;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* Validation States */
|
|
.form-control.is-valid {
|
|
border-color: rgba(34, 197, 94, 0.6);
|
|
}
|
|
|
|
.form-control.is-invalid {
|
|
border-color: rgba(239, 68, 68, 0.6);
|
|
}
|
|
|
|
/* Form Layout Utilities */
|
|
.form-row-2col {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 0;
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.form-row-2col {
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 1rem;
|
|
}
|
|
}
|
|
|
|
/* =============================================
|
|
5. Buttons
|
|
============================================= */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--space-2);
|
|
min-height: var(--touch-target);
|
|
min-width: var(--touch-target);
|
|
padding: var(--space-3) var(--space-5);
|
|
border: none;
|
|
border-radius: var(--radius-md);
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-sm);
|
|
font-weight: var(--font-weight-semibold);
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
transition: all var(--duration-fast) var(--ease-out);
|
|
-webkit-tap-highlight-color: transparent;
|
|
user-select: none;
|
|
}
|
|
|
|
.btn:active:not(:disabled) {
|
|
transform: scale(0.97);
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
|
|
color: var(--text-primary);
|
|
box-shadow: var(--shadow-btn-primary);
|
|
}
|
|
|
|
.btn-primary:hover:not(:disabled) {
|
|
box-shadow: var(--shadow-btn-primary-hover);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: var(--surface-secondary);
|
|
color: var(--text-primary);
|
|
border: 0.5px solid var(--border-default);
|
|
}
|
|
|
|
.btn-secondary:hover:not(:disabled) {
|
|
background: var(--surface-tertiary);
|
|
}
|
|
|
|
.btn-success {
|
|
background: linear-gradient(180deg, #34d058 0%, var(--color-success) 100%);
|
|
color: var(--text-primary);
|
|
box-shadow: 0 2px 8px rgba(48, 209, 88, 0.3);
|
|
}
|
|
|
|
.btn-danger {
|
|
background: linear-gradient(180deg, var(--color-error-light) 0%, var(--color-error) 100%);
|
|
color: var(--text-primary);
|
|
box-shadow: 0 2px 8px rgba(255, 69, 58, 0.3);
|
|
}
|
|
|
|
.btn-outline {
|
|
background: transparent;
|
|
color: var(--text-secondary);
|
|
border: 1px solid var(--border-default);
|
|
}
|
|
|
|
.btn-outline:hover:not(:disabled) {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
color: var(--text-primary);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.btn-outline-primary {
|
|
background: transparent;
|
|
color: var(--color-primary-light);
|
|
border: 1px solid rgba(220, 38, 38, 0.4);
|
|
}
|
|
|
|
.btn-outline-primary:hover:not(:disabled) {
|
|
background: rgba(220, 38, 38, 0.1);
|
|
color: var(--color-primary-light);
|
|
border-color: rgba(220, 38, 38, 0.6);
|
|
}
|
|
|
|
.btn-lg {
|
|
min-height: var(--touch-target-lg);
|
|
padding: var(--space-4) var(--space-6);
|
|
font-size: var(--text-base);
|
|
}
|
|
|
|
.btn-sm {
|
|
min-height: var(--touch-target-sm);
|
|
padding: var(--space-2) var(--space-3);
|
|
font-size: var(--text-xs);
|
|
}
|
|
|
|
/* =============================================
|
|
6. Cards
|
|
============================================= */
|
|
.card {
|
|
background: var(--surface-primary);
|
|
border: 0.5px solid var(--border-default);
|
|
border-radius: var(--radius-lg);
|
|
transition: all var(--duration-normal) var(--ease-default);
|
|
}
|
|
|
|
.card:hover {
|
|
border-color: var(--color-primary);
|
|
box-shadow: var(--shadow-glow);
|
|
}
|
|
|
|
/* =============================================
|
|
7. Alerts
|
|
============================================= */
|
|
.alert {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
padding: var(--space-3) var(--space-4);
|
|
border-radius: var(--radius-md);
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-sm);
|
|
border: 0.5px solid transparent;
|
|
}
|
|
|
|
.alert-danger {
|
|
background: rgba(239, 68, 68, 0.12);
|
|
border-color: rgba(239, 68, 68, 0.25);
|
|
color: var(--color-error-light);
|
|
}
|
|
|
|
.alert-success {
|
|
background: rgba(34, 197, 94, 0.12);
|
|
border-color: rgba(34, 197, 94, 0.25);
|
|
color: var(--color-success-light);
|
|
}
|
|
|
|
.alert-warning {
|
|
background: rgba(251, 191, 36, 0.12);
|
|
border-color: rgba(251, 191, 36, 0.25);
|
|
color: var(--color-warning-light);
|
|
}
|
|
|
|
.alert-info {
|
|
background: rgba(96, 165, 250, 0.12);
|
|
border-color: rgba(96, 165, 250, 0.25);
|
|
color: var(--color-info-light);
|
|
}
|
|
|
|
/* =============================================
|
|
8. Badges
|
|
============================================= */
|
|
.badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: var(--space-1) var(--space-2);
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-xs);
|
|
font-weight: var(--font-weight-semibold);
|
|
border-radius: var(--radius-full);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.bg-success { background-color: var(--color-success) !important; color: #000; }
|
|
.bg-warning { background-color: var(--color-warning) !important; color: #000; }
|
|
.bg-danger { background-color: var(--color-error) !important; }
|
|
.bg-secondary { background-color: var(--surface-tertiary) !important; }
|
|
|
|
/* =============================================
|
|
9. Auth States
|
|
============================================= */
|
|
.auth-loading,
|
|
.auth-redirect {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 100vh;
|
|
min-height: 100dvh;
|
|
padding: var(--space-6);
|
|
text-align: center;
|
|
gap: var(--space-4);
|
|
font-family: var(--font-family-base);
|
|
color: var(--text-tertiary);
|
|
}
|
|
|
|
.auth-loading .spinner-border {
|
|
width: 2.5rem;
|
|
height: 2.5rem;
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.auth-redirect .auth-icon {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
.auth-redirect h2 {
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-xl);
|
|
color: var(--text-primary);
|
|
margin: 0;
|
|
}
|
|
|
|
.auth-redirect p {
|
|
color: var(--text-tertiary);
|
|
margin: 0 0 var(--space-4) 0;
|
|
}
|
|
|
|
/* =============================================
|
|
10. Modals
|
|
============================================= */
|
|
.global-modal-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.75);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
z-index: var(--z-modal-backdrop);
|
|
animation: fadeIn var(--duration-fast) var(--ease-out);
|
|
}
|
|
|
|
.global-modal-container {
|
|
position: fixed;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: var(--z-modal);
|
|
padding: var(--space-4);
|
|
padding-bottom: calc(var(--space-4) + var(--safe-area-bottom));
|
|
}
|
|
|
|
.global-modal-dialog {
|
|
background: var(--surface-primary);
|
|
border: 0.5px solid var(--border-default);
|
|
border-radius: var(--radius-xl);
|
|
width: 100%;
|
|
max-width: 380px;
|
|
max-height: calc(100vh - var(--space-8));
|
|
max-height: calc(100dvh - var(--space-8));
|
|
overflow-y: auto;
|
|
box-shadow: var(--shadow-lg);
|
|
animation: modalSlideIn var(--duration-normal) var(--ease-spring);
|
|
}
|
|
|
|
.global-modal-dialog-lg {
|
|
max-width: 480px;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
@keyframes modalSlideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.92) translateY(-16px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1) translateY(0);
|
|
}
|
|
}
|
|
|
|
.global-modal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: var(--space-5) var(--space-6);
|
|
border-bottom: 0.5px solid var(--border-light);
|
|
}
|
|
|
|
.global-modal-header h3 {
|
|
margin: 0;
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-lg);
|
|
font-weight: var(--font-weight-semibold);
|
|
}
|
|
|
|
.global-modal-close {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: none;
|
|
border-radius: 50%;
|
|
color: var(--text-tertiary);
|
|
font-size: var(--text-base);
|
|
cursor: pointer;
|
|
transition: all var(--duration-fast) var(--ease-default);
|
|
}
|
|
|
|
.global-modal-close:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.global-modal-body {
|
|
padding: var(--space-6);
|
|
}
|
|
|
|
.global-modal-body p {
|
|
margin: 0;
|
|
font-family: var(--font-family-base);
|
|
color: var(--text-secondary);
|
|
text-align: center;
|
|
line-height: var(--line-height-relaxed);
|
|
}
|
|
|
|
.global-modal-footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: var(--space-3);
|
|
padding: var(--space-4) var(--space-6);
|
|
border-top: 0.5px solid var(--border-light);
|
|
}
|
|
|
|
.global-modal-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 64px;
|
|
height: 64px;
|
|
margin: 0 auto var(--space-5);
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.global-modal-icon-warning {
|
|
background: rgba(239, 68, 68, 0.15);
|
|
color: var(--color-error);
|
|
}
|
|
|
|
/* Modal Form Controls */
|
|
.global-modal-form-group {
|
|
margin-bottom: var(--space-4);
|
|
}
|
|
|
|
.global-modal-form-label {
|
|
display: block;
|
|
margin-bottom: var(--space-2);
|
|
font-family: var(--font-family-base);
|
|
font-weight: var(--font-weight-medium);
|
|
color: var(--text-secondary);
|
|
font-size: var(--text-sm);
|
|
}
|
|
|
|
.global-modal-form-control {
|
|
width: 100%;
|
|
padding: var(--space-3) var(--space-4);
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border: 0.5px solid var(--border-default);
|
|
border-radius: var(--radius-md);
|
|
color: var(--text-primary);
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-base);
|
|
transition: all var(--duration-fast) var(--ease-default);
|
|
}
|
|
|
|
.global-modal-form-control:focus {
|
|
outline: none;
|
|
border-color: var(--border-focus);
|
|
box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
|
|
}
|
|
|
|
.global-modal-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--space-2);
|
|
min-height: var(--touch-target);
|
|
padding: var(--space-3) var(--space-5);
|
|
border-radius: var(--radius-md);
|
|
font-family: var(--font-family-base);
|
|
font-weight: var(--font-weight-semibold);
|
|
font-size: var(--text-sm);
|
|
cursor: pointer;
|
|
transition: all var(--duration-fast) var(--ease-default);
|
|
border: none;
|
|
}
|
|
|
|
.global-modal-btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.global-modal-btn-secondary {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: var(--text-primary);
|
|
border: 0.5px solid var(--border-default);
|
|
}
|
|
|
|
.global-modal-btn-primary,
|
|
.global-modal-btn-danger {
|
|
background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
|
|
color: var(--text-primary);
|
|
box-shadow: var(--shadow-btn-primary);
|
|
}
|
|
|
|
/* =============================================
|
|
10b. Universal Modal System
|
|
|
|
Strategy: We use a CUSTOM class ".app-modal" instead of
|
|
Bootstrap's ".modal" to completely avoid Bootstrap's
|
|
.modal { display:none } and all other .modal rules.
|
|
|
|
Dashboard keeps its own flat .modal pattern with scoped CSS
|
|
and is NOT affected by these rules.
|
|
|
|
.modal-dialog and .modal-content use !important on critical
|
|
properties to guarantee they override Bootstrap regardless
|
|
of load order, specificity, or caching.
|
|
============================================= */
|
|
|
|
/* Backdrop overlay */
|
|
.modal-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
z-index: var(--z-modal-backdrop, 900);
|
|
animation: fadeIn var(--duration-fast, 150ms) var(--ease-out, cubic-bezier(0.25, 1, 0.5, 1));
|
|
}
|
|
|
|
/*
|
|
* Custom modal overlay — replaces Bootstrap's .modal class.
|
|
* By using .app-modal, Bootstrap's .modal{display:none} never applies.
|
|
* This is a transparent full-screen overlay that captures clicks
|
|
* for closing. The actual dialog is .modal-dialog inside it.
|
|
*/
|
|
.app-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: var(--z-modal, 1000);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: visible;
|
|
outline: none;
|
|
}
|
|
|
|
/*
|
|
* Dialog container — centered in viewport.
|
|
* !important on critical properties guarantees we beat
|
|
* Bootstrap's .modal-dialog { pointer-events:none; position:relative }
|
|
* regardless of specificity or cascade order.
|
|
* Dashboard does NOT use .modal-dialog, so !important is safe.
|
|
*/
|
|
.modal-dialog {
|
|
position: relative !important;
|
|
width: calc(100% - 2rem);
|
|
max-width: 520px;
|
|
z-index: var(--z-modal, 1000);
|
|
pointer-events: auto !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.modal-dialog-sm {
|
|
max-width: 380px;
|
|
}
|
|
|
|
.modal-dialog-lg {
|
|
max-width: 640px;
|
|
}
|
|
|
|
/*
|
|
* Visual dialog box.
|
|
* !important on background to guarantee dark theme over
|
|
* Bootstrap's .modal-content { background-color: #fff }.
|
|
* Dashboard does NOT use .modal-content, so !important is safe.
|
|
*/
|
|
.modal-content {
|
|
background: var(--surface-primary, rgba(28, 28, 30, 0.95)) !important;
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border: 0.5px solid var(--border-default, rgba(255, 255, 255, 0.1)) !important;
|
|
border-radius: var(--radius-xl, 20px) !important;
|
|
width: 100%;
|
|
max-height: calc(100vh - var(--space-8, 2rem));
|
|
max-height: calc(100dvh - var(--space-8, 2rem));
|
|
overflow-y: auto;
|
|
box-shadow: var(--shadow-xl, 0 20px 40px rgba(0, 0, 0, 0.5));
|
|
animation: modalSlideIn var(--duration-normal, 250ms) var(--ease-spring, cubic-bezier(0.175, 0.885, 0.32, 1.275));
|
|
color: var(--text-primary, #ffffff) !important;
|
|
pointer-events: auto !important;
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: var(--space-5, 1.25rem) var(--space-6, 1.5rem);
|
|
border-bottom: 0.5px solid var(--border-light, rgba(255, 255, 255, 0.06));
|
|
gap: var(--space-4, 1rem);
|
|
}
|
|
|
|
.modal-header h3,
|
|
.modal-header h5,
|
|
.modal-title {
|
|
margin: 0;
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-lg);
|
|
font-weight: var(--font-weight-semibold);
|
|
color: var(--text-primary, #ffffff);
|
|
}
|
|
|
|
.modal-body {
|
|
padding: var(--space-6, 1.5rem);
|
|
}
|
|
|
|
.modal-body .form-label {
|
|
display: block;
|
|
font-family: var(--font-family-base);
|
|
font-weight: var(--font-weight-medium);
|
|
color: var(--text-secondary, rgba(255, 255, 255, 0.7));
|
|
font-size: var(--text-sm);
|
|
margin-bottom: var(--space-2);
|
|
}
|
|
|
|
.modal-body .required {
|
|
color: var(--color-error-light);
|
|
}
|
|
|
|
.modal-body .mb-3 {
|
|
margin-bottom: var(--space-4);
|
|
}
|
|
|
|
.modal-footer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-3);
|
|
padding: var(--space-4, 1rem) var(--space-6, 1.5rem);
|
|
border-top: 0.5px solid var(--border-light, rgba(255, 255, 255, 0.06));
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.modal-footer {
|
|
flex-direction: row;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.modal-footer .btn {
|
|
width: auto;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 479.98px) {
|
|
.modal-footer .btn {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
.btn-close {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
min-width: 32px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: none;
|
|
border-radius: 50%;
|
|
color: var(--text-tertiary);
|
|
font-size: var(--text-base);
|
|
cursor: pointer;
|
|
transition: all var(--duration-fast) var(--ease-default);
|
|
}
|
|
|
|
.btn-close::before {
|
|
content: '\00D7';
|
|
}
|
|
|
|
.btn-close:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.btn-close:active {
|
|
transform: scale(0.9);
|
|
}
|
|
|
|
.btn-close:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* =============================================
|
|
11. Spinners
|
|
============================================= */
|
|
.spinner-border {
|
|
display: inline-block;
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
border: 2px solid currentColor;
|
|
border-right-color: transparent;
|
|
border-radius: 50%;
|
|
animation: spin 0.75s linear infinite;
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.spinner-border-sm {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* =============================================
|
|
12. Validation States
|
|
============================================= */
|
|
.valid.modified:not([type=checkbox]) {
|
|
outline: 1px solid var(--color-success);
|
|
}
|
|
|
|
.invalid {
|
|
outline: 1px solid var(--color-error);
|
|
}
|
|
|
|
.validation-message {
|
|
color: var(--color-error-light);
|
|
font-size: var(--text-sm);
|
|
margin-top: var(--space-1);
|
|
}
|
|
|
|
/* =============================================
|
|
13. Error Boundary
|
|
============================================= */
|
|
.blazor-error-boundary {
|
|
background: rgba(239, 68, 68, 0.15);
|
|
border: 1px solid rgba(239, 68, 68, 0.3);
|
|
padding: var(--space-4);
|
|
border-radius: var(--radius-md);
|
|
color: var(--color-error-light);
|
|
}
|
|
|
|
.blazor-error-boundary::after {
|
|
content: "Ein Fehler ist aufgetreten. Bitte laden Sie die Seite neu.";
|
|
}
|
|
|
|
/* =============================================
|
|
14. Utility Classes
|
|
============================================= */
|
|
/* Text Colors */
|
|
.text-primary { color: var(--text-primary) !important; }
|
|
.text-secondary { color: var(--text-secondary) !important; }
|
|
.text-muted { color: var(--text-tertiary) !important; }
|
|
.text-success { color: var(--color-success) !important; }
|
|
.text-danger { color: var(--color-error) !important; }
|
|
.text-warning { color: var(--color-warning) !important; }
|
|
|
|
/* Text Alignment & Formatting */
|
|
.text-center { text-align: center; }
|
|
.text-break { word-break: break-all; }
|
|
.text-truncate {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Font Weights */
|
|
.fw-bold { font-weight: var(--font-weight-bold); }
|
|
.fw-semibold { font-weight: var(--font-weight-semibold); }
|
|
|
|
/* Margins */
|
|
.mb-0 { margin-bottom: 0; }
|
|
.mb-2 { margin-bottom: var(--space-2); }
|
|
.mb-3 { margin-bottom: var(--space-4); }
|
|
.mb-4 { margin-bottom: var(--space-6); }
|
|
.mt-2 { margin-top: var(--space-2); }
|
|
.mt-3 { margin-top: var(--space-4); }
|
|
.mt-4 { margin-top: var(--space-6); }
|
|
.me-1 { margin-right: var(--space-1); }
|
|
.me-2 { margin-right: var(--space-2); }
|
|
|
|
/* Display */
|
|
.d-flex { display: flex; }
|
|
.d-block { display: block; }
|
|
.d-none { display: none; }
|
|
|
|
/* Flexbox */
|
|
.flex-column { flex-direction: column; }
|
|
.align-items-center { align-items: center; }
|
|
.justify-content-center { justify-content: center; }
|
|
.justify-content-between { justify-content: space-between; }
|
|
.gap-2 { gap: var(--space-2); }
|
|
.gap-3 { gap: var(--space-4); }
|
|
.gap-4 { gap: var(--space-6); }
|
|
|
|
/* Width */
|
|
.w-100 { width: 100%; }
|
|
|
|
/* Visually hidden but accessible */
|
|
.visually-hidden {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
/* Skip Link for Accessibility (keyboard navigation) */
|
|
.skip-link {
|
|
position: absolute;
|
|
top: -100%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
z-index: 9999;
|
|
padding: var(--space-3) var(--space-6);
|
|
background: var(--color-primary);
|
|
color: var(--text-primary);
|
|
font-family: var(--font-family-base);
|
|
font-weight: var(--font-weight-semibold);
|
|
text-decoration: none;
|
|
border-radius: var(--radius-md);
|
|
transition: top var(--duration-fast) var(--ease-out);
|
|
}
|
|
|
|
.skip-link:focus {
|
|
top: var(--space-4);
|
|
outline: 2px solid var(--text-primary);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/* Visually hidden but focusable (for skip links) */
|
|
.visually-hidden-focusable:not(:focus):not(:focus-within) {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
/* =============================================
|
|
15. Animations
|
|
============================================= */
|
|
@keyframes slideUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(16px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes slideDown {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.fade-in {
|
|
animation: fadeIn var(--duration-normal) var(--ease-out);
|
|
}
|
|
|
|
.slide-up {
|
|
animation: slideUp var(--duration-normal) var(--ease-out);
|
|
}
|
|
|
|
/* =============================================
|
|
16. Responsive Utilities
|
|
============================================= */
|
|
|
|
/* Table scroll wrapper */
|
|
.table-responsive {
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
|
|
}
|
|
|
|
.table-responsive::-webkit-scrollbar {
|
|
height: 6px;
|
|
}
|
|
|
|
.table-responsive::-webkit-scrollbar-track {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.table-responsive::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
/* Mobile-specific adjustments */
|
|
@media (max-width: 767.98px) {
|
|
body {
|
|
padding-left: var(--safe-area-left);
|
|
padding-right: var(--safe-area-right);
|
|
}
|
|
|
|
.btn,
|
|
button:not(.btn-icon-sm),
|
|
[role="button"],
|
|
select {
|
|
min-height: var(--touch-target);
|
|
}
|
|
|
|
.form-control,
|
|
.form-select {
|
|
min-height: 48px;
|
|
padding: 12px 14px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.hide-mobile {
|
|
display: none !important;
|
|
}
|
|
|
|
.flex-mobile-column {
|
|
flex-direction: column !important;
|
|
}
|
|
|
|
.w-mobile-100 {
|
|
width: 100% !important;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.hide-desktop {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
/* Page container */
|
|
.page-container {
|
|
width: 100%;
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
padding: var(--space-page-y) var(--space-page-x);
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
.page-container {
|
|
padding: 1rem 0.75rem;
|
|
padding-bottom: calc(1rem + var(--safe-area-bottom));
|
|
}
|
|
}
|
|
|
|
/* Safe Areas for Notched Devices */
|
|
@supports (padding: env(safe-area-inset-top)) {
|
|
.safe-area-top { padding-top: env(safe-area-inset-top); }
|
|
.safe-area-bottom { padding-bottom: env(safe-area-inset-bottom); }
|
|
.safe-area-x {
|
|
padding-left: env(safe-area-inset-left);
|
|
padding-right: env(safe-area-inset-right);
|
|
}
|
|
}
|
|
|
|
/* =============================================
|
|
17. Reduced Motion
|
|
============================================= */
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|
|
|
|
/* =============================================
|
|
18. Print Styles
|
|
============================================= */
|
|
@media print {
|
|
body {
|
|
background: #fff;
|
|
color: #000;
|
|
}
|
|
|
|
.btn,
|
|
.global-modal-backdrop,
|
|
.global-modal-container {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
/* =============================================
|
|
19. Emoji & Symbol Styling
|
|
============================================= */
|
|
.emoji,
|
|
.icon-emoji,
|
|
.season-icon {
|
|
font-family: var(--font-family-emoji);
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
line-height: 1;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.empty-icon,
|
|
.access-denied-icon,
|
|
.feature-icon {
|
|
font-family: var(--font-family-emoji);
|
|
font-size: var(--emoji-xl);
|
|
line-height: 1;
|
|
display: block;
|
|
text-align: center;
|
|
}
|
|
|
|
.empty-icon,
|
|
.access-denied-icon {
|
|
font-size: 3rem;
|
|
margin-bottom: var(--space-4);
|
|
}
|
|
|
|
/* Access denied styling */
|
|
.access-denied {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 60vh;
|
|
padding: var(--space-6);
|
|
text-align: center;
|
|
animation: fadeIn var(--duration-normal) var(--ease-out);
|
|
}
|
|
|
|
.access-denied h2 {
|
|
font-family: var(--font-family-base);
|
|
font-size: var(--text-xl);
|
|
color: var(--text-primary);
|
|
margin: var(--space-4) 0 var(--space-2);
|
|
}
|
|
|
|
.access-denied p {
|
|
color: var(--text-tertiary);
|
|
margin-bottom: var(--space-6);
|
|
font-family: var(--font-family-base);
|
|
}
|
|
|
|
/* =============================================
|
|
20. Global Responsive Grid Patterns
|
|
============================================= */
|
|
|
|
/* Auto-fit grid for cards/items - mobile first */
|
|
.responsive-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: var(--space-4);
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.responsive-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.responsive-grid {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.responsive-grid {
|
|
grid-template-columns: repeat(4, 1fr);
|
|
}
|
|
}
|
|
|
|
/* Stats grid - for statistics cards */
|
|
.stats-grid-responsive {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: var(--space-3);
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.stats-grid-responsive {
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: var(--space-4);
|
|
}
|
|
}
|
|
|
|
/* Form row - side by side on desktop, stacked on mobile */
|
|
.form-row-responsive {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-4);
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.form-row-responsive {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.form-row-responsive > * {
|
|
flex: 1;
|
|
}
|
|
}
|
|
|
|
/* Actions row - wrap on mobile */
|
|
.actions-responsive {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-2);
|
|
}
|
|
|
|
@media (max-width: 479.98px) {
|
|
.actions-responsive {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.actions-responsive > .btn {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
/* Page header - title and actions */
|
|
.page-header-responsive {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-4);
|
|
margin-bottom: var(--space-6);
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.page-header-responsive {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
/* Modal content - responsive padding */
|
|
.modal-responsive {
|
|
width: calc(100% - 1rem);
|
|
max-width: 600px;
|
|
max-height: calc(100vh - 2rem);
|
|
margin: 0.5rem;
|
|
padding: var(--space-4);
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.modal-responsive {
|
|
width: 90%;
|
|
padding: var(--space-6);
|
|
margin: 1rem auto;
|
|
}
|
|
}
|
|
|
|
/* Two column layout - sidebar + main */
|
|
.layout-two-column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-4);
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.layout-two-column {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.layout-two-column > .main-content {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.layout-two-column > .sidebar-content {
|
|
width: 320px;
|
|
flex-shrink: 0;
|
|
}
|
|
}
|
|
|
|
/* Kanban board - horizontal scroll on mobile */
|
|
.kanban-responsive {
|
|
display: flex;
|
|
gap: var(--space-4);
|
|
overflow-x: auto;
|
|
scroll-snap-type: x mandatory;
|
|
-webkit-overflow-scrolling: touch;
|
|
padding-bottom: var(--space-2);
|
|
scrollbar-width: thin;
|
|
scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
|
|
}
|
|
|
|
.kanban-responsive::-webkit-scrollbar {
|
|
height: 6px;
|
|
}
|
|
|
|
.kanban-responsive::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.kanban-responsive > .column {
|
|
flex: 0 0 85vw;
|
|
min-width: 280px;
|
|
max-width: 320px;
|
|
scroll-snap-align: start;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.kanban-responsive > .column {
|
|
flex: 0 0 300px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1200px) {
|
|
.kanban-responsive {
|
|
overflow-x: visible;
|
|
}
|
|
|
|
.kanban-responsive > .column {
|
|
flex: 1;
|
|
max-width: none;
|
|
}
|
|
}
|
|
|
|
/* Card grid inside modals */
|
|
.modal-card-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: var(--space-3);
|
|
}
|
|
|
|
@media (min-width: 600px) {
|
|
.modal-card-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
/* Input group inline */
|
|
.input-group-responsive {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-2);
|
|
}
|
|
|
|
@media (min-width: 480px) {
|
|
.input-group-responsive {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.input-group-responsive > input,
|
|
.input-group-responsive > select {
|
|
flex: 1;
|
|
}
|
|
|
|
.input-group-responsive > .btn {
|
|
flex-shrink: 0;
|
|
}
|
|
}
|