]> git.wh0rd.org - tt-rss.git/blob - lib/dijit/themes/claro/Calendar.css
upgrade Dojo to 1.6.1
[tt-rss.git] / lib / dijit / themes / claro / Calendar.css
1 /* Calendar
2 *
3 * Styling Calendar mainly includes:
4 *
5 * 1. Calendar container
6 * .dijitCalendar - main container
7 * .dijitCalendarHover / .dijitCalendarActive - states e.g. hover,active
8 *
9 * 2. Month
10 * .dijitCalendarMonthContainer
11 * .dijitCalendarMonthLabel
12 * .dijitCalendarDecrease / .dijitCalendarDecrease - icons for switching to previous/next month
13 * .dijitCalendarArrowActive .dijitCalendarDecrease - states e.g. hover,active
14 *
15 * 3. Date
16 * .dijitCalendarDayLabelTemplate - week day column header e.g. S M T W T F S
17 * .dijitCalendarDateTemplate - date label wrapper
18 * .dijitCalendarPreviousMonth .dijitCalendarDateLabel - special labels for previous or next month
19 * .dijitCalendarSelectedDate .dijitCalendarDateLabel - styles for selected date
20 * .dijitCalendarDisabledDate .dijitCalendarDateLabel - styles for disabled date
21 * .dijitCalendarActiveDate .dijitCalendarDateLabel - states e.g. hover,active
22 *
23 * 4. Year
24 * .dijitCalendarYearContainer
25 * .dijitCalendarYearLabel
26 * .dijitCalendarPreviousYear /.dijitCalendarNextYear
27 * .dijitCalendarNextYearHover / .dijitCalendarPreviousYearHover - states e.g. hover,active
28 *
29 * 5. Dropdown Month Menu
30 * .dijitCalendarMonthMenu - menu container
31 * .dijitCalendarMonthMenu .dijitCalendarMonthLabel - month label in menu item
32 * .dijitCalendarMonthMenu .dijitCalendarMonthLabelHover - menu item hover state
33 */
34 .claro .dijitCalendar {
35 border: solid 1px #b5bcc7;
36 background-color: #cfe5fa;
37 background-image: url("images/calendarContainerImages.png");
38 background-position: 0 -448px;
39 background-repeat: repeat-x;
40 text-align: center;
41 padding: 6px 5px 3px 5px;
42 -moz-border-radius: 4px;
43 border-radius: 4px;
44 }
45 .dj_ie6 .claro .dijitCalendar {
46 background-image: none;
47 }
48 .claro .dijitCalendar img {
49 border: none;
50 }
51 .claro .dijitCalendarHover, .claro .dijitCalendarActive {
52 /* treat dijitCalenderActive like hover since there's
53 * no concept of clicking a Calendar as a whole (although you can click things inside the calendar)
54 */
55
56 background-color: #abd6ff;
57 border: solid 1px #769dc0;
58 }
59 .claro .dijitCalendarMonthContainer th {
60 text-align: center;
61 padding-bottom: 4px;
62 vertical-align: middle;
63 }
64 .claro .dijitCalendarMonthLabel {
65 color: #000000;
66 font-size: 1.091em;
67 padding: 0 4px;
68 }
69 /* next/previous month arrows */
70 .claro .dijitCalendarIncrementControl {
71 width: 18px;
72 height: 16px;
73 background-image: url("images/calendarArrows.png");
74 background-repeat: no-repeat;
75 }
76 .dj_ie6 .claro .dijitCalendarIncrementControl {
77 background-image: url("images/calendarArrows8bit.png");
78 }
79 .claro .dijitCalendarIncrease {
80 background-position: -18px 0;
81 }
82 .claro .dijitCalendarArrowHover .dijitCalendarDecrease {
83 background-position: -36px 0;
84 }
85 .claro .dijitCalendarArrowHover .dijitCalendarIncrease {
86 background-position: -55px 0;
87 }
88 .claro .dijitCalendarArrowActive .dijitCalendarDecrease {
89 background-position: -72px 0;
90 }
91 .claro .dijitCalendarArrowActive .dijitCalendarIncrease {
92 background-position: -91px 0;
93 }
94 .claro .dijitA11ySideArrow {
95 /* text +/- labels instead of arrow icons, for high contrast mode */
96
97 display: none;
98 }
99 .claro .dijitDayLabels th {
100 padding: 0 4px 0 4px;
101 font-weight: bold;
102 text-align: center;
103 }
104 .claro .dijitCalendarDayLabelTemplate {
105 padding-bottom: 0;
106 text-align: center;
107 border-bottom: 1px solid #b5bcc7;
108 font-size: 0.909em;
109 padding: 0 3px 2px;
110 }
111 .claro .dijitCalendarDateTemplate {
112 text-align: center;
113 background-color: #ffffff;
114 background-image: url("images/calendarContainerImages.png");
115 background-position: 0 0;
116 background-repeat: repeat-x;
117 border-bottom: 1px solid #d3d3d3;
118 padding-top: 0;
119 font-size: 0.909em;
120 font-family: Arial;
121 font-weight: bold;
122 letter-spacing: .05em;
123 text-align: center;
124 }
125 .dj_ie6 .claro .dijitCalendarDateTemplate {
126 background-image: none;
127 }
128 .claro .dijitCalendarPreviousMonth, .claro .dijitCalendarNextMonth {
129 background-color: #e9f4fe;
130 background-image: none;
131 border-bottom: solid 1px #d3d3d3;
132 /* todo: redundant with above .dijitCalendarDateTemplate rule */
133 }
134 .claro .dijitCalendarDateTemplate .dijitCalendarDateLabel {
135 text-decoration: none;
136 display: block;
137 padding: 3px 5px 3px 4px;
138 border: solid 1px #ffffff;
139 /* intentionally matches background-color, no visible border until hover/selection */
140
141 background-color: rgba(171, 212, 251, 0);
142 /* transparent causes black-flash animation problem on webkit */
143
144 -webkit-transition-property: background-color, border;
145 -moz-transition-property: background-color, border;
146 transition-property: background-color, border;
147 -webkit-transition-duration: 0.35s;
148 -moz-transition-duration: 0.35s;
149 transition-duration: 0.35s;
150 }
151 .claro .dijitCalendarPreviousMonth .dijitCalendarDateLabel, .claro .dijitCalendarNextMonth .dijitCalendarDateLabel {
152 color: #769dc0;
153 border-color: #e9f4fe;
154 /* intentionally matches background-color, no visible border until hover/selection */
155
156 }
157 .claro .dijitCalendarYearContainer {
158 vertical-align: middle;
159 }
160 .claro .dijitCalendarYearControl {
161 padding: 1px 2px 2px 2px;
162 }
163 .claro .dijitCalendarYearLabel {
164 padding: 2px 0 0 0;
165 margin: 0;
166 }
167 .claro .dijitCalendarYearLabel span {
168 /* trying to center next/current/previous year vertically, doesn't work on IE6/7 though */
169
170 vertical-align: middle;
171 }
172 .claro .dijitCalendarSelectedYear {
173 padding: 0 3px;
174 }
175 .claro .dijitCalendarNextYear, .claro .dijitCalendarPreviousYear {
176 padding: 1px 6px 1px 6px;
177 font-size: 0.909em;
178 }
179 .claro .dijitCalendarSelectedYear {
180 font-size: 1.091em;
181 color: #000000;
182 }
183 /* End Normal Calendar Style */
184 /* Hovered Calendar Style */
185 .claro .dijitCalendarHoveredDate .dijitCalendarDateLabel {
186 background-color: #abd6ff;
187 border: solid 1px #769dc0;
188 color: #000000;
189 -webkit-transition-duration: 0.2s;
190 -moz-transition-duration: 0.2s;
191 transition-duration: 0.2s;
192 }
193 .claro .dijitCalendarNextYearHover, .claro .dijitCalendarPreviousYearHover {
194 color: #000000;
195 border: solid 1px #ffffff;
196 padding: 0 5px 0 5px;
197 /* reduced by 1 to make room for border */
198
199 background-color: #e9f4fe;
200 }
201 /* End Hovered Calendar Style */
202 /* Active Calendar Style */
203 .claro .dijitCalendarNextYearActive, .claro .dijitCalendarPreviousYearActive {
204 border: solid 1px #769dc0;
205 padding: 0 5px 0 5px;
206 /* reduced by 1 to make room for border */
207
208 background-color: #cfe5fa;
209 }
210 .claro .dijitCalendarActiveDate .dijitCalendarDateLabel {
211 background-image: url("images/calendarContainerImages.png");
212 background-position: 0 -300px;
213 background-color: #7dbefa;
214 border: solid 1px #ffffff;
215 -webkit-transition-duration: 0.1s;
216 -moz-transition-duration: 0.1s;
217 transition-duration: 0.1s;
218 }
219 .dj_ie6 .claro .dijitCalendarActiveDate .dijitCalendarDateLabel {
220 background-image: none;
221 }
222 /* End Active Calendar Style */
223 /* Selected Calendar Style */
224 .claro .dijitCalendarSelectedDate .dijitCalendarDateLabel {
225 color: #000000;
226 background-color: #abd6ff;
227 border-color: #769dc0;
228 }
229 /* End Selected Calendar Style */
230 /* Disabled Calendar Style*/
231 .claro .dijitCalendarDisabledDate .dijitCalendarDateLabel {
232 text-decoration: line-through;
233 /* override hover effects above, hover and click on disabled date should have no effect */
234
235 background-color: transparent;
236 border-width: 0;
237 padding: 4px 6px 4px 5px;
238 color: #818181;
239 }
240 /* End Disabled Calendar Style */
241 /* Styling for month DropDownButton */
242 .claro .dijitCalendar .dijitDropDownButton {
243 margin: 0;
244 }
245 .claro .dijitCalendar .dijitButtonText {
246 padding: 1px 0 3px;
247 margin-right: -4px;
248 }
249 .claro .dijitCalendar .dijitDropDownButton .dijitButtonNode {
250 background-color: transparent;
251 background-image: none;
252 padding: 0 3px 0 2px;
253 border: solid 1px #b5bcc7;
254 -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
255 -moz-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
256 box-shadow: 0 0 0 rgba(0, 0, 0, 0);
257 }
258 .claro .dijitCalendar .dijitDropDownButtonHover .dijitButtonNode {
259 background-color: #e9f4fe;
260 border: solid 1px #ffffff;
261 }
262 /* Styling for month drop down list */
263 .claro .dijitCalendarMonthMenu {
264 border-color: #769dc0;
265 background-color: #ffffff;
266 text-align: center;
267 background-image: none;
268 }
269 .claro .dijitCalendarMonthMenu .dijitCalendarMonthLabel {
270 border-top: solid 1px #ffffff;
271 /* intentionally invisible until hover */
272
273 border-bottom: solid 1px #ffffff;
274 padding: 2px 0;
275 }
276 .claro .dijitCalendarMonthMenu .dijitCalendarMonthLabelHover {
277 background-color: #abd6ff;
278 border-color: #769dc0;
279 border-width: 1px 0;
280 background-image: url("images/commonHighlight.png");
281 background-repeat: repeat-x;
282 }