quikchat 1.1.17 → 1.2.6

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.
Files changed (43) hide show
  1. package/README.md +167 -276
  2. package/dist/build-manifest.json +150 -0
  3. package/dist/quikchat-md-full.cjs.js +3023 -0
  4. package/dist/quikchat-md-full.cjs.js.map +1 -0
  5. package/dist/quikchat-md-full.cjs.min.js +10 -0
  6. package/dist/quikchat-md-full.cjs.min.js.map +1 -0
  7. package/dist/quikchat-md-full.esm.js +3021 -0
  8. package/dist/quikchat-md-full.esm.js.map +1 -0
  9. package/dist/quikchat-md-full.esm.min.js +10 -0
  10. package/dist/quikchat-md-full.esm.min.js.map +1 -0
  11. package/dist/quikchat-md-full.umd.js +3029 -0
  12. package/dist/quikchat-md-full.umd.js.map +1 -0
  13. package/dist/quikchat-md-full.umd.min.js +10 -0
  14. package/dist/quikchat-md-full.umd.min.js.map +1 -0
  15. package/dist/quikchat-md.cjs.js +1916 -0
  16. package/dist/quikchat-md.cjs.js.map +1 -0
  17. package/dist/quikchat-md.cjs.min.js +8 -0
  18. package/dist/quikchat-md.cjs.min.js.map +1 -0
  19. package/dist/quikchat-md.esm.js +1914 -0
  20. package/dist/quikchat-md.esm.js.map +1 -0
  21. package/dist/quikchat-md.esm.min.js +8 -0
  22. package/dist/quikchat-md.esm.min.js.map +1 -0
  23. package/dist/quikchat-md.umd.js +1922 -0
  24. package/dist/quikchat-md.umd.js.map +1 -0
  25. package/dist/quikchat-md.umd.min.js +8 -0
  26. package/dist/quikchat-md.umd.min.js.map +1 -0
  27. package/dist/quikchat.cjs.js +454 -1729
  28. package/dist/quikchat.cjs.js.map +1 -1
  29. package/dist/quikchat.cjs.min.js +1 -1
  30. package/dist/quikchat.cjs.min.js.map +1 -1
  31. package/dist/quikchat.css +1008 -250
  32. package/dist/quikchat.esm.js +454 -1729
  33. package/dist/quikchat.esm.js.map +1 -1
  34. package/dist/quikchat.esm.min.js +1 -1
  35. package/dist/quikchat.esm.min.js.map +1 -1
  36. package/dist/quikchat.min.css +1 -1
  37. package/dist/quikchat.react.js +63 -0
  38. package/dist/quikchat.umd.js +454 -1729
  39. package/dist/quikchat.umd.js.map +1 -1
  40. package/dist/quikchat.umd.min.js +1 -1
  41. package/dist/quikchat.umd.min.js.map +1 -1
  42. package/package.json +60 -39
  43. package/dist/quikchat.d.ts +0 -194
package/dist/quikchat.css CHANGED
@@ -1,98 +1,227 @@
1
- /*
1
+ /*
2
2
  quikchat.css see www.github.com/deftio/quikchat for more info
3
-
4
- Base Styles - Affect behavior so change with care
5
- For Themes scroll past this section
3
+ see docs/css-architecture.md for design rationale
4
+
5
+ Base Styles structural layout, do not vary between themes
6
+ Theme Styles — appearance only (colors, borders, border-radius, shadows)
6
7
  */
7
8
 
9
+ /* ================================== */
10
+ /* Base — scoped reset */
11
+ /* ================================== */
12
+
13
+ .quikchat-base,
14
+ .quikchat-base *,
15
+ .quikchat-base *::before,
16
+ .quikchat-base *::after {
17
+ box-sizing: border-box;
18
+ }
19
+
20
+ /* ================================== */
21
+ /* Base — layout and sizing */
22
+ /* ================================== */
23
+
8
24
  .quikchat-base {
9
25
  display: flex;
10
26
  flex-direction: column;
11
27
  height: 100%;
12
28
  width: 100%;
13
- min-width: 200px;
14
- min-height: 200px;
15
- box-sizing: border-box !important;
29
+ min-width: min(200px, 100%);
30
+ min-height: min(200px, 100%);
31
+ overflow: hidden;
32
+ font-size: 14px;
33
+ line-height: 1.4;
16
34
  }
17
35
 
18
36
  .quikchat-title-area {
37
+ flex-shrink: 0;
38
+ padding: 8px;
19
39
  margin-left: 8px;
20
40
  margin-right: 8px;
21
- padding-left : 2px;
22
- padding-right : 2px;
23
- padding: 8px;
24
41
  font-weight: 600;
25
42
  font-size: 1.3em;
26
- box-sizing: border-box;
27
43
  }
28
44
 
29
45
  .quikchat-messages-area {
30
- flex-grow: 1;
46
+ flex: 1;
47
+ min-height: 0;
31
48
  padding: 8px;
32
49
  overflow-y: auto;
33
- width: 100%;
34
- box-sizing: border-box;
50
+ position: relative;
35
51
  }
36
52
 
37
53
  .quikchat-message {
38
54
  padding: 4px;
39
55
  white-space: pre-wrap;
40
56
  word-wrap: break-word;
41
- box-sizing: border-box;
42
- }
43
- /* Core Right-Side Message Alignment */
44
- .quikchat-message.right {
45
- display: inline-block;
46
- max-width: 60%;
47
- padding: 8px 12px;
48
- text-align: right; /* Default for short messages */
49
57
  }
50
58
 
51
- /* Right-aligned short messages */
52
- .quikchat-message.right .quikchat-right-singleline {
53
- text-align: right;
54
- }
55
-
56
- /* Right-aligned long/multi-line messages */
57
- .quikchat-message.right .quikchat-right-multiline {
58
- text-align: left;
59
- word-wrap: break-word;
59
+ .quikchat-user-label {
60
+ font-weight: 700;
61
+ font-size: 1em;
60
62
  }
61
63
 
62
-
63
64
  .quikchat-input-area {
65
+ flex-shrink: 0;
64
66
  display: flex;
65
- align-items: center;
67
+ align-items: flex-end;
66
68
  padding: 8px;
67
- min-height: 56px;
68
- height: 4em;
69
- width: 100%;
70
- box-sizing: border-box;
69
+ min-height: 48px;
71
70
  }
72
-
71
+
73
72
  .quikchat-input-textbox {
74
73
  flex-grow: 1;
75
- min-height: 40px;
74
+ min-height: 36px;
75
+ min-width: 0;
76
76
  resize: none;
77
- padding: 4px;
78
- height: 100%;
79
- box-sizing: border-box;
77
+ padding: 6px 8px;
78
+ height: auto;
79
+ overflow-y: hidden;
80
+ font-family: inherit;
81
+ font-size: inherit;
80
82
  }
81
83
 
82
84
  .quikchat-input-send-btn {
83
85
  margin-left: 8px;
84
86
  padding: 8px;
85
- height: 100%;
87
+ min-height: 36px;
86
88
  min-width: 5rem;
87
89
  cursor: pointer;
88
90
  white-space: nowrap;
89
- box-sizing: border-box;
91
+ font-family: inherit;
92
+ font-size: inherit;
93
+ align-self: flex-end;
90
94
  }
91
-
92
- /* ***************************************** */
93
- /* quikchat theme debug
94
- This theme is for debugging purposes and has a very distinct look.
95
- */
95
+
96
+ /* ================================== */
97
+ /* Base — RTL support */
98
+ /* ================================== */
99
+
100
+ .quikchat-rtl .quikchat-input-area {
101
+ flex-direction: row-reverse;
102
+ }
103
+
104
+ .quikchat-rtl .quikchat-input-send-btn {
105
+ margin-left: 0;
106
+ margin-right: 8px;
107
+ }
108
+
109
+ /* ================================== */
110
+ /* Base — disabled state */
111
+ /* ================================== */
112
+
113
+ .quikchat-input-textbox:disabled,
114
+ .quikchat-input-send-btn:disabled {
115
+ opacity: 0.5;
116
+ cursor: not-allowed;
117
+ }
118
+
119
+ /* ================================== */
120
+ /* Base — typing indicator */
121
+ /* ================================== */
122
+
123
+ .quikchat-typing .quikchat-message-content {
124
+ min-height: 1.4em;
125
+ }
126
+
127
+ .quikchat-typing-dots span {
128
+ display: inline-block;
129
+ font-size: 1.4em;
130
+ line-height: 1;
131
+ animation: quikchat-dot-pulse 1.4s infinite;
132
+ }
133
+
134
+ .quikchat-typing-dots span:nth-child(2) {
135
+ animation-delay: 0.2s;
136
+ }
137
+
138
+ .quikchat-typing-dots span:nth-child(3) {
139
+ animation-delay: 0.4s;
140
+ }
141
+
142
+ @keyframes quikchat-dot-pulse {
143
+ 0%, 80%, 100% { opacity: 0.2; }
144
+ 40% { opacity: 1; }
145
+ }
146
+
147
+ /* ================================== */
148
+ /* Base — messages wrapper */
149
+ /* ================================== */
150
+
151
+ .quikchat-messages-wrapper {
152
+ flex: 1;
153
+ min-height: 0;
154
+ position: relative;
155
+ display: flex;
156
+ flex-direction: column;
157
+ }
158
+
159
+ /* ================================== */
160
+ /* Base — timestamps */
161
+ /* ================================== */
162
+
163
+ .quikchat-timestamp {
164
+ display: none;
165
+ font-size: 0.75em;
166
+ opacity: 0.6;
167
+ margin-top: 2px;
168
+ }
169
+
170
+ .quikchat-show-timestamps .quikchat-timestamp {
171
+ display: block;
172
+ }
173
+
174
+ /* ================================== */
175
+ /* Base — scroll-to-bottom button */
176
+ /* ================================== */
177
+
178
+ .quikchat-scroll-bottom {
179
+ display: none;
180
+ position: absolute;
181
+ bottom: 8px;
182
+ left: 50%;
183
+ transform: translateX(-50%);
184
+ width: 36px;
185
+ height: 36px;
186
+ border-radius: 50%;
187
+ border: 1px solid currentColor;
188
+ background: inherit;
189
+ color: inherit;
190
+ cursor: pointer;
191
+ opacity: 0.7;
192
+ z-index: 1;
193
+ font-size: 16px;
194
+ line-height: 1;
195
+ padding: 0;
196
+ }
197
+
198
+ .quikchat-scroll-bottom::after {
199
+ content: "\2193";
200
+ }
201
+
202
+ .quikchat-scroll-bottom:hover {
203
+ opacity: 1;
204
+ }
205
+
206
+ .quikchat-scroll-bottom-visible {
207
+ display: block;
208
+ }
209
+
210
+ /* ================================== */
211
+ /* Base — focus indicators */
212
+ /* ================================== */
213
+
214
+ .quikchat-input-textbox:focus,
215
+ .quikchat-input-send-btn:focus-visible {
216
+ outline: 2px solid currentColor;
217
+ outline-offset: -2px;
218
+ }
219
+
220
+ /* ================================== */
221
+ /* Theme: debug */
222
+ /* Vivid colors for visual debugging */
223
+ /* ================================== */
224
+
96
225
  .quikchat-theme-debug {
97
226
  border: 1px solid black;
98
227
  border-radius: 10px;
@@ -101,13 +230,9 @@
101
230
 
102
231
  .quikchat-theme-debug .quikchat-title-area {
103
232
  background-color: lightblue;
104
- color: #333;
105
- padding: 8px;
106
- font-weight: 600;
107
- margin-right: 10px;
233
+ color: #333;
108
234
  }
109
235
 
110
-
111
236
  .quikchat-theme-debug .quikchat-messages-area {
112
237
  border-radius: 1em;
113
238
  background-color: lightsalmon;
@@ -118,285 +243,918 @@
118
243
  color: #eee;
119
244
  border-radius: 4px;
120
245
  }
246
+
121
247
  .quikchat-theme-debug .quikchat-messages-area-alt .quikchat-message:nth-child(even) {
122
248
  background-color: lightpink;
123
249
  color: #444;
124
250
  border-radius: 4px;
125
251
  }
126
252
 
127
- /********** User Messages **********
128
- * Single / Multiline
129
- */
253
+ .quikchat-theme-debug .quikchat-input-area {
254
+ background-color: lightgreen;
255
+ border-bottom-left-radius: 10px;
256
+ border-bottom-right-radius: 10px;
257
+ }
130
258
 
131
- .quikchat-theme-debug .quikchat-messages-area .quikchat-message {
132
- padding-left : 8px;
133
- padding-right: 8px;
134
- border-radius: 0.5em;
135
- }
259
+ .quikchat-theme-debug .quikchat-input-textbox {
260
+ background-color: #eee;
261
+ color: #333;
262
+ border: 1px solid #ccc;
263
+ border-radius: 4px;
264
+ }
136
265
 
137
- /* Short (single) User Messages that are right sided */
138
- .quikchat-theme-debug .quikchat-messages-area .quikchat-message.right-singleline {
139
- text-align: right; /* Right-align text */
140
- margin-left: 5%; /* Increased left padding */
266
+ .quikchat-theme-debug .quikchat-input-send-btn {
267
+ background-color: #4caf50;
268
+ color: white;
269
+ border: none;
270
+ border-radius: 4px;
141
271
  }
142
272
 
143
- /* Multiline (long) User Messages */
144
- .quikchat-theme-debug .quikchat-messages-area .quikchat-message.right-multiline {
145
- text-align: left; /* Left-align text */
146
- margin-left: 5%; /* Standard left padding */
273
+ .quikchat-theme-debug .quikchat-input-send-btn:hover {
274
+ background-color: #43a047;
147
275
  }
148
276
 
149
- /* Short (single) User Messages that are right sided */
150
- .quikchat-theme-debug .quikchat-messages-area .quikchat-message.center-singleline {
151
- text-align: center; /* Right-align text */
152
- margin-left: 5%; /* Increased left margin */
153
- margin-right: 5%; /* Standard right margin */
277
+ /* ================================== */
278
+ /* Theme: dark */
279
+ /* ================================== */
280
+
281
+ .quikchat-theme-dark {
282
+ border: 1px solid #3a3a3a;
283
+ border-radius: 12px;
284
+ background-color: #1a1a1a;
285
+ box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
286
+ color: #e8e8e8;
154
287
  }
155
288
 
156
- /* Multiline (long) User Messages */
157
- .quikchat-theme-debug .quikchat-messages-area .quikchat-message.center-multiline {
158
- text-align: left; /* Left-align text */
159
- margin-left: 5%; /* Standard left padding */
160
- margin-right: 5%; /* Standard right padding */
289
+ .quikchat-theme-dark .quikchat-title-area {
290
+ background-color: #1a1a1a;
291
+ color: #f0f0f0;
292
+ border-bottom: 1px solid #2a2a2a;
161
293
  }
162
- /* Short (single) User Messages that are right sided */
163
- .quikchat-theme-debug .quikchat-messages-area .quikchat-message.left-singleline {
164
- text-align: left; /* Right-align text */
165
- margin-right: 5%;
294
+
295
+ .quikchat-theme-dark .quikchat-messages-area {
296
+ background-color: #1a1a1a;
297
+ color: #e8e8e8;
166
298
  }
167
299
 
168
- /* Multiline (long) User Messages */
169
- .quikchat-theme-debug .quikchat-messages-area-alt .quikchat-message.left-multiline {
170
- text-align: left; /* Left-align text */
171
- margin-right: 5%; /* Standard left padding */
300
+ .quikchat-theme-dark .quikchat-messages-area-alt .quikchat-message:nth-child(odd) {
301
+ background-color: #1e1e1e;
302
+ color: #e8e8e8;
303
+ border-radius: 6px;
172
304
  }
173
305
 
174
- .quikchat-theme-debug .quikchat-input-area {
175
- background-color: lightgreen;
176
- border-bottom-left-radius : 10px;
177
- border-bottom-right-radius : 10px;
306
+ .quikchat-theme-dark .quikchat-messages-area-alt .quikchat-message:nth-child(even) {
307
+ background-color: #262626;
308
+ color: #f0f0f0;
309
+ border-radius: 6px;
178
310
  }
179
311
 
180
- .quikchat-theme-debug .quikchat-input-textbox {
181
- background-color: #eee;
182
- border: 1px solid #ccc;
183
- border-radius: 4px;
184
- font-size: 14px;
312
+ .quikchat-theme-dark .quikchat-input-area {
313
+ background-color: #1e1e1e;
314
+ border-top: 1px solid #2a2a2a;
315
+ border-bottom-left-radius: 12px;
316
+ border-bottom-right-radius: 12px;
185
317
  }
186
318
 
187
- .quikchat-theme-debug .quikchat-input-send-btn {
188
- background-color: #4caf50;
319
+ .quikchat-theme-dark .quikchat-input-textbox {
320
+ background-color: #2a2a2a;
321
+ color: #e8e8e8;
322
+ border: 1px solid #3a3a3a;
323
+ border-radius: 8px;
324
+ }
325
+
326
+ .quikchat-theme-dark .quikchat-input-send-btn {
327
+ background-color: #22c55e;
328
+ color: #0a0a0a;
329
+ border: none;
330
+ border-radius: 8px;
331
+ font-weight: 600;
332
+ }
333
+
334
+ .quikchat-theme-dark .quikchat-input-send-btn:hover {
335
+ background-color: #16a34a;
336
+ }
337
+
338
+ /* ================================== */
339
+ /* Theme: light */
340
+ /* Clean white with subtle warmth */
341
+ /* ================================== */
342
+
343
+ .quikchat-theme-light {
344
+ border: 1px solid #e0e0e0;
345
+ border-radius: 12px;
346
+ background-color: #ffffff;
347
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
348
+ }
349
+
350
+ .quikchat-theme-light .quikchat-title-area {
351
+ color: #1a1a1a;
352
+ border-bottom: 1px solid #f0f0f0;
353
+ }
354
+
355
+ .quikchat-theme-light .quikchat-messages-area {
356
+ background-color: #ffffff;
357
+ color: #2d2d2d;
358
+ }
359
+
360
+ .quikchat-theme-light .quikchat-messages-area-alt .quikchat-message:nth-child(odd) {
361
+ background-color: #ffffff;
362
+ color: #2d2d2d;
363
+ border-radius: 6px;
364
+ }
365
+
366
+ .quikchat-theme-light .quikchat-messages-area-alt .quikchat-message:nth-child(even) {
367
+ background-color: #f7f7f8;
368
+ color: #2d2d2d;
369
+ border-radius: 6px;
370
+ }
371
+
372
+ .quikchat-theme-light .quikchat-input-area {
373
+ background-color: #fafafa;
374
+ border-top: 1px solid #f0f0f0;
375
+ border-bottom-left-radius: 12px;
376
+ border-bottom-right-radius: 12px;
377
+ }
378
+
379
+ .quikchat-theme-light .quikchat-input-textbox {
380
+ background-color: #ffffff;
381
+ color: #2d2d2d;
382
+ border: 1px solid #d8d8d8;
383
+ border-radius: 8px;
384
+ }
385
+
386
+ .quikchat-theme-light .quikchat-input-send-btn {
387
+ background-color: #2563eb;
189
388
  color: white;
190
389
  border: none;
191
- border-radius: 4px;
390
+ border-radius: 8px;
192
391
  }
193
392
 
194
- /* ********************************** */
195
- /* quikchat theme dark */
196
- .quikchat-theme-dark {
197
- border: 1px solid #555555;
198
- border-radius: 10px;
199
- background-color: #212121;
200
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
201
- color: #eceff1;
393
+ .quikchat-theme-light .quikchat-input-send-btn:hover {
394
+ background-color: #1d4ed8;
202
395
  }
203
396
 
204
- .quikchat-theme-dark .quikchat-title-area {
205
- background-color: #212121;
206
- color: #eceff1;
207
- padding: 8px;
397
+ /* ================================== */
398
+ /* Theme: blue */
399
+ /* Professional steel-blue accents */
400
+ /* ================================== */
401
+
402
+ .quikchat-theme-blue {
403
+ border: 1px solid #c0d4e8;
404
+ border-radius: 12px;
405
+ background-color: #f0f5fa;
406
+ box-shadow: 0 2px 8px rgba(58, 110, 165, 0.08);
407
+ }
408
+
409
+ .quikchat-theme-blue .quikchat-title-area {
410
+ background: linear-gradient(135deg, #3a6ea5, #2d5a8a);
411
+ color: #fff;
412
+ border-radius: 11px 11px 0 0;
413
+ }
414
+
415
+ .quikchat-theme-blue .quikchat-messages-area {
416
+ background-color: #f8fafc;
417
+ color: #1a2a3a;
418
+ }
419
+
420
+ .quikchat-theme-blue .quikchat-messages-area-alt .quikchat-message:nth-child(odd) {
421
+ background-color: #f8fafc;
422
+ color: #1a2a3a;
423
+ border-radius: 6px;
424
+ }
425
+
426
+ .quikchat-theme-blue .quikchat-messages-area-alt .quikchat-message:nth-child(even) {
427
+ background-color: #e8f0f8;
428
+ color: #1a2a3a;
429
+ border-radius: 6px;
430
+ }
431
+
432
+ .quikchat-theme-blue .quikchat-input-area {
433
+ background-color: #eef3f8;
434
+ border-bottom-left-radius: 12px;
435
+ border-bottom-right-radius: 12px;
436
+ }
437
+
438
+ .quikchat-theme-blue .quikchat-input-textbox {
439
+ background-color: #fff;
440
+ color: #1a2a3a;
441
+ border: 1px solid #b8ccdf;
442
+ border-radius: 8px;
443
+ }
444
+
445
+ .quikchat-theme-blue .quikchat-input-send-btn {
446
+ background: linear-gradient(135deg, #3a6ea5, #2d5a8a);
447
+ color: white;
448
+ border: none;
449
+ border-radius: 8px;
450
+ }
451
+
452
+ .quikchat-theme-blue .quikchat-input-send-btn:hover {
453
+ background: linear-gradient(135deg, #2d5a8a, #1e4a75);
454
+ }
455
+
456
+ /* ================================== */
457
+ /* Theme: warm */
458
+ /* Soft cream with muted earth tones */
459
+ /* ================================== */
460
+
461
+ .quikchat-theme-warm {
462
+ border: 1px solid #dcc8aa;
463
+ border-radius: 12px;
464
+ background-color: #fdf8f2;
465
+ box-shadow: 0 1px 6px rgba(180, 140, 80, 0.08);
466
+ }
467
+
468
+ .quikchat-theme-warm .quikchat-title-area {
469
+ background-color: #fdf8f2;
470
+ color: #5a3e28;
471
+ border-bottom: 1px solid #eedcc8;
472
+ }
473
+
474
+ .quikchat-theme-warm .quikchat-messages-area {
475
+ background-color: #fefbf6;
476
+ color: #3a2a1a;
477
+ }
478
+
479
+ .quikchat-theme-warm .quikchat-messages-area-alt .quikchat-message:nth-child(odd) {
480
+ background-color: #fefbf6;
481
+ color: #3a2a1a;
482
+ border-radius: 6px;
483
+ }
484
+
485
+ .quikchat-theme-warm .quikchat-messages-area-alt .quikchat-message:nth-child(even) {
486
+ background-color: #f5ebe0;
487
+ color: #3a2a1a;
488
+ border-radius: 6px;
489
+ }
490
+
491
+ .quikchat-theme-warm .quikchat-input-area {
492
+ background-color: #faf5ee;
493
+ border-top: 1px solid #eedcc8;
494
+ border-bottom-left-radius: 12px;
495
+ border-bottom-right-radius: 12px;
496
+ }
497
+
498
+ .quikchat-theme-warm .quikchat-input-textbox {
499
+ background-color: #fff;
500
+ color: #3a2a1a;
501
+ border: 1px solid #dcc8aa;
502
+ border-radius: 8px;
503
+ }
504
+
505
+ .quikchat-theme-warm .quikchat-input-send-btn {
506
+ background: linear-gradient(135deg, #c17f4a, #a5683a);
507
+ color: white;
508
+ border: none;
509
+ border-radius: 8px;
510
+ }
511
+
512
+ .quikchat-theme-warm .quikchat-input-send-btn:hover {
513
+ background: linear-gradient(135deg, #a5683a, #8a5530);
514
+ }
515
+
516
+ /* ================================== */
517
+ /* Theme: midnight */
518
+ /* Deep navy with starlight accents */
519
+ /* ================================== */
520
+
521
+ .quikchat-theme-midnight {
522
+ border: 1px solid #2a3a5c;
523
+ border-radius: 12px;
524
+ background-color: #0f1626;
525
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
526
+ color: #c8d0e0;
527
+ }
528
+
529
+ .quikchat-theme-midnight .quikchat-title-area {
530
+ background: linear-gradient(135deg, #1a2744, #0f1626);
531
+ color: #8eaadc;
532
+ border-bottom: 1px solid #1e2d4a;
533
+ border-radius: 11px 11px 0 0;
534
+ }
535
+
536
+ .quikchat-theme-midnight .quikchat-messages-area {
537
+ background-color: #0a1020;
538
+ color: #c8d0e0;
539
+ }
540
+
541
+ .quikchat-theme-midnight .quikchat-messages-area-alt .quikchat-message:nth-child(odd) {
542
+ background-color: #0f1830;
543
+ color: #c8d0e0;
544
+ border-radius: 6px;
545
+ }
546
+
547
+ .quikchat-theme-midnight .quikchat-messages-area-alt .quikchat-message:nth-child(even) {
548
+ background-color: #162040;
549
+ color: #d0d8e8;
550
+ border-radius: 6px;
551
+ }
552
+
553
+ .quikchat-theme-midnight .quikchat-input-area {
554
+ background-color: #0f1626;
555
+ border-top: 1px solid #1e2d4a;
556
+ border-bottom-left-radius: 12px;
557
+ border-bottom-right-radius: 12px;
558
+ }
559
+
560
+ .quikchat-theme-midnight .quikchat-input-textbox {
561
+ background-color: #1a2540;
562
+ color: #c8d0e0;
563
+ border: 1px solid #2a3a5c;
564
+ border-radius: 8px;
565
+ }
566
+
567
+ .quikchat-theme-midnight .quikchat-input-send-btn {
568
+ background: linear-gradient(135deg, #4a6fa5, #3a5a8a);
569
+ color: white;
570
+ border: none;
571
+ border-radius: 8px;
208
572
  font-weight: 600;
209
- border-bottom: 1px solid #37474f;
210
573
  }
211
574
 
212
- .quikchat-theme-dark .quikchat-messages-area {
213
- background-color: #212121;
214
- color: #eceff1;
215
- border-radius: 1em;
575
+ .quikchat-theme-midnight .quikchat-input-send-btn:hover {
576
+ background: linear-gradient(135deg, #5a80b8, #4a6fa5);
216
577
  }
217
578
 
218
- .quikchat-theme-dark .quikchat-messages-area-alt .quikchat-message:nth-child(odd) {
219
- background-color: #404040e5;
220
- color: #eceff1;
221
- border-radius: 4px;
579
+ /* ================================== */
580
+ /* Theme: ocean */
581
+ /* Teal/cyan on deep blue */
582
+ /* ================================== */
583
+
584
+ .quikchat-theme-ocean {
585
+ border: 1px solid #1a6b7a;
586
+ border-radius: 12px;
587
+ background-color: #0d2b36;
588
+ box-shadow: 0 4px 20px rgba(0, 40, 60, 0.4);
589
+ color: #d4edee;
222
590
  }
223
- .quikchat-theme-darl .quikchat-messages-area-alt .quikchat-message:nth-child(even) {
224
- background-color: #5a5a5a;
225
- color: #fbfbfb;
226
- border-radius: 4px;
591
+
592
+ .quikchat-theme-ocean .quikchat-title-area {
593
+ background: linear-gradient(135deg, #0d3a4a, #0d2b36);
594
+ color: #5ec4d4;
595
+ border-bottom: 1px solid #1a4a5a;
596
+ border-radius: 11px 11px 0 0;
227
597
  }
228
598
 
229
- /********** User Messages **********
230
- * Single / Multiline
231
- */
599
+ .quikchat-theme-ocean .quikchat-messages-area {
600
+ background-color: #0a2530;
601
+ color: #d4edee;
602
+ }
603
+
604
+ .quikchat-theme-ocean .quikchat-messages-area-alt .quikchat-message:nth-child(odd) {
605
+ background-color: #0d3040;
606
+ color: #d4edee;
607
+ border-radius: 6px;
608
+ }
609
+
610
+ .quikchat-theme-ocean .quikchat-messages-area-alt .quikchat-message:nth-child(even) {
611
+ background-color: #11384a;
612
+ color: #d4edee;
613
+ border-radius: 6px;
614
+ }
232
615
 
233
- .quikchat-theme-dark .quikchat-messages-area .quikchat-message {
234
- padding-left : 8px;
235
- padding-right: 8px;
236
- border-radius: 0.5em;
237
- }
616
+ .quikchat-theme-ocean .quikchat-input-area {
617
+ background-color: #0d2b36;
618
+ border-top: 1px solid #1a4a5a;
619
+ border-bottom-left-radius: 12px;
620
+ border-bottom-right-radius: 12px;
621
+ }
238
622
 
239
- /* Short (single) User Messages that are right sided */
240
- .quikchat-theme-dark .quikchat-messages-area .quikchat-message.right-singleline {
241
- text-align: right; /* Right-align text */
242
- margin-left: 5%; /* Increased left padding */
623
+ .quikchat-theme-ocean .quikchat-input-textbox {
624
+ background-color: #163a48;
625
+ color: #d4edee;
626
+ border: 1px solid #1a5a6a;
627
+ border-radius: 8px;
243
628
  }
244
629
 
245
- /* Multiline (long) User Messages */
246
- .quikchat-theme-dark .quikchat-messages-area .quikchat-message.right-multiline {
247
- text-align: left; /* Left-align text */
248
- margin-left: 5%; /* Standard left padding */
630
+ .quikchat-theme-ocean .quikchat-input-send-btn {
631
+ background: linear-gradient(135deg, #1a8a6a, #15705a);
632
+ color: white;
633
+ border: none;
634
+ border-radius: 8px;
635
+ font-weight: 600;
249
636
  }
250
637
 
251
- /* Short (single) User Messages that are right sided */
252
- .quikchat-theme-dark .quikchat-messages-area .quikchat-message.center-singleline {
253
- text-align: center; /* Right-align text */
254
- margin-left: 5%; /* Increased left margin */
255
- margin-right: 5%; /* Standard right margin */
638
+ .quikchat-theme-ocean .quikchat-input-send-btn:hover {
639
+ background: linear-gradient(135deg, #1fa07a, #1a8a6a);
256
640
  }
257
641
 
258
- /* Multiline (long) User Messages */
259
- .quikchat-theme-dark .quikchat-messages-area .quikchat-message.center-multiline {
260
- text-align: left; /* Left-align text */
261
- margin-left: 5%; /* Standard left padding */
262
- margin-right: 5%; /* Standard right padding */
642
+ /* ================================== */
643
+ /* Theme: modern */
644
+ /* Message bubbles, iMessage-style */
645
+ /* ================================== */
646
+
647
+ .quikchat-theme-modern {
648
+ border: 1px solid #e5e5e5;
649
+ border-radius: 12px;
650
+ background-color: #ffffff;
651
+ box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
263
652
  }
264
- /* Short (single) User Messages that are right sided */
265
- .quikchat-theme-dark .quikchat-messages-area .quikchat-message.left-singleline {
266
- text-align: left; /* Right-align text */
267
- margin-right: 5%;
653
+
654
+ .quikchat-theme-modern .quikchat-title-area {
655
+ background-color: #fafafa;
656
+ color: #1a1a1a;
657
+ border-bottom: 1px solid #f0f0f0;
658
+ border-radius: 11px 11px 0 0;
268
659
  }
269
660
 
270
- /* Multiline (long) User Messages */
271
- .quikchat-theme-dark .quikchat-messages-area-alt .quikchat-message.left-multiline {
272
- text-align: left; /* Left-align text */
273
- margin-right: 5%; /* Standard left padding */
661
+ .quikchat-theme-modern .quikchat-messages-area {
662
+ background-color: #ffffff;
663
+ color: #1a1a1a;
274
664
  }
275
665
 
276
- .quikchat-theme-dark .quikchat-input-area {
277
- padding: 8px;
278
- background-color: #263238;
666
+ .quikchat-theme-modern .quikchat-message {
667
+ display: flex;
668
+ flex-direction: column;
669
+ }
279
670
 
280
- border-bottom-left-radius : 10px;
281
- border-bottom-right-radius : 10px;
671
+ .quikchat-theme-modern .quikchat-align-right {
672
+ align-items: flex-end;
282
673
  }
283
674
 
284
- .quikchat-theme-dark .quikchat-input-textbox {
285
- width: 75%;
286
- padding: 8px;
287
- background-color: #424242;
288
- border: 1px solid #555;
289
- border-radius: 4px;
290
- font-size: 14px;
291
- color: #eceff1;
675
+ .quikchat-theme-modern .quikchat-align-left {
676
+ align-items: flex-start;
292
677
  }
293
678
 
294
- .quikchat-theme-dark .quikchat-input-send-btn {
295
- background-color: #1b5e20;
679
+ .quikchat-theme-modern .quikchat-align-center {
680
+ align-items: center;
681
+ }
682
+
683
+ .quikchat-theme-modern .quikchat-message-content {
684
+ max-width: 80%;
685
+ border-radius: 18px;
686
+ padding: 2px 4px;
687
+ }
688
+
689
+ .quikchat-theme-modern .quikchat-align-right .quikchat-message-content {
690
+ background: linear-gradient(135deg, #0b93f6, #0078d4);
691
+ color: #ffffff;
692
+ border-bottom-right-radius: 4px;
693
+ }
694
+
695
+ .quikchat-theme-modern .quikchat-align-left .quikchat-message-content {
696
+ background-color: #f0f0f0;
697
+ color: #1a1a1a;
698
+ border-bottom-left-radius: 4px;
699
+ }
700
+
701
+ .quikchat-theme-modern .quikchat-align-center .quikchat-message-content {
702
+ background-color: transparent;
703
+ color: #888;
704
+ }
705
+
706
+ .quikchat-theme-modern .quikchat-user-label {
707
+ color: #888;
708
+ font-size: 0.85em;
709
+ }
710
+
711
+ .quikchat-theme-modern .quikchat-input-area {
712
+ background-color: #fafafa;
713
+ border-top: 1px solid #f0f0f0;
714
+ border-bottom-left-radius: 12px;
715
+ border-bottom-right-radius: 12px;
716
+ }
717
+
718
+ .quikchat-theme-modern .quikchat-input-textbox {
719
+ background-color: #f5f5f5;
720
+ color: #1a1a1a;
721
+ border: 1px solid #e0e0e0;
722
+ border-radius: 20px;
723
+ }
724
+
725
+ .quikchat-theme-modern .quikchat-input-send-btn {
726
+ background: linear-gradient(135deg, #0b93f6, #0078d4);
296
727
  color: white;
297
728
  border: none;
298
- border-radius: 4px;
299
- padding: 8px 16px;
300
- margin-left: 10px;
301
- cursor: pointer;
729
+ border-radius: 20px;
730
+ font-weight: 600;
302
731
  }
303
732
 
304
- /* ********************************** */
305
- /* quikchat theme light */
733
+ .quikchat-theme-modern .quikchat-input-send-btn:hover {
734
+ background: linear-gradient(135deg, #0a84de, #006abc);
735
+ }
306
736
 
307
- .quikchat-theme-light {
308
- border: 1px solid #cccccc;
309
- border-radius: 10px;
310
- background-color: #f9f9f9;
737
+ /* ================================== */
738
+ /* Theme: glass */
739
+ /* Glassmorphism: frosted translucent */
740
+ /* ================================== */
741
+
742
+ .quikchat-theme-glass {
743
+ border: 1px solid rgba(255, 255, 255, 0.3);
744
+ border-radius: 16px;
745
+ background: rgba(255, 255, 255, 0.15);
746
+ backdrop-filter: blur(16px);
747
+ -webkit-backdrop-filter: blur(16px);
748
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
749
+ color: #1a1a2e;
311
750
  }
312
-
313
- .quikchat-theme-light .quikchat-title-area {
314
- padding: 8px;
315
- color: #333;
751
+
752
+ .quikchat-theme-glass .quikchat-title-area {
753
+ background: rgba(255, 255, 255, 0.2);
754
+ color: #1a1a2e;
755
+ border-bottom: 1px solid rgba(255, 255, 255, 0.2);
756
+ border-radius: 15px 15px 0 0;
316
757
  }
317
-
318
- .quikchat-theme-light .quikchat-messages-area {
319
- background-color: #ffffffe2;
320
- color: #333;
321
- border-radius: 1em;
758
+
759
+ .quikchat-theme-glass .quikchat-messages-area {
760
+ background: rgba(255, 255, 255, 0.08);
761
+ color: #1a1a2e;
322
762
  }
323
-
324
- .quikchat-theme-light .quikchat-messages-area-alt .quikchat-message:nth-child(odd) {
325
- background-color: #fffffff0;
326
- color: #005662;
763
+
764
+ .quikchat-theme-glass .quikchat-messages-area-alt .quikchat-message:nth-child(odd) {
765
+ background: rgba(255, 255, 255, 0.12);
766
+ border-radius: 8px;
327
767
  }
328
- .quikchat-theme-light .quikchat-messages-area-alt .quikchat-message:nth-child(even) {
329
- background-color: #eeeeeee9;
330
- color: #353535;
768
+
769
+ .quikchat-theme-glass .quikchat-messages-area-alt .quikchat-message:nth-child(even) {
770
+ background: rgba(255, 255, 255, 0.22);
771
+ border-radius: 8px;
331
772
  }
332
773
 
333
- /********** User Messages **********
334
- * Single / Multiline
335
- */
774
+ .quikchat-theme-glass .quikchat-input-area {
775
+ background: rgba(255, 255, 255, 0.15);
776
+ border-top: 1px solid rgba(255, 255, 255, 0.15);
777
+ border-bottom-left-radius: 16px;
778
+ border-bottom-right-radius: 16px;
779
+ }
336
780
 
337
- .quikchat-theme-light .quikchat-messages-area .quikchat-message {
338
- padding-left : 8px;
339
- padding-right: 8px;
340
- border-radius: 0.5em;
341
- }
781
+ .quikchat-theme-glass .quikchat-input-textbox {
782
+ background: rgba(255, 255, 255, 0.3);
783
+ color: #1a1a2e;
784
+ border: 1px solid rgba(255, 255, 255, 0.3);
785
+ border-radius: 8px;
786
+ }
342
787
 
343
- /* Short (single) User Messages that are right sided */
344
- .quikchat-theme-light .quikchat-messages-area .quikchat-message.right-singleline {
345
- text-align: right; /* Right-align text */
346
- margin-left: 5%; /* Increased left padding */
788
+ .quikchat-theme-glass .quikchat-input-textbox::placeholder {
789
+ color: rgba(26, 26, 46, 0.5);
347
790
  }
348
791
 
349
- /* Multiline (long) User Messages */
350
- .quikchat-theme-light .quikchat-messages-area .quikchat-message.right-multiline {
351
- text-align: left; /* Left-align text */
352
- margin-left: 5%; /* Standard left padding */
792
+ .quikchat-theme-glass .quikchat-input-send-btn {
793
+ background: linear-gradient(135deg, #667eea, #764ba2);
794
+ color: white;
795
+ border: none;
796
+ border-radius: 8px;
797
+ font-weight: 600;
798
+ box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
353
799
  }
354
800
 
355
- /* Short (single) User Messages that are right sided */
356
- .quikchat-theme-light .quikchat-messages-area .quikchat-message.center-singleline {
357
- text-align: center; /* Right-align text */
358
- margin-left: 5%; /* Increased left margin */
359
- margin-right: 5%; /* Standard right margin */
801
+ .quikchat-theme-glass .quikchat-input-send-btn:hover {
802
+ background: linear-gradient(135deg, #5a6fd6, #6a4196);
360
803
  }
361
804
 
362
- /* Multiline (long) User Messages */
363
- .quikchat-theme-light .quikchat-messages-area .quikchat-message.center-multiline {
364
- text-align: left; /* Left-align text */
365
- margin-left: 5%; /* Standard left padding */
366
- margin-right: 5%; /* Standard right padding */
805
+ /* ================================== */
806
+ /* Theme: gradient */
807
+ /* Purple-indigo gradient accents */
808
+ /* ================================== */
809
+
810
+ .quikchat-theme-gradient {
811
+ border: 1px solid #e0d4f5;
812
+ border-radius: 12px;
813
+ background-color: #ffffff;
814
+ box-shadow: 0 4px 20px rgba(100, 60, 180, 0.12);
367
815
  }
368
- /* Short (single) User Messages that are right sided */
369
- .quikchat-theme-light .quikchat-messages-area .quikchat-message.left-singleline {
370
- text-align: left; /* Right-align text */
371
- margin-right: 5%;
816
+
817
+ .quikchat-theme-gradient .quikchat-title-area {
818
+ background: linear-gradient(135deg, #667eea, #764ba2);
819
+ color: #ffffff;
820
+ border-radius: 11px 11px 0 0;
372
821
  }
373
822
 
374
- /* Multiline (long) User Messages */
375
- .quikchat-theme-light .quikchat-messages-area-alt .quikchat-message.left-multiline {
376
- text-align: left; /* Left-align text */
377
- margin-right: 5%; /* Standard left padding */
823
+ .quikchat-theme-gradient .quikchat-messages-area {
824
+ background-color: #ffffff;
825
+ color: #2d2d3a;
378
826
  }
379
- /*****
380
- * Input Area
381
- */
382
- .quikchat-theme-light .quikchat-input-area {
383
- background-color: #f9f9f9;
384
- border-bottom-left-radius : 10px;
385
- border-bottom-right-radius : 10px;
827
+
828
+ .quikchat-theme-gradient .quikchat-messages-area-alt .quikchat-message:nth-child(odd) {
829
+ background-color: #ffffff;
830
+ color: #2d2d3a;
831
+ border-radius: 6px;
386
832
  }
387
-
388
- .quikchat-theme-light .quikchat-input-textbox {
833
+
834
+ .quikchat-theme-gradient .quikchat-messages-area-alt .quikchat-message:nth-child(even) {
835
+ background-color: #f3effc;
836
+ color: #2d2d3a;
837
+ border-radius: 6px;
838
+ }
839
+
840
+ .quikchat-theme-gradient .quikchat-input-area {
841
+ background-color: #faf8ff;
842
+ border-top: 1px solid #ece4f8;
843
+ border-bottom-left-radius: 12px;
844
+ border-bottom-right-radius: 12px;
845
+ }
846
+
847
+ .quikchat-theme-gradient .quikchat-input-textbox {
389
848
  background-color: #ffffff;
390
- border: 1px solid #ccc;
849
+ color: #2d2d3a;
850
+ border: 1px solid #d4c4ea;
851
+ border-radius: 8px;
852
+ }
853
+
854
+ .quikchat-theme-gradient .quikchat-input-send-btn {
855
+ background: linear-gradient(135deg, #667eea, #764ba2);
856
+ color: white;
857
+ border: none;
858
+ border-radius: 8px;
859
+ font-weight: 600;
860
+ box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
861
+ }
862
+
863
+ .quikchat-theme-gradient .quikchat-input-send-btn:hover {
864
+ background: linear-gradient(135deg, #5a6fd6, #6a4196);
865
+ }
866
+
867
+ /* ================================== */
868
+ /* Theme: minimal */
869
+ /* Ultra-clean, typography-focused */
870
+ /* ================================== */
871
+
872
+ .quikchat-theme-minimal {
873
+ border: 1px solid #e0e0e0;
874
+ border-radius: 8px;
875
+ background-color: #ffffff;
876
+ }
877
+
878
+ .quikchat-theme-minimal .quikchat-title-area {
879
+ background-color: #ffffff;
880
+ color: #111111;
881
+ border-bottom: 1px solid #e8e8e8;
882
+ font-weight: 700;
883
+ }
884
+
885
+ .quikchat-theme-minimal .quikchat-messages-area {
886
+ background-color: #ffffff;
887
+ color: #222222;
888
+ }
889
+
890
+ .quikchat-theme-minimal .quikchat-messages-area-alt .quikchat-message:nth-child(odd) {
891
+ background-color: #ffffff;
892
+ color: #222222;
391
893
  border-radius: 4px;
392
- font-size: 14px;
393
- color: #333;
394
894
  }
395
-
396
- .quikchat-theme-light .quikchat-input-send-btn {
397
- background-color: #4caf50;
895
+
896
+ .quikchat-theme-minimal .quikchat-messages-area-alt .quikchat-message:nth-child(even) {
897
+ background-color: #f8f8f8;
898
+ color: #222222;
899
+ border-radius: 4px;
900
+ }
901
+
902
+ .quikchat-theme-minimal .quikchat-input-area {
903
+ background-color: #ffffff;
904
+ border-top: 1px solid #e8e8e8;
905
+ border-bottom-left-radius: 8px;
906
+ border-bottom-right-radius: 8px;
907
+ }
908
+
909
+ .quikchat-theme-minimal .quikchat-input-textbox {
910
+ background-color: #ffffff;
911
+ color: #222222;
912
+ border: 1px solid #d0d0d0;
913
+ border-radius: 6px;
914
+ }
915
+
916
+ .quikchat-theme-minimal .quikchat-input-send-btn {
917
+ background-color: #111111;
398
918
  color: white;
399
919
  border: none;
920
+ border-radius: 6px;
921
+ font-weight: 600;
922
+ }
923
+
924
+ .quikchat-theme-minimal .quikchat-input-send-btn:hover {
925
+ background-color: #333333;
926
+ }
927
+
928
+ /* ================================== */
929
+ /* QuikDown markdown styles */
930
+ /* Scoped per quikchat theme */
931
+ /* ================================== */
932
+
933
+ /* --- Light themes (light, blue, warm) --- */
934
+
935
+ .quikchat-theme-light .quikdown-pre,
936
+ .quikchat-theme-blue .quikdown-pre,
937
+ .quikchat-theme-warm .quikdown-pre,
938
+ .quikchat-theme-glass .quikdown-pre,
939
+ .quikchat-theme-gradient .quikdown-pre,
940
+ .quikchat-theme-minimal .quikdown-pre {
941
+ background: #f4f4f4;
942
+ padding: 10px;
943
+ border-radius: 4px;
944
+ overflow-x: auto;
945
+ margin: 0.5em 0;
946
+ }
947
+
948
+ .quikchat-theme-light .quikdown-code,
949
+ .quikchat-theme-blue .quikdown-code,
950
+ .quikchat-theme-warm .quikdown-code,
951
+ .quikchat-theme-glass .quikdown-code,
952
+ .quikchat-theme-gradient .quikdown-code,
953
+ .quikchat-theme-minimal .quikdown-code {
954
+ background: #f0f0f0;
955
+ padding: 2px 4px;
956
+ border-radius: 3px;
957
+ font-family: monospace;
958
+ font-size: 0.9em;
959
+ }
960
+
961
+ .quikchat-theme-light .quikdown-blockquote,
962
+ .quikchat-theme-blue .quikdown-blockquote,
963
+ .quikchat-theme-warm .quikdown-blockquote,
964
+ .quikchat-theme-glass .quikdown-blockquote,
965
+ .quikchat-theme-gradient .quikdown-blockquote,
966
+ .quikchat-theme-minimal .quikdown-blockquote {
967
+ border-left: 4px solid #ddd;
968
+ margin-left: 0;
969
+ padding-left: 1em;
970
+ color: #555;
971
+ }
972
+
973
+ .quikchat-theme-light .quikdown-a,
974
+ .quikchat-theme-blue .quikdown-a,
975
+ .quikchat-theme-warm .quikdown-a,
976
+ .quikchat-theme-glass .quikdown-a,
977
+ .quikchat-theme-gradient .quikdown-a,
978
+ .quikchat-theme-minimal .quikdown-a {
979
+ color: #06c;
980
+ }
981
+
982
+ .quikchat-theme-light .quikdown-th,
983
+ .quikchat-theme-blue .quikdown-th,
984
+ .quikchat-theme-warm .quikdown-th,
985
+ .quikchat-theme-glass .quikdown-th,
986
+ .quikchat-theme-gradient .quikdown-th,
987
+ .quikchat-theme-minimal .quikdown-th {
988
+ border: 1px solid #ddd;
989
+ padding: 6px 8px;
990
+ background-color: #f2f2f2;
991
+ font-weight: bold;
992
+ text-align: left;
993
+ }
994
+
995
+ .quikchat-theme-light .quikdown-td,
996
+ .quikchat-theme-blue .quikdown-td,
997
+ .quikchat-theme-warm .quikdown-td,
998
+ .quikchat-theme-glass .quikdown-td,
999
+ .quikchat-theme-gradient .quikdown-td,
1000
+ .quikchat-theme-minimal .quikdown-td {
1001
+ border: 1px solid #ddd;
1002
+ padding: 6px 8px;
1003
+ text-align: left;
1004
+ }
1005
+
1006
+ .quikchat-theme-light .quikdown-hr,
1007
+ .quikchat-theme-blue .quikdown-hr,
1008
+ .quikchat-theme-warm .quikdown-hr,
1009
+ .quikchat-theme-glass .quikdown-hr,
1010
+ .quikchat-theme-gradient .quikdown-hr,
1011
+ .quikchat-theme-minimal .quikdown-hr {
1012
+ border: none;
1013
+ border-top: 1px solid #ddd;
1014
+ margin: 0.5em 0;
1015
+ }
1016
+
1017
+ /* --- Dark themes (dark, midnight, ocean) --- */
1018
+
1019
+ .quikchat-theme-dark .quikdown-pre,
1020
+ .quikchat-theme-midnight .quikdown-pre,
1021
+ .quikchat-theme-ocean .quikdown-pre {
1022
+ background: #2a2a2a;
1023
+ padding: 10px;
1024
+ border-radius: 4px;
1025
+ overflow-x: auto;
1026
+ margin: 0.5em 0;
1027
+ }
1028
+
1029
+ .quikchat-theme-dark .quikdown-code,
1030
+ .quikchat-theme-midnight .quikdown-code,
1031
+ .quikchat-theme-ocean .quikdown-code {
1032
+ background: #2a2a2a;
1033
+ padding: 2px 4px;
1034
+ border-radius: 3px;
1035
+ font-family: monospace;
1036
+ font-size: 0.9em;
1037
+ color: #e0e0e0;
1038
+ }
1039
+
1040
+ .quikchat-theme-dark .quikdown-blockquote,
1041
+ .quikchat-theme-midnight .quikdown-blockquote,
1042
+ .quikchat-theme-ocean .quikdown-blockquote {
1043
+ border-left: 4px solid #3a3a3a;
1044
+ margin-left: 0;
1045
+ padding-left: 1em;
1046
+ color: #bbb;
1047
+ }
1048
+
1049
+ .quikchat-theme-dark .quikdown-a,
1050
+ .quikchat-theme-midnight .quikdown-a,
1051
+ .quikchat-theme-ocean .quikdown-a {
1052
+ color: #6db3f2;
1053
+ }
1054
+
1055
+ .quikchat-theme-dark .quikdown-th,
1056
+ .quikchat-theme-midnight .quikdown-th,
1057
+ .quikchat-theme-ocean .quikdown-th {
1058
+ border: 1px solid #3a3a3a;
1059
+ padding: 6px 8px;
1060
+ background-color: #2a2a2a;
1061
+ font-weight: bold;
1062
+ text-align: left;
1063
+ color: #e0e0e0;
1064
+ }
1065
+
1066
+ .quikchat-theme-dark .quikdown-td,
1067
+ .quikchat-theme-midnight .quikdown-td,
1068
+ .quikchat-theme-ocean .quikdown-td {
1069
+ border: 1px solid #3a3a3a;
1070
+ padding: 6px 8px;
1071
+ text-align: left;
1072
+ color: #e0e0e0;
1073
+ }
1074
+
1075
+ .quikchat-theme-dark .quikdown-hr,
1076
+ .quikchat-theme-midnight .quikdown-hr,
1077
+ .quikchat-theme-ocean .quikdown-hr {
1078
+ border: none;
1079
+ border-top: 1px solid #3a3a3a;
1080
+ margin: 0.5em 0;
1081
+ }
1082
+
1083
+ .quikchat-theme-dark .quikdown-h1,
1084
+ .quikchat-theme-dark .quikdown-h2,
1085
+ .quikchat-theme-dark .quikdown-h3,
1086
+ .quikchat-theme-dark .quikdown-h4,
1087
+ .quikchat-theme-dark .quikdown-li,
1088
+ .quikchat-theme-midnight .quikdown-h1,
1089
+ .quikchat-theme-midnight .quikdown-h2,
1090
+ .quikchat-theme-midnight .quikdown-h3,
1091
+ .quikchat-theme-midnight .quikdown-h4,
1092
+ .quikchat-theme-midnight .quikdown-li,
1093
+ .quikchat-theme-ocean .quikdown-h1,
1094
+ .quikchat-theme-ocean .quikdown-h2,
1095
+ .quikchat-theme-ocean .quikdown-h3,
1096
+ .quikchat-theme-ocean .quikdown-h4,
1097
+ .quikchat-theme-ocean .quikdown-li {
1098
+ color: #e0e0e0;
1099
+ }
1100
+
1101
+ /* --- Modern theme (bubble style) --- */
1102
+
1103
+ .quikchat-theme-modern .quikdown-pre {
1104
+ background: #f4f4f4;
1105
+ padding: 10px;
400
1106
  border-radius: 4px;
1107
+ overflow-x: auto;
1108
+ margin: 0.5em 0;
1109
+ }
1110
+
1111
+ .quikchat-theme-modern .quikdown-code {
1112
+ background: rgba(0, 0, 0, 0.06);
1113
+ padding: 2px 4px;
1114
+ border-radius: 3px;
1115
+ font-family: monospace;
1116
+ font-size: 0.9em;
1117
+ }
1118
+
1119
+ /* In blue bubbles (right-aligned/user messages), invert code blocks */
1120
+ .quikchat-theme-modern .quikchat-align-right .quikdown-pre {
1121
+ background: rgba(255, 255, 255, 0.15);
1122
+ }
1123
+
1124
+ .quikchat-theme-modern .quikchat-align-right .quikdown-code {
1125
+ background: rgba(255, 255, 255, 0.2);
1126
+ color: #fff;
1127
+ }
1128
+
1129
+ .quikchat-theme-modern .quikchat-align-right .quikdown-a {
1130
+ color: #cce5ff;
1131
+ }
1132
+
1133
+ .quikchat-theme-modern .quikchat-align-left .quikdown-a {
1134
+ color: #06c;
1135
+ }
1136
+
1137
+ .quikchat-theme-modern .quikdown-blockquote {
1138
+ border-left: 4px solid #ddd;
1139
+ margin-left: 0;
1140
+ padding-left: 1em;
1141
+ color: #666;
1142
+ }
1143
+
1144
+ /* --- Debug theme --- */
1145
+
1146
+ .quikchat-theme-debug .quikdown-pre {
1147
+ background: #f4f4f4;
1148
+ padding: 10px;
1149
+ border-radius: 4px;
1150
+ overflow-x: auto;
1151
+ margin: 0.5em 0;
1152
+ }
1153
+
1154
+ .quikchat-theme-debug .quikdown-code {
1155
+ background: #e8e8e8;
1156
+ padding: 2px 4px;
1157
+ border-radius: 3px;
1158
+ font-family: monospace;
1159
+ font-size: 0.9em;
401
1160
  }
402
-