source: temp/test-xoops.ec-cube.net/html/include/calendar-blue.css @ 405

Revision 405, 3.8 KB checked in by root, 20 years ago (diff)
Line 
1/* The main calendar widget.  DIV containing a table. */
2
3div.calendar { position: relative; }
4
5.calendar, .calendar table {
6  border: 1px solid #556;
7  font-size: 11px;
8  color: #000;
9  cursor: default;
10  background: #eef;
11  font-family: tahoma,verdana,sans-serif;
12}
13
14/* Header part -- contains navigation buttons and day names. */
15
16.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
17  text-align: center;    /* They are the navigation buttons */
18  padding: 2px;          /* Make the buttons seem like they're pressing */
19}
20
21.calendar thead .title { /* This holds the current "month, year" */
22  font-weight: bold;      /* Pressing it will take you to the current date */
23  text-align: center;
24  background: #fff;
25  color: #000;
26  padding: 2px;
27}
28
29.calendar thead .headrow { /* Row <TR> containing navigation buttons */
30  background: #778;
31  color: #fff;
32}
33
34.calendar thead .daynames { /* Row <TR> containing the day names */
35  background: #bdf;
36}
37
38.calendar thead .name { /* Cells <TD> containing the day names */
39  border-bottom: 1px solid #556;
40  padding: 2px;
41  text-align: center;
42  color: #000;
43}
44
45.calendar thead .weekend { /* How a weekend day name shows in header */
46  color: #a66;
47}
48
49.calendar thead .hilite { /* How do the buttons in header appear when hover */
50  background: #aaf;
51  color: #000;
52  border: 1px solid #04f;
53  padding: 1px;
54}
55
56.calendar thead .active { /* Active (pressed) buttons in header */
57  background: #77c;
58  padding: 2px 0px 0px 2px;
59}
60
61/* The body part -- contains all the days in month. */
62
63.calendar tbody .day { /* Cells <TD> containing month days dates */
64  width: 2em;
65  color: #456;
66  text-align: right;
67  padding: 2px 4px 2px 2px;
68}
69
70.calendar table .wn {
71  padding: 2px 3px 2px 2px;
72  border-right: 1px solid #000;
73  background: #bdf;
74}
75
76.calendar tbody .rowhilite td {
77  background: #def;
78}
79
80.calendar tbody .rowhilite td.wn {
81  background: #eef;
82}
83
84.calendar tbody td.hilite { /* Hovered cells <TD> */
85  background: #def;
86  padding: 1px 3px 1px 1px;
87  border: 1px solid #bbb;
88}
89
90.calendar tbody td.active { /* Active (pressed) cells <TD> */
91  background: #cde;
92  padding: 2px 2px 0px 2px;
93}
94
95.calendar tbody td.selected { /* Cell showing today date */
96  font-weight: bold;
97  border: 1px solid #000;
98  padding: 1px 3px 1px 1px;
99  background: #fff;
100  color: #000;
101}
102
103.calendar tbody td.weekend { /* Cells showing weekend days */
104  color: #a66;
105}
106
107.calendar tbody td.today { /* Cell showing selected date */
108  font-weight: bold;
109  color: #00f;
110}
111
112.calendar tbody .disabled { color: #999; }
113
114.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
115  visibility: hidden;
116}
117
118.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
119  display: none;
120}
121
122/* The footer part -- status bar and "Close" button */
123
124.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
125  text-align: center;
126  background: #556;
127  color: #fff;
128}
129
130.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
131  background: #fff;
132  color: #445;
133  border-top: 1px solid #556;
134  padding: 1px;
135}
136
137.calendar tfoot .hilite { /* Hover style for buttons in footer */
138  background: #aaf;
139  border: 1px solid #04f;
140  color: #000;
141  padding: 1px;
142}
143
144.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
145  background: #77c;
146  padding: 2px 0px 0px 2px;
147}
148
149/* Combo boxes (menus that display months/years for direct selection) */
150
151.combo {
152  position: absolute;
153  display: none;
154  top: 0px;
155  left: 0px;
156  width: 4em;
157  cursor: default;
158  border: 1px solid #655;
159  background: #def;
160  color: #000;
161  font-size: smaller;
162}
163
164.combo .label {
165  width: 100%;
166  text-align: center;
167}
168
169.combo .hilite {
170  background: #acf;
171}
172
173.combo .active {
174  border-top: 1px solid #46a;
175  border-bottom: 1px solid #46a;
176  background: #eef;
177  font-weight: bold;
178}
Note: See TracBrowser for help on using the repository browser.