@tencentcloud/chat-uikit-react 2.2.4 → 2.2.5
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/.babelrc +2 -2
- package/.eslintrc.js +125 -19
- package/.stylelintrc.js +17 -18
- package/CHANGELOG.md +11 -2
- package/README.md +8 -8
- package/dist/cjs/assets/fonts/iconfont.ttf +0 -0
- package/dist/cjs/assets/fonts/iconfont.woff +0 -0
- package/dist/cjs/assets/fonts/iconfont.woff2 +0 -0
- package/dist/cjs/components/ConversationPreview/ConversationPreviewContent.js +1 -1
- package/dist/cjs/components/ConversationPreview/utils.js +1 -1
- package/dist/cjs/context/TUIKitContext.js +1 -1
- package/dist/cjs/index.css +2 -1
- package/dist/cjs/index.d.css +643 -166
- package/dist/esm/assets/fonts/iconfont.ttf +0 -0
- package/dist/esm/assets/fonts/iconfont.woff +0 -0
- package/dist/esm/assets/fonts/iconfont.woff2 +0 -0
- package/dist/esm/components/ConversationPreview/ConversationPreviewContent.js +1 -1
- package/dist/esm/components/ConversationPreview/utils.js +1 -1
- package/dist/esm/context/TUIKitContext.js +1 -1
- package/dist/esm/index.css +2 -1
- package/dist/esm/index.d.css +643 -166
- package/package.json +7 -6
- package/rollup.config.js +13 -2
- package/src/assets/fonts/iconfont.ttf +0 -0
- package/src/assets/fonts/iconfont.woff +0 -0
- package/src/assets/fonts/iconfont.woff2 +0 -0
- package/src/components/ConversationCreate/styles/ConversationCreatGroupDetail.scss +16 -7
- package/src/components/ConversationCreate/styles/index.scss +23 -13
- package/src/components/ConversationPreview/ConversationPreviewContent.tsx +1 -2
- package/src/components/ConversationPreview/styles/index.scss +44 -14
- package/src/components/ConversationPreview/utils.tsx +36 -28
- package/src/components/Input/styles/index.scss +7 -5
- package/src/components/Model/styles/layout.scss +3 -3
- package/src/components/Plugins/styles/color.scss +17 -3
- package/src/components/Popup/styles/layout.scss +2 -1
- package/src/components/TUIChatHeader/styles/layout.scss +13 -2
- package/src/components/TUIConversationList/index.scss +25 -7
- package/src/components/TUIKit/TUIKit.tsx +3 -2
- package/src/components/TUIKit/styles/index.scss +27 -7
- package/src/components/TUIManage/styles/index.scss +16 -6
- package/src/components/TUIMessage/styles/color.scss +20 -9
- package/src/components/TUIMessage/styles/layout.scss +44 -11
- package/src/components/TUIMessageInput/styles/color.scss +25 -6
- package/src/components/TUIMessageInput/styles/layout.scss +58 -16
- package/src/components/TUIMessageList/styles/layout.scss +16 -2
- package/src/components/TUIProfile/styles/layout.scss +33 -16
- package/src/context/TUIKitContext.tsx +6 -1
- package/src/styles/colors/_color-dark.scss +35 -0
- package/src/styles/colors/_color-light.scss +35 -0
- package/src/styles/colors/_color-theme.scss +54 -0
- package/src/styles/fonts/icon-font.scss +18 -0
- package/src/styles/index.scss +4 -0
- package/src/styles/normalize.scss +355 -0
- package/src/components/TUIKit/styles/reset.scss +0 -67
package/dist/esm/index.d.css
CHANGED
|
@@ -1,89 +1,16 @@
|
|
|
1
|
-
html, body, div, span, applet, object, iframe,
|
|
2
|
-
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
|
3
|
-
a, abbr, acronym, address, big, cite, code,
|
|
4
|
-
del, dfn, em, img, ins, kbd, q, s, samp,
|
|
5
|
-
small, strike, strong, sub, sup, tt, var,
|
|
6
|
-
b, u, i, center,
|
|
7
|
-
dl, dt, dd, ol, ul, li,
|
|
8
|
-
fieldset, form, label, legend,
|
|
9
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
|
10
|
-
article, aside, canvas, details, embed,
|
|
11
|
-
figure, figcaption, footer, header, hgroup,
|
|
12
|
-
menu, nav, output, ruby, section, summary,
|
|
13
|
-
time, mark, audio, video {
|
|
14
|
-
margin: 0;
|
|
15
|
-
padding: 0;
|
|
16
|
-
border: 0;
|
|
17
|
-
font-size: 100%;
|
|
18
|
-
font: inherit;
|
|
19
|
-
vertical-align: baseline;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
a, a:link, a:visited, a:hover, a:active {
|
|
23
|
-
text-decoration: none;
|
|
24
|
-
color: inherit;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/* HTML5 display-role reset for older browsers */
|
|
28
|
-
article, aside, details, figcaption, figure,
|
|
29
|
-
footer, header, hgroup, menu, nav, section {
|
|
30
|
-
display: block;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
body {
|
|
34
|
-
line-height: 1;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
ol, ul {
|
|
38
|
-
list-style: none;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
blockquote, q {
|
|
42
|
-
quotes: none;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
blockquote:before, blockquote:after,
|
|
46
|
-
q:before, q:after {
|
|
47
|
-
content: "";
|
|
48
|
-
content: none;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
table {
|
|
52
|
-
border-collapse: collapse;
|
|
53
|
-
border-spacing: 0;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
html, body {
|
|
57
|
-
height: 100%;
|
|
58
|
-
width: 100%;
|
|
59
|
-
margin: 0;
|
|
60
|
-
-webkit-text-size-adjust: 100%;
|
|
61
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
* {
|
|
65
|
-
-webkit-touch-callout: none;
|
|
66
|
-
-webkit-user-select: none;
|
|
67
|
-
-khtml-user-select: none;
|
|
68
|
-
-moz-user-select: none;
|
|
69
|
-
-ms-user-select: none;
|
|
70
|
-
user-select: none;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.text-ellipsis {
|
|
74
|
-
text-overflow: ellipsis;
|
|
75
|
-
white-space: nowrap;
|
|
76
|
-
overflow: hidden;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
1
|
.tui-kit {
|
|
80
2
|
position: relative;
|
|
81
3
|
display: flex;
|
|
82
4
|
width: 100%;
|
|
83
5
|
height: 100%;
|
|
84
|
-
background-color: #FFFFFF;
|
|
85
6
|
text-align: initial;
|
|
86
7
|
}
|
|
8
|
+
[data-chat-theme=light] .tui-kit {
|
|
9
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
10
|
+
}
|
|
11
|
+
[data-chat-theme=dark] .tui-kit {
|
|
12
|
+
background-color: var(--chat-theme-dark-bg-primary);
|
|
13
|
+
}
|
|
87
14
|
|
|
88
15
|
.sample-chat {
|
|
89
16
|
position: relative;
|
|
@@ -99,12 +26,15 @@ html, body {
|
|
|
99
26
|
position: absolute;
|
|
100
27
|
top: 0;
|
|
101
28
|
z-index: 1;
|
|
29
|
+
width: 100%;
|
|
30
|
+
height: 100%;
|
|
102
31
|
}
|
|
103
32
|
.sample-chat-left-container {
|
|
104
33
|
max-width: 360px;
|
|
105
34
|
min-width: 360px;
|
|
106
35
|
display: flex;
|
|
107
36
|
flex-direction: column;
|
|
37
|
+
position: relative;
|
|
108
38
|
}
|
|
109
39
|
.sample-chat-tab {
|
|
110
40
|
display: flex;
|
|
@@ -125,7 +55,7 @@ html, body {
|
|
|
125
55
|
text-align: center;
|
|
126
56
|
}
|
|
127
57
|
.sample-chat-tab-active {
|
|
128
|
-
color: #
|
|
58
|
+
color: #147aff;
|
|
129
59
|
}
|
|
130
60
|
|
|
131
61
|
.tuikit-container {
|
|
@@ -223,16 +153,399 @@ body #webpack-dev-server-client-overlay {
|
|
|
223
153
|
.sample-chat-h5 .tui-message-input .tui-kit-input-box--focus {
|
|
224
154
|
outline: none;
|
|
225
155
|
}
|
|
156
|
+
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
|
157
|
+
/* Document
|
|
158
|
+
========================================================================== */
|
|
159
|
+
/**
|
|
160
|
+
* 1. Correct the line height in all browsers.
|
|
161
|
+
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
|
162
|
+
*/
|
|
163
|
+
html {
|
|
164
|
+
line-height: 1.15; /* 1 */
|
|
165
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/* Sections
|
|
169
|
+
========================================================================== */
|
|
170
|
+
/**
|
|
171
|
+
* Remove the margin in all browsers.
|
|
172
|
+
*/
|
|
173
|
+
body {
|
|
174
|
+
margin: 0;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Render the `main` element consistently in IE.
|
|
179
|
+
*/
|
|
180
|
+
main {
|
|
181
|
+
display: block;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Correct the font size and margin on `h1` elements within `section` and
|
|
186
|
+
* `article` contexts in Chrome, Firefox, and Safari.
|
|
187
|
+
*/
|
|
188
|
+
h1 {
|
|
189
|
+
font-size: 2em;
|
|
190
|
+
margin: 0.67em 0;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/* Grouping content
|
|
194
|
+
========================================================================== */
|
|
195
|
+
/**
|
|
196
|
+
* 1. Add the correct box sizing in Firefox.
|
|
197
|
+
* 2. Show the overflow in Edge and IE.
|
|
198
|
+
*/
|
|
199
|
+
hr {
|
|
200
|
+
box-sizing: content-box; /* 1 */
|
|
201
|
+
height: 0; /* 1 */
|
|
202
|
+
overflow: visible; /* 2 */
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
207
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
|
208
|
+
*/
|
|
209
|
+
pre {
|
|
210
|
+
/* stylelint-disable-next-line font-family-no-duplicate-names */
|
|
211
|
+
font-family: monospace, monospace; /* 1 */
|
|
212
|
+
font-size: 1em; /* 2 */
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/* Text-level semantics
|
|
216
|
+
========================================================================== */
|
|
217
|
+
/**
|
|
218
|
+
* Remove the gray background on active links in IE 10.
|
|
219
|
+
*/
|
|
220
|
+
a {
|
|
221
|
+
background-color: transparent;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* 1. Remove the bottom border in Chrome 57-
|
|
226
|
+
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
|
227
|
+
*/
|
|
228
|
+
abbr[title] {
|
|
229
|
+
border-bottom: none; /* 1 */
|
|
230
|
+
text-decoration: underline; /* 2 */
|
|
231
|
+
text-decoration: underline dotted; /* 2 */
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Add the correct font weight in Chrome, Edge, and Safari.
|
|
236
|
+
*/
|
|
237
|
+
b,
|
|
238
|
+
strong {
|
|
239
|
+
font-weight: bolder;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
244
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
|
245
|
+
*/
|
|
246
|
+
code,
|
|
247
|
+
kbd,
|
|
248
|
+
samp {
|
|
249
|
+
font-family: monospace, monospace; /* 1 */
|
|
250
|
+
font-size: 1em; /* 2 */
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Add the correct font size in all browsers.
|
|
255
|
+
*/
|
|
256
|
+
small {
|
|
257
|
+
font-size: 80%;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Prevent `sub` and `sup` elements from affecting the line height in
|
|
262
|
+
* all browsers.
|
|
263
|
+
*/
|
|
264
|
+
sub,
|
|
265
|
+
sup {
|
|
266
|
+
font-size: 75%;
|
|
267
|
+
line-height: 0;
|
|
268
|
+
position: relative;
|
|
269
|
+
vertical-align: baseline;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
sub {
|
|
273
|
+
bottom: -0.25em;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
sup {
|
|
277
|
+
top: -0.5em;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/* Embedded content
|
|
281
|
+
========================================================================== */
|
|
282
|
+
/**
|
|
283
|
+
* Remove the border on images inside links in IE 10.
|
|
284
|
+
*/
|
|
285
|
+
img {
|
|
286
|
+
border-style: none;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/* Forms
|
|
290
|
+
========================================================================== */
|
|
291
|
+
/**
|
|
292
|
+
* 1. Change the font styles in all browsers.
|
|
293
|
+
* 2. Remove the margin in Firefox and Safari.
|
|
294
|
+
*/
|
|
295
|
+
button,
|
|
296
|
+
input,
|
|
297
|
+
optgroup,
|
|
298
|
+
select,
|
|
299
|
+
textarea {
|
|
300
|
+
font-family: inherit; /* 1 */
|
|
301
|
+
font-size: 100%; /* 1 */
|
|
302
|
+
line-height: 1.15; /* 1 */
|
|
303
|
+
margin: 0; /* 2 */
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Show the overflow in IE.
|
|
308
|
+
* 1. Show the overflow in Edge.
|
|
309
|
+
*/
|
|
310
|
+
button,
|
|
311
|
+
input { /* 1 */
|
|
312
|
+
overflow: visible;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
|
317
|
+
* 1. Remove the inheritance of text transform in Firefox.
|
|
318
|
+
*/
|
|
319
|
+
button,
|
|
320
|
+
select { /* 1 */
|
|
321
|
+
text-transform: none;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* Correct the inability to style clickable types in iOS and Safari.
|
|
326
|
+
*/
|
|
327
|
+
button,
|
|
328
|
+
[type=button],
|
|
329
|
+
[type=reset],
|
|
330
|
+
[type=submit] {
|
|
331
|
+
-webkit-appearance: button;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Remove the inner border and padding in Firefox.
|
|
336
|
+
*/
|
|
337
|
+
button::-moz-focus-inner,
|
|
338
|
+
[type=button]::-moz-focus-inner,
|
|
339
|
+
[type=reset]::-moz-focus-inner,
|
|
340
|
+
[type=submit]::-moz-focus-inner {
|
|
341
|
+
border-style: none;
|
|
342
|
+
padding: 0;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* Restore the focus styles unset by the previous rule.
|
|
347
|
+
*/
|
|
348
|
+
button:-moz-focusring,
|
|
349
|
+
[type=button]:-moz-focusring,
|
|
350
|
+
[type=reset]:-moz-focusring,
|
|
351
|
+
[type=submit]:-moz-focusring {
|
|
352
|
+
outline: 1px dotted ButtonText;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* Correct the padding in Firefox.
|
|
357
|
+
*/
|
|
358
|
+
fieldset {
|
|
359
|
+
padding: 0.35em 0.75em 0.625em;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* 1. Correct the text wrapping in Edge and IE.
|
|
364
|
+
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
|
365
|
+
* 3. Remove the padding so developers are not caught out when they zero out
|
|
366
|
+
* `fieldset` elements in all browsers.
|
|
367
|
+
*/
|
|
368
|
+
legend {
|
|
369
|
+
box-sizing: border-box; /* 1 */
|
|
370
|
+
color: inherit; /* 2 */
|
|
371
|
+
display: table; /* 1 */
|
|
372
|
+
max-width: 100%; /* 1 */
|
|
373
|
+
padding: 0; /* 3 */
|
|
374
|
+
white-space: normal; /* 1 */
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
|
379
|
+
*/
|
|
380
|
+
progress {
|
|
381
|
+
vertical-align: baseline;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* Remove the default vertical scrollbar in IE 10+.
|
|
386
|
+
*/
|
|
387
|
+
textarea {
|
|
388
|
+
overflow: auto;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* 1. Add the correct box sizing in IE 10.
|
|
393
|
+
* 2. Remove the padding in IE 10.
|
|
394
|
+
*/
|
|
395
|
+
[type=checkbox],
|
|
396
|
+
[type=radio] {
|
|
397
|
+
box-sizing: border-box; /* 1 */
|
|
398
|
+
padding: 0; /* 2 */
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* Correct the cursor style of increment and decrement buttons in Chrome.
|
|
403
|
+
*/
|
|
404
|
+
[type=number]::-webkit-inner-spin-button,
|
|
405
|
+
[type=number]::-webkit-outer-spin-button {
|
|
406
|
+
height: auto;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* 1. Correct the odd appearance in Chrome and Safari.
|
|
411
|
+
* 2. Correct the outline style in Safari.
|
|
412
|
+
*/
|
|
413
|
+
[type=search] {
|
|
414
|
+
-webkit-appearance: textfield; /* 1 */
|
|
415
|
+
outline-offset: -2px; /* 2 */
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* Remove the inner padding in Chrome and Safari on macOS.
|
|
420
|
+
*/
|
|
421
|
+
[type=search]::-webkit-search-decoration {
|
|
422
|
+
-webkit-appearance: none;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* 1. Correct the inability to style clickable types in iOS and Safari.
|
|
427
|
+
* 2. Change font properties to `inherit` in Safari.
|
|
428
|
+
*/
|
|
429
|
+
::-webkit-file-upload-button {
|
|
430
|
+
-webkit-appearance: button; /* 1 */
|
|
431
|
+
font: inherit; /* 2 */
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
/* Interactive
|
|
435
|
+
========================================================================== */
|
|
436
|
+
/*
|
|
437
|
+
* Add the correct display in Edge, IE 10+, and Firefox.
|
|
438
|
+
*/
|
|
439
|
+
details {
|
|
440
|
+
display: block;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/*
|
|
444
|
+
* Add the correct display in all browsers.
|
|
445
|
+
*/
|
|
446
|
+
summary {
|
|
447
|
+
display: list-item;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/* Misc
|
|
451
|
+
========================================================================== */
|
|
452
|
+
/**
|
|
453
|
+
* Add the correct display in IE 10+.
|
|
454
|
+
*/
|
|
455
|
+
template {
|
|
456
|
+
display: none;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* Add the correct display in IE 10.
|
|
461
|
+
*/
|
|
462
|
+
[hidden] {
|
|
463
|
+
display: none;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
:root {
|
|
467
|
+
-webkit-font-smoothing: antialiased;
|
|
468
|
+
-moz-osx-font-smoothing: grayscale;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
@font-face {
|
|
472
|
+
font-family: iconfont;
|
|
473
|
+
src: url("./assets/fonts/iconfont.woff2?t=1722856322648") format("woff2"), url("./assets/fonts/iconfont.woff?t=1722856322648") format("woff"), url("./assets/fonts/iconfont.ttf?t=1722856322648") format("truetype");
|
|
474
|
+
}
|
|
475
|
+
.iconfont {
|
|
476
|
+
font-family: iconfont, Arial, sans-serif !important;
|
|
477
|
+
font-size: 20px;
|
|
478
|
+
font-style: normal;
|
|
479
|
+
line-height: 1;
|
|
480
|
+
vertical-align: bottom;
|
|
481
|
+
-webkit-font-smoothing: antialiased;
|
|
482
|
+
-webkit-text-stroke-width: 0.2px;
|
|
483
|
+
-moz-osx-font-smoothing: grayscale;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
:root {
|
|
487
|
+
--chat-theme-light-bg-5: #999;
|
|
488
|
+
--chat-theme-light-bg-4: #b3b3b3;
|
|
489
|
+
--chat-theme-light-bg-3: #e5e7eb;
|
|
490
|
+
--chat-theme-light-bg-2: #f0f0f0;
|
|
491
|
+
--chat-theme-light-bg-1: #fff;
|
|
492
|
+
--chat-theme-light-bg-primary: #fff;
|
|
493
|
+
--chat-theme-light-bg-secondary: #f0f0f0;
|
|
494
|
+
--chat-theme-light-bg-active: #e6f1ff;
|
|
495
|
+
--chat-theme-light-text-5: #000;
|
|
496
|
+
--chat-theme-light-text-4: #666;
|
|
497
|
+
--chat-theme-light-text-3: #7a7a7a;
|
|
498
|
+
--chat-theme-light-text-2: #7a7a7a;
|
|
499
|
+
--chat-theme-light-text-1: #7a7a7a;
|
|
500
|
+
--chat-theme-light-text-primary: #000;
|
|
501
|
+
--chat-theme-light-text-secondary: #7a7a7a;
|
|
502
|
+
--chat-theme-light-status-info: #147aff;
|
|
503
|
+
--chat-theme-light-status-success: #34c759;
|
|
504
|
+
--chat-theme-light-status-danger: #ff3742;
|
|
505
|
+
--chat-theme-light-border-5: #e0e0e0;
|
|
506
|
+
--chat-theme-light-box-shadow-1: rgba(0, 0, 0, 0.24) 0 3px 8px;
|
|
507
|
+
color-scheme: light dark;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
:root {
|
|
511
|
+
--chat-theme-dark-bg-5: #76777e;
|
|
512
|
+
--chat-theme-dark-bg-4: #5d5e67;
|
|
513
|
+
--chat-theme-dark-bg-3: #454650;
|
|
514
|
+
--chat-theme-dark-bg-2: #2e303a;
|
|
515
|
+
--chat-theme-dark-bg-1: #191b26;
|
|
516
|
+
--chat-theme-dark-bg-primary: #191b26;
|
|
517
|
+
--chat-theme-dark-bg-secondary: #2e303a;
|
|
518
|
+
--chat-theme-dark-bg-active: #4e4e4e;
|
|
519
|
+
--chat-theme-dark-text-5: #000;
|
|
520
|
+
--chat-theme-dark-text-4: #666;
|
|
521
|
+
--chat-theme-dark-text-3: #7a7a7a;
|
|
522
|
+
--chat-theme-dark-text-2: #7a7a7a;
|
|
523
|
+
--chat-theme-dark-text-1: #7a7a7a;
|
|
524
|
+
--chat-theme-dark-text-primary: #fff;
|
|
525
|
+
--chat-theme-dark-text-secondary: #8b8b8b;
|
|
526
|
+
--chat-theme-dark-status-info: #147aff;
|
|
527
|
+
--chat-theme-dark-status-success: #34c759;
|
|
528
|
+
--chat-theme-dark-status-danger: #ff3742;
|
|
529
|
+
--chat-theme-dark-border-5: #4e4e4e;
|
|
530
|
+
--chat-theme-dark-box-shadow-1: rgba(203, 203, 203, 0.755) 0 3px 8px;
|
|
531
|
+
color-scheme: light dark;
|
|
532
|
+
}
|
|
226
533
|
.tui-conversation {
|
|
227
534
|
flex: 1;
|
|
228
|
-
|
|
229
|
-
|
|
535
|
+
box-sizing: border-box;
|
|
536
|
+
overflow: hidden;
|
|
537
|
+
min-width: 0;
|
|
230
538
|
display: flex;
|
|
231
539
|
flex-direction: column;
|
|
232
540
|
position: relative;
|
|
233
|
-
border-right: 1px solid #F9FAFB;
|
|
234
541
|
text-align: initial;
|
|
235
542
|
}
|
|
543
|
+
[data-chat-theme=light] .tui-conversation {
|
|
544
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
545
|
+
}
|
|
546
|
+
[data-chat-theme=dark] .tui-conversation {
|
|
547
|
+
background-color: var(--chat-theme-dark-bg-primary);
|
|
548
|
+
}
|
|
236
549
|
.tui-conversation .tui-conversation-header {
|
|
237
550
|
display: flex;
|
|
238
551
|
padding: 10px 20px;
|
|
@@ -253,17 +566,18 @@ body #webpack-dev-server-client-overlay {
|
|
|
253
566
|
margin: 100px auto 50px;
|
|
254
567
|
}
|
|
255
568
|
.tui-conversation .no-result-message {
|
|
256
|
-
color: #
|
|
569
|
+
color: #999;
|
|
257
570
|
font-weight: 400;
|
|
258
571
|
font-size: 16px;
|
|
259
572
|
font-family: PingFangSC-Medium;
|
|
260
573
|
line-height: 22px;
|
|
261
574
|
}
|
|
262
575
|
|
|
263
|
-
.tui-conversation-h5 {
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
576
|
+
.tui-conversation-h5 .tui-conversation-header {
|
|
577
|
+
padding: 10px;
|
|
578
|
+
}
|
|
579
|
+
.tui-conversation-h5 .conversation-list-container .conversation-preview-container {
|
|
580
|
+
padding: 0 10px;
|
|
267
581
|
}
|
|
268
582
|
.message-default {
|
|
269
583
|
width: 100%;
|
|
@@ -294,6 +608,12 @@ body #webpack-dev-server-client-overlay {
|
|
|
294
608
|
padding-bottom: 3px;
|
|
295
609
|
max-width: 60%;
|
|
296
610
|
}
|
|
611
|
+
[data-chat-theme=light] .message-default .content .name {
|
|
612
|
+
color: var(--chat-theme-light-text-primary);
|
|
613
|
+
}
|
|
614
|
+
[data-chat-theme=dark] .message-default .content .name {
|
|
615
|
+
color: var(--chat-theme-dark-text-primary);
|
|
616
|
+
}
|
|
297
617
|
|
|
298
618
|
.in {
|
|
299
619
|
flex: 1;
|
|
@@ -350,7 +670,12 @@ body #webpack-dev-server-client-overlay {
|
|
|
350
670
|
font-family: PingFangSC-Medium;
|
|
351
671
|
line-height: 14px;
|
|
352
672
|
text-align: right;
|
|
353
|
-
|
|
673
|
+
}
|
|
674
|
+
[data-chat-theme=light] .message-status .time {
|
|
675
|
+
color: var(--chat-theme-light-text-secondary);
|
|
676
|
+
}
|
|
677
|
+
[data-chat-theme=dark] .message-status .time {
|
|
678
|
+
color: var(--chat-theme-dark-text-secondary);
|
|
354
679
|
}
|
|
355
680
|
|
|
356
681
|
.message-image, .message-video {
|
|
@@ -361,8 +686,11 @@ body #webpack-dev-server-client-overlay {
|
|
|
361
686
|
bottom: 10px;
|
|
362
687
|
right: 10px;
|
|
363
688
|
}
|
|
364
|
-
.message-image .message-status .time, .message-video .message-status .time {
|
|
365
|
-
color:
|
|
689
|
+
[data-chat-theme=light] .message-image .message-status .time, [data-chat-theme=light] .message-video .message-status .time {
|
|
690
|
+
color: var(--chat-theme-light-text-primary);
|
|
691
|
+
}
|
|
692
|
+
[data-chat-theme=dark] .message-image .message-status .time, [data-chat-theme=dark] .message-video .message-status .time {
|
|
693
|
+
color: var(--chat-theme-dark-text-primary);
|
|
366
694
|
}
|
|
367
695
|
|
|
368
696
|
.message-text {
|
|
@@ -382,6 +710,12 @@ body #webpack-dev-server-client-overlay {
|
|
|
382
710
|
display: inline;
|
|
383
711
|
vertical-align: middle;
|
|
384
712
|
}
|
|
713
|
+
[data-chat-theme=light] .message-text-content-p {
|
|
714
|
+
color: var(--chat-theme-light-text-primary);
|
|
715
|
+
}
|
|
716
|
+
[data-chat-theme=dark] .message-text-content-p {
|
|
717
|
+
color: var(--chat-theme-dark-text-primary);
|
|
718
|
+
}
|
|
385
719
|
.message-text-content .message-status {
|
|
386
720
|
display: inline-flex;
|
|
387
721
|
float: right;
|
|
@@ -504,9 +838,14 @@ body #webpack-dev-server-client-overlay {
|
|
|
504
838
|
}
|
|
505
839
|
|
|
506
840
|
.meesage-bubble-reply {
|
|
507
|
-
background: #ECEBEB;
|
|
508
841
|
padding: 8px 16px;
|
|
509
842
|
}
|
|
843
|
+
[data-chat-theme=light] .meesage-bubble-reply {
|
|
844
|
+
background-color: var(--chat-theme-light-bg-secondary);
|
|
845
|
+
}
|
|
846
|
+
[data-chat-theme=dark] .meesage-bubble-reply {
|
|
847
|
+
background-color: var(--chat-theme-dark-bg-secondary);
|
|
848
|
+
}
|
|
510
849
|
.meesage-bubble-reply-in {
|
|
511
850
|
border-radius: 16px 16px 16px 0;
|
|
512
851
|
}
|
|
@@ -514,8 +853,7 @@ body #webpack-dev-server-client-overlay {
|
|
|
514
853
|
border-radius: 16px 16px 0px 16px;
|
|
515
854
|
}
|
|
516
855
|
.meesage-bubble-reply .message-text {
|
|
517
|
-
border
|
|
518
|
-
border: none;
|
|
856
|
+
border: none !important;
|
|
519
857
|
}
|
|
520
858
|
.meesage-bubble-reply .bubble {
|
|
521
859
|
padding: 0;
|
|
@@ -527,25 +865,38 @@ body #webpack-dev-server-client-overlay {
|
|
|
527
865
|
position: relative;
|
|
528
866
|
padding: 10px 14px;
|
|
529
867
|
margin-bottom: 10px;
|
|
530
|
-
|
|
868
|
+
}
|
|
869
|
+
[data-chat-theme=light] .meesage-bubble-reply-main {
|
|
870
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
871
|
+
}
|
|
872
|
+
[data-chat-theme=dark] .meesage-bubble-reply-main {
|
|
873
|
+
background-color: var(--chat-theme-dark-bg-primary);
|
|
531
874
|
}
|
|
532
875
|
.meesage-bubble-reply-main::before {
|
|
533
876
|
content: "";
|
|
534
877
|
position: absolute;
|
|
535
878
|
width: 6px;
|
|
536
879
|
height: 100%;
|
|
537
|
-
background: #D9D9D9;
|
|
538
880
|
top: 0;
|
|
539
881
|
left: 0;
|
|
540
882
|
}
|
|
883
|
+
[data-chat-theme=light] .meesage-bubble-reply-main::before {
|
|
884
|
+
background-color: var(--chat-theme-light-bg-5);
|
|
885
|
+
}
|
|
886
|
+
[data-chat-theme=dark] .meesage-bubble-reply-main::before {
|
|
887
|
+
background-color: var(--chat-theme-dark-bg-5);
|
|
888
|
+
}
|
|
541
889
|
.meesage-bubble-reply-main .title {
|
|
542
|
-
font-family: PingFangSC-Medium;
|
|
543
|
-
font-style: normal;
|
|
544
890
|
font-weight: 500;
|
|
545
891
|
font-size: 14px;
|
|
546
|
-
line-height: 17px;
|
|
547
892
|
padding-bottom: 10px;
|
|
548
893
|
}
|
|
894
|
+
[data-chat-theme=light] .meesage-bubble-reply-main .title {
|
|
895
|
+
color: var(--chat-theme-light-text-primary);
|
|
896
|
+
}
|
|
897
|
+
[data-chat-theme=dark] .meesage-bubble-reply-main .title {
|
|
898
|
+
color: var(--chat-theme-dark-text-primary);
|
|
899
|
+
}
|
|
549
900
|
.meesage-bubble-reply-main .message-context {
|
|
550
901
|
opacity: 0.6;
|
|
551
902
|
}
|
|
@@ -779,24 +1130,39 @@ body #webpack-dev-server-client-overlay {
|
|
|
779
1130
|
color: #147aff !important;
|
|
780
1131
|
}
|
|
781
1132
|
|
|
782
|
-
.message-text,
|
|
783
|
-
|
|
1133
|
+
[data-chat-theme=light] .message-text,
|
|
1134
|
+
[data-chat-theme=light] .message-custom {
|
|
1135
|
+
border: 1px solid var(--chat-theme-light-border-5);
|
|
784
1136
|
}
|
|
785
|
-
|
|
786
|
-
.
|
|
787
|
-
|
|
788
|
-
border: 1px solid #F2F7FF;
|
|
1137
|
+
[data-chat-theme=dark] .message-text,
|
|
1138
|
+
[data-chat-theme=dark] .message-custom {
|
|
1139
|
+
border: 1px solid var(--chat-theme-dark-border-5);
|
|
789
1140
|
}
|
|
790
1141
|
|
|
791
|
-
|
|
792
|
-
background:
|
|
1142
|
+
[data-chat-theme=light] .bubble {
|
|
1143
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
1144
|
+
}
|
|
1145
|
+
[data-chat-theme=dark] .bubble {
|
|
1146
|
+
background-color: var(--chat-theme-dark-bg-primary);
|
|
1147
|
+
}
|
|
1148
|
+
[data-chat-theme=light] .bubble-out {
|
|
1149
|
+
border: none;
|
|
1150
|
+
background-color: var(--chat-theme-light-bg-secondary);
|
|
1151
|
+
}
|
|
1152
|
+
[data-chat-theme=dark] .bubble-out {
|
|
1153
|
+
border: none;
|
|
1154
|
+
background-color: var(--chat-theme-dark-bg-secondary);
|
|
793
1155
|
}
|
|
1156
|
+
|
|
794
1157
|
.meesage-bubble-reply-out .meesage-bubble-reply-main .message-text {
|
|
795
1158
|
background: none;
|
|
796
1159
|
}
|
|
797
1160
|
|
|
798
|
-
.message-tip {
|
|
799
|
-
color:
|
|
1161
|
+
[data-chat-theme=light] .message-tip {
|
|
1162
|
+
color: var(--chat-theme-light-text-secondary);
|
|
1163
|
+
}
|
|
1164
|
+
[data-chat-theme=dark] .message-tip {
|
|
1165
|
+
color: var(--chat-theme-dark-text-secondary);
|
|
800
1166
|
}
|
|
801
1167
|
|
|
802
1168
|
.tip .bubble .edit {
|
|
@@ -824,10 +1190,22 @@ body #webpack-dev-server-client-overlay {
|
|
|
824
1190
|
}
|
|
825
1191
|
|
|
826
1192
|
.plugin-popup-box {
|
|
827
|
-
background: #FFFFFF;
|
|
828
|
-
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
|
|
829
1193
|
border-radius: 16px;
|
|
830
1194
|
}
|
|
1195
|
+
[data-chat-theme=light] .plugin-popup-box {
|
|
1196
|
+
color: var(--chat-theme-light-text-primary);
|
|
1197
|
+
}
|
|
1198
|
+
[data-chat-theme=dark] .plugin-popup-box {
|
|
1199
|
+
color: var(--chat-theme-dark-text-primary);
|
|
1200
|
+
}
|
|
1201
|
+
[data-chat-theme=light] .plugin-popup-box {
|
|
1202
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
1203
|
+
box-shadow: var(--chat-theme-light-box-shadow-1);
|
|
1204
|
+
}
|
|
1205
|
+
[data-chat-theme=dark] .plugin-popup-box {
|
|
1206
|
+
background-color: var(--chat-theme-dark-bg-3);
|
|
1207
|
+
box-shadow: var(--chat-theme-dark-box-shadow-1);
|
|
1208
|
+
}
|
|
831
1209
|
.tui-message-input {
|
|
832
1210
|
display: flex;
|
|
833
1211
|
flex-direction: column;
|
|
@@ -842,7 +1220,6 @@ body #webpack-dev-server-client-overlay {
|
|
|
842
1220
|
.tui-message-input-main .input-box {
|
|
843
1221
|
flex: 1;
|
|
844
1222
|
display: flex;
|
|
845
|
-
padding: 0 8px;
|
|
846
1223
|
position: relative;
|
|
847
1224
|
min-height: 20px;
|
|
848
1225
|
max-height: 200px;
|
|
@@ -851,6 +1228,7 @@ body #webpack-dev-server-client-overlay {
|
|
|
851
1228
|
padding: 10px;
|
|
852
1229
|
}
|
|
853
1230
|
.tui-message-input-main .input-box .input-visibility-content {
|
|
1231
|
+
min-height: 20px;
|
|
854
1232
|
word-break: break-all;
|
|
855
1233
|
visibility: hidden;
|
|
856
1234
|
max-width: -webkit-fill-available;
|
|
@@ -878,6 +1256,12 @@ body #webpack-dev-server-client-overlay {
|
|
|
878
1256
|
border: none;
|
|
879
1257
|
background: none;
|
|
880
1258
|
}
|
|
1259
|
+
[data-chat-theme=light] .tui-message-input-main .input-box textarea {
|
|
1260
|
+
color: var(--chat-theme-light-text-primary);
|
|
1261
|
+
}
|
|
1262
|
+
[data-chat-theme=dark] .tui-message-input-main .input-box textarea {
|
|
1263
|
+
color: var(--chat-theme-dark-text-primary);
|
|
1264
|
+
}
|
|
881
1265
|
.tui-message-input-main .input-box textarea:focus, .tui-message-input-main .input-box textarea:active {
|
|
882
1266
|
border: none;
|
|
883
1267
|
outline: none;
|
|
@@ -927,6 +1311,7 @@ ul li {
|
|
|
927
1311
|
.emoji-picker .face-list-item {
|
|
928
1312
|
padding: 5px;
|
|
929
1313
|
cursor: pointer;
|
|
1314
|
+
user-select: none;
|
|
930
1315
|
}
|
|
931
1316
|
.emoji-picker .face-list-item img {
|
|
932
1317
|
width: 20px;
|
|
@@ -971,13 +1356,13 @@ ul li {
|
|
|
971
1356
|
|
|
972
1357
|
.input-quote {
|
|
973
1358
|
padding: 7px 16px;
|
|
974
|
-
background: #
|
|
1359
|
+
background: #f9f9f9;
|
|
975
1360
|
display: flex;
|
|
976
1361
|
align-items: center;
|
|
977
1362
|
}
|
|
978
1363
|
.input-quote-content {
|
|
979
1364
|
flex: 1;
|
|
980
|
-
background: #
|
|
1365
|
+
background: #fff;
|
|
981
1366
|
padding: 2px 14px;
|
|
982
1367
|
position: relative;
|
|
983
1368
|
display: flex;
|
|
@@ -986,14 +1371,14 @@ ul li {
|
|
|
986
1371
|
font-size: 14px;
|
|
987
1372
|
font-family: PingFangSC-Medium;
|
|
988
1373
|
line-height: 17px;
|
|
989
|
-
color: #
|
|
1374
|
+
color: #000;
|
|
990
1375
|
}
|
|
991
1376
|
.input-quote-content::before {
|
|
992
1377
|
content: "";
|
|
993
1378
|
position: absolute;
|
|
994
1379
|
width: 6px;
|
|
995
1380
|
height: 100%;
|
|
996
|
-
background: #
|
|
1381
|
+
background: #999;
|
|
997
1382
|
top: 0;
|
|
998
1383
|
left: 0;
|
|
999
1384
|
}
|
|
@@ -1006,7 +1391,7 @@ ul li {
|
|
|
1006
1391
|
}
|
|
1007
1392
|
|
|
1008
1393
|
.tui-forward {
|
|
1009
|
-
background: #
|
|
1394
|
+
background: #fff;
|
|
1010
1395
|
border-radius: 16px;
|
|
1011
1396
|
display: flex;
|
|
1012
1397
|
flex-direction: column;
|
|
@@ -1039,7 +1424,7 @@ ul li {
|
|
|
1039
1424
|
line-height: 20px;
|
|
1040
1425
|
padding: 10px;
|
|
1041
1426
|
text-align: center;
|
|
1042
|
-
color: #
|
|
1427
|
+
color: #999;
|
|
1043
1428
|
}
|
|
1044
1429
|
.tui-forward-search {
|
|
1045
1430
|
padding: 10px 15px;
|
|
@@ -1095,7 +1480,7 @@ ul li {
|
|
|
1095
1480
|
}
|
|
1096
1481
|
.tui-forward-footer .button {
|
|
1097
1482
|
cursor: pointer;
|
|
1098
|
-
background: #
|
|
1483
|
+
background: #0365f9;
|
|
1099
1484
|
border-radius: 31px;
|
|
1100
1485
|
padding: 10px 21px;
|
|
1101
1486
|
font-family: PingFangSC-Medium;
|
|
@@ -1103,7 +1488,7 @@ ul li {
|
|
|
1103
1488
|
font-weight: 400;
|
|
1104
1489
|
font-size: 14px;
|
|
1105
1490
|
line-height: 20px;
|
|
1106
|
-
color: #
|
|
1491
|
+
color: #fff;
|
|
1107
1492
|
border: none;
|
|
1108
1493
|
}
|
|
1109
1494
|
.tui-forward-footer-name {
|
|
@@ -1123,19 +1508,38 @@ ul li {
|
|
|
1123
1508
|
transform: rotate(90deg);
|
|
1124
1509
|
}
|
|
1125
1510
|
|
|
1126
|
-
|
|
1127
|
-
|
|
1511
|
+
[data-chat-theme=light] .tui-message-input {
|
|
1512
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
1128
1513
|
}
|
|
1129
|
-
.tui-message-input
|
|
1130
|
-
|
|
1131
|
-
|
|
1514
|
+
[data-chat-theme=dark] .tui-message-input {
|
|
1515
|
+
background-color: var(--chat-theme-dark-bg-primary);
|
|
1516
|
+
}
|
|
1517
|
+
[data-chat-theme=light] .tui-message-input .tui-kit-input-box--focus {
|
|
1518
|
+
outline: 1px solid var(--chat-theme-light-status-info);
|
|
1519
|
+
}
|
|
1520
|
+
[data-chat-theme=dark] .tui-message-input .tui-kit-input-box--focus {
|
|
1521
|
+
outline: 1px solid var(--chat-theme-dark-status-info);
|
|
1522
|
+
}
|
|
1523
|
+
[data-chat-theme=light] .tui-message-input .input-box {
|
|
1524
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
1525
|
+
border: 1px solid var(--chat-theme-light-border-5);
|
|
1526
|
+
}
|
|
1527
|
+
[data-chat-theme=dark] .tui-message-input .input-box {
|
|
1528
|
+
background-color: var(--chat-theme-dark-bg-primary);
|
|
1529
|
+
border: 1px solid var(--chat-theme-dark-border-5);
|
|
1132
1530
|
}
|
|
1133
1531
|
|
|
1134
1532
|
.input-plugin-popup-box {
|
|
1135
|
-
background: #FFFFFF;
|
|
1136
|
-
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
|
|
1137
1533
|
border-radius: 16px;
|
|
1138
1534
|
}
|
|
1535
|
+
[data-chat-theme=light] .input-plugin-popup-box {
|
|
1536
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
1537
|
+
box-shadow: var(--chat-theme-light-box-shadow-1);
|
|
1538
|
+
}
|
|
1539
|
+
[data-chat-theme=dark] .input-plugin-popup-box {
|
|
1540
|
+
background-color: var(--chat-theme-dark-bg-3);
|
|
1541
|
+
box-shadow: var(--chat-theme-dark-box-shadow-1);
|
|
1542
|
+
}
|
|
1139
1543
|
.tui-kit-avatar {
|
|
1140
1544
|
display: flex;
|
|
1141
1545
|
align-items: center;
|
|
@@ -1197,7 +1601,6 @@ ul li {
|
|
|
1197
1601
|
.conversation-preview-container {
|
|
1198
1602
|
display: flex;
|
|
1199
1603
|
align-items: center;
|
|
1200
|
-
background-color: #FFFFFF;
|
|
1201
1604
|
border: none;
|
|
1202
1605
|
width: 100%;
|
|
1203
1606
|
height: 64px;
|
|
@@ -1205,6 +1608,12 @@ ul li {
|
|
|
1205
1608
|
line-height: 17px;
|
|
1206
1609
|
padding: 0 20px;
|
|
1207
1610
|
}
|
|
1611
|
+
[data-chat-theme=light] .conversation-preview-container {
|
|
1612
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
1613
|
+
}
|
|
1614
|
+
[data-chat-theme=dark] .conversation-preview-container {
|
|
1615
|
+
background-color: var(--chat-theme-dark-bg-primary);
|
|
1616
|
+
}
|
|
1208
1617
|
.conversation-preview-container .content {
|
|
1209
1618
|
flex: 1 1 auto;
|
|
1210
1619
|
text-align: left;
|
|
@@ -1219,13 +1628,17 @@ ul li {
|
|
|
1219
1628
|
font-family: PingFangSC-Medium;
|
|
1220
1629
|
padding: 1px 0;
|
|
1221
1630
|
width: 100%;
|
|
1222
|
-
|
|
1631
|
+
}
|
|
1632
|
+
[data-chat-theme=light] .conversation-preview-container .content .title {
|
|
1633
|
+
color: var(--chat-theme-light-text-primary);
|
|
1634
|
+
}
|
|
1635
|
+
[data-chat-theme=dark] .conversation-preview-container .content .title {
|
|
1636
|
+
color: var(--chat-theme-dark-text-primary);
|
|
1223
1637
|
}
|
|
1224
1638
|
.conversation-preview-container .content .message {
|
|
1225
1639
|
overflow: hidden;
|
|
1226
1640
|
text-overflow: ellipsis;
|
|
1227
1641
|
white-space: nowrap;
|
|
1228
|
-
color: #7A7A7A;
|
|
1229
1642
|
font-family: PingFangSC-Medium;
|
|
1230
1643
|
font-style: normal;
|
|
1231
1644
|
font-weight: 400;
|
|
@@ -1233,6 +1646,12 @@ ul li {
|
|
|
1233
1646
|
line-height: 14px;
|
|
1234
1647
|
padding: 1px 0;
|
|
1235
1648
|
}
|
|
1649
|
+
[data-chat-theme=light] .conversation-preview-container .content .message {
|
|
1650
|
+
color: var(--chat-theme-light-text-secondary);
|
|
1651
|
+
}
|
|
1652
|
+
[data-chat-theme=dark] .conversation-preview-container .content .message {
|
|
1653
|
+
color: var(--chat-theme-dark-text-secondary);
|
|
1654
|
+
}
|
|
1236
1655
|
.conversation-preview-container .external {
|
|
1237
1656
|
text-align: right;
|
|
1238
1657
|
flex: 0 1 auto;
|
|
@@ -1244,7 +1663,6 @@ ul li {
|
|
|
1244
1663
|
padding: 1px 0;
|
|
1245
1664
|
}
|
|
1246
1665
|
.conversation-preview-container .external .time {
|
|
1247
|
-
color: #7A7A7A;
|
|
1248
1666
|
font-family: PingFangSC-Medium;
|
|
1249
1667
|
font-style: normal;
|
|
1250
1668
|
font-weight: 400;
|
|
@@ -1252,6 +1670,12 @@ ul li {
|
|
|
1252
1670
|
line-height: 14px;
|
|
1253
1671
|
padding: 1px 0;
|
|
1254
1672
|
}
|
|
1673
|
+
[data-chat-theme=light] .conversation-preview-container .external .time {
|
|
1674
|
+
color: var(--chat-theme-light-text-secondary);
|
|
1675
|
+
}
|
|
1676
|
+
[data-chat-theme=dark] .conversation-preview-container .external .time {
|
|
1677
|
+
color: var(--chat-theme-dark-text-secondary);
|
|
1678
|
+
}
|
|
1255
1679
|
.conversation-preview-container .external .more--hover {
|
|
1256
1680
|
display: flex;
|
|
1257
1681
|
justify-content: flex-end;
|
|
@@ -1279,36 +1703,60 @@ ul li {
|
|
|
1279
1703
|
font-weight: 500;
|
|
1280
1704
|
box-sizing: border-box;
|
|
1281
1705
|
}
|
|
1282
|
-
.conversation-preview-container .external .more--hover .more-handle-box .more-handle-item
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1706
|
+
[data-chat-theme=light] .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item.delete {
|
|
1707
|
+
color: var(--chat-theme-light-status-danger);
|
|
1708
|
+
}
|
|
1709
|
+
[data-chat-theme=dark] .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item.delete {
|
|
1710
|
+
color: var(--chat-theme-dark-status-danger);
|
|
1711
|
+
}
|
|
1712
|
+
[data-chat-theme=light] .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item:hover {
|
|
1713
|
+
background-color: var(--chat-theme-light-bg-active);
|
|
1714
|
+
}
|
|
1715
|
+
[data-chat-theme=dark] .conversation-preview-container .external .more--hover .more-handle-box .more-handle-item:hover {
|
|
1716
|
+
background-color: var(--chat-theme-dark-bg-active);
|
|
1717
|
+
}
|
|
1718
|
+
[data-chat-theme=light] .conversation-preview-container:hover {
|
|
1719
|
+
background-color: var(--chat-theme-light-bg-active);
|
|
1720
|
+
}
|
|
1721
|
+
[data-chat-theme=dark] .conversation-preview-container:hover {
|
|
1722
|
+
background-color: var(--chat-theme-dark-bg-active);
|
|
1723
|
+
}
|
|
1724
|
+
[data-chat-theme=light] .conversation-preview-container.conversation-preview-content--pin {
|
|
1725
|
+
background-color: var(--chat-theme-light-bg-secondary);
|
|
1286
1726
|
}
|
|
1287
|
-
.conversation-preview-container
|
|
1288
|
-
background-color:
|
|
1727
|
+
[data-chat-theme=dark] .conversation-preview-container.conversation-preview-content--pin {
|
|
1728
|
+
background-color: var(--chat-theme-dark-bg-secondary);
|
|
1289
1729
|
}
|
|
1290
|
-
.conversation-preview-container.conversation-preview-content--
|
|
1291
|
-
background-color:
|
|
1730
|
+
[data-chat-theme=light] .conversation-preview-container.conversation-preview-content--active {
|
|
1731
|
+
background-color: var(--chat-theme-light-bg-active);
|
|
1292
1732
|
}
|
|
1293
|
-
.conversation-preview-container.conversation-preview-content--active {
|
|
1294
|
-
background-color:
|
|
1733
|
+
[data-chat-theme=dark] .conversation-preview-container.conversation-preview-content--active {
|
|
1734
|
+
background-color: var(--chat-theme-dark-bg-active);
|
|
1295
1735
|
}
|
|
1296
|
-
.conversation-preview-container.conversation-preview-content--active .title {
|
|
1297
|
-
color:
|
|
1736
|
+
[data-chat-theme=light] .conversation-preview-container.conversation-preview-content--active .title {
|
|
1737
|
+
color: var(--chat-theme-light-status-info);
|
|
1738
|
+
}
|
|
1739
|
+
[data-chat-theme=dark] .conversation-preview-container.conversation-preview-content--active .title {
|
|
1740
|
+
color: var(--chat-theme-dark-status-info);
|
|
1298
1741
|
}
|
|
1299
1742
|
.conversation-preview-container.conversation-preview-content--unread .unread {
|
|
1300
1743
|
width: 16px;
|
|
1301
1744
|
height: 13px;
|
|
1302
|
-
background: #FF3742;
|
|
1303
1745
|
border-radius: 16px;
|
|
1304
1746
|
display: flex;
|
|
1305
1747
|
justify-content: center;
|
|
1306
1748
|
align-items: center;
|
|
1307
1749
|
padding: 2px 5px 1px;
|
|
1308
|
-
color: #FFFFFF;
|
|
1309
1750
|
font-size: 11px;
|
|
1310
1751
|
font-weight: 700;
|
|
1311
1752
|
margin: 2px 0 2px auto;
|
|
1753
|
+
color: #fff;
|
|
1754
|
+
}
|
|
1755
|
+
[data-chat-theme=light] .conversation-preview-container.conversation-preview-content--unread .unread {
|
|
1756
|
+
background-color: var(--chat-theme-light-status-danger);
|
|
1757
|
+
}
|
|
1758
|
+
[data-chat-theme=dark] .conversation-preview-container.conversation-preview-content--unread .unread {
|
|
1759
|
+
background-color: var(--chat-theme-dark-status-danger);
|
|
1312
1760
|
}
|
|
1313
1761
|
.tui-chat-header {
|
|
1314
1762
|
padding: 16px 20px;
|
|
@@ -1317,6 +1765,12 @@ ul li {
|
|
|
1317
1765
|
justify-content: space-between;
|
|
1318
1766
|
align-items: center;
|
|
1319
1767
|
}
|
|
1768
|
+
[data-chat-theme=light] .tui-chat-header {
|
|
1769
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
1770
|
+
}
|
|
1771
|
+
[data-chat-theme=dark] .tui-chat-header {
|
|
1772
|
+
background-color: var(--chat-theme-dark-bg-primary);
|
|
1773
|
+
}
|
|
1320
1774
|
.tui-chat-header-left {
|
|
1321
1775
|
display: flex;
|
|
1322
1776
|
align-items: center;
|
|
@@ -1333,7 +1787,12 @@ ul li {
|
|
|
1333
1787
|
font-style: normal;
|
|
1334
1788
|
font-weight: 700;
|
|
1335
1789
|
font-size: 14px;
|
|
1336
|
-
|
|
1790
|
+
}
|
|
1791
|
+
[data-chat-theme=light] .tui-chat-header .title {
|
|
1792
|
+
color: var(--chat-theme-light-text-primary);
|
|
1793
|
+
}
|
|
1794
|
+
[data-chat-theme=dark] .tui-chat-header .title {
|
|
1795
|
+
color: var(--chat-theme-dark-text-primary);
|
|
1337
1796
|
}
|
|
1338
1797
|
.tui-chat-header .system {
|
|
1339
1798
|
height: 32px;
|
|
@@ -1365,6 +1824,12 @@ ul li {
|
|
|
1365
1824
|
position: relative;
|
|
1366
1825
|
padding: 0 20px;
|
|
1367
1826
|
}
|
|
1827
|
+
[data-chat-theme=light] .message-list {
|
|
1828
|
+
background-color: var(--chat-theme-light-bg-primary);
|
|
1829
|
+
}
|
|
1830
|
+
[data-chat-theme=dark] .message-list {
|
|
1831
|
+
background-color: var(--chat-theme-dark-bg-primary);
|
|
1832
|
+
}
|
|
1368
1833
|
.message-list.hide {
|
|
1369
1834
|
opacity: 0;
|
|
1370
1835
|
}
|
|
@@ -1379,10 +1844,14 @@ ul li {
|
|
|
1379
1844
|
font-style: normal;
|
|
1380
1845
|
font-weight: 500;
|
|
1381
1846
|
line-height: 17px;
|
|
1382
|
-
|
|
1847
|
+
}
|
|
1848
|
+
[data-chat-theme=light] .message-list .no-more {
|
|
1849
|
+
color: var(--chat-theme-light-text-secondary);
|
|
1850
|
+
}
|
|
1851
|
+
[data-chat-theme=dark] .message-list .no-more {
|
|
1852
|
+
color: var(--chat-theme-dark-text-secondary);
|
|
1383
1853
|
}
|
|
1384
1854
|
.message-list-time {
|
|
1385
|
-
color: #7a7a7a;
|
|
1386
1855
|
font-family: PingFangSC-Medium;
|
|
1387
1856
|
font-size: 12px;
|
|
1388
1857
|
font-weight: 400;
|
|
@@ -1390,31 +1859,33 @@ ul li {
|
|
|
1390
1859
|
padding: 10px;
|
|
1391
1860
|
text-align: center;
|
|
1392
1861
|
}
|
|
1862
|
+
[data-chat-theme=light] .message-list-time {
|
|
1863
|
+
color: var(--chat-theme-light-text-secondary);
|
|
1864
|
+
}
|
|
1865
|
+
[data-chat-theme=dark] .message-list-time {
|
|
1866
|
+
color: var(--chat-theme-dark-text-secondary);
|
|
1867
|
+
}
|
|
1393
1868
|
.tui-profile {
|
|
1394
1869
|
display: flex;
|
|
1395
1870
|
flex-direction: column;
|
|
1396
1871
|
align-items: center;
|
|
1397
|
-
width: 30%;
|
|
1398
|
-
max-width: 360px;
|
|
1399
|
-
min-width: 360px;
|
|
1400
|
-
height: 100%;
|
|
1401
1872
|
}
|
|
1402
1873
|
.tui-profile-header {
|
|
1403
1874
|
box-sizing: border-box;
|
|
1404
1875
|
width: 100%;
|
|
1405
|
-
padding:
|
|
1876
|
+
padding: 15px;
|
|
1406
1877
|
display: flex;
|
|
1407
1878
|
align-items: center;
|
|
1408
|
-
line-height: 32px;
|
|
1409
1879
|
}
|
|
1410
1880
|
.tui-profile-header h1 {
|
|
1881
|
+
font-size: 16px;
|
|
1411
1882
|
font-weight: 600;
|
|
1412
1883
|
padding: 0 11px;
|
|
1413
1884
|
}
|
|
1414
1885
|
.tui-profile-main {
|
|
1415
1886
|
max-width: 100%;
|
|
1416
1887
|
box-sizing: border-box;
|
|
1417
|
-
padding:
|
|
1888
|
+
padding: 10px 10px 0;
|
|
1418
1889
|
display: flex;
|
|
1419
1890
|
flex-direction: column;
|
|
1420
1891
|
align-items: center;
|
|
@@ -1438,24 +1909,28 @@ ul li {
|
|
|
1438
1909
|
}
|
|
1439
1910
|
.tui-profile-ID {
|
|
1440
1911
|
padding: 6px 0;
|
|
1912
|
+
margin: 0;
|
|
1441
1913
|
display: flex;
|
|
1442
1914
|
align-items: center;
|
|
1443
1915
|
font-weight: 400;
|
|
1444
1916
|
font-size: 12px;
|
|
1445
1917
|
font-family: PingFangSC-Medium;
|
|
1446
1918
|
line-height: 14px;
|
|
1447
|
-
color: #
|
|
1919
|
+
color: #666;
|
|
1920
|
+
}
|
|
1921
|
+
.tui-profile-ID h5 {
|
|
1922
|
+
margin: 0;
|
|
1448
1923
|
}
|
|
1449
1924
|
.tui-profile-list {
|
|
1450
1925
|
box-sizing: border-box;
|
|
1451
1926
|
width: 100%;
|
|
1452
|
-
padding: 0
|
|
1927
|
+
padding: 0 15px;
|
|
1453
1928
|
display: flex;
|
|
1454
1929
|
flex-direction: column;
|
|
1455
1930
|
user-select: none;
|
|
1456
1931
|
}
|
|
1457
1932
|
.tui-profile-list-item {
|
|
1458
|
-
padding:
|
|
1933
|
+
padding: 0;
|
|
1459
1934
|
cursor: pointer;
|
|
1460
1935
|
}
|
|
1461
1936
|
.tui-profile-list-item h4 {
|
|
@@ -1464,11 +1939,12 @@ ul li {
|
|
|
1464
1939
|
font-size: 16px;
|
|
1465
1940
|
font-family: PingFangSC-Medium;
|
|
1466
1941
|
line-height: 22px;
|
|
1942
|
+
margin: 10px 0;
|
|
1467
1943
|
color: rgba(0, 0, 0, 0.6);
|
|
1468
1944
|
}
|
|
1469
1945
|
.tui-profile-div-with-edit {
|
|
1470
1946
|
padding: 4px 0;
|
|
1471
|
-
border-bottom: 1px solid #
|
|
1947
|
+
border-bottom: 1px solid #eee;
|
|
1472
1948
|
}
|
|
1473
1949
|
.tui-profile-edit {
|
|
1474
1950
|
border-bottom: none !important;
|
|
@@ -1482,7 +1958,7 @@ ul li {
|
|
|
1482
1958
|
}
|
|
1483
1959
|
.tui-profile-birthday .react-date-picker__calendar .react-calendar__navigation {
|
|
1484
1960
|
height: 20px !important;
|
|
1485
|
-
margin-bottom:
|
|
1961
|
+
margin-bottom: 0;
|
|
1486
1962
|
}
|
|
1487
1963
|
.tui-profile-birthday-calendar {
|
|
1488
1964
|
border: none !important;
|
|
@@ -1525,7 +2001,7 @@ ul li {
|
|
|
1525
2001
|
box-sizing: border-box;
|
|
1526
2002
|
}
|
|
1527
2003
|
.tui-kit-input-box.tui-kit-input-box--focus {
|
|
1528
|
-
outline: 1px solid #
|
|
2004
|
+
outline: 1px solid #147aff;
|
|
1529
2005
|
}
|
|
1530
2006
|
.tui-kit-input-box.tui-kit-input-border--bottom {
|
|
1531
2007
|
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
@@ -1544,6 +2020,7 @@ ul li {
|
|
|
1544
2020
|
border-radius: 10px;
|
|
1545
2021
|
border: none;
|
|
1546
2022
|
box-sizing: border-box;
|
|
2023
|
+
font-size: 14px;
|
|
1547
2024
|
}
|
|
1548
2025
|
.tui-kit-input-box .tui-kit-input:focus {
|
|
1549
2026
|
border: none;
|
|
@@ -1563,12 +2040,12 @@ ul li {
|
|
|
1563
2040
|
border-left: 1px solid #f9fafb;
|
|
1564
2041
|
}
|
|
1565
2042
|
.tui-manage .red {
|
|
1566
|
-
color: #
|
|
2043
|
+
color: #ff584c !important;
|
|
1567
2044
|
}
|
|
1568
2045
|
.tui-manage .tui-manage-title {
|
|
1569
2046
|
display: flex;
|
|
1570
2047
|
align-items: center;
|
|
1571
|
-
padding: 24px
|
|
2048
|
+
padding: 24px 10px;
|
|
1572
2049
|
}
|
|
1573
2050
|
.tui-manage .tui-manage-title span {
|
|
1574
2051
|
margin-right: 10px;
|
|
@@ -1599,7 +2076,7 @@ ul li {
|
|
|
1599
2076
|
font-size: 12px;
|
|
1600
2077
|
font-family: PingFangSC-Medium;
|
|
1601
2078
|
line-height: 14px;
|
|
1602
|
-
color: #
|
|
2079
|
+
color: #666;
|
|
1603
2080
|
margin-bottom: 30px;
|
|
1604
2081
|
text-align: center;
|
|
1605
2082
|
}
|
|
@@ -1623,7 +2100,7 @@ ul li {
|
|
|
1623
2100
|
}
|
|
1624
2101
|
|
|
1625
2102
|
.tui-manage.tui-h5-manage {
|
|
1626
|
-
border-left:
|
|
2103
|
+
border-left: none;
|
|
1627
2104
|
display: flex;
|
|
1628
2105
|
flex-direction: column;
|
|
1629
2106
|
position: absolute;
|
|
@@ -1776,7 +2253,7 @@ ul li {
|
|
|
1776
2253
|
.model {
|
|
1777
2254
|
background: rgba(0, 0, 0, 0.5);
|
|
1778
2255
|
position: fixed;
|
|
1779
|
-
z-index:
|
|
2256
|
+
z-index: 5;
|
|
1780
2257
|
width: 100vw;
|
|
1781
2258
|
top: 0;
|
|
1782
2259
|
left: 0;
|