|
62 | 62 | } |
63 | 63 |
|
64 | 64 | .ai-chat-panel { |
| 65 | + position: relative; // anchors .ai-scroll-to-bottom-btn |
65 | 66 | display: flex; |
66 | 67 | flex-direction: column; |
67 | 68 | -webkit-box-flex: 1; |
|
873 | 874 | background-color: @bc-ai-sidebar-bg; |
874 | 875 | } |
875 | 876 |
|
| 877 | +// Floating "scroll to bottom" control over the lower right of the message |
| 878 | +// list; shown by AIChatPanel._updateScrollToBottomBtn while the list is |
| 879 | +// scrolled away from its end (top is set from the list's bottom edge). |
| 880 | +.ai-scroll-to-bottom-btn { |
| 881 | + position: absolute; |
| 882 | + right: 18px; |
| 883 | + z-index: 5; |
| 884 | + width: 30px; |
| 885 | + height: 30px; |
| 886 | + border-radius: 50%; |
| 887 | + border: 1px solid rgba(255, 255, 255, 0.12); |
| 888 | + background-color: #3a3a3a; |
| 889 | + color: @project-panel-text-1; |
| 890 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45); |
| 891 | + cursor: pointer; |
| 892 | + display: flex; |
| 893 | + align-items: center; |
| 894 | + justify-content: center; |
| 895 | + padding: 0; |
| 896 | + font-size: @ai-text-secondary; |
| 897 | + opacity: 0.9; |
| 898 | + |
| 899 | + &:hover { |
| 900 | + opacity: 1; |
| 901 | + background-color: #454545; |
| 902 | + } |
| 903 | +} |
| 904 | + |
876 | 905 | /* ── Individual messages ────────────────────────────────────────────── */ |
877 | 906 | .ai-msg { |
878 | 907 | margin-bottom: 16px; |
|
1626 | 1655 | color: #e57373; |
1627 | 1656 | opacity: 0.9; |
1628 | 1657 | white-space: nowrap; |
1629 | | - |
1630 | | - & + .ai-tool-group-count { |
1631 | | - margin-left: 0; |
1632 | | - } |
1633 | | - } |
1634 | | - |
1635 | | - // Count pill at the right edge of the header: the number of collated |
1636 | | - // cards is the one fact the collapsed pile must convey. |
1637 | | - .ai-tool-group-count { |
1638 | | - margin-left: auto; |
1639 | | - flex-shrink: 0; |
1640 | | - font-size: @ai-text-meta; |
1641 | | - line-height: 1; |
1642 | | - padding: 3px 7px; |
1643 | | - border-radius: 9px; |
1644 | | - color: @project-panel-text-1; |
1645 | | - background-color: rgba(255, 255, 255, 0.08); |
1646 | | - border: 1px solid rgba(255, 255, 255, 0.06); |
1647 | 1658 | } |
1648 | 1659 |
|
1649 | 1660 | .ai-tool-group-body { |
|
1653 | 1664 | border-left: 1px solid rgba(255, 255, 255, 0.06); |
1654 | 1665 | } |
1655 | 1666 |
|
1656 | | - // Count pill bump when a card lands in the pile. |
1657 | | - .ai-tool-group-count.ai-tool-group-count-bump { |
1658 | | - animation: ai-tool-group-count-bump 0.3s ease-out; |
| 1667 | + // Label bump when a card lands in the pile. |
| 1668 | + .ai-tool-group-label.ai-tool-group-label-bump { |
| 1669 | + animation: ai-tool-group-label-bump 0.3s ease-out; |
| 1670 | + transform-origin: left center; |
1659 | 1671 | } |
1660 | 1672 |
|
1661 | 1673 | &.ai-tool-group-expanded { |
|
1676 | 1688 | } |
1677 | 1689 | } |
1678 | 1690 |
|
1679 | | -@keyframes ai-tool-group-count-bump { |
| 1691 | +@keyframes ai-tool-group-label-bump { |
1680 | 1692 | 0% { transform: scale(1); } |
1681 | | - 40% { transform: scale(1.35); } |
| 1693 | + 40% { transform: scale(1.12); } |
1682 | 1694 | 100% { transform: scale(1); } |
1683 | 1695 | } |
1684 | 1696 |
|
|
0 commit comments