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; padding-top:40px}
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;}
55 background-color: #efaaaa;
60 border: 2px solid red;
66 border-bottom: 1px solid #000;
70 .session div.sessionrules {
75 .session div.sessionrules div{
77 background-color: #fff;
78 border: 1px solid #000;
83 .session div.sessionrules:hover div{ display:block; }
84 .session div.sessionscore {
89 .session div.sessionscore div{
94 background-color: #fff;
95 border: 1px solid #000;
98 .session div.sessionscore:hover div{ display:block;}
99 .session img.rulesicon{ height: 1em; }
101 .session .scoretable{
105 .session table.score {
108 border-collapse:collapse;
111 /* all kind of message that should appear in the middle of the page/table */
114 background-color: #fff;
122 .message >div { border: 2px solid black; }
129 .joingame,.sickness,.poverty,.total {
131 background-color: #fff;
149 background-color: #eee;
157 background-color: #eee;
169 background-color:#fff;
170 border:2px solid gray;
172 .card img { width:8em; }
174 form { position: relative;}
176 /* display the table and the names */
182 border-bottom:1px solid #444;
185 div.table div.table1 {
197 div.table div.table0 {
207 div.table div.table0 .start {
208 background-color: #efaaaa;
215 div.table img.table {
219 min-margin-left: 10xem;
220 min-margin-right: 10em;
223 vertical-align:middle;
225 div.table div.table2 {
235 div.table div.table3 {
246 border: 3px solid #aaa;
253 div span.numberoftricks {
257 /* display the card tricks */
270 div.tricks div.trick {
278 .tricks div.trick img.arrow {
287 #trick0 img { float:left; width: 3em; }
292 .tricks div div.card0 img,
293 .tricks div div.card0 .score,
298 /*border: 1px solid red;*/
313 .tricks div div.card0 span.comment{
317 /*border: 1px solid red;*/
325 .tricks div div.card1 img,
326 .tricks div div.card1 .score,
331 /*border: 1px solid red;*/
346 .tricks div div.card1 span.comment{
350 /*border: 1px solid red;*/
359 .tricks div div.card2 img,
360 .tricks div div.card2 .score,
365 /*border: 1px solid red;*/
379 .tricks div div.card2 span.comment{
383 /*border: 1px solid red;*/
392 .tricks div div.card3 img,
393 .tricks div div.card3 .score,
398 /*border: 1px solid red;*/
405 .tricks div div.card3 .score, .vorbehalt3{
412 .tricks div div.card3 span.comment{
416 /*border: 1px solid red;*/
424 border: 3px solid green;
427 word-wrap: break-word;
430 .tricks div div span.comment span{
433 border-top:1px solid green;
439 border-top: 2px solid gray;
440 /* border-bottom: 2px solid green;*/
441 background-color: #faffc7;
445 .mycards img { height:6em;}
451 border:1px solid red;
452 background-color:yellow;
455 .exchange img { height:6em;}
459 border-top:2px solid gray;
470 border-top: 2px solid gray;
471 background-color: #efaaaa;
478 border-bottom: 1px solid black;
491 border: 2px solid gray;
495 background-color: #efefef;
518 border-left: 2px solid #babdb6 ;
519 border-right: 2px solid #babdb6 ;
520 border-bottom: 2px solid #babdb6 ;
523 div.user ul li:first-child {
524 border-top: 2px solid #babdb6 ;
539 .user .gameshidesession {
543 .user .gameshidesession , .user .gamesshowsession {
548 .wide { margin-left:5%;margin-right:5%; }
558 border: 1px solid #000;
560 .cardinput img { width: 4em;}
561 .cardinput:hover{ background-color:red;}
565 background-color: #f57900;
569 background-color: #e9b96e ;
574 background-color: #8ae234;
577 .bigger{ font-size:larger;}
580 /* statistics using jquery*/
591 border: solid 0.2em #aeaeae;
592 -moz-border-radius: 0.5em ;
595 table.stats tbody tr.odd td { background-color:#aeaeae; }
596 table.stats tbody tr.even td { background-color:#eaeaea; }
597 table.stats td, table.stats th {
601 padding-right: 0.2em;
602 border-right: solid 0.1em #000;
604 table.stats tr td:last-child, table.stats tr th:last-child { border-right: solid 0 #000; }
605 table.stats th { border-bottom: solid 0.2em #000 }
607 table.stats thead tr .header {
608 background-image: url(bg.png);
609 background-repeat: no-repeat;
610 background-position: center right;
614 table.stats tbody td {
616 background-color: #eaeaea;
619 table.stats thead tr .headerSortUp {
620 background-image: url(asc.png);
622 table.stats thead tr .headerSortDown {
623 background-image: url(desc.png);
625 table.stats thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
626 background-color: #8dbdd8;
631 /* the login window */
638 padding: 0.1em 0.1em 0.15em;
641 padding: 0.3em 0.3em 0.45em;
644 /* the login/register form */
655 ul.loginregister li {
658 border-top: 2px solid #000;
659 border-left: 2px solid #000;
660 padding: 0.5em 0.75em;
661 padding-bottom: 0.25em;
662 background-color: #eee;
665 ul.loginregister li:last-child { border-right: 2px solid #000;}
666 ul.loginregister li:hover {background-color: #aaa; }
668 .doregister {display: none;}
669 .dologin label,.doregister label {float:left; width: 6em; }
675 margin-bottom: 0.5em;
676 padding: 0.5em 0.5em 1.5em;
681 border: 2px solid #000;
682 padding: 0.5em 0.5em 0.75em;
683 background-color: #eee;
690 .login label, .login input{ margin: 0.5em 0.5em 0.75em;}
698 .login input #email, .login input #password{
703 .login .submitbutton { background-color: #fff;}
704 .login .submitbutton:hover { background-color: #aaa;}
707 background: #FFFFFF url('openid-icon-small.gif') no-repeat scroll 0pt 50%;
711 table.openid td, table.openid th{
712 padding: 0.0em 0.3em;
716 background-color: #fee;
721 background-color: #fc3;
725 background-color: #fc3;
744 border: 1px solid black;
748 background-color: #729fcf;
751 background-color: #8ae234;
754 background-color: #e9b96e;
756 .about .translation {
757 background-color: #fce94f;
761 /* special layout for mobile devices */
762 @media only screen and (max-width: 900px) {
764 background-color: #fff;
780 border-top: 1px solid gray;
783 .session div.sessionscore div {
797 border: 2px solid gray;
801 background-color: #efefef;
808 .user { margin-left:5%;margin-right:5%; }
812 background-color: #fff;
820 .message >div { border: 2px solid black; }