Repository navigation
Expand file tree
/
Copy pathstarted-chat-bubble.html
More file actions
524 lines (368 loc) · 17.8 KB
/
Copy pathstarted-chat-bubble.html
File metadata and controls
524 lines (368 loc) · 17.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
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
<!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: #f9ecec;
}
</style>
<link rel="stylesheet" crossorigin="anonymous" href="css/page-css.css">
</head>
<body>
<h3>Started chat. Bubble style messages.</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-started-bubble">
<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 online-chat online-chat-status-1">
<div id="chat-status-container" class="p-2 border-bottom live-status-1">
<div class="operator-info d-flex">
<div class="align-self-center op-photo">
<img width="48" height="48" alt="Chat nickname main"
src="https://livehelperchat.com/design/frontendnew/images/lhc/profile_2.png">
</div>
<div class="p-1 ps-2 operator-profile-content">
<div>
<span class="fw-bold op-name-widget">
Chat nickname main </span>
<span class="op-job-title-sep">, </span><span class="fst-italic op-job-title">Job title goes here</span>
</div>
<i role="button" data-id="1" class="material-icons up-vote-action"></i>
<i role="button" data-id="2" class="material-icons down-vote-action"></i>
</div>
</div>
</div>
<div class="flex-grow-1 overflow-scroll position-relative" id="messagesBlock">
<div class="bottom-message px-1" id="messages-scroll" style="font-size: 100%;">
<div id="msg-500195839" data-op-id="0"
class="message-row response fade-in-fast index-row-0">
<span title="Edit nick" class="usr-tit vis-tit">
<i title="Visitor"
class="vis-icon-hld material-icons chat-operators mi-fs15 me-0"></i>
<span class="user-nick-title">Visitor</span>
</span>
<div class="msg-body">
Started chat
</div>
</div>
<div id="msg-500195841" data-op-id="1" title="09:15:28"
class="message-row message-admin operator-changes fade-in-fast index-row-0">
<span class="usr-tit op-tit">
<i title="Chat nickname main" class="chat-operators mi-fs15 me-0">
<img alt="" class="profile-msg-pic"
src="https://livehelperchat.com/design/frontendnew/images/lhc/profile_2.png">
</i>
</span>
<div class="msg-body">
Operator message
</div>
</div>
<div id="msg-500195842" data-op-id="0"
class="message-row response fade-in-fast index-row-0">
<span title="Edit nick" class="usr-tit vis-tit">
<i title="Visitor"
class="vis-icon-hld material-icons chat-operators mi-fs15 me-0"></i>
<span class="user-nick-title">Visitor</span>
</span>
<div class="msg-body">
Visitor message
</div>
</div>
<div id="msg-500195843" data-op-id="0"
class="message-row response fade-in-fast index-row-0">
<span title="Edit nick" class="usr-tit vis-tit">
<i title="Visitor"
class="vis-icon-hld material-icons chat-operators mi-fs15 me-0"></i>
<span class="user-nick-title">Visitor</span>
</span>
<div class="msg-body">
Another vistior message
</div>
</div>
<div id="msg-500195844" data-op-id="1" title="09:16:37"
class="message-row message-admin operator-changes fade-in-fast index-row-0">
<span class="usr-tit op-tit">
<i title="Chat nickname main" class="chat-operators mi-fs15 me-0">
<img alt="" class="profile-msg-pic"
src="https://livehelperchat.com/design/frontendnew/images/lhc/profile_2.png">
</i>
</span>
<div class="msg-body">
Operator message
</div>
</div>
<div id="msg-500195845" data-op-id="1" title="09:16:50"
class="message-row message-admin fade-in-fast index-row-0">
<span class="usr-tit op-tit">
<i title="Chat nickname main" class="chat-operators mi-fs15 me-0">
<img alt="" class="profile-msg-pic"
src="https://livehelperchat.com/design/frontendnew/images/lhc/profile_2.png">
</i>
</span>
<div class="msg-body">
Another operator message
</div>
</div>
</div>
</div>
<div class="d-flex flex-row border-top position-relative message-send-area">
<div id="id-operator-typing" class="bg-white ps-1">Chat nickname main dabar rašo...</div>
<div class="btn-group dropup disable-select ps-1 d-flex flex-column justify-content-end align-items-stretch"
id="chat-dropdown-options-wrapper"><button type="button"
class="border-0 p-0 material-icons settings text-muted" id="chat-dropdown-options"
data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
<div class="dropdown-menu shadow bg-white rounded lhc-dropdown-menu ms-1 ">
<div class="d-flex flex-row ps-1"><a tabindex="0"
title="Enable/Disable sound about new messages from the operator"><i
class="material-icons chat-setting-item text-muted sound-on-ico"></i></a><a
tabindex="0" target="_blank"
href="https://livehelperchat.com/#"
title="Print"><i
class="material-icons chat-setting-item text-muted print-ico"></i></a><a
tabindex="0" target="_blank"
href="https://livehelperchat.com/#"
title="Download as txt"><i
class="material-icons chat-setting-item text-muted download-ico"></i></a><input
id="fileupload" multiple="" class="d-none" type="file" name="files[]"><a
tabindex="0" title="Attachment" class="file-uploader"><i
class="material-icons chat-setting-item text-muted attach-ico"></i></a><a
tabindex="0" title="Voice call"><i
class="material-icons chat-setting-item text-muted voice-ico"></i></a><a
tabindex="0" title="Emojis"><i
class="material-icons chat-setting-item text-muted bbcode-ico"></i></a><a
tabindex="0" title="Send chat to your email!"><i
class="material-icons chat-setting-item text-muted mail-ico"></i></a><a
tabindex="0" title="End chat"><i
class="material-icons chat-setting-item text-muted close-ico"></i></a>
</div>
</div>
</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="Send a message"><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-started-bubble').innerHTML;
</script>
</body>
</html>