1 /* Copyright 2006, 2007, 2008, 2009, 2010 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 /* reset CSS (taken from blueprint and modified a bit) */
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 {
30 vertical-align: baseline;
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; }
38 /* some general layout */
39 h1, h2, h3, h4, h5, h6, p {margin: 2px; padding: 1px;}
41 body { background-color: #ddd; }
44 /* the header, footer, etc */
46 background-color: #fff;
52 border-bottom: 3px solid gray;
60 .lastlogin span { font-size:smaller;}
63 background-color: #fff;
70 background-color: #fff;
74 border-top: 2px solid gray;
78 .footer .right { float:right; font-size:smaller;}
79 .footer .left { float:left; font-size:smaller; }
91 border-bottom: 1px solid #000;
94 .session div.sessionrules {
99 .session div.sessionrules div{
101 background-color: #fff;
102 border: 1px solid #000;
107 .session div.sessionrules:hover div{ display:block; }
108 .session div.sessionscore {
113 .session div.sessionscore div{
118 background-color: #fff;
119 border: 1px solid #000;
122 .session div.sessionscore:hover div{ display:block;}
123 .session img.rulesicon{ height: 1em; }
125 .session .scoretable{
129 .session table.score {
132 border-collapse:collapse;
135 /* all kind of message that should appear in the middle of the page/table */
136 .joingame,.sickness,.poverty,.total,.message {
138 background-color: #fff;
157 background-color: #eee;
164 background-color: #eee;
168 /* output possible rules for a new game */
169 .rules { margin-top:24em;}
178 background-color:#fff;
179 border:2px solid gray;
181 .card img { width:8em; }
183 /* display the table and the names */
191 /* border: 3px solid blue; */
196 div.table img.table {
208 /*background-color:green;*/
215 /*background-color:green;*/
219 div.table div.table0 {
223 div.table div.table1 {
227 div.table div.table2 {
231 div.table div.table3 {
236 /* display the card tricks */
240 zoom:1; /* fixes an IE6 issue and hopefully doesn't mess up anything else */
246 border-bottom:1px solid #444;
248 ul.tricks a { text-decoration:none; color:#000;}
250 /*background-color:blue;*/
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;}
259 ul.tricks li div.trick {
267 /* border: 2px solid red;*/
270 ul.tricks li div.trick { display:none;}
271 ul.tricks li div.trick img.arrow {
275 /* border: 5px solid blue;*/
285 #trick0 img { float:left; width: 3em; }
289 /*ul.tricks li:hover div.table{ display:block; }*/
292 ul.tricks li div div.card0 img,
293 ul.tricks li div div.card0 .score,
298 /*border: 1px solid red;*/
312 ul.tricks li div div.card0 span.comment{
316 /*border: 1px solid red;*/
324 ul.tricks li div div.card1 img,
325 ul.tricks li div div.card1 .score,
330 /*border: 1px solid red;*/
344 ul.tricks li div div.card1 span.comment{
348 /*border: 1px solid red;*/
357 ul.tricks li div div.card2 img,
358 ul.tricks li div div.card2 .score,
363 /*border: 1px solid red;*/
376 ul.tricks li div div.card2 span.comment{
380 /*border: 1px solid red;*/
389 ul.tricks li div div.card3 img,
390 ul.tricks li div div.card3 .score,
395 /*border: 1px solid red;*/
409 ul.tricks li div div.card3 span.comment{
413 /*border: 1px solid red;*/
421 border: 3px solid green;
424 word-wrap: break-word;
427 ul.tricks li div div span.comment span{
430 border-top:1px solid green;
437 border-top: 2px solid gray;
438 /* border-bottom: 2px solid green;*/
439 background-color: #faffc7;
443 .mycards img { height:6em;}
449 border:1px solid red;
450 background-color:yellow;
453 .exchange img { height:6em;}
457 border-top:2px solid gray;
468 border-top: 2px solid gray;
469 background-color: #efaaaa;
483 border: 2px solid gray;
487 background-color: #eee;
500 border: 2px solid gray;
504 background-color: #efefef;
511 .user { margin-left:25%;margin-right:5%; }
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 ;
535 text-decoration:underline;
548 .user .gameshidesession {
553 .wide { margin-left:5%;margin-right:5%; }
563 border: 1px solid #000;
566 .cardinput img { width: 4em;}
568 .cardinput:hover{ background-color:red;}
570 div span img.button { width: 2em;}
571 div span img.tinybutton { width: 1.4em;}
575 background-color: #f57900;
579 background-color: #e9b96e ;
584 background-color: #8ae234;
587 .bigger{ font-size:larger;}
590 /* statistics using jquery*/
601 border: solid 0.2em #aeaeae;
602 -moz-border-radius: 0.5em ;
605 table.stats tbody tr.odd td { background-color:#aeaeae; }
606 table.stats tbody tr.even td { background-color:#eaeaea; }
607 table.stats td, table.stats th {
611 padding-right: 0.2em;
612 border-right: solid 0.1em #000;
614 table.stats tr td:last-child, table.stats tr th:last-child { border-right: solid 0 #000; }
615 table.stats th { border-bottom: solid 0.2em #000 }
617 table.stats thead tr .header {
618 background-image: url(bg.png);
619 background-repeat: no-repeat;
620 background-position: center right;
623 table.stats tbody td {
625 background-color: #eaeaea;
628 table.stats thead tr .headerSortUp {
629 background-image: url(asc.png);
631 table.stats thead tr .headerSortDown {
632 background-image: url(desc.png);
634 table.stats thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
635 background-color: #8dbdd8;
640 /* the login window */
647 padding: 0.1em 0.1em 0.15em;
650 padding: 0.3em 0.3em 0.45em;
657 padding: 0.5em 0.5em 1.5em;
662 border: 2px solid #000;
663 padding: 0.5em 0.5em 0.75em;
664 background-color: #eee;
667 .login label, .login input{ margin: 0.5em 0.5em 0.75em;}
675 .login input #email, .login input #password{
680 .login .submitbutton { background-color: #fff;}
681 .login .submitbutton:hover { background-color: #aaa;}
684 background: #FFFFFF url('openid-icon-small.gif') no-repeat scroll 0pt 50%;
688 table.openid td, table.openid th{
689 padding: 0.0em 0.3em;;
693 background-color: #fee;
698 background-color: #fc3;
701 div.table div img.gravatar, img.gravatar {
704 border: 3px solid #aaa;
708 background-color: #fc3;