making it librejs compliant
[KiwiIRC.git] / client / assets / themes / basic / style.css
1 #kiwi {
2 background: url(background-light.png) left top repeat-x #E3E3E3;
3 color: #555555;
4 }
5 #kiwi,
6 #kiwi input,
7 #kiwi button,
8 #kiwi textarea {
9 font-family:Arial, Helvetica, sans-serif;
10 font-size:14px; line-height:1.4em;
11 }
12 #kiwi button, #kiwi input { padding: 3px 7px; }
13 #kiwi input, #kiwi textarea {
14 box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5),0 1px 0px rgba(255, 255, 255, 0.3);
15 border: none;
16 border-radius: 3px;
17 }
18 #kiwi button {
19 border-radius: 2px;
20 border: none;
21 background: #8ab746;
22 cursor: pointer;
23 color: #1b1b1b;
24 }
25 #kiwi button:disabled { color: #464646; background:#9cc164; }
26
27 #kiwi .toolbar {
28 background-color:#1B1B1B; font-size:0.9em;
29 }
30 #kiwi .controlbox { background-color:#1B1B1B; }
31 #kiwi .memberlists_resize_handle {
32 /*display:none; width:0;*/
33 }
34
35 #kiwi .toolbar .connections { list-style: none; }
36 #kiwi .toolbar .panellist {
37 background: #2b2b2b;
38 color: #a5a5a5;
39 margin: 5px 0 0 5px;
40 float: left;
41 }
42 #kiwi .toolbar .panellist li {
43 line-height: 1.4em;
44 vertical-align: middle;
45
46 display: list-item;
47 float: left;
48 border: none;
49 background: none;
50 padding: 8px;
51 margin: 0;
52 }
53
54 #kiwi .toolbar .tabs { margin-right:0 !important; }
55 #kiwi .toolbar .panellist .alert_highlight { font-weight:bold; color:red; }
56 #kiwi .toolbar .panellist .alert_activity { font-weight:normal; color:green; }
57 #kiwi .toolbar .panellist .alert_action { font-weight:normal; color:green; }
58
59 #kiwi .toolbar .panellist .active { padding-right:25px; border-top:2px solid #df6b26; border-bottom:none; }
60 #kiwi .toolbar .panellist li .part {}
61 #kiwi .toolbar .panellist li .part:before { content:"[x]"; }
62
63 #kiwi .toolbar .panellist li.server span { padding-left: 5px; }
64 #kiwi.connected .toolbar .panellist li.server:before { content: "\f0ec"; color:#3F9532; }
65 #kiwi .toolbar .panellist li.server:before { content: "\f06a"; color:#900; font-size:1.5em; line-height:1em; vertical-align:middle; }
66
67
68 /* Tab texts are within a span */
69 #kiwi .toolbar .panellist li span { line-height:20px; vertical-align:middle; display:inline-block; }
70
71 #kiwi .toolbar .panellist li .activity { display:inline; margin-left:0.5em; font-style:italic; font-size:0.8em; }
72 #kiwi .toolbar .panellist.applets li .activity { display: none; }
73 #kiwi .toolbar .panellist li .activity:before { content:"("; }
74 #kiwi .toolbar .panellist li .activity:after { content:")"; }
75
76 #kiwi .status_message {
77 background: #FEEFB3; color: #9F6000;
78 border-bottom: 1px solid #d7bb71;
79 padding: 0.9em;
80 text-align: center; font-size:1.1em;
81 }
82 #kiwi .status_message.err { color:#D8000C; background:#FFBABA; }
83
84 #kiwi .channel_tools {
85 margin-bottom: 5px;
86 padding: 0 5%;
87 background: #DADADA;
88 }
89 #kiwi .channel_tools i {
90 width: 30%;
91 font-size: 1.6em;
92 line-height: 1.6em;
93 }
94 #kiwi .channel_tools i:hover {
95 transition: color 0.3s;
96 color: #88C56A;
97 }
98
99 #kiwi .messages { }
100 #kiwi .messages.active { }
101 #kiwi .messages a { text-decoration:underline; }
102
103 #kiwi .messages .msg { border: none; padding: 2px 5px; }
104 #kiwi .messages .msg > div { font-family: Consolas, "Lucida Console", monospace; font-size:0.9em; }
105 #kiwi .messages .msg .time { display:none; margin-right:1em; margin-left:2px; color:gray; }
106 #kiwi .messages .msg .nick { display:inline; margin-right:1em; }
107 #kiwi .messages .msg .nick:before { content:"<"; }
108 #kiwi .messages .msg .nick:after { content:">"; }
109 #kiwi .messages .msg .text { white-space:pre-wrap; word-wrap:break-word; color:#1e1e1e; }
110
111 #kiwi .messages .msg.action .nick,
112 #kiwi .messages .msg.static .nick,
113 #kiwi .messages .msg.topic { margin: 5px; background: #FFF5AB; border: 1px solid #F3C572; border-radius: 5px; }
114 #kiwi .messages .msg.topic .time { display:none; }
115 #kiwi .messages .msg.topic .nick { display:none; }
116 #kiwi .messages .msg.topic .text { color:#009900; margin-left:0; font-style: italic; border:none; }
117
118 #kiwi .messages .msg.action .text { color:#009900; font-style:italic; }
119 #kiwi .messages .msg.action.join { color:#009900; }
120 #kiwi .messages .msg.action.part .text { color:#900; }
121 #kiwi .messages .msg.action.quit .text { color:#900; }
122 #kiwi .messages .msg.action.kick .text { color:#900; }
123
124 #kiwi .messages .msg.motd { border:none; }
125 /*#kiwi .messages .msg.motd .nick { display:none; }*/
126 #kiwi .messages .msg.motd .text { color:#666; }
127 #kiwi .messages .msg.whois .nick { font-weight:normal; }
128 #kiwi .messages .msg.whois .text { padding-left:1em; border-left:1px dashed #999; }
129 #kiwi .messages .msg.error .text {
130 border:1px solid #A33F3F; background-color:#D28A8A;
131 padding:0.5em; margin-top:1em; margin-bottom:1em; margin-right:2em;
132 }
133
134 #kiwi.timestamps .messages .msg .time { display:inline; }
135 #kiwi.timestamps .messages .msg .text { }
136
137 #kiwi .messages .msg.global_nick_highlight,
138 #kiwi .messages .msg.highlight { background:#D9D9D9; }
139
140 /* Narrow styling (window width < 400px) */
141 #kiwi.narrow .messages .msg .nick { width: auto; }
142 #kiwi.narrow .messages .msg .text { margin-left: 1em; border:none; }
143 #kiwi.narrow .messages .msg.action .text { margin-left: 1em; }
144
145 #kiwi .messages .msg .media { margin-left:0.5em; }
146 #kiwi .messages .msg .media a { text-decoration:none; }
147 #kiwi .messages .msg .media .media_close { font-size:0.9em; }
148 #kiwi .messages .msg .media .media_content { margin:10px 0 0 2em; overflow:hidden; }
149 #kiwi .messages .msg .media .media_content img { padding:3px; border:1px solid gray; }
150 #kiwi .messages .msg .media .media_content > .content {
151 background: white;
152 overflow: hidden;
153 padding: 10px;
154 border: #DDD 1px solid;
155 border-top-color: #EEE;
156 border-bottom-color: #BBB;
157 -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
158 -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.15);
159 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
160 border-radius: 5px;
161 float: left;
162 }
163
164 #kiwi .messages .msg .media.twitter .media_content > .content {
165 background: transparent;
166 border:none;
167 overflow: hidden;
168 box-shadow: none;
169 padding: 0;
170 }
171 #kiwi .messages .msg .media.reddit .thumbnail_nsfw {
172 display: inline-block;
173 float: left;
174 }
175 #kiwi .messages .msg .media.reddit .thumbnail { float:left; margin-right: 0.5em; }
176
177
178 #kiwi .messages .last_seen {
179 border-bottom: #b0cf82 solid 1px;
180 }
181
182 #kiwi .right_bar {
183 background-color: #DADADA;
184 border-left: 1px dashed #8A8A8A;
185 }
186 #kiwi.narrow .right_bar { width:100%; }
187 #kiwi.narrow .right_bar.disabled { width:0; }
188
189 #kiwi .memberlists .meta {
190 font-size: 0.9em;
191 margin-bottom: 10px;
192 text-align: center;
193 }
194
195 #kiwi .memberlists ul { list-style: none; margin-left:2px; }
196 #kiwi .memberlists ul.active { }
197 #kiwi .memberlists ul li { padding:0 2px; }
198 #kiwi.narrow .memberlists ul li {
199 padding: 0.5em 1em;
200 border-bottom: 1px solid lightgray;
201 text-align: center;
202 }
203 #kiwi.touch .memberlists ul li {
204 padding: 1em 0.5em;
205 }
206 #kiwi .memberlists ul li:hover {}
207 #kiwi .memberlists ul li a.nick { display:block; color:black; }
208
209 #kiwi .userbox { margin:0 1em 5px 1em; padding-bottom:0.7em; font-size:.9em; }
210 #kiwi .userbox a { display:block; text-decoration:none; margin-bottom:2px; }
211 #kiwi .userbox a i { font-size:1.1em; margin-right:5px; }
212
213
214 #kiwi .controlbox .input {
215 background:#fff; margin:3px;
216 height:1.7em;
217 }
218 #kiwi .controlbox .input .nick {
219 text-align: right;
220 width: 11em;
221 left: 0px;
222 position: absolute;
223 padding: 2px;
224 overflow: hidden;
225 }
226
227 #kiwi.narrow .controlbox .input .nick { display:none; }
228 #kiwi.narrow .controlbox .input .input_wrap { left:7px; }
229
230 #kiwi .controlbox .input .nick:after { content:">"; margin-left:3px; top:2px; }
231 #kiwi .controlbox .input .nick a { text-decoration:none; color:black; }
232 #kiwi .controlbox .input .input_wrap {
233 position:absolute;
234 right:3px; left:12em;
235 height:1.7em;
236 }
237 #kiwi .controlbox .input .inp {
238 line-height:1.7em;
239 border: medium none;
240 box-shadow: none;
241 border-radius: 0;
242 resize:none;
243 overflow:hidden;
244 position:relative;
245 height:100%; width:100%;
246 display: block;
247 outline: none;
248 }
249
250
251 #kiwi .controlbox .nickchange {
252 padding:10px; left: 0px;
253 background: #1B1B1B; color:#eeeeee;
254 }
255 #kiwi .controlbox .nickchange input { padding:0.3em 0.5em; margin-left: 0.5em; }
256 #kiwi .controlbox .nickchange button { padding:0.5em; margin: 0 0.5em 0 1em; }
257
258
259
260 #kiwi .toolbar .topic { }
261 #kiwi .toolbar .topic div {
262 top:2; bottom:2px; left:0; width:100%;
263 padding: 0.2em 1em;
264 text-align: center;
265 box-shadow: none;
266 border-radius: 0;
267 background-color:#FFF;
268 height: 1.5em;
269 overflow: hidden;
270 outline: none;
271 }
272 #kiwi .toolbar .topic:hover div {
273 min-height:1.5em;
274 white-space:pre-wrap; word-wrap:break-word;
275 overflow:visible;
276 background-color:#FFF;
277 z-index: 1;
278 height:auto; bottom:auto;
279 border-bottom: 1px dotted #1B1B1B;
280 }
281
282
283 #kiwi .toolbar .app_tools { padding-left:10px; color:#D4D4D4; }
284 #kiwi.narrow .toolbar .tabs { margin-right:0; }
285 #kiwi.narrow .toolbar .app_tools { width:auto; }
286 #kiwi .toolbar .app_tools ul li {
287 font-size:26px;
288 -webkit-transition: all .3s ease;
289 -moz-transition: all .3s ease;
290 transition: all .3s ease;
291 margin-left:10px;
292 }
293 #kiwi .toolbar .app_tools ul li:hover { color:#88C56A; }
294 #kiwi .toolbar .app_tools img { }
295
296
297 /* The server select dialog */
298 #kiwi .server_select { margin-left:auto; margin-right:auto; }
299 #kiwi .server_select a { text-decoration: none; }
300 #kiwi .server_select .more { display: none; width:270px; margin:0 auto; }
301 #kiwi .server_select table tr td { padding:5px; }
302 #kiwi .server_select button {
303 /*padding: 10px 25px;*/
304 padding: 0.5em 1em;
305 font-size: 1.1em;
306 width: 196px;
307 margin: 20px auto;
308 display: block;
309 }
310 #kiwi .server_select input { padding:3px 7px; width:150px; }
311 #kiwi .server_select label { }
312 #kiwi .server_select br { clear:both; }
313 #kiwi .server_select .basic input, .server_select .basic button { font-size:1em; padding:0.5em 1em; }
314 #kiwi .server_select .basic input { width:170px; }
315 #kiwi .server_select .basic label { font-size:1.3em; margin-top:4px; }
316 #kiwi .server_select .basic tr.have_pass { font-size:0.8em; }
317 #kiwi .server_select .basic tr.channel td { padding-top:1em; }
318 #kiwi .server_select .basic { border-bottom: 1px dashed gray; margin-bottom:1em; }
319 #kiwi .server_select .basic .show_more { display: block; width:110px; margin:10px 0 0 0; font-size:0.8em; }
320 #kiwi .server_select.single_server .basic { border:none; }
321 #kiwi .server_select .status { text-align: center; font-weight: bold; padding:1em; }
322 #kiwi .server_select .status.ok { }
323 #kiwi .server_select .status.error {
324 border:1px solid #A33F3F; background-color:#D28A8A;
325 padding:0.5em; margin-top:1em; margin-bottom:1em; margin-right:2em;
326 }
327 #kiwi .server_select .show_server { margin-left: 1em; font-size:0.9em; color: #555555; }
328
329
330 #kiwi .server_select .kiwi_logo { margin-top:30px; text-align:center; display:block; }
331 #kiwi .server_select .kiwi_logo h1 {
332 font-size:14px;
333 line-height:48px; vertical-align: middle;
334 color: #555555;
335 }
336 #kiwi .server_select .kiwi_logo img { display:inline; width:24px; }
337
338
339 #kiwi.chanlist_treeview .panels { left:160px; }
340 #kiwi.chanlist_treeview .toolbar { position:static; }
341 #kiwi.chanlist_treeview .toolbar .app_tools { float:none; }
342 #kiwi.chanlist_treeview .toolbar > div { margin-left:160px; }
343 #kiwi.chanlist_treeview .toolbar .tabs { position:absolute; left:0px; bottom:0px; top:0px; margin:0; width:160px; background:#1B1B1B; overflow-y:auto; }
344 #kiwi.chanlist_treeview .toolbar .panellist { float: none; display: block; margin-right: 5px; }
345 #kiwi.chanlist_treeview .tabs ul li { display:block; float:none; }
346 #kiwi.chanlist_treeview .tabs ul li .activity { float:right; }
347 #kiwi.chanlist_treeview .toolbar .panellist li {
348 padding: 4px 8px;
349 }
350 #kiwi.chanlist_treeview .toolbar .panellist .active { padding-left: 6px; padding-right:23px; border:none; border-left:2px solid #df6b26; border-bottom:none; }
351 #kiwi.chanlist_treeview .tabs ul li.active {
352 margin-right:0;
353 border-right-width:0;
354 }
355 #kiwi .applet_chanlist {
356 margin: 0.5em 1em;
357 }
358 #kiwi .applet_chanlist table {
359 border-collapse: collapse;
360 width: 100%;
361 }
362 #kiwi .applet_chanlist thead {
363 text-align: center;
364 }
365 #kiwi .applet_chanlist tbody td {
366 border: 1px solid #C4C4C4;
367 padding: 0.3em 1em;
368 }
369 #kiwi .applet_chanlist .chanlist_name, #kiwi .applet_chanlist .chanlist_num_users {
370 border-width: 0 1px 0 0;
371 }
372 #kiwi .applet_chanlist .chanlist_topic {
373 border-width: 0;
374 }
375 #kiwi .applet_chanlist tr:nth-child(even) {
376 background: none repeat scroll 0 0 #DBDBDB;
377 }
378
379
380 #kiwi .ui_menu .ui_menu_foot .close { float:right; font-size:0.9em; margin-right:1em; color: #999; }
381 #kiwi .ui_menu .ui_menu_foot .close:hover { color: #222; }
382
383 #kiwi .channel_info .channel-banlist table { margin-top: 10px; border-spacing: 10px 3px; }
384 #kiwi .channel_info .channel-banlist thead { font-style: italic; }
385 #kiwi .channel_info .remove-ban:hover { color: #900; }
386
387
388 #kiwi .notification {
389 /* .show class reveals this element */
390 max-height: 0;
391 overflow: hidden;
392 -webkit-transition: max-height 1s;
393 -moz-transition: max-height 1s;
394 transition: max-height 1s;
395
396 display: block;
397
398 color: #DBDBDB;
399 text-shadow: 0 -1px black;
400 background: rgba(65, 65, 65, 0.95);
401 background-clip: padding-box;
402 border: 1px solid;
403 border-color: rgba(17, 17, 17, 0.6) rgba(17, 17, 17, 0.7) rgba(17, 17, 17, 0.9);
404 border-radius: 5px;
405
406 background-image: -webkit-linear-gradient(top, rgba(242, 242, 242, 0.3), rgba(221, 221, 221, 0.01) 50%, rgba(0, 0, 0, 0.12) 50%, rgba(0, 0, 0, 0.3));
407 background-image: -moz-linear-gradient(top, rgba(242, 242, 242, 0.3), rgba(221, 221, 221, 0.01) 50%, rgba(0, 0, 0, 0.12) 50%, rgba(0, 0, 0, 0.3));
408 background-image: -o-linear-gradient(top, rgba(242, 242, 242, 0.3), rgba(221, 221, 221, 0.01) 50%, rgba(0, 0, 0, 0.12) 50%, rgba(0, 0, 0, 0.3));
409 background-image: linear-gradient(to bottom, rgba(242, 242, 242, 0.3), rgba(221, 221, 221, 0.01) 50%, rgba(0, 0, 0, 0.12) 50%, rgba(0, 0, 0, 0.3));
410 -webkit-box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
411 box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
412
413
414 }
415 #kiwi .notification.show { max-height: 500px; }
416 #kiwi .notification .close {
417 font-size:16px;
418 border:1px solid #1b1b1b;
419 border-left, border-bottom: none;
420 border-radius: 0 8px 0 0;
421 line-height: 20px;
422 text-align: center;
423 color: #747474;
424 background-image: -webkit-linear-gradient(top, #383838, #111111);
425 background-image: -moz-linear-gradient(top, #383838, #111111);
426 background-image: -o-linear-gradient(top, #383838, #111111);
427 background-image: linear-gradient(to bottom, #383838, #111111);
428 -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.15);
429 box-shadow: inset 0 1px rgba(255, 255, 255, 0.15);
430 }
431 #kiwi .notification .close:hover { color: #DBDBDB; }