| @@ -958,11 +958,9 @@ | ||
| 958 | 958 | .chatbot-title-container { |
| 959 | 959 | display: flex; |
| 960 | 960 | align-items: center; |
| 961 | 961 | justify-content: space-between; |
| 962 | - gap: 10px; | |
| 963 | - flex: 1 1 auto; | |
| 964 | - min-width: 0; | |
| 962 | + width: 100%; | |
| 965 | 963 | } |
| 966 | 964 | |
| 967 | 965 | .chatbot-title-group { |
| 968 | 966 | display: flex; |
| @@ -971,19 +969,13 @@ | ||
| 971 | 969 | } |
| 972 | 970 | |
| 973 | 971 | .chat-mode-indicator { |
| 974 | 972 | font-size: 12px; |
| 975 | - line-height: 1; | |
| 976 | - margin-right: 0; | |
| 977 | - padding: 4px 9px; | |
| 978 | - border-radius: 999px; | |
| 979 | - background: rgba(255, 255, 255, 0.18); | |
| 973 | + margin-right: 8px; | |
| 974 | + padding: 4px 8px; | |
| 975 | + border-radius: 12px; | |
| 976 | + background: rgba(255, 255, 255, 0.2); | |
| 980 | 977 | color: #ffffff; |
| 981 | - display: inline-flex; | |
| 982 | - align-items: center; | |
| 983 | - height: 22px; | |
| 984 | - white-space: nowrap; | |
| 985 | - flex: 0 0 auto; | |
| 986 | 978 | } |
| 987 | 979 | |
| 988 | 980 | .floating-chatbot { |
| 989 | 981 | position: fixed; |
| @@ -1033,9 +1025,9 @@ | ||
| 1033 | 1025 | display: none !important; |
| 1034 | 1026 | } |
| 1035 | 1027 | |
| 1036 | 1028 | .chatbot-top-bar button.exit-chat:hover { |
| 1037 | - background: rgba(255, 255, 255, 0.12); | |
| 1029 | + background: none; | |
| 1038 | 1030 | } |
| 1039 | 1031 | .visible { |
| 1040 | 1032 | display: flex; |
| 1041 | 1033 | } |
| @@ -1075,36 +1067,29 @@ | ||
| 1075 | 1067 | background: transparent; |
| 1076 | 1068 | border: none; |
| 1077 | 1069 | opacity: 0.8; |
| 1078 | 1070 | padding: 0; |
| 1079 | - width: 32px; | |
| 1080 | - height: 32px; | |
| 1081 | - min-width: 32px; | |
| 1082 | - flex: 0 0 auto; | |
| 1083 | - border-radius: 6px; | |
| 1084 | - transition: opacity 0.15s ease, background 0.15s ease; | |
| 1071 | + min-width: 20px; | |
| 1085 | 1072 | } |
| 1086 | 1073 | |
| 1087 | 1074 | .mxchat-chatbot-wrapper .chatbot-top-bar { |
| 1088 | 1075 | cursor: pointer; |
| 1089 | 1076 | color: #fff; |
| 1090 | - padding: 8px 12px; | |
| 1091 | - min-height: 48px; | |
| 1092 | - gap: 8px; | |
| 1077 | + padding: 10px; | |
| 1093 | 1078 | border-top-left-radius: 10px; |
| 1094 | 1079 | border-top-right-radius: 10px; |
| 1095 | 1080 | display: flex; |
| 1096 | 1081 | justify-content: space-between; |
| 1097 | - align-items: center; | |
| 1082 | + align-items: start; | |
| 1098 | 1083 | } |
| 1099 | 1084 | |
| 1100 | 1085 | .mxchat-chatbot-wrapper .chatbot-top-bar .chatbot-title { |
| 1101 | - font-size: 15px; | |
| 1102 | - line-height: 1.2; | |
| 1103 | - padding: 0; | |
| 1086 | + font-size: 16px; | |
| 1087 | + line-height: 25px; | |
| 1088 | + padding: 10px; | |
| 1104 | 1089 | margin: 0; |
| 1105 | 1090 | font-family: 'Plus Jakarta Sans', sans-serif; |
| 1106 | - font-weight: 600; | |
| 1091 | + font-weight: bold; | |
| 1107 | 1092 | } |
| 1108 | 1093 | |
| 1109 | 1094 | .exit-chat { |
| 1110 | 1095 | border: none; |
| @@ -1109,25 +1094,22 @@ | ||
| 1109 | 1094 | .exit-chat { |
| 1110 | 1095 | border: none; |
| 1111 | 1096 | background: transparent; |
| 1112 | 1097 | cursor: pointer; |
| 1113 | - display: inline-flex; | |
| 1098 | + display: flex; | |
| 1114 | 1099 | align-items: center; |
| 1115 | 1100 | justify-content: center; |
| 1116 | - padding: 0; | |
| 1101 | + padding: 5px; | |
| 1117 | 1102 | margin-left: auto; |
| 1118 | 1103 | opacity: 0.8; |
| 1119 | - width: 32px; | |
| 1120 | - height: 32px; | |
| 1121 | - min-width: 32px; | |
| 1122 | - flex: 0 0 auto; | |
| 1104 | + min-width: 20px; | |
| 1123 | 1105 | } |
| 1124 | 1106 | |
| 1125 | 1107 | .exit-chat svg { |
| 1126 | - width: 18px; | |
| 1127 | - height: 18px; | |
| 1128 | - fill: none; | |
| 1129 | - stroke: currentColor; | |
| 1108 | + fill: white; | |
| 1109 | + width: 24px; | |
| 1110 | + height: 24px; | |
| 1111 | + transform: rotate(270deg); | |
| 1130 | 1112 | } |
| 1131 | 1113 | |
| 1132 | 1114 | .mxchat-chatbot-wrapper .chatbot-footer { |
| 1133 | 1115 | text-align: center; |
| @@ -1620,272 +1602,5 @@ | ||
| 1620 | 1602 | |
| 1621 | 1603 | /* Hide when actually collapsed */ |
| 1622 | 1604 | .mxchat-popular-questions.collapsed .mxchat-popular-questions-container .questions-collapse-btn { |
| 1623 | 1605 | display: none; |
| 1624 | -} | |
| 1625 | - | |
| 1626 | -/* ============================================================ | |
| 1627 | - Header overflow menu — 3-dot kebab + dropdown (v3.2.9 / v3.2.10) | |
| 1628 | - Lives in .chatbot-top-bar to the LEFT of .exit-chat. Visual treatment | |
| 1629 | - mirrors .exit-chat: transparent, white-on-dark, 0.8 opacity, 5px pad. | |
| 1630 | - | |
| 1631 | - v3.2.10: explicit `order` rules pin the visual order | |
| 1632 | - title (0) | kebab (1) | down-arrow (2) | |
| 1633 | - so the down-arrow is always the rightmost icon regardless of source | |
| 1634 | - order or which sibling has margin-left:auto. | |
| 1635 | - ============================================================ */ | |
| 1636 | -.mxchat-chatbot-wrapper .chatbot-top-bar > .chatbot-title-container { order: 0; } | |
| 1637 | -.mxchat-chatbot-wrapper .chatbot-top-bar > .mxchat-header-menu-wrap { order: 1; } | |
| 1638 | -.mxchat-chatbot-wrapper .chatbot-top-bar > .exit-chat { order: 2; } | |
| 1639 | - | |
| 1640 | -.mxchat-header-menu-wrap { | |
| 1641 | - position: relative; | |
| 1642 | - display: inline-flex; | |
| 1643 | - align-items: center; | |
| 1644 | - margin-left: auto; /* push kebab + arrow group to the right edge */ | |
| 1645 | -} | |
| 1646 | -.mxchat-chatbot-wrapper .chatbot-top-bar .mxchat-header-menu-wrap ~ .exit-chat, | |
| 1647 | -.mxchat-chatbot-wrapper .chatbot-top-bar .mxchat-header-menu-wrap + .exit-chat { | |
| 1648 | - margin-left: 4px; /* even, snug gap between kebab and close */ | |
| 1649 | -} | |
| 1650 | -.mxchat-chatbot-wrapper .chatbot-top-bar > .exit-chat:focus { | |
| 1651 | - background: rgba(255, 255, 255, 0.12); | |
| 1652 | - opacity: 1; | |
| 1653 | - outline: none; | |
| 1654 | -} | |
| 1655 | -.mxchat-header-btn { | |
| 1656 | - border: none; | |
| 1657 | - background: transparent; | |
| 1658 | - cursor: pointer; | |
| 1659 | - display: inline-flex; | |
| 1660 | - align-items: center; | |
| 1661 | - justify-content: center; | |
| 1662 | - padding: 0; | |
| 1663 | - opacity: 0.8; | |
| 1664 | - color: #fff; | |
| 1665 | - transition: opacity 0.15s ease, background 0.15s ease; | |
| 1666 | - border-radius: 6px; | |
| 1667 | - line-height: 0; | |
| 1668 | - width: 32px; | |
| 1669 | - height: 32px; | |
| 1670 | - min-width: 32px; | |
| 1671 | - flex: 0 0 auto; | |
| 1672 | -} | |
| 1673 | -.mxchat-header-btn:hover, | |
| 1674 | -.mxchat-header-btn:focus { | |
| 1675 | - opacity: 1; | |
| 1676 | - background: rgba(255, 255, 255, 0.12); | |
| 1677 | - outline: none; | |
| 1678 | -} | |
| 1679 | -.mxchat-header-btn[aria-expanded="true"] { | |
| 1680 | - opacity: 1; | |
| 1681 | - background: rgba(255, 255, 255, 0.12); | |
| 1682 | -} | |
| 1683 | -.mxchat-menu-trigger svg { | |
| 1684 | - width: 18px; | |
| 1685 | - height: 18px; | |
| 1686 | -} | |
| 1687 | - | |
| 1688 | -.mxchat-header-menu { | |
| 1689 | - position: absolute; | |
| 1690 | - top: calc(100% + 6px); | |
| 1691 | - right: 0; | |
| 1692 | - min-width: 220px; | |
| 1693 | - background: var(--mxchat-menu-bg, #ffffff); | |
| 1694 | - color: var(--mxchat-menu-fg, #1a1a1a); | |
| 1695 | - border: 1px solid rgba(127, 127, 127, 0.20); | |
| 1696 | - border-radius: 10px; | |
| 1697 | - box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.10); | |
| 1698 | - padding: 4px; | |
| 1699 | - z-index: 5; | |
| 1700 | - opacity: 0; | |
| 1701 | - transform: translateY(-4px); | |
| 1702 | - pointer-events: none; | |
| 1703 | - transition: opacity 0.12s ease, transform 0.12s ease; | |
| 1704 | -} | |
| 1705 | -.mxchat-header-menu.is-open { | |
| 1706 | - opacity: 1; | |
| 1707 | - transform: translateY(0); | |
| 1708 | - pointer-events: auto; | |
| 1709 | -} | |
| 1710 | -.mxchat-header-menu[hidden] { | |
| 1711 | - display: none; | |
| 1712 | -} | |
| 1713 | -.mxchat-menu-item { | |
| 1714 | - display: flex; | |
| 1715 | - align-items: center; | |
| 1716 | - gap: 10px; | |
| 1717 | - width: 100%; | |
| 1718 | - padding: 8px 12px; | |
| 1719 | - min-height: 40px; | |
| 1720 | - border: none; | |
| 1721 | - background: transparent; | |
| 1722 | - color: inherit; | |
| 1723 | - font-size: 14px; | |
| 1724 | - line-height: 1.3; | |
| 1725 | - text-align: left; | |
| 1726 | - cursor: pointer; | |
| 1727 | - border-radius: 6px; | |
| 1728 | - transition: background 0.12s ease; | |
| 1729 | - text-decoration: none; | |
| 1730 | - box-sizing: border-box; | |
| 1731 | -} | |
| 1732 | -.mxchat-menu-item:hover, | |
| 1733 | -.mxchat-menu-item:focus { | |
| 1734 | - background: rgba(127, 127, 127, 0.18); | |
| 1735 | - outline: none; | |
| 1736 | -} | |
| 1737 | -.mxchat-menu-item-icon { | |
| 1738 | - display: inline-flex; | |
| 1739 | - align-items: center; | |
| 1740 | - justify-content: center; | |
| 1741 | - width: 16px; | |
| 1742 | - height: 16px; | |
| 1743 | - color: inherit; | |
| 1744 | - opacity: 0.85; | |
| 1745 | - flex-shrink: 0; | |
| 1746 | -} | |
| 1747 | -.mxchat-menu-item-icon svg { | |
| 1748 | - width: 16px; | |
| 1749 | - height: 16px; | |
| 1750 | - display: block; | |
| 1751 | -} | |
| 1752 | -.mxchat-menu-item-label { | |
| 1753 | - flex: 1; | |
| 1754 | - color: inherit; | |
| 1755 | -} | |
| 1756 | - | |
| 1757 | -/* RTL — flip the dropdown anchor edge */ | |
| 1758 | -[dir="rtl"] .mxchat-header-menu, | |
| 1759 | -.mxchat-chatbot-wrapper[dir="rtl"] .mxchat-header-menu { | |
| 1760 | - right: auto; | |
| 1761 | - left: 0; | |
| 1762 | -} | |
| 1763 | - | |
| 1764 | -/* ============================================================ | |
| 1765 | - Print stylesheet — clean conversation export (v3.2.9 rebuild) | |
| 1766 | - Goal: full-page-width transcript, no right-edge clipping, all chrome hidden. | |
| 1767 | - ============================================================ */ | |
| 1768 | -@media print { | |
| 1769 | - body * { | |
| 1770 | - visibility: hidden !important; | |
| 1771 | - } | |
| 1772 | - .mxchat-conversation-print-root, | |
| 1773 | - .mxchat-conversation-print-root * { | |
| 1774 | - visibility: visible !important; | |
| 1775 | - } | |
| 1776 | - .mxchat-conversation-print-root { | |
| 1777 | - position: absolute !important; | |
| 1778 | - left: 0 !important; | |
| 1779 | - top: 0 !important; | |
| 1780 | - right: 0 !important; | |
| 1781 | - width: 100% !important; | |
| 1782 | - max-width: 100% !important; | |
| 1783 | - height: auto !important; | |
| 1784 | - min-height: 0 !important; | |
| 1785 | - max-height: none !important; | |
| 1786 | - overflow: visible !important; | |
| 1787 | - background: #fff !important; | |
| 1788 | - color: #000 !important; | |
| 1789 | - padding: 24px 32px !important; | |
| 1790 | - margin: 0 !important; | |
| 1791 | - box-shadow: none !important; | |
| 1792 | - border: none !important; | |
| 1793 | - transform: none !important; | |
| 1794 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; | |
| 1795 | - direction: inherit; | |
| 1796 | - box-sizing: border-box !important; | |
| 1797 | - } | |
| 1798 | - .mxchat-conversation-print-root::before { | |
| 1799 | - content: attr(data-print-title); | |
| 1800 | - display: block; | |
| 1801 | - font-size: 16px; | |
| 1802 | - font-weight: 600; | |
| 1803 | - color: #000; | |
| 1804 | - border-bottom: 1px solid #000; | |
| 1805 | - padding-bottom: 8px; | |
| 1806 | - margin-bottom: 16px; | |
| 1807 | - } | |
| 1808 | - .mxchat-conversation-print-root .user-message, | |
| 1809 | - .mxchat-conversation-print-root .bot-message, | |
| 1810 | - .mxchat-conversation-print-root .agent-message { | |
| 1811 | - display: block !important; | |
| 1812 | - position: static !important; | |
| 1813 | - float: none !important; | |
| 1814 | - width: 100% !important; | |
| 1815 | - max-width: 100% !important; | |
| 1816 | - min-width: 0 !important; | |
| 1817 | - background: transparent !important; | |
| 1818 | - color: #000 !important; | |
| 1819 | - border: none !important; | |
| 1820 | - border-radius: 0 !important; | |
| 1821 | - box-shadow: none !important; | |
| 1822 | - padding: 8px 0 !important; | |
| 1823 | - margin: 0 0 12px 0 !important; | |
| 1824 | - page-break-inside: avoid; | |
| 1825 | - overflow-wrap: anywhere; | |
| 1826 | - word-break: break-word; | |
| 1827 | - box-sizing: border-box !important; | |
| 1828 | - } | |
| 1829 | - .mxchat-conversation-print-root .user-message *, | |
| 1830 | - .mxchat-conversation-print-root .bot-message *, | |
| 1831 | - .mxchat-conversation-print-root .agent-message * { | |
| 1832 | - max-width: 100% !important; | |
| 1833 | - box-sizing: border-box !important; | |
| 1834 | - color: #000 !important; | |
| 1835 | - } | |
| 1836 | - .mxchat-conversation-print-root .user-message::before { | |
| 1837 | - content: "You: "; | |
| 1838 | - font-weight: 600; | |
| 1839 | - color: #000; | |
| 1840 | - } | |
| 1841 | - .mxchat-conversation-print-root .bot-message::before { | |
| 1842 | - content: "Bot: "; | |
| 1843 | - font-weight: 600; | |
| 1844 | - color: #000; | |
| 1845 | - } | |
| 1846 | - .mxchat-conversation-print-root .agent-message::before { | |
| 1847 | - content: "Agent: "; | |
| 1848 | - font-weight: 600; | |
| 1849 | - color: #000; | |
| 1850 | - } | |
| 1851 | - .mxchat-conversation-print-root pre, | |
| 1852 | - .mxchat-conversation-print-root code { | |
| 1853 | - background: #f4f4f4 !important; | |
| 1854 | - color: #000 !important; | |
| 1855 | - border: 1px solid #ddd !important; | |
| 1856 | - white-space: pre-wrap !important; | |
| 1857 | - word-wrap: break-word !important; | |
| 1858 | - overflow-wrap: anywhere !important; | |
| 1859 | - max-width: 100% !important; | |
| 1860 | - box-sizing: border-box !important; | |
| 1861 | - } | |
| 1862 | - .mxchat-conversation-print-root img, | |
| 1863 | - .mxchat-conversation-print-root .image-gallery img { | |
| 1864 | - max-width: 100% !important; | |
| 1865 | - height: auto !important; | |
| 1866 | - } | |
| 1867 | - .mxchat-conversation-print-root a { | |
| 1868 | - color: #000 !important; | |
| 1869 | - text-decoration: underline; | |
| 1870 | - word-break: break-all; | |
| 1871 | - } | |
| 1872 | - /* Hide widget chrome inside the transcript */ | |
| 1873 | - .mxchat-conversation-print-root .mxchat-copy-button, | |
| 1874 | - .mxchat-conversation-print-root .thinking-dots, | |
| 1875 | - .mxchat-conversation-print-root .temporary-message, | |
| 1876 | - .mxchat-conversation-print-root .mxchat-product-card button, | |
| 1877 | - .mxchat-conversation-print-root .mxchat-popular-questions, | |
| 1878 | - .mxchat-conversation-print-root .mxchat-input-container, | |
| 1879 | - .mxchat-conversation-print-root .mxchat-top-bar, | |
| 1880 | - .mxchat-conversation-print-root .mxchat-toolbar, | |
| 1881 | - .mxchat-conversation-print-root .mxchat-header-menu-wrap, | |
| 1882 | - .mxchat-conversation-print-root .mxchat-header-menu, | |
| 1883 | - .mxchat-conversation-print-root .mxchat-menu-trigger { | |
| 1884 | - display: none !important; | |
| 1885 | - } | |
| 1886 | - /* Page setup */ | |
| 1887 | - @page { | |
| 1888 | - margin: 0.5in; | |
| 1889 | - size: auto; | |
| 1890 | - } | |
| 1891 | 1606 | } |