|
94 | 94 | box-shadow: inset 0 0 0 1px color-mix(in srgb, white 22%, transparent); |
95 | 95 | } |
96 | 96 |
|
| 97 | +@keyframes tfms-count-flash-up { |
| 98 | + 0%, |
| 99 | + 100% { |
| 100 | + transform: scale(1); |
| 101 | + box-shadow: inset 0 0 0 1px color-mix(in srgb, white 22%, transparent); |
| 102 | + } |
| 103 | + 20%, |
| 104 | + 60% { |
| 105 | + transform: scale(1.11); |
| 106 | + box-shadow: |
| 107 | + inset 0 0 0 1px color-mix(in srgb, white 32%, transparent), |
| 108 | + 0 0 0.75rem color-mix(in srgb, #22c55e 65%, transparent); |
| 109 | + } |
| 110 | +} |
| 111 | + |
| 112 | +@keyframes tfms-count-flash-down { |
| 113 | + 0%, |
| 114 | + 100% { |
| 115 | + transform: scale(1); |
| 116 | + box-shadow: inset 0 0 0 1px color-mix(in srgb, white 22%, transparent); |
| 117 | + } |
| 118 | + 20%, |
| 119 | + 60% { |
| 120 | + transform: scale(1.11); |
| 121 | + box-shadow: |
| 122 | + inset 0 0 0 1px color-mix(in srgb, white 32%, transparent), |
| 123 | + 0 0 0.75rem color-mix(in srgb, #ef4444 65%, transparent); |
| 124 | + } |
| 125 | +} |
| 126 | + |
| 127 | +.tfms-count-tick-up { |
| 128 | + animation: tfms-count-flash-up 0.72s ease-in-out 4; |
| 129 | +} |
| 130 | + |
| 131 | +.tfms-count-tick-down { |
| 132 | + animation: tfms-count-flash-down 0.72s ease-in-out 4; |
| 133 | +} |
| 134 | + |
97 | 135 | :root[data-theme="dark"] .tfms-band-green { |
98 | 136 | color: #86efac; |
99 | 137 | } |
|
110 | 148 | box-shadow: inset 0 0 0 1px color-mix(in srgb, white 14%, transparent); |
111 | 149 | } |
112 | 150 |
|
| 151 | +@media (prefers-reduced-motion: reduce) { |
| 152 | + .tfms-count-tick-up, |
| 153 | + .tfms-count-tick-down { |
| 154 | + animation: none; |
| 155 | + } |
| 156 | +} |
| 157 | + |
113 | 158 | .tfms-specialty-table tbody tr.tfms-row-warning td { |
114 | 159 | background: color-mix(in srgb, #f59e0b 9%, transparent); |
115 | 160 | } |
|
126 | 171 | background: color-mix(in srgb, #ef4444 14%, transparent); |
127 | 172 | } |
128 | 173 |
|
| 174 | +.tfms-queue-grid { |
| 175 | + display: grid; |
| 176 | + gap: 0.6rem; |
| 177 | + grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); |
| 178 | +} |
| 179 | + |
| 180 | +.tfms-queue-card { |
| 181 | + border: 1px solid var(--surface-border); |
| 182 | + background: color-mix(in srgb, var(--surface-soft) 72%, transparent); |
| 183 | + border-radius: 0.7rem; |
| 184 | + padding: 0.55rem 0.65rem; |
| 185 | +} |
| 186 | + |
| 187 | +.tfms-queue-green { |
| 188 | + border-color: color-mix(in srgb, #16a34a 48%, var(--surface-border)); |
| 189 | +} |
| 190 | + |
| 191 | +.tfms-queue-yellow { |
| 192 | + border-color: color-mix(in srgb, #f59e0b 48%, var(--surface-border)); |
| 193 | +} |
| 194 | + |
| 195 | +.tfms-queue-red { |
| 196 | + border-color: color-mix(in srgb, #ef4444 48%, var(--surface-border)); |
| 197 | +} |
| 198 | + |
| 199 | +.tfms-queue-trend { |
| 200 | + border: 1px solid var(--surface-border); |
| 201 | + border-radius: 9999px; |
| 202 | + padding: 0.08rem 0.45rem; |
| 203 | + font-size: 0.62rem; |
| 204 | + font-weight: 700; |
| 205 | + letter-spacing: 0.08em; |
| 206 | + text-transform: uppercase; |
| 207 | +} |
| 208 | + |
| 209 | +.tfms-queue-trend-up { |
| 210 | + color: #ef4444; |
| 211 | + border-color: color-mix(in srgb, #ef4444 55%, var(--surface-border)); |
| 212 | + background: color-mix(in srgb, #ef4444 18%, var(--surface-soft)); |
| 213 | +} |
| 214 | + |
| 215 | +.tfms-queue-trend-down { |
| 216 | + color: #16a34a; |
| 217 | + border-color: color-mix(in srgb, #16a34a 55%, var(--surface-border)); |
| 218 | + background: color-mix(in srgb, #16a34a 18%, var(--surface-soft)); |
| 219 | +} |
| 220 | + |
| 221 | +.tfms-queue-trend-flat { |
| 222 | + color: var(--muted); |
| 223 | + border-color: var(--surface-border); |
| 224 | + background: color-mix(in srgb, var(--surface-soft) 88%, transparent); |
| 225 | +} |
| 226 | + |
129 | 227 | .tfms-tracon-chip { |
130 | 228 | border: 1px solid var(--surface-border); |
131 | 229 | background: var(--surface-soft); |
|
0 commit comments