new user home page with a bit of jquery thrown in
[e-DoKo.git] / css / standard025.css
1 /* Copyright 2006, 2007, 2008, 2009, 2010 Arun Persaud <arun@nubati.net>
2  *
3  *   This file is part of e-DoKo.
4  *
5  *   e-DoKo is free software: you can redistribute it and/or modify
6  *   it under the terms of the GNU General Public License as published by
7  *   the Free Software Foundation, either version 3 of the License, or
8  *   (at your option) any later version.
9  *
10  *   e-DoKo is distributed in the hope that it will be useful,
11  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *   GNU General Public License for more details.
14  *
15  *   You should have received a copy of the GNU General Public License
16  *   along with e-DoKo.  If not, see <http://www.gnu.org/licenses/>.
17  *
18  */
19
20 /* reset CSS (taken from blueprint and modified a bit) */
21
22 html, body, div, span,
23 h1, h2, h3, h4, h5, h6, p,
24 a,img,  dl, dt, dd, ol, ul, li,
25 fieldset, form, label, legend,
26 table, tbody, tfoot, thead, tr, th, td {
27   margin: 0;
28   padding: 0;
29   border: 0;
30   vertical-align: baseline;
31 }
32 table { border-collapse: separate; border-spacing: 0; }
33 caption, th, td { text-align: left; font-weight: normal; }
34 table, td, th { vertical-align: middle; }
35
36 /*  end reset */
37
38 /* some general layout */
39 h1, h2, h3, h4, h5, h6, p {margin: 2px; padding: 1px;}
40
41 body { background-color: #ddd; }
42
43
44 /* the header, footer, etc */
45 .header {
46   background-color: #fff;
47   text-align:       center;
48   height:           4em;
49   padding-top: 1.5em;
50   margin-left: 3em;
51   margin-right: 3em;
52   border-bottom:    3px solid gray;
53 }
54
55 .lastlogin {
56   position:absolute;
57   top:0;
58   left:3em;
59 }
60 .lastlogin span { font-size:smaller;}
61
62 .main {
63   background-color: #fff;
64   margin-left: 3em;
65   margin-right: 3em;
66   min-height: 40em;
67 }
68
69 .footer {
70   background-color: #fff;
71   margin-left: 3em;
72   margin-right: 3em;
73   padding:0;
74   border-top: 2px solid gray;
75   clear:both;
76   height: 8em;
77 }
78 .footer .right { float:right;   font-size:smaller;}
79 .footer .left  { float:left;  font-size:smaller; }
80
81 .status {
82   position:absolute;
83   right:4em;
84   top:0.1em;
85   font-size: smaller;
86 }
87
88 /* sessions */
89 .session {
90   width: 100%;
91   border-bottom: 1px solid #000;
92   text-align: center;
93 }
94 .session div.sessionrules {
95   width: 19em;
96   float: left;
97   text-align: left;
98 }
99 .session div.sessionrules div{
100   display:none;
101   background-color: #fff;
102   border: 1px solid #000;
103   position:absolute;
104   z-index: 30;
105   padding:0.5em;
106 }
107 .session div.sessionrules:hover div{ display:block; }
108 .session div.sessionscore {
109   width: 19em;
110   float: right;
111   text-align: right;
112 }
113 .session div.sessionscore div{
114   position:absolute;
115   width:12em;
116   right:3em;
117   display:none;
118   background-color: #fff;
119   border: 1px solid #000;
120   z-index: 30;
121 }
122 .session div.sessionscore:hover div{ display:block;}
123 .session img.rulesicon{ height: 1em; }
124
125 .session .scoretable{
126   height:20em;
127   overflow: auto;
128 }
129 .session table.score {
130   margin:0.5em;
131   width:10em;
132   border-collapse:collapse;
133 }
134
135 /* all kind of message that should appear in the middle of the page/table */
136 .joingame,.sickness,.poverty,.total,.message {
137  position: absolute;
138  background-color: #fff;
139  width: 20%;
140  top:19em;
141  left:40%;
142  right:40%;
143  text-align: center;
144  z-index:22
145 }
146
147 .total {
148     top:11em;
149     width: 14%;
150     left: 43%;
151 }
152 /* scoring */
153 .total .re {
154  position: absolute;
155  left: -12em;
156  top:8em;
157  background-color: #eee;
158  z-index:15;
159 }
160 .total .contra {
161  position: absolute;
162  right: -14em;
163  top:8em;
164  background-color: #eee;
165  z-index:15;
166 }
167
168 /* output possible rules for  a new game  */
169 .rules { margin-top:24em;}
170
171 /* playing cards*/
172 .card {
173   position:absolute;
174   z-index:20;
175   top:18em;
176   left:28em;
177   text-align:center;
178   background-color:#fff;
179   border:2px solid gray;
180 }
181 .card img { width:8em; }
182
183 /* display the table and the names */
184 div.table {
185   position:absolute;
186   width:100%;
187   height:37em;
188   margin:0;
189   left:0;
190   padding:0;
191 /*  border: 3px solid blue; */
192   top: 9.2em;
193   text-align:center;
194 }
195
196 div.table img.table {
197   position:absolute;
198   width:25%;
199   top:20%;
200   height:22em;
201   left:37.5%;
202   z-index:5;
203   display: block;
204   margin:0;
205   padding:0;
206 }
207 div.table div {
208   /*background-color:green;*/
209   position:absolute;
210   width:12.5%;
211   text-align:center;
212   z-index:20;
213 }
214 div.table div img{
215   /*background-color:green;*/
216   width:20%;
217 }
218
219 div.table div.table0 {
220   top:45%;
221   right:62.5%;
222 }
223 div.table div.table1 {
224   top:0%;
225   left:43.75%;
226 }
227 div.table div.table2 {
228   top:45%;
229   left:62.5%;
230 }
231 div.table div.table3 {
232   bottom:0%;
233   left: 43.75%;
234 }
235
236 /* display the card tricks */
237
238 ul.tricks {
239   position:relative;
240   zoom:1; /* fixes an IE6 issue and hopefully doesn't mess up anything else */
241   list-style:none;
242   margin:3px;
243   padding:0;
244   padding-bottom:3px;
245   text-align:center;
246   border-bottom:1px solid #444;
247 }
248 ul.tricks a { text-decoration:none; color:#000;}
249 ul.tricks li {
250   /*background-color:blue;*/
251   padding:0.1em;
252   margin:0.2em 0.5em;
253   display:inline;
254 }
255 ul.tricks li.old {  background-color:#fff; }
256 ul.tricks li:hover {  background-color: #bbb;}
257 ul.tricks li.nohighlight:hover {  background-color: #fff;}
258
259 ul.tricks li div.trick {
260   position:absolute;
261   width:100%;
262   height:35em;
263   top:2.2em;
264   left: 0;
265   margin:0;
266   padding:0;
267 /*  border: 2px solid red;*/
268   display:block;
269 }
270 ul.tricks li div.trick { display:none;}
271 ul.tricks li div.trick img.arrow {
272   position:absolute;
273   margin:0;
274   padding:0;
275 /*  border: 5px solid blue;*/
276   text-align:center;
277   width:16%;
278   height:16em;
279   left:42%;
280   right:42%;
281   top:10em;
282   z-index:8;
283 }
284
285 #trick0 img { float:left; width: 3em; }
286
287 hr {clear:both;}
288
289 /*ul.tricks li:hover div.table{ display:block; }*/
290
291 /* left player */
292 ul.tricks li div div.card0 img,
293 ul.tricks li div div.card0 .score,
294 .vorbehalt0 {
295   position:absolute;
296   margin:0;
297   padding:0;
298   /*border: 1px solid red;*/
299   top: 40%;
300   left:37.5%;
301   right:56.5%;
302   width:6%;
303   z-index:30;
304 }
305
306 .vorbehalt0 {
307   left:37.5%;
308   right:57.5%;
309   width:10%;
310   text-align:left;
311 }
312 ul.tricks li div div.card0 span.comment{
313   position:absolute;
314   margin:0;
315   padding:0;
316   /*border: 1px solid red;*/
317   top: 5%;
318   right:66.5%;
319   left:17.5%;
320   width:16%;
321 }
322
323 /* top player */
324 ul.tricks li div div.card1 img,
325 ul.tricks li div div.card1 .score,
326 .vorbehalt1 {
327   position:absolute;
328   margin:0;
329   padding:0;
330   /*border: 1px solid red;*/
331   top: 22%;
332   left:47%;
333   right:47%;
334   width:6%;
335   text-align:center;
336   z-index:30;
337 }
338 .vorbehalt1{
339   left:45%;
340   right:45%;
341   width:10%;
342   z-index:30;
343 }
344 ul.tricks li div div.card1 span.comment{
345   position:absolute;
346   margin:0;
347   padding:0;
348   /*border: 1px solid red;*/
349   top: 5%;
350   left:66.5%;
351   right:17.5%;
352   width:16%;
353   text-align:center;
354 }
355
356 /* right player */
357 ul.tricks li div div.card2 img,
358 ul.tricks li div div.card2 .score,
359 .vorbehalt2{
360   position:absolute;
361   margin:0;
362   padding:0;
363   /*border: 1px solid red;*/
364   top: 40%;
365   right:37.5%;
366   left:56.5%;
367   width:6%;
368   z-index:30;
369 }
370 .vorbehalt2{
371   left:auto;
372   right:38%;
373   width:10%;
374   text-align:right;
375 }
376 ul.tricks li div div.card2 span.comment{
377   position:absolute;
378   margin:0;
379   padding:0;
380   /*border: 1px solid red;*/
381   top: 85%;
382   left:66.5%;
383   right:17.5%;
384   width:16%;
385   text-align:center;
386 }
387
388 /* bottom player */
389 ul.tricks li div div.card3 img,
390 ul.tricks li div div.card3 .score,
391 .vorbehalt3{
392   position:absolute;
393   margin:0;
394   padding:0;
395   /*border: 1px solid red;*/
396   bottom: 20%;
397   left:47%;
398   right:47%;
399   width:6%;
400   text-align:center;
401   z-index:30;
402 }
403 .vorbehalt3{
404   left:45%;
405   right:45%;
406   width:10%;
407   text-align:center;
408 }
409 ul.tricks li div div.card3 span.comment{
410   position:absolute;
411   margin:0;
412   padding:0;
413   /*border: 1px solid red;*/
414   top: 85%;
415   right:66.5%;
416   left:17.5%;
417   width:16%;
418 }
419
420 span.comment{
421  border: 3px solid green;
422  max-height:6em;
423  overflow: auto;
424  word-wrap: break-word;
425 }
426
427 ul.tricks li div div span.comment span{
428   display:block;
429   text-align:left;
430   border-top:1px solid green;
431 }
432
433 .mycards {
434   margin:0;
435   margin-top:38.5em;
436   padding:0;
437   border-top:       2px solid gray;
438 /* border-bottom:    2px solid green;*/
439   background-color: #faffc7;
440   text-align:center;
441 }
442
443 .mycards img { height:6em;}
444
445 .exchange {
446   clear:both;
447   margin:0;
448   padding:0;
449   border:1px solid red;
450   background-color:yellow;
451 }
452
453 .exchange img { height:6em;}
454
455 .line{
456   clear:both;
457   border-top:2px solid gray;
458   margin:0;
459   padding:0;
460 }
461
462 .gameinfo {
463   position:relative;
464   top:0em;
465   margin:0em;
466   padding:0em;
467   width:100%;
468   border-top:    2px solid gray;
469   background-color: #efaaaa;
470   text-align:center;
471 }
472
473 .usermenu {
474   position:absolute;
475   top:10em;
476   left:3em;
477   margin:1em;
478   margin-top:0em;
479   margin-left:0em;
480
481   width: 12em;
482
483   border:    2px solid gray;
484
485   padding:0.3em;
486
487   background-color: #eee;
488 }
489
490 .notes {
491   position:absolute;
492   top:27em;
493   left:0;
494   margin:1em;
495   margin-top:0em;
496   margin-left:3em;
497
498   width: 12em;
499
500   border:    2px solid gray;
501
502   padding:0.3em;
503
504   background-color: #efefef;
505
506   height:10em;
507   overflow: auto;
508   z-index:50;
509 }
510
511 .user { margin-left:25%;margin-right:5%; }
512
513 div.user ul {
514   list-style:none;
515 }
516
517 div.user ul li {
518   position: relative;
519   padding:3px;
520   margin: 0px;
521   width: 80%;
522   min-height: 1.2em;
523   border-left: 2px solid #babdb6 ;
524   border-right: 2px solid #babdb6 ;
525   border-bottom: 2px solid #babdb6 ;
526 }
527
528 div.user ul li:first-child {
529   border-top: 2px solid #babdb6 ;
530 }
531 .gamessession {
532     display:none;
533 }
534 .link {
535     text-decoration:underline;
536     color: blue;
537 }
538
539 .user .gameid {
540     float: left;
541     width: 5em;
542 }
543 .user .turn {
544     padding-left: 1em;
545     float: left;
546     width: 20em;
547 }
548 .user .gameshidesession {
549     float:right;
550     width: 10em;
551 }
552
553 .wide { margin-left:5%;margin-right:5%; }
554
555 .over {
556   text-align:center;
557   margin-bottom:0.1em;
558 }
559
560 .cardinput {
561   display:inline;
562   position:relative;
563   border: 1px solid #000;
564 }
565
566 .cardinput img { width: 4em;}
567
568 .cardinput:hover{ background-color:red;}
569
570 div span img.button { width: 2em;}
571 div span img.tinybutton { width: 1.4em;}
572
573 .gamestatuspre {
574   padding: 0 0.3em;
575   background-color: #f57900;
576 }
577 .gamestatusover {
578   padding:0 0.3em;
579   background-color: #e9b96e ;
580   color: #fff;
581 }
582 .gamestatusplay {
583   padding:0 0.3em;
584   background-color: #8ae234;
585 }
586
587 .bigger{ font-size:larger;}
588
589
590 /* statistics using jquery*/
591 caption {
592   text-align: center;
593   margin: 0.5em;
594   padding: 0.5em;
595   padding-bottom: 0em;
596   margin-bottom: 0;
597  }
598
599 table.stats { 
600   margin: 0.5em 1em;
601   border: solid 0.2em #aeaeae;
602   -moz-border-radius: 0.5em ;
603   float: left;
604 }
605 table.stats tbody tr.odd td  { background-color:#aeaeae; }
606 table.stats tbody tr.even td { background-color:#eaeaea; }
607 table.stats td, table.stats th {
608   margin-left:  0.2em;
609   margin-right: 0.2em;
610   padding-left:  0.2em;
611   padding-right: 0.2em;
612   border-right: solid 0.1em #000;
613 }
614 table.stats tr td:last-child, table.stats  tr th:last-child { border-right: solid 0 #000; }
615 table.stats th { border-bottom: solid 0.2em #000 }
616
617 table.stats thead tr .header {
618     background-image: url(bg.png);
619     background-repeat: no-repeat;
620     background-position: center right;
621     cursor: pointer;
622 }
623 table.stats tbody td {
624     padding: 4px;
625     background-color: #eaeaea;
626     vertical-align: top;
627 }
628 table.stats thead tr .headerSortUp {
629     background-image: url(asc.png);
630 }
631 table.stats thead tr .headerSortDown {
632     background-image: url(desc.png);
633 }
634 table.stats thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
635     background-color: #8dbdd8;
636 }
637
638
639
640 /* the login window */
641 .login {
642   text-align:center;
643   padding-top: 1em;
644 }
645
646 .login p, {
647   padding: 0.1em 0.1em 0.15em;
648 }
649 .login h4 {
650   padding: 0.3em 0.3em 0.45em;
651 }
652
653 /* the login form */
654 .login form{
655   width: 24em;
656   margin: 0.5em auto;
657   padding: 0.5em 0.5em  1.5em;
658   text-align: center;
659 }
660
661 fieldset {
662   border: 2px solid #000;
663   padding: 0.5em 0.5em 0.75em;
664   background-color: #eee;
665 }
666
667 .login label, .login input{ margin: 0.5em 0.5em 0.75em;}
668
669 .login label{
670   float:left;
671   width:7em;
672   text-align: left;
673 }
674
675 .login input #email, .login input #password{
676   width:9em;
677   float:right;
678 }
679
680 .login .submitbutton { background-color: #fff;}
681 .login .submitbutton:hover { background-color: #aaa;}
682
683 #openid_url {
684   background: #FFFFFF url('openid-icon-small.gif') no-repeat scroll 0pt 50%;
685   padding-left: 18px;
686 }
687
688 table.openid td, table.openid th{
689     padding: 0.0em 0.3em;;
690 }
691
692 .newbiehint {
693     background-color: #fee;
694 }
695
696 .vacation {
697     color: #666;
698     background-color: #fc3;
699 }
700
701 div.table div img.gravatar, img.gravatar  { 
702     width:  4em;
703     height: 4em;
704     border: 3px solid #aaa;
705 }
706
707 .highcall {
708     background-color: #fc3;
709 }