150 lines
2.6 KiB
CSS
150 lines
2.6 KiB
CSS
/* App.css - Zusätzliche Stilregeln für die Pickup-Konfigurations-App */
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
background-color: #f5f7fa;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.App {
|
|
min-height: 100vh;
|
|
padding: 1rem;
|
|
}
|
|
|
|
/* Verbesserte Tabellen-Styles */
|
|
table {
|
|
border-collapse: collapse;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
th {
|
|
background-color: #f3f4f6;
|
|
font-weight: 600;
|
|
text-align: left;
|
|
padding: 12px 16px;
|
|
border-bottom: 2px solid #e5e7eb;
|
|
}
|
|
|
|
td {
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
}
|
|
|
|
tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
/* Button-Styles */
|
|
button {
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
button:focus {
|
|
outline: none;
|
|
}
|
|
|
|
/* Verbesserte Input-Styles */
|
|
input[type="checkbox"] {
|
|
cursor: pointer;
|
|
}
|
|
|
|
select, input[type="date"] {
|
|
padding: 8px 12px;
|
|
border-radius: 4px;
|
|
border: 1px solid #d1d5db;
|
|
font-size: 14px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
select:focus, input[type="date"]:focus {
|
|
border-color: #3b82f6;
|
|
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
|
|
outline: none;
|
|
}
|
|
|
|
/* Status-Banner */
|
|
.status-banner {
|
|
padding: 12px 16px;
|
|
margin-bottom: 16px;
|
|
border-radius: 6px;
|
|
position: relative;
|
|
}
|
|
|
|
.status-banner.success {
|
|
background-color: #d1fae5;
|
|
border: 1px solid #10b981;
|
|
color: #065f46;
|
|
}
|
|
|
|
.status-banner.error {
|
|
background-color: #fee2e2;
|
|
border: 1px solid #ef4444;
|
|
color: #991b1b;
|
|
}
|
|
|
|
/* JSON-Vorschau */
|
|
pre {
|
|
background-color: #f3f4f6;
|
|
padding: 16px;
|
|
border-radius: 6px;
|
|
overflow-x: auto;
|
|
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 768px) {
|
|
table {
|
|
font-size: 14px;
|
|
}
|
|
|
|
th, td {
|
|
padding: 8px 12px;
|
|
}
|
|
|
|
.button-container {
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
button {
|
|
width: 100%;
|
|
}
|
|
|
|
.dashboard-summary-card {
|
|
position: static;
|
|
top: auto;
|
|
}
|
|
}
|
|
|
|
@keyframes dashboard-row-glow {
|
|
0% {
|
|
background-color: rgba(59, 130, 246, 0.25);
|
|
box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.45);
|
|
}
|
|
60% {
|
|
background-color: rgba(59, 130, 246, 0.15);
|
|
box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.15);
|
|
}
|
|
100% {
|
|
background-color: transparent;
|
|
box-shadow: 0 0 0 0 transparent;
|
|
}
|
|
}
|
|
|
|
.dashboard-row-highlight {
|
|
animation: dashboard-row-glow 2.5s ease forwards;
|
|
}
|
|
|
|
.dashboard-summary-card {
|
|
position: sticky;
|
|
top: 1rem;
|
|
z-index: 10;
|
|
}
|