0af0e3b971dbf507ae26ab84647a5eb272d6480c
[e-DoKo.git] / css / standard027.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
535 .user .gameid {
536     float: left;
537     width: 5em;
538 }
539 .user .turn {
540     padding-left: 1em;
541     float: left;
542     width: 20em;
543 }
544
545 .user .gameshidesession {
546   display: none;
547 }
548
549 .user .gameshidesession , .user .gamesshowsession {
550     float:right;
551     width: 10em;
552 }
553
554 .wide { margin-left:5%;margin-right:5%; }
555
556 .over {
557   text-align:center;
558   margin-bottom:0.1em;
559 }
560
561 .cardinput {
562   display:inline;
563   position:relative;
564   border: 1px solid #000;
565 }
566
567 .cardinput img { width: 4em;}
568
569 .cardinput:hover{ background-color:red;}
570
571 div span img.button { width: 2em;}
572 div span img.tinybutton { width: 1.4em;}
573
574 .gamestatuspre {
575   padding: 0 0.3em;
576   background-color: #f57900;
577 }
578 .gamestatusover {
579   padding:0 0.3em;
580   background-color: #e9b96e ;
581   color: #fff;
582 }
583 .gamestatusplay {
584   padding:0 0.3em;
585   background-color: #8ae234;
586 }
587
588 .bigger{ font-size:larger;}
589
590
591 /* statistics using jquery*/
592 caption {
593   text-align: center;
594   margin: 0.5em;
595   padding: 0.5em;
596   padding-bottom: 0em;
597   margin-bottom: 0;
598  }
599
600 table.stats {
601   margin: 0.5em 1em;
602   border: solid 0.2em #aeaeae;
603   -moz-border-radius: 0.5em ;
604   float: left;
605 }
606 table.stats tbody tr.odd td  { background-color:#aeaeae; }
607 table.stats tbody tr.even td { background-color:#eaeaea; }
608 table.stats td, table.stats th {
609   margin-left:  0.2em;
610   margin-right: 0.2em;
611   padding-left:  0.2em;
612   padding-right: 0.2em;
613   border-right: solid 0.1em #000;
614 }
615 table.stats tr td:last-child, table.stats  tr th:last-child { border-right: solid 0 #000; }
616 table.stats th { border-bottom: solid 0.2em #000 }
617
618 table.stats thead tr .header {
619     background-image: url(bg.png);
620     background-repeat: no-repeat;
621     background-position: center right;
622     cursor: pointer;
623 }
624 table.stats tbody td {
625     padding: 4px;
626     background-color: #eaeaea;
627     vertical-align: top;
628 }
629 table.stats thead tr .headerSortUp {
630     background-image: url(asc.png);
631 }
632 table.stats thead tr .headerSortDown {
633     background-image: url(desc.png);
634 }
635 table.stats thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
636     background-color: #8dbdd8;
637 }
638
639
640
641 /* the login window */
642 .login {
643   text-align:center;
644   padding-top: 1em;
645 }
646
647 .login p, {
648   padding: 0.1em 0.1em 0.15em;
649 }
650 .login h4 {
651   padding: 0.3em 0.3em 0.45em;
652 }
653
654 /* the login form */
655 .login form{
656   width: 24em;
657   margin: 0.5em auto;
658   padding: 0.5em 0.5em  1.5em;
659   text-align: center;
660 }
661
662 fieldset {
663   border: 2px solid #000;
664   padding: 0.5em 0.5em 0.75em;
665   background-color: #eee;
666 }
667
668 .login label, .login input{ margin: 0.5em 0.5em 0.75em;}
669
670 .login label{
671   float:left;
672   width:7em;
673   text-align: left;
674 }
675
676 .login input #email, .login input #password{
677   width:9em;
678   float:right;
679 }
680
681 .login .submitbutton { background-color: #fff;}
682 .login .submitbutton:hover { background-color: #aaa;}
683
684 #openid_url {
685   background: #FFFFFF url('openid-icon-small.gif') no-repeat scroll 0pt 50%;
686   padding-left: 18px;
687 }
688
689 table.openid td, table.openid th{
690     padding: 0.0em 0.3em;;
691 }
692
693 .newbiehint {
694     background-color: #fee;
695 }
696
697 .vacation {
698     color: #666;
699     background-color: #fc3;
700 }
701
702 div.table div img.gravatar, img.gravatar  {
703     width:  4em;
704     height: 4em;
705     border: 3px solid #aaa;
706 }
707
708 .highcall {
709     background-color: #fc3;
710 }
711
712 .about {
713     margin-left: 20%;
714     margin-right: 20%;
715     padding-top: 10%;
716 }
717
718 .about ul {
719     margin-left: 2em;
720 }
721
722 .about div {
723     width:12em;
724     height: 6em;
725     margin: 2em;
726     padding: 1em;
727     float:left;
728     border: 1px solid black;
729 }
730
731 .about .code {
732     background-color: #729fcf;
733 }
734 .about .database {
735     background-color: #8ae234;
736 }
737 .about .graphics {
738     background-color: #e9b96e;
739 }
740 .about .translation {
741     background-color: #fce94f;
742 }
743
744
745