@hef2024/llmasaservice-ui 0.20.0 → 0.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AICHATPANEL-PORT-INVENTORY.md +1 -0
- package/DEBUG-ERROR-HANDLING.md +1 -0
- package/FIX-APPLIED.md +1 -0
- package/IMPLEMENTATION-COMPLETE.md +1 -0
- package/dist/index.css +445 -0
- package/dist/index.d.mts +36 -0
- package/dist/index.d.ts +36 -0
- package/dist/index.js +1042 -438
- package/dist/index.mjs +873 -269
- package/docs/CHANGELOG-ERROR-HANDLING.md +1 -0
- package/docs/CONVERSATION-HISTORY.md +1 -0
- package/docs/ERROR-HANDLING-413.md +1 -0
- package/docs/ERROR-HANDLING-SUMMARY.md +1 -0
- package/package.json +2 -2
- package/src/AIAgentPanel.tsx +97 -1
- package/src/AIChatPanel.css +536 -0
- package/src/AIChatPanel.tsx +641 -32
- package/src/AgentPanel.tsx +3 -1
- package/src/ChatPanel.tsx +69 -29
- package/src/components/ui/Button.tsx +1 -0
- package/src/components/ui/Dialog.tsx +1 -0
- package/src/components/ui/Input.tsx +1 -0
- package/src/components/ui/Select.tsx +1 -0
- package/src/components/ui/ToolInfoModal.tsx +66 -0
- package/src/components/ui/Tooltip.tsx +1 -0
- package/src/components/ui/index.ts +1 -0
- package/src/hooks/useAgentRegistry.ts +1 -0
package/src/AIChatPanel.css
CHANGED
|
@@ -1735,3 +1735,539 @@
|
|
|
1735
1735
|
}
|
|
1736
1736
|
}
|
|
1737
1737
|
|
|
1738
|
+
/* ============================================================================
|
|
1739
|
+
Modal Styles
|
|
1740
|
+
============================================================================ */
|
|
1741
|
+
|
|
1742
|
+
.ai-chat-modal-overlay {
|
|
1743
|
+
position: fixed;
|
|
1744
|
+
top: 0;
|
|
1745
|
+
left: 0;
|
|
1746
|
+
right: 0;
|
|
1747
|
+
bottom: 0;
|
|
1748
|
+
background: rgba(0, 0, 0, 0.5);
|
|
1749
|
+
display: flex;
|
|
1750
|
+
align-items: center;
|
|
1751
|
+
justify-content: center;
|
|
1752
|
+
z-index: 10000;
|
|
1753
|
+
animation: fadeIn 0.15s ease-out;
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
@keyframes fadeIn {
|
|
1757
|
+
from { opacity: 0; }
|
|
1758
|
+
to { opacity: 1; }
|
|
1759
|
+
}
|
|
1760
|
+
|
|
1761
|
+
.ai-chat-modal-content {
|
|
1762
|
+
background: white;
|
|
1763
|
+
border-radius: 12px;
|
|
1764
|
+
padding: 24px;
|
|
1765
|
+
max-width: 500px;
|
|
1766
|
+
width: 90%;
|
|
1767
|
+
max-height: 80vh;
|
|
1768
|
+
overflow: auto;
|
|
1769
|
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
|
1770
|
+
animation: slideUp 0.2s ease-out;
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
.dark-theme .ai-chat-modal-content {
|
|
1774
|
+
background: #1f2937;
|
|
1775
|
+
color: #f9fafb;
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
@keyframes slideUp {
|
|
1779
|
+
from {
|
|
1780
|
+
opacity: 0;
|
|
1781
|
+
transform: translateY(10px);
|
|
1782
|
+
}
|
|
1783
|
+
to {
|
|
1784
|
+
opacity: 1;
|
|
1785
|
+
transform: translateY(0);
|
|
1786
|
+
}
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
.ai-chat-modal-header {
|
|
1790
|
+
display: flex;
|
|
1791
|
+
align-items: center;
|
|
1792
|
+
justify-content: space-between;
|
|
1793
|
+
margin-bottom: 16px;
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
.ai-chat-modal-header h3 {
|
|
1797
|
+
margin: 0;
|
|
1798
|
+
font-size: 18px;
|
|
1799
|
+
font-weight: 600;
|
|
1800
|
+
color: #1f2937;
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1803
|
+
.dark-theme .ai-chat-modal-header h3 {
|
|
1804
|
+
color: #f9fafb;
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
.ai-chat-modal-close {
|
|
1808
|
+
background: none;
|
|
1809
|
+
border: none;
|
|
1810
|
+
font-size: 24px;
|
|
1811
|
+
line-height: 1;
|
|
1812
|
+
padding: 0;
|
|
1813
|
+
width: 28px;
|
|
1814
|
+
height: 28px;
|
|
1815
|
+
border-radius: 6px;
|
|
1816
|
+
cursor: pointer;
|
|
1817
|
+
color: #6b7280;
|
|
1818
|
+
transition: all 0.15s;
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
.ai-chat-modal-close:hover {
|
|
1822
|
+
background: #f3f4f6;
|
|
1823
|
+
color: #1f2937;
|
|
1824
|
+
}
|
|
1825
|
+
|
|
1826
|
+
.dark-theme .ai-chat-modal-close {
|
|
1827
|
+
color: #9ca3af;
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
.dark-theme .ai-chat-modal-close:hover {
|
|
1831
|
+
background: #374151;
|
|
1832
|
+
color: #f9fafb;
|
|
1833
|
+
}
|
|
1834
|
+
|
|
1835
|
+
.ai-chat-modal-body {
|
|
1836
|
+
margin-bottom: 20px;
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1839
|
+
.ai-chat-modal-text {
|
|
1840
|
+
color: #6b7280;
|
|
1841
|
+
font-size: 14px;
|
|
1842
|
+
margin-bottom: 16px;
|
|
1843
|
+
line-height: 1.5;
|
|
1844
|
+
}
|
|
1845
|
+
|
|
1846
|
+
.dark-theme .ai-chat-modal-text {
|
|
1847
|
+
color: #9ca3af;
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
.ai-chat-modal-field {
|
|
1851
|
+
margin-bottom: 16px;
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
.ai-chat-modal-field label {
|
|
1855
|
+
display: block;
|
|
1856
|
+
font-size: 13px;
|
|
1857
|
+
font-weight: 500;
|
|
1858
|
+
color: #374151;
|
|
1859
|
+
margin-bottom: 6px;
|
|
1860
|
+
}
|
|
1861
|
+
|
|
1862
|
+
.dark-theme .ai-chat-modal-field label {
|
|
1863
|
+
color: #e5e7eb;
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1866
|
+
.ai-chat-modal-input {
|
|
1867
|
+
width: 100%;
|
|
1868
|
+
padding: 10px 12px;
|
|
1869
|
+
border: 1px solid #d1d5db;
|
|
1870
|
+
border-radius: 8px;
|
|
1871
|
+
font-size: 14px;
|
|
1872
|
+
color: #1f2937;
|
|
1873
|
+
background: white;
|
|
1874
|
+
transition: all 0.15s;
|
|
1875
|
+
box-sizing: border-box;
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
.ai-chat-modal-input:focus {
|
|
1879
|
+
outline: none;
|
|
1880
|
+
border-color: #3b82f6;
|
|
1881
|
+
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1884
|
+
.dark-theme .ai-chat-modal-input {
|
|
1885
|
+
background: #111827;
|
|
1886
|
+
border-color: #374151;
|
|
1887
|
+
color: #f9fafb;
|
|
1888
|
+
}
|
|
1889
|
+
|
|
1890
|
+
.dark-theme .ai-chat-modal-input:focus {
|
|
1891
|
+
border-color: #60a5fa;
|
|
1892
|
+
box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
.ai-chat-modal-footer {
|
|
1896
|
+
display: flex;
|
|
1897
|
+
gap: 12px;
|
|
1898
|
+
justify-content: flex-end;
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1901
|
+
.ai-chat-modal-button {
|
|
1902
|
+
padding: 10px 20px;
|
|
1903
|
+
border-radius: 8px;
|
|
1904
|
+
font-size: 14px;
|
|
1905
|
+
font-weight: 500;
|
|
1906
|
+
cursor: pointer;
|
|
1907
|
+
transition: all 0.15s;
|
|
1908
|
+
border: none;
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
.ai-chat-modal-button--primary {
|
|
1912
|
+
background: #3b82f6;
|
|
1913
|
+
color: white;
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
.ai-chat-modal-button--primary:hover:not(:disabled) {
|
|
1917
|
+
background: #2563eb;
|
|
1918
|
+
}
|
|
1919
|
+
|
|
1920
|
+
.ai-chat-modal-button--primary:disabled {
|
|
1921
|
+
opacity: 0.5;
|
|
1922
|
+
cursor: not-allowed;
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
.ai-chat-modal-button--secondary {
|
|
1926
|
+
background: #f3f4f6;
|
|
1927
|
+
color: #374151;
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1930
|
+
.ai-chat-modal-button--secondary:hover {
|
|
1931
|
+
background: #e5e7eb;
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
.dark-theme .ai-chat-modal-button--secondary {
|
|
1935
|
+
background: #374151;
|
|
1936
|
+
color: #e5e7eb;
|
|
1937
|
+
}
|
|
1938
|
+
|
|
1939
|
+
.dark-theme .ai-chat-modal-button--secondary:hover {
|
|
1940
|
+
background: #4b5563;
|
|
1941
|
+
}
|
|
1942
|
+
|
|
1943
|
+
/* Tool Info Modal */
|
|
1944
|
+
.ai-chat-tool-info-modal {
|
|
1945
|
+
max-width: 800px;
|
|
1946
|
+
width: 95%;
|
|
1947
|
+
}
|
|
1948
|
+
|
|
1949
|
+
.ai-chat-tool-info-container {
|
|
1950
|
+
display: flex;
|
|
1951
|
+
gap: 16px;
|
|
1952
|
+
margin-bottom: 20px;
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
.ai-chat-tool-info-section {
|
|
1956
|
+
flex: 1;
|
|
1957
|
+
}
|
|
1958
|
+
|
|
1959
|
+
.ai-chat-tool-info-section h4 {
|
|
1960
|
+
font-size: 14px;
|
|
1961
|
+
font-weight: 600;
|
|
1962
|
+
margin: 0 0 8px 0;
|
|
1963
|
+
color: #374151;
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
.dark-theme .ai-chat-tool-info-section h4 {
|
|
1967
|
+
color: #e5e7eb;
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1970
|
+
.ai-chat-tool-info-json {
|
|
1971
|
+
width: 100%;
|
|
1972
|
+
min-height: 300px;
|
|
1973
|
+
max-height: 400px;
|
|
1974
|
+
padding: 12px;
|
|
1975
|
+
border: 1px solid #d1d5db;
|
|
1976
|
+
border-radius: 8px;
|
|
1977
|
+
font-family: 'Monaco', 'Courier New', monospace;
|
|
1978
|
+
font-size: 12px;
|
|
1979
|
+
background: #f9fafb;
|
|
1980
|
+
color: #1f2937;
|
|
1981
|
+
resize: vertical;
|
|
1982
|
+
box-sizing: border-box;
|
|
1983
|
+
}
|
|
1984
|
+
|
|
1985
|
+
.dark-theme .ai-chat-tool-info-json {
|
|
1986
|
+
background: #111827;
|
|
1987
|
+
border-color: #374151;
|
|
1988
|
+
color: #e5e7eb;
|
|
1989
|
+
}
|
|
1990
|
+
|
|
1991
|
+
/* ============================================================================
|
|
1992
|
+
Button Container (Save, Email, CTA)
|
|
1993
|
+
============================================================================ */
|
|
1994
|
+
|
|
1995
|
+
.ai-chat-button-container {
|
|
1996
|
+
display: flex;
|
|
1997
|
+
gap: 8px;
|
|
1998
|
+
padding: 12px 16px;
|
|
1999
|
+
border-top: 1px solid #e5e7eb;
|
|
2000
|
+
background: #f9fafb;
|
|
2001
|
+
}
|
|
2002
|
+
|
|
2003
|
+
.dark-theme .ai-chat-button-container {
|
|
2004
|
+
border-top-color: #374151;
|
|
2005
|
+
background: #111827;
|
|
2006
|
+
}
|
|
2007
|
+
|
|
2008
|
+
.ai-chat-save-button,
|
|
2009
|
+
.ai-chat-email-button,
|
|
2010
|
+
.ai-chat-cta-button {
|
|
2011
|
+
flex: 1;
|
|
2012
|
+
min-width: 0;
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
/* ============================================================================
|
|
2016
|
+
Customer Email Capture Panel
|
|
2017
|
+
============================================================================ */
|
|
2018
|
+
|
|
2019
|
+
.ai-chat-customer-email-panel {
|
|
2020
|
+
display: flex;
|
|
2021
|
+
flex-wrap: wrap;
|
|
2022
|
+
align-items: center;
|
|
2023
|
+
gap: 8px;
|
|
2024
|
+
padding: 12px 16px;
|
|
2025
|
+
border-top: 1px solid #e5e7eb;
|
|
2026
|
+
background: #fffbeb;
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
.dark-theme .ai-chat-customer-email-panel {
|
|
2030
|
+
background: #422006;
|
|
2031
|
+
border-top-color: #78350f;
|
|
2032
|
+
}
|
|
2033
|
+
|
|
2034
|
+
.ai-chat-customer-email-input {
|
|
2035
|
+
flex: 1;
|
|
2036
|
+
min-width: 200px;
|
|
2037
|
+
padding: 8px 12px;
|
|
2038
|
+
border: 1px solid #d1d5db;
|
|
2039
|
+
border-radius: 8px;
|
|
2040
|
+
font-size: 14px;
|
|
2041
|
+
color: #1f2937;
|
|
2042
|
+
background: white;
|
|
2043
|
+
transition: all 0.15s;
|
|
2044
|
+
}
|
|
2045
|
+
|
|
2046
|
+
.ai-chat-customer-email-input:focus {
|
|
2047
|
+
outline: none;
|
|
2048
|
+
border-color: #3b82f6;
|
|
2049
|
+
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
2050
|
+
}
|
|
2051
|
+
|
|
2052
|
+
.ai-chat-customer-email-input--error {
|
|
2053
|
+
border-color: #ef4444;
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
.ai-chat-customer-email-input--error:focus {
|
|
2057
|
+
box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
|
|
2058
|
+
}
|
|
2059
|
+
|
|
2060
|
+
.dark-theme .ai-chat-customer-email-input {
|
|
2061
|
+
background: #111827;
|
|
2062
|
+
border-color: #78350f;
|
|
2063
|
+
color: #f9fafb;
|
|
2064
|
+
}
|
|
2065
|
+
|
|
2066
|
+
.dark-theme .ai-chat-customer-email-input:focus {
|
|
2067
|
+
border-color: #60a5fa;
|
|
2068
|
+
box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
|
|
2069
|
+
}
|
|
2070
|
+
|
|
2071
|
+
.ai-chat-email-set-button {
|
|
2072
|
+
flex-shrink: 0;
|
|
2073
|
+
}
|
|
2074
|
+
|
|
2075
|
+
.ai-chat-email-error-message {
|
|
2076
|
+
width: 100%;
|
|
2077
|
+
color: #dc2626;
|
|
2078
|
+
font-size: 13px;
|
|
2079
|
+
margin-top: -4px;
|
|
2080
|
+
}
|
|
2081
|
+
|
|
2082
|
+
.dark-theme .ai-chat-email-error-message {
|
|
2083
|
+
color: #fca5a5;
|
|
2084
|
+
}
|
|
2085
|
+
|
|
2086
|
+
/* ============================================================================
|
|
2087
|
+
Tool Approval Panel
|
|
2088
|
+
============================================================================ */
|
|
2089
|
+
|
|
2090
|
+
.ai-chat-approve-tools-panel {
|
|
2091
|
+
padding: 16px;
|
|
2092
|
+
border-top: 1px solid #e5e7eb;
|
|
2093
|
+
border-bottom: 1px solid #e5e7eb;
|
|
2094
|
+
background: #fef3c7;
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
.dark-theme .ai-chat-approve-tools-panel {
|
|
2098
|
+
background: #78350f;
|
|
2099
|
+
border-top-color: #92400e;
|
|
2100
|
+
border-bottom-color: #92400e;
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
.ai-chat-approve-tools-header {
|
|
2104
|
+
font-size: 14px;
|
|
2105
|
+
font-weight: 600;
|
|
2106
|
+
color: #92400e;
|
|
2107
|
+
margin-bottom: 4px;
|
|
2108
|
+
}
|
|
2109
|
+
|
|
2110
|
+
.dark-theme .ai-chat-approve-tools-header {
|
|
2111
|
+
color: #fef3c7;
|
|
2112
|
+
}
|
|
2113
|
+
|
|
2114
|
+
.ai-chat-approve-tools-description {
|
|
2115
|
+
font-size: 13px;
|
|
2116
|
+
color: #78350f;
|
|
2117
|
+
margin-bottom: 12px;
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2120
|
+
.dark-theme .ai-chat-approve-tools-description {
|
|
2121
|
+
color: #fde68a;
|
|
2122
|
+
}
|
|
2123
|
+
|
|
2124
|
+
.ai-chat-approve-tool-item {
|
|
2125
|
+
margin-bottom: 12px;
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
.ai-chat-approve-tool-item:last-child {
|
|
2129
|
+
margin-bottom: 0;
|
|
2130
|
+
}
|
|
2131
|
+
|
|
2132
|
+
.ai-chat-approve-tool-name {
|
|
2133
|
+
font-size: 13px;
|
|
2134
|
+
font-weight: 600;
|
|
2135
|
+
color: #92400e;
|
|
2136
|
+
margin-bottom: 6px;
|
|
2137
|
+
font-family: 'Monaco', 'Courier New', monospace;
|
|
2138
|
+
}
|
|
2139
|
+
|
|
2140
|
+
.dark-theme .ai-chat-approve-tool-name {
|
|
2141
|
+
color: #fef3c7;
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2144
|
+
.ai-chat-approve-tools-buttons {
|
|
2145
|
+
display: flex;
|
|
2146
|
+
gap: 6px;
|
|
2147
|
+
flex-wrap: wrap;
|
|
2148
|
+
}
|
|
2149
|
+
|
|
2150
|
+
.ai-chat-approve-tools-button {
|
|
2151
|
+
flex: 1;
|
|
2152
|
+
min-width: 80px;
|
|
2153
|
+
}
|
|
2154
|
+
|
|
2155
|
+
/* ============================================================================
|
|
2156
|
+
Email Input Container (ChatPanel Style)
|
|
2157
|
+
============================================================================ */
|
|
2158
|
+
|
|
2159
|
+
.ai-chat-email-input-message {
|
|
2160
|
+
color: #991b1b;
|
|
2161
|
+
font-size: 0.8em;
|
|
2162
|
+
margin-top: 8px;
|
|
2163
|
+
margin-bottom: 8px;
|
|
2164
|
+
padding-left: 8px;
|
|
2165
|
+
}
|
|
2166
|
+
|
|
2167
|
+
.dark-theme .ai-chat-email-input-message {
|
|
2168
|
+
color: #fca5a5;
|
|
2169
|
+
}
|
|
2170
|
+
|
|
2171
|
+
.ai-chat-email-input-container {
|
|
2172
|
+
display: flex;
|
|
2173
|
+
flex-direction: row;
|
|
2174
|
+
width: 100%;
|
|
2175
|
+
gap: 8px;
|
|
2176
|
+
margin-top: 8px;
|
|
2177
|
+
margin-bottom: 8px;
|
|
2178
|
+
}
|
|
2179
|
+
|
|
2180
|
+
.ai-chat-email-input {
|
|
2181
|
+
flex: 1;
|
|
2182
|
+
color: #1f2937;
|
|
2183
|
+
padding: 8px 12px;
|
|
2184
|
+
background-color: white;
|
|
2185
|
+
border: 1px solid #d1d5db;
|
|
2186
|
+
border-radius: 4px;
|
|
2187
|
+
font-size: 14px;
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2190
|
+
.dark-theme .ai-chat-email-input {
|
|
2191
|
+
color: #f9fafb;
|
|
2192
|
+
background-color: #1f2937;
|
|
2193
|
+
border-color: #374151;
|
|
2194
|
+
}
|
|
2195
|
+
|
|
2196
|
+
.ai-chat-email-input:focus {
|
|
2197
|
+
outline: none;
|
|
2198
|
+
border-color: #3b82f6;
|
|
2199
|
+
}
|
|
2200
|
+
|
|
2201
|
+
.ai-chat-email-input-invalid {
|
|
2202
|
+
flex: 1;
|
|
2203
|
+
color: #1f2937;
|
|
2204
|
+
padding: 8px 12px;
|
|
2205
|
+
background-color: #fef2f2;
|
|
2206
|
+
border: 1px solid #ef4444;
|
|
2207
|
+
border-radius: 4px;
|
|
2208
|
+
font-size: 14px;
|
|
2209
|
+
}
|
|
2210
|
+
|
|
2211
|
+
.dark-theme .ai-chat-email-input-invalid {
|
|
2212
|
+
color: #f9fafb;
|
|
2213
|
+
background-color: #7f1d1d;
|
|
2214
|
+
border-color: #991b1b;
|
|
2215
|
+
}
|
|
2216
|
+
|
|
2217
|
+
.ai-chat-email-input-invalid::placeholder {
|
|
2218
|
+
color: #991b1b;
|
|
2219
|
+
}
|
|
2220
|
+
|
|
2221
|
+
.dark-theme .ai-chat-email-input-invalid::placeholder {
|
|
2222
|
+
color: #fca5a5;
|
|
2223
|
+
}
|
|
2224
|
+
|
|
2225
|
+
.ai-chat-email-input-invalid:focus {
|
|
2226
|
+
outline: none;
|
|
2227
|
+
border-color: #dc2626;
|
|
2228
|
+
}
|
|
2229
|
+
|
|
2230
|
+
.ai-chat-email-input-set {
|
|
2231
|
+
flex: 1;
|
|
2232
|
+
color: #1f2937;
|
|
2233
|
+
padding: 8px 12px;
|
|
2234
|
+
background-color: white;
|
|
2235
|
+
border: 0px solid white;
|
|
2236
|
+
opacity: 0.7;
|
|
2237
|
+
user-select: none;
|
|
2238
|
+
border-radius: 4px;
|
|
2239
|
+
font-size: 14px;
|
|
2240
|
+
}
|
|
2241
|
+
|
|
2242
|
+
.dark-theme .ai-chat-email-input-set {
|
|
2243
|
+
color: #f9fafb;
|
|
2244
|
+
background-color: #1f2937;
|
|
2245
|
+
border-color: #1f2937;
|
|
2246
|
+
}
|
|
2247
|
+
|
|
2248
|
+
.ai-chat-email-edit-button {
|
|
2249
|
+
padding: 8px 12px;
|
|
2250
|
+
background: transparent;
|
|
2251
|
+
border: 1px solid #d1d5db;
|
|
2252
|
+
border-radius: 4px;
|
|
2253
|
+
cursor: pointer;
|
|
2254
|
+
color: #374151;
|
|
2255
|
+
font-size: 16px;
|
|
2256
|
+
display: flex;
|
|
2257
|
+
align-items: center;
|
|
2258
|
+
justify-content: center;
|
|
2259
|
+
transition: background-color 0.15s;
|
|
2260
|
+
}
|
|
2261
|
+
|
|
2262
|
+
.ai-chat-email-edit-button:hover {
|
|
2263
|
+
background-color: #f3f4f6;
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2266
|
+
.dark-theme .ai-chat-email-edit-button {
|
|
2267
|
+
border-color: #374151;
|
|
2268
|
+
color: #9ca3af;
|
|
2269
|
+
}
|
|
2270
|
+
|
|
2271
|
+
.dark-theme .ai-chat-email-edit-button:hover {
|
|
2272
|
+
background-color: #374151;
|
|
2273
|
+
}
|