yx-web-sdk 0.0.19 → 0.0.21
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/dist/ait-person-popover/index.js +1 -1
- package/dist/chat-card/index.js +1 -1
- package/dist/chat-content/index.js +1 -1
- package/dist/chat-page/index.js +1 -1
- package/dist/chat-room/index.js +1 -1
- package/dist/common-avatar/index.js +1 -1
- package/dist/components/img-info-wrapper/index.d.ts +0 -0
- package/dist/components/img-info-wrapper/index.vue.d.ts +6 -0
- package/dist/img-info-wrapper/index.js +1 -0
- package/dist/index/style2.css +30 -162
- package/dist/index/style4.css +177 -125
- package/dist/index/style6.css +513 -25
- package/dist/index/style7.css +143 -466
- package/dist/{index-DHnPD8u9.mjs → index-BPnLB3av.mjs} +1 -1
- package/dist/{index-BjIqS2ZC.mjs → index-DME8_VYv.mjs} +2 -2
- package/dist/{index-D5gp5t2F.mjs → index-Dwglj7_M.mjs} +1 -1
- package/dist/index-entry/index.js +4 -4
- package/dist/{index.vue_vue_type_script_setup_true_lang-CkWszgC3.mjs → index.vue_vue_type_script_setup_true_lang-CD6o8jT4.mjs} +9 -3
- package/dist/{index.vue_vue_type_style_index_0_lang-C-imP01W.mjs → index.vue_vue_type_style_index_0_lang-BJGCxPce.mjs} +3 -3
- package/dist/{index.vue_vue_type_style_index_0_lang-CAZ44kgX.mjs → index.vue_vue_type_style_index_0_lang-BaKNB-4q.mjs} +33 -7
- package/dist/{index.vue_vue_type_style_index_0_lang-CA27kCm1.mjs → index.vue_vue_type_style_index_0_lang-CsNgkPt9.mjs} +101 -17
- package/dist/{index.vue_vue_type_style_index_0_lang-5DeqmRdw.mjs → index.vue_vue_type_style_index_0_lang-iBkYSdDj.mjs} +156 -38
- package/dist/members-sidebar/index.js +1 -1
- package/dist/notice-box/index.js +1 -1
- package/dist/server-channel-sidebar/index.js +1 -1
- package/dist/stores/channel.d.ts +18 -2
- package/dist/style.css +155 -70
- package/dist/utils/index.d.ts +10 -2
- package/dist/yx-web-sdk.es.js +321 -90
- package/dist/yx-web-sdk.umd.js +320 -89
- package/package.json +1 -1
- /package/dist/{index.vue_vue_type_style_index_0_lang-B2YRkoln.mjs → index.vue_vue_type_style_index_0_lang-BxXBf_VA.mjs} +0 -0
package/dist/chat-card/index.js
CHANGED
package/dist/chat-page/index.js
CHANGED
package/dist/chat-room/index.js
CHANGED
|
File without changes
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { UploadFileResult } from 'nim-web-sdk-ng/dist/v1/QCHAT_BROWSER_SDK/CloudStorageServiceInterface';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
attach: UploadFileResult | undefined;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/dist/index/style2.css
CHANGED
|
@@ -1,175 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
.yx-chatroomWrapper .chatroomContent {
|
|
8
|
-
flex: 1;
|
|
9
|
-
padding: 24px;
|
|
10
|
-
overflow-y: auto;
|
|
11
|
-
}
|
|
12
|
-
.yx-chatroomWrapper .chatroomContent.is-scroll-locked {
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
}
|
|
15
|
-
.yx-chatroomWrapper .chatroomContentNoMore {
|
|
16
|
-
text-align: center;
|
|
17
|
-
height: 21px;
|
|
18
|
-
line-height: 21px;
|
|
19
|
-
}
|
|
20
|
-
.yx-chatroomWrapper .emptyChatroomContent {
|
|
21
|
-
width: 100%;
|
|
22
|
-
height: 100%;
|
|
23
|
-
display: flex;
|
|
24
|
-
flex-direction: column;
|
|
25
|
-
align-items: flex-start;
|
|
26
|
-
justify-content: flex-end;
|
|
27
|
-
}
|
|
28
|
-
.yx-chatroomWrapper .emptyChatroomContent h1 {
|
|
29
|
-
color: var(--theme-text);
|
|
30
|
-
margin: 0;
|
|
31
|
-
font-size: 24px;
|
|
32
|
-
}
|
|
33
|
-
.yx-chatroomWrapper .emptyChatroomContent div {
|
|
34
|
-
font-size: 16px;
|
|
35
|
-
color: #b3b7bc;
|
|
36
|
-
}
|
|
37
|
-
.yx-chatroomWrapper .chatroomControllerContainer {
|
|
38
|
-
padding: 0px 12px 12px;
|
|
39
|
-
width: 100%;
|
|
40
|
-
}
|
|
41
|
-
.yx-chatroomWrapper .chatroomInputQuoteWrapper {
|
|
42
|
-
font-size: 16px;
|
|
43
|
-
color: var(--theme-text-secondary, #9c9db4);
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
.yx-channel-notice {
|
|
3
|
+
background: var(--theme-im-n-bg, #dbe2fa);
|
|
4
|
+
border-radius: 6px;
|
|
5
|
+
padding: 13px 16px;
|
|
6
|
+
color: var(--theme-primary, #000);
|
|
44
7
|
display: flex;
|
|
45
|
-
|
|
46
|
-
gap: 12px;
|
|
47
|
-
border-bottom: 1px solid var(--theme-line, #e3e3ee);
|
|
48
|
-
padding-bottom: 12px;
|
|
49
|
-
margin-bottom: 12px;
|
|
50
|
-
position: relative;
|
|
51
|
-
}
|
|
52
|
-
.yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteDeleteBtn {
|
|
53
|
-
position: absolute;
|
|
54
|
-
right: 0;
|
|
55
|
-
top: 0;
|
|
56
|
-
color: var(--theme-text, #252b3a);
|
|
57
|
-
}
|
|
58
|
-
.yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteText {
|
|
59
|
-
-webkit-user-select: none;
|
|
60
|
-
-moz-user-select: none;
|
|
61
|
-
-ms-user-select: none;
|
|
62
|
-
user-select: none;
|
|
63
|
-
}
|
|
64
|
-
.yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteText .chatroomInputQuoteTextName {
|
|
65
|
-
color: var(--theme-text, #252b3a);
|
|
8
|
+
align-items: center;
|
|
66
9
|
overflow: hidden;
|
|
67
|
-
text-overflow: ellipsis;
|
|
68
|
-
white-space: nowrap;
|
|
69
|
-
max-width: 100%;
|
|
70
|
-
}
|
|
71
|
-
.yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteText .chatroomInputQuoteTextBody {
|
|
72
|
-
color: var(--theme-text, #252b3a);
|
|
73
|
-
word-break: break-all;
|
|
74
|
-
white-space: pre-wrap;
|
|
75
|
-
text-align: left;
|
|
76
10
|
max-width: 100%;
|
|
77
|
-
width: -moz-fit-content;
|
|
78
|
-
width: fit-content;
|
|
79
|
-
overflow: hidden;
|
|
80
|
-
-webkit-line-clamp: 3;
|
|
81
|
-
-webkit-box-orient: vertical;
|
|
82
|
-
display: -webkit-box;
|
|
83
|
-
}
|
|
84
|
-
.yx-chatroomWrapper .chatroomInputQuoteWrapper .quoteImg {
|
|
85
|
-
user-drag: none;
|
|
86
|
-
-webkit-user-drag: none;
|
|
87
|
-
pointer-events: none;
|
|
88
|
-
}
|
|
89
|
-
.yx-chatroomWrapper {
|
|
90
|
-
--input-controller-height: 34px;
|
|
91
|
-
}
|
|
92
|
-
.yx-chatroomWrapper .chatroomControllerWrapper {
|
|
93
|
-
padding: 12px;
|
|
94
|
-
border-radius: 8px;
|
|
95
|
-
background-color: var(--theme-default-bg, #fff);
|
|
96
11
|
width: 100%;
|
|
97
|
-
color: var(--theme-line, #e3e3ee);
|
|
98
|
-
border: 1px solid var(--theme-line, #e3e3ee);
|
|
99
|
-
box-shadow: var(--theme-chat-input-shadow, 0px 1px 3px 0px rgba(29, 31, 58, 0.0196078431), 0px 2px 6px 0px rgba(29, 31, 58, 0.0196078431), 0px 4px 12px 0px rgba(29, 31, 58, 0.0196078431), 0px 8px 24px 0px rgba(29, 31, 58, 0.0392156863));
|
|
100
|
-
}
|
|
101
|
-
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInputWrapper {
|
|
102
|
-
display: flex;
|
|
103
|
-
}
|
|
104
|
-
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInputLeft {
|
|
105
|
-
align-self: flex-end;
|
|
106
|
-
min-height: var(--input-controller-height);
|
|
107
|
-
display: flex;
|
|
108
|
-
align-items: center;
|
|
109
|
-
}
|
|
110
|
-
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInputLeft .chatroomButtonSmile {
|
|
111
|
-
width: 28px;
|
|
112
|
-
height: 28px;
|
|
113
|
-
padding: 0;
|
|
114
|
-
}
|
|
115
|
-
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomButton {
|
|
116
|
-
display: flex;
|
|
117
|
-
align-items: center;
|
|
118
|
-
justify-content: center;
|
|
119
|
-
}
|
|
120
|
-
.yx-chatroomWrapper .chatroomControllerWrapper .lineSeparator {
|
|
121
|
-
width: 1px;
|
|
122
|
-
height: 24px;
|
|
123
|
-
background-color: var(--theme-line, #e3e3ee);
|
|
124
|
-
margin-top: 3px;
|
|
125
|
-
margin-bottom: 3px;
|
|
126
|
-
}
|
|
127
|
-
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomButtonArrowUp {
|
|
128
|
-
width: var(--input-controller-height);
|
|
129
|
-
height: var(--input-controller-height);
|
|
130
|
-
padding: 0;
|
|
131
|
-
background-color: var(--theme-btn-primary, #000);
|
|
132
|
-
border-radius: 50%;
|
|
133
|
-
display: flex;
|
|
134
|
-
align-items: center;
|
|
135
|
-
justify-content: center;
|
|
136
12
|
}
|
|
137
|
-
.yx-
|
|
138
|
-
|
|
13
|
+
.yx-channel-notice .yx-channel-notice-icon {
|
|
14
|
+
width: 20px;
|
|
15
|
+
height: 20px;
|
|
16
|
+
margin-right: 16px;
|
|
17
|
+
flex-shrink: 0;
|
|
139
18
|
}
|
|
140
|
-
.yx-
|
|
141
|
-
color: var(--theme-light-text, #fff);
|
|
142
|
-
}
|
|
143
|
-
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput {
|
|
144
|
-
align-self: center;
|
|
19
|
+
.yx-channel-notice .yx-channel-notice-text {
|
|
145
20
|
flex: 1;
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
border-radius: 8px;
|
|
149
|
-
border: none;
|
|
150
|
-
outline: none;
|
|
151
|
-
resize: none;
|
|
152
|
-
color: var(--theme-text, #252b3a);
|
|
153
|
-
background-color: var(--theme-default-bg, #fff);
|
|
154
|
-
font-size: 16px;
|
|
21
|
+
min-width: 0;
|
|
22
|
+
overflow: hidden;
|
|
155
23
|
}
|
|
156
|
-
.yx-
|
|
157
|
-
|
|
24
|
+
.yx-channel-notice .yx-channel-notice-text-inner {
|
|
25
|
+
line-height: 22px;
|
|
26
|
+
display: inline-flex;
|
|
27
|
+
white-space: nowrap;
|
|
158
28
|
}
|
|
159
|
-
.yx-
|
|
160
|
-
|
|
29
|
+
.yx-channel-notice .yx-channel-notice-text-inner.yx-channel-notice-text--scroll {
|
|
30
|
+
animation: yx-notice-scroll var(--yx-notice-duration, 15s) linear infinite;
|
|
161
31
|
}
|
|
162
|
-
.yx-
|
|
163
|
-
|
|
32
|
+
.yx-channel-notice .yx-channel-notice-text-item {
|
|
33
|
+
flex-shrink: 0;
|
|
34
|
+
padding-right: 2em; /* 两段文字之间的间隔 */
|
|
164
35
|
}
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
36
|
+
@keyframes yx-notice-scroll {
|
|
37
|
+
0% {
|
|
38
|
+
transform: translateX(0);
|
|
39
|
+
}
|
|
40
|
+
100% {
|
|
41
|
+
transform: translateX(-50%);
|
|
169
42
|
}
|
|
170
|
-
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomController {
|
|
171
|
-
min-height: var(--input-controller-height);
|
|
172
|
-
display: flex;
|
|
173
|
-
align-items: flex-end;
|
|
174
|
-
gap: 12px;
|
|
175
43
|
}
|
package/dist/index/style4.css
CHANGED
|
@@ -1,100 +1,90 @@
|
|
|
1
|
-
|
|
2
|
-
.yx-chatCardWrapper {
|
|
1
|
+
.yx-chatroomWrapper {
|
|
3
2
|
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
4
|
display: flex;
|
|
5
|
-
|
|
5
|
+
flex-direction: column;
|
|
6
6
|
}
|
|
7
|
-
.yx-
|
|
8
|
-
|
|
7
|
+
.yx-chatroomWrapper .chatroomContent {
|
|
8
|
+
flex: 1;
|
|
9
|
+
padding: 24px;
|
|
10
|
+
overflow-y: auto;
|
|
9
11
|
}
|
|
10
|
-
.yx-
|
|
11
|
-
|
|
12
|
+
.yx-chatroomWrapper .chatroomContent.is-scroll-locked {
|
|
13
|
+
overflow: hidden;
|
|
12
14
|
}
|
|
13
|
-
.yx-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
.yx-chatroomWrapper .chatroomContentNoMore {
|
|
16
|
+
text-align: center;
|
|
17
|
+
height: 21px;
|
|
18
|
+
line-height: 21px;
|
|
17
19
|
}
|
|
18
|
-
.yx-
|
|
20
|
+
.yx-chatroomWrapper .emptyChatroomContent {
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: 100%;
|
|
19
23
|
display: flex;
|
|
20
|
-
flex-direction:
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
align-items: flex-start;
|
|
26
|
+
justify-content: flex-end;
|
|
21
27
|
}
|
|
22
|
-
.yx-
|
|
23
|
-
|
|
24
|
-
|
|
28
|
+
.yx-chatroomWrapper .emptyChatroomContent h1 {
|
|
29
|
+
color: var(--theme-text);
|
|
30
|
+
margin: 0;
|
|
31
|
+
font-size: 24px;
|
|
25
32
|
}
|
|
26
|
-
.yx-
|
|
27
|
-
|
|
28
|
-
|
|
33
|
+
.yx-chatroomWrapper .emptyChatroomContent div {
|
|
34
|
+
font-size: 16px;
|
|
35
|
+
color: #b3b7bc;
|
|
29
36
|
}
|
|
30
|
-
.yx-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
font-size: 14px;
|
|
34
|
-
color: var(--theme-placeholder, #9c9db4);
|
|
37
|
+
.yx-chatroomWrapper .chatroomControllerContainer {
|
|
38
|
+
padding: 0px 12px 12px;
|
|
39
|
+
width: 100%;
|
|
35
40
|
}
|
|
36
|
-
.yx-
|
|
37
|
-
|
|
38
|
-
|
|
41
|
+
.yx-chatroomWrapper .chatroomInputQuoteWrapper {
|
|
42
|
+
font-size: 16px;
|
|
43
|
+
color: var(--theme-text-secondary, #9c9db4);
|
|
39
44
|
display: flex;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
gap: 12px;
|
|
47
|
+
border-bottom: 1px solid var(--theme-line, #e3e3ee);
|
|
48
|
+
padding-bottom: 12px;
|
|
49
|
+
margin-bottom: 12px;
|
|
50
|
+
position: relative;
|
|
51
|
+
}
|
|
52
|
+
.yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteAttachBox {
|
|
53
|
+
padding-left: 20px;
|
|
54
|
+
position: relative;
|
|
55
|
+
}
|
|
56
|
+
.yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteAttachBox:before {
|
|
57
|
+
position: absolute;
|
|
58
|
+
left: 0;
|
|
59
|
+
top: 0.5em;
|
|
60
|
+
bottom: 0.5em;
|
|
61
|
+
content: "";
|
|
62
|
+
display: block;
|
|
63
|
+
width: 4px;
|
|
64
|
+
border-radius: 4px;
|
|
65
|
+
background-color: var(--theme-line, #e3e3ee);
|
|
66
|
+
}
|
|
67
|
+
.yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteDeleteBtn {
|
|
68
|
+
position: absolute;
|
|
69
|
+
right: 0;
|
|
70
|
+
top: 0;
|
|
71
|
+
z-index: 1;
|
|
44
72
|
color: var(--theme-text, #252b3a);
|
|
45
|
-
text-align: left;
|
|
46
|
-
margin-bottom: 3px;
|
|
47
|
-
display: flex;
|
|
48
|
-
align-items: baseline;
|
|
49
|
-
gap: 8px;
|
|
50
73
|
}
|
|
51
|
-
.yx-
|
|
74
|
+
.yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteText {
|
|
75
|
+
-webkit-user-select: none;
|
|
76
|
+
-moz-user-select: none;
|
|
77
|
+
-ms-user-select: none;
|
|
78
|
+
user-select: none;
|
|
79
|
+
}
|
|
80
|
+
.yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteText .chatroomInputQuoteTextName {
|
|
52
81
|
color: var(--theme-text, #252b3a);
|
|
53
|
-
font-weight: 500;
|
|
54
|
-
font-size: 16px;
|
|
55
82
|
overflow: hidden;
|
|
56
83
|
text-overflow: ellipsis;
|
|
57
84
|
white-space: nowrap;
|
|
58
85
|
max-width: 100%;
|
|
59
|
-
max-width: 375px;
|
|
60
|
-
}
|
|
61
|
-
.yx-chatCardWrapper .chatCardInfo .chatCardInfoTime {
|
|
62
|
-
color: var(--theme-placeholder, #9c9db4);
|
|
63
|
-
font-size: 14px;
|
|
64
|
-
}
|
|
65
|
-
.yx-chatCardWrapper .chatCardStatus {
|
|
66
|
-
margin-left: 10px;
|
|
67
|
-
}
|
|
68
|
-
.yx-chatCardWrapper .chatCardMainContent.myMsg .textMsg {
|
|
69
|
-
color: var(--theme-light-text, #fff);
|
|
70
|
-
background-color: var(--theme-btn-primary, #000);
|
|
71
|
-
}
|
|
72
|
-
.yx-chatCardWrapper .chatCardMainContent.otherMsg .textMsg {
|
|
73
|
-
background-color: var(--theme-area, #f1f1f8);
|
|
74
|
-
}
|
|
75
|
-
.yx-chatCardWrapper .textMsg {
|
|
76
|
-
font-size: 16px;
|
|
77
|
-
padding: 12px 16px;
|
|
78
|
-
color: var(--theme-text, #252b3a);
|
|
79
|
-
word-break: break-all;
|
|
80
|
-
white-space: pre-wrap;
|
|
81
|
-
text-align: left;
|
|
82
|
-
border-radius: 8px;
|
|
83
|
-
max-width: 100%;
|
|
84
|
-
width: -moz-fit-content;
|
|
85
|
-
width: fit-content;
|
|
86
|
-
}
|
|
87
|
-
.yx-chatCardWrapper .textMsg a {
|
|
88
|
-
color: var(--theme-text, #252b3a) !important;
|
|
89
|
-
}
|
|
90
|
-
.yx-chatCardWrapper .chatCardQuoteMsg {
|
|
91
|
-
margin-top: 8px;
|
|
92
|
-
font-size: 16px;
|
|
93
|
-
padding: 12px 16px;
|
|
94
|
-
background-color: var(--theme-home-tab-bg-color, #f2f2f2);
|
|
95
|
-
border-radius: 8px;
|
|
96
86
|
}
|
|
97
|
-
.yx-
|
|
87
|
+
.yx-chatroomWrapper .chatroomInputQuoteWrapper .chatroomInputQuoteText .chatroomInputQuoteTextBody {
|
|
98
88
|
color: var(--theme-text, #252b3a);
|
|
99
89
|
word-break: break-all;
|
|
100
90
|
white-space: pre-wrap;
|
|
@@ -102,73 +92,135 @@
|
|
|
102
92
|
max-width: 100%;
|
|
103
93
|
width: -moz-fit-content;
|
|
104
94
|
width: fit-content;
|
|
95
|
+
overflow: hidden;
|
|
105
96
|
-webkit-line-clamp: 3;
|
|
106
97
|
-webkit-box-orient: vertical;
|
|
107
98
|
display: -webkit-box;
|
|
108
|
-
overflow: hidden;
|
|
109
99
|
}
|
|
110
|
-
.yx-
|
|
100
|
+
.yx-chatroomWrapper .chatroomInputQuoteWrapper .quoteImg {
|
|
111
101
|
user-drag: none;
|
|
112
102
|
-webkit-user-drag: none;
|
|
103
|
+
pointer-events: none;
|
|
113
104
|
}
|
|
114
|
-
.yx-
|
|
115
|
-
|
|
116
|
-
width:
|
|
117
|
-
|
|
105
|
+
.yx-chatroomWrapper .chatroomInputAttachmentWrapperImg {
|
|
106
|
+
position: relative;
|
|
107
|
+
width: 60px;
|
|
108
|
+
height: 60px;
|
|
109
|
+
overflow: hidden;
|
|
110
|
+
}
|
|
111
|
+
.yx-chatroomWrapper .chatroomInputAttachmentWrapperImg:hover .chatroomInputAttachmentWrapperImgMask {
|
|
112
|
+
display: block;
|
|
113
|
+
}
|
|
114
|
+
.yx-chatroomWrapper .chatroomInputAttachmentWrapperImg:hover .chatroomInputAttachmentDeleteBtn {
|
|
115
|
+
display: block;
|
|
116
|
+
}
|
|
117
|
+
.yx-chatroomWrapper .chatroomInputAttachmentWrapperImg .chatroomInputAttachmentWrapperImgMask {
|
|
118
|
+
position: absolute;
|
|
119
|
+
width: 100%;
|
|
120
|
+
height: 100%;
|
|
121
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
122
|
+
z-index: 1;
|
|
123
|
+
display: none;
|
|
124
|
+
}
|
|
125
|
+
.yx-chatroomWrapper .chatroomInputAttachmentWrapperImg .chatroomInputAttachmentDeleteBtn {
|
|
126
|
+
position: absolute;
|
|
127
|
+
right: 50%;
|
|
128
|
+
top: 50%;
|
|
129
|
+
transform: translateY(-50%) translateX(50%);
|
|
130
|
+
color: var(--theme-text, #252b3a);
|
|
131
|
+
z-index: 1;
|
|
132
|
+
display: none;
|
|
133
|
+
}
|
|
134
|
+
.yx-chatroomWrapper .chatroomInputAttachmentWrapperImg .chatroomInputAttachmentDeleteBtn svg {
|
|
135
|
+
color: #fff;
|
|
136
|
+
}
|
|
137
|
+
.yx-chatroomWrapper {
|
|
138
|
+
--input-controller-height: 34px;
|
|
139
|
+
}
|
|
140
|
+
.yx-chatroomWrapper .chatroomControllerWrapper {
|
|
141
|
+
padding: 12px;
|
|
142
|
+
border-radius: 8px;
|
|
143
|
+
background-color: var(--theme-default-bg, #fff);
|
|
144
|
+
width: 100%;
|
|
145
|
+
color: var(--theme-line, #e3e3ee);
|
|
146
|
+
border: 1px solid var(--theme-line, #e3e3ee);
|
|
147
|
+
box-shadow: var(--theme-chat-input-shadow, 0px 1px 3px 0px rgba(29, 31, 58, 0.0196078431), 0px 2px 6px 0px rgba(29, 31, 58, 0.0196078431), 0px 4px 12px 0px rgba(29, 31, 58, 0.0196078431), 0px 8px 24px 0px rgba(29, 31, 58, 0.0392156863));
|
|
148
|
+
}
|
|
149
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInputWrapper {
|
|
150
|
+
display: flex;
|
|
151
|
+
}
|
|
152
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInputLeft {
|
|
153
|
+
align-self: flex-end;
|
|
154
|
+
min-height: var(--input-controller-height);
|
|
118
155
|
display: flex;
|
|
119
156
|
align-items: center;
|
|
120
|
-
padding: 12px 16px;
|
|
121
|
-
border-radius: 8px;
|
|
122
157
|
}
|
|
123
|
-
.yx-
|
|
124
|
-
|
|
125
|
-
|
|
158
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInputLeft .chatroomButtonSmile {
|
|
159
|
+
width: 28px;
|
|
160
|
+
height: 28px;
|
|
161
|
+
padding: 0;
|
|
162
|
+
}
|
|
163
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomButton {
|
|
126
164
|
display: flex;
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
justify-content: space-between;
|
|
165
|
+
align-items: center;
|
|
166
|
+
justify-content: center;
|
|
130
167
|
}
|
|
131
|
-
.yx-
|
|
132
|
-
|
|
168
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .lineSeparator {
|
|
169
|
+
width: 1px;
|
|
170
|
+
height: 24px;
|
|
171
|
+
background-color: var(--theme-line, #e3e3ee);
|
|
172
|
+
margin-top: 3px;
|
|
173
|
+
margin-bottom: 3px;
|
|
133
174
|
}
|
|
134
|
-
.yx-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
147
|
-
border: 1px solid var(--theme-line, #e3e3ee);
|
|
175
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomButtonArrowUp {
|
|
176
|
+
width: var(--input-controller-height);
|
|
177
|
+
height: var(--input-controller-height);
|
|
178
|
+
padding: 0;
|
|
179
|
+
background-color: var(--theme-btn-primary, #000);
|
|
180
|
+
border-radius: 50%;
|
|
181
|
+
display: flex;
|
|
182
|
+
align-items: center;
|
|
183
|
+
justify-content: center;
|
|
184
|
+
}
|
|
185
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomButtonArrowUp[disabled] {
|
|
186
|
+
background-color: var(--theme-disabled-tag-border1, #cccccc);
|
|
148
187
|
}
|
|
149
|
-
.yx-
|
|
150
|
-
|
|
151
|
-
|
|
188
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomButtonArrowUp [aria-label=arrow-up] {
|
|
189
|
+
color: var(--theme-light-text, #fff);
|
|
190
|
+
}
|
|
191
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput {
|
|
192
|
+
align-self: center;
|
|
193
|
+
flex: 1;
|
|
194
|
+
height: 100%;
|
|
195
|
+
line-height: 100%;
|
|
196
|
+
border-radius: 8px;
|
|
197
|
+
border: none;
|
|
198
|
+
outline: none;
|
|
199
|
+
resize: none;
|
|
152
200
|
color: var(--theme-text, #252b3a);
|
|
153
|
-
|
|
154
|
-
|
|
201
|
+
background-color: var(--theme-default-bg, #fff);
|
|
202
|
+
font-size: 16px;
|
|
155
203
|
}
|
|
156
|
-
.yx-
|
|
157
|
-
|
|
204
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput::-moz-placeholder {
|
|
205
|
+
color: var(--theme-placeholder, #9c9db4);
|
|
158
206
|
}
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
.yx-flash-a-moment .flash-target {
|
|
162
|
-
animation: flash-a-moment 1s ease-in-out 1 forwards;
|
|
207
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput:-ms-input-placeholder {
|
|
208
|
+
color: var(--theme-placeholder, #9c9db4);
|
|
163
209
|
}
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
opacity: 1;
|
|
210
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput::placeholder {
|
|
211
|
+
color: var(--theme-placeholder, #9c9db4);
|
|
167
212
|
}
|
|
168
|
-
|
|
169
|
-
|
|
213
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput:active, .yx-chatroomWrapper .chatroomControllerWrapper .chatroomInput:focus {
|
|
214
|
+
border: none;
|
|
215
|
+
outline: none;
|
|
216
|
+
box-shadow: none;
|
|
170
217
|
}
|
|
171
|
-
|
|
172
|
-
|
|
218
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomController {
|
|
219
|
+
min-height: var(--input-controller-height);
|
|
220
|
+
display: flex;
|
|
221
|
+
align-items: flex-end;
|
|
222
|
+
gap: 12px;
|
|
173
223
|
}
|
|
224
|
+
.yx-chatroomWrapper .chatroomControllerWrapper .chatroomInputUpload .anticon-loading {
|
|
225
|
+
color: var(--theme-text, #252b3a);
|
|
174
226
|
}
|