File size: 2,393 Bytes
d569537 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
/* Custom CSS for Chronos 2 Forecasting App */
/* Body and container */
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background-color: #f8f9fa;
}
/* Card enhancements */
.card {
border: none;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
margin-bottom: 1.5rem;
transition: box-shadow 0.3s ease;
}
.card:hover {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.card-header {
background-color: #fff;
border-bottom: 2px solid #0066CC;
font-weight: 600;
}
/* Upload area */
#upload-data {
cursor: pointer;
transition: all 0.3s ease;
}
#upload-data:hover {
border-color: #0066CC !important;
background-color: #e7f3ff !important;
}
/* Buttons */
.btn-primary {
background-color: #0066CC;
border-color: #0066CC;
}
.btn-primary:hover {
background-color: #0052a3;
border-color: #0052a3;
}
/* Loading spinner */
.dash-spinner {
color: #0066CC;
}
/* Slider customization */
.rc-slider-track {
background-color: #0066CC;
}
.rc-slider-handle {
border-color: #0066CC;
}
.rc-slider-handle:active,
.rc-slider-handle:focus,
.rc-slider-handle:hover {
border-color: #0052a3;
box-shadow: 0 0 0 5px rgba(0, 102, 204, 0.2);
}
/* Table styling */
.table {
font-size: 0.9rem;
}
.table thead th {
background-color: #0066CC;
color: white;
border: none;
font-weight: 600;
}
/* Alert styling */
.alert {
border-radius: 8px;
border: none;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.card-body {
padding: 1rem;
}
h2 {
font-size: 1.5rem;
}
h5 {
font-size: 1.1rem;
}
}
/* Chart container */
#forecast-chart {
border-radius: 8px;
}
/* Metrics cards */
.metrics-card {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border-radius: 12px;
padding: 1.5rem;
text-align: center;
}
/* Footer */
footer {
margin-top: 3rem;
padding: 1rem 0;
border-top: 1px solid #dee2e6;
}
/* Accessibility improvements */
:focus {
outline: 2px solid #0066CC;
outline-offset: 2px;
}
/* Loading overlay */
._dash-loading {
background-color: rgba(255, 255, 255, 0.8);
}
._dash-loading-callback {
color: #0066CC;
}
/* Quality report badges */
.badge {
font-weight: 500;
padding: 0.5em 0.75em;
}
|