Pointer cursor on clickable nicks
[KiwiIRC.git] / client / assets / css / style.css
CommitLineData
696a66f8 1html, body { height:100%; }
8af29f2b 2* { margin:0; padding:0; }
696a66f8
D
3
4
5
8af29f2b 6/* Few resets for within the kiwi container */
696a66f8 7#kiwi {
b05d0022 8 overflow:hidden; position:relative;
696a66f8 9 height:100%;
5998fd56 10}
8af29f2b
D
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; }
9d8f8dfe 15#kiwi .format_span a { color: inherit; background-color: inherit; text-decoration: inherit; font-style: inherit; font-weight: inherit;}
5998fd56 16
72db27e4
D
17#kiwi h1,
18#kiwi h2,
19#kiwi h3 {
20 margin-top: 22px;
21 margin-bottom: 11px;
22}
23#kiwi h4,
24#kiwi h5,
25#kiwi h6 {
26 margin-top: 11px;
27 margin-bottom: 11px;
28}
29#kiwi h1 { font-size: 46px; }
30#kiwi h2 { font-size: 40px; }
31#kiwi h3 { font-size: 34px; }
32#kiwi h4 { font-size: 28px; }
33#kiwi h5 { font-size: 22px; }
34#kiwi h6 { font-size: 16px; }
35
696a66f8 36
696a66f8
D
37/**
38 * Main layout blocks
39 */
584080ab 40#kiwi .toolbar { position:absolute; top:0px; width:100%; display:none; z-index:1; }
30f9f42a 41#kiwi .panels { position:absolute; left:0px; right:200px; bottom:100px; top:100px; }
06d56c90 42#kiwi .right_bar { position:absolute; right:0px; width:200px; bottom:100px; top:100px; overflow:visible; }
584080ab 43#kiwi .right-bar-content { position:relative; height:100%; z-index:0; }
1e85105e 44#kiwi .controlbox { position: absolute; bottom:0px; width:100%; display:none; }
30f9f42a 45#kiwi .memberlists_resize_handle {
696a66f8 46 position: absolute; width:10px; z-index:1; cursor:w-resize;
696a66f8
D
47}
48
49
28652fa4 50#kiwi .toolbar .tabs { margin-right: 200px; overflow: hidden; }
4f99a29b 51#kiwi .toolbar .panellist {
696a66f8 52 overflow: hidden;
696a66f8 53 display:block;
696a66f8 54}
4f99a29b 55#kiwi .toolbar .panellist li {
28652fa4 56 float: left; list-style: none;
696a66f8
D
57 display:inline; position:relative;
58 padding:5px; margin:3px;
696a66f8 59 cursor: pointer;
8af29f2b 60}
696a66f8 61
4f99a29b
D
62#kiwi .toolbar .panellist .active { padding-right:23px; }
63#kiwi .toolbar .panellist .alert_highlight { font-weight: bold; }
64#kiwi .toolbar .panellist .alert_activity { font-weight: bold; }
65#kiwi .toolbar .panellist .alert_action { font-weight: bold; }
696a66f8 66
4f99a29b
D
67#kiwi .toolbar .panellist li { width: auto; text-align: left; }
68#kiwi .toolbar .panellist li .part { position: absolute; top: 5px; right: 5px; }
69#kiwi .toolbar .panellist li .part:before { content:"[x]"; }
70#kiwi .toolbar .panellist li .part:hover { color: #900; }
71#kiwi .toolbar .panellist li img.icon { left:5px; top:2px; height:auto; width:auto; }
8af29f2b 72
4f99a29b
D
73#kiwi .toolbar .connections { overflow:hidden; }
74#kiwi .toolbar .connections .connection { float:left; }
944d9579 75#kiwi.chanlist_treeview .toolbar .connections .connection { float:none; }
4f99a29b
D
76#kiwi .toolbar .connections .panellist { display:inline; }
77#kiwi .toolbar .connections .panellist:after { content:""; }
8af29f2b 78
707593d2 79#kiwi .status_message {
bf6c96c5
D
80 position: absolute;
81 left: 0;
82 right: 0;
83 z-index: 2;
8af29f2b 84 background: #FFF;
696a66f8 85 border-bottom: 1px solid;
8af29f2b 86 text-align: center;
696a66f8 87}
696a66f8 88
9936359c 89#kiwi .channel_tools {
584080ab
D
90 position: absolute;
91 top: 0;
92 left: 0;
93 width: 100%;
94 z-index: 1;
9936359c
D
95}
96#kiwi .channel_tools i {
06d56c90 97 width: 32%;
9936359c
D
98 display: inline-block;
99 text-align: center;
100 cursor: pointer;
101}
696a66f8 102
8af29f2b 103#kiwi .panel_container { overflow-y:auto; height:100%; }
c794b877 104#kiwi .panel {
696a66f8
D
105 overflow-x:wrap;
106 border:none; display: none;
696a66f8 107}
c794b877 108
8af29f2b
D
109#kiwi .messages a {}
110#kiwi .messages.active { display:block; }
696a66f8 111
8af29f2b
D
112#kiwi .messages .msg {}
113#kiwi .messages .msg .time { display:inline; }
cdfcb576 114#kiwi .messages .msg .nick { display:inline; cursor: pointer; }
8af29f2b 115#kiwi .messages .msg .text { display:inline; }
bf3bd4e5 116
8af29f2b
D
117#kiwi .messages .msg.action .nick { display:none; }
118#kiwi .messages .msg.action .text { }
119#kiwi .messages .msg.action.join { }
120#kiwi .messages .msg.action.part .text { }
121#kiwi .messages .msg.action.quit .text { }
122#kiwi .messages .msg.action.kick .text { }
123#kiwi .messages .msg.status .nick { display:none; }
124#kiwi .messages .msg.status .text { }
125#kiwi .messages .msg.topic .nick { display:none; }
126#kiwi .messages .msg.topic .text { }
127#kiwi .messages .msg.motd { }
128#kiwi .messages .msg.motd .nick { }
129#kiwi .messages .msg.motd .text { }
130#kiwi .messages .msg.whois .nick { }
131#kiwi .messages .msg.whois .text { }
132#kiwi .messages .msg.error .text { }
0197b21c 133
8af29f2b
D
134#kiwi .messages .msg.global_nick_highlight { }
135#kiwi .messages .msg.highlight { }
696a66f8 136
5b01f32b 137#kiwi .messages .msg .media .media_content { white-space: normal; }
696a66f8 138
696a66f8 139
9936359c 140#kiwi .right_bar { border-left: 1px solid #8A8A8A; }
06d56c90
D
141#kiwi .right_bar.disabled { width:0; }
142#kiwi .right_bar.disabled .channel_tools,
143#kiwi .right_bar.disabled .memberlists { display:none; }
144
145#kiwi .right-bar-toggle {
146 position: absolute;
147 top: 10px;
148 left: -2.3em;
2c3e36ba 149 width: 1.5em;
06d56c90
D
150 font-size: 25px;
151 font-weight: bold;
152 text-align: center;
2c3e36ba 153 line-height: 1.5em;
06d56c90
D
154 background: #e3e3e3;
155 border: 1px solid;
06d56c90 156 cursor: pointer;
6fea3cc9
D
157
158 /*
159 Some mobile browsers only support long-hand border-radius, and using large
160 px values instead of 50% ensures the circle
161 */
162 -webkit-border-top-left-radius: 500px;
163 -webkit-border-top-right-radius: 500px;
164 -webkit-border-bottom-left-radius: 500px;
165 -webkit-border-bottom-right-radius: 500px;
166 border-top-left-radius: 500px;
167 border-top-right-radius: 500px;
168 border-bottom-left-radius: 500px;
169 border-bottom-right-radius: 500px;
06d56c90 170}
696a66f8 171
8af29f2b 172/* The active channels nicklist */
584080ab
D
173#kiwi .memberlists {
174 position: absolute;
175 left: 0;
176 bottom: 0;
177 top: 0;
178 width: 100%;
179 overflow-y: auto;
180 padding-top: 50px;
181}
4ad63257
D
182#kiwi .memberlists > div { display:none; }
183#kiwi .memberlists > div.active { display:block; }
30f9f42a
D
184#kiwi .memberlists ul li { overflow-y:auto; overflow-x:hidden; cursor:pointer; }
185#kiwi .memberlists ul li a.nick { }
696a66f8 186
8af29f2b 187/* The userbox shown when clicking a nick */
96910370 188#kiwi .userbox { position:relative; width:100px; }
e1fb4c61 189#kiwi .userbox a { }
96910370 190#kiwi .userbox a i { width:1em; text-align:center; }
8af29f2b
D
191
192
2766b08a 193/* Emoticons */
e62f5be1
D
194#kiwi .emoticon {
195 display: inline-block;
196 height: 15px; width: 17px;
197 overflow: hidden;
198 font-size: 0;
199 background: url(../img/emoticons.png) no-repeat;
200}
201#kiwi .emoticon.smile { background-position:0px 0; }
202#kiwi .emoticon.sad { background-position:-25px 0; }
203#kiwi .emoticon.lion { background-position:-50px 0; }
204#kiwi .emoticon.winky_lion { background-position:-75px 0; }
205#kiwi .emoticon.confused { background-position:-100px 0; }
206#kiwi .emoticon.cry { background-position:-125px 0; }
207#kiwi .emoticon.wink { background-position:-150px 0; }
208#kiwi .emoticon.wink_happy { background-position:-175px 0; }
209#kiwi .emoticon.tongue { background-position:-200px 0; }
210#kiwi .emoticon.cringe_tongue { background-position:-225px 0; }
211#kiwi .emoticon.shocked { background-position:-250px 0; }
212#kiwi .emoticon.happy { background-position:-275px 0; }
213#kiwi .emoticon.eyebrows { background-position:-300px 0; }
214#kiwi .emoticon.heart { background-position:-325px 0; }
215#kiwi .emoticon.doh { background-position:-373px 0; }
216#kiwi .emoticon.big_grin { background-position:-398px 0; }
217#kiwi .emoticon.wide_eye_right { background-position:-423px 0; }
218#kiwi .emoticon.wide_eye_left { background-position:-448px 0; }
219#kiwi .emoticon.unsure { background-position:-473px 0; }
2766b08a 220
8af29f2b
D
221
222/**
223 * Control box
224 */
1e85105e 225#kiwi .controlbox .input {
fb989cb2 226 height:1.7em; position:relative;
696a66f8 227}
696a66f8 228
8af29f2b 229/* The nick label */
1e85105e
D
230#kiwi .controlbox .input .nick { cursor: pointer; }
231#kiwi .controlbox .input .nick a { }
8af29f2b
D
232
233/* Wrapper div around the text area input */
1e85105e 234#kiwi .controlbox .input .input_wrap { display:inline; }
8af29f2b
D
235
236/* The textarea input */
1e85105e 237#kiwi .controlbox .input .inp { white-space: nowrap; }
8af29f2b
D
238
239
240/* Nick change dialog showed when clicking the nick label */
1e85105e 241#kiwi .controlbox .nickchange {
696a66f8 242 position: absolute;
8af29f2b 243 background: #FFF;
696a66f8 244}
1e85105e
D
245#kiwi .controlbox .nickchange input { }
246#kiwi .controlbox .nickchange button { }
696a66f8 247
fb989cb2 248/* Plugin tools */
1e85105e
D
249#kiwi .controlbox .input_tools { float:right; }
250#kiwi .controlbox .input_tools .tool { margin:0 1em; display:inline; }
fb989cb2 251
696a66f8
D
252
253
8af29f2b
D
254/**
255 * Topic bar
256 */
de214968
D
257#kiwi .toolbar .topic { position:relative; height:2em; }
258#kiwi .toolbar .topic div {
696a66f8 259 position:absolute;
8af29f2b 260 top:0; bottom:0; left:0; right:0;
f5035603 261 overflow: hidden;
696a66f8
D
262}
263
264
265
266
267
8af29f2b
D
268/**
269 * Server selection dialog
270 */
5aa89af2 271#kiwi .server_select { position:relative; width:320px; margin:0 auto; overflow:hidden; }
3735e390 272#kiwi .server_select.initial { margin-top: 3em; }
8af29f2b
D
273#kiwi .server_select .more { display: none; }
274#kiwi .server_select button { }
275#kiwi .server_select input { }
bac3c32e 276#kiwi .server_select label { }
8af29f2b
D
277#kiwi .server_select br { clear:both; }
278#kiwi .server_select .basic input { }
279#kiwi .server_select .basic label { }
280#kiwi .server_select .basic { border-bottom: 1px solid gray; margin-bottom:1em; }
281#kiwi .server_select .basic .show_more { }
fdce9047 282#kiwi .server_select .basic tr.pass { display:none; }
9f67f0f2 283#kiwi .server_select .basic tr.key { display:none; }
8af29f2b
D
284#kiwi .server_select.single_server .basic { border:none; }
285#kiwi .server_select .status { }
696a66f8 286
6a296cf0
D
287/* Channel key icon */
288#kiwi .server_select .basic tr.channel td { position: relative; }
880239e8 289#kiwi .server_select .basic tr.channel .fa-key {
6a296cf0 290 position: absolute;
700ef8ba
D
291 top: 0.4em;
292 right: 0.6em;
6a296cf0
D
293 font-size: 1.3em;
294 cursor: pointer;
295}
296#kiwi .server_select .basic tr.have_key { display:none; }
297
8af29f2b
D
298/* When connected to an IRC server, .ok is set on the status div */
299#kiwi .server_select .status.ok { }
696a66f8 300
8af29f2b
D
301/* IRC server connection error, .error is set on the status div */
302#kiwi .server_select .status.error { }
696a66f8
D
303
304
305
8af29f2b
D
306/* Logo and title in the server selection dialog */
307#kiwi .server_select .kiwi_logo { text-align: center; display:block; }
308#kiwi .server_select .kiwi_logo h1 { }
309#kiwi .server_select .kiwi_logo img { }
696a66f8
D
310
311
312
8af29f2b 313/* Icons in the top right corner */
4f99a29b
D
314#kiwi .toolbar .app_tools { float:right; }
315#kiwi .toolbar .app_tools ul li {
8af29f2b 316 display:inline; cursor:pointer;
7de3dd03 317}
4f99a29b 318#kiwi .toolbar .app_tools img { height:25px; width:25px; margin: 6px 0.7em 0 0; }
696a66f8
D
319
320
321
8af29f2b 322/* Settings applet */
5720c80a
VC
323
324/* Some of these styles will move to global styling later */
1b48d21e
VC
325#kiwi .settings_container {
326 padding: 50px;
327}
328
329#kiwi .settings_container .thumbnails:before {
330 content: ' ';
331 display: table;
332}
333#kiwi .settings_container .thumbnails:after {
334 content: ' ';
335 display: table;
336 clear: both;
337}
338
339#kiwi .settings_container .thumbnails {
340 list-style-type: none;
341 margin: 0;
342 padding: 0;
343}
344
345#kiwi .settings_container .thumbnails > li {
346 display: inline-block;
347}
348
1b48d21e
VC
349#kiwi .settings_container label {
350 cursor: pointer;
351}
352
72db27e4
D
353#kiwi_ form label { display: block; }
354#kiwi form input,
355#kiwi form select,
356#kiwi form textarea {
357 /*width: 100%;
358 box-sizing: border-box;*/
1b48d21e
VC
359}
360
72db27e4
D
361#kiwi form input[size],
362#kiwi form select[size],
363#kiwi form textarea[size] {
1b48d21e
VC
364 width: auto;
365}
366
72db27e4
D
367#kiwi form input[type="file"],
368#kiwi form input[type="image"],
369#kiwi form input[type="submit"],
370#kiwi form input[type="reset"],
371#kiwi form input[type="button"] {
1b48d21e
VC
372 width: auto;
373}
374
72db27e4 375#kiwi form input[type="radio"] {
1b48d21e
VC
376 width: auto;
377 cursor: pointer;
378 margin-top: 2px;
379}
380
72db27e4 381#kiwi form input[type="checkbox"] {
1b48d21e
VC
382 width: auto;
383 cursor: pointer;
384 margin-top: 3px;
385}
386
72db27e4
D
387#kiwi form .radio,
388#kiwi form .checkbox {
1b48d21e
VC
389 margin-bottom: 10px;
390 padding-left: 20px;
391}
392
72db27e4
D
393#kiwi form .radio:last-child,
394#kiwi form .checkbox:last-child {
1b48d21e
VC
395 margin-bottom: 0;
396}
397
72db27e4
D
398#kiwi form .radio input[type="radio"],
399#kiwi form .checkbox input[type="checkbox"] {
1b48d21e
VC
400 float: left;
401 margin-left: -20px;
402}
403
72db27e4
D
404#kiwi form .radio+.radio,
405#kiwi form .checkbox+.checkbox {
1b48d21e
VC
406 margin-top: -7px;
407}
408
409#kiwi .settings_container .thumbnail {
410 float: left;
411 margin-right: 15px;
412 text-align: center;
413}
5720c80a 414
1b48d21e
VC
415#kiwi .settings_container .thumbnail > .thumbnail_wrapper {
416 border-radius: 3px;
417 padding: 3px;
418}
419
420#kiwi .settings_container .thumbnail > img {
421 border-radius: 2px;
422}
423
424#kiwi .settings_container .thumbnail.active > .thumbnail_wrapper {
425 background-color: #a6c42c;
426 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #a6c42c), color-stop(100%, #76bd2b));
427 background-image: -webkit-linear-gradient(#a6c42c, #76bd2b);
428 background-image: linear-gradient(#a6c42c, #76bd2b);
429}
430
431#kiwi .settings_container section {
432 padding-bottom: 20px;
433}
434
435#kiwi .settings_container .theme_color {
436 border-radius: 2px;
437 height: 75px;
438 width: 75px;
439}
440
72db27e4 441#kiwi .control-group {
1b48d21e
VC
442 margin: 0 0 20px 20px;
443}
444
72db27e4 445#kiwi .control-group:last-child {
1b48d21e
VC
446 margin-bottom: 0;
447}
448
b54ef9a3
D
449#kiwi .settings_container section.language select { width:300px; }
450
1b48d21e
VC
451@media screen and (max-width: 768px) {
452 #kiwi .settings_container {
453 padding: 25px;
454 }
455}
34edea2e
VC
456
457
72db27e4
D
458#kiwi .channel_info label { display: block; }
459#kiwi .channel_info .channel_url {
460 display: none;
461}
63a887cd 462#kiwi .channel_info .channel-banlist table { display: none; }
72db27e4
D
463#kiwi .channel_info .remove-ban { cursor: pointer; }
464
465
34edea2e 466
93fa049c
D
467
468
469
696a66f8
D
470
471/**
472 * Reusable componants
473 */
474
8af29f2b 475#kiwi .divider-verticle {
696a66f8
D
476 border-left: 1px solid #CFCFCF;
477 border-right: 1px solid #FFFFFF;
478 position: absolute;
479 top:25px; bottom:25px;
480 right:0;
481 width:0;
482}
483
8af29f2b 484#kiwi .divider-horizontal {
696a66f8
D
485 border-top: 1px solid #CFCFCF;
486 border-bottom: 1px solid #FFFFFF;
487 position: absolute;
488 left:25px; right:25px;
489 bottom:0;
490 height:0;
491}
492
493
494
567a2f79
D
495#kiwi .loader {
496 background:url(../img/loader.gif) no-repeat;
497 width:43px; height:11px;
498 display:inline-block;
499}
500
501
502
696a66f8 503
e1fb4c61
D
504#kiwi .ui_menu {
505 padding: 0;
506 z-index:10;
507 position: absolute;
508 top: 100px; left: 100px;
509 background: #fff;
510 border: 1px solid #bbb;
511 background-clip: padding-box;
512}
513#kiwi .ui_menu .ui_menu_title {
514 padding: 5px 10px 5px 10px; font-weight: bold; overflow:hidden; background:#ddd;
515}
516#kiwi .ui_menu .ui_menu_content { padding: 5px 10px 5px 10px; border-top:1px solid #e9e9e9; overflow:hidden; position:relative; }
517#kiwi .ui_menu .ui_menu_content > a { display: block; }
880239e8
JA
518#kiwi .ui_menu .ui_menu_content > a[class^="fa-"]:before,
519#kiwi .ui_menu .ui_menu_content > a[class*=" fa-"]:before { margin-right: 5px; color:#666; }
e1fb4c61
D
520#kiwi .ui_menu .ui_menu_foot {
521 padding: 5px; border-top:1px solid #e9e9e9; background:#ddd; overflow:hidden;
522}
523#kiwi .ui_menu .ui_menu_foot .close { }
905e5773 524
880239e8 525#kiwi .applet .applet_chanlist .fa-sort-asc:before, #kiwi .applet .applet_chanlist .fa-sort-desc:before {
905e5773
CC
526 padding-left: 1em;
527}
42ff337a 528#kiwi .applet .applet_chanlist td {
905e5773 529 min-width: 120px;
ac915057 530}