minor fixes
[sgn.git] / js / Dynarch / style / green.css
blob2e1867a0c22dff5941b107d08ce75174918b5b28
1 /* The main calendar widget. DIV containing a table. */
3 div.calendar { position: relative; }
5 .calendar, .calendar table {
6 border: 1px solid #565;
7 font-size: 11px;
8 color: #000;
9 cursor: default;
10 background: #efe;
11 font-family: tahoma,verdana,sans-serif;
14 /* Header part -- contains navigation buttons and day names. */
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 background: #676;
20 color: #fff;
21 font-size: 90%;
24 .calendar .nav {
25 background: #676 url(menuarrow.gif) no-repeat 100% 100%;
28 .calendar thead .title { /* This holds the current "month, year" */
29 font-weight: bold; /* Pressing it will take you to the current date */
30 text-align: center;
31 padding: 2px;
32 background: #250;
33 color: #efa;
36 .calendar thead .headrow { /* Row <TR> containing navigation buttons */
39 .calendar thead .name { /* Cells <TD> containing the day names */
40 border-bottom: 1px solid #565;
41 padding: 2px;
42 text-align: center;
43 color: #000;
46 .calendar thead .weekend { /* How a weekend day name shows in header */
47 color: #a66;
50 .calendar thead .hilite { /* How do the buttons in header appear when hover */
51 background-color: #afa;
52 color: #000;
53 border: 1px solid #084;
54 padding: 1px;
57 .calendar thead .active { /* Active (pressed) buttons in header */
58 background-color: #7c7;
59 padding: 2px 0px 0px 2px;
62 .calendar thead .daynames { /* Row <TR> containing the day names */
63 background: #dfb;
66 /* The body part -- contains all the days in month. */
68 .calendar tbody .day { /* Cells <TD> containing month days dates */
69 width: 2em;
70 color: #564;
71 text-align: right;
72 padding: 2px 4px 2px 2px;
74 .calendar tbody .day.othermonth {
75 font-size: 80%;
76 color: #bbb;
78 .calendar tbody .day.othermonth.oweekend {
79 color: #fbb;
82 .calendar table .wn {
83 padding: 2px 3px 2px 2px;
84 border-right: 1px solid #8a8;
85 background: #dfb;
88 .calendar tbody .rowhilite td {
89 background: #dfd;
92 .calendar tbody .rowhilite td.wn {
93 background: #efe;
96 .calendar tbody td.hilite { /* Hovered cells <TD> */
97 background: #efd;
98 padding: 1px 3px 1px 1px;
99 border: 1px solid #bbb;
102 .calendar tbody td.active { /* Active (pressed) cells <TD> */
103 background: #dec;
104 padding: 2px 2px 0px 2px;
107 .calendar tbody td.selected { /* Cell showing today date */
108 font-weight: bold;
109 border: 1px solid #000;
110 padding: 1px 3px 1px 1px;
111 background: #f8fff8;
112 color: #000;
115 .calendar tbody td.weekend { /* Cells showing weekend days */
116 color: #a66;
119 .calendar tbody td.today { font-weight: bold; color: #0a0; }
121 .calendar tbody .disabled { color: #999; }
123 .calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
124 visibility: hidden;
127 .calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
128 display: none;
131 /* The footer part -- status bar and "Close" button */
133 .calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
134 text-align: center;
135 background: #565;
136 color: #fff;
139 .calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
140 padding: 2px;
141 background: #250;
142 color: #efa;
145 .calendar tfoot .hilite { /* Hover style for buttons in footer */
146 background: #afa;
147 border: 1px solid #084;
148 color: #000;
149 padding: 1px;
152 .calendar tfoot .active { /* Active (pressed) style for buttons in footer */
153 background: #7c7;
154 padding: 2px 0px 0px 2px;
157 /* Combo boxes (menus that display months/years for direct selection) */
159 .calendar .combo {
160 position: absolute;
161 display: none;
162 top: 0px;
163 left: 0px;
164 width: 4em;
165 cursor: default;
166 border: 1px solid #565;
167 background: #efd;
168 color: #000;
169 font-size: 90%;
170 z-index: 100;
173 .calendar .combo .label,
174 .calendar .combo .label-IEfix {
175 text-align: center;
176 padding: 1px;
179 .calendar .combo .label-IEfix {
180 width: 4em;
183 .calendar .combo .hilite {
184 background: #af8;
187 .calendar .combo .active {
188 border-top: 1px solid #6a4;
189 border-bottom: 1px solid #6a4;
190 background: #efe;
191 font-weight: bold;
194 .calendar td.time {
195 border-top: 1px solid #8a8;
196 padding: 1px 0px;
197 text-align: center;
198 background-color: #dfb;
201 .calendar td.time .hour,
202 .calendar td.time .minute,
203 .calendar td.time .ampm {
204 padding: 0px 3px 0px 4px;
205 border: 1px solid #898;
206 font-weight: bold;
207 background-color: #fff;
210 .calendar td.time .ampm {
211 text-align: center;
214 .calendar td.time .colon {
215 padding: 0px 2px 0px 3px;
216 font-weight: bold;
219 .calendar td.time span.hilite {
220 border-color: #000;
221 background-color: #686;
222 color: #fff;
225 .calendar td.time span.active {
226 border-color: #f00;
227 background-color: #000;
228 color: #0f0;