Repository navigation
Expand file tree
/
Copy pathstart-chat-bubble.html
More file actions
348 lines (287 loc) · 11.8 KB
/
Copy pathstart-chat-bubble.html
File metadata and controls
348 lines (287 loc) · 11.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Theme generator</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
html,
body {
background-color: #c7c7c7;
}
</style>
<link rel="stylesheet" crossorigin="anonymous" href="css/page-css.css">
</head>
<body>
<h3>Start chat. UI</h3>
<iframe id="lhc_widget_v2" role="presentation" translate="yes" class="notranslate lhc-desktop lhc-mode-widget"
style="box-shadow: none; overflow: visible; inset: auto 30px 30px auto; color-scheme: light; z-index: 2147483640; border-radius: unset; height: 450px; min-height: 450px; max-height: 450px; width: 350px; min-width: 350px; max-width: 350px; outline: none !important; visibility: visible !important; resize: none !important; background: none transparent !important; opacity: 1 !important; border: 0px !important; padding: 0px !important; margin: 0px !important; transition-property: none !important; transform: none !important; cursor: auto !important; float: none !important; display: block !important;"></iframe>
<template id="lhc-widget-source">
<html lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="googlebot" content="notranslate">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<style type="text/css">
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent
}
body {
line-height: 1
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
display: block
}
nav ul {
list-style: none
}
blockquote,
q {
quotes: none
}
blockquote:before,
blockquote:after,
q:before,
q:after {
content: '';
content: none
}
a {
margin: 0;
padding: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent
}
ins {
background-color: #ff9;
color: #000;
text-decoration: none
}
mark {
background-color: #ff9;
color: #000;
font-style: italic;
font-weight: bold
}
del {
text-decoration: line-through
}
abbr[title],
dfn[title] {
border-bottom: 1px dotted;
cursor: help
}
table {
border-collapse: collapse;
border-spacing: 0
}
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
margin: 1em 0;
padding: 0
}
input,
select {
vertical-align: middle
}
html,
body {
height: 100% !important;
min-height: 100% !important;
max-height: 100% !important;
width: 100% !important;
min-width: 100% !important;
max-width: 100% !important;
}
body {
display: flex;
flex-direction: column;
background: transparent;
font: 13px Helvetica, Arial, sans-serif;
position: relative
}
.clear {
clear: both
}
.clearfix:after {
content: '';
display: block;
height: 0;
clear: both;
visibility: hidden
}
*,
::after,
::before {
box-sizing: border-box;
}
</style>
<link rel="preload" crossorigin="anonymous" as="font" type="font/woff"
href="fonts/MaterialIcons-lhc-v9.woff2">
<!-- Theme CSS is generated from themes/<slug>.json by theme.php (bubble + colour
rules + custom_widget_css). It replaces the old core-bubble.css + core-override.css
pair, so an edited theme attribute shows up here without a generated file to sync. -->
<link rel="stylesheet" crossorigin="anonymous" href="theme.php">
<link rel="stylesheet" crossorigin="anonymous" href="css/core.css">
</head>
<body id="chat-widget">
<div id="root" class="container-fluid d-flex flex-column flex-grow-1 fade-in lhc-desktop lhc-widget-loaded">
<div id="widget-header-content" class="position-relative row header-chat desktop-header online-header">
<div class="col-12 px-1 widget-header-menu"><a tabindex="0"
class="minimize-icon header-link float-start" title="Minimize"><i
class="material-icons"></i></a><a tabindex="0" class="header-link float-end"
title="Popup"><i class="material-icons"></i></a></div>
</div>
<div class="d-flex flex-column flex-grow-1 reset-container-margins widget-body desktop-body start-chat">
<div id="lhc-profile-body">
<div id="chat-status-container" class="p-2 border-bottom">
<div class="operator-info d-flex">
<div class="align-self-center op-photo">
<i class="icon-assistant material-icons">
</i>
</div>
<div class="p-1 ps-2 w-100 operator-profile-content">
<span class="fst-italic operator-profile-start-chat">Have a question? Ask us!</span>
</div>
</div>
</div>
</div>
<div class="flex-grow-1 overflow-scroll position-relative" id="messagesBlock">
<div class="bottom-message px-1" id="messages-scroll">
<div id="msg-" data-op-id="-2" title="10:11:31"
class="message-row message-admin index-row-0">
<span class="usr-tit op-tit">
<i title="zukunftsraum-demografie"
class="material-icons chat-operators mi-fs15 me-0"> </i>
<span class="op-nick-title">zukunftsraum-demografie</span>
</span>
<div class="msg-body">
<b style="color: red;">Willkommen!</b> Ich bin Ihr KI-Assistent für demografische
Fragen. Wie kann ich helfen?
</div>
<div class="meta-message meta-message-2994">
<ul class="quick-replies list-inline meta-auto-hide mb-0">
<li class="list-inline-item"><button type="button"
data-payload="d41d8cd98f00b204__2f9baeabc852cb1a" data-id="2994"
class="btn btn-sm btn-outline-primary btn-bot ">Demo button</button>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="d-flex flex-row border-top position-relative message-send-area">
<div class="disable-select ps-1 ps-1 d-flex flex-column justify-content-end align-items-stretch"
id="chat-dropdown-options-wrapper"><button title="Emojis" type="button"
class="border-0 p-0 material-icons settings text-muted bbcode-ico"
id="chat-dropdown-options" role="button" tabindex="0"></button></div>
<div class="mx-auto w-100"><textarea aria-label="Type your message here..." id="CSChatMessage"
rows="1" maxlength="1000"
class="ps-0 no-outline form-control rounded-0 form-control rounded-start-0 rounded-end-0 border-0"
placeholder="Your message..."></textarea></div>
<div class="disable-select d-flex flex-column justify-content-end align-items-stretch"
id="send-button-wrapper">
<div class="user-chatwidget-buttons pe-1" id="ChatSendButtonContainer"><a tabindex="0"
title="Start a chat"><i
class="send-icon material-icons settings me-0 text-muted-light"></i></a></div>
</div>
</div>
</div>
</div>
</body>
</html>
</template>
<script>
document.getElementById('lhc_widget_v2').srcdoc = document.getElementById('lhc-widget-source').innerHTML;
</script>
sssss
</body>
</html>