-
Notifications
You must be signed in to change notification settings - Fork 0
/
cheshire-cat-chat-widget.css
117 lines (76 loc) · 1.58 KB
/
cheshire-cat-chat-widget.css
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
#cheshire-cat-chat-widget {
position: fixed;
right: 20px;
bottom: 20px;
z-index: 1000;
display: flex;
flex-direction: column;
justify-content: space-between;
background-color: #F6F2EC;
width: 400px;
height: 600px;
padding: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
border-radius: 5px;
}
.ccat-message {
padding: 5px;
margin: 5px;
margin-bottom: 8px;
background-color: white;
}
#ccat-history {
overflow-y: scroll;
scroll-behavior: smooth;
}
#ccat-history::-webkit-scrollbar {
width: 5px;
background: transparent;
}
#ccat-history::-webkit-scrollbar-thumb {
background: #BBB;
border-radius: 3px;
height: 10px;
}
#ccat-toolbar {
display: flex;
justify-content: space-between;
padding: 5px;
}
#ccat-query {
width: 100%;
}
#ccat-send-button {}
#ccat-credits {
position: relative;
display: flex;
justify-content: center;
width: 100%;
}
#ccat-credits img {
width: 50%;
}
/* RESPONSIVITY */
@media only screen and (max-width: 600px) {
body {
margin: 0px;
}
#cheshire-cat-chat-widget {
/* TODO: this is not right */
position: absolute;
top: 0px;
left: 0px;
bottom: 0px;
right: 0px;
width: 100vw;
height: 100vh;
z-index: 1000;
display: flex;
flex-direction: column;
justify-content: space-between;
background-color: pink;
padding: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
border-radius: 5px;
}
}