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.1.4 1.6.84 0.1.5 1.6.85 0.1.6 1.6.86 0.1.7 1.6.87 0.1.8 1.6.88 0.1.9 1.6.89 0.2.0 1.6.90
ai-engine / themes / Messages.module.scss
ai-engine / themes Last commit date
ChatGPT.module.css 3 years ago ChatGPT.module.scss 3 years ago Messages.module.css 3 years ago Messages.module.scss 3 years ago _codeDark.scss 3 years ago _codeLight.scss 3 years ago _common.scss 3 years ago _copybutton.scss 3 years ago
Messages.module.scss
372 lines
1 .mwai-chat {
2 --mwai-spacing: 10px;
3 --mwai-fontSize: 13px;
4 --mwai-lineHeight: 1.5;
5 --mwai-borderRadius: 10px;
6 --mwai-width: 460px;
7 --mwai-maxHeight: 40vh;
8 --mwai-iconTextColor: black;
9 --mwai-iconTextBackgroundColor: white;
10 --mwai-fontColor: black;
11 --mwai-backgroundPrimaryColor: #fafafa;
12 --mwai-backgroundHeaderColor: #0084ff;
13 --mwai-headerButtonsColor: white;
14
15 --mwai-backgroundUserColor: #0084ff;
16 --mwai-backgroundAiColor: #eee;
17 --mwai-backgroundAiSecondaryColor: #ddd;
18
19 * {
20 box-sizing: border-box;
21 }
22
23 .mwai-content {
24 display: flex;
25 background: var(--mwai-backgroundPrimaryColor);
26 font-size: var(--mwai-fontSize);
27 color: var(--mwai-fontColor);
28 border-radius: var(--mwai-borderRadius);
29 flex-direction: column;
30 }
31
32 .mwai-conversation {
33 display: flex;
34 flex-direction: column;
35 overflow: auto;
36 max-height: var(--mwai-maxHeight);
37 padding: var(--mwai-spacing);
38
39 .mwai-reply {
40 margin-bottom: var(--mwai-spacing);
41 padding: 7px 12px;
42 border-radius: 15px;
43 font-size: var(--mwai-fontSize);
44 color: var(--mwai-fontColor);
45 position: relative;
46
47 .mwai-name {
48 display: none;
49 }
50
51 .mwai-name-text {
52 display: none;
53 }
54
55 & * {
56 &:first-child { margin-top: 0px; }
57 &:last-child { margin-bottom: 0px; }
58 }
59
60 &.mwai-ai {
61 align-self: flex-start;
62 background: var(--mwai-backgroundAiColor);
63 margin-left: 5px;
64
65 &::before, &::after {
66 content: "";
67 position: absolute;
68 z-index: 1;
69 bottom: 0;
70 left: -10px;
71 width: 10px;
72 height: 20px;
73 background: var(--mwai-backgroundPrimaryColor);
74 border-bottom-right-radius: 10px;
75 }
76
77 &::before {
78 z-index: 0;
79 left: -7px;
80 height: 20px;
81 width: 20px;
82 background: var(--mwai-backgroundAiColor);
83 border-bottom-right-radius: 15px;
84 }
85 }
86
87 &.mwai-user {
88 align-self: flex-end;
89 background: var(--mwai-backgroundUserColor);
90 color: white;
91 margin-right: 10px;
92 text-align: right;
93
94 &::before, &::after {
95 content: "";
96 position: absolute;
97 z-index: 1;
98 bottom: 0;
99 right: -10px;
100 width: 10px;
101 height: 20px;
102 background: var(--mwai-backgroundPrimaryColor);
103 border-bottom-left-radius: 10px;
104 }
105
106 &::before {
107 z-index: 0;
108 right: -10px;
109 height: 20px;
110 width: 20px;
111 background: var(--mwai-backgroundUserColor);
112 background-attachment: fixed;
113 border-bottom-left-radius: 15px;
114 }
115 }
116 }
117 }
118
119 .mwai-text {
120 flex: auto;
121
122 *:first-child {
123 margin-top: 0;
124 }
125
126 *:last-child {
127 margin-bottom: 0;
128 }
129
130 a {
131 color: #2196f3;
132 }
133
134 h1 {
135 font-size: 200%;
136 }
137
138 h2 {
139 font-size: 160%;
140 }
141
142 h3 {
143 font-size: 140%;
144 }
145
146 h4 {
147 font-size: 120%;
148 }
149
150 p {
151 font-size: var(--mwai-fontSize);
152 line-height: var(--mwai-lineHeight);
153
154 code {
155 background: var(--mwai-backgroundAiSecondaryColor);
156 padding: 2px 6px;
157 border-radius: 8px;
158 font-size: 90%;
159 font-family: system-ui;
160 }
161 }
162
163 pre {
164 color: var(--mwai-fontColor);
165 border-radius: var(--mwai-borderRadius);
166 break-after: auto;
167 white-space: pre-wrap;
168 max-width: 100%;
169 width: 100%;
170 font-family: system-ui;
171 background: var(--mwai-backgroundAiSecondaryColor);
172 padding: var(--mwai-spacing);
173
174 code {
175 padding: 0 !important;
176 font-family: system-ui;
177 background: var(--mwai-backgroundAiSecondaryColor);
178 }
179 }
180
181 ol {
182 padding: 0;
183 margin: 0 0 0 20px;
184 }
185
186 table {
187 width: 100%;
188 border: 2px solid var(--mwai-backgroundAiSecondaryColor);
189 border-collapse: collapse
190 }
191
192 thead {
193 background: var(--mwai-backgroundAiSecondaryColor);
194 }
195
196 tr, td {
197 padding: 2px 5px;
198 }
199
200 td {
201 border: 2px solid var(--mwai-backgroundAiSecondaryColor);
202 }
203
204 .mwai-typewriter {
205 display: inline-block;
206
207 > :first-child {
208 margin-top: 0;
209 }
210 }
211
212 >* {
213 &:first-child {
214 margin-top: 0;
215
216 }
217 &:last-child {
218 margin-bottom: 0;
219 }
220 }
221 }
222
223 .mwai-avatar {
224 img {
225 width: 24px;
226 border-radius: 5px;
227 }
228 }
229
230 .mwai-input {
231 display: flex;
232 align-items: center;
233 padding: var(--mwai-spacing);
234
235 .mwai-input-text {
236 flex: auto;
237 position: relative;
238 display: flex;
239
240 textarea {
241 flex: auto;
242 padding: 5px 10px;
243 font-family: inherit;
244 border-radius: var(--mwai-borderRadius);
245 border: 1px solid var(--mwai-backgroundAiSecondaryColor);
246
247 &:focus {
248 outline: none;
249 box-shadow: none;
250 }
251
252 &::placeholder {
253 color: var(--mwai-fontColor);
254 opacity: 0.5;
255 }
256 }
257 }
258
259 .mwai-microphone {
260 display: flex;
261 align-items: center;
262 justify-content: center;
263 position: absolute;
264 right: 0px;
265 height: 100%;
266 cursor: pointer;
267
268 svg {
269 fill: var(--mwai-fontColor);
270 width: 34px;
271 height: 34px;
272 padding: 5px 10px;
273 fill: var(--mwai-fontColor);
274 opacity: 0.5;
275 transition: opacity 0.3s ease-out;
276 }
277
278 &[active=true]=true] {
279 svg {
280 opacity: 1;
281 }
282 }
283
284 &[disabled]] {
285 svg {
286 opacity: 0;
287 }
288 }
289 }
290
291 button {
292 margin-left: var(--mwai-spacing);
293 padding: 5px 15px;
294 background-color: var(--mwai-backgroundUserColor);
295 color: white;
296 border: none;
297 border-radius: var(--mwai-borderRadius);
298 cursor: pointer;
299 height: 32px;
300 width: 110px;
301 display: flex;
302 justify-content: center;
303 align-items: center;
304
305 .mwai-timer {
306 margin-left: 5px;
307 margin-right: 5px;
308 font-size: 11px;
309 }
310
311 &:hover {
312 filter: brightness(1.2);
313 }
314 }
315 }
316
317 button[disabled]] {
318
319 span {
320 display: none;
321 }
322
323 &:before {
324 content: '';
325 width: 14px;
326 height: 14px;
327 margin: auto;
328 border: 2px solid transparent;
329 border-top-color: white;
330 border-radius: 50%;
331 animation: mwai-button-spinner 1s ease infinite;
332 }
333 }
334
335 .mwai-compliance {
336 opacity: 0.50;
337 margin-top: calc( -1 * var(--mwai-spacing));
338 padding: calc(var(--mwai-spacing) / 1.5) var(--mwai-spacing);
339 font-size: smaller;
340 color: var(--mwai-fontColor);
341 text-align: left;
342 }
343
344 .mwai-gallery {
345 display: grid;
346 grid-template-columns: repeat(3, 1fr);
347 grid-gap: 5px;
348
349 img {
350 width: 100%;
351 }
352 }
353 }
354
355 @import '_common.scss';
356 @import '_copybutton.scss';
357 @import '_codeLight.scss';
358
359 .mwai-copy-button {
360 position: absolute;
361 left: 15px;
362 zoom: 0.5;
363 top: 18px;
364 filter: revert;
365 }
366
367 .mwai-ai .mwai-copy-button {
368 right: 15px;
369 left: inherit;
370 filter: brightness(0.4);
371 }
372