1 | /* $Id */ |
---|
2 | /* Main Style Sheet for jQuery UI date picker */ |
---|
3 | #ui-datepicker-div, .ui-datepicker-inline { |
---|
4 | font-family: Arial, Helvetica, sans-serif; |
---|
5 | font-size: 14px; |
---|
6 | padding: 0; |
---|
7 | margin: 0; |
---|
8 | background: #ddd; |
---|
9 | width: 185px; |
---|
10 | } |
---|
11 | #ui-datepicker-div { |
---|
12 | display: none; |
---|
13 | border: 1px solid #777; |
---|
14 | z-index: 100; /*must have*/ |
---|
15 | } |
---|
16 | .ui-datepicker-inline { |
---|
17 | float: left; |
---|
18 | display: block; |
---|
19 | border: 0; |
---|
20 | } |
---|
21 | .ui-datepicker-rtl { |
---|
22 | direction: rtl; |
---|
23 | } |
---|
24 | .ui-datepicker-dialog { |
---|
25 | padding: 5px !important; |
---|
26 | border: 4px ridge #ddd !important; |
---|
27 | } |
---|
28 | .ui-datepicker-disabled { |
---|
29 | position: absolute; |
---|
30 | z-index: 100; |
---|
31 | background-color: white; |
---|
32 | opacity: 0.5; |
---|
33 | } |
---|
34 | button.ui-datepicker-trigger { |
---|
35 | width: 25px; |
---|
36 | } |
---|
37 | img.ui-datepicker-trigger { |
---|
38 | margin: 2px; |
---|
39 | vertical-align: middle; |
---|
40 | } |
---|
41 | .ui-datepicker-prompt { |
---|
42 | float: left; |
---|
43 | padding: 2px; |
---|
44 | background: #ddd; |
---|
45 | color: #000; |
---|
46 | } |
---|
47 | * html .ui-datepicker-prompt { |
---|
48 | width: 185px; |
---|
49 | } |
---|
50 | .ui-datepicker-control, .ui-datepicker-links, .ui-datepicker-header, .ui-datepicker { |
---|
51 | clear: both; |
---|
52 | float: left; |
---|
53 | width: 100%; |
---|
54 | color: #fff; |
---|
55 | } |
---|
56 | .ui-datepicker-control { |
---|
57 | background: #400; |
---|
58 | padding: 2px 0px; |
---|
59 | } |
---|
60 | .ui-datepicker-links { |
---|
61 | background: #000; |
---|
62 | padding: 2px 0px; |
---|
63 | } |
---|
64 | .ui-datepicker-control, .ui-datepicker-links { |
---|
65 | font-weight: bold; |
---|
66 | font-size: 80%; |
---|
67 | } |
---|
68 | .ui-datepicker-links label { /* disabled links */ |
---|
69 | padding: 2px 5px; |
---|
70 | color: #888; |
---|
71 | } |
---|
72 | .ui-datepicker-clear, .ui-datepicker-prev { |
---|
73 | float: left; |
---|
74 | width: 34%; |
---|
75 | } |
---|
76 | .ui-datepicker-rtl .ui-datepicker-clear, .ui-datepicker-rtl .ui-datepicker-prev { |
---|
77 | float: right; |
---|
78 | text-align: right; |
---|
79 | } |
---|
80 | .ui-datepicker-current { |
---|
81 | float: left; |
---|
82 | width: 30%; |
---|
83 | text-align: center; |
---|
84 | } |
---|
85 | .ui-datepicker-close, .ui-datepicker-next { |
---|
86 | float: right; |
---|
87 | width: 34%; |
---|
88 | text-align: right; |
---|
89 | } |
---|
90 | .ui-datepicker-rtl .ui-datepicker-close, .ui-datepicker-rtl .ui-datepicker-next { |
---|
91 | float: left; |
---|
92 | text-align: left; |
---|
93 | } |
---|
94 | .ui-datepicker-header { |
---|
95 | padding: 1px 0 3px; |
---|
96 | background: #333; |
---|
97 | text-align: center; |
---|
98 | font-weight: bold; |
---|
99 | height: 1.3em; |
---|
100 | } |
---|
101 | .ui-datepicker-header select { |
---|
102 | background: #333; |
---|
103 | color: #fff; |
---|
104 | border: 0px; |
---|
105 | font-weight: bold; |
---|
106 | } |
---|
107 | .ui-datepicker { |
---|
108 | background: #ccc; |
---|
109 | text-align: center; |
---|
110 | font-size: 100%; |
---|
111 | } |
---|
112 | .ui-datepicker a { |
---|
113 | display: block; |
---|
114 | width: 100%; |
---|
115 | } |
---|
116 | .ui-datepicker-title-row { |
---|
117 | background: #777; |
---|
118 | } |
---|
119 | .ui-datepicker-days-row { |
---|
120 | background: #eee; |
---|
121 | color: #666; |
---|
122 | } |
---|
123 | .ui-datepicker-week-col { |
---|
124 | background: #777; |
---|
125 | color: #fff; |
---|
126 | } |
---|
127 | .ui-datepicker-days-cell { |
---|
128 | color: #000; |
---|
129 | border: 1px solid #ddd; |
---|
130 | } |
---|
131 | .ui-datepicker-days-cell a{ |
---|
132 | display: block; |
---|
133 | } |
---|
134 | .ui-datepicker-week-end-cell { |
---|
135 | background: #ddd; |
---|
136 | } |
---|
137 | .ui-datepicker-title-row .ui-datepicker-week-end-cell { |
---|
138 | background: #777; |
---|
139 | } |
---|
140 | .ui-datepicker-days-cell-over { |
---|
141 | background: #fff; |
---|
142 | border: 1px solid #777; |
---|
143 | } |
---|
144 | .ui-datepicker-unselectable { |
---|
145 | color: #888; |
---|
146 | } |
---|
147 | .ui-datepicker-today { |
---|
148 | background: #fcc !important; |
---|
149 | } |
---|
150 | .ui-datepicker-current-day { |
---|
151 | background: #999 !important; |
---|
152 | } |
---|
153 | .ui-datepicker-status { |
---|
154 | background: #ddd; |
---|
155 | width: 100%; |
---|
156 | font-size: 80%; |
---|
157 | text-align: center; |
---|
158 | } |
---|
159 | |
---|
160 | /* ________ Datepicker Links _______ |
---|
161 | |
---|
162 | ** Reset link properties and then override them with !important */ |
---|
163 | #ui-datepicker-div a, .ui-datepicker-inline a { |
---|
164 | cursor: pointer; |
---|
165 | margin: 0; |
---|
166 | padding: 0; |
---|
167 | background: none; |
---|
168 | color: #000; |
---|
169 | } |
---|
170 | .ui-datepicker-inline .ui-datepicker-links a { |
---|
171 | padding: 0 5px !important; |
---|
172 | } |
---|
173 | .ui-datepicker-control a, .ui-datepicker-links a { |
---|
174 | padding: 2px 5px !important; |
---|
175 | color: #eee !important; |
---|
176 | } |
---|
177 | .ui-datepicker-title-row a { |
---|
178 | color: #eee !important; |
---|
179 | } |
---|
180 | .ui-datepicker-control a:hover { |
---|
181 | background: #fdd !important; |
---|
182 | color: #333 !important; |
---|
183 | } |
---|
184 | .ui-datepicker-links a:hover, .ui-datepicker-title-row a:hover { |
---|
185 | background: #ddd !important; |
---|
186 | color: #333 !important; |
---|
187 | } |
---|
188 | |
---|
189 | /* ___________ MULTIPLE MONTHS _________*/ |
---|
190 | |
---|
191 | .ui-datepicker-multi .ui-datepicker { |
---|
192 | border: 1px solid #777; |
---|
193 | } |
---|
194 | .ui-datepicker-one-month { |
---|
195 | float: left; |
---|
196 | width: 185px; |
---|
197 | } |
---|
198 | .ui-datepicker-new-row { |
---|
199 | clear: left; |
---|
200 | } |
---|
201 | |
---|
202 | /* ___________ IE6 IFRAME FIX ________ */ |
---|
203 | |
---|
204 | .ui-datepicker-cover { |
---|
205 | display: none; /*sorry for IE5*/ |
---|
206 | display/**/: block; /*sorry for IE5*/ |
---|
207 | position: absolute; /*must have*/ |
---|
208 | z-index: -1; /*must have*/ |
---|
209 | filter: mask(); /*must have*/ |
---|
210 | top: -4px; /*must have*/ |
---|
211 | left: -4px; /*must have*/ |
---|
212 | width: 200px; /*must have*/ |
---|
213 | height: 200px; /*must have*/ |
---|
214 | } |
---|