-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
307 lines (248 loc) · 4.63 KB
/
style.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
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
/*
Created on : 16-Aug-2018
Author : Rocah Cruz <[email protected]>
Github : Rocah Cruz <https://github.com/rocahcruz>
*/
body {
background: gray;
overflow-x: hidden;
}
/* .text-center{
text-align: center;
} */
.unique-url {
text-align: center;
display: none;
background: #F1EDED;
margin: 15px -10px;
border: 1px solid rgb(189, 189, 189);
border-left: 0;
border-right: 0;
}
/* Add Animation */
@-webkit-keyframes animatetop {
from {
top: -300px;
opacity: 0
}
to {
top: 0;
opacity: 1
}
}
@keyframes animatetop {
from {
top: -300px;
opacity: 0
}
to {
top: 0;
opacity: 1
}
}
.margin-top-20 {
margin-top: 20px;
}
.margin-top-50 {
margin-top: 50px;
}
.pointer {
cursor: pointer;
}
/* CHAT PANE */
#typingInfo {
font-size: 10px;
color: #3a87ad;
}
.col-md-4,
.col-md-10 {
padding: 0;
}
.chat-pane-panel {
margin-bottom: 0px;
}
.chat-window {
bottom: 0;
position: fixed;
}
.chat-pane-panel {
border-radius: 5px 5px 0 0;
}
.icon_minim {
padding: 2px 10px;
}
.msg_container_base {
background: #e5e5e5;
margin: 0;
padding: 0 10px 10px;
max-height: 300px;
overflow-x: hidden;
display: none;
}
.chat-pane-top-bar {
background: #666;
color: white;
position: relative;
overflow: hidden;
}
.msg_receive {
padding-left: 0;
margin-left: 0;
}
.msg_sent {
padding-bottom: 20px !important;
margin-right: 0;
}
.messages {
background: white;
padding: 10px;
border-radius: 2px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
max-width: 100%;
}
.messages>p {
font-size: 13px;
margin: 0 0 0.2rem 0;
word-wrap: break-word
}
.messages>time {
font-size: 11px;
color: #ccc;
}
.msg_container {
padding: 10px;
overflow: hidden;
display: flex;
}
.chat-pane-img {
display: block;
width: 100%;
}
.chat-avatar {
position: relative;
}
.base_receive>.chat-avatar:after {
content: "";
position: absolute;
top: 0;
right: 0;
width: 0;
height: 0;
border: 5px solid #FFF;
border-left-color: rgba(0, 0, 0, 0);
border-bottom-color: rgba(0, 0, 0, 0);
}
.base_sent {
justify-content: flex-end;
align-items: flex-end;
}
.base_sent>.chat-avatar:after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 0;
border: 5px solid white;
border-right-color: transparent;
border-top-color: transparent;
box-shadow: 1px 1px 2px rgba(black, 0.2);
/*not quite perfect but close*/
}
.msg_sent>time {
float: right;
}
.msg_container_base::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
background-color: #F5F5F5;
}
.msg_container_base::-webkit-scrollbar {
width: 12px;
background-color: #F5F5F5;
}
.msg_container_base::-webkit-scrollbar-thumb {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
background-color: #555;
}
/* _CHAT PANE */
/* Center items */
.make-center {
margin-left: auto;
margin-right: auto;
}
/* _Center items */
/* SNACKBAR */
/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
visibility: hidden;
/* Hidden by default. Visible on click */
min-width: 250px;
/* Set a default minimum width */
margin-left: -125px;
/* Divide value of min-width by 2 */
background-color: rgba(158, 31, 99, 0.9);
/* background color */
color: #fff;
/* White text color */
text-align: center;
/* Centered text */
border-radius: 2px;
/* Rounded borders */
padding: 16px;
/* Padding */
position: fixed;
/* Sit on top of the screen */
z-index: 1;
/* Add a z-index if needed */
right: 2%;
/* Right the snackbar */
top: 25%;
/* 25% from the top */
}
/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
visibility: visible;
/* Show the snackbar */
}
/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
from {
right: 2%;
opacity: 0;
}
to {
top: 25%;
opacity: 1;
}
}
@keyframes fadein {
from {
right: 2%;
opacity: 0;
}
to {
top: 25%;
opacity: 1;
}
}
@-webkit-keyframes fadeout {
from {
top: 25%;
opacity: 1;
}
to {
right: 2%;
opacity: 0;
}
}
@keyframes fadeout {
from {
top: 25%;
opacity: 1;
}
to {
right: 2%;
opacity: 0;
}
}
/* _SNACKBAR */