Changeset 505f39a for lan-frontend/src/styles/theme.css
- Timestamp:
- 01/21/26 13:35:44 (6 months ago)
- Branches:
- master
- Children:
- d42aac3
- Parents:
- 2058e5c
- File:
-
- 1 edited
-
lan-frontend/src/styles/theme.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lan-frontend/src/styles/theme.css
r2058e5c r505f39a 402 402 } 403 403 *::-webkit-scrollbar-track{ background: rgba(2,6,23,0.25); } 404 .aiDrawer-backdrop{ 405 position: fixed; 406 inset: 0; 407 background: rgba(0,0,0,.55); 408 backdrop-filter: blur(2px); 409 z-index: 999; 410 } 411 412 /* десен drawer */ 413 .aiDrawer{ 414 position: fixed; 415 top: 0; 416 right: 0; 417 height: 100vh; 418 width: min(520px, 92vw); 419 background: #0b1220; /* темна */ 420 color: #e7eefc; 421 border-left: 1px solid rgba(255,255,255,.08); 422 z-index: 1000; 423 display: grid; 424 grid-template-rows: auto auto 1fr auto; 425 426 /* slide in */ 427 transform: translateX(0); 428 animation: aiSlideIn .18s ease-out; 429 } 430 431 @keyframes aiSlideIn{ 432 from { transform: translateX(24px); opacity: .7; } 433 to { transform: translateX(0); opacity: 1; } 434 } 435 436 .aiDrawer-head{ 437 padding: 14px 16px; 438 display: flex; 439 align-items: center; 440 justify-content: space-between; 441 border-bottom: 1px solid rgba(255,255,255,.08); 442 } 443 444 .aiDrawer-title{ 445 font-size: 16px; 446 font-weight: 700; 447 } 448 449 .aiDrawer-sub{ 450 font-size: 12px; 451 opacity: .75; 452 margin-top: 2px; 453 } 454 455 .aiDrawer-toolbar{ 456 padding: 12px 16px; 457 border-bottom: 1px solid rgba(255,255,255,.08); 458 display: grid; 459 gap: 8px; 460 } 461 462 .aiSelect{ 463 width: 100%; 464 background: rgba(255,255,255,.06); 465 border: 1px solid rgba(255,255,255,.10); 466 color: #e7eefc; 467 padding: 10px 12px; 468 border-radius: 10px; 469 outline: none; 470 } 471 472 .aiHint{ 473 font-size: 12px; 474 opacity: .75; 475 } 476 477 .aiDrawer-body{ 478 padding: 14px 16px; 479 overflow: auto; 480 display: grid; 481 gap: 10px; 482 } 483 484 /* chat bubbles */ 485 .aiMsg{ 486 max-width: 92%; 487 border: 1px solid rgba(255,255,255,.08); 488 border-radius: 14px; 489 padding: 10px 12px; 490 background: rgba(255,255,255,.04); 491 } 492 493 .aiMsg.user{ 494 margin-left: auto; 495 background: rgba(88, 167, 255, .12); 496 border-color: rgba(88, 167, 255, .20); 497 } 498 499 .aiMsg-meta{ 500 font-size: 11px; 501 opacity: .7; 502 margin-bottom: 6px; 503 } 504 505 .aiMsg-text{ 506 white-space: pre-wrap; 507 line-height: 1.35; 508 font-size: 14px; 509 } 510 511 .aiDrawer-foot{ 512 padding: 12px 16px; 513 border-top: 1px solid rgba(255,255,255,.08); 514 display: grid; 515 grid-template-columns: 1fr auto; 516 gap: 10px; 517 align-items: end; 518 background: rgba(255,255,255,.02); 519 } 520 521 .aiTextarea{ 522 width: 100%; 523 resize: none; 524 background: rgba(255,255,255,.06); 525 border: 1px solid rgba(255,255,255,.10); 526 color: #e7eefc; 527 padding: 10px 12px; 528 border-radius: 12px; 529 outline: none; 530 } 531 532 .aiBtn{ 533 background: rgba(255,255,255,.06); 534 border: 1px solid rgba(255,255,255,.10); 535 color: #e7eefc; 536 padding: 10px 12px; 537 border-radius: 12px; 538 cursor: pointer; 539 } 540 541 .aiBtn:disabled{ 542 opacity: .5; 543 cursor: not-allowed; 544 } 545 546 .aiBtnPrimary{ 547 background: rgba(88, 167, 255, .22); 548 border-color: rgba(88, 167, 255, .35); 549 }
Note:
See TracChangeset
for help on using the changeset viewer.
