|
6 | 6 |
|
7 | 7 | .cc-header { |
8 | 8 | display: flex; |
9 | | - flex-direction: column; |
10 | | - gap: 6px; |
| 9 | + flex-direction: row; |
| 10 | + align-items: flex-start; |
| 11 | + justify-content: space-between; |
| 12 | + gap: 10px; |
11 | 13 | margin-bottom: 14px; |
12 | 14 | } |
13 | 15 |
|
|
22 | 24 | font-size: 13px; |
23 | 25 | } |
24 | 26 |
|
| 27 | +.cc-mode-toggle { |
| 28 | + display: flex; |
| 29 | + align-items: center; |
| 30 | + gap: 8px; |
| 31 | +} |
| 32 | + |
| 33 | +.cc-toggle-label { |
| 34 | + display: flex; |
| 35 | + flex-direction: column; |
| 36 | + gap: 2px; |
| 37 | + cursor: pointer; |
| 38 | +} |
| 39 | + |
| 40 | +.cc-toggle-title { |
| 41 | + font-size: 11px; |
| 42 | + letter-spacing: 0.14em; |
| 43 | + opacity: 0.9; |
| 44 | +} |
| 45 | + |
| 46 | +.cc-toggle-sub { |
| 47 | + font-size: 11px; |
| 48 | + opacity: 0.65; |
| 49 | +} |
| 50 | + |
| 51 | +.cc-switch { |
| 52 | + position: relative; |
| 53 | + display: inline-flex; |
| 54 | + align-items: center; |
| 55 | + cursor: pointer; |
| 56 | +} |
| 57 | + |
| 58 | +.cc-switch input { |
| 59 | + position: absolute; |
| 60 | + opacity: 0; |
| 61 | + pointer-events: none; |
| 62 | +} |
| 63 | + |
| 64 | +.cc-switch-track { |
| 65 | + width: 42px; |
| 66 | + height: 22px; |
| 67 | + border-radius: 999px; |
| 68 | + background: rgba(255, 255, 255, 0.14); |
| 69 | + border: 1px solid rgba(255, 255, 255, 0.18); |
| 70 | + display: inline-flex; |
| 71 | + align-items: center; |
| 72 | + padding: 2px; |
| 73 | + box-sizing: border-box; |
| 74 | + transition: background 0.18s ease-out, border-color 0.18s ease-out; |
| 75 | +} |
| 76 | + |
| 77 | +.cc-switch-thumb { |
| 78 | + width: 16px; |
| 79 | + height: 16px; |
| 80 | + border-radius: 999px; |
| 81 | + background: #ffffff; |
| 82 | + transform: translateX(0); |
| 83 | + transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, background 0.18s ease-out; |
| 84 | + box-shadow: 0 0 4px rgba(0, 0, 0, 0.55); |
| 85 | +} |
| 86 | + |
| 87 | +.cc-switch input:checked + .cc-switch-track { |
| 88 | + background: radial-gradient(circle at 20% 0, #66ffe1, #1b9bff 50%, #6240ff 100%); |
| 89 | + border-color: rgba(102, 255, 225, 0.7); |
| 90 | +} |
| 91 | + |
| 92 | +.cc-switch input:checked + .cc-switch-track .cc-switch-thumb { |
| 93 | + transform: translateX(18px); |
| 94 | + background: #020b16; |
| 95 | + box-shadow: 0 0 6px rgba(102, 255, 225, 0.9); |
| 96 | +} |
| 97 | + |
| 98 | +@media (max-width: 900px) { |
| 99 | + .cc-header { |
| 100 | + flex-direction: column; |
| 101 | + align-items: flex-start; |
| 102 | + } |
| 103 | +} |
| 104 | + |
25 | 105 | .cc-compose { |
26 | 106 | background: rgba(255, 255, 255, 0.03); |
27 | 107 | border: 1px solid rgba(255, 255, 255, 0.08); |
|
248 | 328 | border-radius: 10px; |
249 | 329 | padding: 10px 10px; |
250 | 330 | background: rgba(0, 0, 0, 0.18); |
| 331 | + transition: transform 0.16s ease-out, box-shadow 0.16s ease-out, border-color 0.16s ease-out, background 0.16s ease-out; |
251 | 332 | } |
252 | 333 |
|
253 | 334 | .cc-card-title { |
|
258 | 339 | margin-bottom: 6px; |
259 | 340 | } |
260 | 341 |
|
| 342 | +.cc-card-title-main { |
| 343 | + display: inline-flex; |
| 344 | + align-items: center; |
| 345 | + gap: 8px; |
| 346 | +} |
| 347 | + |
| 348 | +.cc-avatar { |
| 349 | + display: none; |
| 350 | + width: 26px; |
| 351 | + height: 26px; |
| 352 | + border-radius: 999px; |
| 353 | + border: 1px solid rgba(255, 255, 255, 0.25); |
| 354 | + font-size: 12px; |
| 355 | + font-weight: 600; |
| 356 | + align-items: center; |
| 357 | + justify-content: center; |
| 358 | + background: radial-gradient(circle at 30% 0, #ffffff, #d0f7ff 40%, #7fd8ff 100%); |
| 359 | + color: #020b16; |
| 360 | + box-shadow: 0 0 6px rgba(0, 0, 0, 0.5); |
| 361 | +} |
| 362 | + |
| 363 | +.cc-avatar-role-research { |
| 364 | + background: radial-gradient(circle at 30% 0, #ffffff, #c4e0ff 40%, #4fa8ff 100%); |
| 365 | +} |
| 366 | + |
| 367 | +.cc-avatar-role-coder { |
| 368 | + background: radial-gradient(circle at 30% 0, #ffffff, #d5ffe9 40%, #4fe88e 100%); |
| 369 | +} |
| 370 | + |
| 371 | +.cc-avatar-role-ops { |
| 372 | + background: radial-gradient(circle at 30% 0, #ffffff, #ffe6c7 40%, #ff9a3a 100%); |
| 373 | +} |
| 374 | + |
| 375 | +.cc-avatar-role-planner { |
| 376 | + background: radial-gradient(circle at 30% 0, #ffffff, #f4d6ff 40%, #c36bff 100%); |
| 377 | +} |
| 378 | + |
| 379 | +.cc-avatar-role-memory_curator { |
| 380 | + background: radial-gradient(circle at 30% 0, #ffffff, #fff0d6 40%, #ffce4a 100%); |
| 381 | +} |
| 382 | + |
| 383 | +.cc-avatar-role-triage { |
| 384 | + background: radial-gradient(circle at 30% 0, #ffffff, #ffd4d4 40%, #ff5c5c 100%); |
| 385 | +} |
| 386 | + |
| 387 | +@keyframes cc-avatar-pulse { |
| 388 | + 0% { box-shadow: 0 0 0 0 rgba(102, 255, 225, 0.65); } |
| 389 | + 70% { box-shadow: 0 0 0 8px rgba(102, 255, 225, 0); } |
| 390 | + 100% { box-shadow: 0 0 0 0 rgba(102, 255, 225, 0); } |
| 391 | +} |
| 392 | + |
| 393 | +.cc-cinematic-on .cc-avatar { |
| 394 | + display: inline-flex; |
| 395 | +} |
| 396 | + |
| 397 | +.cc-cinematic-on .cc-card.cc-card-task { |
| 398 | + border-color: rgba(102, 255, 225, 0.55); |
| 399 | + background: radial-gradient(circle at 0% 0%, rgba(102, 255, 225, 0.12), rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0.35)); |
| 400 | +} |
| 401 | + |
| 402 | +.cc-cinematic-on .cc-card.cc-card-task:hover { |
| 403 | + transform: translateY(-1px); |
| 404 | + box-shadow: 0 0 18px rgba(0, 0, 0, 0.7); |
| 405 | +} |
| 406 | + |
| 407 | +.cc-cinematic-on .cc-card.cc-card-task-status-executing .cc-avatar, |
| 408 | +.cc-cinematic-on .cc-card.cc-card-task-status-planning .cc-avatar, |
| 409 | +.cc-cinematic-on .cc-card.cc-card-task-status-queued .cc-avatar { |
| 410 | + animation: cc-avatar-pulse 1.9s ease-out infinite; |
| 411 | +} |
| 412 | + |
| 413 | +.cc-cinematic-on .cc-card.cc-card-mission { |
| 414 | + border-color: rgba(123, 179, 255, 0.55); |
| 415 | + background: radial-gradient(circle at 100% 0%, rgba(123, 179, 255, 0.16), rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0.35)); |
| 416 | +} |
| 417 | + |
| 418 | +.cc-cinematic-on .cc-card.cc-card-mission:hover { |
| 419 | + transform: translateY(-1px); |
| 420 | + box-shadow: 0 0 18px rgba(0, 0, 0, 0.7); |
| 421 | +} |
| 422 | + |
261 | 423 | .cc-pill { |
262 | 424 | font-size: 11px; |
263 | 425 | padding: 2px 8px; |
|
0 commit comments