ae4f34bc75515b80895bef918857ff28d0753a8a.svn-base
6.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
/** Base container **/
.kalendae {
display: inline-block;zoom:1;*display:inline;
background:#eee;
padding:10px;
margin:5px;
border-radius:5px;
font-size:11px;
font-family:'Helvetica Neue', 'Helvetica';
cursor:default;
position:relative;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.kalendae * {
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/** Popup Container for Kalendae.Input **/
.kalendae.k-floating {
position:absolute;
top:0;
left:0;
z-index:100000;
margin:0;
box-shadow:0 1px 3px rgba(0,0,0,0.75);
}
/** Kalendae.Input's popup close button **/
.kalendae .k-btn-close {
position:absolute;
top:-8px;
right:-8px;
width:20px;
height:20px;
background:white;
border:2px solid #ccc;
color:#999;
line-height:17px;
text-align:center;
font-size:13px;
border-radius:10px;
box-shadow:0 1px 3px rgba(0,0,0,0.75);
cursor:pointer;
text-decoration:none;
}
.kalendae .k-btn-close:after {content:"\2716";}
.kalendae .k-btn-close:hover {
color:#7EA0E2;
background:white;
border-color:#7EA0E2;
}
/** Month Container **/
.kalendae .k-calendar {display: inline-block;zoom:1;*display:inline;width:155px;vertical-align:top;}
/** Month Separator **/
.kalendae .k-separator {
display: inline-block;zoom:1;*display:inline;
width:2px;
vertical-align:top;
background:#ddd;
height:155px;
margin:0px 10px;
}
/** Month Title Row **/
.kalendae .k-title {text-align:center;white-space:nowrap;position:relative;height:18px;}
.kalendae .k-caption {font-size:12px;line-height:18px;}
.kalendae .k-caption-month,
.kalendae .k-caption-year {display: inline;}
.kalendae .k-caption-month {margin-right: 0.4em;}
/** Month and Year Buttons **/
.kalendae .k-btn-previous-month,
.kalendae .k-btn-next-month,
.kalendae .k-btn-previous-year,
.kalendae .k-btn-next-year {
width:16px;
height:23px;
cursor:pointer;
position:absolute;
top:-3px;
color:#777;
font-size:32px;
line-height: 18px;
font-weight: bold;
font-family: arial;
text-decoration:none;
}
.kalendae .k-btn-previous-year {left:0;}
.kalendae .k-btn-previous-month {left:16px;}
.kalendae .k-btn-next-month {right:16px;}
.kalendae .k-btn-next-year {right:0;}
.kalendae .k-btn-previous-month:after {content:"\2039";}
.kalendae .k-btn-next-month:after {content:"\203A";}
.kalendae .k-btn-previous-year:after {content:"\00AB";}
.kalendae .k-btn-next-year:after {content:"\00BB";}
.kalendae .k-btn-previous-month:hover,
.kalendae .k-btn-next-month:hover {color:#7EA0E2;}
.kalendae .k-btn-previous-year:hover,
.kalendae .k-btn-next-year:hover {color:#6FDF81;}
/** Remove extra buttons when calendar shows multiple months **/
.kalendae .k-first-month .k-btn-next-month,
.kalendae .k-middle-month .k-btn-next-month,
.kalendae .k-middle-month .k-btn-previous-month,
.kalendae .k-last-month .k-btn-previous-month,
.kalendae .k-first-month .k-btn-next-year,
.kalendae .k-middle-month .k-btn-next-year,
.kalendae .k-middle-month .k-btn-previous-year,
.kalendae .k-last-month .k-btn-previous-year {display:none;}
/** Disable year nav option **/
.kalendae .k-title.k-disable-year-nav .k-btn-next-year,
.kalendae .k-title.k-disable-year-nav .k-btn-previous-year { display: none; }
.kalendae .k-title.k-disable-year-nav .k-btn-next-month { right: 0; }
.kalendae .k-title.k-disable-year-nav .k-btn-previous-month { left: 0; }
/** Force specific width for month container contents **/
.kalendae .k-title,
.kalendae .k-header,
.kalendae .k-days {
width:154px;
display:block;
overflow:hidden;
}
/** Hide unusable buttons **/
.kalendae.k-disable-next-month-btn .k-btn-next-month,
.kalendae.k-disable-previous-month-btn .k-btn-previous-month,
.kalendae.k-disable-next-year-btn .k-btn-next-year,
.kalendae.k-disable-previous-year-btn .k-btn-previous-year {
display:none;
}
/** Week columns and day cells **/
.kalendae .k-header span,
.kalendae .k-days span {
float:left;
margin:1px 1px 2px 1px;
}
.kalendae .k-header span {
text-align:center;
font-weight:bold;
width:20px;
padding:1px 0;
color:#666;
}
.kalendae .k-header.k-active span {
cursor: pointer;
border-radius:3px;
}
.kalendae .k-days span {
text-align:right;
width:20px;
height:1.5em;
line-height:1em;
padding:2px 3px 2px 2px;
border:1px solid transparent;
border-radius:3px;
color:#999;
}
/** Today **/
.kalendae .k-today {
text-decoration:underline;
}
/** Days inside of the month view **/
.kalendae .k-days span.k-in-month.k-active {
border-color:#ddd;
background-color:#fff;
color:#333;
}
/** Days outside of the month view (before the first day of the month, after the last day of the month) **/
.kalendae .k-days span.k-out-of-month {color:#ddd;}
/** Selectable **/
.kalendae .k-days span.k-active {
cursor:pointer;
}
/** Selected day, when outside the selectable area **/
.kalendae .k-days span.k-selected {
border-color:#1072A5;
color:#1072A5;
}
/** Selected day, when inside the selectable area **/
.kalendae .k-days span.k-selected.k-active,
.kalendae .k-header.k-active span.k-selected {
background:#7EA0E2;
color:white;
}
/** Days between the start and end points on a range, outside of the selectable area **/
.kalendae .k-days span.k-range {
background:none;
border-color:#6DD4FE;
}
/** Days between the start and end points on a range, inside of the selectable area **/
.kalendae .k-days span.k-range.k-in-month {
background:#C4D4F1;
border-color:#19AEFE;
color:#333;
}
/** Selectable day, hovered **/
.kalendae .k-days span.k-active:hover,
.kalendae .k-days span.k-active.k-day-hover-active {
border-color:#666;
}
/** Selectable week, hovered **/
.kalendae .k-week:hover span.k-active {
border-color:#666;
}
.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
/*-------------------------------------IE8 ONLY CODE BELOW THIS LINE--------------------------------------------*/
.kalendae.ie8.k-floating {
border:1px solid #ccc;
}
.kalendae.ie8 .k-btn-close {
width:20px;
height:20px;
border:none;
background:url('close.png') no-repeat top left;
}
.kalendae.ie8 .k-btn-close:after {display:none;}
.kalendae.ie8 .k-btn-previous-month,
.kalendae.ie8 .k-btn-next-month,
.kalendae.ie8 .k-btn-previous-year,
.kalendae.ie8 .k-btn-next-year {width:16px;height:16px;cursor:pointer;background:#777 url('arrows.png') no-repeat center left;position:absolute;top:0;}
.kalendae.ie8 .k-btn-next-month,
.kalendae.ie8 .k-btn-next-year {background-position:center right;}
.kalendae.ie8 .k-btn-previous-month:hover,
.kalendae.ie8 .k-btn-next-month:hover {background-color:#7EA0E2;}
.kalendae.ie8 .k-btn-previous-year,
.kalendae.ie8 .k-btn-next-year {background-color:#333;}
.kalendae.ie8 .k-btn-previous-year:hover,
.kalendae.ie8 .k-btn-next-year:hover {background-color:#6FDF81;}
.kalendae.ie8 .k-btn-previous-month:after,
.kalendae.ie8 .k-btn-next-month:after,
.kalendae.ie8 .k-btn-previous-year:after,
.kalendae.ie8 .k-btn-next-year:after {display:none;}