CTOpsSpeedingReport / style.css
JOWilkins's picture
let's add a new 'details' page that visualizes this data: Start Time End Time Driver Name Vehicle Name Location Max Speed (mph) Posted Speed Limit (mph) Severity Level
36be4ea verified
Raw History Blame Contribute Delete
869 Bytes
/* Base styles */
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
/* Custom styles for the speed gauge */
speed-gauge {
display: block;
width: 100px;
height: 20px;
}
/* Animation for critical alerts */
@keyframes pulse {
0% {
opacity: 1;
}
50% {
opacity: 0.5;
}
100% {
opacity: 1;
}
}
.critical-alert {
animation: pulse 2s infinite;
}
/* Responsive table styles */
@media (max-width: 768px) {
table {
display: block;
overflow-x: auto;
white-space: nowrap;
}
}
/* Chart container styling */
canvas {
width: 100% !important;
height: 100% !important;
}
/* Map container styling */
#map {
min-height: 300px;
}
/* Responsive tweaks */
@media (max-width: 1024px) {
.grid-cols-3 {
grid-template-columns: 1fr;
}
}