@chrryai/chrry 1.1.78
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/About.module.scss +112 -0
- package/Account.module.scss +159 -0
- package/AddToHomeScreen.module.scss +126 -0
- package/Affiliate.module.scss +245 -0
- package/AffiliateDashboard.module.scss +269 -0
- package/Agent.module.scss +197 -0
- package/AnimatedWrapper.module.scss +0 -0
- package/App.module.scss +283 -0
- package/Bookmark.module.scss +15 -0
- package/Calendar.module.scss +824 -0
- package/CharacterProfiles.module.scss +29 -0
- package/Chat.module.scss +932 -0
- package/Checkbox.module.scss +67 -0
- package/Chrry.module.scss +69 -0
- package/Collaborate.module.scss +22 -0
- package/CollaborationStatus.module.scss +17 -0
- package/CollaborationTooltip.module.scss +257 -0
- package/ColorScheme.module.scss +24 -0
- package/EditThread.module.scss +51 -0
- package/EmptyStateTips.module.scss +52 -0
- package/EnableNotifications.module.scss +20 -0
- package/EventModal.module.scss +277 -0
- package/Img.module.scss +48 -0
- package/Instructions.module.scss +333 -0
- package/LICENSE +664 -0
- package/LanguageSwitcher.module.scss +21 -0
- package/Loading.module.scss +32 -0
- package/MarkdownContent.module.scss +161 -0
- package/MemoryConsent.module.scss +41 -0
- package/Menu.module.scss +272 -0
- package/Message.module.scss +470 -0
- package/Messages.module.scss +86 -0
- package/Modal.module.scss +118 -0
- package/README.md +112 -0
- package/Search.module.scss +26 -0
- package/Select.module.scss +32 -0
- package/Share.module.scss +84 -0
- package/Sidebar.module.scss +69 -0
- package/SignIn.module.scss +129 -0
- package/Skeleton.module.scss +232 -0
- package/SplashScreen.module.scss +189 -0
- package/Star.module.scss +15 -0
- package/Store.module.scss +240 -0
- package/Subscribe.module.scss +219 -0
- package/Testimonials.module.scss +33 -0
- package/Thread.module.scss +111 -0
- package/Threads.module.scss +105 -0
- package/TypingIndicator.module.scss +93 -0
- package/Users.module.scss +98 -0
- package/Version.module.scss +22 -0
- package/Weather.module.scss +31 -0
- package/Why.module.scss +79 -0
- package/__tests__/README.md +126 -0
- package/__tests__/TestComponent.module.scss +236 -0
- package/animations.scss +163 -0
- package/breakpoints.scss +8 -0
- package/context/AppContext.module.scss +22 -0
- package/context/providers/README.md +329 -0
- package/dist/About.module-RPTFOKG6.scss +112 -0
- package/dist/Account.module-AA2NOD5S.scss +159 -0
- package/dist/AddToHomeScreen.module-P6HAQ4QD.scss +126 -0
- package/dist/Affiliate.module-YM7MG54E.scss +245 -0
- package/dist/AffiliateDashboard.module-SZQJJBME.scss +269 -0
- package/dist/Agent.module-66YIBDMM.scss +197 -0
- package/dist/App.module-TOWYJFPB.scss +283 -0
- package/dist/Bookmark.module-UVMQ4TED.scss +15 -0
- package/dist/Calendar.module-HHEIXJEA.scss +824 -0
- package/dist/CharacterProfiles.module-KABR34TV.scss +29 -0
- package/dist/Chat.module-Y4TGJLBQ.scss +932 -0
- package/dist/Checkbox.module-RNW2YOC5.scss +67 -0
- package/dist/Chrry.module-SLPTRY52.scss +69 -0
- package/dist/Collaborate.module-MLRE23FZ.scss +22 -0
- package/dist/CollaborationStatus.module-CRGOOW56.scss +17 -0
- package/dist/ColorScheme.module-N7SJ5N52.scss +24 -0
- package/dist/EditThread.module-L3HOEGS3.scss +51 -0
- package/dist/EmptyStateTips.module-JLNPQ4OO.scss +52 -0
- package/dist/EnableNotifications.module-C4MYQTUA.scss +20 -0
- package/dist/EventModal.module-K7VNKTCE.scss +277 -0
- package/dist/Instructions.module-JMFWEXAP.scss +333 -0
- package/dist/LanguageSwitcher.module-MT2SIZ4L.scss +21 -0
- package/dist/Loading.module-OU42QILE.scss +32 -0
- package/dist/MarkdownContent.module-64GHE3YP.scss +161 -0
- package/dist/MemoryConsent.module-FZL3REH4.scss +41 -0
- package/dist/Menu.module-RVXPXILR.scss +272 -0
- package/dist/Message.module-5UUYCVY2.scss +470 -0
- package/dist/Messages.module-GBPUAPAI.scss +86 -0
- package/dist/Modal.module-TOU4YLFQ.scss +118 -0
- package/dist/Search.module-GU3BRADG.scss +26 -0
- package/dist/Select.module-R7QM256C.scss +32 -0
- package/dist/Share.module-VQBCBSA5.scss +84 -0
- package/dist/Sidebar.module-AUSDVTCY.scss +69 -0
- package/dist/SignIn.module-53SOSG63.scss +129 -0
- package/dist/Skeleton.module-REMEBLDY.scss +232 -0
- package/dist/Store.module-NP6776GY.scss +240 -0
- package/dist/Subscribe.module-NVGQ57RA.scss +219 -0
- package/dist/Thread.module-QAJI6KOQ.scss +111 -0
- package/dist/Threads.module-J54DFQQZ.scss +105 -0
- package/dist/Users.module-ZRHCY63D.scss +98 -0
- package/dist/Version.module-MLMD7GW5.scss +22 -0
- package/dist/Weather.module-NT6XFKA7.scss +31 -0
- package/dist/Why.module-UVZJCJF7.scss +79 -0
- package/dist/index.d.mts +1408 -0
- package/dist/index.d.ts +1408 -0
- package/dist/index.js +44600 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +44575 -0
- package/dist/index.mjs.map +1 -0
- package/dist/react-tooltip.min-LLVNRY3Z.css +1 -0
- package/globals.css +91 -0
- package/globals.scss +585 -0
- package/icons/README.md +150 -0
- package/package.json +118 -0
- package/styles/view-transitions.css +207 -0
- package/toRem.scss +6 -0
- package/utils.module.scss +116 -0
- package/utils.scss +88 -0
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
@use "breakpoints.scss";
|
|
2
|
+
@use "utils.scss";
|
|
3
|
+
@use "./toRem.scss";
|
|
4
|
+
|
|
5
|
+
.menu {
|
|
6
|
+
background-color: var(--shade-1-transparent);
|
|
7
|
+
backdrop-filter: blur(toRem.toRem(20.5));
|
|
8
|
+
padding: toRem.toRem(10) toRem.toRem(12.5) toRem.toRem(10) toRem.toRem(10);
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
border-right: toRem.toRem(1) dashed var(--shade-2);
|
|
11
|
+
z-index: 1000;
|
|
12
|
+
position: fixed;
|
|
13
|
+
top: 0;
|
|
14
|
+
left: 0;
|
|
15
|
+
height: 100dvh;
|
|
16
|
+
display: none;
|
|
17
|
+
|
|
18
|
+
width: toRem.toRem(250);
|
|
19
|
+
|
|
20
|
+
&.open {
|
|
21
|
+
position: static;
|
|
22
|
+
display: flex;
|
|
23
|
+
position: fixed;
|
|
24
|
+
z-index: 9999;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.closed {
|
|
28
|
+
display: none;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@media print {
|
|
32
|
+
display: none !important;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.threadList {
|
|
37
|
+
opacity: 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.profileButton {
|
|
41
|
+
font-size: toRem.toRem(17.5);
|
|
42
|
+
font-weight: 600;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.hamburgerMenu {
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
top: toRem.toRem(10);
|
|
49
|
+
gap: toRem.toRem(15);
|
|
50
|
+
left: toRem.toRem(10);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.hamburgerButton {
|
|
54
|
+
color: var(--accent-1);
|
|
55
|
+
}
|
|
56
|
+
.menuContent {
|
|
57
|
+
width: 100%;
|
|
58
|
+
display: flex;
|
|
59
|
+
animation: slideRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
60
|
+
@include utils.respect-reduced-motion;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.threads {
|
|
64
|
+
margin-top: toRem.toRem(7.5);
|
|
65
|
+
margin-right: toRem.toRem(-7.5);
|
|
66
|
+
&.loading {
|
|
67
|
+
display: flex;
|
|
68
|
+
flex-direction: column;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&.threadItem {
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.noThreadsContainer {
|
|
76
|
+
font-size: toRem.toRem(12);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.threadsTitle {
|
|
80
|
+
font-size: toRem.toRem(18);
|
|
81
|
+
margin: 0;
|
|
82
|
+
margin-bottom: toRem.toRem(7.5);
|
|
83
|
+
display: flex;
|
|
84
|
+
align-items: center;
|
|
85
|
+
gap: toRem.toRem(5);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.loadMoreButton {
|
|
89
|
+
font-size: toRem.toRem(12.5);
|
|
90
|
+
padding: toRem.toRem(5) toRem.toRem(10);
|
|
91
|
+
display: flex;
|
|
92
|
+
align-items: center;
|
|
93
|
+
gap: toRem.toRem(5);
|
|
94
|
+
margin-top: toRem.toRem(10);
|
|
95
|
+
margin-bottom: toRem.toRem(7.5);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.loadMoreButtonContainer {
|
|
99
|
+
display: flex;
|
|
100
|
+
justify-content: center;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.menuHeader {
|
|
104
|
+
margin-right: toRem.toRem(-5.5);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.menuHeader.mobileMenuHeader {
|
|
108
|
+
display: flex;
|
|
109
|
+
|
|
110
|
+
&.open {
|
|
111
|
+
display: none;
|
|
112
|
+
}
|
|
113
|
+
@media (min-width: breakpoints.$breakpoint-tablet) {
|
|
114
|
+
display: none;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.colorSchemeContainer {
|
|
119
|
+
display: flex;
|
|
120
|
+
align-items: center;
|
|
121
|
+
gap: toRem.toRem(5);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.reduceMotionButton {
|
|
125
|
+
margin-left: auto;
|
|
126
|
+
font-size: toRem.toRem(12);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.menuHeader.desktopMenuHeader {
|
|
130
|
+
display: none;
|
|
131
|
+
|
|
132
|
+
&.open {
|
|
133
|
+
display: flex;
|
|
134
|
+
}
|
|
135
|
+
@media (min-width: breakpoints.$breakpoint-tablet) {
|
|
136
|
+
display: flex;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.threadsList {
|
|
141
|
+
display: flex;
|
|
142
|
+
flex-direction: column;
|
|
143
|
+
gap: toRem.toRem(7.5);
|
|
144
|
+
margin-top: toRem.toRem(10);
|
|
145
|
+
font-size: toRem.toRem(12.5);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.brand {
|
|
149
|
+
font-size: toRem.toRem(18);
|
|
150
|
+
font-weight: bold;
|
|
151
|
+
color: var(--shade-7);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.threadItem {
|
|
155
|
+
padding-right: toRem.toRem(17);
|
|
156
|
+
display: flex;
|
|
157
|
+
align-items: center;
|
|
158
|
+
gap: toRem.toRem(3);
|
|
159
|
+
position: relative;
|
|
160
|
+
|
|
161
|
+
a {
|
|
162
|
+
line-height: 1.3;
|
|
163
|
+
color: var(--shade-6);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.star {
|
|
167
|
+
position: absolute;
|
|
168
|
+
top: 1;
|
|
169
|
+
right: 0;
|
|
170
|
+
display: inline-flex;
|
|
171
|
+
|
|
172
|
+
@media (min-width: breakpoints.$breakpoint-mobile) {
|
|
173
|
+
display: none;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
&.starActive {
|
|
177
|
+
display: inline-flex;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
&:hover {
|
|
182
|
+
.star {
|
|
183
|
+
display: inline-flex;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.collaborationStatus {
|
|
189
|
+
margin-left: auto;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.menuContent {
|
|
193
|
+
display: flex;
|
|
194
|
+
margin-top: toRem.toRem(10);
|
|
195
|
+
@media (min-height: toRem.toRem(700)) {
|
|
196
|
+
margin-top: toRem.toRem(30);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.footer {
|
|
201
|
+
display: flex;
|
|
202
|
+
margin-top: toRem.toRem(20);
|
|
203
|
+
flex-direction: column;
|
|
204
|
+
gap: toRem.toRem(12.5);
|
|
205
|
+
|
|
206
|
+
.bottom {
|
|
207
|
+
display: flex;
|
|
208
|
+
align-items: center;
|
|
209
|
+
gap: toRem.toRem(10);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.colorScheme {
|
|
213
|
+
margin-left: toRem.toRem(5);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
margin-top: auto;
|
|
217
|
+
|
|
218
|
+
@media all and (display-mode: standalone) {
|
|
219
|
+
margin-top: auto;
|
|
220
|
+
|
|
221
|
+
&.ios {
|
|
222
|
+
padding-bottom: toRem.toRem(15);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
&.standalone {
|
|
227
|
+
margin-top: auto;
|
|
228
|
+
|
|
229
|
+
&.ios {
|
|
230
|
+
padding-bottom: toRem.toRem(15);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
&.android:not(.standalone) {
|
|
235
|
+
position: relative;
|
|
236
|
+
bottom: toRem.toRem(5);
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.menuItems {
|
|
241
|
+
display: flex;
|
|
242
|
+
flex-direction: column;
|
|
243
|
+
gap: toRem.toRem(7.5);
|
|
244
|
+
flex: 1;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.menuItemButton {
|
|
248
|
+
font-size: toRem.toRem(14);
|
|
249
|
+
align-items: center;
|
|
250
|
+
display: flex;
|
|
251
|
+
justify-content: center;
|
|
252
|
+
gap: toRem.toRem(5);
|
|
253
|
+
padding: toRem.toRem(7) toRem.toRem(10);
|
|
254
|
+
align-self: flex-start;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.menuHeader {
|
|
258
|
+
display: flex;
|
|
259
|
+
align-items: flex-start;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.menuButton {
|
|
263
|
+
display: flex !important;
|
|
264
|
+
margin-left: auto !important;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.menuItemButton {
|
|
268
|
+
display: flex;
|
|
269
|
+
align-items: center;
|
|
270
|
+
gap: toRem.toRem(5);
|
|
271
|
+
flex-direction: row;
|
|
272
|
+
}
|
|
@@ -0,0 +1,470 @@
|
|
|
1
|
+
@use "./breakpoints.scss";
|
|
2
|
+
@use "./toRem.scss";
|
|
3
|
+
@use "./utils.scss";
|
|
4
|
+
|
|
5
|
+
.userMessageContainer.owner,
|
|
6
|
+
.guestMessageContainer.owner {
|
|
7
|
+
align-self: flex-end;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.video {
|
|
11
|
+
width: toRem.toRem(35);
|
|
12
|
+
height: toRem.toRem(35);
|
|
13
|
+
border-radius: 50%;
|
|
14
|
+
background-color: black;
|
|
15
|
+
object-fit: cover;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.userMessage {
|
|
19
|
+
background-color: var(--shade-1);
|
|
20
|
+
border: toRem.toRem(1) solid var(--shade-2);
|
|
21
|
+
|
|
22
|
+
border-radius: var(--radius);
|
|
23
|
+
padding: toRem.toRem(10);
|
|
24
|
+
position: relative;
|
|
25
|
+
width: 100%;
|
|
26
|
+
box-sizing: border-box;
|
|
27
|
+
overflow-wrap: break-word;
|
|
28
|
+
box-shadow: 0 0 toRem.toRem(5) var(--shade-2);
|
|
29
|
+
|
|
30
|
+
&:not(.android) {
|
|
31
|
+
animation: slideUp 0.4s ease forwards;
|
|
32
|
+
@include utils.respect-reduced-motion;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&.owner {
|
|
36
|
+
align-self: flex-end;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.updateModalDescription {
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: row;
|
|
43
|
+
flex-wrap: wrap;
|
|
44
|
+
gap: toRem.toRem(10);
|
|
45
|
+
font-size: toRem.toRem(14);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.updateModalDescriptionItem {
|
|
49
|
+
display: flex;
|
|
50
|
+
gap: toRem.toRem(5);
|
|
51
|
+
border-bottom: toRem.toRem(1) dashed var(--shade-2);
|
|
52
|
+
padding-bottom: toRem.toRem(10);
|
|
53
|
+
|
|
54
|
+
&:last-child {
|
|
55
|
+
border-bottom: none;
|
|
56
|
+
padding-bottom: 0;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.appIcon {
|
|
61
|
+
display: flex;
|
|
62
|
+
align-items: center;
|
|
63
|
+
flex-direction: column;
|
|
64
|
+
font-size: toRem.toRem(12);
|
|
65
|
+
gap: toRem.toRem(5);
|
|
66
|
+
font-weight: 500;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.updateModalDescriptionButton {
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-direction: column;
|
|
72
|
+
gap: toRem.toRem(5);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.thinking {
|
|
76
|
+
display: flex-end;
|
|
77
|
+
align-items: center;
|
|
78
|
+
display: flex;
|
|
79
|
+
gap: toRem.toRem(5);
|
|
80
|
+
font-size: toRem.toRem(13);
|
|
81
|
+
color: var(--shade-7);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.sparklesButton {
|
|
85
|
+
color: var(--accent-1);
|
|
86
|
+
animation: pulse 1s ease-in-out;
|
|
87
|
+
@include utils.respect-reduced-motion;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.agentMessage {
|
|
91
|
+
background-color: var(--shade-1);
|
|
92
|
+
align-self: flex-start;
|
|
93
|
+
border-radius: toRem.toRem(15);
|
|
94
|
+
border: toRem.toRem(1) solid var(--shade-2);
|
|
95
|
+
box-shadow: 0 0 toRem.toRem(5) var(--shade-2);
|
|
96
|
+
width: 100%;
|
|
97
|
+
box-sizing: border-box;
|
|
98
|
+
overflow-wrap: break-word;
|
|
99
|
+
&:not(.android) {
|
|
100
|
+
animation: slideUp 0.4s ease forwards;
|
|
101
|
+
@include utils.respect-reduced-motion;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.userMessageFiles {
|
|
106
|
+
margin: toRem.toRem(7.5) 0 toRem.toRem(5) 0;
|
|
107
|
+
display: flex;
|
|
108
|
+
flex-direction: row;
|
|
109
|
+
flex-wrap: wrap;
|
|
110
|
+
gap: toRem.toRem(5);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.playButton {
|
|
114
|
+
font-size: toRem.toRem(12);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.userMessageImages {
|
|
118
|
+
margin: toRem.toRem(10) 0 toRem.toRem(5) 0;
|
|
119
|
+
display: flex;
|
|
120
|
+
flex-direction: row;
|
|
121
|
+
flex-wrap: wrap;
|
|
122
|
+
gap: toRem.toRem(10);
|
|
123
|
+
|
|
124
|
+
img {
|
|
125
|
+
border-radius: toRem.toRem(20);
|
|
126
|
+
max-width: 100%;
|
|
127
|
+
// height: fit-content;
|
|
128
|
+
width: toRem.toRem(250);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.userMessageVideo {
|
|
133
|
+
display: flex;
|
|
134
|
+
flex-direction: row;
|
|
135
|
+
flex-wrap: wrap;
|
|
136
|
+
gap: toRem.toRem(10);
|
|
137
|
+
|
|
138
|
+
margin: toRem.toRem(10) 0 toRem.toRem(5) 0;
|
|
139
|
+
video {
|
|
140
|
+
max-width: 100%;
|
|
141
|
+
// height: fit-content;
|
|
142
|
+
width: toRem.toRem(250);
|
|
143
|
+
border-radius: toRem.toRem(20);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.userMessageAudio {
|
|
148
|
+
margin: toRem.toRem(10) 0 toRem.toRem(5) 0;
|
|
149
|
+
display: flex;
|
|
150
|
+
flex-direction: column;
|
|
151
|
+
gap: toRem.toRem(5);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.userMessage,
|
|
155
|
+
.agentMessage {
|
|
156
|
+
display: flex;
|
|
157
|
+
flex-direction: column;
|
|
158
|
+
padding: toRem.toRem(10);
|
|
159
|
+
width: auto;
|
|
160
|
+
font-size: toRem.toRem(15);
|
|
161
|
+
min-width: toRem.toRem(200);
|
|
162
|
+
.agentMessageTime,
|
|
163
|
+
.userMessageTime {
|
|
164
|
+
display: none;
|
|
165
|
+
|
|
166
|
+
@media (min-width: breakpoints.$breakpoint-mobile) {
|
|
167
|
+
display: flex;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.userImage {
|
|
173
|
+
border-radius: 50%;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.name {
|
|
177
|
+
font-size: toRem.toRem(12.5);
|
|
178
|
+
color: var(--shade-5);
|
|
179
|
+
display: flex;
|
|
180
|
+
align-items: center;
|
|
181
|
+
gap: toRem.toRem(5);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.agentMessageImages {
|
|
185
|
+
display: flex;
|
|
186
|
+
flex-direction: row;
|
|
187
|
+
flex-wrap: wrap;
|
|
188
|
+
gap: toRem.toRem(5);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.imageContainer {
|
|
192
|
+
position: relative;
|
|
193
|
+
display: inline-block;
|
|
194
|
+
|
|
195
|
+
&:hover .downloadButton {
|
|
196
|
+
opacity: 1;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.downloadButton {
|
|
201
|
+
position: absolute;
|
|
202
|
+
top: toRem.toRem(8);
|
|
203
|
+
right: toRem.toRem(8);
|
|
204
|
+
background: rgba(0, 0, 0, 0.7);
|
|
205
|
+
border: none;
|
|
206
|
+
border-radius: toRem.toRem(6);
|
|
207
|
+
color: white;
|
|
208
|
+
padding: toRem.toRem(6);
|
|
209
|
+
cursor: pointer;
|
|
210
|
+
opacity: 1;
|
|
211
|
+
transition: opacity 0.2s ease;
|
|
212
|
+
display: flex;
|
|
213
|
+
align-items: center;
|
|
214
|
+
justify-content: center;
|
|
215
|
+
|
|
216
|
+
&:hover {
|
|
217
|
+
background: rgba(0, 0, 0, 0.9);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
@media (min-width: breakpoints.$breakpoint-mobile) {
|
|
221
|
+
opacity: 0;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.agentMessageImages .agentMessageImage,
|
|
226
|
+
.agentMessageImages .placeholder,
|
|
227
|
+
.agentMessageImageContainer,
|
|
228
|
+
.imageContainer {
|
|
229
|
+
border-radius: toRem.toRem(12.5);
|
|
230
|
+
width: 100%;
|
|
231
|
+
height: 100%;
|
|
232
|
+
min-width: toRem.toRem(300);
|
|
233
|
+
min-height: toRem.toRem(300);
|
|
234
|
+
background-color: var(--shade-2);
|
|
235
|
+
display: flex;
|
|
236
|
+
align-items: center;
|
|
237
|
+
justify-content: center;
|
|
238
|
+
|
|
239
|
+
@media (min-width: breakpoints.$breakpoint-tablet) {
|
|
240
|
+
width: toRem.toRem(300) !important;
|
|
241
|
+
height: toRem.toRem(300) !important;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.userMessageContent,
|
|
246
|
+
.agentMessageContent {
|
|
247
|
+
color: var(--shade-7);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.message {
|
|
251
|
+
display: flex;
|
|
252
|
+
flex-direction: column;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.messageContainer,
|
|
256
|
+
.userMessageContainer {
|
|
257
|
+
display: flex;
|
|
258
|
+
gap: toRem.toRem(7.5);
|
|
259
|
+
align-items: flex-start;
|
|
260
|
+
flex-direction: column;
|
|
261
|
+
|
|
262
|
+
@media (min-width: breakpoints.$breakpoint-mobile) {
|
|
263
|
+
flex-direction: row;
|
|
264
|
+
gap: toRem.toRem(12.5);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.userMessageTime,
|
|
269
|
+
.agentMessageTime {
|
|
270
|
+
font-size: toRem.toRem(12);
|
|
271
|
+
color: var(--shade-6);
|
|
272
|
+
|
|
273
|
+
&.userMessageTime {
|
|
274
|
+
align-self: center;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.footer {
|
|
279
|
+
display: flex;
|
|
280
|
+
gap: toRem.toRem(15);
|
|
281
|
+
align-items: center;
|
|
282
|
+
margin-top: toRem.toRem(15);
|
|
283
|
+
font-size: toRem.toRem(12);
|
|
284
|
+
|
|
285
|
+
.left {
|
|
286
|
+
display: flex;
|
|
287
|
+
gap: toRem.toRem(2);
|
|
288
|
+
align-items: center;
|
|
289
|
+
gap: toRem.toRem(8.5);
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.agentWebStreaming {
|
|
294
|
+
margin-top: toRem.toRem(10);
|
|
295
|
+
display: flex;
|
|
296
|
+
align-items: center;
|
|
297
|
+
gap: toRem.toRem(5);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.likeButtons {
|
|
301
|
+
display: flex;
|
|
302
|
+
gap: toRem.toRem(10);
|
|
303
|
+
margin-left: auto;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.agent {
|
|
307
|
+
display: flex;
|
|
308
|
+
align-items: center;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.userIcon,
|
|
312
|
+
.agentIcon {
|
|
313
|
+
display: flex;
|
|
314
|
+
align-items: center;
|
|
315
|
+
gap: toRem.toRem(7.5);
|
|
316
|
+
color: var(--accent-1);
|
|
317
|
+
&.agentIcon {
|
|
318
|
+
color: var(--accent-6);
|
|
319
|
+
}
|
|
320
|
+
&.userIcon.owner {
|
|
321
|
+
align-self: flex-end;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
&.tablet {
|
|
325
|
+
display: none;
|
|
326
|
+
align-self: flex-start;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
&.mobile {
|
|
330
|
+
display: flex;
|
|
331
|
+
|
|
332
|
+
.userMessageTime,
|
|
333
|
+
.agentMessageTime {
|
|
334
|
+
align-self: center;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
@media (min-width: breakpoints.$breakpoint-mobile) {
|
|
339
|
+
&.mobile {
|
|
340
|
+
display: none;
|
|
341
|
+
}
|
|
342
|
+
&.tablet {
|
|
343
|
+
display: flex;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.webSearchResults {
|
|
349
|
+
display: flex;
|
|
350
|
+
flex-direction: column;
|
|
351
|
+
gap: toRem.toRem(5);
|
|
352
|
+
|
|
353
|
+
margin-top: toRem.toRem(10);
|
|
354
|
+
|
|
355
|
+
flex-wrap: wrap;
|
|
356
|
+
|
|
357
|
+
.webSearchResultTitle {
|
|
358
|
+
font-size: toRem.toRem(13);
|
|
359
|
+
display: flex;
|
|
360
|
+
flex-direction: row;
|
|
361
|
+
gap: toRem.toRem(5);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.webSearchResultSnippet {
|
|
365
|
+
font-size: toRem.toRem(12);
|
|
366
|
+
color: var(--shade-6);
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.agentMessageContent {
|
|
371
|
+
display: flex;
|
|
372
|
+
flex-direction: column;
|
|
373
|
+
gap: toRem.toRem(10);
|
|
374
|
+
@media (min-width: breakpoints.$breakpoint-tablet) {
|
|
375
|
+
flex-direction: row;
|
|
376
|
+
align-items: flex-start;
|
|
377
|
+
gap: toRem.toRem(20);
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.typingIndicator {
|
|
382
|
+
display: flex;
|
|
383
|
+
align-items: center;
|
|
384
|
+
gap: toRem.toRem(8);
|
|
385
|
+
padding: toRem.toRem(4) toRem.toRem(8);
|
|
386
|
+
margin: toRem.toRem(4) 0;
|
|
387
|
+
background: var(--shade-1);
|
|
388
|
+
border-radius: toRem.toRem(8);
|
|
389
|
+
font-size: toRem.toRem(12);
|
|
390
|
+
color: var(--shade-5);
|
|
391
|
+
border: toRem.toRem(1) solid var(--shade-2);
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.typingText {
|
|
395
|
+
font-style: italic;
|
|
396
|
+
opacity: 0.8;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.dots {
|
|
400
|
+
display: inline-flex;
|
|
401
|
+
gap: toRem.toRem(2);
|
|
402
|
+
align-items: center;
|
|
403
|
+
vertical-align: middle;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.dots span {
|
|
407
|
+
width: toRem.toRem(4);
|
|
408
|
+
height: toRem.toRem(4);
|
|
409
|
+
background: var(--shade-4);
|
|
410
|
+
border-radius: 50%;
|
|
411
|
+
animation: typing 1.4s infinite ease-in-out;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.dots span:nth-child(1) {
|
|
415
|
+
animation-delay: 0s;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.dots span:nth-child(2) {
|
|
419
|
+
animation-delay: 0.2s;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.dots span:nth-child(3) {
|
|
423
|
+
animation-delay: 0.4s;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
@keyframes typing {
|
|
427
|
+
0%,
|
|
428
|
+
60%,
|
|
429
|
+
100% {
|
|
430
|
+
transform: scale(1);
|
|
431
|
+
opacity: 0.5;
|
|
432
|
+
}
|
|
433
|
+
30% {
|
|
434
|
+
transform: scale(1.2);
|
|
435
|
+
opacity: 1;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.nameWithPresence {
|
|
440
|
+
display: inline-flex;
|
|
441
|
+
align-items: center;
|
|
442
|
+
gap: toRem.toRem(6);
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.presenceIndicator {
|
|
446
|
+
width: toRem.toRem(8);
|
|
447
|
+
height: toRem.toRem(8);
|
|
448
|
+
border-radius: 50%;
|
|
449
|
+
flex-shrink: 0;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.presenceIndicator.online {
|
|
453
|
+
background: var(--accent-4);
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.presenceIndicator.offline {
|
|
457
|
+
background: var(--shade-3);
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
/* Dark mode adjustments */
|
|
461
|
+
@media (prefers-color-scheme: dark) {
|
|
462
|
+
.typingIndicator {
|
|
463
|
+
background: var(--shade-0);
|
|
464
|
+
border-color: var(--shade-1);
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.avatar {
|
|
468
|
+
background: var(--shade-1);
|
|
469
|
+
}
|
|
470
|
+
}
|