-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchat-widget.css
More file actions
73 lines (73 loc) · 1.39 KB
/
chat-widget.css
File metadata and controls
73 lines (73 loc) · 1.39 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
.chat-widget{
position:fixed;
bottom:10px;
right:15px;
width:60px;
height:60px;
border-radius:50%;
background-color:transparent;
overflow: hidden;
display:flex;
justify-content:center;
align-items:center;
cursor:pointer;
box-shadow:0 2px 4px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.18);
z-index:1000
}
.chat-widget img{
width:60px;
height:60px;
border-radius: 50%;
object-fit: cover;
padding: 0px
}
.chat-iframe-container {
position: fixed;
bottom: 95px;
right: 35px;
border-radius: 10px;
padding: 0px;
box-shadow: 0 2px 4px rgba(0,0,0,.12), 0 2px 4px rgba(0,0,0,.18);
z-index: 1000;
display: none;
}
@media (max-width: 767px) {
.chat-iframe-container {
width: 90vw; /* 90% of the viewport width */
height: 80vh; /* 80% of the viewport height */
bottom: 10px;
right: 10px;
}
}
.chat-iframe-container iframe{
width:100%;
height:100%;
border:none;
border-radius:10px;
}
.close-button{
position:absolute;
top:-12px;
right:-12px;
width:24px;
height:24px;
border-radius:50%;
background-color:#000;
color:#fff;
display:flex;
justify-content:center;
align-items:center;
cursor:pointer;
font-size:18px;
font-weight:bold;
box-shadow:0 2px 4px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.18);
}
@media (max-width:767px){
.chat-iframe-container{
width:90%;
height:90%;
bottom:10px;
right:10px;
padding:0px
}
}