Files
WMS/resources/css/wms-dashboard.css
T
2026-06-11 16:29:01 +01:00

158 lines
3.2 KiB
CSS

:root {
--wms-chart-primary: #0f766e;
--wms-chart-secondary: #2563eb;
--wms-chart-accent: #f59e0b;
--wms-chart-danger: #dc2626;
--wms-chart-muted: #64748b;
--wms-chart-purple: #7c3aed;
--wms-chart-text: #334155;
--wms-chart-grid: rgba(148, 163, 184, 0.25);
}
.wms-dashboard {
color: #0f172a;
}
.wms-dashboard-hero {
align-items: center;
background: linear-gradient(135deg, #0f766e 0%, #0f172a 100%);
border-radius: 24px;
box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
color: #ffffff;
display: flex;
justify-content: space-between;
overflow: hidden;
padding: 32px;
position: relative;
}
.wms-dashboard-hero::after {
background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 62%);
content: '';
height: 260px;
position: absolute;
right: -80px;
top: -100px;
width: 260px;
}
.wms-dashboard-hero__eyebrow {
color: rgba(255, 255, 255, 0.72);
font-size: 0.78rem;
font-weight: 700;
letter-spacing: 0.12em;
margin-bottom: 8px;
text-transform: uppercase;
}
.wms-dashboard-hero__title {
font-size: clamp(2rem, 3vw, 3rem);
font-weight: 800;
margin-bottom: 10px;
}
.wms-dashboard-hero__text {
color: rgba(255, 255, 255, 0.82);
font-size: 1rem;
margin: 0;
max-width: 760px;
}
.wms-dashboard-hero__badge {
background: rgba(255, 255, 255, 0.14);
border: 1px solid rgba(255, 255, 255, 0.22);
border-radius: 999px;
font-weight: 700;
padding: 10px 16px;
position: relative;
z-index: 1;
white-space: nowrap;
}
.wms-metric-card,
.wms-chart-card {
border: 0;
border-radius: 20px;
box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
overflow: hidden;
}
.wms-metric-card__label {
color: #64748b;
font-size: 0.78rem;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.wms-metric-card__value {
color: #0f172a;
font-size: 2rem;
font-weight: 850;
line-height: 1.1;
margin: 8px 0;
}
.wms-metric-card__hint {
color: #64748b;
font-size: 0.85rem;
}
.wms-metric-card__icon {
align-items: center;
background: linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(37, 99, 235, 0.12));
border-radius: 18px;
color: #0f766e;
display: flex;
font-size: 1.35rem;
height: 56px;
justify-content: center;
width: 56px;
}
.wms-chart-card__header {
background: #ffffff;
border-bottom: 1px solid rgba(148, 163, 184, 0.22);
padding: 22px 24px 12px;
}
.wms-chart-card__eyebrow {
color: #0f766e;
font-size: 0.72rem;
font-weight: 800;
letter-spacing: 0.12em;
margin-bottom: 6px;
text-transform: uppercase;
}
.wms-chart-card__title {
color: #0f172a;
font-size: 1.15rem;
font-weight: 800;
margin: 0 0 8px;
}
.wms-chart-card__description {
color: #64748b;
font-size: 0.9rem;
margin: 0;
}
.wms-chart-card__canvas {
min-height: 260px;
position: relative;
}
@media (max-width: 991.98px) {
.wms-dashboard-hero {
align-items: flex-start;
flex-direction: column;
gap: 18px;
padding: 24px;
}
.wms-dashboard-hero__badge {
white-space: normal;
}
}