|
359 | 359 | border-radius: 3px; |
360 | 360 | } |
361 | 361 |
|
| 362 | +/* ── ARIA speech bubble overlays ── hints + history search */ |
| 363 | + |
| 364 | +@keyframes ariaHintIn { |
| 365 | + from { |
| 366 | + opacity: 0; |
| 367 | + transform: translateY(4px); |
| 368 | + } |
| 369 | + to { |
| 370 | + opacity: 1; |
| 371 | + transform: translateY(0); |
| 372 | + } |
| 373 | +} |
| 374 | + |
362 | 375 | .terminal-overlay { |
363 | 376 | position: absolute; |
364 | 377 | right: 10px; |
365 | 378 | bottom: 10px; |
366 | | - width: min(420px, calc(100% - 20px)); |
| 379 | + width: min(300px, calc(100% - 20px)); |
367 | 380 | border: 1px solid var(--border); |
368 | 381 | border-radius: 8px; |
369 | | - background: rgba(16, 16, 16, 0.97); |
370 | | - backdrop-filter: blur(6px); |
371 | | - padding: 8px; |
| 382 | + background: var(--s2); |
| 383 | + backdrop-filter: blur(8px); |
| 384 | + padding: 7px 8px; |
372 | 385 | display: flex; |
373 | 386 | flex-direction: column; |
374 | | - gap: 4px; |
| 387 | + gap: 3px; |
375 | 388 | z-index: 4; |
376 | 389 | } |
377 | 390 |
|
378 | | -.terminal-overlay-header { |
| 391 | +/* ARIA speech bubble variant */ |
| 392 | +.terminal-overlay.aria-bubble { |
| 393 | + border-color: rgba(62, 207, 142, 0.2); |
| 394 | + background: var(--s2); |
| 395 | + box-shadow: |
| 396 | + 0 0 0 1px rgba(62, 207, 142, 0.06) inset, |
| 397 | + var(--shadow-float), |
| 398 | + 0 0 16px rgba(62, 207, 142, 0.04); |
| 399 | + animation: ariaHintIn 0.15s ease both; |
| 400 | +} |
| 401 | + |
| 402 | +/* Tail pointing toward the bottom-right corner (where ARIA lives) */ |
| 403 | +.aria-bubble-tail { |
| 404 | + position: absolute; |
| 405 | + bottom: -6px; |
| 406 | + right: 18px; |
| 407 | + width: 10px; |
| 408 | + height: 6px; |
| 409 | + overflow: visible; |
| 410 | + pointer-events: none; |
| 411 | +} |
| 412 | + |
| 413 | +.aria-bubble-tail::before, |
| 414 | +.aria-bubble-tail::after { |
| 415 | + content: ''; |
| 416 | + position: absolute; |
| 417 | + bottom: 0; |
| 418 | + right: 0; |
| 419 | + border-style: solid; |
| 420 | +} |
| 421 | + |
| 422 | +/* Outer tail (border color) */ |
| 423 | +.aria-bubble-tail::before { |
| 424 | + border-width: 6px 5px 0 5px; |
| 425 | + border-color: rgba(62, 207, 142, 0.2) transparent transparent transparent; |
| 426 | + right: 0; |
| 427 | +} |
| 428 | + |
| 429 | +/* Inner tail (fill color) */ |
| 430 | +.aria-bubble-tail::after { |
| 431 | + border-width: 5px 4px 0 4px; |
| 432 | + border-color: var(--s2) transparent transparent transparent; |
| 433 | + right: 1px; |
| 434 | + bottom: 1px; |
| 435 | +} |
| 436 | + |
| 437 | +/* Identity row — owl icon + "aria" label */ |
| 438 | +.aria-bubble-identity { |
379 | 439 | display: flex; |
380 | 440 | align-items: center; |
381 | | - justify-content: space-between; |
| 441 | + gap: 5px; |
382 | 442 | } |
383 | 443 |
|
384 | | -.terminal-overlay-title { |
| 444 | +.aria-hint-owl { |
| 445 | + flex-shrink: 0; |
| 446 | + display: block; |
| 447 | +} |
| 448 | + |
| 449 | +.aria-bubble-label { |
385 | 450 | font-size: 10px; |
386 | | - color: var(--t3); |
387 | | - text-transform: uppercase; |
388 | | - letter-spacing: 0.4px; |
| 451 | + font-family: var(--font-code); |
| 452 | + color: var(--green); |
| 453 | + letter-spacing: 1px; |
| 454 | + opacity: 0.75; |
| 455 | +} |
| 456 | + |
| 457 | +.aria-bubble-hint-key { |
| 458 | + font-size: 9px; |
| 459 | + font-family: var(--font-code); |
| 460 | + color: var(--t4); |
| 461 | + letter-spacing: 0.3px; |
| 462 | + padding: 0 4px; |
| 463 | + border: 1px solid var(--border); |
| 464 | + border-radius: 3px; |
| 465 | + line-height: 1.6; |
| 466 | +} |
| 467 | + |
| 468 | +.terminal-overlay-header { |
| 469 | + display: flex; |
| 470 | + align-items: center; |
| 471 | + justify-content: space-between; |
| 472 | + margin-bottom: 2px; |
389 | 473 | } |
390 | 474 |
|
391 | 475 | .terminal-overlay-dismiss { |
392 | 476 | width: 16px; |
393 | 477 | height: 16px; |
394 | 478 | font-size: 12px; |
395 | | - color: var(--t3); |
| 479 | + color: var(--t4); |
396 | 480 | display: flex; |
397 | 481 | align-items: center; |
398 | 482 | justify-content: center; |
399 | 483 | border-radius: 3px; |
400 | 484 | cursor: pointer; |
| 485 | + flex-shrink: 0; |
401 | 486 | } |
402 | 487 |
|
403 | 488 | .terminal-overlay-dismiss:hover { |
|
407 | 492 |
|
408 | 493 | .terminal-overlay-item { |
409 | 494 | height: 24px; |
410 | | - border-radius: 4px; |
411 | | - font-family: 'JetBrains Mono', 'Cascadia Code', monospace; |
| 495 | + border-radius: var(--radius-md); |
| 496 | + font-family: var(--font-code); |
412 | 497 | font-size: 11px; |
413 | 498 | text-align: left; |
414 | 499 | color: var(--t2); |
415 | | - padding: 0 8px; |
| 500 | + padding: 0 7px; |
| 501 | + transition: background var(--transition-fast), color var(--transition-fast); |
416 | 502 | } |
417 | 503 |
|
418 | 504 | .terminal-overlay-item:hover, |
419 | 505 | .terminal-overlay-item.active { |
420 | | - background: var(--hover-bg); |
| 506 | + background: var(--s3); |
421 | 507 | color: var(--t1); |
422 | 508 | } |
423 | 509 |
|
| 510 | +.terminal-overlay-item.active { |
| 511 | + color: var(--green); |
| 512 | +} |
| 513 | + |
424 | 514 | .terminal-history-query { |
425 | 515 | min-height: 22px; |
426 | 516 | border: 1px solid var(--border); |
427 | | - border-radius: 4px; |
| 517 | + border-radius: var(--radius-md); |
428 | 518 | display: flex; |
429 | 519 | align-items: center; |
430 | 520 | padding: 0 8px; |
431 | 521 | font-size: 11px; |
432 | 522 | color: var(--t1); |
433 | | - font-family: 'JetBrains Mono', 'Cascadia Code', monospace; |
| 523 | + font-family: var(--font-code); |
| 524 | + margin-bottom: 2px; |
434 | 525 | } |
435 | 526 |
|
436 | 527 | .terminal-history-query:focus-within { |
|
441 | 532 | .terminal-history-results { |
442 | 533 | display: flex; |
443 | 534 | flex-direction: column; |
444 | | - gap: 2px; |
| 535 | + gap: 1px; |
445 | 536 | } |
446 | 537 |
|
447 | 538 | .terminal-history-empty { |
448 | 539 | font-size: 11px; |
449 | | - color: var(--t3); |
450 | | - padding: 4px 2px; |
| 540 | + font-family: var(--font-code); |
| 541 | + color: var(--t4); |
| 542 | + padding: 4px 7px; |
451 | 543 | } |
452 | 544 |
|
453 | 545 | /* Terminal output search overlay — top-right of terminal container */ |
|
0 commit comments