nun mal erste komplette Version mit API und Frontend (React !)

This commit is contained in:
rxf
2026-02-07 14:12:13 +01:00
parent 6e1f5744f9
commit 9c5f985cab
22 changed files with 1302 additions and 0 deletions

View File

@@ -0,0 +1,80 @@
.dashboard {
width: 100%;
}
.current-values {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
margin-bottom: 2rem;
}
.value-card {
background: white;
padding: 1.5rem;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.value-label {
font-size: 0.9rem;
color: #666;
font-weight: 500;
}
.value-number {
font-size: 2rem;
font-weight: bold;
color: #333;
}
.charts-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1.5rem;
}
.chart-container {
background: white;
padding: 1.5rem;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.chart-container h3 {
margin-bottom: 1rem;
color: #333;
font-size: 1.2rem;
}
.chart-wrapper {
height: 300px;
position: relative;
}
@media (max-width: 1024px) {
.charts-grid {
grid-template-columns: 1fr;
}
.chart-container.chart-full {
grid-column: 1;
}
}
@media (max-width: 768px) {
.current-values {
grid-template-columns: repeat(2, 1fr);
}
.value-number {
font-size: 1.5rem;
}
.chart-wrapper {
height: 250px;
}
}