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;}
62 background-color: #efaaaa;
67 border: 2px solid red;
73 border-bottom: 1px solid #000;
77 .session div.sessionrules {
82 .session div.sessionrules div{
84 background-color: #fff;
85 border: 1px solid #000;
90 .session div.sessionrules:hover div{ display:block; }
91 .session div.sessionscore {
96 .session div.sessionscore div{
101 background-color: #fff;
102 border: 1px solid #000;
105 .session div.sessionscore:hover div{ display:block;}
106 .session img.rulesicon{ height: 1em; }
108 .session .scoretable{
112 .session table.score {
115 border-collapse:collapse;
118 /* all kind of message that should appear in the middle of the page/table */
121 background-color: #fff;
129 .message >div { border: 2px solid black; }
136 .joingame,.sickness,.poverty,.total {
138 background-color: #fff;
156 background-color: #eee;
164 background-color: #eee;
176 background-color:#fff;
177 border:2px solid gray;
179 .card img { width:8em; }
181 form { position: relative;}
183 /* display the table and the names */
189 border-bottom:1px solid #444;
192 div.table div.table1 {
204 div.table div.table0 {
214 div.table div.table0 .start {
215 background-color: #efaaaa;
222 div.table img.table {
226 min-margin-left: 10xem;
227 min-margin-right: 10em;
230 vertical-align:middle;
232 div.table div.table2 {
242 div.table div.table3 {
253 border: 3px solid #aaa;
260 div span.numberoftricks {
264 /* display the card tricks */
272 border-bottom:1px solid #444;
274 ul.tricks a { text-decoration:none; color:#000;}
276 /*background-color:blue;*/
281 ul.tricks li.old { background-color:#fff; }
282 ul.tricks li a:hover { background-color: #bbb;}
283 ul.tricks li.nohighlight a:hover { background-color: #fff;}
296 div.tricks div.trick {
304 .tricks div.trick img.arrow {
313 #trick0 img { float:left; width: 3em; }
318 .tricks div div.card0 img,
319 .tricks div div.card0 .score,
324 /*border: 1px solid red;*/
334 .tricks div div.card0 span.comment{
338 /*border: 1px solid red;*/
346 .tricks div div.card1 img,
347 .tricks div div.card1 .score,
352 /*border: 1px solid red;*/
362 .tricks div div.card1 span.comment{
366 /*border: 1px solid red;*/
375 .tricks div div.card2 img,
376 .tricks div div.card2 .score,
381 /*border: 1px solid red;*/
391 .tricks div div.card2 span.comment{
395 /*border: 1px solid red;*/
404 .tricks div div.card3 img,
405 .tricks div div.card3 .score,
410 /*border: 1px solid red;*/
420 .tricks div div.card3 .score{
427 .tricks div div.card3 span.comment{
431 /*border: 1px solid red;*/
439 border: 3px solid green;
442 word-wrap: break-word;
445 .tricks div div span.comment span{
448 border-top:1px solid green;
454 border-top: 2px solid gray;
455 /* border-bottom: 2px solid green;*/
456 background-color: #faffc7;
460 .mycards img { height:6em;}
466 border:1px solid red;
467 background-color:yellow;
470 .exchange img { height:6em;}
474 border-top:2px solid gray;
485 border-top: 2px solid gray;
486 background-color: #efaaaa;
493 border-bottom: 1px solid black;
506 border: 2px solid gray;
510 background-color: #efefef;
533 border-left: 2px solid #babdb6 ;
534 border-right: 2px solid #babdb6 ;
535 border-bottom: 2px solid #babdb6 ;
538 div.user ul li:first-child {
539 border-top: 2px solid #babdb6 ;
554 .user .gameshidesession {
558 .user .gameshidesession , .user .gamesshowsession {
563 .wide { margin-left:5%;margin-right:5%; }
573 border: 1px solid #000;
575 .cardinput img { width: 4em;}
576 .cardinput:hover{ background-color:red;}
580 background-color: #f57900;
584 background-color: #e9b96e ;
589 background-color: #8ae234;
592 .bigger{ font-size:larger;}
595 /* statistics using jquery*/
606 border: solid 0.2em #aeaeae;
607 -moz-border-radius: 0.5em ;
610 table.stats tbody tr.odd td { background-color:#aeaeae; }
611 table.stats tbody tr.even td { background-color:#eaeaea; }
612 table.stats td, table.stats th {
616 padding-right: 0.2em;
617 border-right: solid 0.1em #000;
619 table.stats tr td:last-child, table.stats tr th:last-child { border-right: solid 0 #000; }
620 table.stats th { border-bottom: solid 0.2em #000 }
622 table.stats thead tr .header {
623 background-image: url(bg.png);
624 background-repeat: no-repeat;
625 background-position: center right;
629 table.stats tbody td {
631 background-color: #eaeaea;
634 table.stats thead tr .headerSortUp {
635 background-image: url(asc.png);
637 table.stats thead tr .headerSortDown {
638 background-image: url(desc.png);
640 table.stats thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
641 background-color: #8dbdd8;
646 /* the login window */
653 padding: 0.1em 0.1em 0.15em;
656 padding: 0.3em 0.3em 0.45em;
659 /* the login/register form */
670 ul.loginregister li {
673 border-top: 2px solid #000;
674 border-left: 2px solid #000;
675 padding: 0.5em 0.75em;
676 padding-bottom: 0.25em;
677 background-color: #eee;
680 ul.loginregister li:last-child { border-right: 2px solid #000;}
681 ul.loginregister li:hover {background-color: #aaa; }
683 .doregister {display: none;}
684 .dologin label,.doregister label {float:left; width: 6em; }
690 margin-bottom: 0.5em;
691 padding: 0.5em 0.5em 1.5em;
696 border: 2px solid #000;
697 padding: 0.5em 0.5em 0.75em;
698 background-color: #eee;
705 .login label, .login input{ margin: 0.5em 0.5em 0.75em;}
713 .login input #email, .login input #password{
718 .login .submitbutton { background-color: #fff;}
719 .login .submitbutton:hover { background-color: #aaa;}
722 background: #FFFFFF url('openid-icon-small.gif') no-repeat scroll 0pt 50%;
726 table.openid td, table.openid th{
727 padding: 0.0em 0.3em;;
731 background-color: #fee;
736 background-color: #fc3;
740 background-color: #fc3;
759 border: 1px solid black;
763 background-color: #729fcf;
766 background-color: #8ae234;
769 background-color: #e9b96e;
771 .about .translation {
772 background-color: #fce94f;
776 /* special layout for mobile devices */
777 @media only screen and (max-width: 900px) {
779 background-color: #fff;
795 border-top: 1px solid gray;
798 .session div.sessionscore div, .status {
812 border: 2px solid gray;
816 background-color: #efefef;
823 .user { margin-left:5%;margin-right:5%; }
827 background-color: #fff;
835 .message >div { border: 2px solid black; }