]> git.plutz.net Git - webpoll/blob - widgets.css
245597c65fe8c1219065796702f11fb444a6e2f6
[webpoll] / widgets.css
1 table.calendar {
2   display: inline-block;
3   -border: 1pt solid;
4   border-collapse: collapse;
5   vertical-align: top;
6 }
7 table.calendar td {
8   border: 1pt solid;
9 }
10
11 table.calendar thead tr.monthname {
12   border-style: solid;
13   border-width: 1pt 1pt 1pt 1pt;
14 }
15 table.calendar thead tr.weekday th:first-of-type {
16   border-style: solid;
17   border-width: 0pt 0pt 0pt 1pt;
18 }
19 table.calendar thead tr.weekday th:last-child {
20   border-right: 1pt solid;
21 }
22 table.calendar tbody tr th {
23   border-left: 1pt solid #000;
24 }
25 table.calendar tbody tr:last-child th {
26   border-bottom: 1pt solid #000;
27 }
28
29 table.calendar tbody tr th.weekno {
30   width: 2em;
31   padding: 0 .25em;
32   text-align: right;
33   font-weight: normal;
34   color: #888;
35 }
36
37 table.calendar input[type=radio],
38 table.calendar input[type=checkbox] {
39   display: none;
40 }
41 table.calendar td label {
42   display: inline-block;
43   width: 2em;
44   margin: 0; padding: .25em;
45   text-align: right;
46   line-height: 1em;
47 }
48 table.calendar td input:checked + label,
49 table.calendar td label[checked] {
50   font-weight: bold;
51   line-height: .75em;
52   border: .125em solid;
53 }