Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

307
LINES

< > BotCompany Repo | #1008309 // CSS for chat popup

Document

1  
@import url(https://fonts.googleapis.com/css?family=Oswald:400,300);
2  
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
3  
/*body
4  
{
5  
    font-family: 'Open Sans', sans-serif;
6  
    }*/
7  
.popup-box {
8  
   background-color: #ffffff;
9  
    border: 1px solid #b0b0b0;
10  
    bottom: 0;
11  
    display: none;
12  
    height: 415px;
13  
    position: fixed;
14  
    right: 70px;
15  
    width: 300px;
16  
    font-family: 'Open Sans', sans-serif;
17  
    display: none; /* initial hide */
18  
}
19  
.round.hollow {
20  
    margin: 40px 0 0;
21  
}
22  
.round.hollow a {
23  
    border: 2px solid #ff6701;
24  
    border-radius: 35px;
25  
    color: red;
26  
    color: #ff6701;
27  
    font-size: 23px;
28  
    padding: 10px 21px;
29  
    text-decoration: none;
30  
    font-family: 'Open Sans', sans-serif;
31  
}
32  
.round.hollow a:hover {
33  
    border: 2px solid #000;
34  
    border-radius: 35px;
35  
    color: red;
36  
    color: #000;
37  
    font-size: 23px;
38  
    padding: 10px 21px;
39  
    text-decoration: none;
40  
}
41  
.popup-box-on {
42  
    display: block !important;
43  
}
44  
.popup-box .popup-head {
45  
    background-color: #fff;
46  
    clear: both;
47  
    color: #7b7b7b;
48  
    display: inline-table;
49  
    font-size: 21px;
50  
    padding: 7px 10px;
51  
    width: 100%;
52  
     font-family: Oswald;
53  
}
54  
.bg_none i {
55  
    border: 1px solid #ff6701;
56  
    border-radius: 25px;
57  
    color: #ff6701;
58  
    font-size: 17px;
59  
    height: 33px;
60  
    line-height: 30px;
61  
    width: 33px;
62  
}
63  
.bg_none:hover i {
64  
    border: 1px solid #000;
65  
    border-radius: 25px;
66  
    color: #000;
67  
    font-size: 17px;
68  
    height: 33px;
69  
    line-height: 30px;
70  
    width: 33px;
71  
}
72  
.bg_none {
73  
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
74  
    border: medium none;
75  
}
76  
.popup-box .popup-head .popup-head-right {
77  
    margin: 11px 7px 0;
78  
}
79  
.popup-box .popup-messages {
80  
}
81  
.popup-head-left img {
82  
    border: 1px solid #7b7b7b;
83  
    border-radius: 50%;
84  
    width: 44px;
85  
}
86  
.popup-messages-footer > textarea {
87  
    border-bottom: 1px solid #b2b2b2 !important;
88  
    height: 34px !important;
89  
    margin: 7px;
90  
    padding: 5px !important;
91  
     border: medium none;
92  
    width: 95% !important;
93  
}
94  
.popup-messages-footer {
95  
    background: #fff none repeat scroll 0 0;
96  
    bottom: 0;
97  
    position: absolute;
98  
    width: 100%;
99  
}
100  
.popup-messages-footer .btn-footer {
101  
    overflow: hidden;
102  
    padding: 2px 5px 10px 6px;
103  
    width: 100%;
104  
}
105  
.simple_round {
106  
    background: #d1d1d1 none repeat scroll 0 0;
107  
    border-radius: 50%;
108  
    color: #4b4b4b !important;
109  
    height: 21px;
110  
    padding: 0 0 0 1px;
111  
    width: 21px;
112  
}
113  
114  
115  
116  
117  
118  
.popup-box .popup-messages {
119  
    background: #3f9684 none repeat scroll 0 0;
120  
    height: 275px;
121  
    overflow: auto;
122  
}
123  
.direct-chat-messages {
124  
    overflow: auto;
125  
    padding: 10px;
126  
    transform: translate(0px, 0px);
127  
    
128  
}
129  
.popup-messages .chat-box-single-line {
130  
    border-bottom: 1px solid #a4c6b5;
131  
    height: 12px;
132  
    margin: 7px 0 20px;
133  
    position: relative;
134  
    text-align: center;
135  
}
136  
.popup-messages abbr.timestamp {
137  
    background: #3f9684 none repeat scroll 0 0;
138  
    color: #fff;
139  
    padding: 0 11px;
140  
}
141  
142  
.popup-head-right .btn-group {
143  
    display: inline-flex;
144  
  margin: 0 8px 0 0;
145  
  vertical-align: top !important;
146  
}
147  
.chat-header-button {
148  
    background: transparent none repeat scroll 0 0;
149  
    border: 1px solid #636364;
150  
    border-radius: 50%;
151  
    font-size: 14px;
152  
    height: 30px;
153  
    width: 30px;
154  
}
155  
.popup-head-right .btn-group .dropdown-menu {
156  
    border: medium none;
157  
    min-width: 122px;
158  
  padding: 0;
159  
}
160  
.popup-head-right .btn-group .dropdown-menu li a {
161  
    font-size: 12px;
162  
    padding: 3px 10px;
163  
  color: #303030;
164  
}
165  
166  
.popup-messages abbr.timestamp {
167  
    background: #3f9684  none repeat scroll 0 0;
168  
    color: #fff;
169  
    padding: 0 11px;
170  
}
171  
.popup-messages .chat-box-single-line {
172  
    border-bottom: 1px solid #a4c6b5;
173  
    height: 12px;
174  
    margin: 7px 0 20px;
175  
    position: relative;
176  
    text-align: center;
177  
}
178  
.popup-messages .direct-chat-messages {
179  
    height: auto;
180  
}
181  
.popup-messages .direct-chat-text {
182  
    background: #dfece7 none repeat scroll 0 0;
183  
    border: 1px solid #dfece7;
184  
    border-radius: 2px;
185  
    color: #1f2121;
186  
}
187  
188  
.popup-messages .direct-chat-timestamp {
189  
    color: #fff;
190  
    opacity: 0.6;
191  
}
192  
193  
.popup-messages .direct-chat-name {
194  
  font-size: 15px;
195  
  font-weight: 600;
196  
  margin: 0 0 0 49px !important;
197  
  color: #fff;
198  
  opacity: 0.9;
199  
}
200  
.popup-messages .direct-chat-info {
201  
    display: block;
202  
    font-size: 12px;
203  
    margin-bottom: 0;
204  
}
205  
.popup-messages  .big-round {
206  
    margin: -9px 0 0 !important;
207  
}
208  
.popup-messages  .direct-chat-img {
209  
    border: 1px solid #fff;
210  
  background: #3f9684  none repeat scroll 0 0;
211  
    border-radius: 50%;
212  
    float: left;
213  
    height: 40px;
214  
    margin: -21px 0 0;
215  
    width: 40px;
216  
}
217  
.direct-chat-reply-name {
218  
    color: #fff;
219  
    font-size: 15px;
220  
    margin: 0 0 0 10px;
221  
    opacity: 0.9;
222  
}
223  
224  
.direct-chat-img-reply-small
225  
{
226  
    border: 1px solid #fff;
227  
    border-radius: 50%;
228  
    float: left;
229  
    height: 20px;
230  
    margin: 0 8px;
231  
    width: 20px;
232  
  background:#3f9684;
233  
}
234  
235  
.popup-messages .direct-chat-msg {
236  
    margin-bottom: 10px;
237  
    position: relative;
238  
}
239  
240  
.popup-messages .doted-border::after {
241  
  background: transparent none repeat scroll 0 0 !important;
242  
    border-right: 2px dotted #fff !important;
243  
  bottom: 0;
244  
    content: "";
245  
    left: 17px;
246  
    margin: 0;
247  
    position: absolute;
248  
    top: 0;
249  
    width: 2px;
250  
   display: inline;
251  
    z-index: -2;
252  
}
253  
254  
.popup-messages .direct-chat-msg::after {
255  
    background: #fff none repeat scroll 0 0;
256  
    border-right: medium none;
257  
    bottom: 0;
258  
    content: "";
259  
    left: 17px;
260  
    margin: 0;
261  
    position: absolute;
262  
    top: 0;
263  
    width: 2px;
264  
   display: inline;
265  
    z-index: -2;
266  
}
267  
.direct-chat-text::after, .direct-chat-text::before {
268  
   
269  
    border-color: transparent #dfece7 transparent transparent;
270  
    
271  
}
272  
.direct-chat-text::after, .direct-chat-text::before {
273  
    -moz-border-bottom-colors: none;
274  
    -moz-border-left-colors: none;
275  
    -moz-border-right-colors: none;
276  
    -moz-border-top-colors: none;
277  
    border-color: transparent #d2d6de transparent transparent;
278  
    border-image: none;
279  
    border-style: solid;
280  
    border-width: medium;
281  
    content: " ";
282  
    height: 0;
283  
    pointer-events: none;
284  
    position: absolute;
285  
    right: 100%;
286  
    top: 15px;
287  
    width: 0;
288  
}
289  
.direct-chat-text::after {
290  
    border-width: 5px;
291  
    margin-top: -5px;
292  
}
293  
.popup-messages .direct-chat-text {
294  
    background: #dfece7 none repeat scroll 0 0;
295  
    border: 1px solid #dfece7;
296  
    border-radius: 2px;
297  
    color: #1f2121;
298  
}
299  
.direct-chat-text {
300  
    background: #d2d6de none repeat scroll 0 0;
301  
    border: 1px solid #d2d6de;
302  
    border-radius: 5px;
303  
    color: #444;
304  
    margin: 5px 0 0 50px;
305  
    padding: 5px 10px;
306  
    position: relative;
307  
}

download  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1008309
Snippet name: CSS for chat popup
Eternal ID of this version: #1008309/3
Text MD5: 55f84745bdca168028e8951a46a1f5c7
Author: stefan
Category: javax / homepage
Type: Document
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-30 15:12:07
Source code size: 6881 bytes / 307 lines
Pitched / IR pitched: No / No
Views / Downloads: 586 / 476
Version history: 2 change(s)
Referenced in: [show references]