|
1 /* |
|
2 * Chat application |
|
3 */ |
|
4 |
|
5 #chat-container { |
|
6 position: absolute; |
|
7 width: 250px; |
|
8 height: 270px; |
|
9 z-index: 2; |
|
10 border-left: 1px solid #CDCECF; |
|
11 right: -251px; |
|
12 top: 0; |
|
13 background: #fff; |
|
14 transition-duration: .25s; |
|
15 -webkit-transition-duration: .25s; |
|
16 |
|
17 &:hover, |
|
18 &:hover .chat-list-open-close { |
|
19 border-color: #A7A7A7; |
|
20 } |
|
21 *, |
|
22 :after, |
|
23 :before { |
|
24 box-sizing: content-box; |
|
25 -moz-box-sizing: content-box; |
|
26 -webkit-box-sizing: content-box; |
|
27 } |
|
28 input[type=text] { |
|
29 box-sizing: border-box; |
|
30 -moz-box-sizing: border-box; |
|
31 -webkit-box-sizing: border-box; |
|
32 } |
|
33 &.open { |
|
34 right: 0; |
|
35 top: 0; |
|
36 |
|
37 .chat-list-open-close i:before { |
|
38 content: "\f00d"!important; |
|
39 } |
|
40 .chat-list-open-close b { |
|
41 display: none; |
|
42 } |
|
43 } |
|
44 .chat-list-open-close { |
|
45 display: block; |
|
46 width: 25px; |
|
47 height: 25px; |
|
48 border: 1px solid #CDCECF; |
|
49 border-right: 1px solid #f2f4f8!important; |
|
50 position: absolute; |
|
51 left: -32px; |
|
52 top: 7%; |
|
53 border-radius: 50% 0 0 50%; |
|
54 padding: 3px 1px 3px 5px; |
|
55 font-size: 21px; |
|
56 line-height: 22px; |
|
57 cursor: pointer; |
|
58 color: #868686; |
|
59 -webkit-box-shadow: inset 0 .2em 0 rgba(0, 0, 0, .05); |
|
60 box-shadow: inset 0 .2em 0 rgba(0, 0, 0, .05); |
|
61 background: #f2f4f8; |
|
62 text-align: center; |
|
63 |
|
64 b { |
|
65 position: absolute; |
|
66 right: 0; |
|
67 background: #ed1c24; |
|
68 line-height: 9px; |
|
69 height: 10px; |
|
70 width: 10px; |
|
71 top: 3px; |
|
72 border: 1px solid #FFF; |
|
73 border-radius: 3px; |
|
74 font-size: 9px; |
|
75 text-align: center; |
|
76 vertical-align: middle; |
|
77 color: #fff; |
|
78 font-weight: 400; |
|
79 } |
|
80 } |
|
81 .chat-list-body { |
|
82 height: 217px; |
|
83 overflow-y: scroll; |
|
84 overflow-x: hidden; |
|
85 display: block; |
|
86 padding: 0; |
|
87 box-sizing: border-box; |
|
88 -webkit-box-sizing: border-box; |
|
89 -moz-box-sizing: border-box; |
|
90 background: #f2f4f8; |
|
91 } |
|
92 #chat-users { |
|
93 list-style: none; |
|
94 margin: 10px 0; |
|
95 padding: 0; |
|
96 |
|
97 li { |
|
98 margin-bottom: 3px; |
|
99 margin-left: 5px; |
|
100 |
|
101 a { |
|
102 display: block; |
|
103 font-size: 13px; |
|
104 color: #3d3d3d; |
|
105 text-decoration: none!important; |
|
106 box-sizing: border-box; |
|
107 -webkit-box-sizing: border-box; |
|
108 -moz-box-sizing: border-box; |
|
109 padding: 3px 8px 3px 3px; |
|
110 line-height: 33px; |
|
111 vertical-align: middle; |
|
112 |
|
113 &:hover { |
|
114 background: #e0e4ee; |
|
115 } |
|
116 img { |
|
117 width: 33px; |
|
118 height: auto; |
|
119 margin-right: 10px; |
|
120 } |
|
121 i { |
|
122 color: #ACACAC; |
|
123 font-size: 8px; |
|
124 line-height: 34px; |
|
125 font-style: normal; |
|
126 |
|
127 &.last-online { |
|
128 font-size: 12px; |
|
129 letter-spacing: -1px; |
|
130 } |
|
131 } |
|
132 } |
|
133 } |
|
134 } |
|
135 .chat-list-footer { |
|
136 overflow: hidden; |
|
137 border-top: 1px solid #CCC; |
|
138 padding: 10px; |
|
139 box-sizing: border-box; |
|
140 -webkit-box-sizing: border-box; |
|
141 -moz-box-sizing: border-box; |
|
142 |
|
143 input[type=text] { |
|
144 border: 1px solid #bababa!important; |
|
145 } |
|
146 } |
|
147 .control-group { |
|
148 padding: 0; |
|
149 } |
|
150 } |
|
151 |
|
152 .chat-body { |
|
153 background: #FAFAFA; |
|
154 background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod…EiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); |
|
155 background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fafafa), color-stop(100%, #fff)); |
|
156 background: -webkit-linear-gradient(top, #fafafa 0, #fff 100%); |
|
157 background: -webkit-gradient(linear, top left, bottom left, from(#f5fcff), to(#fff)); |
|
158 background: -webkit-linear-gradient(top, #f5fcff 0, #fff 100%); |
|
159 background: linear-gradient(to bottom, #f5fcff 0, #fff 100%); |
|
160 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fafafa', endColorstr='#ffffff', GradientType=0); |
|
161 -webkit-box-shadow: inset 2px 2px 5px rgba(0, 0, 0, .04); |
|
162 box-shadow: inset 2px 2px 5px rgba(0, 0, 0, .04); |
|
163 display: block; |
|
164 min-height: 270px; |
|
165 overflow-y: scroll; |
|
166 overflow-x: hidden; |
|
167 padding: 10px; |
|
168 box-sizing: border-box; |
|
169 -webkit-box-sizing: border-box; |
|
170 -moz-box-sizing: border-box; |
|
171 border: 1px solid #fff; |
|
172 border-top: 0; |
|
173 |
|
174 ul { |
|
175 margin: 0; |
|
176 padding: 0; |
|
177 } |
|
178 li { |
|
179 &.message { |
|
180 display: block; |
|
181 position: relative; |
|
182 padding: 10px; |
|
183 margin: 2px; |
|
184 |
|
185 &:hover { |
|
186 background-color: #eee; |
|
187 } |
|
188 &.request, |
|
189 &.request:hover { |
|
190 background-color: #e4e4e4; |
|
191 } |
|
192 img, |
|
193 .img { |
|
194 display: inline-block; |
|
195 border-left: 4px solid transparent; |
|
196 position: absolute; |
|
197 |
|
198 &.online { |
|
199 border-left-color: #00a300; |
|
200 } |
|
201 &.offline { |
|
202 border-left-color: #ddd; |
|
203 } |
|
204 &.busy { |
|
205 border-left-color: #A90329; |
|
206 } |
|
207 &.away { |
|
208 border-left-color: #ffc40d; |
|
209 } |
|
210 } |
|
211 .img { |
|
212 width: 35px; |
|
213 padding-top: 7px; |
|
214 text-align: center; |
|
215 } |
|
216 .message-text { |
|
217 display: inline-block; |
|
218 vertical-align: top; |
|
219 box-sizing: border-box; |
|
220 -webkit-box-sizing: border-box; |
|
221 -moz-box-sizing: border-box; |
|
222 padding: 0; |
|
223 margin-left: 50px; |
|
224 line-height: normal; |
|
225 |
|
226 time { |
|
227 font-size: 13px; |
|
228 font-weight: normal; |
|
229 color: #666; |
|
230 } |
|
231 .chat-file { |
|
232 display: block; |
|
233 margin: 3px 0; |
|
234 padding: 4px; |
|
235 border: 1px dotted #ddd; |
|
236 background: rgba(0, 0, 0, .05); |
|
237 border-radius: 4px; |
|
238 text-align: right; |
|
239 box-sizing: border-box; |
|
240 -webkit-box-sizing: border-box; |
|
241 -moz-box-sizing: border-box; |
|
242 |
|
243 &:nth-child(3) { |
|
244 margin-top: 15px; |
|
245 } |
|
246 &.row-fluid [class*=span] { |
|
247 min-height: 10px!important; |
|
248 } |
|
249 b { |
|
250 font-style: italic; |
|
251 white-space: nowrap; |
|
252 width: 250px; |
|
253 overflow: hidden; |
|
254 text-overflow: ellipsis; |
|
255 text-align: left; |
|
256 |
|
257 @media (min-width:768px) and (max-width:880px) { |
|
258 width: 150px; |
|
259 } |
|
260 @media only screen and (min-width:320px) and (max-width:479px) { |
|
261 width: 150px; |
|
262 } |
|
263 @media (max-width:480px) { |
|
264 width: 150px; |
|
265 } |
|
266 } |
|
267 } |
|
268 .username { |
|
269 display: block; |
|
270 font-weight: 700; |
|
271 margin-bottom: 4px; |
|
272 vertical-align: top; |
|
273 line-height: 14px; |
|
274 font-size: 14px; |
|
275 text-decoration: none!important; |
|
276 } |
|
277 } |
|
278 } |
|
279 } |
|
280 } |
|
281 |
|
282 .chat-footer { |
|
283 border-top: 1px solid rgba(0, 0, 0, .1); |
|
284 background: rgba(248, 248, 248, .9); |
|
285 padding: 0 10px 15px; |
|
286 position: relative; |
|
287 box-sizing: border-box; |
|
288 -webkit-box-sizing: border-box; |
|
289 -moz-box-sizing: border-box; |
|
290 } |
|
291 |
|
292 .profile-message { |
|
293 background: none!important; |
|
294 height: auto!important; |
|
295 box-shadow: none!important; |
|
296 -webkit-box-shadow: none!important; |
|
297 overflow: hidden; |
|
298 |
|
299 li.message.message-reply { |
|
300 margin-left: 85px!important; |
|
301 background: #F7F7F7; |
|
302 padding: 10px; |
|
303 margin: 3px 0 0 20px; |
|
304 |
|
305 img { |
|
306 width: 35px!important; |
|
307 } |
|
308 .message-text { |
|
309 margin-left: 45px!important; |
|
310 } |
|
311 } |
|
312 .wall-comment-reply { |
|
313 margin-left: 85px; |
|
314 margin-bottom: 20px; |
|
315 } |
|
316 } |
|
317 |
|
318 .cajita img { |
|
319 width: 23px; |
|
320 height: 23px; |
|
321 padding-left: 3px; |
|
322 padding-top: 3px; |
|
323 } |
|
324 |
|
325 #pageslide { |
|
326 display: none; |
|
327 position: absolute; |
|
328 position: fixed; |
|
329 top: 0; |
|
330 height: 100%; |
|
331 z-index: 999999; |
|
332 width: 305px; |
|
333 padding: 20px; |
|
334 background-color: #004d60; |
|
335 color: #FFF; |
|
336 -webkit-box-shadow: inset 0 0 5px 5px #222; |
|
337 -moz-shadow: inset 0 0 0 0 #222; |
|
338 box-shadow: inset 0 0 0 0 #222; |
|
339 } |
|
340 |
|
341 .purehtml { |
|
342 color: #fff; |
|
343 font-size: 16px; |
|
344 } |