Spaces:
Running
Running
File size: 2,349 Bytes
feb7fff 1da01a0 feb7fff 1da01a0 feb7fff 1da01a0 feb7fff 1da01a0 feb7fff 1da01a0 feb7fff 192b91d | 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 | /* Custom animations and styles */
@keyframes slideUp {
from {
transform: translateY(100%);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.slide-up {
animation: slideUp 0.3s ease-out;
}
.fade-in {
animation: fadeIn 0.5s ease-out;
}
/* Chart styles */
.chart-container {
position: relative;
height: 200px;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #A5D6A7;
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: #81C784;
}
/* Touch friendly buttons */
.touch-target {
min-height: 44px;
min-width: 44px;
}
/* Safe area insets for mobile */
.safe-area-top {
padding-top: env(safe-area-inset-top);
}
.safe-area-bottom {
padding-bottom: env(safe-area-inset-bottom);
}
/* Health status indicators */
.health-status-excellent {
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
border-color: #28a745;
}
.health-status-good {
background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
border-color: #17a2b8;
}
.health-status-moderate {
background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
border-color: #ffc107;
}
.health-status-warning {
background: linear-gradient(135deg, #fff0cd 0%, #ffd93d 100%);
border-color: #ff9800;
}
.health-status-danger {
background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
border-color: #dc3545;
}
.health-safe-pulse {
animation: safePulse 2s infinite;
}
@keyframes safePulse {
0%, 100% {
box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
}
50% {
box-shadow: 0 0 0 8px rgba(40, 167, 69, 0);
}
}
.health-warning-pulse {
animation: warningPulse 2s infinite;
}
@keyframes warningPulse {
0%, 100% {
box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
}
50% {
box-shadow: 0 0 0 8px rgba(255, 193, 7, 0);
}
}
.health-danger-pulse {
animation: dangerPulse 1.5s infinite;
}
@keyframes dangerPulse {
0%, 100% {
box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
}
50% {
box-shadow: 0 0 0 8px rgba(220, 53, 69, 0);
}
}
|