Client: Tab sizing when in narrow mode
[KiwiIRC.git] / client / assets / css / style.css
1 html, body { height:100%; }
2 * { margin:0; padding:0; }
3
4
5
6 /* Few resets for within the kiwi container */
7 #kiwi {
8 overflow:hidden; position:relative;
9 height:100%;
10 }
11 #kiwi * { margin:0px; padding:0px; }
12 #kiwi p { margin:0.5em 0; }
13 #kiwi a { color:#36C; text-decoration:none; cursor:pointer; }
14 #kiwi a img { border:none; }
15
16
17 /**
18 * Main layout blocks
19 */
20 #kiwi #toolbar { position:absolute; top:0px; width:100%; display:none; }
21 #kiwi #panels { position:absolute; left:0px; right:200px; bottom:100px; top:100px; }
22 #kiwi #memberlists { position:absolute; right:0px; width:200px; bottom:100px; top:100px; overflow-y:auto; }
23 #kiwi #controlbox { position: absolute; bottom:0px; width:100%; display:none; }
24 #kiwi #memberlists_resize_handle {
25 position: absolute; width:10px; z-index:1; cursor:w-resize;
26 }
27
28
29 #kiwi #toolbar #tabs { margin-right: 200px; }
30 #kiwi #toolbar .panellist {
31 overflow: hidden;
32 white-space: nowrap;
33 display:block;
34 }
35 #kiwi #toolbar .panellist li {
36 float: left; list-style: inline;
37 display:inline; position:relative;
38 padding:5px; margin:3px;
39 cursor: pointer;
40 }
41
42 #kiwi #toolbar .panellist .active { padding-right:23px; }
43 #kiwi #toolbar .panellist .alert_highlight { font-weight: bold; }
44 #kiwi #toolbar .panellist .alert_activity { font-weight: bold; }
45 #kiwi #toolbar .panellist .alert_action { font-weight: bold; }
46
47 #kiwi #toolbar .panellist li .part { position: absolute; top: 8px; right: 5px; }
48 #kiwi #toolbar .panellist li .part:after { content:"[x]"; }
49 #kiwi #toolbar .panellist li img.icon { left:5px; top:2px; height:auto; width:auto; }
50
51 #kiwi #status_message {
52 background: #FFF;
53 border-bottom: 1px solid;
54 text-align: center;
55 }
56
57
58 #kiwi .panel_container { overflow-y:auto; height:100%; }
59
60
61
62 #kiwi .messages {
63 overflow-x:wrap;
64 border:none; display: none;
65 }
66 #kiwi .messages a {}
67 #kiwi .messages.active { display:block; }
68
69 #kiwi .messages .msg {}
70 #kiwi .messages .msg .time { display:inline; }
71 #kiwi .messages .msg .nick { display:inline; }
72 #kiwi .messages .msg .text { display:inline; }
73
74 #kiwi .messages .msg.action .nick { display:none; }
75 #kiwi .messages .msg.action .text { }
76 #kiwi .messages .msg.action.join { }
77 #kiwi .messages .msg.action.part .text { }
78 #kiwi .messages .msg.action.quit .text { }
79 #kiwi .messages .msg.action.kick .text { }
80 #kiwi .messages .msg.status .nick { display:none; }
81 #kiwi .messages .msg.status .text { }
82 #kiwi .messages .msg.topic .nick { display:none; }
83 #kiwi .messages .msg.topic .text { }
84 #kiwi .messages .msg.motd { }
85 #kiwi .messages .msg.motd .nick { }
86 #kiwi .messages .msg.motd .text { }
87 #kiwi .messages .msg.whois .nick { }
88 #kiwi .messages .msg.whois .text { }
89 #kiwi .messages .msg.error .text { }
90
91 #kiwi .messages .msg.global_nick_highlight { }
92 #kiwi .messages .msg.highlight { }
93
94
95
96 /* A member/nick list per channel */
97 #kiwi #memberlists { border-left: 1px solid #8A8A8A; }
98 #kiwi #memberlists.disabled { display:none; }
99 #kiwi #memberlists ul { display:none; }
100
101 /* The active channels nicklist */
102 #kiwi #memberlists ul.active { display:block; }
103 #kiwi #memberlists ul li { overflow-y:auto; overflow-x:hidden; cursor:pointer; }
104 #kiwi #memberlists ul li a.nick { }
105
106 /* The userbox shown when clicking a nick */
107 #kiwi #memberlists ul li .userbox { position:relative; }
108 #kiwi #memberlists ul li .userbox a { }
109 #kiwi #memberlists ul li .userbox a i { }
110
111
112
113 /**
114 * Control box
115 */
116 #kiwi #controlbox .input {
117 height:1.7em;
118 }
119
120 /* The nick label */
121 #kiwi #controlbox .input .nick { cursor: pointer; }
122 #kiwi #controlbox .input .nick a { }
123
124 /* Wrapper div around the text area input */
125 #kiwi #controlbox .input .input_wrap { display:inline; }
126
127 /* The textarea input */
128 #kiwi #controlbox .input .inp { white-space: nowrap; }
129
130
131 /* Nick change dialog showed when clicking the nick label */
132 #kiwi #controlbox .nickchange {
133 position: absolute;
134 background: #FFF;
135 }
136 #kiwi #controlbox .nickchange input { }
137 #kiwi #controlbox .nickchange button { }
138
139
140
141 /**
142 * Topic bar
143 */
144 #kiwi #topic { position:relative; height:2em; }
145 #kiwi #topic div {
146 position:absolute;
147 top:0; bottom:0; left:0; right:0;
148 overflow: hidden;
149 }
150
151
152
153
154
155 /**
156 * Server selection dialog
157 */
158 #kiwi .server_select { width:800px; margin:0 auto; overflow:hidden; }
159 #kiwi .server_select .more { display: none; }
160 #kiwi .server_select button { }
161 #kiwi .server_select input { }
162 #kiwi .server_select label { }
163 #kiwi .server_select br { clear:both; }
164 #kiwi .server_select .basic input { }
165 #kiwi .server_select .basic label { }
166 #kiwi .server_select .basic { border-bottom: 1px solid gray; margin-bottom:1em; }
167 #kiwi .server_select .basic .show_more { }
168 #kiwi .server_select .basic tr.pass { display:none; }
169 #kiwi .server_select.single_server .basic { border:none; }
170 #kiwi .server_select .status { }
171
172 /* When connected to an IRC server, .ok is set on the status div */
173 #kiwi .server_select .status.ok { }
174
175 /* IRC server connection error, .error is set on the status div */
176 #kiwi .server_select .status.error { }
177
178
179
180 /* Logo and title in the server selection dialog */
181 #kiwi .server_select .kiwi_logo { text-align: center; display:block; }
182 #kiwi .server_select .kiwi_logo h1 { }
183 #kiwi .server_select .kiwi_logo img { }
184
185
186
187 /* Icons in the top right corner */
188 #kiwi #toolbar .app_tools { float:right; }
189 #kiwi #toolbar .app_tools ul li {
190 display:inline; cursor:pointer;
191 }
192 #kiwi #toolbar .app_tools img { height:25px; width:25px; margin: 6px 0.7em 0 0; }
193
194
195
196 /* Settings applet */
197 #kiwi .settings {
198 width:900px;
199 margin:1em auto;
200 }
201 #kiwi .settings table td {
202 padding:0.5em 1em;
203 }
204
205
206
207
208 /**
209 * Reusable componants
210 */
211
212 #kiwi .divider-verticle {
213 border-left: 1px solid #CFCFCF;
214 border-right: 1px solid #FFFFFF;
215 position: absolute;
216 top:25px; bottom:25px;
217 right:0;
218 width:0;
219 }
220
221 #kiwi .divider-horizontal {
222 border-top: 1px solid #CFCFCF;
223 border-bottom: 1px solid #FFFFFF;
224 position: absolute;
225 left:25px; right:25px;
226 bottom:0;
227 height:0;
228 }
229
230
231
232
233
234 /**
235 * Themes
236 */
237
238
239 /* Relaxed theme */
240 #kiwi.theme_relaxed {
241 background: url(../img/background-light.png) left top repeat-x #E3E3E3;
242 color: #555555;
243 }
244 #kiwi.theme_relaxed,
245 #kiwi.theme_relaxed input,
246 #kiwi.theme_relaxed button,
247 #kiwi.theme_relaxed textarea {
248 font-family:Arial, Helvetica, sans-serif;
249 font-size:14px; line-height:1.4em;
250 }
251 #kiwi.theme_relaxed input, textarea {
252 box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5),0 1px 0px rgba(255, 255, 255, 0.3);
253 border: none;
254 border-radius: 3px;
255 }
256 #kiwi.theme_relaxed #toolbar {
257 background-color:#1B1B1B; font-size:0.9em;
258 }
259 #kiwi.theme_relaxed #controlbox { background-color:#1B1B1B; }
260 #kiwi.theme_relaxed #memberlists_resize_handle {
261 /*background:url('../img/resize_handle.png') no-repeat; background-position:center;*/
262 }
263 #kiwi.theme_relaxed #toolbar .panellist li {
264 line-height: 1.4em;
265 vertical-align: middle;
266
267 border-radius:5px;
268 -moz-border-radius:5px;
269 -webkit-border-radius:5px;
270 -khtml-border-radius:5px;
271 behavior: url(border-radius.htc);
272
273 background-image: -webkit-gradient(
274 linear,
275 left top,
276 left bottom,
277 color-stop(0.38, rgb(238,238,238)),
278 color-stop(0.68, rgb(209,209,209))
279 );
280 background-image: -moz-linear-gradient(
281 center top,
282 rgb(238,238,238) 38%,
283 rgb(209,209,209) 68%
284 );
285
286 border: 1px solid #333;
287 background-color: #eee;
288 }
289
290 #kiwi.theme_relaxed #toolbar .panellist .alert_highlight { background: #990000; }
291 #kiwi.theme_relaxed #toolbar .panellist .alert_activity { background: #009900; }
292 #kiwi.theme_relaxed #toolbar .panellist .alert_action { }
293
294 #kiwi.theme_relaxed #toolbar .panellist .active { padding-right:23px; }
295 #kiwi.theme_relaxed #toolbar .panellist li .part {
296 background:url('../img/redcross.png'); width:14px; height:14px;
297 }
298 #kiwi.theme_relaxed #toolbar .panellist li .part:after { content:""; }
299
300 #kiwi.theme_relaxed #toolbar .panellist li.server span { background:url(../img/server_tab.png) no-repeat; padding-left:23px; }
301
302 /* Tab texts are within a span */
303 #kiwi.theme_relaxed #toolbar .panellist li span { line-height:20px; vertical-align:middle; display:block; }
304
305 #kiwi.theme_relaxed #status_message {
306 background: #FEEFB3; color: #9F6000;
307 border-bottom: 1px solid;
308 padding: 0.9em;
309 text-align: center; font-size:1.1em;
310 }
311 #kiwi.theme_relaxed #status_message.err { color:#D8000C; background:#FFBABA; }
312
313 #kiwi.theme_relaxed .messages { color: #333333; }
314 #kiwi.theme_relaxed .messages.active { }
315 #kiwi.theme_relaxed .messages a { text-decoration:none; }
316
317 #kiwi.theme_relaxed .messages .msg { border-bottom: 1px solid #DEDEDE; padding: 1px; font-family:arial; font-size:0.9em; }
318 #kiwi.theme_relaxed .messages .msg .time { width:6em; float:left; color:#777; display:none; }
319 #kiwi.theme_relaxed .messages .msg .nick { width:11em; float:left; font-size:12px; font-family:Arial; text-align:left; padding: 5px; overflow:hidden; }
320 #kiwi.theme_relaxed .messages .msg .text { display:block; margin-left:12em; border-left: 1px solid #DEDEDE; white-space:pre-wrap; word-wrap:break-word; font-family:arial; padding:5px; }
321
322 #kiwi.theme_relaxed.narrow .messages .msg .nick { width: auto; }
323 #kiwi.theme_relaxed.narrow .messages .msg .text { margin-left: 1em; border:none; }
324
325 #kiwi.theme_relaxed .messages .msg.action .nick { }
326 #kiwi.theme_relaxed .messages .msg.action .text { margin-left:9em; color:#009900; border-left:none; font-style:italic; }
327 #kiwi.theme_relaxed .messages .msg.action.join { color:#009900; }
328 #kiwi.theme_relaxed .messages .msg.action.part .text { color:#900; }
329 #kiwi.theme_relaxed .messages .msg.action.quit .text { color:#900; }
330 #kiwi.theme_relaxed .messages .msg.action.kick .text { color:#900; }
331 #kiwi.theme_relaxed .messages .msg.status .nick { }
332 #kiwi.theme_relaxed .messages .msg.status .text { color:#990000; margin-left:9em; border-left:none; font-weight:bold; }
333 #kiwi.theme_relaxed .messages .msg.topic .nick { display:none; }
334 #kiwi.theme_relaxed .messages .msg.topic .text { color:#009900; margin-left:9em; font-style: italic; border-left:none; }
335 #kiwi.theme_relaxed .messages .msg.motd { border:none; }
336 /*#kiwi.theme_relaxed .messages .msg.motd .nick { display:none; }*/
337 #kiwi.theme_relaxed .messages .msg.motd .text { color:#666; font-family:monospace; }
338 #kiwi.theme_relaxed .messages .msg.whois .nick { font-weight:normal; }
339 #kiwi.theme_relaxed .messages .msg.whois .text { margin-left:18em; padding-left:1em; border-left:1px dashed #999; }
340 #kiwi.theme_relaxed .messages .msg.error .text {
341 border:1px solid #A33F3F; background-color:#D28A8A;
342 padding:0.5em; margin-top:1em; margin-bottom:1em; margin-right:2em;
343 }
344
345 #kiwi.theme_relaxed .messages .msg.global_nick_highlight,
346 #kiwi.theme_relaxed .messages .msg.highlight { background:#D9D9D9; }
347
348 /* Narrow styling (window width < 400px) */
349 #kiwi.theme_relaxed.narrow .messages .msg .nick { width: auto; }
350 #kiwi.theme_relaxed.narrow .messages .msg .text { margin-left: 1em; border:none; }
351 #kiwi.theme_relaxed.narrow .messages .msg.action .text { margin-left: 1em; }
352
353
354 #kiwi.theme_relaxed .messages .msg .media { margin-left:0.5em; }
355 #kiwi.theme_relaxed .messages .msg .media .media_close { font-size:0.9em; }
356 #kiwi.theme_relaxed .messages .msg .media .media_content { margin:10px 0 0 10px; overflow:hidden; }
357 #kiwi.theme_relaxed .messages .msg .media .media_content img { padding:3px; border:1px solid gray; }
358 #kiwi.theme_relaxed .messages .msg .media .media_content > .content {
359 background: white;
360 overflow: hidden;
361 padding: 10px;
362 border: #DDD 1px solid;
363 border-top-color: #EEE;
364 border-bottom-color: #BBB;
365 -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
366 -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.15);
367 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
368 border-radius: 5px;
369 float: left;
370 }
371
372 #kiwi.theme_relaxed .messages .msg .media.twitter .media_content > .content {
373 background: transparent;
374 border:none;
375 overflow: hidden;
376 box-shadow: none;
377 padding: 0;
378 }
379 #kiwi.theme_relaxed .messages .msg .media.reddit .thumbnail_nsfw {
380 display: inline-block;
381 float: left;
382 }
383 #kiwi.theme_relaxed .messages .msg .media.reddit .thumbnail { float:left; margin-right: 0.5em; }
384
385
386 #kiwi.theme_relaxed #memberlists {
387 background-color: #DADADA;
388 border-left: 1px solid #8A8A8A;
389 }
390 #kiwi.theme_relaxed.narrow #memberlists { display:none; }
391 #kiwi.theme_relaxed #memberlists ul { list-style: none; }
392 #kiwi.theme_relaxed #memberlists ul.active { }
393 #kiwi.theme_relaxed #memberlists ul li { padding: 0.2em 1em; }
394 #kiwi.theme_relaxed #memberlists ul li:hover {
395 border-left: 5px solid #88C56A;
396 -webkit-transition: 0.2s ease;
397 -moz-transition: 0.2s ease;
398 -ms-transition: 0.2s ease;
399 -o-transition: 0.2s ease;
400 transition: 0.2s ease;
401 }
402 #kiwi.theme_relaxed #memberlists ul li a.nick { display:block; color:black; }
403
404 #kiwi.theme_relaxed #memberlists ul li .userbox { margin:0 1em 5px 1em; padding-bottom:0.7em; font-size:.9em; }
405 #kiwi.theme_relaxed #memberlists ul li .userbox a { display:block; text-decoration:none; margin-bottom:2px; }
406 #kiwi.theme_relaxed #memberlists ul li .userbox a i { font-size:1.1em; margin-right:5px; }
407
408
409 #kiwi.theme_relaxed #controlbox .input {
410 background:#fff; margin:3px;
411 height:1.7em;
412 border-radius:5px;
413 -moz-border-radius:5px;
414 -webkit-border-radius:5px;
415 -khtml-border-radius:5px;
416 }
417 #kiwi.theme_relaxed #controlbox .input .nick { text-align: right; width:11em; left:0px; position:absolute; padding:2px; overflow:hidden; }
418 #kiwi.theme_relaxed #controlbox .input .nick a { text-decoration:none; color:black; }
419
420 #kiwi.theme_relaxed.narrow #controlbox .input .nick { display:none; }
421 #kiwi.theme_relaxed.narrow #controlbox .input .input_wrap { left:7px; }
422
423 #kiwi.theme_relaxed #controlbox .input .input_wrap {
424 position:absolute;
425 right:7px; left: 12.2em;
426 height:1.7em;
427 }
428 #kiwi.theme_relaxed #controlbox .input .inp {
429 line-height:1.7em;
430 border: medium none;
431 box-shadow: none;
432 border-radius: 0;
433 outline:none; resize:none;
434 overflow:hidden;
435 position:relative;
436 height:100%; width:100%;
437 display: block;
438 }
439
440
441 #kiwi.theme_relaxed #controlbox .nickchange {
442 padding:10px; left: 0px;
443 background: #1B1B1B; color:#eeeeee;
444 }
445 #kiwi.theme_relaxed #controlbox .nickchange input { padding:0.3em 0.5em; }
446 #kiwi.theme_relaxed #controlbox .nickchange button { padding:0.5em; }
447
448
449
450 #kiwi.theme_relaxed #topic { background-color:#1B1B1B; padding-bottom:2px; }
451 #kiwi.theme_relaxed #topic div {
452 padding: 0.2em 1em;
453 text-align: center;
454 box-shadow: none;
455 border-radius: 0;
456 background-color:#FFF;
457 height: 1.5em;
458 overflow: hidden;
459 outline: none;
460 white-space: nowrap;
461 }
462 #kiwi.theme_relaxed #topic:hover div {
463 min-height:1.5em;
464 white-space:pre-wrap; word-wrap:break-word;
465 overflow:visible;
466 background-color:#FFF;
467 z-index: 1;
468 height:auto; bottom:auto;
469 border-bottom: 2px solid #1B1B1B;
470 }
471
472
473 #kiwi.theme_relaxed #toolbar .app_tools { width:200px; padding-left:10px; color:#D4D4D4; }
474 #kiwi.theme_relaxed.narrow #toolbar #tabs { margin-right:0; }
475 #kiwi.theme_relaxed.narrow #toolbar .app_tools { width:auto; }
476 #kiwi.theme_relaxed #toolbar .app_tools ul li {
477 font-size:26px;
478 -webkit-transition: all .3s ease;
479 -moz-transition: all .3s ease;
480 transition: all .3s ease;
481 margin-left:10px;
482 }
483 #kiwi.theme_relaxed #toolbar .app_tools ul li:hover { color:#88C56A; }
484 #kiwi.theme_relaxed #toolbar .app_tools img { }
485
486
487 /* The server select dialog */
488 #kiwi.theme_relaxed .server_select { width:730px; padding:3em 0 2em 0; margin: 0 auto; }
489 #kiwi.theme_relaxed .server_select .more { display: none; width:270px; margin:0 auto; }
490 #kiwi.theme_relaxed .server_select table tr td { padding:5px; }
491 #kiwi.theme_relaxed .server_select button { float:right; padding:3px 7px; }
492 #kiwi.theme_relaxed .server_select input { padding:3px 7px; width:150px; }
493 #kiwi.theme_relaxed .server_select label { }
494 #kiwi.theme_relaxed .server_select br { clear:both; }
495 #kiwi.theme_relaxed .server_select .basic input, .server_select .basic button { font-size:1em; padding:0.5em 1em; }
496 #kiwi.theme_relaxed .server_select .basic input { width:170px; }
497 #kiwi.theme_relaxed .server_select .basic label { font-size:1.3em; margin-top:4px; }
498 #kiwi.theme_relaxed .server_select .basic tr.have_pass { font-size:0.8em; }
499 #kiwi.theme_relaxed .server_select .basic tr.channel td { padding-top:1em; }
500 #kiwi.theme_relaxed .server_select .basic { border-bottom: 1px dashed gray; margin-bottom:1em; }
501 #kiwi.theme_relaxed .server_select .basic .show_more { display: block; width:110px; margin:10px 0 0 0; font-size:0.8em; background: url(../img/more.png) no-repeat right 7px; }
502 #kiwi.theme_relaxed .server_select.single_server .basic { border:none; }
503 #kiwi.theme_relaxed .server_select .status { text-align: center; font-weight: bold; padding:1em; }
504 #kiwi.theme_relaxed .server_select .status.ok { }
505 #kiwi.theme_relaxed .server_select .status.error {
506 border:1px solid #A33F3F; background-color:#D28A8A;
507 padding:0.5em; margin-top:1em; margin-bottom:1em; margin-right:2em;
508 }
509
510
511 #kiwi.theme_relaxed .server_select .kiwi_logo { text-align: center; display:block; }
512 #kiwi.theme_relaxed .server_select .kiwi_logo h1 {
513 font-size:20px;
514 line-height:48px; vertical-align: middle;
515 color: #555555;
516 }
517 #kiwi.theme_relaxed .server_select .kiwi_logo img { }
518
519
520
521
522
523
524
525
526 /**
527 * Mini theme
528 */
529 #kiwi.theme_mini {
530 background: #FFF;
531 color: #555555;
532 }
533 #kiwi.theme_mini,
534 #kiwi.theme_mini input,
535 #kiwi.theme_mini button,
536 #kiwi.theme_mini textarea {
537 font-family:Arial, Helvetica, sans-serif;
538 font-size:14px; line-height:1.4em;
539 }
540 #kiwi.theme_mini input, textarea {
541 box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5),0 1px 0px rgba(255, 255, 255, 0.3);
542 border: none;
543 border-radius: 3px;
544 }
545 #kiwi.theme_mini #toolbar {
546 background-color:#1B1B1B; font-size:0.9em;
547 }
548 #kiwi.theme_mini #controlbox { background-color:#1B1B1B; }
549 #kiwi.theme_mini #memberlists_resize_handle {
550 display:none; width:0;
551 }
552 #kiwi.theme_mini #toolbar .panellist li {
553 line-height: 1.4em;
554 vertical-align: middle;
555
556 border-radius:5px;
557 -moz-border-radius:5px;
558 -webkit-border-radius:5px;
559 -khtml-border-radius:5px;
560
561 border: 1px solid #333;
562 background-color: #eee;
563 }
564
565 #kiwi.theme_mini #toolbar #tabs { margin-right:0 !important; }
566 #kiwi.theme_mini #toolbar .panellist .alert_highlight { background: #990000; }
567 #kiwi.theme_mini #toolbar .panellist .alert_activity { background: #009900; }
568 #kiwi.theme_mini #toolbar .panellist .alert_action { }
569
570 #kiwi.theme_mini #toolbar .panellist .active { padding-right:23px; }
571 #kiwi.theme_mini #toolbar .panellist li .part {
572 background:url('../img/redcross.png'); width:14px; height:14px;
573 }
574 #kiwi.theme_mini #toolbar .panellist li .part:after { content:""; }
575
576 #kiwi.theme_mini #toolbar .panellist li.server span { background:url(../img/server_tab.png) no-repeat; padding-left:23px; }
577
578 /* Tab texts are within a span */
579 #kiwi.theme_mini #toolbar .panellist li span { line-height:20px; vertical-align:middle; display:block; }
580
581 #kiwi.theme_mini #status_message {
582 background: #FEEFB3; color: #9F6000;
583 border-bottom: 1px solid;
584 padding: 0.9em;
585 text-align: center; font-size:1.1em;
586 }
587 #kiwi.theme_mini #status_message.err { color:#D8000C; background:#FFBABA; }
588
589 #kiwi.theme_mini .messages { color: #333333; }
590 #kiwi.theme_mini .messages.active { }
591 #kiwi.theme_mini .messages a { text-decoration:none; }
592
593 #kiwi.theme_mini .messages .msg { border-bottom: 1px solid #DEDEDE; padding: 5px; font-family:arial; font-size:0.9em; }
594 #kiwi.theme_mini .messages .msg .time { display:none; }
595 #kiwi.theme_mini .messages .msg .nick { display:block; font-family:Arial; text-transform:capitalize; }
596 #kiwi.theme_mini .messages .msg .text { display:block; white-space:pre-wrap; word-wrap:break-word; font-family:arial; }
597
598 #kiwi.theme_mini .messages .msg.action .nick { }
599 #kiwi.theme_mini .messages .msg.action .text { color:#009900; border-left:none; font-style:italic; }
600 #kiwi.theme_mini .messages .msg.action.join { color:#009900; }
601 #kiwi.theme_mini .messages .msg.action.part .text { color:#900; }
602 #kiwi.theme_mini .messages .msg.action.quit .text { color:#900; }
603 #kiwi.theme_mini .messages .msg.action.kick .text { color:#900; }
604 #kiwi.theme_mini .messages .msg.status .nick { }
605 #kiwi.theme_mini .messages .msg.status .text { color:#990000; border-left:none; font-weight:bold; }
606 #kiwi.theme_mini .messages .msg.topic .nick { display:none; }
607 #kiwi.theme_mini .messages .msg.topic .text { color:#009900; font-style: italic; border-left:none; }
608 #kiwi.theme_mini .messages .msg.motd { border:none; }
609 /*#kiwi.theme_mini .messages .msg.motd .nick { display:none; }*/
610 #kiwi.theme_mini .messages .msg.motd .text { color:#666; }
611 #kiwi.theme_mini .messages .msg.whois .nick { font-weight:normal; }
612 #kiwi.theme_mini .messages .msg.whois .text { padding-left:1em; border-left:1px dashed #999; }
613 #kiwi.theme_mini .messages .msg.error .text {
614 border:1px solid #A33F3F; background-color:#D28A8A;
615 padding:0.5em; margin-top:1em; margin-bottom:1em; margin-right:2em;
616 }
617
618 #kiwi.theme_mini .messages .msg.global_nick_highlight,
619 #kiwi.theme_mini .messages .msg.highlight { background:#D9D9D9; }
620
621
622
623 #kiwi.theme_mini #memberlists {
624 background-color: #DADADA;
625 border-left: 1px solid #8A8A8A;
626 display:none;
627 width:0px;
628 }
629 #kiwi.theme_mini #memberlists ul { list-style: none; }
630 #kiwi.theme_mini #memberlists ul.active { }
631 #kiwi.theme_mini #memberlists ul li { padding: 0.2em 1em; }
632 #kiwi.theme_mini #memberlists ul li:hover {
633 border-left: 5px solid #88C56A;
634 -webkit-transition: 0.2s ease;
635 -moz-transition: 0.2s ease;
636 -ms-transition: 0.2s ease;
637 -o-transition: 0.2s ease;
638 transition: 0.2s ease;
639 }
640 #kiwi.theme_mini #memberlists ul li a.nick { display:block; color:black; }
641
642 #kiwi.theme_mini #memberlists ul li .userbox { margin:0 1em 5px 1em; padding-bottom:0.7em; font-size:.9em; }
643 #kiwi.theme_mini #memberlists ul li .userbox a { display:block; text-decoration:none; margin-bottom:2px; }
644 #kiwi.theme_mini #memberlists ul li .userbox a i { font-size:1.1em; margin-right:5px; }
645
646
647 #kiwi.theme_mini #controlbox .input {
648 background:#fff; margin:3px;
649 height:1.7em;
650 }
651 #kiwi.theme_mini #controlbox .input .nick { display:none; }
652 #kiwi.theme_mini #controlbox .input .nick a { text-decoration:none; color:black; }
653 #kiwi.theme_mini #controlbox .input .input_wrap {
654 position:absolute;
655 right:3px; left:3px;
656 height:1.7em;
657 }
658 #kiwi.theme_mini #controlbox .input .inp {
659 line-height:1.7em;
660 border: medium none;
661 box-shadow: none;
662 border-radius: 0;
663 resize:none;
664 overflow:hidden;
665 position:relative;
666 height:100%; width:100%;
667 display: block;
668 }
669
670
671 #kiwi.theme_mini #controlbox .nickchange {
672 padding:10px; left: 0px;
673 background: #1B1B1B; color:#eeeeee;
674 }
675 #kiwi.theme_mini #controlbox .nickchange input { padding:0.3em 0.5em; }
676 #kiwi.theme_mini #controlbox .nickchange button { padding:0.5em; }
677
678
679
680 #kiwi.theme_mini #topic { display:none; }
681 #kiwi.theme_mini #topic div {
682 top:2; bottom:2px; left:0; width:100%;
683 padding: 0.2em 1em;
684 text-align: center;
685 box-shadow: none;
686 border-radius: 0;
687 background-color:#FFF;
688 height: 1.5em;
689 overflow: hidden;
690 outline: none;
691 }
692
693
694 #kiwi.theme_mini #toolbar .app_tools { padding-left:10px; color:#D4D4D4; }
695 #kiwi.theme_mini #toolbar .app_tools ul li {
696 font-size:26px;
697 -webkit-transition: all .3s ease;
698 -moz-transition: all .3s ease;
699 transition: all .3s ease;
700 margin-left:10px;
701 }
702 #kiwi.theme_mini #toolbar .app_tools ul li:hover { color:#88C56A; }
703 #kiwi.theme_mini #toolbar .app_tools img { }
704
705
706 /* The server select dialog */
707 #kiwi.theme_mini .server_select { padding:3em 0 2em 0; margin: 0 auto; width:100%; }
708 #kiwi.theme_mini .server_select .more { display:none; }
709 #kiwi.theme_mini .server_select button { display:block; padding:3px 7px; margin:0 auto; }
710 #kiwi.theme_mini .server_select input.nick {
711 float:none; display:block; width:80%;
712 padding:0.5em 1em; margin:0 auto;
713 text-align: center;
714 }
715 #kiwi.theme_mini .server_select label { display:none; }
716 #kiwi.theme_mini .server_select br { clear:both; }
717 #kiwi.theme_mini .server_select .basic { border:none; }
718 #kiwi.theme_mini .server_select .basic table { width:100%; }
719 #kiwi.theme_mini .server_select .basic table tr.channel,
720 #kiwi.theme_mini .server_select .basic table tr.pass,
721 #kiwi.theme_mini .server_select .basic table tr.have_pass { display:none; }
722 #kiwi.theme_mini .server_select .basic .show_more { display:none !important; }
723 #kiwi.theme_mini .server_select.single_server .basic { border:none; }
724 #kiwi.theme_mini .server_select .status { text-align: center; font-weight: bold; padding:1em; }
725 #kiwi.theme_mini .server_select .status.ok { }
726 #kiwi.theme_mini .server_select .status.error {
727 border:1px solid #A33F3F; background-color:#D28A8A;
728 padding:0.5em; margin-top:1em; margin-bottom:1em; margin-right:2em;
729 }
730
731 #kiwi.theme_mini .server_select .divider-verticle {
732 display:none;
733 }
734 #kiwi.theme_mini .server_select .server_details {
735 position: relative !important;
736 float: none !important;
737 width: auto !important;
738 padding: 0 !important;
739 margin: 2em 0 0 0 !important;
740 }
741 #kiwi.theme_mini .server_select .about_kiwi { display:none; }
742
743
744
745
746
747
748
749
750
751 /* CLI theme */
752 #kiwi.theme_cli { background:#222222; color:#6d6d6d; }
753 #kiwi.theme_cli,
754 #kiwi.theme_cli input,
755 #kiwi.theme_cli button,
756 #kiwi.theme_cli textarea {
757 font-family:Arial, Helvetica, sans-serif;
758 font-size:14px; line-height:1.4em;
759 }
760
761 #kiwi.theme_cli #controlbox { background:#111111; border-top:1px solid #444444; color:#909090; font-size:1.3em; line-height:2em; margin:3px; }
762 #kiwi.theme_cli #controlbox .input_wrap:before { content:"> " }
763 #kiwi.theme_cli #controlbox .input { background:none; border:none;}
764 #kiwi.theme_cli #controlbox .input .nick { line-height:1.7em; padding:0; text-align: right; width:11em; left:0px; position:absolute; overflow:hidden; }
765 #kiwi.theme_cli #controlbox .input .input_wrap {
766 position:absolute;
767 right:7px; left: 12.2em;
768 height:1.7em;
769 }
770 #kiwi.theme_cli #controlbox .input .inp {
771 line-height:1.4em;
772 font-size:1.3em;
773 background:transparent; color:#909090;
774 border: medium none;
775 box-shadow: none;
776 border-radius: 0;
777 outline:none; resize:none;
778 overflow:hidden;
779 position:absolute;
780 height:99%; width:98%;
781 display: inline;
782 padding-left:0.5em;
783 }
784
785 #kiwi.theme_cli #topic { background:#111111; height:2em; border-bottom:1px solid #444444; border-top:1px solid #444444; }
786 #kiwi.theme_cli #topic div {
787 width:100%; height: 1.5em;
788 padding: 0.2em 1em;
789 text-align: center;
790 color:#6d6d6d;
791 border:none; outline:none;
792 overflow: hidden;
793 white-space: nowrap;
794 }
795 #kiwi.theme_cli #topic:hover div {
796 min-height:1.5em;
797 white-space:pre-wrap; word-wrap:break-word;
798 overflow:visible;
799 background-color:#111111;
800 z-index: 1;
801 height:auto; bottom:auto;
802 border-bottom: 1px solid #444444;
803 }
804
805 #kiwi.theme_cli #toolbar .app_tools { width:200px; padding-left:10px; color:#D4D4D4; }
806 #kiwi.theme_cli #toolbar .app_tools ul li {
807 font-size:26px;
808 -webkit-transition: all .3s ease;
809 -moz-transition: all .3s ease;
810 transition: all .3s ease;
811 margin-left:10px;
812 }
813 #kiwi.theme_cli #toolbar .app_tools ul li:hover { color:#88C56A; }
814 #kiwi.theme_cli #toolbar .app_tools img { }
815
816 #kiwi.theme_cli #toolbar .panellist li {
817 line-height: 1.4em;
818 vertical-align: middle;
819
820 border-radius:5px;
821 -moz-border-radius:5px;
822 -webkit-border-radius:5px;
823 -khtml-border-radius:5px;
824 behavior: url(border-radius.htc);
825
826 background-image: -webkit-gradient(
827 linear,
828 left top,
829 left bottom,
830 color-stop(0.38, rgb(238,238,238)),
831 color-stop(0.68, rgb(209,209,209))
832 );
833 background-image: -moz-linear-gradient(
834 center top,
835 rgb(238,238,238) 38%,
836 rgb(209,209,209) 68%
837 );
838
839 border: 1px solid #333;
840 background-color: #eee;
841 }
842
843 #kiwi.theme_cli #toolbar .panellist .alert_highlight { background: #990000; }
844 #kiwi.theme_cli #toolbar .panellist .alert_activity { background: #009900; }
845 #kiwi.theme_cli #toolbar .panellist .alert_action { }
846
847 #kiwi.theme_cli #toolbar .panellist .active { padding-right:23px; }
848 #kiwi.theme_cli #toolbar .panellist li .part {
849 background:url('../img/redcross.png'); width:14px; height:14px;
850 }
851 #kiwi.theme_cli #toolbar .panellist li .part:after { content:""; }
852
853 #kiwi.theme_cli #toolbar .panellist li.server span { background:url(../img/server_tab.png) no-repeat; padding-left:23px; }
854
855 /* Tab texts are within a span */
856 #kiwi.theme_cli #toolbar .panellist li span { line-height:20px; vertical-align:middle; display:block; }
857
858
859 #kiwi.theme_cli #memberlists { background:#222222; }
860 #kiwi.theme_cli #memberlists ul li { padding: 0.2em 1em; }
861 #kiwi.theme_cli #memberlists ul li a.nick { color:#6d6d6d; }
862 #kiwi.theme_cli #memberlists ul li:hover {
863 border-left: 5px solid #88C56A;
864 -webkit-transition: 0.2s ease;
865 -moz-transition: 0.2s ease;
866 -ms-transition: 0.2s ease;
867 -o-transition: 0.2s ease;
868 transition: 0.2s ease;
869 }
870
871 #kiwi.theme_cli #memberlists ul li .userbox { margin:0 1em 0 1em; padding-bottom:0.4em; font-size:.9em; }
872 #kiwi.theme_cli #memberlists ul li .userbox a { display:block; text-decoration:none; margin-bottom:2px; }
873 #kiwi.theme_cli #memberlists ul li .userbox a i { font-size:1.1em; margin-right:5px; }
874 #kiwi.theme_cli #memberlists ul li .userbox .divider-horizontal { display:none; }
875
876
877 #kiwi.theme_cli .messages .msg > div { color:#6d6d6d; font-family: Inconsolata, Consolas, 'courier new', monospace; }
878 #kiwi.theme_cli .messages .msg { border: none; }
879 #kiwi.theme_cli .messages .msg .time { display:inline; margin-right:1em; color:#777; }
880 #kiwi.theme_cli .messages .msg .nick { display:inline; margin-right:1em; }
881 #kiwi.theme_cli .messages .msg .nick:before { content:"<"; }
882 #kiwi.theme_cli .messages .msg .nick:after { content:">"; }
883 #kiwi.theme_cli .messages .msg .text { white-space:pre-wrap; word-wrap:break-word; }
884
885 #kiwi.theme_cli .messages .msg.action .nick { display:none; }
886 #kiwi.theme_cli .messages .msg.action .text { color:#009900; border-left:none; font-style:italic; }
887 #kiwi.theme_cli .messages .msg.action.join { color:#009900; }
888 #kiwi.theme_cli .messages .msg.action.part .text { color:#900; }
889 #kiwi.theme_cli .messages .msg.action.quit .text { color:#900; }
890 #kiwi.theme_cli .messages .msg.action.kick .text { color:#900; }
891 #kiwi.theme_cli .messages .msg.status .nick { display:none; }
892 #kiwi.theme_cli .messages .msg.status .text { color:#990000; border-left:none; font-weight:bold; }
893 #kiwi.theme_cli .messages .msg.topic .nick { display:none; }
894 #kiwi.theme_cli .messages .msg.topic .text { color:#009900; font-style: italic; border-left:none; }
895 /*#kiwi.theme_cli .messages .msg.motd .nick { display:none; }*/
896 #kiwi.theme_cli .messages .msg.motd { border:none; }
897 #kiwi.theme_cli .messages .msg.motd .text { color:#666; }
898 #kiwi.theme_cli .messages .msg.whois .nick { font-weight:normal; }
899 #kiwi.theme_cli .messages .msg.whois .text { padding-left:1em; border-left:1px dashed #999; }
900 #kiwi.theme_cli .messages .msg.error .text {
901 border:1px solid #A33F3F; background-color:#D28A8A;
902 padding:0.5em; margin-top:1em; margin-bottom:1em; margin-right:2em;
903 }
904
905 #kiwi.theme_cli .messages .msg.global_nick_highlight { background:#111111; }
906
907
908
909 #kiwi.theme_cli .messages .msg .media { margin-left:0.5em; }
910 #kiwi.theme_cli .messages .msg .media .media_close { font-size:0.9em; }
911 #kiwi.theme_cli .messages .msg .media .media_content { margin:10px 0 0 6em; overflow:hidden; }
912 #kiwi.theme_cli .messages .msg .media .media_content img { padding:3px; border:1px solid gray; }
913 #kiwi.theme_cli .messages .msg .media .media_content > .content {
914 background: white;
915 overflow: hidden;
916 padding: 10px;
917 border: #DDD 1px solid;
918 border-top-color: #EEE;
919 border-bottom-color: #BBB;
920 -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
921 -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.15);
922 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
923 border-radius: 5px;
924 float: left;
925 }
926
927 #kiwi.theme_cli .messages .msg .media.twitter .media_content > .content {
928 background: transparent;
929 border:none;
930 overflow: hidden;
931 box-shadow: none;
932 padding: 0;
933 }
934 #kiwi.theme_cli .messages .msg .media.reddit .thumbnail_nsfw {
935 display: inline-block;
936 float: left;
937 }
938 #kiwi.theme_cli .messages .msg .media.reddit .thumbnail { float:left; margin-right: 0.5em; }
939
940
941
942 /* The server select dialog */
943 #kiwi.theme_cli .server_select { width:730px; padding:3em 0 2em 0; margin: 0 auto; }
944 #kiwi.theme_cli .server_select .more { display: none; width:270px; margin:0 auto; }
945 #kiwi.theme_cli .server_select table tr td { padding:5px; }
946 #kiwi.theme_cli .server_select button { float:right; padding:3px 7px; margin-top:10px; }
947 #kiwi.theme_cli .server_select input { padding:3px 7px; width:150px; }
948 #kiwi.theme_cli .server_select label { width:5em; padding-top:3px }
949 #kiwi.theme_cli .server_select br { clear:both; }
950 #kiwi.theme_cli .server_select .basic input, .server_select .basic button { font-size:1em; padding:0.5em 1em; }
951 #kiwi.theme_cli .server_select .basic input { width:170px; }
952 #kiwi.theme_cli .server_select .basic label { font-size:1.3em; margin-top:4px; }
953 #kiwi.theme_cli .server_select .basic tr.have_pass { font-size:0.8em; }
954 #kiwi.theme_cli .server_select .basic tr.channel td { padding-top:1em; }
955 #kiwi.theme_cli .server_select .basic { border-bottom: 1px dashed gray; margin-bottom:1em; }
956 #kiwi.theme_cli .server_select .basic .show_more { display: block; width:116px; margin:10px 0 0 0; font-size:0.8em; background: url(../img/more.png) no-repeat right 7px; }
957 #kiwi.theme_cli .server_select.single_server .basic { border:none; }
958 #kiwi.theme_cli .server_select .status { text-align: center; font-weight: bold; padding:1em; }
959 #kiwi.theme_cli .server_select .status.ok { }
960 #kiwi.theme_cli .server_select .status.error {
961 border:1px solid #A33F3F; background-color:#D28A8A;
962 padding:0.5em; margin-top:1em; margin-bottom:1em; margin-right:2em;
963 }
964
965
966 #kiwi.theme_cli .server_select .kiwi_logo { text-align: center; display:block; }
967 #kiwi.theme_cli .server_select .kiwi_logo h1 {
968 font-size:20px;
969 line-height:48px; vertical-align: middle;
970 color: #555555;
971 }
972 #kiwi.theme_cli .server_select .kiwi_logo img { }
973
974
975 #kiwi.theme_cli .divider-verticle {
976 border-left: 1px solid #303030;
977 border-right: 1px solid #1B1B1B;
978 }
979
980 #kiwi.theme_cli .divider-horizontal {
981 border-top: 1px solid #303030;
982 border-bottom: 1px solid #1B1B1B;
983 }