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;
146 background-color: #eee;
154 background-color: #eee;
166 background-color:#fff;
167 border:2px solid gray;
169 .card img { width:8em; }
171 form { position: relative;}
173 /* display the table and the names */
179 border-bottom:1px solid #444;
182 div.table div.table1 {
194 div.table div.table0 {
204 div.table div.table0 .start {
205 background-color: #f00;
212 div.table img.table {
216 min-margin-left: 10xem;
217 min-margin-right: 10em;
220 vertical-align:middle;
222 div.table div.table2 {
232 div.table div.table3 {
243 border: 3px solid #aaa;
250 div span.numberoftricks {
254 /* display the card tricks */
262 border-bottom:1px solid #444;
264 ul.tricks a { text-decoration:none; color:#000;}
266 /*background-color:blue;*/
271 ul.tricks li.old { background-color:#fff; }
272 ul.tricks li a:hover { background-color: #bbb;}
273 ul.tricks li.nohighlight a:hover { background-color: #fff;}
286 div.tricks div.trick {
294 .tricks div.trick img.arrow {
303 #trick0 img { float:left; width: 3em; }
308 .tricks div div.card0 img,
309 .tricks div div.card0 .score,
314 /*border: 1px solid red;*/
324 .tricks div div.card0 span.comment{
328 /*border: 1px solid red;*/
336 .tricks div div.card1 img,
337 .tricks div div.card1 .score,
342 /*border: 1px solid red;*/
352 .tricks div div.card1 span.comment{
356 /*border: 1px solid red;*/
365 .tricks div div.card2 img,
366 .tricks div div.card2 .score,
371 /*border: 1px solid red;*/
381 .tricks div div.card2 span.comment{
385 /*border: 1px solid red;*/
394 .tricks div div.card3 img,
395 .tricks div div.card3 .score,
400 /*border: 1px solid red;*/
410 .tricks div div.card3 .score{
417 .tricks div div.card3 span.comment{
421 /*border: 1px solid red;*/
429 border: 3px solid green;
432 word-wrap: break-word;
435 .tricks div div span.comment span{
438 border-top:1px solid green;
444 border-top: 2px solid gray;
445 /* border-bottom: 2px solid green;*/
446 background-color: #faffc7;
450 .mycards img { height:6em;}
456 border:1px solid red;
457 background-color:yellow;
460 .exchange img { height:6em;}
464 border-top:2px solid gray;
475 border-top: 2px solid gray;
476 background-color: #efaaaa;
483 border-bottom: 1px solid black;
496 border: 2px solid gray;
500 background-color: #efefef;
523 border-left: 2px solid #babdb6 ;
524 border-right: 2px solid #babdb6 ;
525 border-bottom: 2px solid #babdb6 ;
528 div.user ul li:first-child {
529 border-top: 2px solid #babdb6 ;
544 .user .gameshidesession {
548 .user .gameshidesession , .user .gamesshowsession {
553 .wide { margin-left:5%;margin-right:5%; }
563 border: 1px solid #000;
565 .cardinput img { width: 4em;}
566 .cardinput:hover{ background-color:red;}
570 background-color: #f57900;
574 background-color: #e9b96e ;
579 background-color: #8ae234;
582 .bigger{ font-size:larger;}
585 /* statistics using jquery*/
596 border: solid 0.2em #aeaeae;
597 -moz-border-radius: 0.5em ;
600 table.stats tbody tr.odd td { background-color:#aeaeae; }
601 table.stats tbody tr.even td { background-color:#eaeaea; }
602 table.stats td, table.stats th {
606 padding-right: 0.2em;
607 border-right: solid 0.1em #000;
609 table.stats tr td:last-child, table.stats tr th:last-child { border-right: solid 0 #000; }
610 table.stats th { border-bottom: solid 0.2em #000 }
612 table.stats thead tr .header {
613 background-image: url(bg.png);
614 background-repeat: no-repeat;
615 background-position: center right;
619 table.stats tbody td {
621 background-color: #eaeaea;
624 table.stats thead tr .headerSortUp {
625 background-image: url(asc.png);
627 table.stats thead tr .headerSortDown {
628 background-image: url(desc.png);
630 table.stats thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
631 background-color: #8dbdd8;
636 /* the login window */
643 padding: 0.1em 0.1em 0.15em;
646 padding: 0.3em 0.3em 0.45em;
649 /* the login/register form */
660 ul.loginregister li {
663 border-top: 2px solid #000;
664 border-left: 2px solid #000;
665 padding: 0.5em 0.75em;
666 padding-bottom: 0.25em;
667 background-color: #eee;
670 ul.loginregister li:last-child { border-right: 2px solid #000;}
671 ul.loginregister li:hover {background-color: #aaa; }
673 .doregister {display: none;}
674 .dologin label,.doregister label {float:left; width: 6em; }
680 margin-bottom: 0.5em;
681 padding: 0.5em 0.5em 1.5em;
686 border: 2px solid #000;
687 padding: 0.5em 0.5em 0.75em;
688 background-color: #eee;
695 .login label, .login input{ margin: 0.5em 0.5em 0.75em;}
703 .login input #email, .login input #password{
708 .login .submitbutton { background-color: #fff;}
709 .login .submitbutton:hover { background-color: #aaa;}
712 background: #FFFFFF url('openid-icon-small.gif') no-repeat scroll 0pt 50%;
716 table.openid td, table.openid th{
717 padding: 0.0em 0.3em;;
721 background-color: #fee;
726 background-color: #fc3;
730 background-color: #fc3;
749 border: 1px solid black;
753 background-color: #729fcf;
756 background-color: #8ae234;
759 background-color: #e9b96e;
761 .about .translation {
762 background-color: #fce94f;
766 /* special layout for mobile devices */
767 @media only screen and (max-width: 900px) {
769 background-color: #fff;
785 border-top: 1px solid gray;
788 .session div.sessionscore div, .status {
802 border: 2px solid gray;
806 background-color: #efefef;
813 .user { margin-left:5%;margin-right:5%; }
817 background-color: #fff;
825 .message >div { border: 2px solid black; }