|
113 | 113 |
|
114 | 114 | // Prompt styling |
115 | 115 | ::ng-deep [prompt] { |
116 | | - font-size: 13px; |
117 | | - color: #7f11e0; |
118 | | - font-weight: 500; |
| 116 | + font-size: 14px; |
| 117 | + color: #d32f2f; |
| 118 | + font-weight: 600; |
119 | 119 | display: flex; |
120 | 120 | align-items: center; |
121 | | - gap: 4px; |
122 | | - animation: pulse 2s infinite; |
| 121 | + gap: 6px; |
| 122 | + animation: urgent-pulse 1.5s infinite; |
| 123 | + text-shadow: 0 0 8px rgba(211, 47, 47, 0.3); |
| 124 | + letter-spacing: 0.5px; |
123 | 125 |
|
124 | | - &:before { |
125 | | - content: '👆'; |
126 | | - font-size: 16px; |
| 126 | + span { |
| 127 | + position: relative; |
| 128 | + |
| 129 | + &::after { |
| 130 | + content: ''; |
| 131 | + position: absolute; |
| 132 | + bottom: -2px; |
| 133 | + left: 0; |
| 134 | + right: 0; |
| 135 | + height: 2px; |
| 136 | + background: linear-gradient(90deg, |
| 137 | + transparent, |
| 138 | + #d32f2f, |
| 139 | + transparent |
| 140 | + ); |
| 141 | + animation: underline-slide 2s infinite; |
| 142 | + } |
| 143 | + } |
| 144 | +} |
| 145 | + |
| 146 | +@keyframes urgent-pulse { |
| 147 | + 0%, 100% { |
| 148 | + opacity: 0.9; |
| 149 | + transform: scale(1); |
| 150 | + } |
| 151 | + 50% { |
| 152 | + opacity: 1; |
| 153 | + transform: scale(1.02); |
| 154 | + } |
| 155 | +} |
| 156 | + |
| 157 | +@keyframes underline-slide { |
| 158 | + 0% { |
| 159 | + transform: translateX(-100%); |
| 160 | + } |
| 161 | + 100% { |
| 162 | + transform: translateX(100%); |
127 | 163 | } |
128 | 164 | } |
129 | 165 |
|
|
139 | 175 | } |
140 | 176 | } |
141 | 177 |
|
| 178 | +// Zero value styling |
| 179 | +.dashboard-card.zero-value { |
| 180 | + background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%); |
| 181 | + border: 2px solid #ff6b6b; |
| 182 | + position: relative; |
| 183 | + overflow: hidden; |
| 184 | + box-shadow: 0 0 20px rgba(255, 107, 107, 0.2); |
| 185 | + animation: glow-pulse 2.5s infinite; |
| 186 | + |
| 187 | + &::before { |
| 188 | + content: ''; |
| 189 | + position: absolute; |
| 190 | + top: -2px; |
| 191 | + left: -2px; |
| 192 | + right: -2px; |
| 193 | + bottom: -2px; |
| 194 | + background: linear-gradient(90deg, |
| 195 | + transparent, |
| 196 | + rgba(255, 107, 107, 0.3), |
| 197 | + transparent |
| 198 | + ); |
| 199 | + animation: shimmer 3s infinite; |
| 200 | + } |
| 201 | + |
| 202 | + .card-value { |
| 203 | + color: #d32f2f !important; |
| 204 | + font-weight: 700 !important; |
| 205 | + text-shadow: 0 0 3px rgba(211, 47, 47, 0.2); |
| 206 | + } |
| 207 | + |
| 208 | + .icon-container { |
| 209 | + animation: attention-pulse 2s infinite; |
| 210 | + box-shadow: 0 0 15px rgba(255, 107, 107, 0.3); |
| 211 | + } |
| 212 | + |
| 213 | + &:hover { |
| 214 | + transform: translateY(-2px) scale(1.02); |
| 215 | + box-shadow: 0 4px 30px rgba(255, 107, 107, 0.3); |
| 216 | + } |
| 217 | +} |
| 218 | + |
| 219 | +@keyframes glow-pulse { |
| 220 | + 0%, 100% { |
| 221 | + box-shadow: 0 0 20px rgba(255, 107, 107, 0.2); |
| 222 | + } |
| 223 | + 50% { |
| 224 | + box-shadow: 0 0 30px rgba(255, 107, 107, 0.4); |
| 225 | + } |
| 226 | +} |
| 227 | + |
| 228 | +// Shake animation for zero value cards |
| 229 | +.dashboard-card.shake-animation { |
| 230 | + animation: subtle-shake 4s infinite; |
| 231 | +} |
| 232 | + |
| 233 | +@keyframes subtle-shake { |
| 234 | + 0%, 90%, 100% { |
| 235 | + transform: translateX(0); |
| 236 | + } |
| 237 | + 92% { |
| 238 | + transform: translateX(-2px) rotate(-0.5deg); |
| 239 | + } |
| 240 | + 94% { |
| 241 | + transform: translateX(2px) rotate(0.5deg); |
| 242 | + } |
| 243 | + 96% { |
| 244 | + transform: translateX(-1px) rotate(-0.3deg); |
| 245 | + } |
| 246 | + 98% { |
| 247 | + transform: translateX(1px) rotate(0.3deg); |
| 248 | + } |
| 249 | +} |
| 250 | + |
| 251 | +@keyframes shimmer { |
| 252 | + 0% { |
| 253 | + transform: translateX(-100%); |
| 254 | + } |
| 255 | + 100% { |
| 256 | + transform: translateX(200%); |
| 257 | + } |
| 258 | +} |
| 259 | + |
| 260 | +@keyframes attention-pulse { |
| 261 | + 0%, 100% { |
| 262 | + transform: scale(1); |
| 263 | + } |
| 264 | + 50% { |
| 265 | + transform: scale(1.1); |
| 266 | + } |
| 267 | +} |
| 268 | + |
142 | 269 | // Dark theme |
143 | 270 | :host-context(.dark-theme) { |
144 | 271 | .dashboard-card { |
|
165 | 292 | color: #bbb; |
166 | 293 | } |
167 | 294 | } |
| 295 | + |
| 296 | + &.zero-value { |
| 297 | + background: linear-gradient(135deg, #4a1a1a 0%, #3d1515 100%); |
| 298 | + border: 2px solid #ff6b6b; |
| 299 | + |
| 300 | + &::before { |
| 301 | + background: linear-gradient(90deg, |
| 302 | + transparent, |
| 303 | + rgba(255, 107, 107, 0.2), |
| 304 | + transparent |
| 305 | + ); |
| 306 | + } |
| 307 | + |
| 308 | + .card-value { |
| 309 | + color: #ff8a80 !important; |
| 310 | + } |
| 311 | + } |
168 | 312 | } |
169 | 313 |
|
170 | 314 | ::ng-deep [prompt] { |
171 | | - color: #bb86fc; |
| 315 | + color: #ff8a80; |
| 316 | + text-shadow: 0 0 10px rgba(255, 138, 128, 0.5); |
| 317 | + |
| 318 | + span::after { |
| 319 | + background: linear-gradient(90deg, |
| 320 | + transparent, |
| 321 | + #ff8a80, |
| 322 | + transparent |
| 323 | + ); |
| 324 | + } |
172 | 325 | } |
173 | 326 | } |
0 commit comments