1 /* Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012 Arun Persaud <arun@nubati.net>
3 * This file is part of e-DoKo.
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.
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.
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/>.
20 body { background-color: #ddd; }
22 /* the header, footer, etc */
24 background-color: #fff;
28 border-bottom: 3px solid gray;
36 .lastlogin span { font-size:smaller;}
39 background-color: #fff;
46 background-color: #fff;
49 border-top: 2px solid gray;
51 footer .right { text-align:right; font-size:smaller;}
52 footer .left { float:left; font-size:smaller;}
63 border-bottom: 1px solid #000;
67 .session div.sessionrules {
72 .session div.sessionrules div{
74 background-color: #fff;
75 border: 1px solid #000;
80 .session div.sessionrules:hover div{ display:block; }
81 .session div.sessionscore {
86 .session div.sessionscore div{
91 background-color: #fff;
92 border: 1px solid #000;
95 .session div.sessionscore:hover div{ display:block;}
96 .session img.rulesicon{ height: 1em; }
102 .session table.score {
105 border-collapse:collapse;
108 /* all kind of message that should appear in the middle of the page/table */
111 background-color: #fff;
119 .message >div { border: 2px solid black; }
126 .joingame,.sickness,.poverty,.total {
128 background-color: #fff;
145 background-color: #eee;
153 background-color: #eee;
165 background-color:#fff;
166 border:2px solid gray;
168 .card img { width:8em; }
170 form { position: relative;}
172 /* display the table and the names */
178 border-bottom:1px solid #444;
181 div.table div.table1 {
193 div.table div.table0 {
203 div.table div.table0 .start {
204 background-color: #f00;
210 div.table img.table {
214 min-margin-left: 10xem;
215 min-margin-right: 10em;
218 vertical-align:middle;
220 div.table div.table2 {
230 div.table div.table3 {
241 border: 3px solid #aaa;
248 div span.numberoftricks {
252 /* display the card tricks */
260 border-bottom:1px solid #444;
262 ul.tricks a { text-decoration:none; color:#000;}
264 /*background-color:blue;*/
269 ul.tricks li.old { background-color:#fff; }
270 ul.tricks li a:hover { background-color: #bbb;}
271 ul.tricks li.nohighlight a:hover { background-color: #fff;}
284 div.tricks div.trick {
292 .tricks div.trick img.arrow {
301 #trick0 img { float:left; width: 3em; }
306 .tricks div div.card0 img,
307 .tricks div div.card0 .score,
312 /*border: 1px solid red;*/
326 .tricks div div.card0 span.comment{
330 /*border: 1px solid red;*/
338 .tricks div div.card1 img,
339 .tricks div div.card1 .score,
344 /*border: 1px solid red;*/
358 .tricks div div.card1 span.comment{
362 /*border: 1px solid red;*/
371 .tricks div div.card2 img,
372 .tricks div div.card2 .score,
377 /*border: 1px solid red;*/
390 .tricks div div.card2 span.comment{
394 /*border: 1px solid red;*/
403 .tricks div div.card3 img,
404 .tricks div div.card3 .score,
409 /*border: 1px solid red;*/
416 .tricks div div.card3 .score, .vorbehalt3{
423 .tricks div div.card3 span.comment{
427 /*border: 1px solid red;*/
435 border: 3px solid green;
438 word-wrap: break-word;
441 .tricks div div span.comment span{
444 border-top:1px solid green;
450 border-top: 2px solid gray;
451 /* border-bottom: 2px solid green;*/
452 background-color: #faffc7;
456 .mycards img { height:6em;}
462 border:1px solid red;
463 background-color:yellow;
466 .exchange img { height:6em;}
470 border-top:2px solid gray;
481 border-top: 2px solid gray;
482 background-color: #efaaaa;
489 border-bottom: 1px solid black;
502 border: 2px solid gray;
506 background-color: #efefef;
529 border-left: 2px solid #babdb6 ;
530 border-right: 2px solid #babdb6 ;
531 border-bottom: 2px solid #babdb6 ;
534 div.user ul li:first-child {
535 border-top: 2px solid #babdb6 ;
550 .user .gameshidesession {
554 .user .gameshidesession , .user .gamesshowsession {
559 .wide { margin-left:5%;margin-right:5%; }
569 border: 1px solid #000;
571 .cardinput img { width: 4em;}
572 .cardinput:hover{ background-color:red;}
576 background-color: #f57900;
580 background-color: #e9b96e ;
585 background-color: #8ae234;
588 .bigger{ font-size:larger;}
591 /* statistics using jquery*/
602 border: solid 0.2em #aeaeae;
603 -moz-border-radius: 0.5em ;
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 {
612 padding-right: 0.2em;
613 border-right: solid 0.1em #000;
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 }
618 table.stats thead tr .header {
619 background-image: url(bg.png);
620 background-repeat: no-repeat;
621 background-position: center right;
625 table.stats tbody td {
627 background-color: #eaeaea;
630 table.stats thead tr .headerSortUp {
631 background-image: url(asc.png);
633 table.stats thead tr .headerSortDown {
634 background-image: url(desc.png);
636 table.stats thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
637 background-color: #8dbdd8;
642 /* the login window */
649 padding: 0.1em 0.1em 0.15em;
652 padding: 0.3em 0.3em 0.45em;
655 /* the login/register form */
666 ul.loginregister li {
669 border-top: 2px solid #000;
670 border-left: 2px solid #000;
671 padding: 0.5em 0.75em;
672 padding-bottom: 0.25em;
673 background-color: #eee;
676 ul.loginregister li:last-child { border-right: 2px solid #000;}
677 ul.loginregister li:hover {background-color: #aaa; }
679 .doregister {display: none;}
680 .dologin label,.doregister label {float:left; width: 6em; }
686 margin-bottom: 0.5em;
687 padding: 0.5em 0.5em 1.5em;
692 border: 2px solid #000;
693 padding: 0.5em 0.5em 0.75em;
694 background-color: #eee;
701 .login label, .login input{ margin: 0.5em 0.5em 0.75em;}
709 .login input #email, .login input #password{
714 .login .submitbutton { background-color: #fff;}
715 .login .submitbutton:hover { background-color: #aaa;}
718 background: #FFFFFF url('openid-icon-small.gif') no-repeat scroll 0pt 50%;
722 table.openid td, table.openid th{
723 padding: 0.0em 0.3em;;
727 background-color: #fee;
732 background-color: #fc3;
736 background-color: #fc3;
755 border: 1px solid black;
759 background-color: #729fcf;
762 background-color: #8ae234;
765 background-color: #e9b96e;
767 .about .translation {
768 background-color: #fce94f;
772 /* special layout for mobile devices */
773 @media only screen and (max-width: 900px) {
775 background-color: #fff;
791 border-top: 1px solid gray;
794 .session div.sessionscore div, .status {
808 border: 2px solid gray;
812 background-color: #efefef;
819 .user { margin-left:5%;margin-right:5%; }
823 background-color: #fff;
831 .message >div { border: 2px solid black; }