Show More
@@ -0,0 +1,40 b'' | |||
|
1 | ||
|
2 | import os | |
|
3 | ||
|
4 | import tornado.httpserver | |
|
5 | import tornado.ioloop | |
|
6 | import tornado.options | |
|
7 | import tornado.web | |
|
8 | ||
|
9 | from tornado.options import define, options | |
|
10 | ||
|
11 | define("port", default=8888, help="run on the given port", type=int) | |
|
12 | ||
|
13 | class MainHandler(tornado.web.RequestHandler): | |
|
14 | def get(self): | |
|
15 | self.render('notebook.html') | |
|
16 | ||
|
17 | ||
|
18 | class NotebookApplication(tornado.web.Application): | |
|
19 | def __init__(self): | |
|
20 | handlers = [ | |
|
21 | (r"/", MainHandler) | |
|
22 | ] | |
|
23 | settings = dict( | |
|
24 | template_path=os.path.join(os.path.dirname(__file__), "templates"), | |
|
25 | static_path=os.path.join(os.path.dirname(__file__), "static"), | |
|
26 | ) | |
|
27 | tornado.web.Application.__init__(self, handlers, **settings) | |
|
28 | ||
|
29 | ||
|
30 | def main(): | |
|
31 | tornado.options.parse_command_line() | |
|
32 | application = NotebookApplication() | |
|
33 | http_server = tornado.httpserver.HTTPServer(application) | |
|
34 | http_server.listen(options.port) | |
|
35 | tornado.ioloop.IOLoop.instance().start() | |
|
36 | ||
|
37 | ||
|
38 | if __name__ == "__main__": | |
|
39 | main() | |
|
40 |
@@ -0,0 +1,173 b'' | |||
|
1 | html, body, div, span, applet, object, iframe, | |
|
2 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
|
3 | a, abbr, acronym, address, big, cite, code, | |
|
4 | del, dfn, em, img, ins, kbd, q, s, samp, | |
|
5 | small, strike, strong, sub, sup, tt, var, | |
|
6 | b, u, i, center, | |
|
7 | dl, dt, dd, ol, ul, li, | |
|
8 | fieldset, form, label, legend, | |
|
9 | table, caption, tbody, tfoot, thead, tr, th, td, | |
|
10 | article, aside, canvas, details, embed, | |
|
11 | figure, figcaption, footer, header, hgroup, | |
|
12 | menu, nav, output, ruby, section, summary, | |
|
13 | time, mark, audio, video { | |
|
14 | margin: 0; | |
|
15 | padding: 0; | |
|
16 | border: 0; | |
|
17 | font-size: 100%; | |
|
18 | font: inherit; | |
|
19 | vertical-align: baseline; | |
|
20 | } | |
|
21 | ||
|
22 | body { | |
|
23 | background-color: white; | |
|
24 | } | |
|
25 | ||
|
26 | span#ipython_notebook h1 { | |
|
27 | font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; | |
|
28 | font-size: 32pt; | |
|
29 | padding: 10px; | |
|
30 | margin: 10px; | |
|
31 | } | |
|
32 | ||
|
33 | ||
|
34 | div#toolbar { | |
|
35 | width: 100%; | |
|
36 | height: auto; | |
|
37 | border-bottom-width: 2px; | |
|
38 | border-bottom-style: solid; | |
|
39 | border-bottom-color: black; | |
|
40 | padding: 5px; | |
|
41 | } | |
|
42 | ||
|
43 | #main_toolbar { | |
|
44 | } | |
|
45 | ||
|
46 | #main_toolbar button { | |
|
47 | font-size: 0.9em; | |
|
48 | } | |
|
49 | ||
|
50 | div.notebook { | |
|
51 | width: 760px; | |
|
52 | height: 100%; | |
|
53 | margin-left: auto; | |
|
54 | margin-right: auto; | |
|
55 | padding-top: 5px; | |
|
56 | padding-bottom: 5px; | |
|
57 | background-color: white; | |
|
58 | ||
|
59 | /* Uncomment this block for help in debugging the padding and margins | |
|
60 | /* border-left-width: 1px; | |
|
61 | border-left-style: solid; | |
|
62 | border-left-color: black; | |
|
63 | border-right-width: 1px; | |
|
64 | border-right-style: solid; | |
|
65 | border-right-color: black; | |
|
66 | border-bottom-width: 1px; | |
|
67 | border-bottom-style: solid; | |
|
68 | border-bottom-color: black;*/ | |
|
69 | } | |
|
70 | ||
|
71 | div.cell { | |
|
72 | width: 740px; | |
|
73 | margin: 5px 5px 5px 5px; | |
|
74 | padding: 5px; | |
|
75 | font-size: 11pt; | |
|
76 | position: relative; | |
|
77 | } | |
|
78 | ||
|
79 | div.code_cell { | |
|
80 | background-color: white; | |
|
81 | } | |
|
82 | ||
|
83 | div.prompt { | |
|
84 | vertical-align: top; | |
|
85 | display: table-cell; | |
|
86 | width: 85px; | |
|
87 | min-width 80px !important; | |
|
88 | font-family: Menlo, "Courier New", Courier, mono; | |
|
89 | font-weight: normal; | |
|
90 | font-style: normal; | |
|
91 | } | |
|
92 | ||
|
93 | div.input { | |
|
94 | display: table; | |
|
95 | height: auto; | |
|
96 | } | |
|
97 | ||
|
98 | div.input_prompt { | |
|
99 | color: blue; | |
|
100 | } | |
|
101 | ||
|
102 | ||
|
103 | textarea.input_area { | |
|
104 | text-align: left; | |
|
105 | font-family: Menlo, "Courier New", Courier, mono; | |
|
106 | font-size: inherit; | |
|
107 | border-style: none; | |
|
108 | display: table-cell; | |
|
109 | margin: 0; | |
|
110 | padding: 0; | |
|
111 | overflow: auto; | |
|
112 | font-weight: normal; | |
|
113 | font-style: normal; | |
|
114 | width: 665px; | |
|
115 | outline: none; | |
|
116 | resize: none; | |
|
117 | } | |
|
118 | ||
|
119 | ||
|
120 | div.output { | |
|
121 | display: table; | |
|
122 | } | |
|
123 | ||
|
124 | div.output_prompt { | |
|
125 | color: red; | |
|
126 | } | |
|
127 | ||
|
128 | div.output_area { | |
|
129 | text-align: left; | |
|
130 | font-family: Menlo, "Courier New", Courier, mono; | |
|
131 | font-size: inherit; | |
|
132 | margin: 0; | |
|
133 | padding: 0; | |
|
134 | display: table-cell; | |
|
135 | width: 665px; | |
|
136 | } | |
|
137 | ||
|
138 | div.text_cell { | |
|
139 | background-color: white; | |
|
140 | } | |
|
141 | ||
|
142 | textarea.text_cell_input { | |
|
143 | font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; | |
|
144 | font-size: inherit; | |
|
145 | outline: none; | |
|
146 | resize: none; | |
|
147 | width: inherit; | |
|
148 | border-style: none; | |
|
149 | padding: 0; | |
|
150 | margin: 0; | |
|
151 | color: black; | |
|
152 | } | |
|
153 | ||
|
154 | div.text_cell_render { | |
|
155 | font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; | |
|
156 | font-size: inherit; | |
|
157 | outline: none; | |
|
158 | resize: none; | |
|
159 | width: inherit; | |
|
160 | border-style: none; | |
|
161 | padding: 0; | |
|
162 | margin: 0; | |
|
163 | color: black; | |
|
164 | } | |
|
165 | ||
|
166 | div.text_cell_render em { | |
|
167 | font-style: italic; | |
|
168 | } | |
|
169 | ||
|
170 | div.text_cell_render strong { | |
|
171 | font-weight: bold; | |
|
172 | } | |
|
173 |
This diff has been collapsed as it changes many lines, (1760 lines changed) Show them Hide them | |||
@@ -0,0 +1,1760 b'' | |||
|
1 | .ui-helper-horizontal > DIV, | |
|
2 | .ui-helper-horizontal > LI, | |
|
3 | .ui-helper-horizontal > SPAN, | |
|
4 | .ui-helper-horizontal > LABEL, | |
|
5 | .ui-helper-horizontal > H1, | |
|
6 | .ui-helper-horizontal > H2, | |
|
7 | .ui-helper-horizontal > H3, | |
|
8 | .ui-helper-horizontal > H4 | |
|
9 | { | |
|
10 | float: left; | |
|
11 | clear: none; | |
|
12 | display: block; | |
|
13 | } /* WijSlider horizontal | |
|
14 | ----------------------------------*/ | |
|
15 | .wijmo-wijslider-horizontal | |
|
16 | { | |
|
17 | position: relative; | |
|
18 | } | |
|
19 | ||
|
20 | .wijmo-wijslider-horizontal .wijmo-wijslider-track | |
|
21 | { | |
|
22 | ||
|
23 | } | |
|
24 | ||
|
25 | .wijmo-wijslider-horizontal .wijmo-wijslider-decbutton | |
|
26 | { | |
|
27 | position: absolute; | |
|
28 | left: 0px; | |
|
29 | right: auto; | |
|
30 | cursor:pointer; | |
|
31 | } | |
|
32 | ||
|
33 | .wijmo-wijslider-horizontal .wijmo-wijslider-incbutton | |
|
34 | { | |
|
35 | position: absolute; | |
|
36 | left: auto; | |
|
37 | right: 0px; | |
|
38 | cursor:pointer; | |
|
39 | } | |
|
40 | ||
|
41 | /* WijSlider vertical | |
|
42 | ----------------------------------*/ | |
|
43 | .wijmo-wijslider-vertical | |
|
44 | { | |
|
45 | position: relative; | |
|
46 | } | |
|
47 | ||
|
48 | .wijmo-wijslider-vertical .wijmo-wijslider-track | |
|
49 | { | |
|
50 | ||
|
51 | } | |
|
52 | ||
|
53 | .wijmo-wijslider-vertical .wijmo-wijslider-decbutton | |
|
54 | { | |
|
55 | position: absolute; | |
|
56 | top: 0px; | |
|
57 | bottom: auto; | |
|
58 | cursor:pointer; | |
|
59 | } | |
|
60 | ||
|
61 | .wijmo-wijslider-vertical .wijmo-wijslider-incbutton | |
|
62 | { | |
|
63 | position: absolute; | |
|
64 | top: auto; | |
|
65 | bottom: 0px; | |
|
66 | cursor:pointer; | |
|
67 | }/* WijSplitter | |
|
68 | ----------------------------------*/ | |
|
69 | ||
|
70 | .wijmo-wijsplitter-vertical | |
|
71 | { | |
|
72 | overflow: hidden; | |
|
73 | /* fixed bug for IE6.7 */ | |
|
74 | position: relative; | |
|
75 | } | |
|
76 | .wijmo-wijsplitter-v-panel1 | |
|
77 | { | |
|
78 | float: left; | |
|
79 | position: relative; | |
|
80 | } | |
|
81 | .wijmo-wijsplitter-v-panel1-content | |
|
82 | { | |
|
83 | position: relative; | |
|
84 | } | |
|
85 | .wijmo-wijsplitter-v-bar | |
|
86 | { | |
|
87 | float: left; | |
|
88 | position: relative; | |
|
89 | font-size: 1px; | |
|
90 | width: 2px; | |
|
91 | z-index:99; | |
|
92 | } | |
|
93 | ||
|
94 | .wijmo-wijsplitter-vertical .ui-resizable-e | |
|
95 | { | |
|
96 | right:-7px; | |
|
97 | width:10px; | |
|
98 | z-index:999; | |
|
99 | display:block; | |
|
100 | background-color:white; | |
|
101 | filter:alpha(opacity=0); | |
|
102 | -moz-opacity:0; | |
|
103 | opacity: 0; | |
|
104 | } | |
|
105 | ||
|
106 | *html .wijmo-wijsplitter-vertical .ui-resizable-e | |
|
107 | { | |
|
108 | right:-4px; | |
|
109 | } | |
|
110 | ||
|
111 | *+html .wijmo-wijsplitter-vertical .ui-resizable-e | |
|
112 | { | |
|
113 | right:-4px; | |
|
114 | } | |
|
115 | ||
|
116 | .wijmo-wijsplitter-v-expander | |
|
117 | { | |
|
118 | position: absolute; | |
|
119 | z-index: 999; | |
|
120 | } | |
|
121 | ||
|
122 | .wijmo-wijsplitter-v-expanded .wijmo-wijsplitter-v-expander | |
|
123 | { | |
|
124 | left: -18px; | |
|
125 | z-index: 999; | |
|
126 | } | |
|
127 | ||
|
128 | .wijmo-wijsplitter-v-collapsed .wijmo-wijsplitter-v-expander | |
|
129 | { | |
|
130 | right: -18px; | |
|
131 | z-index: 999; | |
|
132 | } | |
|
133 | ||
|
134 | .wijmo-wijsplitter-v-panel2 | |
|
135 | { | |
|
136 | float: left; | |
|
137 | } | |
|
138 | .wijmo-wijsplitter-v-panel2-content | |
|
139 | { | |
|
140 | position: relative; | |
|
141 | } | |
|
142 | .wijmo-wijsplitter-v-resize-hepler | |
|
143 | { | |
|
144 | border-right: dotted 1px black; | |
|
145 | overflow: hidden; | |
|
146 | border-bottom: dotted 0 black; | |
|
147 | } | |
|
148 | ||
|
149 | .wijmo-wijsplitter-horizontal | |
|
150 | { | |
|
151 | overflow: hidden; | |
|
152 | /* fixed bug for IE6.7 */ | |
|
153 | position: relative; | |
|
154 | } | |
|
155 | .wijmo-wijsplitter-h-panel1 | |
|
156 | { | |
|
157 | position: relative; | |
|
158 | } | |
|
159 | .wijmo-wijsplitter-h-panel1-content | |
|
160 | { | |
|
161 | overflow: auto; | |
|
162 | position: relative; | |
|
163 | } | |
|
164 | .wijmo-wijsplitter-h-bar | |
|
165 | { | |
|
166 | position: relative; | |
|
167 | font-size: 1px; | |
|
168 | height: 2px; | |
|
169 | z-index:999; | |
|
170 | } | |
|
171 | ||
|
172 | .wijmo-wijsplitter-horizontal .ui-resizable-s | |
|
173 | { | |
|
174 | bottom:-7px; | |
|
175 | height:10px; | |
|
176 | z-index:999; | |
|
177 | display:block; | |
|
178 | background-color:white; | |
|
179 | filter:alpha(opacity=0); | |
|
180 | -moz-opacity:0; | |
|
181 | opacity: 0; | |
|
182 | } | |
|
183 | ||
|
184 | *html .wijmo-wijsplitter-horizontal .ui-resizable-s | |
|
185 | { | |
|
186 | bottom:-4px; | |
|
187 | } | |
|
188 | ||
|
189 | *+html .wijmo-wijsplitter-horizontal .ui-resizable-s | |
|
190 | { | |
|
191 | bottom:-4px; | |
|
192 | } | |
|
193 | ||
|
194 | .wijmo-wijsplitter-h-expander | |
|
195 | { | |
|
196 | position: absolute; | |
|
197 | z-index: 999; | |
|
198 | } | |
|
199 | ||
|
200 | ||
|
201 | .wijmo-wijsplitter-h-expanded .wijmo-wijsplitter-h-expander | |
|
202 | { | |
|
203 | top: -18px; | |
|
204 | } | |
|
205 | ||
|
206 | .wijmo-wijsplitter-h-collapsed .wijmo-wijsplitter-h-expander | |
|
207 | { | |
|
208 | bottom: -18px; | |
|
209 | } | |
|
210 | ||
|
211 | .wijmo-wijsplitter-h-panel2 | |
|
212 | { | |
|
213 | } | |
|
214 | .wijmo-wijsplitter-h-panel2-content | |
|
215 | { | |
|
216 | overflow: auto; | |
|
217 | position: relative; | |
|
218 | } | |
|
219 | .wijmo-wijsplitter-h-resize-hepler | |
|
220 | { | |
|
221 | border-bottom: dotted 1px black; | |
|
222 | overflow: hidden; | |
|
223 | border-right: dotted 0 black; | |
|
224 | } | |
|
225 | ||
|
226 | ||
|
227 | ||
|
228 | .wijmo-wijprogressbar | |
|
229 | { | |
|
230 | moz-user-select: none; | |
|
231 | text-align: left; | |
|
232 | float: left; | |
|
233 | position: relative; | |
|
234 | overflow: hidden; | |
|
235 | } | |
|
236 | ||
|
237 | .wijmo-wijprogressbar .ui-progressbar-value | |
|
238 | { | |
|
239 | position: absolute; | |
|
240 | border-width: 0; | |
|
241 | margin: 0; | |
|
242 | } | |
|
243 | ||
|
244 | div.wijmo-wijprogressbar-east | |
|
245 | { | |
|
246 | width: 200px; | |
|
247 | height: 1.1em; | |
|
248 | } | |
|
249 | div.wijmo-wijprogressbar-west | |
|
250 | { | |
|
251 | width: 200px; | |
|
252 | height: 1.1em; | |
|
253 | } | |
|
254 | div.wijmo-wijprogressbar-south | |
|
255 | { | |
|
256 | height: 200px; | |
|
257 | width: 1.1em; | |
|
258 | line-height: 100%; | |
|
259 | } | |
|
260 | ||
|
261 | div.wijmo-wijprogressbar-north | |
|
262 | { | |
|
263 | height: 200px; | |
|
264 | width: 1.1em; | |
|
265 | line-height: 100%; | |
|
266 | } | |
|
267 | ||
|
268 | .wijmo-wijprogressbar-east .ui-progressbar-value | |
|
269 | { | |
|
270 | left: 0; | |
|
271 | height: 100%; | |
|
272 | } | |
|
273 | .wijmo-wijprogressbar-west .ui-progressbar-value | |
|
274 | { | |
|
275 | right: 0; | |
|
276 | height: 100%; | |
|
277 | } | |
|
278 | .wijmo-wijprogressbar-south .ui-progressbar-value | |
|
279 | { | |
|
280 | top: 0; | |
|
281 | width: 100%; | |
|
282 | } | |
|
283 | ||
|
284 | .wijmo-wijprogressbar-north .ui-progressbar-value | |
|
285 | { | |
|
286 | bottom: 0; | |
|
287 | width: 100%; | |
|
288 | } | |
|
289 | ||
|
290 | .wijmo-wijprogressbar .lb_west, .wijmo-wijprogressbar .lb_east, .wijmo-wijprogressbar .lb_south, .wijmo-wijprogressbar .lb_north, .wijmo-wijprogressbar .lb_center | |
|
291 | { | |
|
292 | display: block; position:absolute; | |
|
293 | } | |
|
294 | ||
|
295 | .wijmo-wijprogressbar .lb_west | |
|
296 | { | |
|
297 | text-align: left; | |
|
298 | } | |
|
299 | .wijmo-wijprogressbar .lb_east | |
|
300 | { | |
|
301 | text-align: right; | |
|
302 | } | |
|
303 | .wijmo-wijprogressbar .lb_south | |
|
304 | { | |
|
305 | width: 100%; | |
|
306 | text-align: center; | |
|
307 | position: absolute; | |
|
308 | bottom: 0; | |
|
309 | } | |
|
310 | .wijmo-wijprogressbar .lb_north | |
|
311 | { | |
|
312 | width: 100%; | |
|
313 | text-align: center; | |
|
314 | top: 0; | |
|
315 | } | |
|
316 | .wijmo-wijprogressbar .lb_center | |
|
317 | { | |
|
318 | width: 100%; | |
|
319 | text-align: center; | |
|
320 | } | |
|
321 | .wijmo-wijprogressbar .lb_running | |
|
322 | { | |
|
323 | position: absolute; | |
|
324 | left: auto; | |
|
325 | top: auto; | |
|
326 | } | |
|
327 | ||
|
328 | .wijmo-wijprogressbar-east .lb_running, .wijmo-wijprogressbar-west .lb_running | |
|
329 | { | |
|
330 | width: auto; | |
|
331 | height: 100%; | |
|
332 | } | |
|
333 | .wijmo-wijprogressbar-south .lb_running, .wijmo-wijprogressbar-north .lb_running | |
|
334 | { | |
|
335 | width: 100%; | |
|
336 | height: auto; | |
|
337 | text-align: center; | |
|
338 | -webkit-transform: rotate(-90deg); | |
|
339 | -moz-transform: rotate(-90deg); | |
|
340 | } | |
|
341 | ||
|
342 | .wijmo-wijprogressbar-west .ui-progressbar-label | |
|
343 | { | |
|
344 | position: absolute; | |
|
345 | right: 0; | |
|
346 | } | |
|
347 | .wijmo-wijprogressbar-north .ui-progressbar-label, .wijmo-wijprogressbar-south .ui-progressbar-label | |
|
348 | { | |
|
349 | position: absolute; | |
|
350 | -webkit-transform: rotate(-90deg); | |
|
351 | -moz-transform: rotate(-90deg); | |
|
352 | } | |
|
353 | .wijmo-wijdialog-captionbutton { | |
|
354 | height:18px; | |
|
355 | padding:1px; | |
|
356 | width:19px; | |
|
357 | display: inline-block; | |
|
358 | margin-right:.2em; | |
|
359 | outline:none; | |
|
360 | text-align: left; | |
|
361 | } | |
|
362 | .wijmo-wijdialog-captionbutton:hover, | |
|
363 | .wijmo-wijdialog-captionbutton .ui-state-focus { | |
|
364 | padding: 0; | |
|
365 | } | |
|
366 | .wijmo-wijdialog-captionbutton .ui-icon{ | |
|
367 | margin:1px; | |
|
368 | } | |
|
369 | .wijmo-wijdialog .wijmo-wijdialog-hasframe{ | |
|
370 | padding: 0; | |
|
371 | } | |
|
372 | .wijmo-wijdialog-defaultdockingzone { position:fixed; bottom: 0px;left:0px; } | |
|
373 | ||
|
374 | .ui-dialog-titlebar {/* extend jquery.ui.dialog.css*/ | |
|
375 | text-align: right; | |
|
376 | } | |
|
377 | ||
|
378 | /* for ie 6 minimize*/ | |
|
379 | * html .wijmo-wijdialog-defaultdockingzone .ui-dialog-titlebar { | |
|
380 | float:left; | |
|
381 | } | |
|
382 | /*.wijmo-wijaccordion.ui-helper-horizontal > .ui-widget-content | |
|
383 | { | |
|
384 | width: 200px; | |
|
385 | height: 200px; | |
|
386 | padding-top:0; | |
|
387 | padding-bottom:0; | |
|
388 | margin-top:0; | |
|
389 | margin-bottom:0; | |
|
390 | } | |
|
391 | ||
|
392 | .wijmo-wijaccordion.ui-helper-horizontal > .ui-accordion-header | |
|
393 | { | |
|
394 | height: 200px; | |
|
395 | padding-top:0; | |
|
396 | padding-bottom:0; | |
|
397 | margin-top:0; | |
|
398 | margin-bottom:0; | |
|
399 | }*/ | |
|
400 | ||
|
401 | ||
|
402 | .ui-accordion a | |
|
403 | { | |
|
404 | outline: none; | |
|
405 | } | |
|
406 | ||
|
407 | /* RIGHT */ | |
|
408 | ||
|
409 | .ui-accordion-right .ui-accordion-header | |
|
410 | { | |
|
411 | margin-top: 0; | |
|
412 | margin-left: 1px; | |
|
413 | width: 2em; | |
|
414 | height: 12em; | |
|
415 | overflow: hidden; | |
|
416 | } | |
|
417 | ||
|
418 | .ui-accordion-right .ui-accordion-content | |
|
419 | { | |
|
420 | margin: 0; | |
|
421 | height: 200px; | |
|
422 | width: 36em; | |
|
423 | height: 12em; | |
|
424 | padding: 0 2.2em; | |
|
425 | } | |
|
426 | .ui-accordion-right .ui-accordion-content | |
|
427 | { | |
|
428 | top: 0; | |
|
429 | margin-left: -2px; | |
|
430 | padding: 1px; | |
|
431 | border: none; | |
|
432 | } | |
|
433 | ||
|
434 | ||
|
435 | .ui-accordion-right .ui-state-active | |
|
436 | { | |
|
437 | border-right: none; | |
|
438 | } | |
|
439 | ||
|
440 | .ui-accordion-right .ui-accordion-header a | |
|
441 | { | |
|
442 | padding: 2.2em 0 0 0; | |
|
443 | text-align: center; | |
|
444 | } | |
|
445 | ||
|
446 | ||
|
447 | .ui-accordion-right .ui-accordion-header .ui-icon | |
|
448 | { | |
|
449 | top: 10%; | |
|
450 | } | |
|
451 | ||
|
452 | ||
|
453 | /* LEFT */ | |
|
454 | ||
|
455 | .ui-accordion-left .ui-accordion-header | |
|
456 | { | |
|
457 | margin-top: 0; | |
|
458 | margin-right: 1px; | |
|
459 | width: 2em; | |
|
460 | height: 12em; | |
|
461 | overflow: hidden; | |
|
462 | } | |
|
463 | ||
|
464 | .ui-accordion-left .ui-accordion-content | |
|
465 | { | |
|
466 | margin: 0; | |
|
467 | height: 200px; | |
|
468 | width: 36em; | |
|
469 | height: 12em; | |
|
470 | padding: 0 2.2em; | |
|
471 | } | |
|
472 | .ui-accordion-left .ui-accordion-content | |
|
473 | { | |
|
474 | border: none; | |
|
475 | padding: 1px; | |
|
476 | top: 0; | |
|
477 | margin-right: -2px; | |
|
478 | } | |
|
479 | ||
|
480 | ||
|
481 | .ui-accordion-left .ui-state-active | |
|
482 | { | |
|
483 | border-left: none; | |
|
484 | } | |
|
485 | ||
|
486 | .ui-accordion-left .ui-accordion-header a | |
|
487 | { | |
|
488 | padding: 2.2em 0 0 0; | |
|
489 | text-align: center; | |
|
490 | } | |
|
491 | ||
|
492 | ||
|
493 | .ui-accordion-left .ui-accordion-header .ui-icon | |
|
494 | { | |
|
495 | top: 10%; | |
|
496 | } | |
|
497 | /* SuperPanel | |
|
498 | ----------------------------------*/ | |
|
499 | .wijmo-wijsuperpanel | |
|
500 | { | |
|
501 | overflow: hidden; | |
|
502 | outline: none; | |
|
503 | background-image: none; | |
|
504 | } | |
|
505 | .wijmo-wijsuperpanel-statecontainer | |
|
506 | { | |
|
507 | overflow: hidden; | |
|
508 | position: relative; | |
|
509 | zoom:1; | |
|
510 | } | |
|
511 | .wijmo-wijsuperpanel-contentwrapper | |
|
512 | { | |
|
513 | position: absolute; | |
|
514 | overflow: hidden; | |
|
515 | ||
|
516 | } | |
|
517 | .wijmo-wijsuperpanel-hbarcontainer, .wijmo-wijsuperpanel-vbarcontainer | |
|
518 | { | |
|
519 | font-size: 0px; | |
|
520 | border:0; | |
|
521 | } | |
|
522 | .wijmo-wijsuperpanel-templateouterwrapper | |
|
523 | { | |
|
524 | position: relative; | |
|
525 | /* overflow:auto; */ | |
|
526 | zoom: 1; | |
|
527 | } | |
|
528 | ||
|
529 | .wijmo-wijsuperpanel-vbarcontainer .ui-state-default, .wijmo-wijsuperpanel-hbarcontainer .ui-state-default | |
|
530 | { | |
|
531 | width: 16px; | |
|
532 | height: 16px; | |
|
533 | position: absolute; | |
|
534 | } | |
|
535 | .wijmo-wijsuperpanel .wijmo-wijsuperpanel-vbarcontainer | |
|
536 | { | |
|
537 | position: absolute; | |
|
538 | width: 18px; | |
|
539 | padding-top: 18px; | |
|
540 | padding-bottom: 18px; | |
|
541 | border: none; | |
|
542 | } | |
|
543 | .wijmo-wijsuperpanel .wijmo-wijsuperpanel-hbarcontainer | |
|
544 | { | |
|
545 | position: absolute; | |
|
546 | height: 18px; | |
|
547 | padding-left: 18px; | |
|
548 | padding-right: 18px; | |
|
549 | border: none; | |
|
550 | } | |
|
551 | .wijmo-wijsuperpanel-handle | |
|
552 | { | |
|
553 | position: absolute; | |
|
554 | font-size:0px; | |
|
555 | overflow:hidden; | |
|
556 | } | |
|
557 | .wijmo-wijsuperpanel-handle * | |
|
558 | { | |
|
559 | font-size:0px; | |
|
560 | } | |
|
561 | .wijmo-wijsuperpanel-helper | |
|
562 | { | |
|
563 | border-style: dotted; | |
|
564 | background: transparent; | |
|
565 | } | |
|
566 | ||
|
567 | .wijmo-wijsuperpanel-button | |
|
568 | { | |
|
569 | position: absolute; | |
|
570 | padding: 4px; | |
|
571 | } | |
|
572 | .wijmo-wijsuperpanel .ui-icon-gripsmall-diagonal-se | |
|
573 | { | |
|
574 | background: none; | |
|
575 | width: 7px; | |
|
576 | height: 7px; | |
|
577 | } | |
|
578 | .wijmo-wijsuperpanel-hbar-buttonleft | |
|
579 | { | |
|
580 | left: 0; | |
|
581 | } | |
|
582 | .wijmo-wijsuperpanel-hbar-buttonright | |
|
583 | { | |
|
584 | right: 0; | |
|
585 | } | |
|
586 | .wijmo-wijsuperpanel-vbar-buttontop | |
|
587 | { | |
|
588 | top: 0; | |
|
589 | } | |
|
590 | .wijmo-wijsuperpanel-vbar-buttonbottom | |
|
591 | { | |
|
592 | bottom: 0; | |
|
593 | } | |
|
594 | .wijmo-wijtextbox | |
|
595 | { | |
|
596 | outline:none; | |
|
597 | margin: 0; | |
|
598 | padding:5px; | |
|
599 | } | |
|
600 | ||
|
601 | .wijmo-wijdropdown | |
|
602 | { | |
|
603 | display: inline-block; | |
|
604 | position: relative; | |
|
605 | width: auto; | |
|
606 | zoom: 1; | |
|
607 | *display: inline; | |
|
608 | width:200px; | |
|
609 | /*z-index: 101;*/ | |
|
610 | } | |
|
611 | ||
|
612 | ||
|
613 | ||
|
614 | ||
|
615 | .wijmo-wijdropdown div.wijmo-dropdown-trigger | |
|
616 | { | |
|
617 | border-right: none; | |
|
618 | border-top: none; | |
|
619 | border-bottom: none; | |
|
620 | cursor: pointer; | |
|
621 | width: 16px; | |
|
622 | height: 100%; | |
|
623 | position: absolute; | |
|
624 | right: 0; | |
|
625 | top: 0; | |
|
626 | padding: 0 3px; | |
|
627 | } | |
|
628 | ||
|
629 | .wijmo-wijdropdown .wijmo-dropdown-trigger .ui-icon | |
|
630 | { | |
|
631 | margin-top: 3px; | |
|
632 | } | |
|
633 | ||
|
634 | .wijmo-wijdropdown label.wijmo-dropdown-label | |
|
635 | { | |
|
636 | display: block; | |
|
637 | padding: 3px 26px 3px 5px; | |
|
638 | width: auto; | |
|
639 | border: none; | |
|
640 | } | |
|
641 | ||
|
642 | .wijmo-wijdropdown .wijmo-dropdown | |
|
643 | { | |
|
644 | position: absolute; height:250px; | |
|
645 | } | |
|
646 | ||
|
647 | .wijmo-wijdropdown .wijmo-dropdown .wijmo-dropdown-list | |
|
648 | { | |
|
649 | padding: 0.4em; | |
|
650 | border: 0 none; | |
|
651 | } | |
|
652 | ||
|
653 | .wijmo-wijdropdown .wijmo-dropdown .wijmo-dropdown-item | |
|
654 | { | |
|
655 | border:1px solid transparent; | |
|
656 | cursor:pointer; | |
|
657 | font-weight:normal; | |
|
658 | margin:1px 0; | |
|
659 | padding:3px 5px; | |
|
660 | text-align:left; | |
|
661 | *border-color: white; | |
|
662 | *filter: chroma(color=white); | |
|
663 | ||
|
664 | } | |
|
665 | ||
|
666 | /* | |
|
667 | .wijmo-wijdropdown .wijmo-dropdown .wijmo-dropdown-optgroup .wijmo-dropdown-items | |
|
668 | { | |
|
669 | margin-left: 15%; | |
|
670 | }*/ | |
|
671 | ||
|
672 | .wijmo-wijdropdown .wijmo-dropdown .wijmo-dropdown-optgroup .wijmo-dropdown-items li | |
|
673 | { | |
|
674 | padding-left: 10%; | |
|
675 | } | |
|
676 | ||
|
677 | .wijmo-wijdropdown .wijmo-dropdown .wijmo-optgroup-header | |
|
678 | { | |
|
679 | font-style: italic; | |
|
680 | } | |
|
681 | .wijmo-checkbox | |
|
682 | { | |
|
683 | position: relative; /*float: left;*/ | |
|
684 | margin: 3px 0; | |
|
685 | line-height: 16px; | |
|
686 | width: 16px; | |
|
687 | } | |
|
688 | .wijmo-checkbox .wijmo-checkbox-inputwrapper | |
|
689 | { | |
|
690 | width: 0; | |
|
691 | height: 0; | |
|
692 | overflow: hidden; | |
|
693 | } | |
|
694 | .wijmo-checkbox label | |
|
695 | { | |
|
696 | display: block; | |
|
697 | position: relative; | |
|
698 | margin: 0; | |
|
699 | cursor: pointer; | |
|
700 | z-index: 1; | |
|
701 | padding: 0 0 0 1.4em; | |
|
702 | outline: none; | |
|
703 | margin: 0 3px; | |
|
704 | width: 8em; | |
|
705 | } | |
|
706 | .wijmo-checkbox .wijmo-checkbox-box | |
|
707 | { | |
|
708 | position: absolute; | |
|
709 | bottom: 0; | |
|
710 | left: 0; | |
|
711 | width: 16px; | |
|
712 | height: 16px; | |
|
713 | -moz-border-radius: 2px; | |
|
714 | -webkit-border-radius: 2px; | |
|
715 | border-radius: 2px; | |
|
716 | margin-right: 3px; | |
|
717 | } | |
|
718 | ||
|
719 | .wijmo-checkbox .wijmo-checkbox-relative | |
|
720 | { | |
|
721 | position: relative; | |
|
722 | float: left; | |
|
723 | margin-right: 3px; | |
|
724 | } | |
|
725 | .wijmo-wijradio | |
|
726 | { | |
|
727 | position: relative; /*float: left;*/ | |
|
728 | margin: 3px 0; | |
|
729 | width: 16px; | |
|
730 | line-height: 16px; | |
|
731 | } | |
|
732 | .wijmo-wijradio .wijmo-wijradio-inputwrapper | |
|
733 | { | |
|
734 | width: 0; | |
|
735 | height: 0; | |
|
736 | overflow: hidden; | |
|
737 | } | |
|
738 | .wijmo-wijradio label | |
|
739 | { | |
|
740 | display: block; | |
|
741 | position: relative; | |
|
742 | margin: 0; | |
|
743 | cursor: pointer; | |
|
744 | z-index: 1; | |
|
745 | padding: 0 0 0 1.4em; | |
|
746 | outline: none; | |
|
747 | margin: 0 3px; | |
|
748 | width: 8em; | |
|
749 | } | |
|
750 | .wijmo-wijradio .wijmo-wijradio-box | |
|
751 | { | |
|
752 | position: absolute; | |
|
753 | bottom: 0; | |
|
754 | left: 0; | |
|
755 | width: 16px; | |
|
756 | height: 16px; | |
|
757 | line-height: 16px; | |
|
758 | -moz-border-radius: 10px; | |
|
759 | -webkit-border-radius: 10px; | |
|
760 | border-radius: 10px; | |
|
761 | } | |
|
762 | .wijmo-wijradio .wijmo-wijradio-relative | |
|
763 | { | |
|
764 | position: relative; | |
|
765 | float: left; | |
|
766 | margin-right: 3px; | |
|
767 | } | |
|
768 | ||
|
769 | .wijmo-wijlist-list | |
|
770 | { | |
|
771 | cursor: default; | |
|
772 | overflow: hidden; | |
|
773 | } | |
|
774 | .wijmo-wijlist-ul | |
|
775 | { | |
|
776 | list-style: none; | |
|
777 | padding: 2px; | |
|
778 | margin: 0; | |
|
779 | display: block; | |
|
780 | border: 0px; | |
|
781 | overflow: hidden; | |
|
782 | } | |
|
783 | .wijmo-wijlist-ul .wijmo-wijlist-item | |
|
784 | { | |
|
785 | margin: 1px 0; | |
|
786 | padding: 3px 5px; | |
|
787 | /*white-space: nowrap;*/ | |
|
788 | cursor: pointer; | |
|
789 | text-align: left; | |
|
790 | font-weight: normal; | |
|
791 | border: solid 1px transparent; | |
|
792 | } | |
|
793 | .wijmo-wijlist-ul .wijmo-wijlist-item.ui-state-hover | |
|
794 | { | |
|
795 | font-weight: normal; | |
|
796 | } | |
|
797 | ||
|
798 | .wijmo-wijlist .ui-resizable-se | |
|
799 | { | |
|
800 | width: 7px; | |
|
801 | height: 7px; | |
|
802 | background: none; | |
|
803 | } | |
|
804 | .wijmo-wijcalendar | |
|
805 | { | |
|
806 | -webkit-user-select: none; | |
|
807 | -moz-user-select: none; | |
|
808 | display:block; | |
|
809 | } | |
|
810 | ||
|
811 | .wijmo-wijcalendar-header | |
|
812 | { | |
|
813 | position: relative; | |
|
814 | } | |
|
815 | ||
|
816 | .wijmo-wijcalendar-header-inner | |
|
817 | { | |
|
818 | margin: 0 1.8em; | |
|
819 | line-height: 1.8em; | |
|
820 | } | |
|
821 | ||
|
822 | .wijmo-wijcalendar .ui-datepicker-header | |
|
823 | { | |
|
824 | padding: 1px; | |
|
825 | } | |
|
826 | ||
|
827 | .wijmo-wijcalendar .ui-datepicker-header .ui-state-default | |
|
828 | { | |
|
829 | border-color: transparent; | |
|
830 | background: none; | |
|
831 | color: inherit; | |
|
832 | } | |
|
833 | ||
|
834 | .wijmo-wijcalendar .wijmo-wijcalendar-table | |
|
835 | { | |
|
836 | table-layout: fixed; | |
|
837 | } | |
|
838 | ||
|
839 | .wijmo-wijcalendar-prevpreview-button, .wijmo-wijcalendar-nextpreview-button | |
|
840 | { | |
|
841 | width: 16px; | |
|
842 | margin-top: 35%; | |
|
843 | float: left; | |
|
844 | } | |
|
845 | ||
|
846 | .wijmo-wijcalendar-nextpreview-button | |
|
847 | { | |
|
848 | float: right; | |
|
849 | } | |
|
850 | ||
|
851 | .wijmo-wijcalendar-preview-wrapper .wijmo-wijcalendar | |
|
852 | { | |
|
853 | float: left; | |
|
854 | width: 18em; | |
|
855 | } | |
|
856 | ||
|
857 | .wijmo-wijcalendar-preview-wrapper .wijmo-wijcalendar .ui-datepicker-calendar | |
|
858 | { | |
|
859 | width: 80%; | |
|
860 | float: left; | |
|
861 | } | |
|
862 | ||
|
863 | .wijmo-wijcalendar-title, .wijmo-wijcalendar-selectable | |
|
864 | { | |
|
865 | cursor: pointer; | |
|
866 | } | |
|
867 | ||
|
868 | .ui-datepicker-other-month | |
|
869 | { | |
|
870 | text-align: right; | |
|
871 | } | |
|
872 | ||
|
873 | .wijmo-wijcalendar-mygrid td span, .wijmo-wijcalendar-mygrid td a | |
|
874 | { | |
|
875 | display: block; | |
|
876 | text-align: center; | |
|
877 | text-decoration: none; | |
|
878 | padding: 0; | |
|
879 | } | |
|
880 | ||
|
881 | .wijmo-wijcalendar-mygrid .ui-state-default a, .wijmo-wijcalendar-mygrid .ui-state-default a:hover, .wijmo-wijcalendar-mygrid .ui-state-hover a, .wijmo-wijcalendar-mygrid .ui-state-hover a:hover | |
|
882 | { | |
|
883 | color: inherit; | |
|
884 | } | |
|
885 | ||
|
886 | .ui-header-custom img, .ui-footer-custom img | |
|
887 | { | |
|
888 | width: 100%; | |
|
889 | } | |
|
890 | ||
|
891 | .wijmo-wijcalendar table.wijmo-wijcalendar-mygrid | |
|
892 | { | |
|
893 | margin-top: 2px; | |
|
894 | border-collapse: separate; | |
|
895 | table-layout: fixed; | |
|
896 | } | |
|
897 | ||
|
898 | .wijmo-wijcalendar table.wijmo-wijcalendar-mygrid .ui-datepicker-week-day | |
|
899 | { | |
|
900 | cursor: pointer; | |
|
901 | } | |
|
902 | ||
|
903 | .wijmo-wijcalendar-aniwrapper | |
|
904 | { | |
|
905 | position: relative; | |
|
906 | left: 0; | |
|
907 | top: 0; | |
|
908 | } | |
|
909 | ||
|
910 | .wijmo-wijcalendar-multi-aniwrapper | |
|
911 | { | |
|
912 | position: absolute; | |
|
913 | overflow: hidden; | |
|
914 | } | |
|
915 | ||
|
916 | .ui-datepicker-rtl .ui-datepicker-prev .ui-icon, .ui-datepicker-rtl .ui-datepicker-next .ui-icon | |
|
917 | { | |
|
918 | direction: rtl; | |
|
919 | } | |
|
920 | .wijmo-wijexpander | |
|
921 | { | |
|
922 | margin: 1px; | |
|
923 | padding: 0; | |
|
924 | display: block; | |
|
925 | } | |
|
926 | ||
|
927 | .wijmo-wijexpander a | |
|
928 | { | |
|
929 | outline: none; | |
|
930 | } | |
|
931 | ||
|
932 | .wijmo-wijexpander .ui-expander-header | |
|
933 | { | |
|
934 | cursor: pointer; | |
|
935 | margin-top: 1px; | |
|
936 | position: relative; | |
|
937 | } | |
|
938 | /*.wijmo-wijexpander.ui-helper-horizontal > .ui-expander-header | |
|
939 | { | |
|
940 | cursor: pointer; | |
|
941 | width: 20px; | |
|
942 | height: 200px; | |
|
943 | } | |
|
944 | .wijmo-wijexpander.ui-state-disabled > .ui-expander-header | |
|
945 | { | |
|
946 | cursor: default; | |
|
947 | } | |
|
948 | .wijmo-wijexpander > .ui-widget-content | |
|
949 | { | |
|
950 | height: 100px; | |
|
951 | overflow: auto; | |
|
952 | } | |
|
953 | .wijmo-wijexpander.ui-state-disabled > .ui-widget-content | |
|
954 | { | |
|
955 | }*/ | |
|
956 | ||
|
957 | ||
|
958 | .ui-expander .ui-expander-content | |
|
959 | { | |
|
960 | border-top: 0 none; | |
|
961 | display: none; | |
|
962 | margin-bottom: 2px; | |
|
963 | margin-top: -2px; | |
|
964 | overflow: auto; | |
|
965 | padding: 1em 2.2em; | |
|
966 | position: relative; | |
|
967 | top: 1px; | |
|
968 | } | |
|
969 | ||
|
970 | ||
|
971 | .wijmo-wijexpander .ui-expander-header a | |
|
972 | { | |
|
973 | display: block; | |
|
974 | font-size: 1em; | |
|
975 | padding: 0.5em 0.5em 0.5em 0.7em; | |
|
976 | } | |
|
977 | ||
|
978 | .wijmo-wijexpander .ui-expander-header .ui-icon | |
|
979 | { | |
|
980 | left: 0.5em; | |
|
981 | margin-top: -8px; | |
|
982 | position: absolute; | |
|
983 | top: 50%; | |
|
984 | } | |
|
985 | ||
|
986 | .wijmo-wijexpander .ui-expander-content-active | |
|
987 | { | |
|
988 | display: block; | |
|
989 | border-top: 0 none; | |
|
990 | padding: 1em 2.2em; | |
|
991 | } | |
|
992 | ||
|
993 | ||
|
994 | .wijmo-wijexpander .ui-expander-header > a | |
|
995 | { | |
|
996 | padding-left: 2.2em; | |
|
997 | } | |
|
998 | ||
|
999 | .ui-helper-horizontal.wijmo-wijexpander .ui-expander-header .ui-icon | |
|
1000 | { | |
|
1001 | left: inherit; | |
|
1002 | margin-top: inherit; | |
|
1003 | margin-left: -8px; | |
|
1004 | position: absolute; | |
|
1005 | top: 0.5em; | |
|
1006 | left: 50%; | |
|
1007 | } | |
|
1008 | ||
|
1009 | .ui-helper-horizontal.wijmo-wijexpander .ui-expander-header > a | |
|
1010 | { | |
|
1011 | padding-left: inherit; | |
|
1012 | padding-top: 2.2em; | |
|
1013 | display: inline-block; | |
|
1014 | } | |
|
1015 | ||
|
1016 | ||
|
1017 | /* RIGHT */ | |
|
1018 | ||
|
1019 | .ui-expander-right .ui-expander-header | |
|
1020 | { | |
|
1021 | margin: 0 1px; | |
|
1022 | width: 2em; | |
|
1023 | height: 12em; | |
|
1024 | overflow: hidden; | |
|
1025 | } | |
|
1026 | ||
|
1027 | .ui-expander-right .ui-expander-content | |
|
1028 | { | |
|
1029 | margin: 0; | |
|
1030 | height: 200px; | |
|
1031 | width: 12em; | |
|
1032 | height: 12em; | |
|
1033 | padding: 0 2.2em; | |
|
1034 | } | |
|
1035 | .ui-expander-right .ui-expander-content | |
|
1036 | { | |
|
1037 | top: 0; | |
|
1038 | margin-left: -2px; | |
|
1039 | padding: 1px; | |
|
1040 | border: none; | |
|
1041 | margin-right: 1px; | |
|
1042 | } | |
|
1043 | ||
|
1044 | ||
|
1045 | .ui-expander-right .ui-state-active | |
|
1046 | { | |
|
1047 | border-right: none; | |
|
1048 | } | |
|
1049 | ||
|
1050 | .ui-expander-right .ui-expander-header a | |
|
1051 | { | |
|
1052 | padding: 2.2em 0 0 0; | |
|
1053 | } | |
|
1054 | ||
|
1055 | ||
|
1056 | .ui-expander-right .ui-expander-header .ui-icon | |
|
1057 | { | |
|
1058 | top: 10%; | |
|
1059 | } | |
|
1060 | ||
|
1061 | ||
|
1062 | /* LEFT */ | |
|
1063 | ||
|
1064 | .ui-expander-left .ui-expander-header | |
|
1065 | { | |
|
1066 | margin: 0 1px; | |
|
1067 | width: 2em; | |
|
1068 | height: 12em; | |
|
1069 | overflow: hidden; | |
|
1070 | } | |
|
1071 | ||
|
1072 | .ui-expander-left .ui-expander-content | |
|
1073 | { | |
|
1074 | margin: 0; | |
|
1075 | height: 200px; | |
|
1076 | width: 12em; | |
|
1077 | height: 12em; | |
|
1078 | padding: 0 2.2em; | |
|
1079 | } | |
|
1080 | .ui-expander-left .ui-expander-content | |
|
1081 | { | |
|
1082 | border: none; | |
|
1083 | padding: 1px; | |
|
1084 | top: 0; | |
|
1085 | margin-right: -2px; | |
|
1086 | margin-left: 1px; | |
|
1087 | } | |
|
1088 | ||
|
1089 | ||
|
1090 | .ui-expander-left .ui-state-active | |
|
1091 | { | |
|
1092 | border-left: none; | |
|
1093 | } | |
|
1094 | ||
|
1095 | .ui-expander-left .ui-expander-header a | |
|
1096 | { | |
|
1097 | padding: 2.2em 0 0 0; | |
|
1098 | } | |
|
1099 | ||
|
1100 | ||
|
1101 | .ui-expander-left .ui-expander-header .ui-icon | |
|
1102 | { | |
|
1103 | top: 10%; | |
|
1104 | } | |
|
1105 | ||
|
1106 | .ui-tabs .ui-tabs-nav li | |
|
1107 | { | |
|
1108 | top: 1px; | |
|
1109 | } | |
|
1110 | ||
|
1111 | /* BOTTOM */ | |
|
1112 | ||
|
1113 | .ui-tabs-bottom .ui-tabs-nav li | |
|
1114 | { | |
|
1115 | top: -3px; | |
|
1116 | padding: 0; | |
|
1117 | margin: 1px .2em 0 0; | |
|
1118 | } | |
|
1119 | ||
|
1120 | .ui-tabs-bottom .ui-tabs-nav li.ui-tabs-selected | |
|
1121 | { | |
|
1122 | margin-top: -1px; | |
|
1123 | padding-bottom: 2px; | |
|
1124 | } | |
|
1125 | ||
|
1126 | .ui-tabs .ui-tabs-nav li | |
|
1127 | { | |
|
1128 | border: none; | |
|
1129 | } | |
|
1130 | ||
|
1131 | /* LEFT */ | |
|
1132 | .ui-tabs-left .ui-tabs-nav | |
|
1133 | { | |
|
1134 | float: left; | |
|
1135 | overflow: hidden; | |
|
1136 | } | |
|
1137 | ||
|
1138 | .ui-tabs-left .ui-tabs-nav li | |
|
1139 | { | |
|
1140 | white-space: normal; | |
|
1141 | float: right; | |
|
1142 | display: block; | |
|
1143 | width: 98%; | |
|
1144 | } | |
|
1145 | ||
|
1146 | .ui-tabs-left .ui-tabs-nav li a, .ui-tabs-right .ui-tabs-nav li a | |
|
1147 | { | |
|
1148 | float: none; | |
|
1149 | display: block; | |
|
1150 | } | |
|
1151 | ||
|
1152 | .ui-tabs-left .ui-tabs-nav li | |
|
1153 | { | |
|
1154 | top: -1px; | |
|
1155 | left: 3px; | |
|
1156 | margin-bottom: 2px; | |
|
1157 | } | |
|
1158 | ||
|
1159 | .ui-tabs-left .ui-tabs-panel | |
|
1160 | { | |
|
1161 | padding: 1.6em; | |
|
1162 | } | |
|
1163 | ||
|
1164 | .ui-tabs-left .ui-tabs-nav li.ui-tabs-selected | |
|
1165 | { | |
|
1166 | border-right: medium none; | |
|
1167 | margin-bottom: 2px; | |
|
1168 | } | |
|
1169 | .ui-tabs-left .ui-tabs-nav | |
|
1170 | { | |
|
1171 | padding: 0.2em 0 0 0; | |
|
1172 | } | |
|
1173 | ||
|
1174 | .ui-tabs-left .wijmo-wijtabs-content | |
|
1175 | { | |
|
1176 | float: right; | |
|
1177 | width: 75%; | |
|
1178 | overflow: hidden; | |
|
1179 | } | |
|
1180 | ||
|
1181 | .ui-tabs-left .ui-tabs-nav | |
|
1182 | { | |
|
1183 | min-height: 300px; | |
|
1184 | width: 23%; | |
|
1185 | height: 100%; | |
|
1186 | } | |
|
1187 | ||
|
1188 | /* RIGHT */ | |
|
1189 | ||
|
1190 | .ui-tabs-right .ui-tabs-nav | |
|
1191 | { | |
|
1192 | float: right; | |
|
1193 | overflow: hidden; | |
|
1194 | } | |
|
1195 | ||
|
1196 | .ui-tabs-right .ui-tabs-nav li | |
|
1197 | { | |
|
1198 | white-space: normal; | |
|
1199 | float: left; | |
|
1200 | display: block; | |
|
1201 | width: 98%; | |
|
1202 | } | |
|
1203 | ||
|
1204 | .ui-tabs-right .ui-tabs-nav li | |
|
1205 | { | |
|
1206 | top: -1px; | |
|
1207 | left: 0; | |
|
1208 | margin-bottom: 2px; | |
|
1209 | } | |
|
1210 | ||
|
1211 | .ui-tabs-right .ui-tabs-panel | |
|
1212 | { | |
|
1213 | padding: 1.6em; | |
|
1214 | } | |
|
1215 | ||
|
1216 | .ui-tabs-right .ui-tabs-nav li.ui-tabs-selected | |
|
1217 | { | |
|
1218 | border-left: medium none; | |
|
1219 | margin-bottom: 2px; | |
|
1220 | } | |
|
1221 | .ui-tabs-right .ui-tabs-nav | |
|
1222 | { | |
|
1223 | padding: 0.2em 0 0 0; | |
|
1224 | } | |
|
1225 | ||
|
1226 | .ui-tabs-right .wijmo-wijtabs-content | |
|
1227 | { | |
|
1228 | float: left; | |
|
1229 | width: 75%; | |
|
1230 | overflow: hidden; | |
|
1231 | } | |
|
1232 | ||
|
1233 | .ui-tabs-right .ui-tabs-nav | |
|
1234 | { | |
|
1235 | min-height: 300px; | |
|
1236 | width: 23%; | |
|
1237 | } | |
|
1238 | ||
|
1239 | ||
|
1240 | .ui-tabs-left .ui-tabs-nav li.ui-tabs-selected | |
|
1241 | { | |
|
1242 | margin-right: 2px; | |
|
1243 | padding-right: 1px; | |
|
1244 | } | |
|
1245 | ||
|
1246 | .ui-tabs-right .ui-tabs-nav li.ui-tabs-selected | |
|
1247 | { | |
|
1248 | margin-left: -1px; | |
|
1249 | padding-left: 1px; | |
|
1250 | } | |
|
1251 | .wijmo-wijtooltip { | |
|
1252 | position: absolute; | |
|
1253 | z-index: 9999; | |
|
1254 | margin:0; | |
|
1255 | } | |
|
1256 | ||
|
1257 | ||
|
1258 | .wijmo-wijtooltip .wijmo-wijtooltip-close | |
|
1259 | { | |
|
1260 | background:none repeat scroll 0 0 transparent; | |
|
1261 | border:medium none; | |
|
1262 | display:block; | |
|
1263 | height:16px; | |
|
1264 | position:absolute; | |
|
1265 | right:3px; | |
|
1266 | top:3px; | |
|
1267 | width:16px; | |
|
1268 | } | |
|
1269 | ||
|
1270 | .wijmo-wijtooltip .wijmo-wijtooltip-title | |
|
1271 | { | |
|
1272 | background:none repeat scroll 0 0 transparent; | |
|
1273 | border:medium none; | |
|
1274 | color:inherit; | |
|
1275 | padding:0.4em; | |
|
1276 | } | |
|
1277 | .wijmo-wijtooltip .wijmo-wijtooltip-container | |
|
1278 | { | |
|
1279 | padding: 1em; | |
|
1280 | overflow: hidden; | |
|
1281 | } | |
|
1282 | ||
|
1283 | .wijmo-wijtooltip { | |
|
1284 | border-width: 2px; | |
|
1285 | } | |
|
1286 | ||
|
1287 | .wijmo-wijtooltip .wijmo-wijtooltip-pointer, .wijmo-wijtooltip .wijmo-wijtooltip-pointer-inner { | |
|
1288 | background: none; | |
|
1289 | height: 0; | |
|
1290 | position: absolute; | |
|
1291 | width: 0; | |
|
1292 | } | |
|
1293 | ||
|
1294 | .wijmo-wijtooltip-arrow-tr .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-tc .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-tl .wijmo-wijtooltip-pointer { | |
|
1295 | border-bottom-width: 14px; | |
|
1296 | border-top: 0 none; | |
|
1297 | top: -14px; | |
|
1298 | ||
|
1299 | } | |
|
1300 | ||
|
1301 | .wijmo-wijtooltip-arrow-tr .wijmo-wijtooltip-pointer { | |
|
1302 | border-left: 18px solid transparent; | |
|
1303 | border-right: 0 none; | |
|
1304 | right: 10px; | |
|
1305 | } | |
|
1306 | ||
|
1307 | .wijmo-wijtooltip-arrow-tc .wijmo-wijtooltip-pointer { | |
|
1308 | border-left: 10px solid transparent; | |
|
1309 | border-right: 10px solid transparent; | |
|
1310 | left: 50%; | |
|
1311 | margin-left: -10px; | |
|
1312 | } | |
|
1313 | ||
|
1314 | .wijmo-wijtooltip-arrow-tl .wijmo-wijtooltip-pointer { | |
|
1315 | border-left: 0 none; | |
|
1316 | border-right: 18px solid transparent; | |
|
1317 | left: 10px; | |
|
1318 | } | |
|
1319 | ||
|
1320 | .wijmo-wijtooltip-arrow-tr .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-tc .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-tl .wijmo-wijtooltip-pointer-inner { | |
|
1321 | border-bottom-color: inherit; | |
|
1322 | border-bottom-style: solid; | |
|
1323 | border-bottom-width: 10px; | |
|
1324 | bottom: -14px; | |
|
1325 | *font-size:0;line-height:0; | |
|
1326 | } | |
|
1327 | ||
|
1328 | .wijmo-wijtooltip-arrow-tr .wijmo-wijtooltip-pointer-inner { | |
|
1329 | border-left: 12px solid transparent; | |
|
1330 | border-right: 0 none; | |
|
1331 | right: 2px; | |
|
1332 | } | |
|
1333 | ||
|
1334 | .wijmo-wijtooltip-arrow-tc .wijmo-wijtooltip-pointer-inner { | |
|
1335 | border-left: 8px solid transparent; | |
|
1336 | border-right: 8px solid transparent; | |
|
1337 | left: -8px; | |
|
1338 | } | |
|
1339 | ||
|
1340 | .wijmo-wijtooltip-arrow-tl .wijmo-wijtooltip-pointer-inner { | |
|
1341 | border-left: 0 none; | |
|
1342 | border-right-style: solid; | |
|
1343 | border-right-color: inherit; | |
|
1344 | border-right-width: 12px; | |
|
1345 | left: 2px; | |
|
1346 | } | |
|
1347 | ||
|
1348 | .wijmo-wijtooltip-arrow-rb .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-rc .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-rt .wijmo-wijtooltip-pointer { | |
|
1349 | border-left-width: 14px; | |
|
1350 | border-right: 0 none; | |
|
1351 | right: -14px; | |
|
1352 | } | |
|
1353 | ||
|
1354 | .wijmo-wijtooltip-arrow-rb .wijmo-wijtooltip-pointer { | |
|
1355 | border-bottom: 0 none; | |
|
1356 | border-top: 18px solid transparent; | |
|
1357 | bottom: 10px; | |
|
1358 | } | |
|
1359 | ||
|
1360 | .wijmo-wijtooltip-arrow-rc .wijmo-wijtooltip-pointer { | |
|
1361 | border-bottom: 10px solid transparent; | |
|
1362 | border-top: 10px solid transparent; | |
|
1363 | bottom: 50%; | |
|
1364 | margin-bottom: -10px; | |
|
1365 | } | |
|
1366 | ||
|
1367 | .wijmo-wijtooltip-arrow-rt .wijmo-wijtooltip-pointer { | |
|
1368 | border-bottom: 18px solid transparent; | |
|
1369 | border-top: 0 none; | |
|
1370 | top: 10px; | |
|
1371 | } | |
|
1372 | ||
|
1373 | .wijmo-wijtooltip-arrow-rb .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-rc .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-rt .wijmo-wijtooltip-pointer-inner { | |
|
1374 | border-left-color: inherit; | |
|
1375 | border-left-style: solid; | |
|
1376 | border-left-width: 10px; | |
|
1377 | left: -14px; | |
|
1378 | *font-size:0;line-height:0; | |
|
1379 | } | |
|
1380 | ||
|
1381 | ||
|
1382 | .wijmo-wijtooltip-arrow-rb .wijmo-wijtooltip-pointer-inner { | |
|
1383 | border-bottom: 0 none; | |
|
1384 | border-top-style: solid; | |
|
1385 | border-top-color: inherit; | |
|
1386 | border-top-width: 12px; | |
|
1387 | bottom: 2px; | |
|
1388 | } | |
|
1389 | ||
|
1390 | .wijmo-wijtooltip-arrow-rc .wijmo-wijtooltip-pointer-inner { | |
|
1391 | border-bottom: 8px solid transparent; | |
|
1392 | border-top: 8px solid transparent; | |
|
1393 | bottom: -8px; | |
|
1394 | } | |
|
1395 | ||
|
1396 | .wijmo-wijtooltip-arrow-rt .wijmo-wijtooltip-pointer-inner { | |
|
1397 | border-bottom-style: solid; | |
|
1398 | border-bottom-color: inherit; | |
|
1399 | border-bottom-width: 12px; | |
|
1400 | border-top: 0 none; | |
|
1401 | top: 2px; | |
|
1402 | } | |
|
1403 | ||
|
1404 | .wijmo-wijtooltip-arrow-br .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-bc .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-bl .wijmo-wijtooltip-pointer { | |
|
1405 | border-bottom: 0 none; | |
|
1406 | border-top-width: 14px; | |
|
1407 | bottom: -14px; | |
|
1408 | ||
|
1409 | } | |
|
1410 | ||
|
1411 | .wijmo-wijtooltip-arrow-br .wijmo-wijtooltip-pointer { | |
|
1412 | border-left: 18px solid transparent; | |
|
1413 | border-right: 0 none; | |
|
1414 | right: 10px; | |
|
1415 | } | |
|
1416 | ||
|
1417 | .wijmo-wijtooltip-arrow-bc .wijmo-wijtooltip-pointer { | |
|
1418 | border-left: 10px solid transparent; | |
|
1419 | border-right: 10px solid transparent; | |
|
1420 | left: 50%; | |
|
1421 | margin-left: -10px; | |
|
1422 | } | |
|
1423 | ||
|
1424 | .wijmo-wijtooltip-arrow-bl .wijmo-wijtooltip-pointer { | |
|
1425 | border-left: 0 none; | |
|
1426 | border-right: 18px solid transparent; | |
|
1427 | left: 10px; | |
|
1428 | } | |
|
1429 | ||
|
1430 | .wijmo-wijtooltip-arrow-br .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-bc .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-bl .wijmo-wijtooltip-pointer-inner { | |
|
1431 | border-top-color: inherit; | |
|
1432 | border-top-style: solid; | |
|
1433 | border-top-width: 10px; | |
|
1434 | top: -14px; | |
|
1435 | *font-size:0;line-height:0; | |
|
1436 | } | |
|
1437 | ||
|
1438 | .wijmo-wijtooltip-arrow-br .wijmo-wijtooltip-pointer-inner { | |
|
1439 | border-left: 12px solid transparent; | |
|
1440 | border-right: 0 none; | |
|
1441 | right: 2px; | |
|
1442 | } | |
|
1443 | ||
|
1444 | .wijmo-wijtooltip-arrow-bc .wijmo-wijtooltip-pointer-inner { | |
|
1445 | border-left: 8px solid transparent; | |
|
1446 | border-right: 8px solid transparent; | |
|
1447 | left: -8px; | |
|
1448 | } | |
|
1449 | ||
|
1450 | .wijmo-wijtooltip-arrow-bl .wijmo-wijtooltip-pointer-inner { | |
|
1451 | border-left: 0 none; | |
|
1452 | border-right: 12px solid transparent; | |
|
1453 | left: 2px; | |
|
1454 | } | |
|
1455 | ||
|
1456 | .wijmo-wijtooltip-arrow-lb .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-lc .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-lt .wijmo-wijtooltip-pointer { | |
|
1457 | border-left: 0 none; | |
|
1458 | border-right-width: 14px; | |
|
1459 | left: -14px; | |
|
1460 | } | |
|
1461 | ||
|
1462 | .wijmo-wijtooltip-arrow-lb .wijmo-wijtooltip-pointer { | |
|
1463 | border-bottom: 0 none; | |
|
1464 | border-top: 18px solid transparent; | |
|
1465 | bottom: 10px; | |
|
1466 | } | |
|
1467 | ||
|
1468 | .wijmo-wijtooltip-arrow-lc .wijmo-wijtooltip-pointer { | |
|
1469 | border-bottom: 10px solid transparent; | |
|
1470 | border-top: 10px solid transparent; | |
|
1471 | bottom: 50%; | |
|
1472 | margin-bottom: -10px; | |
|
1473 | } | |
|
1474 | ||
|
1475 | .wijmo-wijtooltip-arrow-lt .wijmo-wijtooltip-pointer { | |
|
1476 | border-bottom: 18px solid transparent; | |
|
1477 | border-top: 0 none; | |
|
1478 | top: 10px; | |
|
1479 | } | |
|
1480 | ||
|
1481 | .wijmo-wijtooltip-arrow-lb .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-lc .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-lt .wijmo-wijtooltip-pointer-inner { | |
|
1482 | border-right-color: inherit; | |
|
1483 | border-right-style: solid; | |
|
1484 | border-right-width: 10px; | |
|
1485 | right: -14px; | |
|
1486 | *font-size:0;line-height:0; | |
|
1487 | } | |
|
1488 | ||
|
1489 | .wijmo-wijtooltip-arrow-lb .wijmo-wijtooltip-pointer-inner { | |
|
1490 | border-bottom: 0 none; | |
|
1491 | border-top: 12px solid transparent; | |
|
1492 | bottom: 2px; | |
|
1493 | } | |
|
1494 | ||
|
1495 | .wijmo-wijtooltip-arrow-lc .wijmo-wijtooltip-pointer-inner { | |
|
1496 | border-bottom: 8px solid transparent; | |
|
1497 | border-top: 8px solid transparent; | |
|
1498 | bottom: -8px; | |
|
1499 | } | |
|
1500 | ||
|
1501 | .wijmo-wijtooltip-arrow-lt .wijmo-wijtooltip-pointer-inner { | |
|
1502 | border-bottom-style: solid; | |
|
1503 | border-bottom-color: inherit; | |
|
1504 | border-bottom-width: 12px; | |
|
1505 | border-top: 0 none; | |
|
1506 | top: 2px; | |
|
1507 | } | |
|
1508 | .wijmo-wijmenu { | |
|
1509 | width:150px; | |
|
1510 | padding:0.3em; | |
|
1511 | position:relative; | |
|
1512 | } | |
|
1513 | ||
|
1514 | .wijmo-wijmenu .wijmo-wijsuperpanel { | |
|
1515 | border:none; | |
|
1516 | background: inherit; | |
|
1517 | padding:0; | |
|
1518 | } | |
|
1519 | ||
|
1520 | .wijmo-wijmenu-list { | |
|
1521 | position:static; | |
|
1522 | } | |
|
1523 | ||
|
1524 | .wijmo-wijmenu .wijmo-wijmenu-parent .wijmo-wijmenu-child { | |
|
1525 | display:none; | |
|
1526 | width:150px; | |
|
1527 | padding:0.3em; | |
|
1528 | } | |
|
1529 | ||
|
1530 | .wijmo-wijmenu .wijmo-wijmenu-parent { | |
|
1531 | position:relative; | |
|
1532 | } | |
|
1533 | ||
|
1534 | .wijmo-wijmenu .wijmo-wijmenu-child { | |
|
1535 | position:relative; | |
|
1536 | left:150px; | |
|
1537 | top:0; | |
|
1538 | } | |
|
1539 | ||
|
1540 | .wijmo-wijmenu .wijmo-wijmenu-item { | |
|
1541 | width:100%; | |
|
1542 | float:left; | |
|
1543 | clear:both; | |
|
1544 | margin:1px 0; | |
|
1545 | padding:0; | |
|
1546 | } | |
|
1547 | ||
|
1548 | .wijmo-wijmenu .wijmo-wijmenu-list .wijmo-wijmenu-item { | |
|
1549 | background:none; | |
|
1550 | border:none; | |
|
1551 | } | |
|
1552 | ||
|
1553 | .wijmo-wijmenu .wijmo-wijmenu-link { | |
|
1554 | display:block; | |
|
1555 | width:92%; | |
|
1556 | outline:none; | |
|
1557 | text-decoration:none; | |
|
1558 | font-weight:400; | |
|
1559 | border:solid 1px transparent; | |
|
1560 | float:left; | |
|
1561 | line-height:16px; | |
|
1562 | padding:0.3em; | |
|
1563 | } | |
|
1564 | ||
|
1565 | .wijmo-wijmenu-horizontal { | |
|
1566 | width:auto; | |
|
1567 | } | |
|
1568 | ||
|
1569 | .wijmo-wijmenu-horizontal .wijmo-wijmenu-item { | |
|
1570 | width:auto; | |
|
1571 | clear:none; | |
|
1572 | margin-right:3px; | |
|
1573 | } | |
|
1574 | ||
|
1575 | .wijmo-wijmenu-horizontal .wijmo-wijmenu-child .wijmo-wijmenu-item { | |
|
1576 | width:100%; | |
|
1577 | } | |
|
1578 | ||
|
1579 | .wijmo-wijmenu-horizontal .wijmo-wijmenu-child { | |
|
1580 | top:25px; | |
|
1581 | left:0; | |
|
1582 | } | |
|
1583 | ||
|
1584 | .wijmo-wijmenu-horizontal .wijmo-wijmenu-link { | |
|
1585 | width:auto; | |
|
1586 | padding:0.4em 0.3em; | |
|
1587 | } | |
|
1588 | ||
|
1589 | .wijmo-wijmenu-horizontal .wijmo-wijmenu-child .wijmo-wijmenu-link { | |
|
1590 | width:92%; | |
|
1591 | } | |
|
1592 | ||
|
1593 | .wijmo-wijmenu .wijmo-wijmenu-list .ui-widget-header { | |
|
1594 | clear:both; | |
|
1595 | float:left; | |
|
1596 | width:98%; | |
|
1597 | font-size:12px; | |
|
1598 | margin:1px 0; | |
|
1599 | } | |
|
1600 | ||
|
1601 | .wijmo-wijmenu-horizontal .ui-widget-header { | |
|
1602 | clear:none; | |
|
1603 | width:auto; | |
|
1604 | margin:0 3px 0 0; | |
|
1605 | } | |
|
1606 | ||
|
1607 | .wijmo-wijmenu .ui-widget-header h1,.wijmo-wijmenu .ui-widget-header h2,.wijmo-wijmenu .ui-widget-header h3,.wijmo-wijmenu .ui-widget-header h4,.wijmo-wijmenu .ui-widget-header h5,.wijmo-wijmenu .ui-widget-header h6 { | |
|
1608 | float:left; | |
|
1609 | display:block; | |
|
1610 | font-size:1em; | |
|
1611 | margin:0 auto; | |
|
1612 | padding:0.3em 3%; | |
|
1613 | } | |
|
1614 | ||
|
1615 | .wijmo-wijmenu-horizontal .ui-widget-header h1,.wijmo-wijmenu-horizontal .ui-widget-header h2,.wijmo-wijmenu-horizontal .ui-widget-header h3,.wijmo-wijmenu-horizontal .ui-widget-header h4,.wijmo-wijmenu-horizontal .ui-widget-header h5,.wijmo-wijmenu-horizontal .ui-widget-header h6 { | |
|
1616 | padding:0.4em 0.3em; | |
|
1617 | } | |
|
1618 | ||
|
1619 | .wijmo-wijmenu a.ui-state-default:link,.wijmo-wijmenu a.ui-state-default:visited,.wijmo-wijmenu a.ui-state-default:hover,.wijmo-wijmenu a.ui-state-default:active,.wijmo-wijmenu a.ui-state-hover:link,.wijmo-wijmenu a.ui-state-hover:visited,.wijmo-wijmenu a.ui-state-hover:hover,.wijmo-wijmenu a.ui-state-hover:active,.wijmo-wijmenu a.ui-state-active:link,.wijmo-wijmenu a.ui-state-active:visited,.wijmo-wijmenu a.ui-state-active:hover,.wijmo-wijmenu a.ui-state-active:active { | |
|
1620 | font-weight:400; | |
|
1621 | border-style:solid; | |
|
1622 | } | |
|
1623 | ||
|
1624 | .wijmo-wijmenu .wijmo-wijmenu-child .ui-state-hover { | |
|
1625 | font-weight:400; | |
|
1626 | } | |
|
1627 | ||
|
1628 | .wijmo-wijmenu .wijmo-wijmenu-separator { | |
|
1629 | clear:both; | |
|
1630 | float:left; | |
|
1631 | height:1px; | |
|
1632 | text-indent:-9999px; | |
|
1633 | width:98%; | |
|
1634 | margin:1px 0; | |
|
1635 | font-size:0; | |
|
1636 | } | |
|
1637 | ||
|
1638 | .wijmo-wijmenu-horizontal .wijmo-wijmenu-separator { | |
|
1639 | height:auto; | |
|
1640 | clear:none; | |
|
1641 | width:1px; | |
|
1642 | text-indent:-9999px; | |
|
1643 | margin:0 3px 0 0; | |
|
1644 | padding:0.4em 0; | |
|
1645 | } | |
|
1646 | ||
|
1647 | .wijmo-wijmenu-horizontal .wijmo-wijmenu-child .wijmo-wijmenu-separator { | |
|
1648 | clear:both; | |
|
1649 | float:left; | |
|
1650 | height:1px; | |
|
1651 | text-indent:-9999px; | |
|
1652 | width:98%; | |
|
1653 | margin:1px 0; | |
|
1654 | padding:0; | |
|
1655 | } | |
|
1656 | ||
|
1657 | .wijmo-wijmenu .wijmo-wijmenu-group { | |
|
1658 | clear:both; | |
|
1659 | float:left; | |
|
1660 | width:98%; | |
|
1661 | margin:3px 0; | |
|
1662 | padding:0 0.4em; | |
|
1663 | } | |
|
1664 | ||
|
1665 | .wijmo-wijmenu-ipod { | |
|
1666 | width:180px; | |
|
1667 | } | |
|
1668 | ||
|
1669 | .wijmo-wijmenu-container { | |
|
1670 | overflow:hidden; | |
|
1671 | } | |
|
1672 | ||
|
1673 | .wijmo-wijmenu-ipod .wijmo-wijmenu-list { | |
|
1674 | background:inherit; | |
|
1675 | position:absolute; | |
|
1676 | border-width:0; | |
|
1677 | -moz-box-shadow: none; | |
|
1678 | -webkit-box-shadow:none; | |
|
1679 | } | |
|
1680 | ||
|
1681 | .wijmo-wijmenu-breadcrumb { | |
|
1682 | margin:0; | |
|
1683 | padding:0; | |
|
1684 | } | |
|
1685 | ||
|
1686 | .wijmo-wijmenu-footer { | |
|
1687 | margin-top:3px; | |
|
1688 | } | |
|
1689 | ||
|
1690 | .wijmo-wijmenu-footer .ui-icon { | |
|
1691 | margin:3px 0; | |
|
1692 | } | |
|
1693 | ||
|
1694 | .wijmo-wijmenu-header { | |
|
1695 | margin-bottom:3px; | |
|
1696 | } | |
|
1697 | ||
|
1698 | .wijmo-wijmenu-breadcrumb li { | |
|
1699 | float:left; | |
|
1700 | list-style:none; | |
|
1701 | font-size:.9em; | |
|
1702 | margin:0; | |
|
1703 | padding:0 .2em; | |
|
1704 | } | |
|
1705 | ||
|
1706 | .wijmo-wijmenu-breadcrumb li.wijmo-wijmenu-prev-list,.wijmo-wijmenu-breadcrumb li.wijmo-wijmenu-current-crumb { | |
|
1707 | clear:left; | |
|
1708 | float:none; | |
|
1709 | opacity:1; | |
|
1710 | } | |
|
1711 | ||
|
1712 | .wijmo-wijmenu-breadcrumb li.wijmo-wijmenu-current-crumb { | |
|
1713 | padding-top:.2em; | |
|
1714 | } | |
|
1715 | ||
|
1716 | .wijmo-wijmenu-footer a:link,.wijmo-wijmenu-footer a:visited { | |
|
1717 | float:left; | |
|
1718 | width:100%; | |
|
1719 | text-decoration:none; | |
|
1720 | } | |
|
1721 | ||
|
1722 | .wijmo-wijmenu-footer a span { | |
|
1723 | float:left; | |
|
1724 | cursor:pointer; | |
|
1725 | } | |
|
1726 | ||
|
1727 | .wijmo-wijmenu-breadcrumb .wijmo-wijmenu-prev-list a:link,.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-prev-list a:visited,.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-prev-list a:hover,.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-prev-list a:active { | |
|
1728 | background-image:none; | |
|
1729 | text-decoration:none; | |
|
1730 | } | |
|
1731 | ||
|
1732 | .wijmo-wijmenu-breadcrumb .wijmo-wijmenu-prev-list a { | |
|
1733 | float:left; | |
|
1734 | padding-right:.4em; | |
|
1735 | } | |
|
1736 | ||
|
1737 | .wijmo-wijmenu-breadcrumb .wijmo-wijmenu-current-crumb a:link,.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-current-crumb a:visited,.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-current-crumb a:hover,.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-current-crumb a:active { | |
|
1738 | display:block; | |
|
1739 | background-image:none; | |
|
1740 | font-size:1.3em; | |
|
1741 | text-decoration:none; | |
|
1742 | } | |
|
1743 | ||
|
1744 | .wijmo-wijmenu .wijmo-wijmenu-parent .ui-icon,.wijmo-wijmenu-horizontal .wijmo-wijmenu-child .ui-icon,.wijmo-wijmenu-ipod .ui-icon-triangle-1-e { | |
|
1745 | float:right; | |
|
1746 | } | |
|
1747 | ||
|
1748 | .wijmo-wijmenu .wijmo-wijmenu-item .wijmo-wijmenu-text,.wijmo-wijmenu-horizontal .wijmo-wijmenu-parent .ui-icon,.wijmo-wijmenu-breadcrumb a,.wijmo-wijmenu-breadcrumb span,.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-prev-list a .ui-icon { | |
|
1749 | float:left; | |
|
1750 | } | |
|
1751 | ||
|
1752 | .wijmo-wijmenu .wijmo-wijmenu-link .wijmo-wijmenu-icon-left { | |
|
1753 | display:inline-block; | |
|
1754 | float:left; | |
|
1755 | } | |
|
1756 | ||
|
1757 | .wijmo-wijmenu .wijmo-wijmenu-link .wijmo-wijmenu-icon-right { | |
|
1758 | display:inline-block; | |
|
1759 | float:right; | |
|
1760 | } No newline at end of file |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
This diff has been collapsed as it changes many lines, (2295 lines changed) Show them Hide them | |||
@@ -0,0 +1,2295 b'' | |||
|
1 | /* | |
|
2 | * | |
|
3 | * Wijmo Aristo Theme | |
|
4 | * http://wijmo.com/ | |
|
5 | * | |
|
6 | * Copyright(c) ComponentOne, LLC. All rights reserved. | |
|
7 | * | |
|
8 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
9 | * licensing@wijmo.com | |
|
10 | * http://www.wijmo.com/license | |
|
11 | * | |
|
12 | * Based on the Aristo theme concept created by 280 North and Pinvoke (https://github.com/280north/aristo). | |
|
13 | * | |
|
14 | */ | |
|
15 | ||
|
16 | a | |
|
17 | { | |
|
18 | outline: none; | |
|
19 | } | |
|
20 | ||
|
21 | /* Layout helpers | |
|
22 | ----------------------------------*/ | |
|
23 | .ui-helper-hidden | |
|
24 | { | |
|
25 | display: none; | |
|
26 | } | |
|
27 | .ui-helper-hidden-accessible | |
|
28 | { | |
|
29 | position: absolute; | |
|
30 | left: -99999999px; | |
|
31 | } | |
|
32 | .ui-helper-reset | |
|
33 | { | |
|
34 | margin: 0; | |
|
35 | padding: 0; | |
|
36 | border: 0; | |
|
37 | outline: 0; | |
|
38 | line-height: 1.3; | |
|
39 | text-decoration: none; | |
|
40 | font-size: 100%; | |
|
41 | list-style: none; | |
|
42 | } | |
|
43 | .ui-helper-clearfix:after | |
|
44 | { | |
|
45 | content: "."; | |
|
46 | display: block; | |
|
47 | height: 0; | |
|
48 | clear: both; | |
|
49 | visibility: hidden; | |
|
50 | } | |
|
51 | .ui-helper-clearfix | |
|
52 | { | |
|
53 | display: inline-block; | |
|
54 | } | |
|
55 | /* required comment for clearfix to work in Opera \*/ | |
|
56 | * html .ui-helper-clearfix | |
|
57 | { | |
|
58 | height: 1%; | |
|
59 | } | |
|
60 | .ui-helper-clearfix | |
|
61 | { | |
|
62 | display: block; | |
|
63 | } | |
|
64 | /* end clearfix */ | |
|
65 | .ui-helper-zfix | |
|
66 | { | |
|
67 | width: 100%; | |
|
68 | height: 100%; | |
|
69 | top: 0; | |
|
70 | left: 0; | |
|
71 | position: absolute; | |
|
72 | opacity: 0; | |
|
73 | filter: Alpha(Opacity=0); | |
|
74 | } | |
|
75 | ||
|
76 | ||
|
77 | /* Interaction Cues | |
|
78 | ----------------------------------*/ | |
|
79 | .ui-state-disabled | |
|
80 | { | |
|
81 | cursor: default !important; | |
|
82 | } | |
|
83 | ||
|
84 | ||
|
85 | /* Icons | |
|
86 | ----------------------------------*/ | |
|
87 | ||
|
88 | /* states and images */ | |
|
89 | .ui-icon | |
|
90 | { | |
|
91 | display: block; | |
|
92 | text-indent: -99999px; | |
|
93 | overflow: hidden; | |
|
94 | background-repeat: no-repeat; | |
|
95 | -moz-border-radius: 10px; | |
|
96 | -webkit-border-radius: 10px; | |
|
97 | border-radius: 10px; | |
|
98 | } | |
|
99 | ||
|
100 | ||
|
101 | /* Misc visuals | |
|
102 | ----------------------------------*/ | |
|
103 | ||
|
104 | /* Overlays */ | |
|
105 | .ui-widget-overlay | |
|
106 | { | |
|
107 | position: absolute; | |
|
108 | top: 0; | |
|
109 | left: 0; | |
|
110 | width: 100%; | |
|
111 | height: 100%; | |
|
112 | } | |
|
113 | ||
|
114 | ||
|
115 | /* | |
|
116 | * jQuery UI CSS Framework @VERSION | |
|
117 | * | |
|
118 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
119 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
120 | * http://jquery.org/license | |
|
121 | * | |
|
122 | * http://docs.jquery.com/UI/Theming/API | |
|
123 | * | |
|
124 | * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Arial,sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=3px&bgColorHeader=c4c4c4&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=100&borderColorHeader=a8a8a8&fcHeader=4f4f4f&iconColorHeader=898989&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=100&borderColorContent=a8a8a8&fcContent=4f4f4f&iconColorContent=616161&bgColorDefault=c4c4c4&bgTextureDefault=04_highlight_hard.png&bgImgOpacityDefault=80&borderColorDefault=a8a8a8&fcDefault=4f4f4f&iconColorDefault=ffffff&bgColorHover=c4c4c4&bgTextureHover=04_highlight_hard.png&bgImgOpacityHover=80&borderColorHover=a8a8a8&fcHover=4f4f4f&iconColorHover=ffffff&bgColorActive=c4c4c4&bgTextureActive=06_inset_hard.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=4f4f4f&iconColorActive=ffffff&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=05_inset_soft.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=4f4f4f&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px | |
|
125 | */ | |
|
126 | ||
|
127 | ||
|
128 | /* Component containers | |
|
129 | ----------------------------------*/ | |
|
130 | .ui-widget | |
|
131 | { | |
|
132 | font-family: Arial,sans-serif; | |
|
133 | font-size: 1.1em; | |
|
134 | } | |
|
135 | .ui-widget .ui-widget | |
|
136 | { | |
|
137 | font-size: 1em; | |
|
138 | } | |
|
139 | .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button | |
|
140 | { | |
|
141 | font-family: Arial,sans-serif; | |
|
142 | font-size: 1em; | |
|
143 | } | |
|
144 | .ui-widget-content | |
|
145 | { | |
|
146 | border: 1px solid #a8a8a8; | |
|
147 | background: #ffffff; | |
|
148 | color: #4f4f4f; | |
|
149 | } | |
|
150 | .ui-widget-content a | |
|
151 | { | |
|
152 | color: #4f4f4f; | |
|
153 | } | |
|
154 | .ui-widget-header | |
|
155 | { | |
|
156 | border: 1px solid #a8a8a8; | |
|
157 | background: #c4c4c4 url(images/ui-bg_highlight-soft_100_c4c4c4_1x100.png) 50% 50% repeat-x; | |
|
158 | background: #c4c4c4 linear-gradient(top, rgba(255,255,255,0.8), rgba(255,255,255,0)); | |
|
159 | background: #c4c4c4 -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.8)), to(rgba(255,255,255,0))); | |
|
160 | background: #c4c4c4 -moz-linear-gradient(top, rgba(255,255,255,0.8), rgba(255,255,255,0)); /* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#DDFFFFFF, endColorstr=#00FFFFFF); -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#DDFFFFFF, endColorstr=#00FFFFFF)"; */ | |
|
161 | color: #333; | |
|
162 | font-weight: bold; | |
|
163 | text-shadow: 0px 1px 0px rgba(255,255,255,0.7); | |
|
164 | } | |
|
165 | .ui-widget-header a | |
|
166 | { | |
|
167 | color: #4f4f4f; | |
|
168 | } | |
|
169 | ||
|
170 | /* Interaction states | |
|
171 | ----------------------------------*/ | |
|
172 | .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default | |
|
173 | { | |
|
174 | border: 1px solid #a8a8a8; | |
|
175 | background: #c4c4c4 url(images/ui-bg_highlight-hard_80_c4c4c4_1x100.png) 50% 50% repeat-x; | |
|
176 | background: #c4c4c4 linear-gradient(top, rgba(255,255,255,0.8), rgba(255,255,255,0)); | |
|
177 | background: #c4c4c4 -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.8)), to(rgba(255,255,255,0))); | |
|
178 | background: #c4c4c4 -moz-linear-gradient(top, rgba(255,255,255,0.8), rgba(255,255,255,0)); /* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#DDFFFFFF, endColorstr=#00FFFFFF); -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#DDFFFFFF, endColorstr=#00FFFFFF)"; */ | |
|
179 | font-weight: bold; | |
|
180 | color: #4f4f4f; | |
|
181 | text-shadow: 0px 1px 0px rgba(255,255,255,0.7); | |
|
182 | } | |
|
183 | .ui-state-default | |
|
184 | { | |
|
185 | -moz-box-shadow: inset 0px 1px 0px #fff; | |
|
186 | -webkit-box-shadow: inset 0px 1px 0px #fff; | |
|
187 | box-shadow: inset 0px 1px 0px #fff; | |
|
188 | } | |
|
189 | .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited | |
|
190 | { | |
|
191 | color: #4f4f4f; | |
|
192 | text-decoration: none; | |
|
193 | text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); | |
|
194 | } | |
|
195 | .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus | |
|
196 | { | |
|
197 | border: 1px solid #7096ab; | |
|
198 | background: #85b2cb url(images/ui-bg_highlight-hard_80_85b2cb_1x100.png) 50% 50% repeat-x; | |
|
199 | background: #85b2cb linear-gradient(top, rgba(255,255,255,0.6), rgba(255,255,255,0)); | |
|
200 | background: #85b2cb -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.6)), to(rgba(255,255,255,0))); | |
|
201 | background: #85b2cb -moz-linear-gradient(top, rgba(255,255,255,0.6), rgba(255,255,255,0)); /* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#CCFFFFFF, endColorstr=#00FFFFFF); -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#CCFFFFFF, endColorstr=#00FFFFFF)"; */ | |
|
202 | font-weight: bold; | |
|
203 | color: #313131; | |
|
204 | -moz-box-shadow: 0 0 5px #85b2cb; | |
|
205 | -webkit-box-shadow: 0px 0px 8px #85b2cb; | |
|
206 | box-shadow: 0px 0px 8px #85b2cb; | |
|
207 | } | |
|
208 | .ui-state-hover | |
|
209 | { | |
|
210 | -moz-box-shadow: 0px 0px 8px #85b2cb, inset 0px 1px 0px #fff; | |
|
211 | -webkit-box-shadow: 0px 0px 8px #85b2cb, inset 0px 1px 0px #fff; | |
|
212 | box-shadow: 0px 0px 8px #85b2cb, inset 0px 1px 0px #fff; | |
|
213 | } | |
|
214 | .ui-state-hover a, .ui-state-hover a:hover | |
|
215 | { | |
|
216 | color: #2f556a; | |
|
217 | text-decoration: none; | |
|
218 | } | |
|
219 | .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active | |
|
220 | { | |
|
221 | border: 1px solid #7096ab; | |
|
222 | background: #85b2cb url(images/ui-bg_inset-hard_65_85b2cb_1x100.png) 50% 50% repeat-x; | |
|
223 | background: #85b2cb linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,0.4)); | |
|
224 | background: #85b2cb -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0)), to(rgba(255,255,255,0.4))); | |
|
225 | background: #85b2cb -moz-linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,0.4)); /* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF, endColorstr=#CCFFFFFF); -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF, endColorstr=#CCFFFFFF)"; */ | |
|
226 | font-weight: bold; | |
|
227 | color: #1C4257; | |
|
228 | text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7); | |
|
229 | } | |
|
230 | .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited | |
|
231 | { | |
|
232 | color: #2f556a; | |
|
233 | text-decoration: none; | |
|
234 | } | |
|
235 | .ui-widget :active | |
|
236 | { | |
|
237 | outline: none; | |
|
238 | } | |
|
239 | .ui-state-active | |
|
240 | { | |
|
241 | -moz-box-shadow: inset 0px -1px 0px #fff; | |
|
242 | -webkit-box-shadow: inset 0px 1px 0px #fff; | |
|
243 | box-shadow: inset 0px 1px 0px #fff; | |
|
244 | } | |
|
245 | /* Interaction Cues | |
|
246 | ----------------------------------*/ | |
|
247 | .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight | |
|
248 | { | |
|
249 | border: 1px solid #666666; | |
|
250 | background: #aaaaaa; | |
|
251 | background: #aaaaaa linear-gradient(top, rgba(0,0,0,0.25), rgba(0,0,0,0)); | |
|
252 | background: #aaaaaa -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0.25)), to(rgba(0,0,0,0))); | |
|
253 | background: #aaaaaa -moz-linear-gradient(top, rgba(0,0,0,0.25), rgba(0,0,0,0)); /* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#33000000, endColorstr=#00000000); -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#33000000, endColorstr=#00000000)"; */ | |
|
254 | color: #ffffff; | |
|
255 | text-shadow: 1px 1px 1px #333333; | |
|
256 | } | |
|
257 | ||
|
258 | .ui-state-highlight a, .ui-widget-content .ui-state-highlight a, .ui-widget-header .ui-state-highlight a | |
|
259 | { | |
|
260 | color: #363636; | |
|
261 | } | |
|
262 | .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error | |
|
263 | { | |
|
264 | border: 1px solid #cd0a0a; | |
|
265 | background: #fef1ec url(images/ui-bg_inset-soft_95_fef1ec_1x100.png) 50% bottom repeat-x; | |
|
266 | background: #fef1ec linear-gradient(top, rgba(255,255,255,0.8), rgba(255,255,255,0)); | |
|
267 | background: #fef1ec -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.8)), to(rgba(255,255,255,0))); | |
|
268 | background: #fef1ec -moz-linear-gradient(top, rgba(255,255,255,0.8), rgba(255,255,255,0)); /* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#DDFFFFFF, endColorstr=#00FFFFFF); -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#DDFFFFFF, endColorstr=#00FFFFFF)";*/ | |
|
269 | color: #cd0a0a; | |
|
270 | } | |
|
271 | .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a | |
|
272 | { | |
|
273 | color: #cd0a0a; | |
|
274 | } | |
|
275 | .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text | |
|
276 | { | |
|
277 | color: #cd0a0a; | |
|
278 | } | |
|
279 | .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary | |
|
280 | { | |
|
281 | font-weight: bold; | |
|
282 | } | |
|
283 | .ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary | |
|
284 | { | |
|
285 | opacity: .7; | |
|
286 | filter: Alpha(Opacity=70); | |
|
287 | font-weight: normal; | |
|
288 | } | |
|
289 | .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled | |
|
290 | { | |
|
291 | opacity: .35; | |
|
292 | filter: Alpha(Opacity=35); | |
|
293 | background-image: none; | |
|
294 | } | |
|
295 | ||
|
296 | /* Icons | |
|
297 | ----------------------------------*/ | |
|
298 | ||
|
299 | /* states and images */ | |
|
300 | .ui-icon | |
|
301 | { | |
|
302 | width: 16px; | |
|
303 | height: 16px; | |
|
304 | background-image: url(images/ui-icons_616161_256x240.png); | |
|
305 | } | |
|
306 | .ui-widget-content .ui-icon | |
|
307 | { | |
|
308 | background-image: url(images/ui-icons_616161_256x240.png); | |
|
309 | } | |
|
310 | .ui-widget-header .ui-icon | |
|
311 | { | |
|
312 | background-image: url(images/ui-icons_898989_256x240.png); | |
|
313 | } | |
|
314 | .ui-state-default .ui-icon | |
|
315 | { | |
|
316 | background-image: url(images/ui-icons_38667f_256x240.png); | |
|
317 | } | |
|
318 | .ui-state-hover .ui-icon, .ui-state-focus .ui-icon | |
|
319 | { | |
|
320 | background-image: url(images/ui-icons_38667f_256x240.png); | |
|
321 | } | |
|
322 | .ui-state-active .ui-icon | |
|
323 | { | |
|
324 | background-image: url(images/ui-icons_38667f_256x240.png); | |
|
325 | } | |
|
326 | .ui-state-highlight .ui-icon | |
|
327 | { | |
|
328 | background-image: url(images/ui-icons_2e83ff_256x240.png); | |
|
329 | } | |
|
330 | .ui-state-error .ui-icon, .ui-state-error-text .ui-icon | |
|
331 | { | |
|
332 | background-image: url(images/ui-icons_cd0a0a_256x240.png); | |
|
333 | } | |
|
334 | ||
|
335 | /* positioning */ | |
|
336 | .ui-icon-carat-1-n | |
|
337 | { | |
|
338 | background-position: 0 0; | |
|
339 | } | |
|
340 | .ui-icon-carat-1-ne | |
|
341 | { | |
|
342 | background-position: -16px 0; | |
|
343 | } | |
|
344 | .ui-icon-carat-1-e | |
|
345 | { | |
|
346 | background-position: -32px 0; | |
|
347 | } | |
|
348 | .ui-icon-carat-1-se | |
|
349 | { | |
|
350 | background-position: -48px 0; | |
|
351 | } | |
|
352 | .ui-icon-carat-1-s | |
|
353 | { | |
|
354 | background-position: -64px 0; | |
|
355 | } | |
|
356 | .ui-icon-carat-1-sw | |
|
357 | { | |
|
358 | background-position: -80px 0; | |
|
359 | } | |
|
360 | .ui-icon-carat-1-w | |
|
361 | { | |
|
362 | background-position: -96px 0; | |
|
363 | } | |
|
364 | .ui-icon-carat-1-nw | |
|
365 | { | |
|
366 | background-position: -112px 0; | |
|
367 | } | |
|
368 | .ui-icon-carat-2-n-s | |
|
369 | { | |
|
370 | background-position: -128px 0; | |
|
371 | } | |
|
372 | .ui-icon-carat-2-e-w | |
|
373 | { | |
|
374 | background-position: -144px 0; | |
|
375 | } | |
|
376 | .ui-icon-triangle-1-n | |
|
377 | { | |
|
378 | background-position: 0 -16px; | |
|
379 | } | |
|
380 | .ui-icon-triangle-1-ne | |
|
381 | { | |
|
382 | background-position: -16px -16px; | |
|
383 | } | |
|
384 | .ui-icon-triangle-1-e | |
|
385 | { | |
|
386 | background-position: -32px -16px; | |
|
387 | } | |
|
388 | .ui-icon-triangle-1-se | |
|
389 | { | |
|
390 | background-position: -48px -16px; | |
|
391 | } | |
|
392 | .ui-icon-triangle-1-s | |
|
393 | { | |
|
394 | background-position: -64px -16px; | |
|
395 | } | |
|
396 | .ui-icon-triangle-1-sw | |
|
397 | { | |
|
398 | background-position: -80px -16px; | |
|
399 | } | |
|
400 | .ui-icon-triangle-1-w | |
|
401 | { | |
|
402 | background-position: -96px -16px; | |
|
403 | } | |
|
404 | .ui-icon-triangle-1-nw | |
|
405 | { | |
|
406 | background-position: -112px -16px; | |
|
407 | } | |
|
408 | .ui-icon-triangle-2-n-s | |
|
409 | { | |
|
410 | background-position: -128px -16px; | |
|
411 | } | |
|
412 | .ui-icon-triangle-2-e-w | |
|
413 | { | |
|
414 | background-position: -144px -16px; | |
|
415 | } | |
|
416 | .ui-icon-arrow-1-n | |
|
417 | { | |
|
418 | background-position: 0 -32px; | |
|
419 | } | |
|
420 | .ui-icon-arrow-1-ne | |
|
421 | { | |
|
422 | background-position: -16px -32px; | |
|
423 | } | |
|
424 | .ui-icon-arrow-1-e | |
|
425 | { | |
|
426 | background-position: -32px -32px; | |
|
427 | } | |
|
428 | .ui-icon-arrow-1-se | |
|
429 | { | |
|
430 | background-position: -48px -32px; | |
|
431 | } | |
|
432 | .ui-icon-arrow-1-s | |
|
433 | { | |
|
434 | background-position: -64px -32px; | |
|
435 | } | |
|
436 | .ui-icon-arrow-1-sw | |
|
437 | { | |
|
438 | background-position: -80px -32px; | |
|
439 | } | |
|
440 | .ui-icon-arrow-1-w | |
|
441 | { | |
|
442 | background-position: -96px -32px; | |
|
443 | } | |
|
444 | .ui-icon-arrow-1-nw | |
|
445 | { | |
|
446 | background-position: -112px -32px; | |
|
447 | } | |
|
448 | .ui-icon-arrow-2-n-s | |
|
449 | { | |
|
450 | background-position: -128px -32px; | |
|
451 | } | |
|
452 | .ui-icon-arrow-2-ne-sw | |
|
453 | { | |
|
454 | background-position: -144px -32px; | |
|
455 | } | |
|
456 | .ui-icon-arrow-2-e-w | |
|
457 | { | |
|
458 | background-position: -160px -32px; | |
|
459 | } | |
|
460 | .ui-icon-arrow-2-se-nw | |
|
461 | { | |
|
462 | background-position: -176px -32px; | |
|
463 | } | |
|
464 | .ui-icon-arrowstop-1-n | |
|
465 | { | |
|
466 | background-position: -192px -32px; | |
|
467 | } | |
|
468 | .ui-icon-arrowstop-1-e | |
|
469 | { | |
|
470 | background-position: -208px -32px; | |
|
471 | } | |
|
472 | .ui-icon-arrowstop-1-s | |
|
473 | { | |
|
474 | background-position: -224px -32px; | |
|
475 | } | |
|
476 | .ui-icon-arrowstop-1-w | |
|
477 | { | |
|
478 | background-position: -240px -32px; | |
|
479 | } | |
|
480 | .ui-icon-arrowthick-1-n | |
|
481 | { | |
|
482 | background-position: 0 -48px; | |
|
483 | } | |
|
484 | .ui-icon-arrowthick-1-ne | |
|
485 | { | |
|
486 | background-position: -16px -48px; | |
|
487 | } | |
|
488 | .ui-icon-arrowthick-1-e | |
|
489 | { | |
|
490 | background-position: -32px -48px; | |
|
491 | } | |
|
492 | .ui-icon-arrowthick-1-se | |
|
493 | { | |
|
494 | background-position: -48px -48px; | |
|
495 | } | |
|
496 | .ui-icon-arrowthick-1-s | |
|
497 | { | |
|
498 | background-position: -64px -48px; | |
|
499 | } | |
|
500 | .ui-icon-arrowthick-1-sw | |
|
501 | { | |
|
502 | background-position: -80px -48px; | |
|
503 | } | |
|
504 | .ui-icon-arrowthick-1-w | |
|
505 | { | |
|
506 | background-position: -96px -48px; | |
|
507 | } | |
|
508 | .ui-icon-arrowthick-1-nw | |
|
509 | { | |
|
510 | background-position: -112px -48px; | |
|
511 | } | |
|
512 | .ui-icon-arrowthick-2-n-s | |
|
513 | { | |
|
514 | background-position: -128px -48px; | |
|
515 | } | |
|
516 | .ui-icon-arrowthick-2-ne-sw | |
|
517 | { | |
|
518 | background-position: -144px -48px; | |
|
519 | } | |
|
520 | .ui-icon-arrowthick-2-e-w | |
|
521 | { | |
|
522 | background-position: -160px -48px; | |
|
523 | } | |
|
524 | .ui-icon-arrowthick-2-se-nw | |
|
525 | { | |
|
526 | background-position: -176px -48px; | |
|
527 | } | |
|
528 | .ui-icon-arrowthickstop-1-n | |
|
529 | { | |
|
530 | background-position: -192px -48px; | |
|
531 | } | |
|
532 | .ui-icon-arrowthickstop-1-e | |
|
533 | { | |
|
534 | background-position: -208px -48px; | |
|
535 | } | |
|
536 | .ui-icon-arrowthickstop-1-s | |
|
537 | { | |
|
538 | background-position: -224px -48px; | |
|
539 | } | |
|
540 | .ui-icon-arrowthickstop-1-w | |
|
541 | { | |
|
542 | background-position: -240px -48px; | |
|
543 | } | |
|
544 | .ui-icon-arrowreturnthick-1-w | |
|
545 | { | |
|
546 | background-position: 0 -64px; | |
|
547 | } | |
|
548 | .ui-icon-arrowreturnthick-1-n | |
|
549 | { | |
|
550 | background-position: -16px -64px; | |
|
551 | } | |
|
552 | .ui-icon-arrowreturnthick-1-e | |
|
553 | { | |
|
554 | background-position: -32px -64px; | |
|
555 | } | |
|
556 | .ui-icon-arrowreturnthick-1-s | |
|
557 | { | |
|
558 | background-position: -48px -64px; | |
|
559 | } | |
|
560 | .ui-icon-arrowreturn-1-w | |
|
561 | { | |
|
562 | background-position: -64px -64px; | |
|
563 | } | |
|
564 | .ui-icon-arrowreturn-1-n | |
|
565 | { | |
|
566 | background-position: -80px -64px; | |
|
567 | } | |
|
568 | .ui-icon-arrowreturn-1-e | |
|
569 | { | |
|
570 | background-position: -96px -64px; | |
|
571 | } | |
|
572 | .ui-icon-arrowreturn-1-s | |
|
573 | { | |
|
574 | background-position: -112px -64px; | |
|
575 | } | |
|
576 | .ui-icon-arrowrefresh-1-w | |
|
577 | { | |
|
578 | background-position: -128px -64px; | |
|
579 | } | |
|
580 | .ui-icon-arrowrefresh-1-n | |
|
581 | { | |
|
582 | background-position: -144px -64px; | |
|
583 | } | |
|
584 | .ui-icon-arrowrefresh-1-e | |
|
585 | { | |
|
586 | background-position: -160px -64px; | |
|
587 | } | |
|
588 | .ui-icon-arrowrefresh-1-s | |
|
589 | { | |
|
590 | background-position: -176px -64px; | |
|
591 | } | |
|
592 | .ui-icon-arrow-4 | |
|
593 | { | |
|
594 | background-position: 0 -80px; | |
|
595 | } | |
|
596 | .ui-icon-arrow-4-diag | |
|
597 | { | |
|
598 | background-position: -16px -80px; | |
|
599 | } | |
|
600 | .ui-icon-extlink | |
|
601 | { | |
|
602 | background-position: -32px -80px; | |
|
603 | } | |
|
604 | .ui-icon-newwin | |
|
605 | { | |
|
606 | background-position: -48px -80px; | |
|
607 | } | |
|
608 | .ui-icon-refresh | |
|
609 | { | |
|
610 | background-position: -64px -80px; | |
|
611 | } | |
|
612 | .ui-icon-shuffle | |
|
613 | { | |
|
614 | background-position: -80px -80px; | |
|
615 | } | |
|
616 | .ui-icon-transfer-e-w | |
|
617 | { | |
|
618 | background-position: -96px -80px; | |
|
619 | } | |
|
620 | .ui-icon-transferthick-e-w | |
|
621 | { | |
|
622 | background-position: -112px -80px; | |
|
623 | } | |
|
624 | .ui-icon-folder-collapsed | |
|
625 | { | |
|
626 | background-position: 0 -96px; | |
|
627 | } | |
|
628 | .ui-icon-folder-open | |
|
629 | { | |
|
630 | background-position: -16px -96px; | |
|
631 | } | |
|
632 | .ui-icon-document | |
|
633 | { | |
|
634 | background-position: -32px -96px; | |
|
635 | } | |
|
636 | .ui-icon-document-b | |
|
637 | { | |
|
638 | background-position: -48px -96px; | |
|
639 | } | |
|
640 | .ui-icon-note | |
|
641 | { | |
|
642 | background-position: -64px -96px; | |
|
643 | } | |
|
644 | .ui-icon-mail-closed | |
|
645 | { | |
|
646 | background-position: -80px -96px; | |
|
647 | } | |
|
648 | .ui-icon-mail-open | |
|
649 | { | |
|
650 | background-position: -96px -96px; | |
|
651 | } | |
|
652 | .ui-icon-suitcase | |
|
653 | { | |
|
654 | background-position: -112px -96px; | |
|
655 | } | |
|
656 | .ui-icon-comment | |
|
657 | { | |
|
658 | background-position: -128px -96px; | |
|
659 | } | |
|
660 | .ui-icon-person | |
|
661 | { | |
|
662 | background-position: -144px -96px; | |
|
663 | } | |
|
664 | .ui-icon-print | |
|
665 | { | |
|
666 | background-position: -160px -96px; | |
|
667 | } | |
|
668 | .ui-icon-trash | |
|
669 | { | |
|
670 | background-position: -176px -96px; | |
|
671 | } | |
|
672 | .ui-icon-locked | |
|
673 | { | |
|
674 | background-position: -192px -96px; | |
|
675 | } | |
|
676 | .ui-icon-unlocked | |
|
677 | { | |
|
678 | background-position: -208px -96px; | |
|
679 | } | |
|
680 | .ui-icon-bookmark | |
|
681 | { | |
|
682 | background-position: -224px -96px; | |
|
683 | } | |
|
684 | .ui-icon-tag | |
|
685 | { | |
|
686 | background-position: -240px -96px; | |
|
687 | } | |
|
688 | .ui-icon-home | |
|
689 | { | |
|
690 | background-position: 0 -112px; | |
|
691 | } | |
|
692 | .ui-icon-flag | |
|
693 | { | |
|
694 | background-position: -16px -112px; | |
|
695 | } | |
|
696 | .ui-icon-calendar | |
|
697 | { | |
|
698 | background-position: -32px -112px; | |
|
699 | } | |
|
700 | .ui-icon-cart | |
|
701 | { | |
|
702 | background-position: -48px -112px; | |
|
703 | } | |
|
704 | .ui-icon-pencil | |
|
705 | { | |
|
706 | background-position: -64px -112px; | |
|
707 | } | |
|
708 | .ui-icon-clock | |
|
709 | { | |
|
710 | background-position: -80px -112px; | |
|
711 | } | |
|
712 | .ui-icon-disk | |
|
713 | { | |
|
714 | background-position: -96px -112px; | |
|
715 | } | |
|
716 | .ui-icon-calculator | |
|
717 | { | |
|
718 | background-position: -112px -112px; | |
|
719 | } | |
|
720 | .ui-icon-zoomin | |
|
721 | { | |
|
722 | background-position: -128px -112px; | |
|
723 | } | |
|
724 | .ui-icon-zoomout | |
|
725 | { | |
|
726 | background-position: -144px -112px; | |
|
727 | } | |
|
728 | .ui-icon-search | |
|
729 | { | |
|
730 | background-position: -160px -112px; | |
|
731 | } | |
|
732 | .ui-icon-wrench | |
|
733 | { | |
|
734 | background-position: -176px -112px; | |
|
735 | } | |
|
736 | .ui-icon-gear | |
|
737 | { | |
|
738 | background-position: -192px -112px; | |
|
739 | } | |
|
740 | .ui-icon-heart | |
|
741 | { | |
|
742 | background-position: -208px -112px; | |
|
743 | } | |
|
744 | .ui-icon-star | |
|
745 | { | |
|
746 | background-position: -224px -112px; | |
|
747 | } | |
|
748 | .ui-icon-link | |
|
749 | { | |
|
750 | background-position: -240px -112px; | |
|
751 | } | |
|
752 | .ui-icon-cancel | |
|
753 | { | |
|
754 | background-position: 0 -128px; | |
|
755 | } | |
|
756 | .ui-icon-plus | |
|
757 | { | |
|
758 | background-position: -16px -128px; | |
|
759 | } | |
|
760 | .ui-icon-plusthick | |
|
761 | { | |
|
762 | background-position: -32px -128px; | |
|
763 | } | |
|
764 | .ui-icon-minus | |
|
765 | { | |
|
766 | background-position: -48px -128px; | |
|
767 | } | |
|
768 | .ui-icon-minusthick | |
|
769 | { | |
|
770 | background-position: -64px -128px; | |
|
771 | } | |
|
772 | .ui-icon-close | |
|
773 | { | |
|
774 | background-position: -80px -128px; | |
|
775 | } | |
|
776 | .ui-icon-closethick | |
|
777 | { | |
|
778 | background-position: -96px -128px; | |
|
779 | } | |
|
780 | .ui-icon-key | |
|
781 | { | |
|
782 | background-position: -112px -128px; | |
|
783 | } | |
|
784 | .ui-icon-lightbulb | |
|
785 | { | |
|
786 | background-position: -128px -128px; | |
|
787 | } | |
|
788 | .ui-icon-scissors | |
|
789 | { | |
|
790 | background-position: -144px -128px; | |
|
791 | } | |
|
792 | .ui-icon-clipboard | |
|
793 | { | |
|
794 | background-position: -160px -128px; | |
|
795 | } | |
|
796 | .ui-icon-copy | |
|
797 | { | |
|
798 | background-position: -176px -128px; | |
|
799 | } | |
|
800 | .ui-icon-contact | |
|
801 | { | |
|
802 | background-position: -192px -128px; | |
|
803 | } | |
|
804 | .ui-icon-image | |
|
805 | { | |
|
806 | background-position: -208px -128px; | |
|
807 | } | |
|
808 | .ui-icon-video | |
|
809 | { | |
|
810 | background-position: -224px -128px; | |
|
811 | } | |
|
812 | .ui-icon-script | |
|
813 | { | |
|
814 | background-position: -240px -128px; | |
|
815 | } | |
|
816 | .ui-icon-alert | |
|
817 | { | |
|
818 | background-position: 0 -144px; | |
|
819 | } | |
|
820 | .ui-icon-info | |
|
821 | { | |
|
822 | background-position: -16px -144px; | |
|
823 | } | |
|
824 | .ui-icon-notice | |
|
825 | { | |
|
826 | background-position: -32px -144px; | |
|
827 | } | |
|
828 | .ui-icon-help | |
|
829 | { | |
|
830 | background-position: -48px -144px; | |
|
831 | } | |
|
832 | .ui-icon-check | |
|
833 | { | |
|
834 | background-position: -64px -144px; | |
|
835 | } | |
|
836 | .ui-icon-bullet | |
|
837 | { | |
|
838 | background-position: -80px -144px; | |
|
839 | } | |
|
840 | .ui-icon-radio-off | |
|
841 | { | |
|
842 | background-position: -96px -144px; | |
|
843 | } | |
|
844 | .ui-icon-radio-on | |
|
845 | { | |
|
846 | background-position: -112px -144px; | |
|
847 | } | |
|
848 | .ui-icon-pin-w | |
|
849 | { | |
|
850 | background-position: -128px -144px; | |
|
851 | } | |
|
852 | .ui-icon-pin-s | |
|
853 | { | |
|
854 | background-position: -144px -144px; | |
|
855 | } | |
|
856 | .ui-icon-play | |
|
857 | { | |
|
858 | background-position: 0 -160px; | |
|
859 | } | |
|
860 | .ui-icon-pause | |
|
861 | { | |
|
862 | background-position: -16px -160px; | |
|
863 | } | |
|
864 | .ui-icon-seek-next | |
|
865 | { | |
|
866 | background-position: -32px -160px; | |
|
867 | } | |
|
868 | .ui-icon-seek-prev | |
|
869 | { | |
|
870 | background-position: -48px -160px; | |
|
871 | } | |
|
872 | .ui-icon-seek-end | |
|
873 | { | |
|
874 | background-position: -64px -160px; | |
|
875 | } | |
|
876 | .ui-icon-seek-start | |
|
877 | { | |
|
878 | background-position: -80px -160px; | |
|
879 | } | |
|
880 | /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ | |
|
881 | .ui-icon-seek-first | |
|
882 | { | |
|
883 | background-position: -80px -160px; | |
|
884 | } | |
|
885 | .ui-icon-stop | |
|
886 | { | |
|
887 | background-position: -96px -160px; | |
|
888 | } | |
|
889 | .ui-icon-eject | |
|
890 | { | |
|
891 | background-position: -112px -160px; | |
|
892 | } | |
|
893 | .ui-icon-volume-off | |
|
894 | { | |
|
895 | background-position: -128px -160px; | |
|
896 | } | |
|
897 | .ui-icon-volume-on | |
|
898 | { | |
|
899 | background-position: -144px -160px; | |
|
900 | } | |
|
901 | .ui-icon-power | |
|
902 | { | |
|
903 | background-position: 0 -176px; | |
|
904 | } | |
|
905 | .ui-icon-signal-diag | |
|
906 | { | |
|
907 | background-position: -16px -176px; | |
|
908 | } | |
|
909 | .ui-icon-signal | |
|
910 | { | |
|
911 | background-position: -32px -176px; | |
|
912 | } | |
|
913 | .ui-icon-battery-0 | |
|
914 | { | |
|
915 | background-position: -48px -176px; | |
|
916 | } | |
|
917 | .ui-icon-battery-1 | |
|
918 | { | |
|
919 | background-position: -64px -176px; | |
|
920 | } | |
|
921 | .ui-icon-battery-2 | |
|
922 | { | |
|
923 | background-position: -80px -176px; | |
|
924 | } | |
|
925 | .ui-icon-battery-3 | |
|
926 | { | |
|
927 | background-position: -96px -176px; | |
|
928 | } | |
|
929 | .ui-icon-circle-plus | |
|
930 | { | |
|
931 | background-position: 0 -192px; | |
|
932 | } | |
|
933 | .ui-icon-circle-minus | |
|
934 | { | |
|
935 | background-position: -16px -192px; | |
|
936 | } | |
|
937 | .ui-icon-circle-close | |
|
938 | { | |
|
939 | background-position: -32px -192px; | |
|
940 | } | |
|
941 | .ui-icon-circle-triangle-e | |
|
942 | { | |
|
943 | background-position: -48px -192px; | |
|
944 | } | |
|
945 | .ui-icon-circle-triangle-s | |
|
946 | { | |
|
947 | background-position: -64px -192px; | |
|
948 | } | |
|
949 | .ui-icon-circle-triangle-w | |
|
950 | { | |
|
951 | background-position: -80px -192px; | |
|
952 | } | |
|
953 | .ui-icon-circle-triangle-n | |
|
954 | { | |
|
955 | background-position: -96px -192px; | |
|
956 | } | |
|
957 | .ui-icon-circle-arrow-e | |
|
958 | { | |
|
959 | background-position: -112px -192px; | |
|
960 | } | |
|
961 | .ui-icon-circle-arrow-s | |
|
962 | { | |
|
963 | background-position: -128px -192px; | |
|
964 | } | |
|
965 | .ui-icon-circle-arrow-w | |
|
966 | { | |
|
967 | background-position: -144px -192px; | |
|
968 | } | |
|
969 | .ui-icon-circle-arrow-n | |
|
970 | { | |
|
971 | background-position: -160px -192px; | |
|
972 | } | |
|
973 | .ui-icon-circle-zoomin | |
|
974 | { | |
|
975 | background-position: -176px -192px; | |
|
976 | } | |
|
977 | .ui-icon-circle-zoomout | |
|
978 | { | |
|
979 | background-position: -192px -192px; | |
|
980 | } | |
|
981 | .ui-icon-circle-check | |
|
982 | { | |
|
983 | background-position: -208px -192px; | |
|
984 | } | |
|
985 | .ui-icon-circlesmall-plus | |
|
986 | { | |
|
987 | background-position: 0 -208px; | |
|
988 | } | |
|
989 | .ui-icon-circlesmall-minus | |
|
990 | { | |
|
991 | background-position: -16px -208px; | |
|
992 | } | |
|
993 | .ui-icon-circlesmall-close | |
|
994 | { | |
|
995 | background-position: -32px -208px; | |
|
996 | } | |
|
997 | .ui-icon-squaresmall-plus | |
|
998 | { | |
|
999 | background-position: -48px -208px; | |
|
1000 | } | |
|
1001 | .ui-icon-squaresmall-minus | |
|
1002 | { | |
|
1003 | background-position: -64px -208px; | |
|
1004 | } | |
|
1005 | .ui-icon-squaresmall-close | |
|
1006 | { | |
|
1007 | background-position: -80px -208px; | |
|
1008 | } | |
|
1009 | .ui-icon-grip-dotted-vertical | |
|
1010 | { | |
|
1011 | background-position: 0 -224px; | |
|
1012 | } | |
|
1013 | .ui-icon-grip-dotted-horizontal | |
|
1014 | { | |
|
1015 | background-position: -16px -224px; | |
|
1016 | } | |
|
1017 | .ui-icon-grip-solid-vertical | |
|
1018 | { | |
|
1019 | background-position: -32px -224px; | |
|
1020 | } | |
|
1021 | .ui-icon-grip-solid-horizontal | |
|
1022 | { | |
|
1023 | background-position: -48px -224px; | |
|
1024 | } | |
|
1025 | .ui-icon-gripsmall-diagonal-se | |
|
1026 | { | |
|
1027 | background-position: -64px -224px; | |
|
1028 | } | |
|
1029 | .ui-icon-grip-diagonal-se | |
|
1030 | { | |
|
1031 | background-position: -80px -224px; | |
|
1032 | } | |
|
1033 | ||
|
1034 | ||
|
1035 | /* Misc visuals | |
|
1036 | ----------------------------------*/ | |
|
1037 | ||
|
1038 | /* Corner radius */ | |
|
1039 | .ui-corner-tl | |
|
1040 | { | |
|
1041 | -moz-border-radius-topleft: 3px; | |
|
1042 | -webkit-border-top-left-radius: 3px; | |
|
1043 | border-top-left-radius: 3px; | |
|
1044 | } | |
|
1045 | .ui-corner-tr | |
|
1046 | { | |
|
1047 | -moz-border-radius-topright: 3px; | |
|
1048 | -webkit-border-top-right-radius: 3px; | |
|
1049 | border-top-right-radius: 3px; | |
|
1050 | } | |
|
1051 | .ui-corner-bl | |
|
1052 | { | |
|
1053 | -moz-border-radius-bottomleft: 3px; | |
|
1054 | -webkit-border-bottom-left-radius: 3px; | |
|
1055 | border-bottom-left-radius: 3px; | |
|
1056 | } | |
|
1057 | .ui-corner-br | |
|
1058 | { | |
|
1059 | -moz-border-radius-bottomright: 3px; | |
|
1060 | -webkit-border-bottom-right-radius: 3px; | |
|
1061 | border-bottom-right-radius: 3px; | |
|
1062 | } | |
|
1063 | .ui-corner-top | |
|
1064 | { | |
|
1065 | -moz-border-radius-topleft: 3px; | |
|
1066 | -webkit-border-top-left-radius: 3px; | |
|
1067 | border-top-left-radius: 3px; | |
|
1068 | -moz-border-radius-topright: 3px; | |
|
1069 | -webkit-border-top-right-radius: 3px; | |
|
1070 | border-top-right-radius: 3px; | |
|
1071 | } | |
|
1072 | .ui-corner-bottom | |
|
1073 | { | |
|
1074 | -moz-border-radius-bottomleft: 3px; | |
|
1075 | -webkit-border-bottom-left-radius: 3px; | |
|
1076 | border-bottom-left-radius: 3px; | |
|
1077 | -moz-border-radius-bottomright: 3px; | |
|
1078 | -webkit-border-bottom-right-radius: 3px; | |
|
1079 | border-bottom-right-radius: 3px; | |
|
1080 | } | |
|
1081 | .ui-corner-right | |
|
1082 | { | |
|
1083 | -moz-border-radius-topright: 3px; | |
|
1084 | -webkit-border-top-right-radius: 3px; | |
|
1085 | border-top-right-radius: 3px; | |
|
1086 | -moz-border-radius-bottomright: 3px; | |
|
1087 | -webkit-border-bottom-right-radius: 3px; | |
|
1088 | border-bottom-right-radius: 3px; | |
|
1089 | } | |
|
1090 | .ui-corner-left | |
|
1091 | { | |
|
1092 | -moz-border-radius-topleft: 3px; | |
|
1093 | -webkit-border-top-left-radius: 3px; | |
|
1094 | border-top-left-radius: 3px; | |
|
1095 | -moz-border-radius-bottomleft: 3px; | |
|
1096 | -webkit-border-bottom-left-radius: 3px; | |
|
1097 | border-bottom-left-radius: 3px; | |
|
1098 | } | |
|
1099 | .ui-corner-all | |
|
1100 | { | |
|
1101 | -moz-border-radius: 3px; | |
|
1102 | -webkit-border-radius: 3px; | |
|
1103 | border-radius: 3px; | |
|
1104 | } | |
|
1105 | .ui-round-all | |
|
1106 | { | |
|
1107 | -moz-border-radius: 10px; | |
|
1108 | -webkit-border-radius: 10px; | |
|
1109 | border-radius: 10px; | |
|
1110 | } | |
|
1111 | ||
|
1112 | /* Overlays */ | |
|
1113 | .ui-widget-overlay | |
|
1114 | { | |
|
1115 | background: #2d5972 url(images/ui-bg_flat_0_2d5972_40x100.png) 50% 50% repeat-x; | |
|
1116 | opacity: .30; | |
|
1117 | filter: Alpha(Opacity=30); | |
|
1118 | } | |
|
1119 | .ui-widget-shadow | |
|
1120 | { | |
|
1121 | margin: -8px 0 0 -8px; | |
|
1122 | padding: 8px; | |
|
1123 | background: #4f4f4f url(images/ui-bg_flat_0_4f4f4f_40x100.png) 50% 50% repeat-x; | |
|
1124 | opacity: .30; | |
|
1125 | filter: Alpha(Opacity=30); | |
|
1126 | -moz-border-radius: 8px; | |
|
1127 | -webkit-border-radius: 8px; | |
|
1128 | border-radius: 8px; | |
|
1129 | } | |
|
1130 | /* | |
|
1131 | * jQuery UI Resizable @VERSION | |
|
1132 | * | |
|
1133 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
1134 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
1135 | * http://jquery.org/license | |
|
1136 | * | |
|
1137 | * http://docs.jquery.com/UI/Resizable#theming | |
|
1138 | */ | |
|
1139 | .ui-resizable | |
|
1140 | { | |
|
1141 | position: relative; | |
|
1142 | } | |
|
1143 | .ui-resizable-handle | |
|
1144 | { | |
|
1145 | position: absolute; | |
|
1146 | font-size: 0.1px; | |
|
1147 | z-index: 99999; | |
|
1148 | display: block; | |
|
1149 | } | |
|
1150 | .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle | |
|
1151 | { | |
|
1152 | display: none; | |
|
1153 | } | |
|
1154 | .ui-resizable-n | |
|
1155 | { | |
|
1156 | cursor: n-resize; | |
|
1157 | height: 7px; | |
|
1158 | width: 100%; | |
|
1159 | top: -5px; | |
|
1160 | left: 0; | |
|
1161 | } | |
|
1162 | .ui-resizable-s | |
|
1163 | { | |
|
1164 | cursor: s-resize; | |
|
1165 | height: 7px; | |
|
1166 | width: 100%; | |
|
1167 | bottom: -5px; | |
|
1168 | left: 0; | |
|
1169 | } | |
|
1170 | .ui-resizable-e | |
|
1171 | { | |
|
1172 | cursor: e-resize; | |
|
1173 | width: 7px; | |
|
1174 | right: -5px; | |
|
1175 | top: 0; | |
|
1176 | height: 100%; | |
|
1177 | } | |
|
1178 | .ui-resizable-w | |
|
1179 | { | |
|
1180 | cursor: w-resize; | |
|
1181 | width: 7px; | |
|
1182 | left: -5px; | |
|
1183 | top: 0; | |
|
1184 | height: 100%; | |
|
1185 | } | |
|
1186 | .ui-resizable-se | |
|
1187 | { | |
|
1188 | cursor: se-resize; | |
|
1189 | width: 12px; | |
|
1190 | height: 12px; | |
|
1191 | right: 1px; | |
|
1192 | bottom: 1px; | |
|
1193 | } | |
|
1194 | .ui-resizable-sw | |
|
1195 | { | |
|
1196 | cursor: sw-resize; | |
|
1197 | width: 9px; | |
|
1198 | height: 9px; | |
|
1199 | left: -5px; | |
|
1200 | bottom: -5px; | |
|
1201 | } | |
|
1202 | .ui-resizable-nw | |
|
1203 | { | |
|
1204 | cursor: nw-resize; | |
|
1205 | width: 9px; | |
|
1206 | height: 9px; | |
|
1207 | left: -5px; | |
|
1208 | top: -5px; | |
|
1209 | } | |
|
1210 | .ui-resizable-ne | |
|
1211 | { | |
|
1212 | cursor: ne-resize; | |
|
1213 | width: 9px; | |
|
1214 | height: 9px; | |
|
1215 | right: -5px; | |
|
1216 | top: -5px; | |
|
1217 | } | |
|
1218 | /* | |
|
1219 | * jQuery UI Selectable @VERSION | |
|
1220 | * | |
|
1221 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
1222 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
1223 | * http://jquery.org/license | |
|
1224 | * | |
|
1225 | * http://docs.jquery.com/UI/Selectable#theming | |
|
1226 | */ | |
|
1227 | .ui-selectable-helper | |
|
1228 | { | |
|
1229 | position: absolute; | |
|
1230 | z-index: 100; | |
|
1231 | border: 1px dotted black; | |
|
1232 | } | |
|
1233 | /* | |
|
1234 | * jQuery UI Accordion @VERSION | |
|
1235 | * | |
|
1236 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
1237 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
1238 | * http://jquery.org/license | |
|
1239 | * | |
|
1240 | * http://docs.jquery.com/UI/Accordion#theming | |
|
1241 | */ | |
|
1242 | /* IE/Win - Fix animation bug - #4615 */ | |
|
1243 | .ui-accordion | |
|
1244 | { | |
|
1245 | width: 100%; | |
|
1246 | } | |
|
1247 | .ui-accordion .ui-accordion-header | |
|
1248 | { | |
|
1249 | cursor: pointer; | |
|
1250 | position: relative; | |
|
1251 | margin-top: 1px; | |
|
1252 | zoom: 1; | |
|
1253 | } | |
|
1254 | .ui-accordion .ui-accordion-li-fix | |
|
1255 | { | |
|
1256 | display: inline; | |
|
1257 | } | |
|
1258 | .ui-accordion .ui-accordion-header-active | |
|
1259 | { | |
|
1260 | border-bottom: 0 !important; | |
|
1261 | } | |
|
1262 | .ui-accordion .ui-accordion-header a | |
|
1263 | { | |
|
1264 | display: block; | |
|
1265 | font-size: 1em; | |
|
1266 | padding: .5em .5em .5em .7em; | |
|
1267 | } | |
|
1268 | .ui-accordion-icons .ui-accordion-header a | |
|
1269 | { | |
|
1270 | padding-left: 2.2em; | |
|
1271 | } | |
|
1272 | .ui-accordion .ui-accordion-header .ui-icon | |
|
1273 | { | |
|
1274 | position: absolute; | |
|
1275 | left: .5em; | |
|
1276 | top: 50%; | |
|
1277 | margin-top: -8px; | |
|
1278 | } | |
|
1279 | .ui-accordion .ui-accordion-content | |
|
1280 | { | |
|
1281 | padding: 1em 2.2em; | |
|
1282 | border-top: 0; | |
|
1283 | margin-top: -2px; | |
|
1284 | position: relative; | |
|
1285 | top: 1px; | |
|
1286 | margin-bottom: 2px; | |
|
1287 | overflow: auto; | |
|
1288 | display: none; | |
|
1289 | zoom: 1; | |
|
1290 | } | |
|
1291 | .ui-accordion .ui-accordion-content-active | |
|
1292 | { | |
|
1293 | display: block; | |
|
1294 | } | |
|
1295 | ||
|
1296 | .ui-accordion .ui-accordion-header | |
|
1297 | { | |
|
1298 | margin: 0; | |
|
1299 | -moz-border-radius: 0; | |
|
1300 | -webkit-border-radius: 0; | |
|
1301 | border-radius: 0; | |
|
1302 | } | |
|
1303 | ||
|
1304 | ||
|
1305 | .ui-accordion .ui-accordion-content | |
|
1306 | { | |
|
1307 | margin-bottom: 0; | |
|
1308 | } | |
|
1309 | ||
|
1310 | /* | |
|
1311 | * jQuery UI Autocomplete @VERSION | |
|
1312 | * | |
|
1313 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
1314 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
1315 | * http://jquery.org/license | |
|
1316 | * | |
|
1317 | * http://docs.jquery.com/UI/Autocomplete#theming | |
|
1318 | */ | |
|
1319 | .ui-autocomplete | |
|
1320 | { | |
|
1321 | position: absolute; | |
|
1322 | cursor: default; | |
|
1323 | } | |
|
1324 | ||
|
1325 | ||
|
1326 | .ui-autocomplete .ui-menu-item .ui-state-hover | |
|
1327 | { | |
|
1328 | background: none repeat scroll 0 0 #5F83B9; | |
|
1329 | color: #FFFFFF !important; | |
|
1330 | font-weight: bold; | |
|
1331 | -moz-box-shadow: none; | |
|
1332 | -webkit-box-shadow: none; | |
|
1333 | box-shadow: none; | |
|
1334 | border: solid 1px transparent; | |
|
1335 | cursor: pointer; | |
|
1336 | } | |
|
1337 | ||
|
1338 | ||
|
1339 | /* workarounds */ | |
|
1340 | * html .ui-autocomplete | |
|
1341 | { | |
|
1342 | width: 1px; | |
|
1343 | } | |
|
1344 | /* without this, the menu expands to 100% in IE6 */ | |
|
1345 | ||
|
1346 | /* | |
|
1347 | * jQuery UI Menu @VERSION | |
|
1348 | * | |
|
1349 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
1350 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
1351 | * http://jquery.org/license | |
|
1352 | * | |
|
1353 | * http://docs.jquery.com/UI/Menu#theming | |
|
1354 | */ | |
|
1355 | .ui-menu | |
|
1356 | { | |
|
1357 | list-style: none; | |
|
1358 | padding: 2px; | |
|
1359 | margin: 0; | |
|
1360 | display: block; | |
|
1361 | float: left; | |
|
1362 | } | |
|
1363 | .ui-menu .ui-menu | |
|
1364 | { | |
|
1365 | margin-top: -3px; | |
|
1366 | } | |
|
1367 | .ui-menu .ui-menu-item | |
|
1368 | { | |
|
1369 | margin: 0; | |
|
1370 | padding: 0; | |
|
1371 | zoom: 1; | |
|
1372 | float: left; | |
|
1373 | clear: left; | |
|
1374 | width: 100%; | |
|
1375 | } | |
|
1376 | .ui-menu .ui-menu-item a | |
|
1377 | { | |
|
1378 | text-decoration: none; | |
|
1379 | display: block; | |
|
1380 | padding: .2em .4em; | |
|
1381 | line-height: 1.5; | |
|
1382 | zoom: 1; | |
|
1383 | } | |
|
1384 | .ui-menu .ui-menu-item a.ui-state-hover, .ui-menu .ui-menu-item a.ui-state-active | |
|
1385 | { | |
|
1386 | font-weight: normal; | |
|
1387 | margin: -1px; | |
|
1388 | } | |
|
1389 | /* | |
|
1390 | * jQuery UI Button @VERSION | |
|
1391 | * | |
|
1392 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
1393 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
1394 | * http://jquery.org/license | |
|
1395 | * | |
|
1396 | * http://docs.jquery.com/UI/Button#theming | |
|
1397 | */ | |
|
1398 | .ui-button | |
|
1399 | { | |
|
1400 | display: inline-block; | |
|
1401 | position: relative; | |
|
1402 | padding: 0; | |
|
1403 | margin-right: .1em; | |
|
1404 | text-decoration: none !important; | |
|
1405 | cursor: pointer; | |
|
1406 | text-align: center; | |
|
1407 | zoom: 1; | |
|
1408 | overflow: visible; | |
|
1409 | } | |
|
1410 | /* the overflow property removes extra width in IE */ | |
|
1411 | .ui-button-icon-only | |
|
1412 | { | |
|
1413 | width: 2.2em; | |
|
1414 | } | |
|
1415 | /* to make room for the icon, a width needs to be set here */ | |
|
1416 | button.ui-button-icon-only | |
|
1417 | { | |
|
1418 | width: 2.4em; | |
|
1419 | } | |
|
1420 | /* button elements seem to need a little more width */ | |
|
1421 | .ui-button-icons-only | |
|
1422 | { | |
|
1423 | width: 3.4em; | |
|
1424 | } | |
|
1425 | button.ui-button-icons-only | |
|
1426 | { | |
|
1427 | width: 3.7em; | |
|
1428 | } | |
|
1429 | ||
|
1430 | .ui-button-icon-only .ui-icon, .ui-button-text-icon .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon | |
|
1431 | { | |
|
1432 | margin-left: 6px; | |
|
1433 | margin-top: -8px; | |
|
1434 | position: absolute; | |
|
1435 | top: 50%; | |
|
1436 | } | |
|
1437 | ||
|
1438 | .ui-button-text-icon .ui-button-text, .ui-button-text-icons .ui-button-text | |
|
1439 | { | |
|
1440 | padding: 5px 12px 5px 25px; | |
|
1441 | } | |
|
1442 | ||
|
1443 | /*button text element */ | |
|
1444 | .ui-button .ui-button-text | |
|
1445 | { | |
|
1446 | display: block; | |
|
1447 | line-height: 1.4; | |
|
1448 | } | |
|
1449 | .ui-button-text-only .ui-button-text | |
|
1450 | { | |
|
1451 | padding: .4em 1em; | |
|
1452 | } | |
|
1453 | .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text | |
|
1454 | { | |
|
1455 | padding: .4em; | |
|
1456 | text-indent: -9999999px; | |
|
1457 | } | |
|
1458 | .ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text | |
|
1459 | { | |
|
1460 | padding: .4em 1em .4em 2.1em; | |
|
1461 | } | |
|
1462 | .ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text | |
|
1463 | { | |
|
1464 | padding: .4em 2.1em .4em 1em; | |
|
1465 | } | |
|
1466 | .ui-button-text-icons .ui-button-text | |
|
1467 | { | |
|
1468 | padding-left: 2.1em; | |
|
1469 | padding-right: 2.1em; | |
|
1470 | } | |
|
1471 | /* no icon support for input elements, provide padding by default */ | |
|
1472 | input.ui-button | |
|
1473 | { | |
|
1474 | padding: .4em 1em; | |
|
1475 | } | |
|
1476 | ||
|
1477 | /*button icon element(s) */ | |
|
1478 | .ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon | |
|
1479 | { | |
|
1480 | position: absolute; | |
|
1481 | top: 50%; | |
|
1482 | margin-top: -8px; | |
|
1483 | } | |
|
1484 | .ui-button-icon-only .ui-icon | |
|
1485 | { | |
|
1486 | left: 50%; | |
|
1487 | margin-left: -8px; | |
|
1488 | } | |
|
1489 | /*.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }*/ | |
|
1490 | .ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary | |
|
1491 | { | |
|
1492 | right: .5em; | |
|
1493 | } | |
|
1494 | .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary | |
|
1495 | { | |
|
1496 | right: .5em; | |
|
1497 | } | |
|
1498 | ||
|
1499 | /*button sets*/ | |
|
1500 | .ui-buttonset | |
|
1501 | { | |
|
1502 | margin-right: 7px; | |
|
1503 | } | |
|
1504 | .ui-buttonset .ui-button | |
|
1505 | { | |
|
1506 | margin-left: 0; | |
|
1507 | margin-right: -.3em; | |
|
1508 | } | |
|
1509 | ||
|
1510 | /* workarounds */ | |
|
1511 | button.ui-button::-moz-focus-inner | |
|
1512 | { | |
|
1513 | border: 0; | |
|
1514 | padding: 0; | |
|
1515 | } | |
|
1516 | /* reset extra padding in Firefox */ | |
|
1517 | /* | |
|
1518 | * jQuery UI Dialog @VERSION | |
|
1519 | * | |
|
1520 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
1521 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
1522 | * http://jquery.org/license | |
|
1523 | * | |
|
1524 | * http://docs.jquery.com/UI/Dialog#theming | |
|
1525 | */ | |
|
1526 | .ui-dialog | |
|
1527 | { | |
|
1528 | position: absolute; | |
|
1529 | padding: .2em; | |
|
1530 | width: 300px; | |
|
1531 | overflow: hidden; | |
|
1532 | -moz-box-shadow: 0px 5px 10px rgba(0,0,0,0.8); | |
|
1533 | -webkit-box-shadow: 0px 5px 10px rgba(0,0,0,0.8); | |
|
1534 | box-shadow: 0px 5px 10px rgba(0,0,0,0.8); | |
|
1535 | } | |
|
1536 | .ui-dialog .ui-dialog-titlebar | |
|
1537 | { | |
|
1538 | padding: .5em 1em .3em; | |
|
1539 | position: relative; | |
|
1540 | } | |
|
1541 | .ui-dialog .ui-dialog-title | |
|
1542 | { | |
|
1543 | float: left; | |
|
1544 | margin: .1em 16px .2em 0; | |
|
1545 | } | |
|
1546 | .ui-dialog .ui-dialog-titlebar-close | |
|
1547 | { | |
|
1548 | position: absolute; | |
|
1549 | right: .3em; | |
|
1550 | top: 50%; | |
|
1551 | width: 19px; | |
|
1552 | margin: -10px 0 0 0; | |
|
1553 | padding: 1px; | |
|
1554 | height: 18px; | |
|
1555 | -moz-border-radius: 10px; | |
|
1556 | } | |
|
1557 | .ui-dialog .ui-dialog-titlebar-close span | |
|
1558 | { | |
|
1559 | display: block; | |
|
1560 | margin: 1px; | |
|
1561 | } | |
|
1562 | .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus | |
|
1563 | { | |
|
1564 | padding: 0; | |
|
1565 | } | |
|
1566 | .ui-dialog .ui-dialog-content | |
|
1567 | { | |
|
1568 | position: relative; | |
|
1569 | border: 0; | |
|
1570 | padding: .5em 1em; | |
|
1571 | background: none; | |
|
1572 | overflow: auto; | |
|
1573 | zoom: 1; | |
|
1574 | } | |
|
1575 | .ui-dialog .ui-dialog-buttonpane | |
|
1576 | { | |
|
1577 | text-align: left; | |
|
1578 | border-width: 1px 0 0 0; | |
|
1579 | background-image: none; | |
|
1580 | margin: .5em 0 0 0; | |
|
1581 | padding: .3em 1em .5em .4em; | |
|
1582 | } | |
|
1583 | .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset | |
|
1584 | { | |
|
1585 | float: right; | |
|
1586 | } | |
|
1587 | .ui-dialog .ui-dialog-buttonpane button | |
|
1588 | { | |
|
1589 | margin: .5em .4em .5em 0; | |
|
1590 | cursor: pointer; | |
|
1591 | } | |
|
1592 | .ui-dialog .ui-resizable-se | |
|
1593 | { | |
|
1594 | width: 14px; | |
|
1595 | height: 14px; | |
|
1596 | right: 3px; | |
|
1597 | bottom: 3px; | |
|
1598 | } | |
|
1599 | .ui-draggable .ui-dialog-titlebar | |
|
1600 | { | |
|
1601 | cursor: move; | |
|
1602 | } | |
|
1603 | ||
|
1604 | .ui-dialog | |
|
1605 | { | |
|
1606 | padding: 0; | |
|
1607 | } | |
|
1608 | ||
|
1609 | .ui-dialog .ui-dialog-titlebar | |
|
1610 | { | |
|
1611 | border-top: none; | |
|
1612 | border-right: none; | |
|
1613 | border-left: none; | |
|
1614 | -moz-border-radius: 0; | |
|
1615 | -webkit-border-radius: 0; | |
|
1616 | border-radius: 0; | |
|
1617 | } | |
|
1618 | ||
|
1619 | .ui-dialog .ui-dialog-titlebar-close | |
|
1620 | { | |
|
1621 | } | |
|
1622 | ||
|
1623 | /* | |
|
1624 | * jQuery UI Slider @VERSION | |
|
1625 | * | |
|
1626 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
1627 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
1628 | * http://jquery.org/license | |
|
1629 | * | |
|
1630 | * http://docs.jquery.com/UI/Slider#theming | |
|
1631 | */ | |
|
1632 | .ui-slider | |
|
1633 | { | |
|
1634 | position: relative; | |
|
1635 | text-align: left; | |
|
1636 | -moz-border-radius: 10px; | |
|
1637 | -webkit-border-radius: 10px; | |
|
1638 | border-radius: 10px; | |
|
1639 | } | |
|
1640 | .ui-slider .ui-slider-handle | |
|
1641 | { | |
|
1642 | position: absolute; | |
|
1643 | z-index: 2; | |
|
1644 | width: 16px; | |
|
1645 | height: 16px; | |
|
1646 | cursor: default; | |
|
1647 | -moz-border-radius: 10px; | |
|
1648 | -webkit-border-radius: 10px; | |
|
1649 | border-radius: 10px; | |
|
1650 | } | |
|
1651 | .ui-slider .ui-slider-range | |
|
1652 | { | |
|
1653 | position: absolute; | |
|
1654 | z-index: 1; | |
|
1655 | font-size: .7em; | |
|
1656 | display: block; | |
|
1657 | border: 0; | |
|
1658 | background-position: 0 0; | |
|
1659 | } | |
|
1660 | ||
|
1661 | ||
|
1662 | .ui-slider | |
|
1663 | { | |
|
1664 | background: #cbcbcb; | |
|
1665 | -moz-box-shadow: inset 0 2px 2px #8f8f8f; | |
|
1666 | -webkit-box-shadow: inset 0 2px 2px #8f8f8f; | |
|
1667 | box-shadow: inset 0 2px 2px #8f8f8f; | |
|
1668 | } | |
|
1669 | ||
|
1670 | .ui-slider .ui-slider-range | |
|
1671 | { | |
|
1672 | background: #a3cae0; | |
|
1673 | -moz-box-shadow: inset 0 2px 2px #7d9aab; | |
|
1674 | -webkit-box-shadow: inset 0 2px 2px #7d9aab; | |
|
1675 | box-shadow: inset 0 2px 2px #7d9aab; | |
|
1676 | } | |
|
1677 | ||
|
1678 | .ui-slider-vertical | |
|
1679 | { | |
|
1680 | background: #cbcbcb; | |
|
1681 | -moz-box-shadow: inset 0 2px 2px #8f8f8f; | |
|
1682 | -webkit-box-shadow: inset 0 2px 2px #8f8f8f; | |
|
1683 | box-shadow: inset 0 2px 2px #8f8f8f; | |
|
1684 | } | |
|
1685 | ||
|
1686 | .ui-slider-vertical .ui-slider-range | |
|
1687 | { | |
|
1688 | background: #a3cae0; | |
|
1689 | -moz-box-shadow: inset 2px 0 2px #7d9aab; | |
|
1690 | -webkit-box-shadow: inset 2px 0 2px #7d9aab; | |
|
1691 | box-shadow: inset 2px 0 2px #7d9aab; | |
|
1692 | } | |
|
1693 | ||
|
1694 | ||
|
1695 | .ui-slider .ui-slider-handle span | |
|
1696 | { | |
|
1697 | height: 16px !important; | |
|
1698 | width: 16px !important; | |
|
1699 | float: none !important; | |
|
1700 | margin: 0 auto !important; | |
|
1701 | } | |
|
1702 | ||
|
1703 | ||
|
1704 | .ui-slider-horizontal | |
|
1705 | { | |
|
1706 | height: .4em; | |
|
1707 | } | |
|
1708 | .ui-slider-horizontal .ui-slider-handle | |
|
1709 | { | |
|
1710 | top: -.5em; | |
|
1711 | margin-left: -.6em; | |
|
1712 | } | |
|
1713 | .ui-slider-horizontal .ui-slider-range | |
|
1714 | { | |
|
1715 | top: 0; | |
|
1716 | height: 100%; | |
|
1717 | } | |
|
1718 | .ui-slider-horizontal .ui-slider-range-min | |
|
1719 | { | |
|
1720 | left: 0; | |
|
1721 | } | |
|
1722 | .ui-slider-horizontal .ui-slider-range-max | |
|
1723 | { | |
|
1724 | right: 0; | |
|
1725 | } | |
|
1726 | ||
|
1727 | .ui-slider-vertical | |
|
1728 | { | |
|
1729 | width: .4em; | |
|
1730 | height: 100px; | |
|
1731 | } | |
|
1732 | .ui-slider-vertical .ui-slider-handle | |
|
1733 | { | |
|
1734 | left: -.5em; | |
|
1735 | margin-left: 0; | |
|
1736 | margin-bottom: -.6em; | |
|
1737 | } | |
|
1738 | .ui-slider-vertical .ui-slider-range | |
|
1739 | { | |
|
1740 | left: 0; | |
|
1741 | width: 100%; | |
|
1742 | } | |
|
1743 | .ui-slider-vertical .ui-slider-range-min | |
|
1744 | { | |
|
1745 | bottom: 0; | |
|
1746 | } | |
|
1747 | .ui-slider-vertical .ui-slider-range-max | |
|
1748 | { | |
|
1749 | top: 0; | |
|
1750 | } | |
|
1751 | .ui-slider .ui-slider-handle | |
|
1752 | { | |
|
1753 | background: #85b2cb; | |
|
1754 | background: #85b2cb linear-gradient(top, rgba(255,255,255,0.8), rgba(255,255,255,0)); | |
|
1755 | background: #85b2cb -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.8)), to(rgba(255,255,255,0))); | |
|
1756 | background: #85b2cb -moz-linear-gradient(top, rgba(255,255,255,0.8), rgba(255,255,255,0)); /* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#DDFFFFFF, endColorstr=#00FFFFFF); -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#DDFFFFFF, endColorstr=#00FFFFFF)"; */ | |
|
1757 | } | |
|
1758 | ||
|
1759 | ||
|
1760 | ||
|
1761 | /* | |
|
1762 | * jQuery UI Tabs @VERSION | |
|
1763 | * | |
|
1764 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
1765 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
1766 | * http://jquery.org/license | |
|
1767 | * | |
|
1768 | * http://docs.jquery.com/UI/Tabs#theming | |
|
1769 | */ | |
|
1770 | .ui-tabs | |
|
1771 | { | |
|
1772 | position: relative; | |
|
1773 | padding: .2em; | |
|
1774 | zoom: 1; | |
|
1775 | } | |
|
1776 | /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ | |
|
1777 | .ui-tabs .ui-tabs-nav | |
|
1778 | { | |
|
1779 | margin: 0; | |
|
1780 | padding: .2em .2em 0; | |
|
1781 | } | |
|
1782 | .ui-tabs .ui-tabs-nav li | |
|
1783 | { | |
|
1784 | list-style: none; | |
|
1785 | float: left; | |
|
1786 | position: relative; | |
|
1787 | top: 1px; | |
|
1788 | margin: 0 .2em 1px 0; | |
|
1789 | border: 1px solid #a8a8a8; | |
|
1790 | border-bottom: 0 !important; | |
|
1791 | padding: 0; | |
|
1792 | white-space: nowrap; | |
|
1793 | } | |
|
1794 | .ui-tabs .ui-tabs-nav li a | |
|
1795 | { | |
|
1796 | float: left; | |
|
1797 | padding: .5em 1em; | |
|
1798 | text-decoration: none; | |
|
1799 | } | |
|
1800 | .ui-tabs .ui-tabs-nav li.ui-tabs-selected | |
|
1801 | { | |
|
1802 | margin-bottom: 0; | |
|
1803 | padding-bottom: 1px; | |
|
1804 | border: 1px solid #a8a8a8; | |
|
1805 | border-bottom: 0 !important; | |
|
1806 | } | |
|
1807 | .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a | |
|
1808 | { | |
|
1809 | cursor: text; | |
|
1810 | } | |
|
1811 | .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a | |
|
1812 | { | |
|
1813 | cursor: pointer; | |
|
1814 | } | |
|
1815 | /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ | |
|
1816 | .ui-tabs .ui-tabs-panel | |
|
1817 | { | |
|
1818 | display: block; | |
|
1819 | border-width: 0; | |
|
1820 | padding: 1em 1.4em; | |
|
1821 | background: none; | |
|
1822 | } | |
|
1823 | .ui-tabs .ui-tabs-hide | |
|
1824 | { | |
|
1825 | display: none !important; | |
|
1826 | } | |
|
1827 | ||
|
1828 | .ui-tabs | |
|
1829 | { | |
|
1830 | padding: 0; | |
|
1831 | } | |
|
1832 | ||
|
1833 | .ui-tabs .ui-tabs-nav | |
|
1834 | { | |
|
1835 | background: #e3e3e3; | |
|
1836 | background: #e3e3e3 linear-gradient(top, rgba(255,255,255,0.8), rgba(255,255,255,0)); | |
|
1837 | background: #e3e3e3 -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.8)), to(rgba(255,255,255,0))); | |
|
1838 | background: #e3e3e3 -moz-linear-gradient(top, rgba(255,255,255,0.8), rgba(255,255,255,0)); /* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#DDFFFFFF, endColorstr=#00FFFFFF); -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#DDFFFFFF, endColorstr=#00FFFFFF)"; */ | |
|
1839 | -moz-border-radius: 0; | |
|
1840 | -webkit-border-radius: 0; | |
|
1841 | border-radius: 0; | |
|
1842 | } | |
|
1843 | ||
|
1844 | ||
|
1845 | .ui-tabs .ui-tabs-nav .ui-tabs-selected | |
|
1846 | { | |
|
1847 | background: #fff; | |
|
1848 | border-bottom: none; | |
|
1849 | -moz-box-shadow: none; | |
|
1850 | -webkit-box-shadow: none; | |
|
1851 | box-shadow: none; | |
|
1852 | } | |
|
1853 | ||
|
1854 | ||
|
1855 | ||
|
1856 | /* | |
|
1857 | * jQuery UI Datepicker @VERSION | |
|
1858 | * | |
|
1859 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
1860 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
1861 | * http://jquery.org/license | |
|
1862 | * | |
|
1863 | * http://docs.jquery.com/UI/Datepicker#theming | |
|
1864 | */ | |
|
1865 | .ui-datepicker | |
|
1866 | { | |
|
1867 | width: 17em; | |
|
1868 | padding: .2em .2em 0; | |
|
1869 | } | |
|
1870 | .ui-datepicker .ui-datepicker-header | |
|
1871 | { | |
|
1872 | position: relative; | |
|
1873 | padding: .2em 0; | |
|
1874 | } | |
|
1875 | .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next | |
|
1876 | { | |
|
1877 | position: absolute; | |
|
1878 | top: 2px; | |
|
1879 | width: 1.8em; | |
|
1880 | height: 1.8em; | |
|
1881 | cursor: pointer; | |
|
1882 | } | |
|
1883 | .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover | |
|
1884 | { | |
|
1885 | top: 1px; | |
|
1886 | } | |
|
1887 | .ui-datepicker .ui-datepicker-prev | |
|
1888 | { | |
|
1889 | left: 2px; | |
|
1890 | } | |
|
1891 | .ui-datepicker .ui-datepicker-next | |
|
1892 | { | |
|
1893 | right: 2px; | |
|
1894 | } | |
|
1895 | .ui-datepicker .ui-datepicker-prev-hover | |
|
1896 | { | |
|
1897 | left: 1px; | |
|
1898 | } | |
|
1899 | .ui-datepicker .ui-datepicker-next-hover | |
|
1900 | { | |
|
1901 | right: 1px; | |
|
1902 | } | |
|
1903 | .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span | |
|
1904 | { | |
|
1905 | display: block; | |
|
1906 | position: absolute; | |
|
1907 | left: 50%; | |
|
1908 | margin-left: -8px; | |
|
1909 | top: 50%; | |
|
1910 | margin-top: -8px; | |
|
1911 | } | |
|
1912 | .ui-datepicker .ui-datepicker-title | |
|
1913 | { | |
|
1914 | margin: 0 2.3em; | |
|
1915 | line-height: 1.8em; | |
|
1916 | text-align: center; | |
|
1917 | } | |
|
1918 | .ui-datepicker .ui-datepicker-title select | |
|
1919 | { | |
|
1920 | font-size: 1em; | |
|
1921 | margin: 1px 0; | |
|
1922 | } | |
|
1923 | .ui-datepicker select.ui-datepicker-month-year | |
|
1924 | { | |
|
1925 | width: 100%; | |
|
1926 | } | |
|
1927 | .ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year | |
|
1928 | { | |
|
1929 | width: 49%; | |
|
1930 | } | |
|
1931 | .ui-datepicker table | |
|
1932 | { | |
|
1933 | width: 100%; | |
|
1934 | font-size: .9em; | |
|
1935 | border-collapse: collapse; | |
|
1936 | margin: 0 0 .4em; | |
|
1937 | } | |
|
1938 | .ui-datepicker th | |
|
1939 | { | |
|
1940 | padding: .7em .3em; | |
|
1941 | text-align: center; | |
|
1942 | font-weight: bold; | |
|
1943 | border: 0; | |
|
1944 | } | |
|
1945 | .ui-datepicker td | |
|
1946 | { | |
|
1947 | border: 0; | |
|
1948 | padding: 1px; | |
|
1949 | } | |
|
1950 | .ui-datepicker td span, .ui-datepicker td a | |
|
1951 | { | |
|
1952 | display: block; | |
|
1953 | padding: 2px 3px 3px; | |
|
1954 | text-align: right; | |
|
1955 | text-decoration: none; | |
|
1956 | } | |
|
1957 | .ui-datepicker .ui-datepicker-buttonpane | |
|
1958 | { | |
|
1959 | background-image: none; | |
|
1960 | margin: .7em 0 0 0; | |
|
1961 | padding: 0 .2em; | |
|
1962 | border-left: 0; | |
|
1963 | border-right: 0; | |
|
1964 | border-bottom: 0; | |
|
1965 | } | |
|
1966 | .ui-datepicker .ui-datepicker-buttonpane button | |
|
1967 | { | |
|
1968 | float: right; | |
|
1969 | margin: .5em .2em .4em; | |
|
1970 | cursor: pointer; | |
|
1971 | padding: .2em .6em .3em .6em; | |
|
1972 | width: auto; | |
|
1973 | overflow: visible; | |
|
1974 | } | |
|
1975 | .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current | |
|
1976 | { | |
|
1977 | float: left; | |
|
1978 | } | |
|
1979 | ||
|
1980 | ||
|
1981 | .ui-datepicker table | |
|
1982 | { | |
|
1983 | table-layout: fixed; | |
|
1984 | } | |
|
1985 | ||
|
1986 | .ui-datepicker .ui-datepicker-calendar .ui-state-default | |
|
1987 | { | |
|
1988 | background: none; | |
|
1989 | border: none; | |
|
1990 | color: #5F83B9; | |
|
1991 | } | |
|
1992 | ||
|
1993 | .ui-datepicker .ui-datepicker-calendar .ui-state-hover | |
|
1994 | { | |
|
1995 | color: #1C4257; | |
|
1996 | -moz-box-shadow: none; | |
|
1997 | -webkit-box-shadow: none; | |
|
1998 | box-shadow: none; | |
|
1999 | } | |
|
2000 | ||
|
2001 | .ui-datepicker .ui-datepicker-current-day .ui-state-highlight, .ui-datepicker .ui-datepicker-current-day .ui-state-default | |
|
2002 | { | |
|
2003 | background: #5F83B9; | |
|
2004 | color: #FFFFFF !important; | |
|
2005 | font-weight: bold; | |
|
2006 | text-shadow: 0 1px 1px #234386; | |
|
2007 | -moz-box-shadow: none; | |
|
2008 | -webkit-box-shadow: none; | |
|
2009 | box-shadow: none; | |
|
2010 | } | |
|
2011 | ||
|
2012 | .ui-datepicker | |
|
2013 | { | |
|
2014 | padding: 0; | |
|
2015 | } | |
|
2016 | ||
|
2017 | .ui-datepicker .ui-datepicker-header | |
|
2018 | { | |
|
2019 | background: #e3e3e3; | |
|
2020 | background: #e3e3e3 linear-gradient(top, rgba(255,255,255,0.8), rgba(255,255,255,0)); | |
|
2021 | background: #e3e3e3 -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.8)), to(rgba(255,255,255,0))); | |
|
2022 | background: #e3e3e3 -moz-linear-gradient(top, rgba(255,255,255,0.8), rgba(255,255,255,0)); /* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#DDFFFFFF, endColorstr=#00FFFFFF); -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#DDFFFFFF, endColorstr=#00FFFFFF)"; */ | |
|
2023 | border-right: none; | |
|
2024 | border-left: none; | |
|
2025 | border-top: none; | |
|
2026 | -moz-border-radius: 0; | |
|
2027 | -webkit-border-radius: 0; | |
|
2028 | border-radius: 0; | |
|
2029 | } | |
|
2030 | ||
|
2031 | .ui-datepicker .ui-datepicker-next-hover, .ui-datepicker .ui-datepicker-prev-hover | |
|
2032 | { | |
|
2033 | background: none; | |
|
2034 | border: solid 1px transparent; | |
|
2035 | -moz-box-shadow: none; | |
|
2036 | } | |
|
2037 | ||
|
2038 | ||
|
2039 | /* with multiple calendars */ | |
|
2040 | .ui-datepicker.ui-datepicker-multi | |
|
2041 | { | |
|
2042 | width: auto; | |
|
2043 | } | |
|
2044 | .ui-datepicker-multi .ui-datepicker-group | |
|
2045 | { | |
|
2046 | float: left; | |
|
2047 | } | |
|
2048 | .ui-datepicker-multi .ui-datepicker-group table | |
|
2049 | { | |
|
2050 | width: 95%; | |
|
2051 | margin: 0 auto .4em; | |
|
2052 | } | |
|
2053 | .ui-datepicker-multi-2 .ui-datepicker-group | |
|
2054 | { | |
|
2055 | width: 50%; | |
|
2056 | } | |
|
2057 | .ui-datepicker-multi-3 .ui-datepicker-group | |
|
2058 | { | |
|
2059 | width: 33.3%; | |
|
2060 | } | |
|
2061 | .ui-datepicker-multi-4 .ui-datepicker-group | |
|
2062 | { | |
|
2063 | width: 25%; | |
|
2064 | } | |
|
2065 | .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header | |
|
2066 | { | |
|
2067 | border-left-width: 0; | |
|
2068 | } | |
|
2069 | .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header | |
|
2070 | { | |
|
2071 | border-left-width: 0; | |
|
2072 | } | |
|
2073 | .ui-datepicker-multi .ui-datepicker-buttonpane | |
|
2074 | { | |
|
2075 | clear: left; | |
|
2076 | } | |
|
2077 | .ui-datepicker-row-break | |
|
2078 | { | |
|
2079 | clear: both; | |
|
2080 | width: 100%; | |
|
2081 | } | |
|
2082 | ||
|
2083 | /* RTL support */ | |
|
2084 | .ui-datepicker-rtl | |
|
2085 | { | |
|
2086 | direction: rtl; | |
|
2087 | } | |
|
2088 | .ui-datepicker-rtl .ui-datepicker-prev | |
|
2089 | { | |
|
2090 | right: 2px; | |
|
2091 | left: auto; | |
|
2092 | } | |
|
2093 | .ui-datepicker-rtl .ui-datepicker-next | |
|
2094 | { | |
|
2095 | left: 2px; | |
|
2096 | right: auto; | |
|
2097 | } | |
|
2098 | .ui-datepicker-rtl .ui-datepicker-prev:hover | |
|
2099 | { | |
|
2100 | right: 1px; | |
|
2101 | left: auto; | |
|
2102 | } | |
|
2103 | .ui-datepicker-rtl .ui-datepicker-next:hover | |
|
2104 | { | |
|
2105 | left: 1px; | |
|
2106 | right: auto; | |
|
2107 | } | |
|
2108 | .ui-datepicker-rtl .ui-datepicker-buttonpane | |
|
2109 | { | |
|
2110 | clear: right; | |
|
2111 | } | |
|
2112 | .ui-datepicker-rtl .ui-datepicker-buttonpane button | |
|
2113 | { | |
|
2114 | float: left; | |
|
2115 | } | |
|
2116 | .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current | |
|
2117 | { | |
|
2118 | float: right; | |
|
2119 | } | |
|
2120 | .ui-datepicker-rtl .ui-datepicker-group | |
|
2121 | { | |
|
2122 | float: right; | |
|
2123 | } | |
|
2124 | .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header | |
|
2125 | { | |
|
2126 | border-right-width: 0; | |
|
2127 | border-left-width: 1px; | |
|
2128 | } | |
|
2129 | .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header | |
|
2130 | { | |
|
2131 | border-right-width: 0; | |
|
2132 | border-left-width: 1px; | |
|
2133 | } | |
|
2134 | ||
|
2135 | /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ | |
|
2136 | .ui-datepicker-cover | |
|
2137 | { | |
|
2138 | display: none; /*sorry for IE5*/ | |
|
2139 | display: /**/ block; /*sorry for IE5*/ | |
|
2140 | position: absolute; /*must have*/ | |
|
2141 | z-index: -1; /*must have*/ | |
|
2142 | filter: mask(); /*must have*/ | |
|
2143 | top: -4px; /*must have*/ | |
|
2144 | left: -4px; /*must have*/ | |
|
2145 | width: 200px; /*must have*/ | |
|
2146 | height: 200px; /*must have*/ | |
|
2147 | } | |
|
2148 | /* | |
|
2149 | * jQuery UI Progressbar @VERSION | |
|
2150 | * | |
|
2151 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
2152 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
2153 | * http://jquery.org/license | |
|
2154 | * | |
|
2155 | * http://docs.jquery.com/UI/Progressbar#theming | |
|
2156 | */ | |
|
2157 | .ui-progressbar | |
|
2158 | { | |
|
2159 | height: 1.1em; | |
|
2160 | text-align: left; | |
|
2161 | -moz-border-radius: 10px; | |
|
2162 | -webkit-border-radius: 10px; | |
|
2163 | border-radius: 10px; | |
|
2164 | -moz-box-shadow: inset 0 2px 2px #8f8f8f; | |
|
2165 | -webkit-box-shadow: inset 0 2px 2px #8f8f8f; | |
|
2166 | box-shadow: inset 0 2px 2px #8f8f8f; | |
|
2167 | } | |
|
2168 | .ui-progressbar .ui-progressbar-value | |
|
2169 | { | |
|
2170 | margin: -1px; | |
|
2171 | height: 100%; | |
|
2172 | } | |
|
2173 | .ui-progressbar .ui-widget-header | |
|
2174 | { | |
|
2175 | background: #85b2cb; | |
|
2176 | background: #85b2cb linear-gradient(top, rgba(255,255,255,0.8), rgba(255,255,255,0)); | |
|
2177 | background: #85b2cb -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.8)), to(rgba(255,255,255,0))); | |
|
2178 | background: #85b2cb -moz-linear-gradient(top, rgba(255,255,255,0.8), rgba(255,255,255,0)); | |
|
2179 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#DDFFFFFF, endColorstr=#00FFFFFF); | |
|
2180 | -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#DDFFFFFF, endColorstr=#00FFFFFF)"; | |
|
2181 | -moz-border-radius: 10px; | |
|
2182 | -webkit-border-radius: 10px; | |
|
2183 | border-radius: 10px; | |
|
2184 | } | |
|
2185 | /* | |
|
2186 | * jQuery UI AutoComplete @VERSION | |
|
2187 | * | |
|
2188 | */ | |
|
2189 | .wijmo-wijinput, .wijmo-wijtextbox | |
|
2190 | { | |
|
2191 | background: #fff !important; | |
|
2192 | -moz-box-shadow: inset 0 2px 2px #8f8f8f; | |
|
2193 | -webkit-box-shadow: inset 0 2px 2px #8f8f8f; | |
|
2194 | box-shadow: inset 0 2px 2px #8f8f8f; | |
|
2195 | } | |
|
2196 | .wijmo-wijinput.ui-state-focus, .wijmo-wijtextbox.ui-state-focus | |
|
2197 | { | |
|
2198 | background: #fff !important; | |
|
2199 | -moz-box-shadow: 0px 0px 5px #85b2cb, inset 0 2px 2px #8f8f8f; | |
|
2200 | -webkit-box-shadow: 0px 0px 5px #85b2cb, inset 0 2px 2px #8f8f8f; | |
|
2201 | box-shadow: 0px 0px 5px #85b2cb, inset 0 2px 2px #8f8f8f; | |
|
2202 | } | |
|
2203 | .ui-autocomplete | |
|
2204 | { | |
|
2205 | -moz-box-shadow: 0px 5px 10px rgba(0,0,0,0.8); | |
|
2206 | -webkit-box-shadow: 0px 5px 10px rgba(0,0,0,0.8); | |
|
2207 | box-shadow: 0px 5px 10px rgba(0,0,0,0.8); | |
|
2208 | } | |
|
2209 | .wijmo-wijcalendar .ui-datepicker-header .ui-state-default | |
|
2210 | { | |
|
2211 | -moz-box-shadow: none; | |
|
2212 | -webkit-box-shadow: none; | |
|
2213 | box-shadow: none; | |
|
2214 | } | |
|
2215 | .wijmo-wijmenu | |
|
2216 | { | |
|
2217 | background: #c4c4c4 url(images/ui-bg_highlight-hard_80_c4c4c4_1x100.png) top repeat-x; | |
|
2218 | background: #c4c4c4 linear-gradient(top, rgba(255,255,255,0.8), rgba(255,255,255,0)); | |
|
2219 | background: #c4c4c4 -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0.8)), to(rgba(255,255,255,0))); | |
|
2220 | background: #c4c4c4 -moz-linear-gradient(top, rgba(255,255,255,0.8), rgba(255,255,255,0)); | |
|
2221 | } | |
|
2222 | .wijmo-wijmenu .ui-state-default | |
|
2223 | { | |
|
2224 | -moz-box-shadow: none; | |
|
2225 | -webkit-box-shadow: none; | |
|
2226 | box-shadow: none; | |
|
2227 | } | |
|
2228 | ||
|
2229 | .wijmo-wijmenu .wijmo-wijmenu-child | |
|
2230 | { | |
|
2231 | -moz-box-shadow: 0px 5px 10px rgba(0,0,0,0.8); | |
|
2232 | -webkit-box-shadow: 0px 5px 10px rgba(0,0,0,0.8); | |
|
2233 | box-shadow: 0px 5px 10px rgba(0,0,0,0.8); | |
|
2234 | } | |
|
2235 | .wij-menu-ipod .wijmo-wijmenu-list | |
|
2236 | { | |
|
2237 | -moz-box-shadow: none; | |
|
2238 | -webkit-box-shadow: none; | |
|
2239 | box-shadow: none; | |
|
2240 | } | |
|
2241 | ||
|
2242 | *html .wijmo-wijmenu .wijmo-wijsuperpanel, *html .wijmo-wijmenu .wijmo-wijmenu-list | |
|
2243 | { | |
|
2244 | background: none; | |
|
2245 | } | |
|
2246 | ||
|
2247 | *html .wijmo-wijmenu-horizontal .wijmo-wijmenu-child | |
|
2248 | { | |
|
2249 | background: #ffffff; | |
|
2250 | } | |
|
2251 | ||
|
2252 | ||
|
2253 | *html .wijmo-wijmenu .wijmo-wijmenu-link | |
|
2254 | { | |
|
2255 | border-color: #c4c4c4; | |
|
2256 | filter: chroma(color=#c4c4c4); | |
|
2257 | } | |
|
2258 | ||
|
2259 | ||
|
2260 | .wijmo-wijtooltip | |
|
2261 | { | |
|
2262 | background: #000; | |
|
2263 | background: rgba(0,0,0,0.8); | |
|
2264 | border: none; | |
|
2265 | color: #fff; | |
|
2266 | -moz-box-shadow: 0px 0px 8px #85b2cb, inset 0px 1px 0px #999; | |
|
2267 | -webkit-box-shadow: 0px 0px 8px #85b2cb, inset 0px 1px 0px #999; | |
|
2268 | box-shadow: 0px 0px 8px #85b2cb, inset 0px 1px 0px #999; | |
|
2269 | } | |
|
2270 | ||
|
2271 | .wijmo-wijtooltip-arrow-lb .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-lc .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-lt .wijmo-wijtooltip-pointer-inner | |
|
2272 | { | |
|
2273 | border-right-color: #000 !important; | |
|
2274 | } | |
|
2275 | ||
|
2276 | .wijmo-wijtooltip-arrow-rb .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-rc .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-rt .wijmo-wijtooltip-pointer-inner | |
|
2277 | { | |
|
2278 | border-left-color: #000 !important; | |
|
2279 | } | |
|
2280 | ||
|
2281 | .wijmo-wijtooltip-arrow-br .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-bc .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-bl .wijmo-wijtooltip-pointer-inner | |
|
2282 | { | |
|
2283 | border-top-color: #000 !important; | |
|
2284 | } | |
|
2285 | ||
|
2286 | .wijmo-wijtooltip-arrow-tb .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-tc .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-tt .wijmo-wijtooltip-pointer-inner | |
|
2287 | { | |
|
2288 | border-bottom-color: #000 !important; | |
|
2289 | } | |
|
2290 | ||
|
2291 | ||
|
2292 | .wijmo-wijtooltip .wijmo-wijtooltip-pointer | |
|
2293 | { | |
|
2294 | opacity: 0.8; | |
|
2295 | } |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
This diff has been collapsed as it changes many lines, (574 lines changed) Show them Hide them | |||
@@ -0,0 +1,574 b'' | |||
|
1 | /* | |
|
2 | * jQuery UI CSS Framework 1.8.6 | |
|
3 | * | |
|
4 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
5 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
6 | * http://jquery.org/license | |
|
7 | * | |
|
8 | * http://docs.jquery.com/UI/Theming/API | |
|
9 | */ | |
|
10 | ||
|
11 | ||
|
12 | ||
|
13 | /* Layout helpers | |
|
14 | ----------------------------------*/ | |
|
15 | .ui-helper-hidden { display: none; } | |
|
16 | .ui-helper-hidden-accessible { position: absolute; left: -99999999px; } | |
|
17 | .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } | |
|
18 | .ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } | |
|
19 | .ui-helper-clearfix { display: inline-block; } | |
|
20 | /* required comment for clearfix to work in Opera \*/ | |
|
21 | * html .ui-helper-clearfix { height:1%; } | |
|
22 | .ui-helper-clearfix { display:block; } | |
|
23 | /* end clearfix */ | |
|
24 | .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } | |
|
25 | ||
|
26 | ||
|
27 | /* Interaction Cues | |
|
28 | ----------------------------------*/ | |
|
29 | .ui-state-disabled { cursor: default !important; } | |
|
30 | ||
|
31 | ||
|
32 | /* Icons | |
|
33 | ----------------------------------*/ | |
|
34 | ||
|
35 | /* states and images */ | |
|
36 | .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } | |
|
37 | ||
|
38 | ||
|
39 | /* Misc visuals | |
|
40 | ----------------------------------*/ | |
|
41 | ||
|
42 | /* Overlays */ | |
|
43 | .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } | |
|
44 | ||
|
45 | ||
|
46 | /* | |
|
47 | * jQuery UI CSS Framework 1.8.6 | |
|
48 | * | |
|
49 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
50 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
51 | * http://jquery.org/license | |
|
52 | * | |
|
53 | * http://docs.jquery.com/UI/Theming/API | |
|
54 | * | |
|
55 | * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Georgia,%20serif&fwDefault=normal&fsDefault=1.2em&cornerRadius=4px&bgColorHeader=32323d&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=15&borderColorHeader=515161&fcHeader=f4f4f9&iconColorHeader=f4f4f9&bgColorContent=18181f&bgTextureContent=01_flat.png&bgImgOpacityContent=100&borderColorContent=18181f&fcContent=fafafa&iconColorContent=a1ddff&bgColorDefault=191921&bgTextureDefault=03_highlight_soft.png&bgImgOpacityDefault=15&borderColorDefault=373740&fcDefault=fafafa&iconColorDefault=fafafa&bgColorHover=191921&bgTextureHover=03_highlight_soft.png&bgImgOpacityHover=35&borderColorHover=373740&fcHover=8fddff&iconColorHover=8fddff&bgColorActive=191921&bgTextureActive=05_inset_soft.png&bgImgOpacityActive=35&borderColorActive=373740&fcActive=8fddff&iconColorActive=8fddff&bgColorHighlight=3d4858&bgTextureHighlight=01_flat.png&bgImgOpacityHighlight=10&borderColorHighlight=3d4858&fcHighlight=8fddff&iconColorHighlight=8fddff&bgColorError=583d3d&bgTextureError=01_flat.png&bgImgOpacityError=100&borderColorError=583d3d&fcError=ff8f8f&iconColorError=ff8f8f&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px | |
|
56 | */ | |
|
57 | ||
|
58 | ||
|
59 | /* Component containers | |
|
60 | ----------------------------------*/ | |
|
61 | .ui-widget { font-family: Georgia, "Times New Roman", Times, serif; font-size: 1.2em; } | |
|
62 | .ui-widget .ui-widget { font-size: 1em; } | |
|
63 | .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Georgia, "Times New Roman", Times, serif; font-size: 1em; } | |
|
64 | .ui-widget-content { border: 1px solid #18181f; background: #18181f url(images/ui-bg_flat_100_18181f_40x100.png) 50% 50% repeat-x; color: #dfdfe3; } | |
|
65 | .ui-widget-content a { color: #fafafa; } | |
|
66 | .ui-widget-header { border: 1px solid #515161; background: #32323d url(images/ui-bg_highlight-soft_15_32323d_1x100.png) 50% 50% repeat-x; color: #f4f4f9; font-weight: bold; } | |
|
67 | .ui-widget-header a { color: #f4f4f9; } | |
|
68 | ||
|
69 | /* Interaction states | |
|
70 | ----------------------------------*/ | |
|
71 | .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #373740; background: #191921 url(images/ui-bg_highlight-soft_15_191921_1x100.png) 50% 50% repeat-x; font-weight: normal; color: #fafafa; } | |
|
72 | .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #fafafa; text-decoration: none; } | |
|
73 | .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #373740; background: #191921 url(images/ui-bg_highlight-soft_35_191921_1x100.png) 50% 50% repeat-x; font-weight: normal; color: #8fddff; } | |
|
74 | .ui-state-hover a, .ui-state-hover a:hover { color: #8fddff; text-decoration: none; } | |
|
75 | .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #373740; background: #191921 url(images/ui-bg_inset-soft_35_191921_1x100.png) 50% 50% repeat-x; font-weight: normal; color: #8fddff; } | |
|
76 | .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #8fddff; text-decoration: none; } | |
|
77 | .ui-widget :active { outline: none; } | |
|
78 | ||
|
79 | /* Interaction Cues | |
|
80 | ----------------------------------*/ | |
|
81 | .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #3d4858; background: #3d4858 url(images/ui-bg_flat_10_3d4858_40x100.png) 50% 50% repeat-x; color: #8fddff; } | |
|
82 | .ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #8fddff; } | |
|
83 | .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #583d3d; background: #583d3d url(images/ui-bg_flat_100_583d3d_40x100.png) 50% 50% repeat-x; color: #ff8f8f; } | |
|
84 | .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ff8f8f; } | |
|
85 | .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ff8f8f; } | |
|
86 | .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } | |
|
87 | .ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } | |
|
88 | .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } | |
|
89 | ||
|
90 | /* Icons | |
|
91 | ----------------------------------*/ | |
|
92 | ||
|
93 | /* states and images */ | |
|
94 | .ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_a1ddff_256x240.png); } | |
|
95 | .ui-widget-content .ui-icon {background-image: url(images/ui-icons_a1ddff_256x240.png); } | |
|
96 | .ui-widget-header .ui-icon {background-image: url(images/ui-icons_f4f4f9_256x240.png); } | |
|
97 | .ui-state-default .ui-icon { background-image: url(images/ui-icons_fafafa_256x240.png); } | |
|
98 | .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_8fddff_256x240.png); } | |
|
99 | .ui-state-active .ui-icon {background-image: url(images/ui-icons_8fddff_256x240.png); } | |
|
100 | .ui-state-highlight .ui-icon {background-image: url(images/ui-icons_8fddff_256x240.png); } | |
|
101 | .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ff8f8f_256x240.png); } | |
|
102 | ||
|
103 | /* positioning */ | |
|
104 | .ui-icon-carat-1-n { background-position: 0 0; } | |
|
105 | .ui-icon-carat-1-ne { background-position: -16px 0; } | |
|
106 | .ui-icon-carat-1-e { background-position: -32px 0; } | |
|
107 | .ui-icon-carat-1-se { background-position: -48px 0; } | |
|
108 | .ui-icon-carat-1-s { background-position: -64px 0; } | |
|
109 | .ui-icon-carat-1-sw { background-position: -80px 0; } | |
|
110 | .ui-icon-carat-1-w { background-position: -96px 0; } | |
|
111 | .ui-icon-carat-1-nw { background-position: -112px 0; } | |
|
112 | .ui-icon-carat-2-n-s { background-position: -128px 0; } | |
|
113 | .ui-icon-carat-2-e-w { background-position: -144px 0; } | |
|
114 | .ui-icon-triangle-1-n { background-position: 0 -16px; } | |
|
115 | .ui-icon-triangle-1-ne { background-position: -16px -16px; } | |
|
116 | .ui-icon-triangle-1-e { background-position: -32px -16px; } | |
|
117 | .ui-icon-triangle-1-se { background-position: -48px -16px; } | |
|
118 | .ui-icon-triangle-1-s { background-position: -64px -16px; } | |
|
119 | .ui-icon-triangle-1-sw { background-position: -80px -16px; } | |
|
120 | .ui-icon-triangle-1-w { background-position: -96px -16px; } | |
|
121 | .ui-icon-triangle-1-nw { background-position: -112px -16px; } | |
|
122 | .ui-icon-triangle-2-n-s { background-position: -128px -16px; } | |
|
123 | .ui-icon-triangle-2-e-w { background-position: -144px -16px; } | |
|
124 | .ui-icon-arrow-1-n { background-position: 0 -32px; } | |
|
125 | .ui-icon-arrow-1-ne { background-position: -16px -32px; } | |
|
126 | .ui-icon-arrow-1-e { background-position: -32px -32px; } | |
|
127 | .ui-icon-arrow-1-se { background-position: -48px -32px; } | |
|
128 | .ui-icon-arrow-1-s { background-position: -64px -32px; } | |
|
129 | .ui-icon-arrow-1-sw { background-position: -80px -32px; } | |
|
130 | .ui-icon-arrow-1-w { background-position: -96px -32px; } | |
|
131 | .ui-icon-arrow-1-nw { background-position: -112px -32px; } | |
|
132 | .ui-icon-arrow-2-n-s { background-position: -128px -32px; } | |
|
133 | .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } | |
|
134 | .ui-icon-arrow-2-e-w { background-position: -160px -32px; } | |
|
135 | .ui-icon-arrow-2-se-nw { background-position: -176px -32px; } | |
|
136 | .ui-icon-arrowstop-1-n { background-position: -192px -32px; } | |
|
137 | .ui-icon-arrowstop-1-e { background-position: -208px -32px; } | |
|
138 | .ui-icon-arrowstop-1-s { background-position: -224px -32px; } | |
|
139 | .ui-icon-arrowstop-1-w { background-position: -240px -32px; } | |
|
140 | .ui-icon-arrowthick-1-n { background-position: 0 -48px; } | |
|
141 | .ui-icon-arrowthick-1-ne { background-position: -16px -48px; } | |
|
142 | .ui-icon-arrowthick-1-e { background-position: -32px -48px; } | |
|
143 | .ui-icon-arrowthick-1-se { background-position: -48px -48px; } | |
|
144 | .ui-icon-arrowthick-1-s { background-position: -64px -48px; } | |
|
145 | .ui-icon-arrowthick-1-sw { background-position: -80px -48px; } | |
|
146 | .ui-icon-arrowthick-1-w { background-position: -96px -48px; } | |
|
147 | .ui-icon-arrowthick-1-nw { background-position: -112px -48px; } | |
|
148 | .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } | |
|
149 | .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } | |
|
150 | .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } | |
|
151 | .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } | |
|
152 | .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } | |
|
153 | .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } | |
|
154 | .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } | |
|
155 | .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } | |
|
156 | .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } | |
|
157 | .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } | |
|
158 | .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } | |
|
159 | .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } | |
|
160 | .ui-icon-arrowreturn-1-w { background-position: -64px -64px; } | |
|
161 | .ui-icon-arrowreturn-1-n { background-position: -80px -64px; } | |
|
162 | .ui-icon-arrowreturn-1-e { background-position: -96px -64px; } | |
|
163 | .ui-icon-arrowreturn-1-s { background-position: -112px -64px; } | |
|
164 | .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } | |
|
165 | .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } | |
|
166 | .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } | |
|
167 | .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } | |
|
168 | .ui-icon-arrow-4 { background-position: 0 -80px; } | |
|
169 | .ui-icon-arrow-4-diag { background-position: -16px -80px; } | |
|
170 | .ui-icon-extlink { background-position: -32px -80px; } | |
|
171 | .ui-icon-newwin { background-position: -48px -80px; } | |
|
172 | .ui-icon-refresh { background-position: -64px -80px; } | |
|
173 | .ui-icon-shuffle { background-position: -80px -80px; } | |
|
174 | .ui-icon-transfer-e-w { background-position: -96px -80px; } | |
|
175 | .ui-icon-transferthick-e-w { background-position: -112px -80px; } | |
|
176 | .ui-icon-folder-collapsed { background-position: 0 -96px; } | |
|
177 | .ui-icon-folder-open { background-position: -16px -96px; } | |
|
178 | .ui-icon-document { background-position: -32px -96px; } | |
|
179 | .ui-icon-document-b { background-position: -48px -96px; } | |
|
180 | .ui-icon-note { background-position: -64px -96px; } | |
|
181 | .ui-icon-mail-closed { background-position: -80px -96px; } | |
|
182 | .ui-icon-mail-open { background-position: -96px -96px; } | |
|
183 | .ui-icon-suitcase { background-position: -112px -96px; } | |
|
184 | .ui-icon-comment { background-position: -128px -96px; } | |
|
185 | .ui-icon-person { background-position: -144px -96px; } | |
|
186 | .ui-icon-print { background-position: -160px -96px; } | |
|
187 | .ui-icon-trash { background-position: -176px -96px; } | |
|
188 | .ui-icon-locked { background-position: -192px -96px; } | |
|
189 | .ui-icon-unlocked { background-position: -208px -96px; } | |
|
190 | .ui-icon-bookmark { background-position: -224px -96px; } | |
|
191 | .ui-icon-tag { background-position: -240px -96px; } | |
|
192 | .ui-icon-home { background-position: 0 -112px; } | |
|
193 | .ui-icon-flag { background-position: -16px -112px; } | |
|
194 | .ui-icon-calendar { background-position: -32px -112px; } | |
|
195 | .ui-icon-cart { background-position: -48px -112px; } | |
|
196 | .ui-icon-pencil { background-position: -64px -112px; } | |
|
197 | .ui-icon-clock { background-position: -80px -112px; } | |
|
198 | .ui-icon-disk { background-position: -96px -112px; } | |
|
199 | .ui-icon-calculator { background-position: -112px -112px; } | |
|
200 | .ui-icon-zoomin { background-position: -128px -112px; } | |
|
201 | .ui-icon-zoomout { background-position: -144px -112px; } | |
|
202 | .ui-icon-search { background-position: -160px -112px; } | |
|
203 | .ui-icon-wrench { background-position: -176px -112px; } | |
|
204 | .ui-icon-gear { background-position: -192px -112px; } | |
|
205 | .ui-icon-heart { background-position: -208px -112px; } | |
|
206 | .ui-icon-star { background-position: -224px -112px; } | |
|
207 | .ui-icon-link { background-position: -240px -112px; } | |
|
208 | .ui-icon-cancel { background-position: 0 -128px; } | |
|
209 | .ui-icon-plus { background-position: -16px -128px; } | |
|
210 | .ui-icon-plusthick { background-position: -32px -128px; } | |
|
211 | .ui-icon-minus { background-position: -48px -128px; } | |
|
212 | .ui-icon-minusthick { background-position: -64px -128px; } | |
|
213 | .ui-icon-close { background-position: -80px -128px; } | |
|
214 | .ui-icon-closethick { background-position: -96px -128px; } | |
|
215 | .ui-icon-key { background-position: -112px -128px; } | |
|
216 | .ui-icon-lightbulb { background-position: -128px -128px; } | |
|
217 | .ui-icon-scissors { background-position: -144px -128px; } | |
|
218 | .ui-icon-clipboard { background-position: -160px -128px; } | |
|
219 | .ui-icon-copy { background-position: -176px -128px; } | |
|
220 | .ui-icon-contact { background-position: -192px -128px; } | |
|
221 | .ui-icon-image { background-position: -208px -128px; } | |
|
222 | .ui-icon-video { background-position: -224px -128px; } | |
|
223 | .ui-icon-script { background-position: -240px -128px; } | |
|
224 | .ui-icon-alert { background-position: 0 -144px; } | |
|
225 | .ui-icon-info { background-position: -16px -144px; } | |
|
226 | .ui-icon-notice { background-position: -32px -144px; } | |
|
227 | .ui-icon-help { background-position: -48px -144px; } | |
|
228 | .ui-icon-check { background-position: -64px -144px; } | |
|
229 | .ui-icon-bullet { background-position: -80px -144px; } | |
|
230 | .ui-icon-radio-off { background-position: -96px -144px; } | |
|
231 | .ui-icon-radio-on { background-position: -112px -144px; } | |
|
232 | .ui-icon-pin-w { background-position: -128px -144px; } | |
|
233 | .ui-icon-pin-s { background-position: -144px -144px; } | |
|
234 | .ui-icon-play { background-position: 0 -160px; } | |
|
235 | .ui-icon-pause { background-position: -16px -160px; } | |
|
236 | .ui-icon-seek-next { background-position: -32px -160px; } | |
|
237 | .ui-icon-seek-prev { background-position: -48px -160px; } | |
|
238 | .ui-icon-seek-end { background-position: -64px -160px; } | |
|
239 | .ui-icon-seek-start { background-position: -80px -160px; } | |
|
240 | /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ | |
|
241 | .ui-icon-seek-first { background-position: -80px -160px; } | |
|
242 | .ui-icon-stop { background-position: -96px -160px; } | |
|
243 | .ui-icon-eject { background-position: -112px -160px; } | |
|
244 | .ui-icon-volume-off { background-position: -128px -160px; } | |
|
245 | .ui-icon-volume-on { background-position: -144px -160px; } | |
|
246 | .ui-icon-power { background-position: 0 -176px; } | |
|
247 | .ui-icon-signal-diag { background-position: -16px -176px; } | |
|
248 | .ui-icon-signal { background-position: -32px -176px; } | |
|
249 | .ui-icon-battery-0 { background-position: -48px -176px; } | |
|
250 | .ui-icon-battery-1 { background-position: -64px -176px; } | |
|
251 | .ui-icon-battery-2 { background-position: -80px -176px; } | |
|
252 | .ui-icon-battery-3 { background-position: -96px -176px; } | |
|
253 | .ui-icon-circle-plus { background-position: 0 -192px; } | |
|
254 | .ui-icon-circle-minus { background-position: -16px -192px; } | |
|
255 | .ui-icon-circle-close { background-position: -32px -192px; } | |
|
256 | .ui-icon-circle-triangle-e { background-position: -48px -192px; } | |
|
257 | .ui-icon-circle-triangle-s { background-position: -64px -192px; } | |
|
258 | .ui-icon-circle-triangle-w { background-position: -80px -192px; } | |
|
259 | .ui-icon-circle-triangle-n { background-position: -96px -192px; } | |
|
260 | .ui-icon-circle-arrow-e { background-position: -112px -192px; } | |
|
261 | .ui-icon-circle-arrow-s { background-position: -128px -192px; } | |
|
262 | .ui-icon-circle-arrow-w { background-position: -144px -192px; } | |
|
263 | .ui-icon-circle-arrow-n { background-position: -160px -192px; } | |
|
264 | .ui-icon-circle-zoomin { background-position: -176px -192px; } | |
|
265 | .ui-icon-circle-zoomout { background-position: -192px -192px; } | |
|
266 | .ui-icon-circle-check { background-position: -208px -192px; } | |
|
267 | .ui-icon-circlesmall-plus { background-position: 0 -208px; } | |
|
268 | .ui-icon-circlesmall-minus { background-position: -16px -208px; } | |
|
269 | .ui-icon-circlesmall-close { background-position: -32px -208px; } | |
|
270 | .ui-icon-squaresmall-plus { background-position: -48px -208px; } | |
|
271 | .ui-icon-squaresmall-minus { background-position: -64px -208px; } | |
|
272 | .ui-icon-squaresmall-close { background-position: -80px -208px; } | |
|
273 | .ui-icon-grip-dotted-vertical { background-position: 0 -224px; } | |
|
274 | .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } | |
|
275 | .ui-icon-grip-solid-vertical { background-position: -32px -224px; } | |
|
276 | .ui-icon-grip-solid-horizontal { background-position: -48px -224px; } | |
|
277 | .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } | |
|
278 | .ui-icon-grip-diagonal-se { background-position: -80px -224px; } | |
|
279 | ||
|
280 | ||
|
281 | /* Misc visuals | |
|
282 | ----------------------------------*/ | |
|
283 | ||
|
284 | /* Corner radius */ | |
|
285 | .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; } | |
|
286 | .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; } | |
|
287 | .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; } | |
|
288 | .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } | |
|
289 | .ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; } | |
|
290 | .ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } | |
|
291 | .ui-corner-right { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } | |
|
292 | .ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; } | |
|
293 | .ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; } | |
|
294 | ||
|
295 | /* Overlays */ | |
|
296 | .ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); } | |
|
297 | .ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/* | |
|
298 | * jQuery UI Resizable 1.8.6 | |
|
299 | * | |
|
300 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
301 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
302 | * http://jquery.org/license | |
|
303 | * | |
|
304 | * http://docs.jquery.com/UI/Resizable#theming | |
|
305 | */ | |
|
306 | .ui-resizable { position: relative;} | |
|
307 | .ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;} | |
|
308 | .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } | |
|
309 | .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } | |
|
310 | .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } | |
|
311 | .ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; } | |
|
312 | .ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; } | |
|
313 | .ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } | |
|
314 | .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } | |
|
315 | .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } | |
|
316 | .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* | |
|
317 | * jQuery UI Selectable 1.8.6 | |
|
318 | * | |
|
319 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
320 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
321 | * http://jquery.org/license | |
|
322 | * | |
|
323 | * http://docs.jquery.com/UI/Selectable#theming | |
|
324 | */ | |
|
325 | .ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; } | |
|
326 | /* | |
|
327 | * jQuery UI Accordion 1.8.6 | |
|
328 | * | |
|
329 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
330 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
331 | * http://jquery.org/license | |
|
332 | * | |
|
333 | * http://docs.jquery.com/UI/Accordion#theming | |
|
334 | */ | |
|
335 | /* IE/Win - Fix animation bug - #4615 */ | |
|
336 | .ui-accordion { width: 100%; } | |
|
337 | .ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; } | |
|
338 | .ui-accordion .ui-accordion-li-fix { display: inline; } | |
|
339 | .ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; } | |
|
340 | .ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; } | |
|
341 | .ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; } | |
|
342 | .ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } | |
|
343 | .ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; } | |
|
344 | .ui-accordion .ui-accordion-content-active { display: block; }/* | |
|
345 | * jQuery UI Autocomplete 1.8.6 | |
|
346 | * | |
|
347 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
348 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
349 | * http://jquery.org/license | |
|
350 | * | |
|
351 | * http://docs.jquery.com/UI/Autocomplete#theming | |
|
352 | */ | |
|
353 | .ui-autocomplete { position: absolute; cursor: default; } | |
|
354 | ||
|
355 | /* workarounds */ | |
|
356 | * html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ | |
|
357 | ||
|
358 | /* | |
|
359 | * jQuery UI Menu 1.8.6 | |
|
360 | * | |
|
361 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
362 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
363 | * http://jquery.org/license | |
|
364 | * | |
|
365 | * http://docs.jquery.com/UI/Menu#theming | |
|
366 | */ | |
|
367 | .ui-menu { | |
|
368 | list-style:none; | |
|
369 | padding: 2px; | |
|
370 | margin: 0; | |
|
371 | display:block; | |
|
372 | float: left; | |
|
373 | } | |
|
374 | .ui-menu .ui-menu { | |
|
375 | margin-top: -3px; | |
|
376 | } | |
|
377 | .ui-menu .ui-menu-item { | |
|
378 | margin:0; | |
|
379 | padding: 0; | |
|
380 | zoom: 1; | |
|
381 | float: left; | |
|
382 | clear: left; | |
|
383 | width: 100%; | |
|
384 | } | |
|
385 | .ui-menu .ui-menu-item a { | |
|
386 | text-decoration:none; | |
|
387 | display:block; | |
|
388 | padding:.2em .4em; | |
|
389 | line-height:1.5; | |
|
390 | zoom:1; | |
|
391 | } | |
|
392 | .ui-menu .ui-menu-item a.ui-state-hover, | |
|
393 | .ui-menu .ui-menu-item a.ui-state-active { | |
|
394 | font-weight: normal; | |
|
395 | margin: -1px; | |
|
396 | } | |
|
397 | /* | |
|
398 | * jQuery UI Button 1.8.6 | |
|
399 | * | |
|
400 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
401 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
402 | * http://jquery.org/license | |
|
403 | * | |
|
404 | * http://docs.jquery.com/UI/Button#theming | |
|
405 | */ | |
|
406 | .ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */ | |
|
407 | .ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */ | |
|
408 | button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */ | |
|
409 | .ui-button-icons-only { width: 3.4em; } | |
|
410 | button.ui-button-icons-only { width: 3.7em; } | |
|
411 | ||
|
412 | /*button text element */ | |
|
413 | .ui-button .ui-button-text { display: block; line-height: 1.4; } | |
|
414 | .ui-button-text-only .ui-button-text { padding: .4em 1em; } | |
|
415 | .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; } | |
|
416 | .ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; } | |
|
417 | .ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; } | |
|
418 | .ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; } | |
|
419 | /* no icon support for input elements, provide padding by default */ | |
|
420 | input.ui-button { padding: .4em 1em; } | |
|
421 | ||
|
422 | /*button icon element(s) */ | |
|
423 | .ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; } | |
|
424 | .ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; } | |
|
425 | .ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; } | |
|
426 | .ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } | |
|
427 | .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } | |
|
428 | ||
|
429 | /*button sets*/ | |
|
430 | .ui-buttonset { margin-right: 7px; } | |
|
431 | .ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; } | |
|
432 | ||
|
433 | /* workarounds */ | |
|
434 | button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */ | |
|
435 | /* | |
|
436 | * jQuery UI Dialog 1.8.6 | |
|
437 | * | |
|
438 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
439 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
440 | * http://jquery.org/license | |
|
441 | * | |
|
442 | * http://docs.jquery.com/UI/Dialog#theming | |
|
443 | */ | |
|
444 | .ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; } | |
|
445 | .ui-dialog .ui-dialog-titlebar { padding: .5em 1em .3em; position: relative; } | |
|
446 | .ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .2em 0; } | |
|
447 | .ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } | |
|
448 | .ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } | |
|
449 | .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } | |
|
450 | .ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } | |
|
451 | .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } | |
|
452 | .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; } | |
|
453 | .ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; } | |
|
454 | .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } | |
|
455 | .ui-draggable .ui-dialog-titlebar { cursor: move; } | |
|
456 | /* | |
|
457 | * jQuery UI Slider 1.8.6 | |
|
458 | * | |
|
459 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
460 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
461 | * http://jquery.org/license | |
|
462 | * | |
|
463 | * http://docs.jquery.com/UI/Slider#theming | |
|
464 | */ | |
|
465 | .ui-slider { position: relative; text-align: left; } | |
|
466 | .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } | |
|
467 | .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; } | |
|
468 | ||
|
469 | .ui-slider-horizontal { height: .8em; } | |
|
470 | .ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } | |
|
471 | .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } | |
|
472 | .ui-slider-horizontal .ui-slider-range-min { left: 0; } | |
|
473 | .ui-slider-horizontal .ui-slider-range-max { right: 0; } | |
|
474 | ||
|
475 | .ui-slider-vertical { width: .8em; height: 100px; } | |
|
476 | .ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } | |
|
477 | .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } | |
|
478 | .ui-slider-vertical .ui-slider-range-min { bottom: 0; } | |
|
479 | .ui-slider-vertical .ui-slider-range-max { top: 0; }/* | |
|
480 | * jQuery UI Tabs 1.8.6 | |
|
481 | * | |
|
482 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
483 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
484 | * http://jquery.org/license | |
|
485 | * | |
|
486 | * http://docs.jquery.com/UI/Tabs#theming | |
|
487 | */ | |
|
488 | .ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ | |
|
489 | .ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } | |
|
490 | .ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; } | |
|
491 | .ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; } | |
|
492 | .ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; } | |
|
493 | .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } | |
|
494 | .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ | |
|
495 | .ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } | |
|
496 | .ui-tabs .ui-tabs-hide { display: none !important; } | |
|
497 | /* | |
|
498 | * jQuery UI Datepicker 1.8.6 | |
|
499 | * | |
|
500 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
501 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
502 | * http://jquery.org/license | |
|
503 | * | |
|
504 | * http://docs.jquery.com/UI/Datepicker#theming | |
|
505 | */ | |
|
506 | .ui-datepicker { width: 17em; padding: .2em .2em 0; } | |
|
507 | .ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } | |
|
508 | .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } | |
|
509 | .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; } | |
|
510 | .ui-datepicker .ui-datepicker-prev { left:2px; } | |
|
511 | .ui-datepicker .ui-datepicker-next { right:2px; } | |
|
512 | .ui-datepicker .ui-datepicker-prev-hover { left:1px; } | |
|
513 | .ui-datepicker .ui-datepicker-next-hover { right:1px; } | |
|
514 | .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } | |
|
515 | .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } | |
|
516 | .ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; } | |
|
517 | .ui-datepicker select.ui-datepicker-month-year {width: 100%;} | |
|
518 | .ui-datepicker select.ui-datepicker-month, | |
|
519 | .ui-datepicker select.ui-datepicker-year { width: 49%;} | |
|
520 | .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } | |
|
521 | .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } | |
|
522 | .ui-datepicker td { border: 0; padding: 1px; } | |
|
523 | .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } | |
|
524 | .ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } | |
|
525 | .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } | |
|
526 | .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } | |
|
527 | ||
|
528 | /* with multiple calendars */ | |
|
529 | .ui-datepicker.ui-datepicker-multi { width:auto; } | |
|
530 | .ui-datepicker-multi .ui-datepicker-group { float:left; } | |
|
531 | .ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } | |
|
532 | .ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } | |
|
533 | .ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } | |
|
534 | .ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } | |
|
535 | .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } | |
|
536 | .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } | |
|
537 | .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } | |
|
538 | .ui-datepicker-row-break { clear:both; width:100%; } | |
|
539 | ||
|
540 | /* RTL support */ | |
|
541 | .ui-datepicker-rtl { direction: rtl; } | |
|
542 | .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } | |
|
543 | .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } | |
|
544 | .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } | |
|
545 | .ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } | |
|
546 | .ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } | |
|
547 | .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } | |
|
548 | .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } | |
|
549 | .ui-datepicker-rtl .ui-datepicker-group { float:right; } | |
|
550 | .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } | |
|
551 | .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } | |
|
552 | ||
|
553 | /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ | |
|
554 | .ui-datepicker-cover { | |
|
555 | display: none; /*sorry for IE5*/ | |
|
556 | display/**/: block; /*sorry for IE5*/ | |
|
557 | position: absolute; /*must have*/ | |
|
558 | z-index: -1; /*must have*/ | |
|
559 | filter: mask(); /*must have*/ | |
|
560 | top: -4px; /*must have*/ | |
|
561 | left: -4px; /*must have*/ | |
|
562 | width: 200px; /*must have*/ | |
|
563 | height: 200px; /*must have*/ | |
|
564 | }/* | |
|
565 | * jQuery UI Progressbar 1.8.6 | |
|
566 | * | |
|
567 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
568 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
569 | * http://jquery.org/license | |
|
570 | * | |
|
571 | * http://docs.jquery.com/UI/Progressbar#theming | |
|
572 | */ | |
|
573 | .ui-progressbar { height:2em; text-align: left; } | |
|
574 | .ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; } |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
This diff has been collapsed as it changes many lines, (2312 lines changed) Show them Hide them | |||
@@ -0,0 +1,2312 b'' | |||
|
1 | /* | |
|
2 | * | |
|
3 | * Wijmo Rocket Theme | |
|
4 | * http://wijmo.com/ | |
|
5 | * | |
|
6 | * Copyright(c) ComponentOne, LLC. All rights reserved. | |
|
7 | * | |
|
8 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
9 | * licensing@wijmo.com | |
|
10 | * http://wijmo.com/license | |
|
11 | * | |
|
12 | * | |
|
13 | */ | |
|
14 | ||
|
15 | /* Layout helpers | |
|
16 | ----------------------------------*/ | |
|
17 | .ui-helper-hidden | |
|
18 | { | |
|
19 | display: none; | |
|
20 | } | |
|
21 | .ui-helper-hidden-accessible | |
|
22 | { | |
|
23 | position: absolute !important; | |
|
24 | clip: rect(1px 1px 1px 1px); | |
|
25 | clip: rect(1px,1px,1px,1px); | |
|
26 | } | |
|
27 | .ui-helper-reset | |
|
28 | { | |
|
29 | margin: 0; | |
|
30 | padding: 0; | |
|
31 | border: 0; | |
|
32 | outline: 0; | |
|
33 | line-height: 1.3; | |
|
34 | text-decoration: none; | |
|
35 | font-size: 100%; | |
|
36 | list-style: none; | |
|
37 | } | |
|
38 | .ui-helper-clearfix:after | |
|
39 | { | |
|
40 | content: "."; | |
|
41 | display: block; | |
|
42 | height: 0; | |
|
43 | clear: both; | |
|
44 | visibility: hidden; | |
|
45 | } | |
|
46 | .ui-helper-clearfix | |
|
47 | { | |
|
48 | display: inline-block; | |
|
49 | } | |
|
50 | /* required comment for clearfix to work in Opera \*/ | |
|
51 | * html .ui-helper-clearfix | |
|
52 | { | |
|
53 | height: 1%; | |
|
54 | } | |
|
55 | .ui-helper-clearfix | |
|
56 | { | |
|
57 | display: block; | |
|
58 | } | |
|
59 | /* end clearfix */ | |
|
60 | .ui-helper-zfix | |
|
61 | { | |
|
62 | width: 100%; | |
|
63 | height: 100%; | |
|
64 | top: 0; | |
|
65 | left: 0; | |
|
66 | position: absolute; | |
|
67 | opacity: 0; | |
|
68 | filter: Alpha(Opacity=0); | |
|
69 | } | |
|
70 | ||
|
71 | ||
|
72 | /* Interaction Cues | |
|
73 | ----------------------------------*/ | |
|
74 | .ui-state-disabled | |
|
75 | { | |
|
76 | cursor: default !important; | |
|
77 | } | |
|
78 | ||
|
79 | ||
|
80 | /* Icons | |
|
81 | ----------------------------------*/ | |
|
82 | ||
|
83 | /* states and images */ | |
|
84 | .ui-icon | |
|
85 | { | |
|
86 | display: block; | |
|
87 | text-indent: -99999px; | |
|
88 | overflow: hidden; | |
|
89 | background-repeat: no-repeat; | |
|
90 | } | |
|
91 | ||
|
92 | ||
|
93 | /* Misc visuals | |
|
94 | ----------------------------------*/ | |
|
95 | ||
|
96 | /* Overlays */ | |
|
97 | .ui-widget-overlay | |
|
98 | { | |
|
99 | position: absolute; | |
|
100 | top: 0; | |
|
101 | left: 0; | |
|
102 | width: 100%; | |
|
103 | height: 100%; | |
|
104 | } | |
|
105 | ||
|
106 | ||
|
107 | /* | |
|
108 | * jQuery UI CSS Framework 1.8.7 | |
|
109 | * | |
|
110 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
111 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
112 | * http://jquery.org/license | |
|
113 | * | |
|
114 | * http://docs.jquery.com/UI/Theming/API | |
|
115 | * | |
|
116 | * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Arial,%20Helvetica,%20sans-serif&fwDefault=normal&fsDefault=1.2em&cornerRadius=4px&bgColorHeader=242122&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=15&borderColorHeader=404040&fcHeader=f4f4f9&iconColorHeader=f4f4f9&bgColorContent=f1f1f1&bgTextureContent=01_flat.png&bgImgOpacityContent=100&borderColorContent=e3e3e3&fcContent=404040&iconColorContent=00a6dd&bgColorDefault=242122&bgTextureDefault=03_highlight_soft.png&bgImgOpacityDefault=15&borderColorDefault=404040&fcDefault=fafafa&iconColorDefault=00a6dd&bgColorHover=00a6dd&bgTextureHover=03_highlight_soft.png&bgImgOpacityHover=35&borderColorHover=00a6dd&fcHover=fafafa&iconColorHover=fafafa&bgColorActive=242122&bgTextureActive=05_inset_soft.png&bgImgOpacityActive=15&borderColorActive=404040&fcActive=f1f1f1&iconColorActive=00a6dd&bgColorHighlight=9eca38&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=15&borderColorHighlight=9eca38&fcHighlight=eaffb9&iconColorHighlight=eaffb9&bgColorError=ca3838&bgTextureError=03_highlight_soft.png&bgImgOpacityError=15&borderColorError=ca3838&fcError=ff8f8f&iconColorError=ff8f8f&bgColorOverlay=00a6dd&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=50&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px | |
|
117 | */ | |
|
118 | ||
|
119 | ||
|
120 | /* Component containers | |
|
121 | ----------------------------------*/ | |
|
122 | .ui-widget | |
|
123 | { | |
|
124 | font-family: Arial, Helvetica, sans-serif; | |
|
125 | font-size: 1.2em; | |
|
126 | } | |
|
127 | .ui-widget .ui-widget | |
|
128 | { | |
|
129 | font-size: 1em; | |
|
130 | } | |
|
131 | .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button | |
|
132 | { | |
|
133 | font-family: Arial, Helvetica, sans-serif; | |
|
134 | font-size: 1em; | |
|
135 | } | |
|
136 | .ui-widget-content | |
|
137 | { | |
|
138 | border: 1px solid #e3e3e3; | |
|
139 | background: #f1f1f1 url(images/ui-bg_flat_100_f1f1f1_40x100.png) 50% 50% repeat-x; | |
|
140 | color: #404040; | |
|
141 | } | |
|
142 | .ui-widget-content a | |
|
143 | { | |
|
144 | color: #404040; | |
|
145 | } | |
|
146 | .ui-widget-header | |
|
147 | { | |
|
148 | border: 1px solid #404040; | |
|
149 | background: #242122 url(images/ui-bg_highlight-soft_15_242122_1x100.png) 50% 50% repeat-x; | |
|
150 | color: #f4f4f9; | |
|
151 | font-weight: bold; | |
|
152 | } | |
|
153 | .ui-widget-header a | |
|
154 | { | |
|
155 | color: #f4f4f9; | |
|
156 | } | |
|
157 | ||
|
158 | /* Interaction states | |
|
159 | ----------------------------------*/ | |
|
160 | .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default | |
|
161 | { | |
|
162 | -moz-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.05); | |
|
163 | -webkit-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.05); | |
|
164 | box-shadow: inset 1px 1px 0 rgba(255,255,255,0.05); | |
|
165 | border: 1px solid #404040; | |
|
166 | background: #242122 url(images/ui-bg_highlight-soft_15_242122_1x100.png) 50% 50% repeat-x; | |
|
167 | font-weight: normal; | |
|
168 | color: #fafafa; | |
|
169 | } | |
|
170 | .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited | |
|
171 | { | |
|
172 | color: #fafafa; | |
|
173 | text-decoration: none; | |
|
174 | } | |
|
175 | .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus | |
|
176 | { | |
|
177 | -moz-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.15); | |
|
178 | -webkit-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.15); | |
|
179 | box-shadow: inset 1px 1px 0 rgba(255,255,255,0.15); | |
|
180 | border: 1px solid #00a6dd; | |
|
181 | background: #00a6dd url(images/ui-bg_highlight-soft_35_00a6dd_1x100.png) 50% 50% repeat-x; | |
|
182 | font-weight: normal; | |
|
183 | color: #fafafa; | |
|
184 | } | |
|
185 | .ui-state-hover a, .ui-state-hover a:hover | |
|
186 | { | |
|
187 | color: #fafafa; | |
|
188 | text-decoration: none; | |
|
189 | } | |
|
190 | .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active | |
|
191 | { | |
|
192 | -moz-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.15); | |
|
193 | -webkit-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.15); | |
|
194 | box-shadow: inset 1px 1px 0 rgba(255,255,255,0.15); | |
|
195 | border: 1px solid transparent; | |
|
196 | background: #606154 url(images/ui-bg_highlight-soft_15_333333_1x100.png) top repeat-x; | |
|
197 | font-weight: normal; | |
|
198 | color: #fafafa; | |
|
199 | } | |
|
200 | .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited | |
|
201 | { | |
|
202 | color: #fafafa; | |
|
203 | text-decoration: none; | |
|
204 | } | |
|
205 | .ui-widget :active | |
|
206 | { | |
|
207 | outline: none; | |
|
208 | } | |
|
209 | ||
|
210 | /* Interaction Cues | |
|
211 | ----------------------------------*/ | |
|
212 | .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight | |
|
213 | { | |
|
214 | background: #9eca38 url(images/ui-bg_highlight-soft_15_9eca38_1x100.png) 50% 50% repeat-x; | |
|
215 | border: 1px solid #9eca38; | |
|
216 | color: #304915; | |
|
217 | -moz-box-shadow: inset 0px 1px 0 rgba(255,255,255,0.15); | |
|
218 | -webkit-box-shadow: inset 0px 1px 0 rgba(255,255,255,0.15); | |
|
219 | box-shadow: inset 0px 1px 0 rgba(255,255,255,0.15); | |
|
220 | text-shadow: 1px 1px 0 rgba(255,255,255,0.50); | |
|
221 | } | |
|
222 | .ui-state-highlight a, .ui-widget-content .ui-state-highlight a, .ui-widget-header .ui-state-highlight a | |
|
223 | { | |
|
224 | color: #eaffb9; | |
|
225 | } | |
|
226 | .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error | |
|
227 | { | |
|
228 | border: 1px solid #ca3838; | |
|
229 | background: #ca3838 url(images/ui-bg_highlight-soft_15_ca3838_1x100.png) 50% top repeat-x; | |
|
230 | color: #fafafa; | |
|
231 | -moz-box-shadow: inset 0px 1px 0 rgba(255,255,255,0.15); | |
|
232 | -webkit-box-shadow: inset 0px 1px 0 rgba(255,255,255,0.15); | |
|
233 | box-shadow: inset 0px 1px 0 rgba(255,255,255,0.15); | |
|
234 | } | |
|
235 | .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a | |
|
236 | { | |
|
237 | color: #ff8f8f; | |
|
238 | } | |
|
239 | .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text | |
|
240 | { | |
|
241 | color: #ff8f8f; | |
|
242 | } | |
|
243 | .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary | |
|
244 | { | |
|
245 | font-weight: bold; | |
|
246 | } | |
|
247 | .ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary | |
|
248 | { | |
|
249 | opacity: .7; | |
|
250 | filter: Alpha(Opacity=70); | |
|
251 | font-weight: normal; | |
|
252 | } | |
|
253 | .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled | |
|
254 | { | |
|
255 | opacity: .35; | |
|
256 | filter: Alpha(Opacity=35); | |
|
257 | background-image: none; | |
|
258 | } | |
|
259 | ||
|
260 | /* Icons | |
|
261 | ----------------------------------*/ | |
|
262 | ||
|
263 | /* states and images */ | |
|
264 | .ui-icon | |
|
265 | { | |
|
266 | width: 16px; | |
|
267 | height: 16px; | |
|
268 | background-image: url(images/ui-icons_00a6dd_256x240.png); | |
|
269 | } | |
|
270 | .ui-widget-content .ui-icon | |
|
271 | { | |
|
272 | background-image: url(images/ui-icons_00a6dd_256x240.png); | |
|
273 | } | |
|
274 | .ui-widget-header .ui-icon | |
|
275 | { | |
|
276 | background-image: url(images/ui-icons_f4f4f9_256x240.png); | |
|
277 | } | |
|
278 | .ui-state-default .ui-icon | |
|
279 | { | |
|
280 | background-image: url(images/ui-icons_00a6dd_256x240.png); | |
|
281 | } | |
|
282 | .ui-state-hover .ui-icon, .ui-state-focus .ui-icon | |
|
283 | { | |
|
284 | background-image: url(images/ui-icons_fafafa_256x240.png); | |
|
285 | } | |
|
286 | .ui-state-active .ui-icon | |
|
287 | { | |
|
288 | background-image: url(images/ui-icons_00a6dd_256x240.png); | |
|
289 | } | |
|
290 | .ui-state-highlight .ui-icon | |
|
291 | { | |
|
292 | background-image: url(images/ui-icons_304915_256x240.png); | |
|
293 | } | |
|
294 | .ui-state-error .ui-icon, .ui-state-error-text .ui-icon | |
|
295 | { | |
|
296 | background-image: url(images/ui-icons_ff8f8f_256x240.png); | |
|
297 | } | |
|
298 | ||
|
299 | /* positioning */ | |
|
300 | .ui-icon-carat-1-n | |
|
301 | { | |
|
302 | background-position: 0 0; | |
|
303 | } | |
|
304 | .ui-icon-carat-1-ne | |
|
305 | { | |
|
306 | background-position: -16px 0; | |
|
307 | } | |
|
308 | .ui-icon-carat-1-e | |
|
309 | { | |
|
310 | background-position: -32px 0; | |
|
311 | } | |
|
312 | .ui-icon-carat-1-se | |
|
313 | { | |
|
314 | background-position: -48px 0; | |
|
315 | } | |
|
316 | .ui-icon-carat-1-s | |
|
317 | { | |
|
318 | background-position: -64px 0; | |
|
319 | } | |
|
320 | .ui-icon-carat-1-sw | |
|
321 | { | |
|
322 | background-position: -80px 0; | |
|
323 | } | |
|
324 | .ui-icon-carat-1-w | |
|
325 | { | |
|
326 | background-position: -96px 0; | |
|
327 | } | |
|
328 | .ui-icon-carat-1-nw | |
|
329 | { | |
|
330 | background-position: -112px 0; | |
|
331 | } | |
|
332 | .ui-icon-carat-2-n-s | |
|
333 | { | |
|
334 | background-position: -128px 0; | |
|
335 | } | |
|
336 | .ui-icon-carat-2-e-w | |
|
337 | { | |
|
338 | background-position: -144px 0; | |
|
339 | } | |
|
340 | .ui-icon-triangle-1-n | |
|
341 | { | |
|
342 | background-position: 0 -16px; | |
|
343 | } | |
|
344 | .ui-icon-triangle-1-ne | |
|
345 | { | |
|
346 | background-position: -16px -16px; | |
|
347 | } | |
|
348 | .ui-icon-triangle-1-e | |
|
349 | { | |
|
350 | background-position: -32px -16px; | |
|
351 | } | |
|
352 | .ui-icon-triangle-1-se | |
|
353 | { | |
|
354 | background-position: -48px -16px; | |
|
355 | } | |
|
356 | .ui-icon-triangle-1-s | |
|
357 | { | |
|
358 | background-position: -64px -16px; | |
|
359 | } | |
|
360 | .ui-icon-triangle-1-sw | |
|
361 | { | |
|
362 | background-position: -80px -16px; | |
|
363 | } | |
|
364 | .ui-icon-triangle-1-w | |
|
365 | { | |
|
366 | background-position: -96px -16px; | |
|
367 | } | |
|
368 | .ui-icon-triangle-1-nw | |
|
369 | { | |
|
370 | background-position: -112px -16px; | |
|
371 | } | |
|
372 | .ui-icon-triangle-2-n-s | |
|
373 | { | |
|
374 | background-position: -128px -16px; | |
|
375 | } | |
|
376 | .ui-icon-triangle-2-e-w | |
|
377 | { | |
|
378 | background-position: -144px -16px; | |
|
379 | } | |
|
380 | .ui-icon-arrow-1-n | |
|
381 | { | |
|
382 | background-position: 0 -32px; | |
|
383 | } | |
|
384 | .ui-icon-arrow-1-ne | |
|
385 | { | |
|
386 | background-position: -16px -32px; | |
|
387 | } | |
|
388 | .ui-icon-arrow-1-e | |
|
389 | { | |
|
390 | background-position: -32px -32px; | |
|
391 | } | |
|
392 | .ui-icon-arrow-1-se | |
|
393 | { | |
|
394 | background-position: -48px -32px; | |
|
395 | } | |
|
396 | .ui-icon-arrow-1-s | |
|
397 | { | |
|
398 | background-position: -64px -32px; | |
|
399 | } | |
|
400 | .ui-icon-arrow-1-sw | |
|
401 | { | |
|
402 | background-position: -80px -32px; | |
|
403 | } | |
|
404 | .ui-icon-arrow-1-w | |
|
405 | { | |
|
406 | background-position: -96px -32px; | |
|
407 | } | |
|
408 | .ui-icon-arrow-1-nw | |
|
409 | { | |
|
410 | background-position: -112px -32px; | |
|
411 | } | |
|
412 | .ui-icon-arrow-2-n-s | |
|
413 | { | |
|
414 | background-position: -128px -32px; | |
|
415 | } | |
|
416 | .ui-icon-arrow-2-ne-sw | |
|
417 | { | |
|
418 | background-position: -144px -32px; | |
|
419 | } | |
|
420 | .ui-icon-arrow-2-e-w | |
|
421 | { | |
|
422 | background-position: -160px -32px; | |
|
423 | } | |
|
424 | .ui-icon-arrow-2-se-nw | |
|
425 | { | |
|
426 | background-position: -176px -32px; | |
|
427 | } | |
|
428 | .ui-icon-arrowstop-1-n | |
|
429 | { | |
|
430 | background-position: -192px -32px; | |
|
431 | } | |
|
432 | .ui-icon-arrowstop-1-e | |
|
433 | { | |
|
434 | background-position: -208px -32px; | |
|
435 | } | |
|
436 | .ui-icon-arrowstop-1-s | |
|
437 | { | |
|
438 | background-position: -224px -32px; | |
|
439 | } | |
|
440 | .ui-icon-arrowstop-1-w | |
|
441 | { | |
|
442 | background-position: -240px -32px; | |
|
443 | } | |
|
444 | .ui-icon-arrowthick-1-n | |
|
445 | { | |
|
446 | background-position: 0 -48px; | |
|
447 | } | |
|
448 | .ui-icon-arrowthick-1-ne | |
|
449 | { | |
|
450 | background-position: -16px -48px; | |
|
451 | } | |
|
452 | .ui-icon-arrowthick-1-e | |
|
453 | { | |
|
454 | background-position: -32px -48px; | |
|
455 | } | |
|
456 | .ui-icon-arrowthick-1-se | |
|
457 | { | |
|
458 | background-position: -48px -48px; | |
|
459 | } | |
|
460 | .ui-icon-arrowthick-1-s | |
|
461 | { | |
|
462 | background-position: -64px -48px; | |
|
463 | } | |
|
464 | .ui-icon-arrowthick-1-sw | |
|
465 | { | |
|
466 | background-position: -80px -48px; | |
|
467 | } | |
|
468 | .ui-icon-arrowthick-1-w | |
|
469 | { | |
|
470 | background-position: -96px -48px; | |
|
471 | } | |
|
472 | .ui-icon-arrowthick-1-nw | |
|
473 | { | |
|
474 | background-position: -112px -48px; | |
|
475 | } | |
|
476 | .ui-icon-arrowthick-2-n-s | |
|
477 | { | |
|
478 | background-position: -128px -48px; | |
|
479 | } | |
|
480 | .ui-icon-arrowthick-2-ne-sw | |
|
481 | { | |
|
482 | background-position: -144px -48px; | |
|
483 | } | |
|
484 | .ui-icon-arrowthick-2-e-w | |
|
485 | { | |
|
486 | background-position: -160px -48px; | |
|
487 | } | |
|
488 | .ui-icon-arrowthick-2-se-nw | |
|
489 | { | |
|
490 | background-position: -176px -48px; | |
|
491 | } | |
|
492 | .ui-icon-arrowthickstop-1-n | |
|
493 | { | |
|
494 | background-position: -192px -48px; | |
|
495 | } | |
|
496 | .ui-icon-arrowthickstop-1-e | |
|
497 | { | |
|
498 | background-position: -208px -48px; | |
|
499 | } | |
|
500 | .ui-icon-arrowthickstop-1-s | |
|
501 | { | |
|
502 | background-position: -224px -48px; | |
|
503 | } | |
|
504 | .ui-icon-arrowthickstop-1-w | |
|
505 | { | |
|
506 | background-position: -240px -48px; | |
|
507 | } | |
|
508 | .ui-icon-arrowreturnthick-1-w | |
|
509 | { | |
|
510 | background-position: 0 -64px; | |
|
511 | } | |
|
512 | .ui-icon-arrowreturnthick-1-n | |
|
513 | { | |
|
514 | background-position: -16px -64px; | |
|
515 | } | |
|
516 | .ui-icon-arrowreturnthick-1-e | |
|
517 | { | |
|
518 | background-position: -32px -64px; | |
|
519 | } | |
|
520 | .ui-icon-arrowreturnthick-1-s | |
|
521 | { | |
|
522 | background-position: -48px -64px; | |
|
523 | } | |
|
524 | .ui-icon-arrowreturn-1-w | |
|
525 | { | |
|
526 | background-position: -64px -64px; | |
|
527 | } | |
|
528 | .ui-icon-arrowreturn-1-n | |
|
529 | { | |
|
530 | background-position: -80px -64px; | |
|
531 | } | |
|
532 | .ui-icon-arrowreturn-1-e | |
|
533 | { | |
|
534 | background-position: -96px -64px; | |
|
535 | } | |
|
536 | .ui-icon-arrowreturn-1-s | |
|
537 | { | |
|
538 | background-position: -112px -64px; | |
|
539 | } | |
|
540 | .ui-icon-arrowrefresh-1-w | |
|
541 | { | |
|
542 | background-position: -128px -64px; | |
|
543 | } | |
|
544 | .ui-icon-arrowrefresh-1-n | |
|
545 | { | |
|
546 | background-position: -144px -64px; | |
|
547 | } | |
|
548 | .ui-icon-arrowrefresh-1-e | |
|
549 | { | |
|
550 | background-position: -160px -64px; | |
|
551 | } | |
|
552 | .ui-icon-arrowrefresh-1-s | |
|
553 | { | |
|
554 | background-position: -176px -64px; | |
|
555 | } | |
|
556 | .ui-icon-arrow-4 | |
|
557 | { | |
|
558 | background-position: 0 -80px; | |
|
559 | } | |
|
560 | .ui-icon-arrow-4-diag | |
|
561 | { | |
|
562 | background-position: -16px -80px; | |
|
563 | } | |
|
564 | .ui-icon-extlink | |
|
565 | { | |
|
566 | background-position: -32px -80px; | |
|
567 | } | |
|
568 | .ui-icon-newwin | |
|
569 | { | |
|
570 | background-position: -48px -80px; | |
|
571 | } | |
|
572 | .ui-icon-refresh | |
|
573 | { | |
|
574 | background-position: -64px -80px; | |
|
575 | } | |
|
576 | .ui-icon-shuffle | |
|
577 | { | |
|
578 | background-position: -80px -80px; | |
|
579 | } | |
|
580 | .ui-icon-transfer-e-w | |
|
581 | { | |
|
582 | background-position: -96px -80px; | |
|
583 | } | |
|
584 | .ui-icon-transferthick-e-w | |
|
585 | { | |
|
586 | background-position: -112px -80px; | |
|
587 | } | |
|
588 | .ui-icon-folder-collapsed | |
|
589 | { | |
|
590 | background-position: 0 -96px; | |
|
591 | } | |
|
592 | .ui-icon-folder-open | |
|
593 | { | |
|
594 | background-position: -16px -96px; | |
|
595 | } | |
|
596 | .ui-icon-document | |
|
597 | { | |
|
598 | background-position: -32px -96px; | |
|
599 | } | |
|
600 | .ui-icon-document-b | |
|
601 | { | |
|
602 | background-position: -48px -96px; | |
|
603 | } | |
|
604 | .ui-icon-note | |
|
605 | { | |
|
606 | background-position: -64px -96px; | |
|
607 | } | |
|
608 | .ui-icon-mail-closed | |
|
609 | { | |
|
610 | background-position: -80px -96px; | |
|
611 | } | |
|
612 | .ui-icon-mail-open | |
|
613 | { | |
|
614 | background-position: -96px -96px; | |
|
615 | } | |
|
616 | .ui-icon-suitcase | |
|
617 | { | |
|
618 | background-position: -112px -96px; | |
|
619 | } | |
|
620 | .ui-icon-comment | |
|
621 | { | |
|
622 | background-position: -128px -96px; | |
|
623 | } | |
|
624 | .ui-icon-person | |
|
625 | { | |
|
626 | background-position: -144px -96px; | |
|
627 | } | |
|
628 | .ui-icon-print | |
|
629 | { | |
|
630 | background-position: -160px -96px; | |
|
631 | } | |
|
632 | .ui-icon-trash | |
|
633 | { | |
|
634 | background-position: -176px -96px; | |
|
635 | } | |
|
636 | .ui-icon-locked | |
|
637 | { | |
|
638 | background-position: -192px -96px; | |
|
639 | } | |
|
640 | .ui-icon-unlocked | |
|
641 | { | |
|
642 | background-position: -208px -96px; | |
|
643 | } | |
|
644 | .ui-icon-bookmark | |
|
645 | { | |
|
646 | background-position: -224px -96px; | |
|
647 | } | |
|
648 | .ui-icon-tag | |
|
649 | { | |
|
650 | background-position: -240px -96px; | |
|
651 | } | |
|
652 | .ui-icon-home | |
|
653 | { | |
|
654 | background-position: 0 -112px; | |
|
655 | } | |
|
656 | .ui-icon-flag | |
|
657 | { | |
|
658 | background-position: -16px -112px; | |
|
659 | } | |
|
660 | .ui-icon-calendar | |
|
661 | { | |
|
662 | background-position: -32px -112px; | |
|
663 | } | |
|
664 | .ui-icon-cart | |
|
665 | { | |
|
666 | background-position: -48px -112px; | |
|
667 | } | |
|
668 | .ui-icon-pencil | |
|
669 | { | |
|
670 | background-position: -64px -112px; | |
|
671 | } | |
|
672 | .ui-icon-clock | |
|
673 | { | |
|
674 | background-position: -80px -112px; | |
|
675 | } | |
|
676 | .ui-icon-disk | |
|
677 | { | |
|
678 | background-position: -96px -112px; | |
|
679 | } | |
|
680 | .ui-icon-calculator | |
|
681 | { | |
|
682 | background-position: -112px -112px; | |
|
683 | } | |
|
684 | .ui-icon-zoomin | |
|
685 | { | |
|
686 | background-position: -128px -112px; | |
|
687 | } | |
|
688 | .ui-icon-zoomout | |
|
689 | { | |
|
690 | background-position: -144px -112px; | |
|
691 | } | |
|
692 | .ui-icon-search | |
|
693 | { | |
|
694 | background-position: -160px -112px; | |
|
695 | } | |
|
696 | .ui-icon-wrench | |
|
697 | { | |
|
698 | background-position: -176px -112px; | |
|
699 | } | |
|
700 | .ui-icon-gear | |
|
701 | { | |
|
702 | background-position: -192px -112px; | |
|
703 | } | |
|
704 | .ui-icon-heart | |
|
705 | { | |
|
706 | background-position: -208px -112px; | |
|
707 | } | |
|
708 | .ui-icon-star | |
|
709 | { | |
|
710 | background-position: -224px -112px; | |
|
711 | } | |
|
712 | .ui-icon-link | |
|
713 | { | |
|
714 | background-position: -240px -112px; | |
|
715 | } | |
|
716 | .ui-icon-cancel | |
|
717 | { | |
|
718 | background-position: 0 -128px; | |
|
719 | } | |
|
720 | .ui-icon-plus | |
|
721 | { | |
|
722 | background-position: -16px -128px; | |
|
723 | } | |
|
724 | .ui-icon-plusthick | |
|
725 | { | |
|
726 | background-position: -32px -128px; | |
|
727 | } | |
|
728 | .ui-icon-minus | |
|
729 | { | |
|
730 | background-position: -48px -128px; | |
|
731 | } | |
|
732 | .ui-icon-minusthick | |
|
733 | { | |
|
734 | background-position: -64px -128px; | |
|
735 | } | |
|
736 | .ui-icon-close | |
|
737 | { | |
|
738 | background-position: -80px -128px; | |
|
739 | } | |
|
740 | .ui-icon-closethick | |
|
741 | { | |
|
742 | background-position: -96px -128px; | |
|
743 | } | |
|
744 | .ui-icon-key | |
|
745 | { | |
|
746 | background-position: -112px -128px; | |
|
747 | } | |
|
748 | .ui-icon-lightbulb | |
|
749 | { | |
|
750 | background-position: -128px -128px; | |
|
751 | } | |
|
752 | .ui-icon-scissors | |
|
753 | { | |
|
754 | background-position: -144px -128px; | |
|
755 | } | |
|
756 | .ui-icon-clipboard | |
|
757 | { | |
|
758 | background-position: -160px -128px; | |
|
759 | } | |
|
760 | .ui-icon-copy | |
|
761 | { | |
|
762 | background-position: -176px -128px; | |
|
763 | } | |
|
764 | .ui-icon-contact | |
|
765 | { | |
|
766 | background-position: -192px -128px; | |
|
767 | } | |
|
768 | .ui-icon-image | |
|
769 | { | |
|
770 | background-position: -208px -128px; | |
|
771 | } | |
|
772 | .ui-icon-video | |
|
773 | { | |
|
774 | background-position: -224px -128px; | |
|
775 | } | |
|
776 | .ui-icon-script | |
|
777 | { | |
|
778 | background-position: -240px -128px; | |
|
779 | } | |
|
780 | .ui-icon-alert | |
|
781 | { | |
|
782 | background-position: 0 -144px; | |
|
783 | } | |
|
784 | .ui-icon-info | |
|
785 | { | |
|
786 | background-position: -16px -144px; | |
|
787 | } | |
|
788 | .ui-icon-notice | |
|
789 | { | |
|
790 | background-position: -32px -144px; | |
|
791 | } | |
|
792 | .ui-icon-help | |
|
793 | { | |
|
794 | background-position: -48px -144px; | |
|
795 | } | |
|
796 | .ui-icon-check | |
|
797 | { | |
|
798 | background-position: -64px -144px; | |
|
799 | } | |
|
800 | .ui-icon-bullet | |
|
801 | { | |
|
802 | background-position: -80px -144px; | |
|
803 | } | |
|
804 | .ui-icon-radio-off | |
|
805 | { | |
|
806 | background-position: -96px -144px; | |
|
807 | } | |
|
808 | .ui-icon-radio-on | |
|
809 | { | |
|
810 | background-position: -112px -144px; | |
|
811 | } | |
|
812 | .ui-icon-pin-w | |
|
813 | { | |
|
814 | background-position: -128px -144px; | |
|
815 | } | |
|
816 | .ui-icon-pin-s | |
|
817 | { | |
|
818 | background-position: -144px -144px; | |
|
819 | } | |
|
820 | .ui-icon-play | |
|
821 | { | |
|
822 | background-position: 0 -160px; | |
|
823 | } | |
|
824 | .ui-icon-pause | |
|
825 | { | |
|
826 | background-position: -16px -160px; | |
|
827 | } | |
|
828 | .ui-icon-seek-next | |
|
829 | { | |
|
830 | background-position: -32px -160px; | |
|
831 | } | |
|
832 | .ui-icon-seek-prev | |
|
833 | { | |
|
834 | background-position: -48px -160px; | |
|
835 | } | |
|
836 | .ui-icon-seek-end | |
|
837 | { | |
|
838 | background-position: -64px -160px; | |
|
839 | } | |
|
840 | .ui-icon-seek-start | |
|
841 | { | |
|
842 | background-position: -80px -160px; | |
|
843 | } | |
|
844 | /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ | |
|
845 | .ui-icon-seek-first | |
|
846 | { | |
|
847 | background-position: -80px -160px; | |
|
848 | } | |
|
849 | .ui-icon-stop | |
|
850 | { | |
|
851 | background-position: -96px -160px; | |
|
852 | } | |
|
853 | .ui-icon-eject | |
|
854 | { | |
|
855 | background-position: -112px -160px; | |
|
856 | } | |
|
857 | .ui-icon-volume-off | |
|
858 | { | |
|
859 | background-position: -128px -160px; | |
|
860 | } | |
|
861 | .ui-icon-volume-on | |
|
862 | { | |
|
863 | background-position: -144px -160px; | |
|
864 | } | |
|
865 | .ui-icon-power | |
|
866 | { | |
|
867 | background-position: 0 -176px; | |
|
868 | } | |
|
869 | .ui-icon-signal-diag | |
|
870 | { | |
|
871 | background-position: -16px -176px; | |
|
872 | } | |
|
873 | .ui-icon-signal | |
|
874 | { | |
|
875 | background-position: -32px -176px; | |
|
876 | } | |
|
877 | .ui-icon-battery-0 | |
|
878 | { | |
|
879 | background-position: -48px -176px; | |
|
880 | } | |
|
881 | .ui-icon-battery-1 | |
|
882 | { | |
|
883 | background-position: -64px -176px; | |
|
884 | } | |
|
885 | .ui-icon-battery-2 | |
|
886 | { | |
|
887 | background-position: -80px -176px; | |
|
888 | } | |
|
889 | .ui-icon-battery-3 | |
|
890 | { | |
|
891 | background-position: -96px -176px; | |
|
892 | } | |
|
893 | .ui-icon-circle-plus | |
|
894 | { | |
|
895 | background-position: 0 -192px; | |
|
896 | } | |
|
897 | .ui-icon-circle-minus | |
|
898 | { | |
|
899 | background-position: -16px -192px; | |
|
900 | } | |
|
901 | .ui-icon-circle-close | |
|
902 | { | |
|
903 | background-position: -32px -192px; | |
|
904 | } | |
|
905 | .ui-icon-circle-triangle-e | |
|
906 | { | |
|
907 | background-position: -48px -192px; | |
|
908 | } | |
|
909 | .ui-icon-circle-triangle-s | |
|
910 | { | |
|
911 | background-position: -64px -192px; | |
|
912 | } | |
|
913 | .ui-icon-circle-triangle-w | |
|
914 | { | |
|
915 | background-position: -80px -192px; | |
|
916 | } | |
|
917 | .ui-icon-circle-triangle-n | |
|
918 | { | |
|
919 | background-position: -96px -192px; | |
|
920 | } | |
|
921 | .ui-icon-circle-arrow-e | |
|
922 | { | |
|
923 | background-position: -112px -192px; | |
|
924 | } | |
|
925 | .ui-icon-circle-arrow-s | |
|
926 | { | |
|
927 | background-position: -128px -192px; | |
|
928 | } | |
|
929 | .ui-icon-circle-arrow-w | |
|
930 | { | |
|
931 | background-position: -144px -192px; | |
|
932 | } | |
|
933 | .ui-icon-circle-arrow-n | |
|
934 | { | |
|
935 | background-position: -160px -192px; | |
|
936 | } | |
|
937 | .ui-icon-circle-zoomin | |
|
938 | { | |
|
939 | background-position: -176px -192px; | |
|
940 | } | |
|
941 | .ui-icon-circle-zoomout | |
|
942 | { | |
|
943 | background-position: -192px -192px; | |
|
944 | } | |
|
945 | .ui-icon-circle-check | |
|
946 | { | |
|
947 | background-position: -208px -192px; | |
|
948 | } | |
|
949 | .ui-icon-circlesmall-plus | |
|
950 | { | |
|
951 | background-position: 0 -208px; | |
|
952 | } | |
|
953 | .ui-icon-circlesmall-minus | |
|
954 | { | |
|
955 | background-position: -16px -208px; | |
|
956 | } | |
|
957 | .ui-icon-circlesmall-close | |
|
958 | { | |
|
959 | background-position: -32px -208px; | |
|
960 | } | |
|
961 | .ui-icon-squaresmall-plus | |
|
962 | { | |
|
963 | background-position: -48px -208px; | |
|
964 | } | |
|
965 | .ui-icon-squaresmall-minus | |
|
966 | { | |
|
967 | background-position: -64px -208px; | |
|
968 | } | |
|
969 | .ui-icon-squaresmall-close | |
|
970 | { | |
|
971 | background-position: -80px -208px; | |
|
972 | } | |
|
973 | .ui-icon-grip-dotted-vertical | |
|
974 | { | |
|
975 | background-position: 0 -224px; | |
|
976 | } | |
|
977 | .ui-icon-grip-dotted-horizontal | |
|
978 | { | |
|
979 | background-position: -16px -224px; | |
|
980 | } | |
|
981 | .ui-icon-grip-solid-vertical | |
|
982 | { | |
|
983 | background-position: -32px -224px; | |
|
984 | } | |
|
985 | .ui-icon-grip-solid-horizontal | |
|
986 | { | |
|
987 | background-position: -48px -224px; | |
|
988 | } | |
|
989 | .ui-icon-gripsmall-diagonal-se | |
|
990 | { | |
|
991 | background-position: -64px -224px; | |
|
992 | } | |
|
993 | .ui-icon-grip-diagonal-se | |
|
994 | { | |
|
995 | background-position: -80px -224px; | |
|
996 | } | |
|
997 | ||
|
998 | ||
|
999 | /* Misc visuals | |
|
1000 | ----------------------------------*/ | |
|
1001 | ||
|
1002 | /* Corner radius */ | |
|
1003 | .ui-corner-tl | |
|
1004 | { | |
|
1005 | -moz-border-radius-topleft: 4px; | |
|
1006 | -webkit-border-top-left-radius: 4px; | |
|
1007 | border-top-left-radius: 4px; | |
|
1008 | } | |
|
1009 | .ui-corner-tr | |
|
1010 | { | |
|
1011 | -moz-border-radius-topright: 4px; | |
|
1012 | -webkit-border-top-right-radius: 4px; | |
|
1013 | border-top-right-radius: 4px; | |
|
1014 | } | |
|
1015 | .ui-corner-bl | |
|
1016 | { | |
|
1017 | -moz-border-radius-bottomleft: 4px; | |
|
1018 | -webkit-border-bottom-left-radius: 4px; | |
|
1019 | border-bottom-left-radius: 4px; | |
|
1020 | } | |
|
1021 | .ui-corner-br | |
|
1022 | { | |
|
1023 | -moz-border-radius-bottomright: 4px; | |
|
1024 | -webkit-border-bottom-right-radius: 4px; | |
|
1025 | border-bottom-right-radius: 4px; | |
|
1026 | } | |
|
1027 | .ui-corner-top | |
|
1028 | { | |
|
1029 | -moz-border-radius-topleft: 4px; | |
|
1030 | -webkit-border-top-left-radius: 4px; | |
|
1031 | border-top-left-radius: 4px; | |
|
1032 | -moz-border-radius-topright: 4px; | |
|
1033 | -webkit-border-top-right-radius: 4px; | |
|
1034 | border-top-right-radius: 4px; | |
|
1035 | } | |
|
1036 | .ui-corner-bottom | |
|
1037 | { | |
|
1038 | -moz-border-radius-bottomleft: 4px; | |
|
1039 | -webkit-border-bottom-left-radius: 4px; | |
|
1040 | border-bottom-left-radius: 4px; | |
|
1041 | -moz-border-radius-bottomright: 4px; | |
|
1042 | -webkit-border-bottom-right-radius: 4px; | |
|
1043 | border-bottom-right-radius: 4px; | |
|
1044 | } | |
|
1045 | .ui-corner-right | |
|
1046 | { | |
|
1047 | -moz-border-radius-topright: 4px; | |
|
1048 | -webkit-border-top-right-radius: 4px; | |
|
1049 | border-top-right-radius: 4px; | |
|
1050 | -moz-border-radius-bottomright: 4px; | |
|
1051 | -webkit-border-bottom-right-radius: 4px; | |
|
1052 | border-bottom-right-radius: 4px; | |
|
1053 | } | |
|
1054 | .ui-corner-left | |
|
1055 | { | |
|
1056 | -moz-border-radius-topleft: 4px; | |
|
1057 | -webkit-border-top-left-radius: 4px; | |
|
1058 | border-top-left-radius: 4px; | |
|
1059 | -moz-border-radius-bottomleft: 4px; | |
|
1060 | -webkit-border-bottom-left-radius: 4px; | |
|
1061 | border-bottom-left-radius: 4px; | |
|
1062 | } | |
|
1063 | .ui-corner-all | |
|
1064 | { | |
|
1065 | -moz-border-radius: 4px; | |
|
1066 | -webkit-border-radius: 4px; | |
|
1067 | border-radius: 4px; | |
|
1068 | } | |
|
1069 | ||
|
1070 | /* Overlays */ | |
|
1071 | .ui-widget-overlay | |
|
1072 | { | |
|
1073 | background: #00a6dd url(images/ui-bg_diagonals-thick_50_00a6dd_40x40.png) 50% 50% repeat; | |
|
1074 | opacity: .30; | |
|
1075 | filter: Alpha(Opacity=30); | |
|
1076 | } | |
|
1077 | .ui-widget-shadow | |
|
1078 | { | |
|
1079 | margin: -8px 0 0 -8px; | |
|
1080 | padding: 8px; | |
|
1081 | background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; | |
|
1082 | opacity: .30; | |
|
1083 | filter: Alpha(Opacity=30); | |
|
1084 | -moz-border-radius: 8px; | |
|
1085 | -webkit-border-radius: 8px; | |
|
1086 | border-radius: 8px; | |
|
1087 | } | |
|
1088 | /* | |
|
1089 | * jQuery UI Resizable 1.8.7 | |
|
1090 | * | |
|
1091 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
1092 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
1093 | * http://jquery.org/license | |
|
1094 | * | |
|
1095 | * http://docs.jquery.com/UI/Resizable#theming | |
|
1096 | */ | |
|
1097 | .ui-resizable | |
|
1098 | { | |
|
1099 | position: relative; | |
|
1100 | } | |
|
1101 | .ui-resizable-handle | |
|
1102 | { | |
|
1103 | position: absolute; | |
|
1104 | font-size: 0.1px; | |
|
1105 | z-index: 99999; | |
|
1106 | display: block; | |
|
1107 | } | |
|
1108 | .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle | |
|
1109 | { | |
|
1110 | display: none; | |
|
1111 | } | |
|
1112 | .ui-resizable-n | |
|
1113 | { | |
|
1114 | cursor: n-resize; | |
|
1115 | height: 7px; | |
|
1116 | width: 100%; | |
|
1117 | top: -5px; | |
|
1118 | left: 0; | |
|
1119 | } | |
|
1120 | .ui-resizable-s | |
|
1121 | { | |
|
1122 | cursor: s-resize; | |
|
1123 | height: 7px; | |
|
1124 | width: 100%; | |
|
1125 | bottom: -5px; | |
|
1126 | left: 0; | |
|
1127 | } | |
|
1128 | .ui-resizable-e | |
|
1129 | { | |
|
1130 | cursor: e-resize; | |
|
1131 | width: 7px; | |
|
1132 | right: -5px; | |
|
1133 | top: 0; | |
|
1134 | height: 100%; | |
|
1135 | } | |
|
1136 | .ui-resizable-w | |
|
1137 | { | |
|
1138 | cursor: w-resize; | |
|
1139 | width: 7px; | |
|
1140 | left: -5px; | |
|
1141 | top: 0; | |
|
1142 | height: 100%; | |
|
1143 | } | |
|
1144 | .ui-resizable-se | |
|
1145 | { | |
|
1146 | cursor: se-resize; | |
|
1147 | width: 12px; | |
|
1148 | height: 12px; | |
|
1149 | right: 1px; | |
|
1150 | bottom: 1px; | |
|
1151 | } | |
|
1152 | .ui-resizable-sw | |
|
1153 | { | |
|
1154 | cursor: sw-resize; | |
|
1155 | width: 9px; | |
|
1156 | height: 9px; | |
|
1157 | left: -5px; | |
|
1158 | bottom: -5px; | |
|
1159 | } | |
|
1160 | .ui-resizable-nw | |
|
1161 | { | |
|
1162 | cursor: nw-resize; | |
|
1163 | width: 9px; | |
|
1164 | height: 9px; | |
|
1165 | left: -5px; | |
|
1166 | top: -5px; | |
|
1167 | } | |
|
1168 | .ui-resizable-ne | |
|
1169 | { | |
|
1170 | cursor: ne-resize; | |
|
1171 | width: 9px; | |
|
1172 | height: 9px; | |
|
1173 | right: -5px; | |
|
1174 | top: -5px; | |
|
1175 | } | |
|
1176 | /* | |
|
1177 | * jQuery UI Selectable 1.8.7 | |
|
1178 | * | |
|
1179 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
1180 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
1181 | * http://jquery.org/license | |
|
1182 | * | |
|
1183 | * http://docs.jquery.com/UI/Selectable#theming | |
|
1184 | */ | |
|
1185 | .ui-selectable-helper | |
|
1186 | { | |
|
1187 | position: absolute; | |
|
1188 | z-index: 100; | |
|
1189 | border: 1px dotted black; | |
|
1190 | } | |
|
1191 | /* | |
|
1192 | * jQuery UI Accordion 1.8.7 | |
|
1193 | * | |
|
1194 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
1195 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
1196 | * http://jquery.org/license | |
|
1197 | * | |
|
1198 | * http://docs.jquery.com/UI/Accordion#theming | |
|
1199 | */ | |
|
1200 | /* IE/Win - Fix animation bug - #4615 */ | |
|
1201 | .ui-accordion | |
|
1202 | { | |
|
1203 | width: 100%; | |
|
1204 | } | |
|
1205 | .ui-accordion .ui-accordion-header | |
|
1206 | { | |
|
1207 | cursor: pointer; | |
|
1208 | position: relative; | |
|
1209 | margin-top: 1px; | |
|
1210 | zoom: 1; | |
|
1211 | } | |
|
1212 | .ui-accordion .ui-accordion-li-fix | |
|
1213 | { | |
|
1214 | display: inline; | |
|
1215 | } | |
|
1216 | .ui-accordion .ui-accordion-header-active | |
|
1217 | { | |
|
1218 | border-bottom: 0 !important; | |
|
1219 | } | |
|
1220 | .ui-accordion .ui-accordion-header a | |
|
1221 | { | |
|
1222 | display: block; | |
|
1223 | font-size: 1em; | |
|
1224 | padding: .5em .5em .5em .7em; | |
|
1225 | } | |
|
1226 | .ui-accordion-icons .ui-accordion-header a | |
|
1227 | { | |
|
1228 | padding-left: 2.2em; | |
|
1229 | } | |
|
1230 | .ui-accordion .ui-accordion-header .ui-icon | |
|
1231 | { | |
|
1232 | position: absolute; | |
|
1233 | left: .5em; | |
|
1234 | top: 50%; | |
|
1235 | margin-top: -8px; | |
|
1236 | } | |
|
1237 | .ui-accordion .ui-accordion-content | |
|
1238 | { | |
|
1239 | padding: 1em 2.2em; | |
|
1240 | border-top: 0; | |
|
1241 | margin-top: -2px; | |
|
1242 | position: relative; | |
|
1243 | top: 1px; | |
|
1244 | margin-bottom: 2px; | |
|
1245 | overflow: auto; | |
|
1246 | display: none; | |
|
1247 | zoom: 1; | |
|
1248 | } | |
|
1249 | .ui-accordion .ui-accordion-content-active | |
|
1250 | { | |
|
1251 | display: block; | |
|
1252 | } | |
|
1253 | /* | |
|
1254 | * jQuery UI Autocomplete 1.8.7 | |
|
1255 | * | |
|
1256 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
1257 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
1258 | * http://jquery.org/license | |
|
1259 | * | |
|
1260 | * http://docs.jquery.com/UI/Autocomplete#theming | |
|
1261 | */ | |
|
1262 | .ui-autocomplete | |
|
1263 | { | |
|
1264 | position: absolute; | |
|
1265 | cursor: default; | |
|
1266 | } | |
|
1267 | ||
|
1268 | /* workarounds */ | |
|
1269 | * html .ui-autocomplete | |
|
1270 | { | |
|
1271 | width: 1px; | |
|
1272 | } | |
|
1273 | /* without this, the menu expands to 100% in IE6 */ | |
|
1274 | ||
|
1275 | /* | |
|
1276 | * jQuery UI Menu 1.8.7 | |
|
1277 | * | |
|
1278 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
1279 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
1280 | * http://jquery.org/license | |
|
1281 | * | |
|
1282 | * http://docs.jquery.com/UI/Menu#theming | |
|
1283 | */ | |
|
1284 | .ui-menu | |
|
1285 | { | |
|
1286 | list-style: none; | |
|
1287 | padding: 2px; | |
|
1288 | margin: 0; | |
|
1289 | display: block; | |
|
1290 | float: left; | |
|
1291 | } | |
|
1292 | .ui-menu .ui-menu | |
|
1293 | { | |
|
1294 | margin-top: -3px; | |
|
1295 | } | |
|
1296 | .ui-menu .ui-menu-item | |
|
1297 | { | |
|
1298 | margin: 0; | |
|
1299 | padding: 0; | |
|
1300 | zoom: 1; | |
|
1301 | float: left; | |
|
1302 | clear: left; | |
|
1303 | width: 100%; | |
|
1304 | } | |
|
1305 | .ui-menu .ui-menu-item a | |
|
1306 | { | |
|
1307 | text-decoration: none; | |
|
1308 | display: block; | |
|
1309 | padding: .2em .4em; | |
|
1310 | line-height: 1.5; | |
|
1311 | zoom: 1; | |
|
1312 | } | |
|
1313 | .ui-menu .ui-menu-item a.ui-state-hover, .ui-menu .ui-menu-item a.ui-state-active | |
|
1314 | { | |
|
1315 | font-weight: normal; | |
|
1316 | margin: -1px; | |
|
1317 | } | |
|
1318 | /* | |
|
1319 | * jQuery UI Button 1.8.7 | |
|
1320 | * | |
|
1321 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
1322 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
1323 | * http://jquery.org/license | |
|
1324 | * | |
|
1325 | * http://docs.jquery.com/UI/Button#theming | |
|
1326 | */ | |
|
1327 | .ui-button | |
|
1328 | { | |
|
1329 | display: inline-block; | |
|
1330 | position: relative; | |
|
1331 | padding: 0; | |
|
1332 | margin-right: .1em; | |
|
1333 | text-decoration: none !important; | |
|
1334 | cursor: pointer; | |
|
1335 | text-align: center; | |
|
1336 | zoom: 1; | |
|
1337 | overflow: visible; | |
|
1338 | } | |
|
1339 | /* the overflow property removes extra width in IE */ | |
|
1340 | .ui-button-icon-only | |
|
1341 | { | |
|
1342 | width: 2.2em; | |
|
1343 | } | |
|
1344 | /* to make room for the icon, a width needs to be set here */ | |
|
1345 | button.ui-button-icon-only | |
|
1346 | { | |
|
1347 | width: 2.4em; | |
|
1348 | } | |
|
1349 | /* button elements seem to need a little more width */ | |
|
1350 | .ui-button-icons-only | |
|
1351 | { | |
|
1352 | width: 3.4em; | |
|
1353 | } | |
|
1354 | button.ui-button-icons-only | |
|
1355 | { | |
|
1356 | width: 3.7em; | |
|
1357 | } | |
|
1358 | ||
|
1359 | /*button text element */ | |
|
1360 | .ui-button .ui-button-text | |
|
1361 | { | |
|
1362 | display: block; | |
|
1363 | line-height: 1.4; | |
|
1364 | } | |
|
1365 | .ui-button-text-only .ui-button-text | |
|
1366 | { | |
|
1367 | padding: .4em 1em; | |
|
1368 | } | |
|
1369 | .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text | |
|
1370 | { | |
|
1371 | padding: .4em; | |
|
1372 | text-indent: -9999999px; | |
|
1373 | } | |
|
1374 | .ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text | |
|
1375 | { | |
|
1376 | padding: .4em 1em .4em 2.1em; | |
|
1377 | } | |
|
1378 | .ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text | |
|
1379 | { | |
|
1380 | padding: .4em 2.1em .4em 1em; | |
|
1381 | } | |
|
1382 | .ui-button-text-icons .ui-button-text | |
|
1383 | { | |
|
1384 | padding-left: 2.1em; | |
|
1385 | padding-right: 2.1em; | |
|
1386 | } | |
|
1387 | /* no icon support for input elements, provide padding by default */ | |
|
1388 | input.ui-button | |
|
1389 | { | |
|
1390 | padding: .4em 1em; | |
|
1391 | } | |
|
1392 | ||
|
1393 | /*button icon element(s) */ | |
|
1394 | .ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon | |
|
1395 | { | |
|
1396 | position: absolute; | |
|
1397 | top: 50%; | |
|
1398 | margin-top: -8px; | |
|
1399 | } | |
|
1400 | .ui-button-icon-only .ui-icon | |
|
1401 | { | |
|
1402 | left: 50%; | |
|
1403 | margin-left: -8px; | |
|
1404 | } | |
|
1405 | .ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary | |
|
1406 | { | |
|
1407 | left: .5em; | |
|
1408 | } | |
|
1409 | .ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary | |
|
1410 | { | |
|
1411 | right: .5em; | |
|
1412 | } | |
|
1413 | .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary | |
|
1414 | { | |
|
1415 | right: .5em; | |
|
1416 | } | |
|
1417 | ||
|
1418 | /*button sets*/ | |
|
1419 | .ui-buttonset | |
|
1420 | { | |
|
1421 | margin-right: 7px; | |
|
1422 | } | |
|
1423 | .ui-buttonset .ui-button | |
|
1424 | { | |
|
1425 | margin-left: 0; | |
|
1426 | margin-right: -.3em; | |
|
1427 | } | |
|
1428 | ||
|
1429 | /* workarounds */ | |
|
1430 | button.ui-button::-moz-focus-inner | |
|
1431 | { | |
|
1432 | border: 0; | |
|
1433 | padding: 0; | |
|
1434 | } | |
|
1435 | /* reset extra padding in Firefox */ | |
|
1436 | /* | |
|
1437 | * jQuery UI Dialog 1.8.7 | |
|
1438 | * | |
|
1439 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
1440 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
1441 | * http://jquery.org/license | |
|
1442 | * | |
|
1443 | * http://docs.jquery.com/UI/Dialog#theming | |
|
1444 | */ | |
|
1445 | .ui-dialog | |
|
1446 | { | |
|
1447 | position: absolute; | |
|
1448 | padding: .2em; | |
|
1449 | width: 300px; | |
|
1450 | overflow: hidden; | |
|
1451 | } | |
|
1452 | .ui-dialog .ui-dialog-titlebar | |
|
1453 | { | |
|
1454 | padding: .5em 1em .3em; | |
|
1455 | position: relative; | |
|
1456 | } | |
|
1457 | .ui-dialog .ui-dialog-title | |
|
1458 | { | |
|
1459 | float: left; | |
|
1460 | margin: .1em 16px .2em 0; | |
|
1461 | } | |
|
1462 | .ui-dialog .ui-dialog-titlebar-close | |
|
1463 | { | |
|
1464 | position: absolute; | |
|
1465 | right: .3em; | |
|
1466 | top: 50%; | |
|
1467 | width: 19px; | |
|
1468 | margin: -10px 0 0 0; | |
|
1469 | padding: 1px; | |
|
1470 | height: 18px; | |
|
1471 | } | |
|
1472 | .ui-dialog .ui-dialog-titlebar-close span | |
|
1473 | { | |
|
1474 | display: block; | |
|
1475 | margin: 1px; | |
|
1476 | } | |
|
1477 | .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus | |
|
1478 | { | |
|
1479 | padding: 0; | |
|
1480 | } | |
|
1481 | .ui-dialog .ui-dialog-content | |
|
1482 | { | |
|
1483 | position: relative; | |
|
1484 | border: 0; | |
|
1485 | padding: .5em 1em; | |
|
1486 | background: none; | |
|
1487 | overflow: auto; | |
|
1488 | zoom: 1; | |
|
1489 | } | |
|
1490 | .ui-dialog .ui-dialog-buttonpane | |
|
1491 | { | |
|
1492 | text-align: left; | |
|
1493 | border-width: 1px 0 0 0; | |
|
1494 | background-image: none; | |
|
1495 | margin: .5em 0 0 0; | |
|
1496 | padding: .3em 1em .5em .4em; | |
|
1497 | } | |
|
1498 | .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset | |
|
1499 | { | |
|
1500 | float: right; | |
|
1501 | } | |
|
1502 | .ui-dialog .ui-dialog-buttonpane button | |
|
1503 | { | |
|
1504 | margin: .5em .4em .5em 0; | |
|
1505 | cursor: pointer; | |
|
1506 | } | |
|
1507 | .ui-dialog .ui-resizable-se | |
|
1508 | { | |
|
1509 | width: 14px; | |
|
1510 | height: 14px; | |
|
1511 | right: 3px; | |
|
1512 | bottom: 3px; | |
|
1513 | } | |
|
1514 | .ui-draggable .ui-dialog-titlebar | |
|
1515 | { | |
|
1516 | cursor: move; | |
|
1517 | } | |
|
1518 | /* | |
|
1519 | * jQuery UI Slider 1.8.7 | |
|
1520 | * | |
|
1521 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
1522 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
1523 | * http://jquery.org/license | |
|
1524 | * | |
|
1525 | * http://docs.jquery.com/UI/Slider#theming | |
|
1526 | */ | |
|
1527 | .ui-slider | |
|
1528 | { | |
|
1529 | position: relative; | |
|
1530 | text-align: left; | |
|
1531 | } | |
|
1532 | .ui-slider .ui-slider-handle | |
|
1533 | { | |
|
1534 | position: absolute; | |
|
1535 | z-index: 2; | |
|
1536 | width: 1.2em; | |
|
1537 | height: 1.2em; | |
|
1538 | cursor: default; | |
|
1539 | } | |
|
1540 | .ui-slider .ui-slider-range | |
|
1541 | { | |
|
1542 | position: absolute; | |
|
1543 | z-index: 1; | |
|
1544 | font-size: .7em; | |
|
1545 | display: block; | |
|
1546 | border: 0; | |
|
1547 | background-position: 0 0; | |
|
1548 | } | |
|
1549 | ||
|
1550 | .ui-slider-horizontal | |
|
1551 | { | |
|
1552 | height: .8em; | |
|
1553 | } | |
|
1554 | .ui-slider-horizontal .ui-slider-handle | |
|
1555 | { | |
|
1556 | top: -.3em; | |
|
1557 | margin-left: -.6em; | |
|
1558 | } | |
|
1559 | .ui-slider-horizontal .ui-slider-range | |
|
1560 | { | |
|
1561 | top: 0; | |
|
1562 | height: 100%; | |
|
1563 | } | |
|
1564 | .ui-slider-horizontal .ui-slider-range-min | |
|
1565 | { | |
|
1566 | left: 0; | |
|
1567 | } | |
|
1568 | .ui-slider-horizontal .ui-slider-range-max | |
|
1569 | { | |
|
1570 | right: 0; | |
|
1571 | } | |
|
1572 | ||
|
1573 | .ui-slider-vertical | |
|
1574 | { | |
|
1575 | width: .8em; | |
|
1576 | height: 100px; | |
|
1577 | } | |
|
1578 | .ui-slider-vertical .ui-slider-handle | |
|
1579 | { | |
|
1580 | left: -.3em; | |
|
1581 | margin-left: 0; | |
|
1582 | margin-bottom: -.6em; | |
|
1583 | } | |
|
1584 | .ui-slider-vertical .ui-slider-range | |
|
1585 | { | |
|
1586 | left: 0; | |
|
1587 | width: 100%; | |
|
1588 | } | |
|
1589 | .ui-slider-vertical .ui-slider-range-min | |
|
1590 | { | |
|
1591 | bottom: 0; | |
|
1592 | } | |
|
1593 | .ui-slider-vertical .ui-slider-range-max | |
|
1594 | { | |
|
1595 | top: 0; | |
|
1596 | } | |
|
1597 | /* | |
|
1598 | * jQuery UI Tabs 1.8.7 | |
|
1599 | * | |
|
1600 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
1601 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
1602 | * http://jquery.org/license | |
|
1603 | * | |
|
1604 | * http://docs.jquery.com/UI/Tabs#theming | |
|
1605 | */ | |
|
1606 | .ui-tabs | |
|
1607 | { | |
|
1608 | position: relative; | |
|
1609 | padding: .2em; | |
|
1610 | zoom: 1; | |
|
1611 | } | |
|
1612 | /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ | |
|
1613 | .ui-tabs .ui-tabs-nav | |
|
1614 | { | |
|
1615 | margin: 0; | |
|
1616 | padding: .2em .2em 0; | |
|
1617 | } | |
|
1618 | .ui-tabs .ui-tabs-nav li | |
|
1619 | { | |
|
1620 | list-style: none; | |
|
1621 | float: left; | |
|
1622 | position: relative; | |
|
1623 | top: 1px; | |
|
1624 | margin: 0 .2em 1px 0; | |
|
1625 | border-bottom: 0 !important; | |
|
1626 | padding: 0; | |
|
1627 | white-space: nowrap; | |
|
1628 | } | |
|
1629 | .ui-tabs .ui-tabs-nav li a | |
|
1630 | { | |
|
1631 | float: left; | |
|
1632 | padding: .5em 1em; | |
|
1633 | text-decoration: none; | |
|
1634 | } | |
|
1635 | .ui-tabs .ui-tabs-nav li.ui-tabs-selected | |
|
1636 | { | |
|
1637 | margin-bottom: 0; | |
|
1638 | padding-bottom: 1px; | |
|
1639 | } | |
|
1640 | .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a | |
|
1641 | { | |
|
1642 | cursor: text; | |
|
1643 | } | |
|
1644 | .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a | |
|
1645 | { | |
|
1646 | cursor: pointer; | |
|
1647 | } | |
|
1648 | /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ | |
|
1649 | .ui-tabs .ui-tabs-panel | |
|
1650 | { | |
|
1651 | display: block; | |
|
1652 | border-width: 0; | |
|
1653 | padding: 1em 1.4em; | |
|
1654 | background: none; | |
|
1655 | } | |
|
1656 | .ui-tabs .ui-tabs-hide | |
|
1657 | { | |
|
1658 | display: none !important; | |
|
1659 | } | |
|
1660 | /* | |
|
1661 | * jQuery UI Datepicker 1.8.7 | |
|
1662 | * | |
|
1663 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
1664 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
1665 | * http://jquery.org/license | |
|
1666 | * | |
|
1667 | * http://docs.jquery.com/UI/Datepicker#theming | |
|
1668 | */ | |
|
1669 | .ui-datepicker | |
|
1670 | { | |
|
1671 | width: 17em; | |
|
1672 | padding: .2em .2em 0; | |
|
1673 | display: none; | |
|
1674 | } | |
|
1675 | .ui-datepicker .ui-datepicker-header | |
|
1676 | { | |
|
1677 | position: relative; | |
|
1678 | padding: .2em 0; | |
|
1679 | } | |
|
1680 | .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next | |
|
1681 | { | |
|
1682 | position: absolute; | |
|
1683 | top: 2px; | |
|
1684 | width: 1.8em; | |
|
1685 | height: 1.8em; | |
|
1686 | } | |
|
1687 | .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover | |
|
1688 | { | |
|
1689 | top: 1px; | |
|
1690 | } | |
|
1691 | .ui-datepicker .ui-datepicker-prev | |
|
1692 | { | |
|
1693 | left: 2px; | |
|
1694 | } | |
|
1695 | .ui-datepicker .ui-datepicker-next | |
|
1696 | { | |
|
1697 | right: 2px; | |
|
1698 | } | |
|
1699 | .ui-datepicker .ui-datepicker-prev-hover | |
|
1700 | { | |
|
1701 | left: 1px; | |
|
1702 | } | |
|
1703 | .ui-datepicker .ui-datepicker-next-hover | |
|
1704 | { | |
|
1705 | right: 1px; | |
|
1706 | } | |
|
1707 | .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span | |
|
1708 | { | |
|
1709 | display: block; | |
|
1710 | position: absolute; | |
|
1711 | left: 50%; | |
|
1712 | margin-left: -8px; | |
|
1713 | top: 50%; | |
|
1714 | margin-top: -8px; | |
|
1715 | } | |
|
1716 | .ui-datepicker .ui-datepicker-title | |
|
1717 | { | |
|
1718 | margin: 0 2.3em; | |
|
1719 | line-height: 1.8em; | |
|
1720 | text-align: center; | |
|
1721 | } | |
|
1722 | .ui-datepicker .ui-datepicker-title select | |
|
1723 | { | |
|
1724 | font-size: 1em; | |
|
1725 | margin: 1px 0; | |
|
1726 | } | |
|
1727 | .ui-datepicker select.ui-datepicker-month-year | |
|
1728 | { | |
|
1729 | width: 100%; | |
|
1730 | } | |
|
1731 | .ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year | |
|
1732 | { | |
|
1733 | width: 49%; | |
|
1734 | } | |
|
1735 | .ui-datepicker table | |
|
1736 | { | |
|
1737 | width: 100%; | |
|
1738 | font-size: .9em; | |
|
1739 | border-collapse: collapse; | |
|
1740 | margin: 0 0 .4em; | |
|
1741 | } | |
|
1742 | .ui-datepicker th | |
|
1743 | { | |
|
1744 | padding: .7em .3em; | |
|
1745 | text-align: center; | |
|
1746 | font-weight: bold; | |
|
1747 | border: 0; | |
|
1748 | } | |
|
1749 | .ui-datepicker td | |
|
1750 | { | |
|
1751 | border: 0; | |
|
1752 | padding: 1px; | |
|
1753 | } | |
|
1754 | .ui-datepicker td span, .ui-datepicker td a | |
|
1755 | { | |
|
1756 | display: block; | |
|
1757 | padding: .2em; | |
|
1758 | text-align: right; | |
|
1759 | text-decoration: none; | |
|
1760 | } | |
|
1761 | .ui-datepicker .ui-datepicker-buttonpane | |
|
1762 | { | |
|
1763 | background-image: none; | |
|
1764 | margin: .7em 0 0 0; | |
|
1765 | padding: 0 .2em; | |
|
1766 | border-left: 0; | |
|
1767 | border-right: 0; | |
|
1768 | border-bottom: 0; | |
|
1769 | } | |
|
1770 | .ui-datepicker .ui-datepicker-buttonpane button | |
|
1771 | { | |
|
1772 | float: right; | |
|
1773 | margin: .5em .2em .4em; | |
|
1774 | cursor: pointer; | |
|
1775 | padding: .2em .6em .3em .6em; | |
|
1776 | width: auto; | |
|
1777 | overflow: visible; | |
|
1778 | } | |
|
1779 | .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current | |
|
1780 | { | |
|
1781 | float: left; | |
|
1782 | } | |
|
1783 | ||
|
1784 | /* with multiple calendars */ | |
|
1785 | .ui-datepicker.ui-datepicker-multi | |
|
1786 | { | |
|
1787 | width: auto; | |
|
1788 | } | |
|
1789 | .ui-datepicker-multi .ui-datepicker-group | |
|
1790 | { | |
|
1791 | float: left; | |
|
1792 | } | |
|
1793 | .ui-datepicker-multi .ui-datepicker-group table | |
|
1794 | { | |
|
1795 | width: 95%; | |
|
1796 | margin: 0 auto .4em; | |
|
1797 | } | |
|
1798 | .ui-datepicker-multi-2 .ui-datepicker-group | |
|
1799 | { | |
|
1800 | width: 50%; | |
|
1801 | } | |
|
1802 | .ui-datepicker-multi-3 .ui-datepicker-group | |
|
1803 | { | |
|
1804 | width: 33.3%; | |
|
1805 | } | |
|
1806 | .ui-datepicker-multi-4 .ui-datepicker-group | |
|
1807 | { | |
|
1808 | width: 25%; | |
|
1809 | } | |
|
1810 | .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header | |
|
1811 | { | |
|
1812 | border-left-width: 0; | |
|
1813 | } | |
|
1814 | .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header | |
|
1815 | { | |
|
1816 | border-left-width: 0; | |
|
1817 | } | |
|
1818 | .ui-datepicker-multi .ui-datepicker-buttonpane | |
|
1819 | { | |
|
1820 | clear: left; | |
|
1821 | } | |
|
1822 | .ui-datepicker-row-break | |
|
1823 | { | |
|
1824 | clear: both; | |
|
1825 | width: 100%; | |
|
1826 | } | |
|
1827 | ||
|
1828 | /* RTL support */ | |
|
1829 | .ui-datepicker-rtl | |
|
1830 | { | |
|
1831 | direction: rtl; | |
|
1832 | } | |
|
1833 | .ui-datepicker-rtl .ui-datepicker-prev | |
|
1834 | { | |
|
1835 | right: 2px; | |
|
1836 | left: auto; | |
|
1837 | } | |
|
1838 | .ui-datepicker-rtl .ui-datepicker-next | |
|
1839 | { | |
|
1840 | left: 2px; | |
|
1841 | right: auto; | |
|
1842 | } | |
|
1843 | .ui-datepicker-rtl .ui-datepicker-prev:hover | |
|
1844 | { | |
|
1845 | right: 1px; | |
|
1846 | left: auto; | |
|
1847 | } | |
|
1848 | .ui-datepicker-rtl .ui-datepicker-next:hover | |
|
1849 | { | |
|
1850 | left: 1px; | |
|
1851 | right: auto; | |
|
1852 | } | |
|
1853 | .ui-datepicker-rtl .ui-datepicker-buttonpane | |
|
1854 | { | |
|
1855 | clear: right; | |
|
1856 | } | |
|
1857 | .ui-datepicker-rtl .ui-datepicker-buttonpane button | |
|
1858 | { | |
|
1859 | float: left; | |
|
1860 | } | |
|
1861 | .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current | |
|
1862 | { | |
|
1863 | float: right; | |
|
1864 | } | |
|
1865 | .ui-datepicker-rtl .ui-datepicker-group | |
|
1866 | { | |
|
1867 | float: right; | |
|
1868 | } | |
|
1869 | .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header | |
|
1870 | { | |
|
1871 | border-right-width: 0; | |
|
1872 | border-left-width: 1px; | |
|
1873 | } | |
|
1874 | .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header | |
|
1875 | { | |
|
1876 | border-right-width: 0; | |
|
1877 | border-left-width: 1px; | |
|
1878 | } | |
|
1879 | ||
|
1880 | /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ | |
|
1881 | .ui-datepicker-cover | |
|
1882 | { | |
|
1883 | display: none; /*sorry for IE5*/ | |
|
1884 | display: /**/ block; /*sorry for IE5*/ | |
|
1885 | position: absolute; /*must have*/ | |
|
1886 | z-index: -1; /*must have*/ | |
|
1887 | filter: mask(); /*must have*/ | |
|
1888 | top: -4px; /*must have*/ | |
|
1889 | left: -4px; /*must have*/ | |
|
1890 | width: 200px; /*must have*/ | |
|
1891 | height: 200px; /*must have*/ | |
|
1892 | } | |
|
1893 | /* | |
|
1894 | * jQuery UI Progressbar 1.8.7 | |
|
1895 | * | |
|
1896 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
1897 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
1898 | * http://jquery.org/license | |
|
1899 | * | |
|
1900 | * http://docs.jquery.com/UI/Progressbar#theming | |
|
1901 | */ | |
|
1902 | .ui-progressbar | |
|
1903 | { | |
|
1904 | height: 2em; | |
|
1905 | text-align: left; | |
|
1906 | } | |
|
1907 | .ui-progressbar .ui-progressbar-value | |
|
1908 | { | |
|
1909 | margin: -1px; | |
|
1910 | height: 100%; | |
|
1911 | } | |
|
1912 | ||
|
1913 | /* Custom */ | |
|
1914 | ||
|
1915 | ||
|
1916 | ||
|
1917 | ||
|
1918 | .wijmo-dropdown-trigger | |
|
1919 | { | |
|
1920 | -moz-border-radius-topright: 2px; | |
|
1921 | -webkit-border-top-right-radius: 2px; | |
|
1922 | border-top-right-radius: 2px; | |
|
1923 | -moz-border-radius-bottomright: 2px; | |
|
1924 | -webkit-border-bottom-right-radius: 2px; | |
|
1925 | border-bottom-right-radius: 2px; | |
|
1926 | } | |
|
1927 | ||
|
1928 | ||
|
1929 | .wijmo-wijdropdown label.wijmo-dropdown-label | |
|
1930 | { | |
|
1931 | -moz-border-radius: 2px; | |
|
1932 | -webkit-border-radius: 2px; | |
|
1933 | border-radius: 2px; | |
|
1934 | } | |
|
1935 | ||
|
1936 | .wijmo-wijinput, .wijmo-wijtextbox, .wijmo-checkbox-box, .wijmo-wijradio-box, .wijmo-wijgrid .wijmo-wijinput | |
|
1937 | { | |
|
1938 | /*background: #242122 url(images/ui-bg_inset-soft_15_242122_1x100.png) 50% 50% repeat-x !important;*/ /*background: #e1e1e1 url(images/ui-bg_inset-soft_100_e1e1e1_1x100.png) 50% 50% repeat-x !important;*/ | |
|
1939 | background: #f1f1f1 !important; | |
|
1940 | color: #404040; | |
|
1941 | border: solid 1px #e1e1e1; | |
|
1942 | } | |
|
1943 | .wijmo-wijinput.ui-state-focus, .wijmo-wijtextbox.ui-state-focus | |
|
1944 | { | |
|
1945 | /*background: #e1e1e1 url(images/ui-bg_inset-soft_100_e1e1e1_1x100.png) 50% 50% repeat-x !important;*/ | |
|
1946 | background: #fafafa !important; | |
|
1947 | color: #404040 !important; | |
|
1948 | } | |
|
1949 | ||
|
1950 | .wijmo-checkbox .ui-state-hover, .wijmo-wijradio .ui-state-hover | |
|
1951 | { | |
|
1952 | -moz-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.15); | |
|
1953 | -webkit-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.15); | |
|
1954 | box-shadow: inset 1px 1px 0 rgba(255,255,255,0.15); | |
|
1955 | border: 1px solid #00a6dd; | |
|
1956 | background: #00a6dd url(images/ui-bg_highlight-soft_35_00a6dd_1x100.png) 50% 50% repeat-x; | |
|
1957 | font-weight: normal; | |
|
1958 | color: #fafafa; | |
|
1959 | text-shadow: none; | |
|
1960 | } | |
|
1961 | ||
|
1962 | .wijmo-checkbox .ui-state-active, .wijmo-wijradio .ui-state-active | |
|
1963 | { | |
|
1964 | -moz-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.15); | |
|
1965 | -webkit-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.15); | |
|
1966 | box-shadow: inset 1px 1px 0 rgba(255,255,255,0.15); | |
|
1967 | border: 1px solid transparent; | |
|
1968 | background: #606154 url(images/ui-bg_highlight-soft_15_333333_1x100.png) top repeat-x; | |
|
1969 | font-weight: normal; | |
|
1970 | color: #fafafa; | |
|
1971 | } | |
|
1972 | ||
|
1973 | ||
|
1974 | ||
|
1975 | .wijmo-wijgrid .wijmo-wijgrid-table .wijmo-wijgrid-filter-input | |
|
1976 | { | |
|
1977 | background: #e1e1e1 url(images/ui-bg_inset-soft_100_e1e1e1_1x100.png) 50% 50% repeat-x !important; | |
|
1978 | color: #404040 !important; | |
|
1979 | } | |
|
1980 | ||
|
1981 | .wijmo-wijgrid-row .ui-state-highlight | |
|
1982 | { | |
|
1983 | border-right: solid 1px transparent !important; | |
|
1984 | } | |
|
1985 | ||
|
1986 | .wijmo-wijmenu .wijmo-wijmenu-list .wijmo-wijmenu-item | |
|
1987 | { | |
|
1988 | -moz-box-shadow: none; | |
|
1989 | -webkit-box-shadow: none; | |
|
1990 | box-shadow: none; | |
|
1991 | } | |
|
1992 | ||
|
1993 | .wijmo-wijdropdown .wijmo-dropdown, .wijmo-wijmenu-child, .wijmo-wijcombobox-list, .wijmo-wijgrid-filterlist | |
|
1994 | { | |
|
1995 | -moz-box-shadow: 3px 3px 3px rgba(0,0,0,0.15); | |
|
1996 | -webkit-box-shadow: 3px 3px 3px rgba(0,0,0,0.15); | |
|
1997 | box-shadow: 3px 3px 3px rgba(0,0,0,0.15); | |
|
1998 | } | |
|
1999 | ||
|
2000 | .wijmo-wijmenu-child .ui-state-default .wijmo-wijmenu-text, .wijmo-wijmenu-child a.wijmo-wijmenu-text | |
|
2001 | { | |
|
2002 | color: #404040; | |
|
2003 | } | |
|
2004 | .wijmo-wijmenu-ipod .wijmo-wijmenu-list .ui-state-default .wijmo-wijmenu-text | |
|
2005 | { | |
|
2006 | color: #fafafa; | |
|
2007 | } | |
|
2008 | .wijmo-wijmenu-ipod .wijmo-wijmenu-list | |
|
2009 | { | |
|
2010 | -moz-box-shadow: none; | |
|
2011 | -webkit-box-shadow: none; | |
|
2012 | box-shadow: none; | |
|
2013 | } | |
|
2014 | ||
|
2015 | .wijmo-wijmenu .wijmo-wijsuperpanel | |
|
2016 | { | |
|
2017 | background: none !important; | |
|
2018 | } | |
|
2019 | ||
|
2020 | ||
|
2021 | .wijmo-wijmenu-child .ui-state-hover .wijmo-wijmenu-text, .wijmo-wijmenu-child .ui-state-active .wijmo-wijmenu-text, .wijmo-wijmenu-child .ui-state-focus .wijmo-wijmenu-text | |
|
2022 | { | |
|
2023 | color: #fafafa; | |
|
2024 | } | |
|
2025 | ||
|
2026 | ||
|
2027 | .wijmo-wijmenu-child a:hover | |
|
2028 | { | |
|
2029 | color: #fafafa !important; | |
|
2030 | } | |
|
2031 | ||
|
2032 | .wijmo-wijmenu-child a:focus, .wijmo-wijmenu-child a:active | |
|
2033 | { | |
|
2034 | color: #fafafa !important; | |
|
2035 | } | |
|
2036 | ||
|
2037 | .ui-progressbar-value, .ui-slider-range | |
|
2038 | { | |
|
2039 | border: 1px solid #00a6dd; | |
|
2040 | background: #00a6dd url(images/ui-bg_highlight-soft_35_00a6dd_1x100.png) 50% 50% repeat-x; | |
|
2041 | font-weight: normal; | |
|
2042 | color: #fafafa; | |
|
2043 | } | |
|
2044 | ||
|
2045 | .wijmo-wijsuperpanel-vbarcontainer, .wijmo-wijsuperpanel-hbarcontainer | |
|
2046 | { | |
|
2047 | background: #888978; | |
|
2048 | } | |
|
2049 | ||
|
2050 | .wijmo-wijsuperpanel-vbarcontainer | |
|
2051 | { | |
|
2052 | -moz-box-shadow: inset 3px 0 10px rgba(0,0,0,0.25); | |
|
2053 | -webkit-box-shadow: inset 3px 0 10px rgba(0,0,0,0.25); | |
|
2054 | box-shadow: inset 3px 0 10px rgba(0,0,0,0.25); | |
|
2055 | } | |
|
2056 | ||
|
2057 | ||
|
2058 | .wijmo-wijsuperpanel-hbarcontainer | |
|
2059 | { | |
|
2060 | -moz-box-shadow: inset 0 3px 10px rgba(0,0,0,0.25); | |
|
2061 | -webkit-box-shadow: inset 0 3px 10px rgba(0,0,0,0.25); | |
|
2062 | box-shadow: inset 0 3px 10px rgba(0,0,0,0.25); | |
|
2063 | } | |
|
2064 | ||
|
2065 | .wijmo-wijcalendar | |
|
2066 | { | |
|
2067 | display: block; | |
|
2068 | } | |
|
2069 | ||
|
2070 | ||
|
2071 | .wijmo-wijgrid .ui-state-highlight | |
|
2072 | { | |
|
2073 | -moz-box-shadow: none; | |
|
2074 | -webkit-box-shadow: none; | |
|
2075 | box-shadow: none; | |
|
2076 | background: transparent url(images/ui-bg_highlight-soft_15_9eca38_1x100_50.png) 50% 50% repeat-x; | |
|
2077 | text-shadow: none; | |
|
2078 | color: inherit; | |
|
2079 | } | |
|
2080 | ||
|
2081 | ||
|
2082 | .wijmo-wijgrid .wijmo-wijgrid-currency-cell | |
|
2083 | { | |
|
2084 | -moz-box-shadow: none; | |
|
2085 | -webkit-box-shadow: none; | |
|
2086 | box-shadow: none; | |
|
2087 | background: transparent url(images/ui-bg_highlight-soft_15_333333_1x100_50.png) repeat-x scroll center top; | |
|
2088 | text-shadow: none; | |
|
2089 | color: inherit; | |
|
2090 | border-top: solid 1px #d3d3d3; | |
|
2091 | } | |
|
2092 | ||
|
2093 | .wijmo-wijcalendar-day-selectable .ui-state-default | |
|
2094 | { | |
|
2095 | background: none; | |
|
2096 | border: solid 1px transparent; | |
|
2097 | color: #404040; | |
|
2098 | } | |
|
2099 | ||
|
2100 | .wijmo-wijcalendar-day-selectable .ui-state-highlight | |
|
2101 | { | |
|
2102 | background: #9eca38 url(images/ui-bg_highlight-soft_15_9eca38_1x100.png) 50% 50% repeat-x; | |
|
2103 | border: 1px solid #9eca38; | |
|
2104 | color: #304915; | |
|
2105 | -moz-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.25); | |
|
2106 | -webkit-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.25); | |
|
2107 | box-shadow: inset 1px 1px 0 rgba(255,255,255,0.25); | |
|
2108 | text-shadow: 1px 1px 0 rgba(255,255,255,0.50); | |
|
2109 | } | |
|
2110 | ||
|
2111 | ||
|
2112 | ||
|
2113 | .wijmo-wijcalendar-day-selectable .ui-state-hover | |
|
2114 | { | |
|
2115 | -moz-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.15); | |
|
2116 | -webkit-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.15); | |
|
2117 | box-shadow: inset 1px 1px 0 rgba(255,255,255,0.15); | |
|
2118 | border: 1px solid #00a6dd; | |
|
2119 | background: #00a6dd url(images/ui-bg_highlight-soft_35_00a6dd_1x100.png) 50% 50% repeat-x; | |
|
2120 | font-weight: normal; | |
|
2121 | color: #fafafa; | |
|
2122 | text-shadow: none; | |
|
2123 | } | |
|
2124 | ||
|
2125 | .wijmo-wijmenu .wijmo-wijmenu-separator | |
|
2126 | { | |
|
2127 | border: 1px solid #00a6dd; | |
|
2128 | background: #00a6dd url(images/ui-bg_highlight-soft_35_00a6dd_1x100.png) 50% 50% repeat-x; | |
|
2129 | } | |
|
2130 | ||
|
2131 | .wijmo-wijmenu .wij-menu-breadcrumb a | |
|
2132 | { | |
|
2133 | color: #fafafa; | |
|
2134 | line-height: 22px; | |
|
2135 | } | |
|
2136 | ||
|
2137 | .wijmo-wijcalendar-day-selectable .ui-state-active | |
|
2138 | { | |
|
2139 | -moz-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.15); | |
|
2140 | -webkit-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.15); | |
|
2141 | box-shadow: inset 1px 1px 0 rgba(255,255,255,0.15); | |
|
2142 | border: 1px solid transparent; | |
|
2143 | background: #606154 url(images/ui-bg_highlight-soft_15_333333_1x100.png) top repeat-x; | |
|
2144 | font-weight: normal; | |
|
2145 | color: #fafafa; | |
|
2146 | } | |
|
2147 | ||
|
2148 | .wijmo-wijcalendar-day-selectable .ui-priority-secondary | |
|
2149 | { | |
|
2150 | -moz-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.05); | |
|
2151 | -webkit-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.05); | |
|
2152 | box-shadow: inset 1px 1px 0 rgba(255,255,255,0.05); | |
|
2153 | border: 1px solid #404040; | |
|
2154 | background: #242122 url(images/ui-bg_highlight-soft_15_242122_1x100.png) 50% 50% repeat-x; | |
|
2155 | font-weight: normal; | |
|
2156 | color: #fafafa; | |
|
2157 | opacity: 0.25; | |
|
2158 | } | |
|
2159 | .wijmo-wijcombobox .wijmo-wijcombobox-input | |
|
2160 | { | |
|
2161 | background: #f1f1f1; | |
|
2162 | -moz-border-radius: 2px; | |
|
2163 | -webkit-border-radius: 2px; | |
|
2164 | border-radius: 2px; | |
|
2165 | color: #404040; | |
|
2166 | } | |
|
2167 | ||
|
2168 | .ui-expander-top .ui-expander-content | |
|
2169 | { | |
|
2170 | border-top: solid 1px #E3E3E3 !important; | |
|
2171 | } | |
|
2172 | ||
|
2173 | .ui-expander-right .ui-expander-content | |
|
2174 | { | |
|
2175 | border-top: solid 1px #E3E3E3 !important; | |
|
2176 | border-right: solid 1px #E3E3E3 !important; | |
|
2177 | border-bottom: solid 1px #E3E3E3 !important; | |
|
2178 | padding: 0 1em !important; | |
|
2179 | } | |
|
2180 | ||
|
2181 | .ui-expander-left .ui-expander-content | |
|
2182 | { | |
|
2183 | border-top: solid 1px #E3E3E3 !important; | |
|
2184 | border-left: solid 1px #E3E3E3 !important; | |
|
2185 | border-bottom: solid 1px #E3E3E3 !important; | |
|
2186 | padding: 0 1em !important; | |
|
2187 | } | |
|
2188 | ||
|
2189 | .ui-accordion-top .ui-accordion-content | |
|
2190 | { | |
|
2191 | border-top: solid 1px #E3E3E3 !important; | |
|
2192 | } | |
|
2193 | ||
|
2194 | .ui-accordion-right .ui-accordion-content | |
|
2195 | { | |
|
2196 | border-top: solid 1px #E3E3E3 !important; | |
|
2197 | border-right: solid 1px #E3E3E3 !important; | |
|
2198 | border-bottom: solid 1px #E3E3E3 !important; | |
|
2199 | padding: 0 1em !important; | |
|
2200 | } | |
|
2201 | ||
|
2202 | .ui-accordion-left .ui-accordion-content | |
|
2203 | { | |
|
2204 | border-top: solid 1px #E3E3E3 !important; | |
|
2205 | border-left: solid 1px #E3E3E3 !important; | |
|
2206 | border-bottom: solid 1px #E3E3E3 !important; | |
|
2207 | padding: 0 1em !important; | |
|
2208 | } | |
|
2209 | ||
|
2210 | ||
|
2211 | .ui-tabs .ui-tabs-nav | |
|
2212 | { | |
|
2213 | -moz-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.05); | |
|
2214 | -webkit-box-shadow: inset 1px 1px 0 rgba(255,255,255,0.05); | |
|
2215 | box-shadow: inset 1px 1px 0 rgba(255,255,255,0.05); | |
|
2216 | border: 1px solid #404040; | |
|
2217 | background: #242122 url(images/ui-bg_highlight-soft_15_242122_1x100_bottom.png) 50% 50% repeat-x; | |
|
2218 | font-weight: normal; | |
|
2219 | color: #fafafa; | |
|
2220 | } | |
|
2221 | ||
|
2222 | .wijmo-wijgrid .wijmo-wijcombobox-wrapper .wijmo-wijcombobox-input | |
|
2223 | { | |
|
2224 | -moz-border-radius: 0; | |
|
2225 | -webkit-border-radius: 0; | |
|
2226 | border-radius: 0; | |
|
2227 | } | |
|
2228 | ||
|
2229 | ||
|
2230 | .wijmo-wijgrid .wijmo-wijcombobox-trigger .ui-icon, .wijmo-wijgrid .wijmo-wijinput .ui-icon | |
|
2231 | { | |
|
2232 | background-image: url(images/ui-icons_fafafa_256x240.png); | |
|
2233 | } | |
|
2234 | ||
|
2235 | .wijmo-wijgrid .wijmo-wijcombobox-wrapper | |
|
2236 | { | |
|
2237 | background: none; | |
|
2238 | } | |
|
2239 | ||
|
2240 | .wijmo-wijgrid .ui-input-spinner-right .wijmo-wijinput-spinup | |
|
2241 | { | |
|
2242 | -moz-border-radius: 0; | |
|
2243 | -webkit-border-radius: 0; | |
|
2244 | border-radius: 0; | |
|
2245 | } | |
|
2246 | ||
|
2247 | .wijmo-wijgrid .ui-input-spinner-right .wijmo-wijinput-spindown | |
|
2248 | { | |
|
2249 | -moz-border-radius: 0; | |
|
2250 | -webkit-border-radius: 0; | |
|
2251 | border-radius: 0; | |
|
2252 | } | |
|
2253 | ||
|
2254 | .ui-datepicker-group .ui-datepicker-header | |
|
2255 | { | |
|
2256 | -moz-border-radius: 0; | |
|
2257 | border: none; | |
|
2258 | } | |
|
2259 | ||
|
2260 | .ui-datepicker-group .ui-datepicker-header .ui-datepicker-title | |
|
2261 | { | |
|
2262 | -moz-box-shadow: none; | |
|
2263 | -webkit-box-shadow: none; | |
|
2264 | box-shadow: none; | |
|
2265 | } | |
|
2266 | ||
|
2267 | .ui-datepicker-group-first .ui-datepicker-header | |
|
2268 | { | |
|
2269 | -moz-border-radius-topleft: 4px; | |
|
2270 | -webkit-border-top-left-radius: 4px; | |
|
2271 | border-top-left-radius: 4px; | |
|
2272 | -moz-border-radius-bottomleft: 4px; | |
|
2273 | -webkit-border-bottom-left-radius: 4px; | |
|
2274 | border-bottom-left-radius: 4px; | |
|
2275 | } | |
|
2276 | ||
|
2277 | .ui-datepicker-group-last .ui-datepicker-header | |
|
2278 | { | |
|
2279 | -moz-border-radius-topright: 4px; | |
|
2280 | -webkit-border-top-right-radius: 4px; | |
|
2281 | border-top-right-radius: 4px; | |
|
2282 | -moz-border-radius-bottomright: 4px; | |
|
2283 | -webkit-border-bottom-right-radius: 4px; | |
|
2284 | border-bottom-right-radius: 4px; | |
|
2285 | } | |
|
2286 | ||
|
2287 | a.ui-button:link, a.ui-button | |
|
2288 | { | |
|
2289 | color: #fafafa; | |
|
2290 | } | |
|
2291 | ||
|
2292 | .wijmo-wijwizard .wijmo-wijsuperpanel | |
|
2293 | { | |
|
2294 | background: none; | |
|
2295 | border: none; | |
|
2296 | } | |
|
2297 | ||
|
2298 | .wijmo-wijmenu .wijmo-wijmenu-link .wijmo-wijmenu-icon-right | |
|
2299 | { | |
|
2300 | color: #404040; | |
|
2301 | } | |
|
2302 | ||
|
2303 | .wijmo-wijmenu .wijmo-wijmenu-link:hover .wijmo-wijmenu-icon-right | |
|
2304 | { | |
|
2305 | color: #fafafa; | |
|
2306 | } | |
|
2307 | ||
|
2308 | ||
|
2309 | .wijmo-wijmenu .wijmo-wijmenu-link label | |
|
2310 | { | |
|
2311 | color: #404040; | |
|
2312 | } |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
This diff has been collapsed as it changes many lines, (573 lines changed) Show them Hide them | |||
@@ -0,0 +1,573 b'' | |||
|
1 | /* | |
|
2 | * jQuery UI CSS Framework 1.8.10 | |
|
3 | * | |
|
4 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
5 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
6 | * http://jquery.org/license | |
|
7 | * | |
|
8 | * http://docs.jquery.com/UI/Theming/API | |
|
9 | */ | |
|
10 | ||
|
11 | /* Layout helpers | |
|
12 | ----------------------------------*/ | |
|
13 | .ui-helper-hidden { display: none; } | |
|
14 | .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } | |
|
15 | .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } | |
|
16 | .ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } | |
|
17 | .ui-helper-clearfix { display: inline-block; } | |
|
18 | /* required comment for clearfix to work in Opera \*/ | |
|
19 | * html .ui-helper-clearfix { height:1%; } | |
|
20 | .ui-helper-clearfix { display:block; } | |
|
21 | /* end clearfix */ | |
|
22 | .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } | |
|
23 | ||
|
24 | ||
|
25 | /* Interaction Cues | |
|
26 | ----------------------------------*/ | |
|
27 | .ui-state-disabled { cursor: default !important; } | |
|
28 | ||
|
29 | ||
|
30 | /* Icons | |
|
31 | ----------------------------------*/ | |
|
32 | ||
|
33 | /* states and images */ | |
|
34 | .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } | |
|
35 | ||
|
36 | ||
|
37 | /* Misc visuals | |
|
38 | ----------------------------------*/ | |
|
39 | ||
|
40 | /* Overlays */ | |
|
41 | .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } | |
|
42 | ||
|
43 | ||
|
44 | /* | |
|
45 | * jQuery UI CSS Framework 1.8.10 | |
|
46 | * | |
|
47 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
48 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
49 | * http://jquery.org/license | |
|
50 | * | |
|
51 | * http://docs.jquery.com/UI/Theming/API | |
|
52 | * | |
|
53 | * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS,%20Tahoma,%20Verdana,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=03_highlight_soft.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px | |
|
54 | */ | |
|
55 | ||
|
56 | ||
|
57 | /* Component containers | |
|
58 | ----------------------------------*/ | |
|
59 | .ui-widget { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em; } | |
|
60 | .ui-widget .ui-widget { font-size: 1em; } | |
|
61 | .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1em; } | |
|
62 | .ui-widget-content { border: 1px solid #dddddd; background: #eeeeee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x; color: #333333; } | |
|
63 | .ui-widget-content a { color: #333333; } | |
|
64 | .ui-widget-header { border: 1px solid #e78f08; background: #f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; } | |
|
65 | .ui-widget-header a { color: #ffffff; } | |
|
66 | ||
|
67 | /* Interaction states | |
|
68 | ----------------------------------*/ | |
|
69 | .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1c94c4; } | |
|
70 | .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #1c94c4; text-decoration: none; } | |
|
71 | .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #fbcb09; background: #fdf5ce url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #c77405; } | |
|
72 | .ui-state-hover a, .ui-state-hover a:hover { color: #c77405; text-decoration: none; } | |
|
73 | .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #fbd850; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eb8f00; } | |
|
74 | .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eb8f00; text-decoration: none; } | |
|
75 | .ui-widget :active { outline: none; } | |
|
76 | ||
|
77 | /* Interaction Cues | |
|
78 | ----------------------------------*/ | |
|
79 | .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fed22f; background: #ffe45c url(images/ui-bg_highlight-soft_75_ffe45c_1x100.png) 50% top repeat-x; color: #363636; } | |
|
80 | .ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; } | |
|
81 | .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #b81900 url(images/ui-bg_diagonals-thick_18_b81900_40x40.png) 50% 50% repeat; color: #ffffff; } | |
|
82 | .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ffffff; } | |
|
83 | .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ffffff; } | |
|
84 | .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } | |
|
85 | .ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } | |
|
86 | .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } | |
|
87 | ||
|
88 | /* Icons | |
|
89 | ----------------------------------*/ | |
|
90 | ||
|
91 | /* states and images */ | |
|
92 | .ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); } | |
|
93 | .ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); } | |
|
94 | .ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); } | |
|
95 | .ui-state-default .ui-icon { background-image: url(images/ui-icons_ef8c08_256x240.png); } | |
|
96 | .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); } | |
|
97 | .ui-state-active .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); } | |
|
98 | .ui-state-highlight .ui-icon {background-image: url(images/ui-icons_228ef1_256x240.png); } | |
|
99 | .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffd27a_256x240.png); } | |
|
100 | ||
|
101 | /* positioning */ | |
|
102 | .ui-icon-carat-1-n { background-position: 0 0; } | |
|
103 | .ui-icon-carat-1-ne { background-position: -16px 0; } | |
|
104 | .ui-icon-carat-1-e { background-position: -32px 0; } | |
|
105 | .ui-icon-carat-1-se { background-position: -48px 0; } | |
|
106 | .ui-icon-carat-1-s { background-position: -64px 0; } | |
|
107 | .ui-icon-carat-1-sw { background-position: -80px 0; } | |
|
108 | .ui-icon-carat-1-w { background-position: -96px 0; } | |
|
109 | .ui-icon-carat-1-nw { background-position: -112px 0; } | |
|
110 | .ui-icon-carat-2-n-s { background-position: -128px 0; } | |
|
111 | .ui-icon-carat-2-e-w { background-position: -144px 0; } | |
|
112 | .ui-icon-triangle-1-n { background-position: 0 -16px; } | |
|
113 | .ui-icon-triangle-1-ne { background-position: -16px -16px; } | |
|
114 | .ui-icon-triangle-1-e { background-position: -32px -16px; } | |
|
115 | .ui-icon-triangle-1-se { background-position: -48px -16px; } | |
|
116 | .ui-icon-triangle-1-s { background-position: -64px -16px; } | |
|
117 | .ui-icon-triangle-1-sw { background-position: -80px -16px; } | |
|
118 | .ui-icon-triangle-1-w { background-position: -96px -16px; } | |
|
119 | .ui-icon-triangle-1-nw { background-position: -112px -16px; } | |
|
120 | .ui-icon-triangle-2-n-s { background-position: -128px -16px; } | |
|
121 | .ui-icon-triangle-2-e-w { background-position: -144px -16px; } | |
|
122 | .ui-icon-arrow-1-n { background-position: 0 -32px; } | |
|
123 | .ui-icon-arrow-1-ne { background-position: -16px -32px; } | |
|
124 | .ui-icon-arrow-1-e { background-position: -32px -32px; } | |
|
125 | .ui-icon-arrow-1-se { background-position: -48px -32px; } | |
|
126 | .ui-icon-arrow-1-s { background-position: -64px -32px; } | |
|
127 | .ui-icon-arrow-1-sw { background-position: -80px -32px; } | |
|
128 | .ui-icon-arrow-1-w { background-position: -96px -32px; } | |
|
129 | .ui-icon-arrow-1-nw { background-position: -112px -32px; } | |
|
130 | .ui-icon-arrow-2-n-s { background-position: -128px -32px; } | |
|
131 | .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } | |
|
132 | .ui-icon-arrow-2-e-w { background-position: -160px -32px; } | |
|
133 | .ui-icon-arrow-2-se-nw { background-position: -176px -32px; } | |
|
134 | .ui-icon-arrowstop-1-n { background-position: -192px -32px; } | |
|
135 | .ui-icon-arrowstop-1-e { background-position: -208px -32px; } | |
|
136 | .ui-icon-arrowstop-1-s { background-position: -224px -32px; } | |
|
137 | .ui-icon-arrowstop-1-w { background-position: -240px -32px; } | |
|
138 | .ui-icon-arrowthick-1-n { background-position: 0 -48px; } | |
|
139 | .ui-icon-arrowthick-1-ne { background-position: -16px -48px; } | |
|
140 | .ui-icon-arrowthick-1-e { background-position: -32px -48px; } | |
|
141 | .ui-icon-arrowthick-1-se { background-position: -48px -48px; } | |
|
142 | .ui-icon-arrowthick-1-s { background-position: -64px -48px; } | |
|
143 | .ui-icon-arrowthick-1-sw { background-position: -80px -48px; } | |
|
144 | .ui-icon-arrowthick-1-w { background-position: -96px -48px; } | |
|
145 | .ui-icon-arrowthick-1-nw { background-position: -112px -48px; } | |
|
146 | .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } | |
|
147 | .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } | |
|
148 | .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } | |
|
149 | .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } | |
|
150 | .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } | |
|
151 | .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } | |
|
152 | .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } | |
|
153 | .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } | |
|
154 | .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } | |
|
155 | .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } | |
|
156 | .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } | |
|
157 | .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } | |
|
158 | .ui-icon-arrowreturn-1-w { background-position: -64px -64px; } | |
|
159 | .ui-icon-arrowreturn-1-n { background-position: -80px -64px; } | |
|
160 | .ui-icon-arrowreturn-1-e { background-position: -96px -64px; } | |
|
161 | .ui-icon-arrowreturn-1-s { background-position: -112px -64px; } | |
|
162 | .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } | |
|
163 | .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } | |
|
164 | .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } | |
|
165 | .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } | |
|
166 | .ui-icon-arrow-4 { background-position: 0 -80px; } | |
|
167 | .ui-icon-arrow-4-diag { background-position: -16px -80px; } | |
|
168 | .ui-icon-extlink { background-position: -32px -80px; } | |
|
169 | .ui-icon-newwin { background-position: -48px -80px; } | |
|
170 | .ui-icon-refresh { background-position: -64px -80px; } | |
|
171 | .ui-icon-shuffle { background-position: -80px -80px; } | |
|
172 | .ui-icon-transfer-e-w { background-position: -96px -80px; } | |
|
173 | .ui-icon-transferthick-e-w { background-position: -112px -80px; } | |
|
174 | .ui-icon-folder-collapsed { background-position: 0 -96px; } | |
|
175 | .ui-icon-folder-open { background-position: -16px -96px; } | |
|
176 | .ui-icon-document { background-position: -32px -96px; } | |
|
177 | .ui-icon-document-b { background-position: -48px -96px; } | |
|
178 | .ui-icon-note { background-position: -64px -96px; } | |
|
179 | .ui-icon-mail-closed { background-position: -80px -96px; } | |
|
180 | .ui-icon-mail-open { background-position: -96px -96px; } | |
|
181 | .ui-icon-suitcase { background-position: -112px -96px; } | |
|
182 | .ui-icon-comment { background-position: -128px -96px; } | |
|
183 | .ui-icon-person { background-position: -144px -96px; } | |
|
184 | .ui-icon-print { background-position: -160px -96px; } | |
|
185 | .ui-icon-trash { background-position: -176px -96px; } | |
|
186 | .ui-icon-locked { background-position: -192px -96px; } | |
|
187 | .ui-icon-unlocked { background-position: -208px -96px; } | |
|
188 | .ui-icon-bookmark { background-position: -224px -96px; } | |
|
189 | .ui-icon-tag { background-position: -240px -96px; } | |
|
190 | .ui-icon-home { background-position: 0 -112px; } | |
|
191 | .ui-icon-flag { background-position: -16px -112px; } | |
|
192 | .ui-icon-calendar { background-position: -32px -112px; } | |
|
193 | .ui-icon-cart { background-position: -48px -112px; } | |
|
194 | .ui-icon-pencil { background-position: -64px -112px; } | |
|
195 | .ui-icon-clock { background-position: -80px -112px; } | |
|
196 | .ui-icon-disk { background-position: -96px -112px; } | |
|
197 | .ui-icon-calculator { background-position: -112px -112px; } | |
|
198 | .ui-icon-zoomin { background-position: -128px -112px; } | |
|
199 | .ui-icon-zoomout { background-position: -144px -112px; } | |
|
200 | .ui-icon-search { background-position: -160px -112px; } | |
|
201 | .ui-icon-wrench { background-position: -176px -112px; } | |
|
202 | .ui-icon-gear { background-position: -192px -112px; } | |
|
203 | .ui-icon-heart { background-position: -208px -112px; } | |
|
204 | .ui-icon-star { background-position: -224px -112px; } | |
|
205 | .ui-icon-link { background-position: -240px -112px; } | |
|
206 | .ui-icon-cancel { background-position: 0 -128px; } | |
|
207 | .ui-icon-plus { background-position: -16px -128px; } | |
|
208 | .ui-icon-plusthick { background-position: -32px -128px; } | |
|
209 | .ui-icon-minus { background-position: -48px -128px; } | |
|
210 | .ui-icon-minusthick { background-position: -64px -128px; } | |
|
211 | .ui-icon-close { background-position: -80px -128px; } | |
|
212 | .ui-icon-closethick { background-position: -96px -128px; } | |
|
213 | .ui-icon-key { background-position: -112px -128px; } | |
|
214 | .ui-icon-lightbulb { background-position: -128px -128px; } | |
|
215 | .ui-icon-scissors { background-position: -144px -128px; } | |
|
216 | .ui-icon-clipboard { background-position: -160px -128px; } | |
|
217 | .ui-icon-copy { background-position: -176px -128px; } | |
|
218 | .ui-icon-contact { background-position: -192px -128px; } | |
|
219 | .ui-icon-image { background-position: -208px -128px; } | |
|
220 | .ui-icon-video { background-position: -224px -128px; } | |
|
221 | .ui-icon-script { background-position: -240px -128px; } | |
|
222 | .ui-icon-alert { background-position: 0 -144px; } | |
|
223 | .ui-icon-info { background-position: -16px -144px; } | |
|
224 | .ui-icon-notice { background-position: -32px -144px; } | |
|
225 | .ui-icon-help { background-position: -48px -144px; } | |
|
226 | .ui-icon-check { background-position: -64px -144px; } | |
|
227 | .ui-icon-bullet { background-position: -80px -144px; } | |
|
228 | .ui-icon-radio-off { background-position: -96px -144px; } | |
|
229 | .ui-icon-radio-on { background-position: -112px -144px; } | |
|
230 | .ui-icon-pin-w { background-position: -128px -144px; } | |
|
231 | .ui-icon-pin-s { background-position: -144px -144px; } | |
|
232 | .ui-icon-play { background-position: 0 -160px; } | |
|
233 | .ui-icon-pause { background-position: -16px -160px; } | |
|
234 | .ui-icon-seek-next { background-position: -32px -160px; } | |
|
235 | .ui-icon-seek-prev { background-position: -48px -160px; } | |
|
236 | .ui-icon-seek-end { background-position: -64px -160px; } | |
|
237 | .ui-icon-seek-start { background-position: -80px -160px; } | |
|
238 | /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ | |
|
239 | .ui-icon-seek-first { background-position: -80px -160px; } | |
|
240 | .ui-icon-stop { background-position: -96px -160px; } | |
|
241 | .ui-icon-eject { background-position: -112px -160px; } | |
|
242 | .ui-icon-volume-off { background-position: -128px -160px; } | |
|
243 | .ui-icon-volume-on { background-position: -144px -160px; } | |
|
244 | .ui-icon-power { background-position: 0 -176px; } | |
|
245 | .ui-icon-signal-diag { background-position: -16px -176px; } | |
|
246 | .ui-icon-signal { background-position: -32px -176px; } | |
|
247 | .ui-icon-battery-0 { background-position: -48px -176px; } | |
|
248 | .ui-icon-battery-1 { background-position: -64px -176px; } | |
|
249 | .ui-icon-battery-2 { background-position: -80px -176px; } | |
|
250 | .ui-icon-battery-3 { background-position: -96px -176px; } | |
|
251 | .ui-icon-circle-plus { background-position: 0 -192px; } | |
|
252 | .ui-icon-circle-minus { background-position: -16px -192px; } | |
|
253 | .ui-icon-circle-close { background-position: -32px -192px; } | |
|
254 | .ui-icon-circle-triangle-e { background-position: -48px -192px; } | |
|
255 | .ui-icon-circle-triangle-s { background-position: -64px -192px; } | |
|
256 | .ui-icon-circle-triangle-w { background-position: -80px -192px; } | |
|
257 | .ui-icon-circle-triangle-n { background-position: -96px -192px; } | |
|
258 | .ui-icon-circle-arrow-e { background-position: -112px -192px; } | |
|
259 | .ui-icon-circle-arrow-s { background-position: -128px -192px; } | |
|
260 | .ui-icon-circle-arrow-w { background-position: -144px -192px; } | |
|
261 | .ui-icon-circle-arrow-n { background-position: -160px -192px; } | |
|
262 | .ui-icon-circle-zoomin { background-position: -176px -192px; } | |
|
263 | .ui-icon-circle-zoomout { background-position: -192px -192px; } | |
|
264 | .ui-icon-circle-check { background-position: -208px -192px; } | |
|
265 | .ui-icon-circlesmall-plus { background-position: 0 -208px; } | |
|
266 | .ui-icon-circlesmall-minus { background-position: -16px -208px; } | |
|
267 | .ui-icon-circlesmall-close { background-position: -32px -208px; } | |
|
268 | .ui-icon-squaresmall-plus { background-position: -48px -208px; } | |
|
269 | .ui-icon-squaresmall-minus { background-position: -64px -208px; } | |
|
270 | .ui-icon-squaresmall-close { background-position: -80px -208px; } | |
|
271 | .ui-icon-grip-dotted-vertical { background-position: 0 -224px; } | |
|
272 | .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } | |
|
273 | .ui-icon-grip-solid-vertical { background-position: -32px -224px; } | |
|
274 | .ui-icon-grip-solid-horizontal { background-position: -48px -224px; } | |
|
275 | .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } | |
|
276 | .ui-icon-grip-diagonal-se { background-position: -80px -224px; } | |
|
277 | ||
|
278 | ||
|
279 | /* Misc visuals | |
|
280 | ----------------------------------*/ | |
|
281 | ||
|
282 | /* Corner radius */ | |
|
283 | .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; } | |
|
284 | .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; } | |
|
285 | .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; } | |
|
286 | .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } | |
|
287 | .ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; } | |
|
288 | .ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } | |
|
289 | .ui-corner-right { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } | |
|
290 | .ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; } | |
|
291 | .ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; } | |
|
292 | ||
|
293 | /* Overlays */ | |
|
294 | .ui-widget-overlay { background: #666666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); } | |
|
295 | .ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }/* | |
|
296 | * jQuery UI Resizable 1.8.10 | |
|
297 | * | |
|
298 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
299 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
300 | * http://jquery.org/license | |
|
301 | * | |
|
302 | * http://docs.jquery.com/UI/Resizable#theming | |
|
303 | */ | |
|
304 | .ui-resizable { position: relative;} | |
|
305 | .ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;} | |
|
306 | .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } | |
|
307 | .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } | |
|
308 | .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } | |
|
309 | .ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; } | |
|
310 | .ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; } | |
|
311 | .ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } | |
|
312 | .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } | |
|
313 | .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } | |
|
314 | .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* | |
|
315 | * jQuery UI Selectable 1.8.10 | |
|
316 | * | |
|
317 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
318 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
319 | * http://jquery.org/license | |
|
320 | * | |
|
321 | * http://docs.jquery.com/UI/Selectable#theming | |
|
322 | */ | |
|
323 | .ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; } | |
|
324 | /* | |
|
325 | * jQuery UI Accordion 1.8.10 | |
|
326 | * | |
|
327 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
328 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
329 | * http://jquery.org/license | |
|
330 | * | |
|
331 | * http://docs.jquery.com/UI/Accordion#theming | |
|
332 | */ | |
|
333 | /* IE/Win - Fix animation bug - #4615 */ | |
|
334 | .ui-accordion { width: 100%; } | |
|
335 | .ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; } | |
|
336 | .ui-accordion .ui-accordion-li-fix { display: inline; } | |
|
337 | .ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; } | |
|
338 | .ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; } | |
|
339 | .ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; } | |
|
340 | .ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } | |
|
341 | .ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; } | |
|
342 | .ui-accordion .ui-accordion-content-active { display: block; } | |
|
343 | /* | |
|
344 | * jQuery UI Autocomplete 1.8.10 | |
|
345 | * | |
|
346 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
347 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
348 | * http://jquery.org/license | |
|
349 | * | |
|
350 | * http://docs.jquery.com/UI/Autocomplete#theming | |
|
351 | */ | |
|
352 | .ui-autocomplete { position: absolute; cursor: default; } | |
|
353 | ||
|
354 | /* workarounds */ | |
|
355 | * html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ | |
|
356 | ||
|
357 | /* | |
|
358 | * jQuery UI Menu 1.8.10 | |
|
359 | * | |
|
360 | * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) | |
|
361 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
362 | * http://jquery.org/license | |
|
363 | * | |
|
364 | * http://docs.jquery.com/UI/Menu#theming | |
|
365 | */ | |
|
366 | .ui-menu { | |
|
367 | list-style:none; | |
|
368 | padding: 2px; | |
|
369 | margin: 0; | |
|
370 | display:block; | |
|
371 | float: left; | |
|
372 | } | |
|
373 | .ui-menu .ui-menu { | |
|
374 | margin-top: -3px; | |
|
375 | } | |
|
376 | .ui-menu .ui-menu-item { | |
|
377 | margin:0; | |
|
378 | padding: 0; | |
|
379 | zoom: 1; | |
|
380 | float: left; | |
|
381 | clear: left; | |
|
382 | width: 100%; | |
|
383 | } | |
|
384 | .ui-menu .ui-menu-item a { | |
|
385 | text-decoration:none; | |
|
386 | display:block; | |
|
387 | padding:.2em .4em; | |
|
388 | line-height:1.5; | |
|
389 | zoom:1; | |
|
390 | } | |
|
391 | .ui-menu .ui-menu-item a.ui-state-hover, | |
|
392 | .ui-menu .ui-menu-item a.ui-state-active { | |
|
393 | font-weight: normal; | |
|
394 | margin: -1px; | |
|
395 | } | |
|
396 | /* | |
|
397 | * jQuery UI Button 1.8.10 | |
|
398 | * | |
|
399 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
400 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
401 | * http://jquery.org/license | |
|
402 | * | |
|
403 | * http://docs.jquery.com/UI/Button#theming | |
|
404 | */ | |
|
405 | .ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */ | |
|
406 | .ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */ | |
|
407 | button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */ | |
|
408 | .ui-button-icons-only { width: 3.4em; } | |
|
409 | button.ui-button-icons-only { width: 3.7em; } | |
|
410 | ||
|
411 | /*button text element */ | |
|
412 | .ui-button .ui-button-text { display: block; line-height: 1.4; } | |
|
413 | .ui-button-text-only .ui-button-text { padding: .4em 1em; } | |
|
414 | .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; } | |
|
415 | .ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; } | |
|
416 | .ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; } | |
|
417 | .ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; } | |
|
418 | /* no icon support for input elements, provide padding by default */ | |
|
419 | input.ui-button { padding: .4em 1em; } | |
|
420 | ||
|
421 | /*button icon element(s) */ | |
|
422 | .ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; } | |
|
423 | .ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; } | |
|
424 | .ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; } | |
|
425 | .ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } | |
|
426 | .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } | |
|
427 | ||
|
428 | /*button sets*/ | |
|
429 | .ui-buttonset { margin-right: 7px; } | |
|
430 | .ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; } | |
|
431 | ||
|
432 | /* workarounds */ | |
|
433 | button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */ | |
|
434 | /* | |
|
435 | * jQuery UI Dialog 1.8.10 | |
|
436 | * | |
|
437 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
438 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
439 | * http://jquery.org/license | |
|
440 | * | |
|
441 | * http://docs.jquery.com/UI/Dialog#theming | |
|
442 | */ | |
|
443 | .ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; } | |
|
444 | .ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; } | |
|
445 | .ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; } | |
|
446 | .ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } | |
|
447 | .ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } | |
|
448 | .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } | |
|
449 | .ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } | |
|
450 | .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } | |
|
451 | .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; } | |
|
452 | .ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; } | |
|
453 | .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } | |
|
454 | .ui-draggable .ui-dialog-titlebar { cursor: move; } | |
|
455 | /* | |
|
456 | * jQuery UI Slider 1.8.10 | |
|
457 | * | |
|
458 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
459 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
460 | * http://jquery.org/license | |
|
461 | * | |
|
462 | * http://docs.jquery.com/UI/Slider#theming | |
|
463 | */ | |
|
464 | .ui-slider { position: relative; text-align: left; } | |
|
465 | .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } | |
|
466 | .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; } | |
|
467 | ||
|
468 | .ui-slider-horizontal { height: .8em; } | |
|
469 | .ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } | |
|
470 | .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } | |
|
471 | .ui-slider-horizontal .ui-slider-range-min { left: 0; } | |
|
472 | .ui-slider-horizontal .ui-slider-range-max { right: 0; } | |
|
473 | ||
|
474 | .ui-slider-vertical { width: .8em; height: 100px; } | |
|
475 | .ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } | |
|
476 | .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } | |
|
477 | .ui-slider-vertical .ui-slider-range-min { bottom: 0; } | |
|
478 | .ui-slider-vertical .ui-slider-range-max { top: 0; }/* | |
|
479 | * jQuery UI Tabs 1.8.10 | |
|
480 | * | |
|
481 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
482 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
483 | * http://jquery.org/license | |
|
484 | * | |
|
485 | * http://docs.jquery.com/UI/Tabs#theming | |
|
486 | */ | |
|
487 | .ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ | |
|
488 | .ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } | |
|
489 | .ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; } | |
|
490 | .ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; } | |
|
491 | .ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; } | |
|
492 | .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } | |
|
493 | .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ | |
|
494 | .ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } | |
|
495 | .ui-tabs .ui-tabs-hide { display: none !important; } | |
|
496 | /* | |
|
497 | * jQuery UI Datepicker 1.8.10 | |
|
498 | * | |
|
499 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
500 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
501 | * http://jquery.org/license | |
|
502 | * | |
|
503 | * http://docs.jquery.com/UI/Datepicker#theming | |
|
504 | */ | |
|
505 | .ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; } | |
|
506 | .ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } | |
|
507 | .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } | |
|
508 | .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; } | |
|
509 | .ui-datepicker .ui-datepicker-prev { left:2px; } | |
|
510 | .ui-datepicker .ui-datepicker-next { right:2px; } | |
|
511 | .ui-datepicker .ui-datepicker-prev-hover { left:1px; } | |
|
512 | .ui-datepicker .ui-datepicker-next-hover { right:1px; } | |
|
513 | .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } | |
|
514 | .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } | |
|
515 | .ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; } | |
|
516 | .ui-datepicker select.ui-datepicker-month-year {width: 100%;} | |
|
517 | .ui-datepicker select.ui-datepicker-month, | |
|
518 | .ui-datepicker select.ui-datepicker-year { width: 49%;} | |
|
519 | .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } | |
|
520 | .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } | |
|
521 | .ui-datepicker td { border: 0; padding: 1px; } | |
|
522 | .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } | |
|
523 | .ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } | |
|
524 | .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } | |
|
525 | .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } | |
|
526 | ||
|
527 | /* with multiple calendars */ | |
|
528 | .ui-datepicker.ui-datepicker-multi { width:auto; } | |
|
529 | .ui-datepicker-multi .ui-datepicker-group { float:left; } | |
|
530 | .ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } | |
|
531 | .ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } | |
|
532 | .ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } | |
|
533 | .ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } | |
|
534 | .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } | |
|
535 | .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } | |
|
536 | .ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } | |
|
537 | .ui-datepicker-row-break { clear:both; width:100%; } | |
|
538 | ||
|
539 | /* RTL support */ | |
|
540 | .ui-datepicker-rtl { direction: rtl; } | |
|
541 | .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } | |
|
542 | .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } | |
|
543 | .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } | |
|
544 | .ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } | |
|
545 | .ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } | |
|
546 | .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } | |
|
547 | .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } | |
|
548 | .ui-datepicker-rtl .ui-datepicker-group { float:right; } | |
|
549 | .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } | |
|
550 | .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } | |
|
551 | ||
|
552 | /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ | |
|
553 | .ui-datepicker-cover { | |
|
554 | display: none; /*sorry for IE5*/ | |
|
555 | display/**/: block; /*sorry for IE5*/ | |
|
556 | position: absolute; /*must have*/ | |
|
557 | z-index: -1; /*must have*/ | |
|
558 | filter: mask(); /*must have*/ | |
|
559 | top: -4px; /*must have*/ | |
|
560 | left: -4px; /*must have*/ | |
|
561 | width: 200px; /*must have*/ | |
|
562 | height: 200px; /*must have*/ | |
|
563 | }/* | |
|
564 | * jQuery UI Progressbar 1.8.10 | |
|
565 | * | |
|
566 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
567 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
568 | * http://jquery.org/license | |
|
569 | * | |
|
570 | * http://docs.jquery.com/UI/Progressbar#theming | |
|
571 | */ | |
|
572 | .ui-progressbar { height:2em; text-align: left; } | |
|
573 | .ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; } No newline at end of file |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
|
1 | NO CONTENT: new file 100755, binary diff hidden |
@@ -0,0 +1,115 b'' | |||
|
1 | /*.wijmo-wijaccordion.ui-helper-horizontal > .ui-widget-content | |
|
2 | { | |
|
3 | width: 200px; | |
|
4 | height: 200px; | |
|
5 | padding-top:0; | |
|
6 | padding-bottom:0; | |
|
7 | margin-top:0; | |
|
8 | margin-bottom:0; | |
|
9 | } | |
|
10 | ||
|
11 | .wijmo-wijaccordion.ui-helper-horizontal > .ui-accordion-header | |
|
12 | { | |
|
13 | height: 200px; | |
|
14 | padding-top:0; | |
|
15 | padding-bottom:0; | |
|
16 | margin-top:0; | |
|
17 | margin-bottom:0; | |
|
18 | }*/ | |
|
19 | ||
|
20 | ||
|
21 | .ui-accordion a | |
|
22 | { | |
|
23 | outline: none; | |
|
24 | } | |
|
25 | ||
|
26 | /* RIGHT */ | |
|
27 | ||
|
28 | .ui-accordion-right .ui-accordion-header | |
|
29 | { | |
|
30 | margin-top: 0; | |
|
31 | margin-left: 1px; | |
|
32 | width: 2em; | |
|
33 | height: 12em; | |
|
34 | overflow: hidden; | |
|
35 | } | |
|
36 | ||
|
37 | .ui-accordion-right .ui-accordion-content | |
|
38 | { | |
|
39 | margin: 0; | |
|
40 | height: 200px; | |
|
41 | width: 36em; | |
|
42 | height: 12em; | |
|
43 | padding: 0 2.2em; | |
|
44 | } | |
|
45 | .ui-accordion-right .ui-accordion-content | |
|
46 | { | |
|
47 | top: 0; | |
|
48 | margin-left: -2px; | |
|
49 | padding: 1px; | |
|
50 | border: none; | |
|
51 | } | |
|
52 | ||
|
53 | ||
|
54 | .ui-accordion-right .ui-state-active | |
|
55 | { | |
|
56 | border-right: none; | |
|
57 | } | |
|
58 | ||
|
59 | .ui-accordion-right .ui-accordion-header a | |
|
60 | { | |
|
61 | padding: 2.2em 0 0 0; | |
|
62 | text-align: center; | |
|
63 | } | |
|
64 | ||
|
65 | ||
|
66 | .ui-accordion-right .ui-accordion-header .ui-icon | |
|
67 | { | |
|
68 | top: 10%; | |
|
69 | } | |
|
70 | ||
|
71 | ||
|
72 | /* LEFT */ | |
|
73 | ||
|
74 | .ui-accordion-left .ui-accordion-header | |
|
75 | { | |
|
76 | margin-top: 0; | |
|
77 | margin-right: 1px; | |
|
78 | width: 2em; | |
|
79 | height: 12em; | |
|
80 | overflow: hidden; | |
|
81 | } | |
|
82 | ||
|
83 | .ui-accordion-left .ui-accordion-content | |
|
84 | { | |
|
85 | margin: 0; | |
|
86 | height: 200px; | |
|
87 | width: 36em; | |
|
88 | height: 12em; | |
|
89 | padding: 0 2.2em; | |
|
90 | } | |
|
91 | .ui-accordion-left .ui-accordion-content | |
|
92 | { | |
|
93 | border: none; | |
|
94 | padding: 1px; | |
|
95 | top: 0; | |
|
96 | margin-right: -2px; | |
|
97 | } | |
|
98 | ||
|
99 | ||
|
100 | .ui-accordion-left .ui-state-active | |
|
101 | { | |
|
102 | border-left: none; | |
|
103 | } | |
|
104 | ||
|
105 | .ui-accordion-left .ui-accordion-header a | |
|
106 | { | |
|
107 | padding: 2.2em 0 0 0; | |
|
108 | text-align: center; | |
|
109 | } | |
|
110 | ||
|
111 | ||
|
112 | .ui-accordion-left .ui-accordion-header .ui-icon | |
|
113 | { | |
|
114 | top: 10%; | |
|
115 | } |
@@ -0,0 +1,116 b'' | |||
|
1 | .wijmo-wijcalendar | |
|
2 | { | |
|
3 | -webkit-user-select: none; | |
|
4 | -moz-user-select: none; | |
|
5 | display:block; | |
|
6 | } | |
|
7 | ||
|
8 | .wijmo-wijcalendar-header | |
|
9 | { | |
|
10 | position: relative; | |
|
11 | } | |
|
12 | ||
|
13 | .wijmo-wijcalendar-header-inner | |
|
14 | { | |
|
15 | margin: 0 1.8em; | |
|
16 | line-height: 1.8em; | |
|
17 | } | |
|
18 | ||
|
19 | .wijmo-wijcalendar .ui-datepicker-header | |
|
20 | { | |
|
21 | padding: 1px; | |
|
22 | } | |
|
23 | ||
|
24 | .wijmo-wijcalendar .ui-datepicker-header .ui-state-default | |
|
25 | { | |
|
26 | border-color: transparent; | |
|
27 | background: none; | |
|
28 | color: inherit; | |
|
29 | } | |
|
30 | ||
|
31 | .wijmo-wijcalendar .wijmo-wijcalendar-table | |
|
32 | { | |
|
33 | table-layout: fixed; | |
|
34 | } | |
|
35 | ||
|
36 | .wijmo-wijcalendar-prevpreview-button, .wijmo-wijcalendar-nextpreview-button | |
|
37 | { | |
|
38 | width: 16px; | |
|
39 | margin-top: 35%; | |
|
40 | float: left; | |
|
41 | } | |
|
42 | ||
|
43 | .wijmo-wijcalendar-nextpreview-button | |
|
44 | { | |
|
45 | float: right; | |
|
46 | } | |
|
47 | ||
|
48 | .wijmo-wijcalendar-preview-wrapper .wijmo-wijcalendar | |
|
49 | { | |
|
50 | float: left; | |
|
51 | width: 18em; | |
|
52 | } | |
|
53 | ||
|
54 | .wijmo-wijcalendar-preview-wrapper .wijmo-wijcalendar .ui-datepicker-calendar | |
|
55 | { | |
|
56 | width: 80%; | |
|
57 | float: left; | |
|
58 | } | |
|
59 | ||
|
60 | .wijmo-wijcalendar-title, .wijmo-wijcalendar-selectable | |
|
61 | { | |
|
62 | cursor: pointer; | |
|
63 | } | |
|
64 | ||
|
65 | .ui-datepicker-other-month | |
|
66 | { | |
|
67 | text-align: right; | |
|
68 | } | |
|
69 | ||
|
70 | .wijmo-wijcalendar-mygrid td span, .wijmo-wijcalendar-mygrid td a | |
|
71 | { | |
|
72 | display: block; | |
|
73 | text-align: center; | |
|
74 | text-decoration: none; | |
|
75 | padding: 0; | |
|
76 | } | |
|
77 | ||
|
78 | .wijmo-wijcalendar-mygrid .ui-state-default a, .wijmo-wijcalendar-mygrid .ui-state-default a:hover, .wijmo-wijcalendar-mygrid .ui-state-hover a, .wijmo-wijcalendar-mygrid .ui-state-hover a:hover | |
|
79 | { | |
|
80 | color: inherit; | |
|
81 | } | |
|
82 | ||
|
83 | .ui-header-custom img, .ui-footer-custom img | |
|
84 | { | |
|
85 | width: 100%; | |
|
86 | } | |
|
87 | ||
|
88 | .wijmo-wijcalendar table.wijmo-wijcalendar-mygrid | |
|
89 | { | |
|
90 | margin-top: 2px; | |
|
91 | border-collapse: separate; | |
|
92 | table-layout: fixed; | |
|
93 | } | |
|
94 | ||
|
95 | .wijmo-wijcalendar table.wijmo-wijcalendar-mygrid .ui-datepicker-week-day | |
|
96 | { | |
|
97 | cursor: pointer; | |
|
98 | } | |
|
99 | ||
|
100 | .wijmo-wijcalendar-aniwrapper | |
|
101 | { | |
|
102 | position: relative; | |
|
103 | left: 0; | |
|
104 | top: 0; | |
|
105 | } | |
|
106 | ||
|
107 | .wijmo-wijcalendar-multi-aniwrapper | |
|
108 | { | |
|
109 | position: absolute; | |
|
110 | overflow: hidden; | |
|
111 | } | |
|
112 | ||
|
113 | .ui-datepicker-rtl .ui-datepicker-prev .ui-icon, .ui-datepicker-rtl .ui-datepicker-next .ui-icon | |
|
114 | { | |
|
115 | direction: rtl; | |
|
116 | } |
@@ -0,0 +1,44 b'' | |||
|
1 | .wijmo-checkbox | |
|
2 | { | |
|
3 | position: relative; /*float: left;*/ | |
|
4 | margin: 3px 0; | |
|
5 | line-height: 16px; | |
|
6 | width: 16px; | |
|
7 | } | |
|
8 | .wijmo-checkbox .wijmo-checkbox-inputwrapper | |
|
9 | { | |
|
10 | width: 0; | |
|
11 | height: 0; | |
|
12 | overflow: hidden; | |
|
13 | } | |
|
14 | .wijmo-checkbox label | |
|
15 | { | |
|
16 | display: block; | |
|
17 | position: relative; | |
|
18 | margin: 0; | |
|
19 | cursor: pointer; | |
|
20 | z-index: 1; | |
|
21 | padding: 0 0 0 1.4em; | |
|
22 | outline: none; | |
|
23 | margin: 0 3px; | |
|
24 | width: 8em; | |
|
25 | } | |
|
26 | .wijmo-checkbox .wijmo-checkbox-box | |
|
27 | { | |
|
28 | position: absolute; | |
|
29 | bottom: 0; | |
|
30 | left: 0; | |
|
31 | width: 16px; | |
|
32 | height: 16px; | |
|
33 | -moz-border-radius: 2px; | |
|
34 | -webkit-border-radius: 2px; | |
|
35 | border-radius: 2px; | |
|
36 | margin-right: 3px; | |
|
37 | } | |
|
38 | ||
|
39 | .wijmo-checkbox .wijmo-checkbox-relative | |
|
40 | { | |
|
41 | position: relative; | |
|
42 | float: left; | |
|
43 | margin-right: 3px; | |
|
44 | } |
@@ -0,0 +1,29 b'' | |||
|
1 | .wijmo-wijdialog-captionbutton { | |
|
2 | height:18px; | |
|
3 | padding:1px; | |
|
4 | width:19px; | |
|
5 | display: inline-block; | |
|
6 | margin-right:.2em; | |
|
7 | outline:none; | |
|
8 | text-align: left; | |
|
9 | } | |
|
10 | .wijmo-wijdialog-captionbutton:hover, | |
|
11 | .wijmo-wijdialog-captionbutton .ui-state-focus { | |
|
12 | padding: 0; | |
|
13 | } | |
|
14 | .wijmo-wijdialog-captionbutton .ui-icon{ | |
|
15 | margin:1px; | |
|
16 | } | |
|
17 | .wijmo-wijdialog .wijmo-wijdialog-hasframe{ | |
|
18 | padding: 0; | |
|
19 | } | |
|
20 | .wijmo-wijdialog-defaultdockingzone { position:fixed; bottom: 0px;left:0px; } | |
|
21 | ||
|
22 | .ui-dialog-titlebar {/* extend jquery.ui.dialog.css*/ | |
|
23 | text-align: right; | |
|
24 | } | |
|
25 | ||
|
26 | /* for ie 6 minimize*/ | |
|
27 | * html .wijmo-wijdialog-defaultdockingzone .ui-dialog-titlebar { | |
|
28 | float:left; | |
|
29 | } |
@@ -0,0 +1,80 b'' | |||
|
1 | .wijmo-wijdropdown | |
|
2 | { | |
|
3 | display: inline-block; | |
|
4 | position: relative; | |
|
5 | width: auto; | |
|
6 | zoom: 1; | |
|
7 | *display: inline; | |
|
8 | width:200px; | |
|
9 | /*z-index: 101;*/ | |
|
10 | } | |
|
11 | ||
|
12 | ||
|
13 | ||
|
14 | ||
|
15 | .wijmo-wijdropdown div.wijmo-dropdown-trigger | |
|
16 | { | |
|
17 | border-right: none; | |
|
18 | border-top: none; | |
|
19 | border-bottom: none; | |
|
20 | cursor: pointer; | |
|
21 | width: 16px; | |
|
22 | height: 100%; | |
|
23 | position: absolute; | |
|
24 | right: 0; | |
|
25 | top: 0; | |
|
26 | padding: 0 3px; | |
|
27 | } | |
|
28 | ||
|
29 | .wijmo-wijdropdown .wijmo-dropdown-trigger .ui-icon | |
|
30 | { | |
|
31 | margin-top: 3px; | |
|
32 | } | |
|
33 | ||
|
34 | .wijmo-wijdropdown label.wijmo-dropdown-label | |
|
35 | { | |
|
36 | display: block; | |
|
37 | padding: 3px 26px 3px 5px; | |
|
38 | width: auto; | |
|
39 | border: none; | |
|
40 | } | |
|
41 | ||
|
42 | .wijmo-wijdropdown .wijmo-dropdown | |
|
43 | { | |
|
44 | position: absolute; height:250px; | |
|
45 | } | |
|
46 | ||
|
47 | .wijmo-wijdropdown .wijmo-dropdown .wijmo-dropdown-list | |
|
48 | { | |
|
49 | padding: 0.4em; | |
|
50 | border: 0 none; | |
|
51 | } | |
|
52 | ||
|
53 | .wijmo-wijdropdown .wijmo-dropdown .wijmo-dropdown-item | |
|
54 | { | |
|
55 | border:1px solid transparent; | |
|
56 | cursor:pointer; | |
|
57 | font-weight:normal; | |
|
58 | margin:1px 0; | |
|
59 | padding:3px 5px; | |
|
60 | text-align:left; | |
|
61 | *border-color: white; | |
|
62 | *filter: chroma(color=white); | |
|
63 | ||
|
64 | } | |
|
65 | ||
|
66 | /* | |
|
67 | .wijmo-wijdropdown .wijmo-dropdown .wijmo-dropdown-optgroup .wijmo-dropdown-items | |
|
68 | { | |
|
69 | margin-left: 15%; | |
|
70 | }*/ | |
|
71 | ||
|
72 | .wijmo-wijdropdown .wijmo-dropdown .wijmo-dropdown-optgroup .wijmo-dropdown-items li | |
|
73 | { | |
|
74 | padding-left: 10%; | |
|
75 | } | |
|
76 | ||
|
77 | .wijmo-wijdropdown .wijmo-dropdown .wijmo-optgroup-header | |
|
78 | { | |
|
79 | font-style: italic; | |
|
80 | } |
@@ -0,0 +1,185 b'' | |||
|
1 | .wijmo-wijexpander | |
|
2 | { | |
|
3 | margin: 1px; | |
|
4 | padding: 0; | |
|
5 | display: block; | |
|
6 | } | |
|
7 | ||
|
8 | .wijmo-wijexpander a | |
|
9 | { | |
|
10 | outline: none; | |
|
11 | } | |
|
12 | ||
|
13 | .wijmo-wijexpander .ui-expander-header | |
|
14 | { | |
|
15 | cursor: pointer; | |
|
16 | margin-top: 1px; | |
|
17 | position: relative; | |
|
18 | } | |
|
19 | /*.wijmo-wijexpander.ui-helper-horizontal > .ui-expander-header | |
|
20 | { | |
|
21 | cursor: pointer; | |
|
22 | width: 20px; | |
|
23 | height: 200px; | |
|
24 | } | |
|
25 | .wijmo-wijexpander.ui-state-disabled > .ui-expander-header | |
|
26 | { | |
|
27 | cursor: default; | |
|
28 | } | |
|
29 | .wijmo-wijexpander > .ui-widget-content | |
|
30 | { | |
|
31 | height: 100px; | |
|
32 | overflow: auto; | |
|
33 | } | |
|
34 | .wijmo-wijexpander.ui-state-disabled > .ui-widget-content | |
|
35 | { | |
|
36 | }*/ | |
|
37 | ||
|
38 | ||
|
39 | .ui-expander .ui-expander-content | |
|
40 | { | |
|
41 | border-top: 0 none; | |
|
42 | display: none; | |
|
43 | margin-bottom: 2px; | |
|
44 | margin-top: -2px; | |
|
45 | overflow: auto; | |
|
46 | padding: 1em 2.2em; | |
|
47 | position: relative; | |
|
48 | top: 1px; | |
|
49 | } | |
|
50 | ||
|
51 | ||
|
52 | .wijmo-wijexpander .ui-expander-header a | |
|
53 | { | |
|
54 | display: block; | |
|
55 | font-size: 1em; | |
|
56 | padding: 0.5em 0.5em 0.5em 0.7em; | |
|
57 | } | |
|
58 | ||
|
59 | .wijmo-wijexpander .ui-expander-header .ui-icon | |
|
60 | { | |
|
61 | left: 0.5em; | |
|
62 | margin-top: -8px; | |
|
63 | position: absolute; | |
|
64 | top: 50%; | |
|
65 | } | |
|
66 | ||
|
67 | .wijmo-wijexpander .ui-expander-content-active | |
|
68 | { | |
|
69 | display: block; | |
|
70 | border-top: 0 none; | |
|
71 | padding: 1em 2.2em; | |
|
72 | } | |
|
73 | ||
|
74 | ||
|
75 | .wijmo-wijexpander .ui-expander-header > a | |
|
76 | { | |
|
77 | padding-left: 2.2em; | |
|
78 | } | |
|
79 | ||
|
80 | .ui-helper-horizontal.wijmo-wijexpander .ui-expander-header .ui-icon | |
|
81 | { | |
|
82 | left: inherit; | |
|
83 | margin-top: inherit; | |
|
84 | margin-left: -8px; | |
|
85 | position: absolute; | |
|
86 | top: 0.5em; | |
|
87 | left: 50%; | |
|
88 | } | |
|
89 | ||
|
90 | .ui-helper-horizontal.wijmo-wijexpander .ui-expander-header > a | |
|
91 | { | |
|
92 | padding-left: inherit; | |
|
93 | padding-top: 2.2em; | |
|
94 | display: inline-block; | |
|
95 | } | |
|
96 | ||
|
97 | ||
|
98 | /* RIGHT */ | |
|
99 | ||
|
100 | .ui-expander-right .ui-expander-header | |
|
101 | { | |
|
102 | margin: 0 1px; | |
|
103 | width: 2em; | |
|
104 | height: 12em; | |
|
105 | overflow: hidden; | |
|
106 | } | |
|
107 | ||
|
108 | .ui-expander-right .ui-expander-content | |
|
109 | { | |
|
110 | margin: 0; | |
|
111 | height: 200px; | |
|
112 | width: 12em; | |
|
113 | height: 12em; | |
|
114 | padding: 0 2.2em; | |
|
115 | } | |
|
116 | .ui-expander-right .ui-expander-content | |
|
117 | { | |
|
118 | top: 0; | |
|
119 | margin-left: -2px; | |
|
120 | padding: 1px; | |
|
121 | border: none; | |
|
122 | margin-right: 1px; | |
|
123 | } | |
|
124 | ||
|
125 | ||
|
126 | .ui-expander-right .ui-state-active | |
|
127 | { | |
|
128 | border-right: none; | |
|
129 | } | |
|
130 | ||
|
131 | .ui-expander-right .ui-expander-header a | |
|
132 | { | |
|
133 | padding: 2.2em 0 0 0; | |
|
134 | } | |
|
135 | ||
|
136 | ||
|
137 | .ui-expander-right .ui-expander-header .ui-icon | |
|
138 | { | |
|
139 | top: 10%; | |
|
140 | } | |
|
141 | ||
|
142 | ||
|
143 | /* LEFT */ | |
|
144 | ||
|
145 | .ui-expander-left .ui-expander-header | |
|
146 | { | |
|
147 | margin: 0 1px; | |
|
148 | width: 2em; | |
|
149 | height: 12em; | |
|
150 | overflow: hidden; | |
|
151 | } | |
|
152 | ||
|
153 | .ui-expander-left .ui-expander-content | |
|
154 | { | |
|
155 | margin: 0; | |
|
156 | height: 200px; | |
|
157 | width: 12em; | |
|
158 | height: 12em; | |
|
159 | padding: 0 2.2em; | |
|
160 | } | |
|
161 | .ui-expander-left .ui-expander-content | |
|
162 | { | |
|
163 | border: none; | |
|
164 | padding: 1px; | |
|
165 | top: 0; | |
|
166 | margin-right: -2px; | |
|
167 | margin-left: 1px; | |
|
168 | } | |
|
169 | ||
|
170 | ||
|
171 | .ui-expander-left .ui-state-active | |
|
172 | { | |
|
173 | border-left: none; | |
|
174 | } | |
|
175 | ||
|
176 | .ui-expander-left .ui-expander-header a | |
|
177 | { | |
|
178 | padding: 2.2em 0 0 0; | |
|
179 | } | |
|
180 | ||
|
181 | ||
|
182 | .ui-expander-left .ui-expander-header .ui-icon | |
|
183 | { | |
|
184 | top: 10%; | |
|
185 | } |
@@ -0,0 +1,35 b'' | |||
|
1 | .wijmo-wijlist-list | |
|
2 | { | |
|
3 | cursor: default; | |
|
4 | overflow: hidden; | |
|
5 | } | |
|
6 | .wijmo-wijlist-ul | |
|
7 | { | |
|
8 | list-style: none; | |
|
9 | padding: 2px; | |
|
10 | margin: 0; | |
|
11 | display: block; | |
|
12 | border: 0px; | |
|
13 | overflow: hidden; | |
|
14 | } | |
|
15 | .wijmo-wijlist-ul .wijmo-wijlist-item | |
|
16 | { | |
|
17 | margin: 1px 0; | |
|
18 | padding: 3px 5px; | |
|
19 | /*white-space: nowrap;*/ | |
|
20 | cursor: pointer; | |
|
21 | text-align: left; | |
|
22 | font-weight: normal; | |
|
23 | border: solid 1px transparent; | |
|
24 | } | |
|
25 | .wijmo-wijlist-ul .wijmo-wijlist-item.ui-state-hover | |
|
26 | { | |
|
27 | font-weight: normal; | |
|
28 | } | |
|
29 | ||
|
30 | .wijmo-wijlist .ui-resizable-se | |
|
31 | { | |
|
32 | width: 7px; | |
|
33 | height: 7px; | |
|
34 | background: none; | |
|
35 | } |
@@ -0,0 +1,253 b'' | |||
|
1 | .wijmo-wijmenu { | |
|
2 | width:150px; | |
|
3 | padding:0.3em; | |
|
4 | position:relative; | |
|
5 | } | |
|
6 | ||
|
7 | .wijmo-wijmenu .wijmo-wijsuperpanel { | |
|
8 | border:none; | |
|
9 | background: inherit; | |
|
10 | padding:0; | |
|
11 | } | |
|
12 | ||
|
13 | .wijmo-wijmenu-list { | |
|
14 | position:static; | |
|
15 | } | |
|
16 | ||
|
17 | .wijmo-wijmenu .wijmo-wijmenu-parent .wijmo-wijmenu-child { | |
|
18 | display:none; | |
|
19 | width:150px; | |
|
20 | padding:0.3em; | |
|
21 | } | |
|
22 | ||
|
23 | .wijmo-wijmenu .wijmo-wijmenu-parent { | |
|
24 | position:relative; | |
|
25 | } | |
|
26 | ||
|
27 | .wijmo-wijmenu .wijmo-wijmenu-child { | |
|
28 | position:relative; | |
|
29 | left:150px; | |
|
30 | top:0; | |
|
31 | } | |
|
32 | ||
|
33 | .wijmo-wijmenu .wijmo-wijmenu-item { | |
|
34 | width:100%; | |
|
35 | float:left; | |
|
36 | clear:both; | |
|
37 | margin:1px 0; | |
|
38 | padding:0; | |
|
39 | } | |
|
40 | ||
|
41 | .wijmo-wijmenu .wijmo-wijmenu-list .wijmo-wijmenu-item { | |
|
42 | background:none; | |
|
43 | border:none; | |
|
44 | } | |
|
45 | ||
|
46 | .wijmo-wijmenu .wijmo-wijmenu-link { | |
|
47 | display:block; | |
|
48 | width:92%; | |
|
49 | outline:none; | |
|
50 | text-decoration:none; | |
|
51 | font-weight:400; | |
|
52 | border:solid 1px transparent; | |
|
53 | float:left; | |
|
54 | line-height:16px; | |
|
55 | padding:0.3em; | |
|
56 | } | |
|
57 | ||
|
58 | .wijmo-wijmenu-horizontal { | |
|
59 | width:auto; | |
|
60 | } | |
|
61 | ||
|
62 | .wijmo-wijmenu-horizontal .wijmo-wijmenu-item { | |
|
63 | width:auto; | |
|
64 | clear:none; | |
|
65 | margin-right:3px; | |
|
66 | } | |
|
67 | ||
|
68 | .wijmo-wijmenu-horizontal .wijmo-wijmenu-child .wijmo-wijmenu-item { | |
|
69 | width:100%; | |
|
70 | } | |
|
71 | ||
|
72 | .wijmo-wijmenu-horizontal .wijmo-wijmenu-child { | |
|
73 | top:25px; | |
|
74 | left:0; | |
|
75 | } | |
|
76 | ||
|
77 | .wijmo-wijmenu-horizontal .wijmo-wijmenu-link { | |
|
78 | width:auto; | |
|
79 | padding:0.4em 0.3em; | |
|
80 | } | |
|
81 | ||
|
82 | .wijmo-wijmenu-horizontal .wijmo-wijmenu-child .wijmo-wijmenu-link { | |
|
83 | width:92%; | |
|
84 | } | |
|
85 | ||
|
86 | .wijmo-wijmenu .wijmo-wijmenu-list .ui-widget-header { | |
|
87 | clear:both; | |
|
88 | float:left; | |
|
89 | width:98%; | |
|
90 | font-size:12px; | |
|
91 | margin:1px 0; | |
|
92 | } | |
|
93 | ||
|
94 | .wijmo-wijmenu-horizontal .ui-widget-header { | |
|
95 | clear:none; | |
|
96 | width:auto; | |
|
97 | margin:0 3px 0 0; | |
|
98 | } | |
|
99 | ||
|
100 | .wijmo-wijmenu .ui-widget-header h1,.wijmo-wijmenu .ui-widget-header h2,.wijmo-wijmenu .ui-widget-header h3,.wijmo-wijmenu .ui-widget-header h4,.wijmo-wijmenu .ui-widget-header h5,.wijmo-wijmenu .ui-widget-header h6 { | |
|
101 | float:left; | |
|
102 | display:block; | |
|
103 | font-size:1em; | |
|
104 | margin:0 auto; | |
|
105 | padding:0.3em 3%; | |
|
106 | } | |
|
107 | ||
|
108 | .wijmo-wijmenu-horizontal .ui-widget-header h1,.wijmo-wijmenu-horizontal .ui-widget-header h2,.wijmo-wijmenu-horizontal .ui-widget-header h3,.wijmo-wijmenu-horizontal .ui-widget-header h4,.wijmo-wijmenu-horizontal .ui-widget-header h5,.wijmo-wijmenu-horizontal .ui-widget-header h6 { | |
|
109 | padding:0.4em 0.3em; | |
|
110 | } | |
|
111 | ||
|
112 | .wijmo-wijmenu a.ui-state-default:link,.wijmo-wijmenu a.ui-state-default:visited,.wijmo-wijmenu a.ui-state-default:hover,.wijmo-wijmenu a.ui-state-default:active,.wijmo-wijmenu a.ui-state-hover:link,.wijmo-wijmenu a.ui-state-hover:visited,.wijmo-wijmenu a.ui-state-hover:hover,.wijmo-wijmenu a.ui-state-hover:active,.wijmo-wijmenu a.ui-state-active:link,.wijmo-wijmenu a.ui-state-active:visited,.wijmo-wijmenu a.ui-state-active:hover,.wijmo-wijmenu a.ui-state-active:active { | |
|
113 | font-weight:400; | |
|
114 | border-style:solid; | |
|
115 | } | |
|
116 | ||
|
117 | .wijmo-wijmenu .wijmo-wijmenu-child .ui-state-hover { | |
|
118 | font-weight:400; | |
|
119 | } | |
|
120 | ||
|
121 | .wijmo-wijmenu .wijmo-wijmenu-separator { | |
|
122 | clear:both; | |
|
123 | float:left; | |
|
124 | height:1px; | |
|
125 | text-indent:-9999px; | |
|
126 | width:98%; | |
|
127 | margin:1px 0; | |
|
128 | font-size:0; | |
|
129 | } | |
|
130 | ||
|
131 | .wijmo-wijmenu-horizontal .wijmo-wijmenu-separator { | |
|
132 | height:auto; | |
|
133 | clear:none; | |
|
134 | width:1px; | |
|
135 | text-indent:-9999px; | |
|
136 | margin:0 3px 0 0; | |
|
137 | padding:0.4em 0; | |
|
138 | } | |
|
139 | ||
|
140 | .wijmo-wijmenu-horizontal .wijmo-wijmenu-child .wijmo-wijmenu-separator { | |
|
141 | clear:both; | |
|
142 | float:left; | |
|
143 | height:1px; | |
|
144 | text-indent:-9999px; | |
|
145 | width:98%; | |
|
146 | margin:1px 0; | |
|
147 | padding:0; | |
|
148 | } | |
|
149 | ||
|
150 | .wijmo-wijmenu .wijmo-wijmenu-group { | |
|
151 | clear:both; | |
|
152 | float:left; | |
|
153 | width:98%; | |
|
154 | margin:3px 0; | |
|
155 | padding:0 0.4em; | |
|
156 | } | |
|
157 | ||
|
158 | .wijmo-wijmenu-ipod { | |
|
159 | width:180px; | |
|
160 | } | |
|
161 | ||
|
162 | .wijmo-wijmenu-container { | |
|
163 | overflow:hidden; | |
|
164 | } | |
|
165 | ||
|
166 | .wijmo-wijmenu-ipod .wijmo-wijmenu-list { | |
|
167 | background:inherit; | |
|
168 | position:absolute; | |
|
169 | border-width:0; | |
|
170 | -moz-box-shadow: none; | |
|
171 | -webkit-box-shadow:none; | |
|
172 | } | |
|
173 | ||
|
174 | .wijmo-wijmenu-breadcrumb { | |
|
175 | margin:0; | |
|
176 | padding:0; | |
|
177 | } | |
|
178 | ||
|
179 | .wijmo-wijmenu-footer { | |
|
180 | margin-top:3px; | |
|
181 | } | |
|
182 | ||
|
183 | .wijmo-wijmenu-footer .ui-icon { | |
|
184 | margin:3px 0; | |
|
185 | } | |
|
186 | ||
|
187 | .wijmo-wijmenu-header { | |
|
188 | margin-bottom:3px; | |
|
189 | } | |
|
190 | ||
|
191 | .wijmo-wijmenu-breadcrumb li { | |
|
192 | float:left; | |
|
193 | list-style:none; | |
|
194 | font-size:.9em; | |
|
195 | margin:0; | |
|
196 | padding:0 .2em; | |
|
197 | } | |
|
198 | ||
|
199 | .wijmo-wijmenu-breadcrumb li.wijmo-wijmenu-prev-list,.wijmo-wijmenu-breadcrumb li.wijmo-wijmenu-current-crumb { | |
|
200 | clear:left; | |
|
201 | float:none; | |
|
202 | opacity:1; | |
|
203 | } | |
|
204 | ||
|
205 | .wijmo-wijmenu-breadcrumb li.wijmo-wijmenu-current-crumb { | |
|
206 | padding-top:.2em; | |
|
207 | } | |
|
208 | ||
|
209 | .wijmo-wijmenu-footer a:link,.wijmo-wijmenu-footer a:visited { | |
|
210 | float:left; | |
|
211 | width:100%; | |
|
212 | text-decoration:none; | |
|
213 | } | |
|
214 | ||
|
215 | .wijmo-wijmenu-footer a span { | |
|
216 | float:left; | |
|
217 | cursor:pointer; | |
|
218 | } | |
|
219 | ||
|
220 | .wijmo-wijmenu-breadcrumb .wijmo-wijmenu-prev-list a:link,.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-prev-list a:visited,.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-prev-list a:hover,.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-prev-list a:active { | |
|
221 | background-image:none; | |
|
222 | text-decoration:none; | |
|
223 | } | |
|
224 | ||
|
225 | .wijmo-wijmenu-breadcrumb .wijmo-wijmenu-prev-list a { | |
|
226 | float:left; | |
|
227 | padding-right:.4em; | |
|
228 | } | |
|
229 | ||
|
230 | .wijmo-wijmenu-breadcrumb .wijmo-wijmenu-current-crumb a:link,.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-current-crumb a:visited,.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-current-crumb a:hover,.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-current-crumb a:active { | |
|
231 | display:block; | |
|
232 | background-image:none; | |
|
233 | font-size:1.3em; | |
|
234 | text-decoration:none; | |
|
235 | } | |
|
236 | ||
|
237 | .wijmo-wijmenu .wijmo-wijmenu-parent .ui-icon,.wijmo-wijmenu-horizontal .wijmo-wijmenu-child .ui-icon,.wijmo-wijmenu-ipod .ui-icon-triangle-1-e { | |
|
238 | float:right; | |
|
239 | } | |
|
240 | ||
|
241 | .wijmo-wijmenu .wijmo-wijmenu-item .wijmo-wijmenu-text,.wijmo-wijmenu-horizontal .wijmo-wijmenu-parent .ui-icon,.wijmo-wijmenu-breadcrumb a,.wijmo-wijmenu-breadcrumb span,.wijmo-wijmenu-breadcrumb .wijmo-wijmenu-prev-list a .ui-icon { | |
|
242 | float:left; | |
|
243 | } | |
|
244 | ||
|
245 | .wijmo-wijmenu .wijmo-wijmenu-link .wijmo-wijmenu-icon-left { | |
|
246 | display:inline-block; | |
|
247 | float:left; | |
|
248 | } | |
|
249 | ||
|
250 | .wijmo-wijmenu .wijmo-wijmenu-link .wijmo-wijmenu-icon-right { | |
|
251 | display:inline-block; | |
|
252 | float:right; | |
|
253 | } No newline at end of file |
@@ -0,0 +1,126 b'' | |||
|
1 | ||
|
2 | .wijmo-wijprogressbar | |
|
3 | { | |
|
4 | moz-user-select: none; | |
|
5 | text-align: left; | |
|
6 | float: left; | |
|
7 | position: relative; | |
|
8 | overflow: hidden; | |
|
9 | } | |
|
10 | ||
|
11 | .wijmo-wijprogressbar .ui-progressbar-value | |
|
12 | { | |
|
13 | position: absolute; | |
|
14 | border-width: 0; | |
|
15 | margin: 0; | |
|
16 | } | |
|
17 | ||
|
18 | div.wijmo-wijprogressbar-east | |
|
19 | { | |
|
20 | width: 200px; | |
|
21 | height: 1.1em; | |
|
22 | } | |
|
23 | div.wijmo-wijprogressbar-west | |
|
24 | { | |
|
25 | width: 200px; | |
|
26 | height: 1.1em; | |
|
27 | } | |
|
28 | div.wijmo-wijprogressbar-south | |
|
29 | { | |
|
30 | height: 200px; | |
|
31 | width: 1.1em; | |
|
32 | line-height: 100%; | |
|
33 | } | |
|
34 | ||
|
35 | div.wijmo-wijprogressbar-north | |
|
36 | { | |
|
37 | height: 200px; | |
|
38 | width: 1.1em; | |
|
39 | line-height: 100%; | |
|
40 | } | |
|
41 | ||
|
42 | .wijmo-wijprogressbar-east .ui-progressbar-value | |
|
43 | { | |
|
44 | left: 0; | |
|
45 | height: 100%; | |
|
46 | } | |
|
47 | .wijmo-wijprogressbar-west .ui-progressbar-value | |
|
48 | { | |
|
49 | right: 0; | |
|
50 | height: 100%; | |
|
51 | } | |
|
52 | .wijmo-wijprogressbar-south .ui-progressbar-value | |
|
53 | { | |
|
54 | top: 0; | |
|
55 | width: 100%; | |
|
56 | } | |
|
57 | ||
|
58 | .wijmo-wijprogressbar-north .ui-progressbar-value | |
|
59 | { | |
|
60 | bottom: 0; | |
|
61 | width: 100%; | |
|
62 | } | |
|
63 | ||
|
64 | .wijmo-wijprogressbar .lb_west, .wijmo-wijprogressbar .lb_east, .wijmo-wijprogressbar .lb_south, .wijmo-wijprogressbar .lb_north, .wijmo-wijprogressbar .lb_center | |
|
65 | { | |
|
66 | display: block; position:absolute; | |
|
67 | } | |
|
68 | ||
|
69 | .wijmo-wijprogressbar .lb_west | |
|
70 | { | |
|
71 | text-align: left; | |
|
72 | } | |
|
73 | .wijmo-wijprogressbar .lb_east | |
|
74 | { | |
|
75 | text-align: right; | |
|
76 | } | |
|
77 | .wijmo-wijprogressbar .lb_south | |
|
78 | { | |
|
79 | width: 100%; | |
|
80 | text-align: center; | |
|
81 | position: absolute; | |
|
82 | bottom: 0; | |
|
83 | } | |
|
84 | .wijmo-wijprogressbar .lb_north | |
|
85 | { | |
|
86 | width: 100%; | |
|
87 | text-align: center; | |
|
88 | top: 0; | |
|
89 | } | |
|
90 | .wijmo-wijprogressbar .lb_center | |
|
91 | { | |
|
92 | width: 100%; | |
|
93 | text-align: center; | |
|
94 | } | |
|
95 | .wijmo-wijprogressbar .lb_running | |
|
96 | { | |
|
97 | position: absolute; | |
|
98 | left: auto; | |
|
99 | top: auto; | |
|
100 | } | |
|
101 | ||
|
102 | .wijmo-wijprogressbar-east .lb_running, .wijmo-wijprogressbar-west .lb_running | |
|
103 | { | |
|
104 | width: auto; | |
|
105 | height: 100%; | |
|
106 | } | |
|
107 | .wijmo-wijprogressbar-south .lb_running, .wijmo-wijprogressbar-north .lb_running | |
|
108 | { | |
|
109 | width: 100%; | |
|
110 | height: auto; | |
|
111 | text-align: center; | |
|
112 | -webkit-transform: rotate(-90deg); | |
|
113 | -moz-transform: rotate(-90deg); | |
|
114 | } | |
|
115 | ||
|
116 | .wijmo-wijprogressbar-west .ui-progressbar-label | |
|
117 | { | |
|
118 | position: absolute; | |
|
119 | right: 0; | |
|
120 | } | |
|
121 | .wijmo-wijprogressbar-north .ui-progressbar-label, .wijmo-wijprogressbar-south .ui-progressbar-label | |
|
122 | { | |
|
123 | position: absolute; | |
|
124 | -webkit-transform: rotate(-90deg); | |
|
125 | -moz-transform: rotate(-90deg); | |
|
126 | } |
@@ -0,0 +1,44 b'' | |||
|
1 | .wijmo-wijradio | |
|
2 | { | |
|
3 | position: relative; /*float: left;*/ | |
|
4 | margin: 3px 0; | |
|
5 | width: 16px; | |
|
6 | line-height: 16px; | |
|
7 | } | |
|
8 | .wijmo-wijradio .wijmo-wijradio-inputwrapper | |
|
9 | { | |
|
10 | width: 0; | |
|
11 | height: 0; | |
|
12 | overflow: hidden; | |
|
13 | } | |
|
14 | .wijmo-wijradio label | |
|
15 | { | |
|
16 | display: block; | |
|
17 | position: relative; | |
|
18 | margin: 0; | |
|
19 | cursor: pointer; | |
|
20 | z-index: 1; | |
|
21 | padding: 0 0 0 1.4em; | |
|
22 | outline: none; | |
|
23 | margin: 0 3px; | |
|
24 | width: 8em; | |
|
25 | } | |
|
26 | .wijmo-wijradio .wijmo-wijradio-box | |
|
27 | { | |
|
28 | position: absolute; | |
|
29 | bottom: 0; | |
|
30 | left: 0; | |
|
31 | width: 16px; | |
|
32 | height: 16px; | |
|
33 | line-height: 16px; | |
|
34 | -moz-border-radius: 10px; | |
|
35 | -webkit-border-radius: 10px; | |
|
36 | border-radius: 10px; | |
|
37 | } | |
|
38 | .wijmo-wijradio .wijmo-wijradio-relative | |
|
39 | { | |
|
40 | position: relative; | |
|
41 | float: left; | |
|
42 | margin-right: 3px; | |
|
43 | } | |
|
44 |
@@ -0,0 +1,55 b'' | |||
|
1 | /* WijSlider horizontal | |
|
2 | ----------------------------------*/ | |
|
3 | .wijmo-wijslider-horizontal | |
|
4 | { | |
|
5 | position: relative; | |
|
6 | } | |
|
7 | ||
|
8 | .wijmo-wijslider-horizontal .wijmo-wijslider-track | |
|
9 | { | |
|
10 | ||
|
11 | } | |
|
12 | ||
|
13 | .wijmo-wijslider-horizontal .wijmo-wijslider-decbutton | |
|
14 | { | |
|
15 | position: absolute; | |
|
16 | left: 0px; | |
|
17 | right: auto; | |
|
18 | cursor:pointer; | |
|
19 | } | |
|
20 | ||
|
21 | .wijmo-wijslider-horizontal .wijmo-wijslider-incbutton | |
|
22 | { | |
|
23 | position: absolute; | |
|
24 | left: auto; | |
|
25 | right: 0px; | |
|
26 | cursor:pointer; | |
|
27 | } | |
|
28 | ||
|
29 | /* WijSlider vertical | |
|
30 | ----------------------------------*/ | |
|
31 | .wijmo-wijslider-vertical | |
|
32 | { | |
|
33 | position: relative; | |
|
34 | } | |
|
35 | ||
|
36 | .wijmo-wijslider-vertical .wijmo-wijslider-track | |
|
37 | { | |
|
38 | ||
|
39 | } | |
|
40 | ||
|
41 | .wijmo-wijslider-vertical .wijmo-wijslider-decbutton | |
|
42 | { | |
|
43 | position: absolute; | |
|
44 | top: 0px; | |
|
45 | bottom: auto; | |
|
46 | cursor:pointer; | |
|
47 | } | |
|
48 | ||
|
49 | .wijmo-wijslider-vertical .wijmo-wijslider-incbutton | |
|
50 | { | |
|
51 | position: absolute; | |
|
52 | top: auto; | |
|
53 | bottom: 0px; | |
|
54 | cursor:pointer; | |
|
55 | } No newline at end of file |
@@ -0,0 +1,160 b'' | |||
|
1 | /* WijSplitter | |
|
2 | ----------------------------------*/ | |
|
3 | ||
|
4 | .wijmo-wijsplitter-vertical | |
|
5 | { | |
|
6 | overflow: hidden; | |
|
7 | /* fixed bug for IE6.7 */ | |
|
8 | position: relative; | |
|
9 | } | |
|
10 | .wijmo-wijsplitter-v-panel1 | |
|
11 | { | |
|
12 | float: left; | |
|
13 | position: relative; | |
|
14 | } | |
|
15 | .wijmo-wijsplitter-v-panel1-content | |
|
16 | { | |
|
17 | position: relative; | |
|
18 | } | |
|
19 | .wijmo-wijsplitter-v-bar | |
|
20 | { | |
|
21 | float: left; | |
|
22 | position: relative; | |
|
23 | font-size: 1px; | |
|
24 | width: 2px; | |
|
25 | z-index:99; | |
|
26 | } | |
|
27 | ||
|
28 | .wijmo-wijsplitter-vertical .ui-resizable-e | |
|
29 | { | |
|
30 | right:-7px; | |
|
31 | width:10px; | |
|
32 | z-index:999; | |
|
33 | display:block; | |
|
34 | background-color:white; | |
|
35 | filter:alpha(opacity=0); | |
|
36 | -moz-opacity:0; | |
|
37 | opacity: 0; | |
|
38 | } | |
|
39 | ||
|
40 | *html .wijmo-wijsplitter-vertical .ui-resizable-e | |
|
41 | { | |
|
42 | right:-4px; | |
|
43 | } | |
|
44 | ||
|
45 | *+html .wijmo-wijsplitter-vertical .ui-resizable-e | |
|
46 | { | |
|
47 | right:-4px; | |
|
48 | } | |
|
49 | ||
|
50 | .wijmo-wijsplitter-v-expander | |
|
51 | { | |
|
52 | position: absolute; | |
|
53 | z-index: 999; | |
|
54 | } | |
|
55 | ||
|
56 | .wijmo-wijsplitter-v-expanded .wijmo-wijsplitter-v-expander | |
|
57 | { | |
|
58 | left: -18px; | |
|
59 | z-index: 999; | |
|
60 | } | |
|
61 | ||
|
62 | .wijmo-wijsplitter-v-collapsed .wijmo-wijsplitter-v-expander | |
|
63 | { | |
|
64 | right: -18px; | |
|
65 | z-index: 999; | |
|
66 | } | |
|
67 | ||
|
68 | .wijmo-wijsplitter-v-panel2 | |
|
69 | { | |
|
70 | float: left; | |
|
71 | } | |
|
72 | .wijmo-wijsplitter-v-panel2-content | |
|
73 | { | |
|
74 | position: relative; | |
|
75 | } | |
|
76 | .wijmo-wijsplitter-v-resize-hepler | |
|
77 | { | |
|
78 | border-right: dotted 1px black; | |
|
79 | overflow: hidden; | |
|
80 | border-bottom: dotted 0 black; | |
|
81 | } | |
|
82 | ||
|
83 | .wijmo-wijsplitter-horizontal | |
|
84 | { | |
|
85 | overflow: hidden; | |
|
86 | /* fixed bug for IE6.7 */ | |
|
87 | position: relative; | |
|
88 | } | |
|
89 | .wijmo-wijsplitter-h-panel1 | |
|
90 | { | |
|
91 | position: relative; | |
|
92 | } | |
|
93 | .wijmo-wijsplitter-h-panel1-content | |
|
94 | { | |
|
95 | overflow: auto; | |
|
96 | position: relative; | |
|
97 | } | |
|
98 | .wijmo-wijsplitter-h-bar | |
|
99 | { | |
|
100 | position: relative; | |
|
101 | font-size: 1px; | |
|
102 | height: 2px; | |
|
103 | z-index:999; | |
|
104 | } | |
|
105 | ||
|
106 | .wijmo-wijsplitter-horizontal .ui-resizable-s | |
|
107 | { | |
|
108 | bottom:-7px; | |
|
109 | height:10px; | |
|
110 | z-index:999; | |
|
111 | display:block; | |
|
112 | background-color:white; | |
|
113 | filter:alpha(opacity=0); | |
|
114 | -moz-opacity:0; | |
|
115 | opacity: 0; | |
|
116 | } | |
|
117 | ||
|
118 | *html .wijmo-wijsplitter-horizontal .ui-resizable-s | |
|
119 | { | |
|
120 | bottom:-4px; | |
|
121 | } | |
|
122 | ||
|
123 | *+html .wijmo-wijsplitter-horizontal .ui-resizable-s | |
|
124 | { | |
|
125 | bottom:-4px; | |
|
126 | } | |
|
127 | ||
|
128 | .wijmo-wijsplitter-h-expander | |
|
129 | { | |
|
130 | position: absolute; | |
|
131 | z-index: 999; | |
|
132 | } | |
|
133 | ||
|
134 | ||
|
135 | .wijmo-wijsplitter-h-expanded .wijmo-wijsplitter-h-expander | |
|
136 | { | |
|
137 | top: -18px; | |
|
138 | } | |
|
139 | ||
|
140 | .wijmo-wijsplitter-h-collapsed .wijmo-wijsplitter-h-expander | |
|
141 | { | |
|
142 | bottom: -18px; | |
|
143 | } | |
|
144 | ||
|
145 | .wijmo-wijsplitter-h-panel2 | |
|
146 | { | |
|
147 | } | |
|
148 | .wijmo-wijsplitter-h-panel2-content | |
|
149 | { | |
|
150 | overflow: auto; | |
|
151 | position: relative; | |
|
152 | } | |
|
153 | .wijmo-wijsplitter-h-resize-hepler | |
|
154 | { | |
|
155 | border-bottom: dotted 1px black; | |
|
156 | overflow: hidden; | |
|
157 | border-right: dotted 0 black; | |
|
158 | } | |
|
159 | ||
|
160 |
@@ -0,0 +1,97 b'' | |||
|
1 | /* SuperPanel | |
|
2 | ----------------------------------*/ | |
|
3 | .wijmo-wijsuperpanel | |
|
4 | { | |
|
5 | overflow: hidden; | |
|
6 | outline: none; | |
|
7 | background-image: none; | |
|
8 | } | |
|
9 | .wijmo-wijsuperpanel-statecontainer | |
|
10 | { | |
|
11 | overflow: hidden; | |
|
12 | position: relative; | |
|
13 | zoom:1; | |
|
14 | } | |
|
15 | .wijmo-wijsuperpanel-contentwrapper | |
|
16 | { | |
|
17 | position: absolute; | |
|
18 | overflow: hidden; | |
|
19 | ||
|
20 | } | |
|
21 | .wijmo-wijsuperpanel-hbarcontainer, .wijmo-wijsuperpanel-vbarcontainer | |
|
22 | { | |
|
23 | font-size: 0px; | |
|
24 | border:0; | |
|
25 | } | |
|
26 | .wijmo-wijsuperpanel-templateouterwrapper | |
|
27 | { | |
|
28 | position: relative; | |
|
29 | /* overflow:auto; */ | |
|
30 | zoom: 1; | |
|
31 | } | |
|
32 | ||
|
33 | .wijmo-wijsuperpanel-vbarcontainer .ui-state-default, .wijmo-wijsuperpanel-hbarcontainer .ui-state-default | |
|
34 | { | |
|
35 | width: 16px; | |
|
36 | height: 16px; | |
|
37 | position: absolute; | |
|
38 | } | |
|
39 | .wijmo-wijsuperpanel .wijmo-wijsuperpanel-vbarcontainer | |
|
40 | { | |
|
41 | position: absolute; | |
|
42 | width: 18px; | |
|
43 | padding-top: 18px; | |
|
44 | padding-bottom: 18px; | |
|
45 | border: none; | |
|
46 | } | |
|
47 | .wijmo-wijsuperpanel .wijmo-wijsuperpanel-hbarcontainer | |
|
48 | { | |
|
49 | position: absolute; | |
|
50 | height: 18px; | |
|
51 | padding-left: 18px; | |
|
52 | padding-right: 18px; | |
|
53 | border: none; | |
|
54 | } | |
|
55 | .wijmo-wijsuperpanel-handle | |
|
56 | { | |
|
57 | position: absolute; | |
|
58 | font-size:0px; | |
|
59 | overflow:hidden; | |
|
60 | } | |
|
61 | .wijmo-wijsuperpanel-handle * | |
|
62 | { | |
|
63 | font-size:0px; | |
|
64 | } | |
|
65 | .wijmo-wijsuperpanel-helper | |
|
66 | { | |
|
67 | border-style: dotted; | |
|
68 | background: transparent; | |
|
69 | } | |
|
70 | ||
|
71 | .wijmo-wijsuperpanel-button | |
|
72 | { | |
|
73 | position: absolute; | |
|
74 | padding: 4px; | |
|
75 | } | |
|
76 | .wijmo-wijsuperpanel .ui-icon-gripsmall-diagonal-se | |
|
77 | { | |
|
78 | background: none; | |
|
79 | width: 7px; | |
|
80 | height: 7px; | |
|
81 | } | |
|
82 | .wijmo-wijsuperpanel-hbar-buttonleft | |
|
83 | { | |
|
84 | left: 0; | |
|
85 | } | |
|
86 | .wijmo-wijsuperpanel-hbar-buttonright | |
|
87 | { | |
|
88 | right: 0; | |
|
89 | } | |
|
90 | .wijmo-wijsuperpanel-vbar-buttontop | |
|
91 | { | |
|
92 | top: 0; | |
|
93 | } | |
|
94 | .wijmo-wijsuperpanel-vbar-buttonbottom | |
|
95 | { | |
|
96 | bottom: 0; | |
|
97 | } |
@@ -0,0 +1,146 b'' | |||
|
1 | ||
|
2 | .ui-tabs .ui-tabs-nav li | |
|
3 | { | |
|
4 | top: 1px; | |
|
5 | } | |
|
6 | ||
|
7 | /* BOTTOM */ | |
|
8 | ||
|
9 | .ui-tabs-bottom .ui-tabs-nav li | |
|
10 | { | |
|
11 | top: -3px; | |
|
12 | padding: 0; | |
|
13 | margin: 1px .2em 0 0; | |
|
14 | } | |
|
15 | ||
|
16 | .ui-tabs-bottom .ui-tabs-nav li.ui-tabs-selected | |
|
17 | { | |
|
18 | margin-top: -1px; | |
|
19 | padding-bottom: 2px; | |
|
20 | } | |
|
21 | ||
|
22 | .ui-tabs .ui-tabs-nav li | |
|
23 | { | |
|
24 | border: none; | |
|
25 | } | |
|
26 | ||
|
27 | /* LEFT */ | |
|
28 | .ui-tabs-left .ui-tabs-nav | |
|
29 | { | |
|
30 | float: left; | |
|
31 | overflow: hidden; | |
|
32 | } | |
|
33 | ||
|
34 | .ui-tabs-left .ui-tabs-nav li | |
|
35 | { | |
|
36 | white-space: normal; | |
|
37 | float: right; | |
|
38 | display: block; | |
|
39 | width: 98%; | |
|
40 | } | |
|
41 | ||
|
42 | .ui-tabs-left .ui-tabs-nav li a, .ui-tabs-right .ui-tabs-nav li a | |
|
43 | { | |
|
44 | float: none; | |
|
45 | display: block; | |
|
46 | } | |
|
47 | ||
|
48 | .ui-tabs-left .ui-tabs-nav li | |
|
49 | { | |
|
50 | top: -1px; | |
|
51 | left: 3px; | |
|
52 | margin-bottom: 2px; | |
|
53 | } | |
|
54 | ||
|
55 | .ui-tabs-left .ui-tabs-panel | |
|
56 | { | |
|
57 | padding: 1.6em; | |
|
58 | } | |
|
59 | ||
|
60 | .ui-tabs-left .ui-tabs-nav li.ui-tabs-selected | |
|
61 | { | |
|
62 | border-right: medium none; | |
|
63 | margin-bottom: 2px; | |
|
64 | } | |
|
65 | .ui-tabs-left .ui-tabs-nav | |
|
66 | { | |
|
67 | padding: 0.2em 0 0 0; | |
|
68 | } | |
|
69 | ||
|
70 | .ui-tabs-left .wijmo-wijtabs-content | |
|
71 | { | |
|
72 | float: right; | |
|
73 | width: 75%; | |
|
74 | overflow: hidden; | |
|
75 | } | |
|
76 | ||
|
77 | .ui-tabs-left .ui-tabs-nav | |
|
78 | { | |
|
79 | min-height: 300px; | |
|
80 | width: 23%; | |
|
81 | height: 100%; | |
|
82 | } | |
|
83 | ||
|
84 | /* RIGHT */ | |
|
85 | ||
|
86 | .ui-tabs-right .ui-tabs-nav | |
|
87 | { | |
|
88 | float: right; | |
|
89 | overflow: hidden; | |
|
90 | } | |
|
91 | ||
|
92 | .ui-tabs-right .ui-tabs-nav li | |
|
93 | { | |
|
94 | white-space: normal; | |
|
95 | float: left; | |
|
96 | display: block; | |
|
97 | width: 98%; | |
|
98 | } | |
|
99 | ||
|
100 | .ui-tabs-right .ui-tabs-nav li | |
|
101 | { | |
|
102 | top: -1px; | |
|
103 | left: 0; | |
|
104 | margin-bottom: 2px; | |
|
105 | } | |
|
106 | ||
|
107 | .ui-tabs-right .ui-tabs-panel | |
|
108 | { | |
|
109 | padding: 1.6em; | |
|
110 | } | |
|
111 | ||
|
112 | .ui-tabs-right .ui-tabs-nav li.ui-tabs-selected | |
|
113 | { | |
|
114 | border-left: medium none; | |
|
115 | margin-bottom: 2px; | |
|
116 | } | |
|
117 | .ui-tabs-right .ui-tabs-nav | |
|
118 | { | |
|
119 | padding: 0.2em 0 0 0; | |
|
120 | } | |
|
121 | ||
|
122 | .ui-tabs-right .wijmo-wijtabs-content | |
|
123 | { | |
|
124 | float: left; | |
|
125 | width: 75%; | |
|
126 | overflow: hidden; | |
|
127 | } | |
|
128 | ||
|
129 | .ui-tabs-right .ui-tabs-nav | |
|
130 | { | |
|
131 | min-height: 300px; | |
|
132 | width: 23%; | |
|
133 | } | |
|
134 | ||
|
135 | ||
|
136 | .ui-tabs-left .ui-tabs-nav li.ui-tabs-selected | |
|
137 | { | |
|
138 | margin-right: 2px; | |
|
139 | padding-right: 1px; | |
|
140 | } | |
|
141 | ||
|
142 | .ui-tabs-right .ui-tabs-nav li.ui-tabs-selected | |
|
143 | { | |
|
144 | margin-left: -1px; | |
|
145 | padding-left: 1px; | |
|
146 | } |
@@ -0,0 +1,257 b'' | |||
|
1 | .wijmo-wijtooltip { | |
|
2 | position: absolute; | |
|
3 | z-index: 9999; | |
|
4 | margin:0; | |
|
5 | } | |
|
6 | ||
|
7 | ||
|
8 | .wijmo-wijtooltip .wijmo-wijtooltip-close | |
|
9 | { | |
|
10 | background:none repeat scroll 0 0 transparent; | |
|
11 | border:medium none; | |
|
12 | display:block; | |
|
13 | height:16px; | |
|
14 | position:absolute; | |
|
15 | right:3px; | |
|
16 | top:3px; | |
|
17 | width:16px; | |
|
18 | } | |
|
19 | ||
|
20 | .wijmo-wijtooltip .wijmo-wijtooltip-title | |
|
21 | { | |
|
22 | background:none repeat scroll 0 0 transparent; | |
|
23 | border:medium none; | |
|
24 | color:inherit; | |
|
25 | padding:0.4em; | |
|
26 | } | |
|
27 | .wijmo-wijtooltip .wijmo-wijtooltip-container | |
|
28 | { | |
|
29 | padding: 1em; | |
|
30 | overflow: hidden; | |
|
31 | } | |
|
32 | ||
|
33 | .wijmo-wijtooltip { | |
|
34 | border-width: 2px; | |
|
35 | } | |
|
36 | ||
|
37 | .wijmo-wijtooltip .wijmo-wijtooltip-pointer, .wijmo-wijtooltip .wijmo-wijtooltip-pointer-inner { | |
|
38 | background: none; | |
|
39 | height: 0; | |
|
40 | position: absolute; | |
|
41 | width: 0; | |
|
42 | } | |
|
43 | ||
|
44 | .wijmo-wijtooltip-arrow-tr .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-tc .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-tl .wijmo-wijtooltip-pointer { | |
|
45 | border-bottom-width: 14px; | |
|
46 | border-top: 0 none; | |
|
47 | top: -14px; | |
|
48 | ||
|
49 | } | |
|
50 | ||
|
51 | .wijmo-wijtooltip-arrow-tr .wijmo-wijtooltip-pointer { | |
|
52 | border-left: 18px solid transparent; | |
|
53 | border-right: 0 none; | |
|
54 | right: 10px; | |
|
55 | } | |
|
56 | ||
|
57 | .wijmo-wijtooltip-arrow-tc .wijmo-wijtooltip-pointer { | |
|
58 | border-left: 10px solid transparent; | |
|
59 | border-right: 10px solid transparent; | |
|
60 | left: 50%; | |
|
61 | margin-left: -10px; | |
|
62 | } | |
|
63 | ||
|
64 | .wijmo-wijtooltip-arrow-tl .wijmo-wijtooltip-pointer { | |
|
65 | border-left: 0 none; | |
|
66 | border-right: 18px solid transparent; | |
|
67 | left: 10px; | |
|
68 | } | |
|
69 | ||
|
70 | .wijmo-wijtooltip-arrow-tr .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-tc .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-tl .wijmo-wijtooltip-pointer-inner { | |
|
71 | border-bottom-color: inherit; | |
|
72 | border-bottom-style: solid; | |
|
73 | border-bottom-width: 10px; | |
|
74 | bottom: -14px; | |
|
75 | *font-size:0;line-height:0; | |
|
76 | } | |
|
77 | ||
|
78 | .wijmo-wijtooltip-arrow-tr .wijmo-wijtooltip-pointer-inner { | |
|
79 | border-left: 12px solid transparent; | |
|
80 | border-right: 0 none; | |
|
81 | right: 2px; | |
|
82 | } | |
|
83 | ||
|
84 | .wijmo-wijtooltip-arrow-tc .wijmo-wijtooltip-pointer-inner { | |
|
85 | border-left: 8px solid transparent; | |
|
86 | border-right: 8px solid transparent; | |
|
87 | left: -8px; | |
|
88 | } | |
|
89 | ||
|
90 | .wijmo-wijtooltip-arrow-tl .wijmo-wijtooltip-pointer-inner { | |
|
91 | border-left: 0 none; | |
|
92 | border-right-style: solid; | |
|
93 | border-right-color: inherit; | |
|
94 | border-right-width: 12px; | |
|
95 | left: 2px; | |
|
96 | } | |
|
97 | ||
|
98 | .wijmo-wijtooltip-arrow-rb .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-rc .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-rt .wijmo-wijtooltip-pointer { | |
|
99 | border-left-width: 14px; | |
|
100 | border-right: 0 none; | |
|
101 | right: -14px; | |
|
102 | } | |
|
103 | ||
|
104 | .wijmo-wijtooltip-arrow-rb .wijmo-wijtooltip-pointer { | |
|
105 | border-bottom: 0 none; | |
|
106 | border-top: 18px solid transparent; | |
|
107 | bottom: 10px; | |
|
108 | } | |
|
109 | ||
|
110 | .wijmo-wijtooltip-arrow-rc .wijmo-wijtooltip-pointer { | |
|
111 | border-bottom: 10px solid transparent; | |
|
112 | border-top: 10px solid transparent; | |
|
113 | bottom: 50%; | |
|
114 | margin-bottom: -10px; | |
|
115 | } | |
|
116 | ||
|
117 | .wijmo-wijtooltip-arrow-rt .wijmo-wijtooltip-pointer { | |
|
118 | border-bottom: 18px solid transparent; | |
|
119 | border-top: 0 none; | |
|
120 | top: 10px; | |
|
121 | } | |
|
122 | ||
|
123 | .wijmo-wijtooltip-arrow-rb .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-rc .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-rt .wijmo-wijtooltip-pointer-inner { | |
|
124 | border-left-color: inherit; | |
|
125 | border-left-style: solid; | |
|
126 | border-left-width: 10px; | |
|
127 | left: -14px; | |
|
128 | *font-size:0;line-height:0; | |
|
129 | } | |
|
130 | ||
|
131 | ||
|
132 | .wijmo-wijtooltip-arrow-rb .wijmo-wijtooltip-pointer-inner { | |
|
133 | border-bottom: 0 none; | |
|
134 | border-top-style: solid; | |
|
135 | border-top-color: inherit; | |
|
136 | border-top-width: 12px; | |
|
137 | bottom: 2px; | |
|
138 | } | |
|
139 | ||
|
140 | .wijmo-wijtooltip-arrow-rc .wijmo-wijtooltip-pointer-inner { | |
|
141 | border-bottom: 8px solid transparent; | |
|
142 | border-top: 8px solid transparent; | |
|
143 | bottom: -8px; | |
|
144 | } | |
|
145 | ||
|
146 | .wijmo-wijtooltip-arrow-rt .wijmo-wijtooltip-pointer-inner { | |
|
147 | border-bottom-style: solid; | |
|
148 | border-bottom-color: inherit; | |
|
149 | border-bottom-width: 12px; | |
|
150 | border-top: 0 none; | |
|
151 | top: 2px; | |
|
152 | } | |
|
153 | ||
|
154 | .wijmo-wijtooltip-arrow-br .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-bc .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-bl .wijmo-wijtooltip-pointer { | |
|
155 | border-bottom: 0 none; | |
|
156 | border-top-width: 14px; | |
|
157 | bottom: -14px; | |
|
158 | ||
|
159 | } | |
|
160 | ||
|
161 | .wijmo-wijtooltip-arrow-br .wijmo-wijtooltip-pointer { | |
|
162 | border-left: 18px solid transparent; | |
|
163 | border-right: 0 none; | |
|
164 | right: 10px; | |
|
165 | } | |
|
166 | ||
|
167 | .wijmo-wijtooltip-arrow-bc .wijmo-wijtooltip-pointer { | |
|
168 | border-left: 10px solid transparent; | |
|
169 | border-right: 10px solid transparent; | |
|
170 | left: 50%; | |
|
171 | margin-left: -10px; | |
|
172 | } | |
|
173 | ||
|
174 | .wijmo-wijtooltip-arrow-bl .wijmo-wijtooltip-pointer { | |
|
175 | border-left: 0 none; | |
|
176 | border-right: 18px solid transparent; | |
|
177 | left: 10px; | |
|
178 | } | |
|
179 | ||
|
180 | .wijmo-wijtooltip-arrow-br .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-bc .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-bl .wijmo-wijtooltip-pointer-inner { | |
|
181 | border-top-color: inherit; | |
|
182 | border-top-style: solid; | |
|
183 | border-top-width: 10px; | |
|
184 | top: -14px; | |
|
185 | *font-size:0;line-height:0; | |
|
186 | } | |
|
187 | ||
|
188 | .wijmo-wijtooltip-arrow-br .wijmo-wijtooltip-pointer-inner { | |
|
189 | border-left: 12px solid transparent; | |
|
190 | border-right: 0 none; | |
|
191 | right: 2px; | |
|
192 | } | |
|
193 | ||
|
194 | .wijmo-wijtooltip-arrow-bc .wijmo-wijtooltip-pointer-inner { | |
|
195 | border-left: 8px solid transparent; | |
|
196 | border-right: 8px solid transparent; | |
|
197 | left: -8px; | |
|
198 | } | |
|
199 | ||
|
200 | .wijmo-wijtooltip-arrow-bl .wijmo-wijtooltip-pointer-inner { | |
|
201 | border-left: 0 none; | |
|
202 | border-right: 12px solid transparent; | |
|
203 | left: 2px; | |
|
204 | } | |
|
205 | ||
|
206 | .wijmo-wijtooltip-arrow-lb .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-lc .wijmo-wijtooltip-pointer, .wijmo-wijtooltip-arrow-lt .wijmo-wijtooltip-pointer { | |
|
207 | border-left: 0 none; | |
|
208 | border-right-width: 14px; | |
|
209 | left: -14px; | |
|
210 | } | |
|
211 | ||
|
212 | .wijmo-wijtooltip-arrow-lb .wijmo-wijtooltip-pointer { | |
|
213 | border-bottom: 0 none; | |
|
214 | border-top: 18px solid transparent; | |
|
215 | bottom: 10px; | |
|
216 | } | |
|
217 | ||
|
218 | .wijmo-wijtooltip-arrow-lc .wijmo-wijtooltip-pointer { | |
|
219 | border-bottom: 10px solid transparent; | |
|
220 | border-top: 10px solid transparent; | |
|
221 | bottom: 50%; | |
|
222 | margin-bottom: -10px; | |
|
223 | } | |
|
224 | ||
|
225 | .wijmo-wijtooltip-arrow-lt .wijmo-wijtooltip-pointer { | |
|
226 | border-bottom: 18px solid transparent; | |
|
227 | border-top: 0 none; | |
|
228 | top: 10px; | |
|
229 | } | |
|
230 | ||
|
231 | .wijmo-wijtooltip-arrow-lb .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-lc .wijmo-wijtooltip-pointer-inner, .wijmo-wijtooltip-arrow-lt .wijmo-wijtooltip-pointer-inner { | |
|
232 | border-right-color: inherit; | |
|
233 | border-right-style: solid; | |
|
234 | border-right-width: 10px; | |
|
235 | right: -14px; | |
|
236 | *font-size:0;line-height:0; | |
|
237 | } | |
|
238 | ||
|
239 | .wijmo-wijtooltip-arrow-lb .wijmo-wijtooltip-pointer-inner { | |
|
240 | border-bottom: 0 none; | |
|
241 | border-top: 12px solid transparent; | |
|
242 | bottom: 2px; | |
|
243 | } | |
|
244 | ||
|
245 | .wijmo-wijtooltip-arrow-lc .wijmo-wijtooltip-pointer-inner { | |
|
246 | border-bottom: 8px solid transparent; | |
|
247 | border-top: 8px solid transparent; | |
|
248 | bottom: -8px; | |
|
249 | } | |
|
250 | ||
|
251 | .wijmo-wijtooltip-arrow-lt .wijmo-wijtooltip-pointer-inner { | |
|
252 | border-bottom-style: solid; | |
|
253 | border-bottom-color: inherit; | |
|
254 | border-bottom-width: 12px; | |
|
255 | border-top: 0 none; | |
|
256 | top: 2px; | |
|
257 | } |
@@ -0,0 +1,13 b'' | |||
|
1 | .ui-helper-horizontal > DIV, | |
|
2 | .ui-helper-horizontal > LI, | |
|
3 | .ui-helper-horizontal > SPAN, | |
|
4 | .ui-helper-horizontal > LABEL, | |
|
5 | .ui-helper-horizontal > H1, | |
|
6 | .ui-helper-horizontal > H2, | |
|
7 | .ui-helper-horizontal > H3, | |
|
8 | .ui-helper-horizontal > H4 | |
|
9 | { | |
|
10 | float: left; | |
|
11 | clear: none; | |
|
12 | display: block; | |
|
13 | } No newline at end of file |
@@ -0,0 +1,95 b'' | |||
|
1 | /* | |
|
2 | * jQuery autoResize (textarea auto-resizer) | |
|
3 | * @copyright James Padolsey http://james.padolsey.com | |
|
4 | * @version 1.04 | |
|
5 | */ | |
|
6 | ||
|
7 | (function($){ | |
|
8 | ||
|
9 | $.fn.autoResize = function(options) { | |
|
10 | ||
|
11 | // Just some abstracted details, | |
|
12 | // to make plugin users happy: | |
|
13 | var settings = $.extend({ | |
|
14 | onResize : function(){}, | |
|
15 | animate : true, | |
|
16 | animateDuration : 150, | |
|
17 | animateCallback : function(){}, | |
|
18 | extraSpace : 20, | |
|
19 | limit: 1000 | |
|
20 | }, options); | |
|
21 | ||
|
22 | // Only textarea's auto-resize: | |
|
23 | this.filter('textarea').each(function(){ | |
|
24 | console.log("Hi") | |
|
25 | // Get rid of scrollbars and disable WebKit resizing: | |
|
26 | var textarea = $(this).css({resize:'none','overflow-y':'hidden'}), | |
|
27 | ||
|
28 | // Cache original height, for use later: | |
|
29 | origHeight = textarea.height(), | |
|
30 | ||
|
31 | // Need clone of textarea, hidden off screen: | |
|
32 | clone = (function(){ | |
|
33 | ||
|
34 | // Properties which may effect space taken up by chracters: | |
|
35 | var props = ['height','width','lineHeight','textDecoration','letterSpacing'], | |
|
36 | propOb = {}; | |
|
37 | ||
|
38 | // Create object of styles to apply: | |
|
39 | $.each(props, function(i, prop){ | |
|
40 | propOb[prop] = textarea.css(prop); | |
|
41 | }); | |
|
42 | ||
|
43 | // Clone the actual textarea removing unique properties | |
|
44 | // and insert before original textarea: | |
|
45 | return textarea.clone().removeAttr('id').removeAttr('name').css({ | |
|
46 | position: 'absolute', | |
|
47 | top: 0, | |
|
48 | left: -9999 | |
|
49 | }).css(propOb).attr('tabIndex','-1').insertBefore(textarea); | |
|
50 | ||
|
51 | })(), | |
|
52 | lastScrollTop = null, | |
|
53 | updateSize = function() { | |
|
54 | ||
|
55 | // Prepare the clone: | |
|
56 | clone.height(0).val($(this).val()).scrollTop(10000); | |
|
57 | ||
|
58 | // Find the height of text: | |
|
59 | var scrollTop = Math.max(clone.scrollTop(), origHeight) + settings.extraSpace, | |
|
60 | toChange = $(this).add(clone); | |
|
61 | ||
|
62 | // Don't do anything if scrollTip hasen't changed: | |
|
63 | if (lastScrollTop === scrollTop) { return; } | |
|
64 | lastScrollTop = scrollTop; | |
|
65 | ||
|
66 | // Check for limit: | |
|
67 | if ( scrollTop >= settings.limit ) { | |
|
68 | $(this).css('overflow-y',''); | |
|
69 | return; | |
|
70 | } | |
|
71 | // Fire off callback: | |
|
72 | settings.onResize.call(this); | |
|
73 | ||
|
74 | // Either animate or directly apply height: | |
|
75 | settings.animate && textarea.css('display') === 'block' ? | |
|
76 | toChange.stop().animate({height:scrollTop}, settings.animateDuration, settings.animateCallback) | |
|
77 | : toChange.height(scrollTop); | |
|
78 | }; | |
|
79 | ||
|
80 | // Bind namespaced handlers to appropriate events: | |
|
81 | textarea | |
|
82 | .unbind('.dynSiz') | |
|
83 | .bind('keyup.dynSiz', updateSize) | |
|
84 | .bind('keydown.dynSiz', updateSize) | |
|
85 | .bind('change.dynSiz', updateSize); | |
|
86 | }); | |
|
87 | ||
|
88 | // Chain: | |
|
89 | return this; | |
|
90 | ||
|
91 | }; | |
|
92 | ||
|
93 | ||
|
94 | ||
|
95 | })(jQuery); No newline at end of file |
@@ -0,0 +1,16 b'' | |||
|
1 | /*! | |
|
2 | * jQuery JavaScript Library v1.5.1 | |
|
3 | * http://jquery.com/ | |
|
4 | * | |
|
5 | * Copyright 2011, John Resig | |
|
6 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
7 | * http://jquery.org/license | |
|
8 | * | |
|
9 | * Includes Sizzle.js | |
|
10 | * http://sizzlejs.com/ | |
|
11 | * Copyright 2011, The Dojo Foundation | |
|
12 | * Released under the MIT, BSD, and GPL Licenses. | |
|
13 | * | |
|
14 | * Date: Wed Feb 23 13:55:29 2011 -0500 | |
|
15 | */ | |
|
16 | (function(a,b){function cg(a){return d.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cd(a){if(!bZ[a]){var b=d("<"+a+">").appendTo("body"),c=b.css("display");b.remove();if(c==="none"||c==="")c="block";bZ[a]=c}return bZ[a]}function cc(a,b){var c={};d.each(cb.concat.apply([],cb.slice(0,b)),function(){c[this]=a});return c}function bY(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function bX(){try{return new a.XMLHttpRequest}catch(b){}}function bW(){d(a).unload(function(){for(var a in bU)bU[a](0,1)})}function bQ(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var e=a.dataTypes,f={},g,h,i=e.length,j,k=e[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h==="string"&&(f[h.toLowerCase()]=a.converters[h]);l=k,k=e[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=f[m]||f["* "+k];if(!n){p=b;for(o in f){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=f[j[1]+" "+k];if(p){o=f[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&d.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function bP(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function bO(a,b,c,e){if(d.isArray(b)&&b.length)d.each(b,function(b,f){c||bq.test(a)?e(a,f):bO(a+"["+(typeof f==="object"||d.isArray(f)?b:"")+"]",f,c,e)});else if(c||b==null||typeof b!=="object")e(a,b);else if(d.isArray(b)||d.isEmptyObject(b))e(a,"");else for(var f in b)bO(a+"["+f+"]",b[f],c,e)}function bN(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bH,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l==="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=bN(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=bN(a,c,d,e,"*",g));return l}function bM(a){return function(b,c){typeof b!=="string"&&(c=b,b="*");if(d.isFunction(c)){var e=b.toLowerCase().split(bB),f=0,g=e.length,h,i,j;for(;f<g;f++)h=e[f],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bo(a,b,c){var e=b==="width"?bi:bj,f=b==="width"?a.offsetWidth:a.offsetHeight;if(c==="border")return f;d.each(e,function(){c||(f-=parseFloat(d.css(a,"padding"+this))||0),c==="margin"?f+=parseFloat(d.css(a,"margin"+this))||0:f-=parseFloat(d.css(a,"border"+this+"Width"))||0});return f}function ba(a,b){b.src?d.ajax({url:b.src,async:!1,dataType:"script"}):d.globalEval(b.text||b.textContent||b.innerHTML||""),b.parentNode&&b.parentNode.removeChild(b)}function _(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function $(a,b){if(b.nodeType===1){var c=b.nodeName.toLowerCase();b.clearAttributes(),b.mergeAttributes(a);if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(d.expando)}}function Z(a,b){if(b.nodeType===1&&d.hasData(a)){var c=d.expando,e=d.data(a),f=d.data(b,e);if(e=e[c]){var g=e.events;f=f[c]=d.extend({},e);if(g){delete f.handle,f.events={};for(var h in g)for(var i=0,j=g[h].length;i<j;i++)d.event.add(b,h+(g[h][i].namespace?".":"")+g[h][i].namespace,g[h][i],g[h][i].data)}}}}function Y(a,b){return d.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function O(a,b,c){if(d.isFunction(b))return d.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return d.grep(a,function(a,d){return a===b===c});if(typeof b==="string"){var e=d.grep(a,function(a){return a.nodeType===1});if(J.test(b))return d.filter(b,e,!c);b=d.filter(b,e)}return d.grep(a,function(a,e){return d.inArray(a,b)>=0===c})}function N(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function F(a,b){return(a&&a!=="*"?a+".":"")+b.replace(r,"`").replace(s,"&")}function E(a){var b,c,e,f,g,h,i,j,k,l,m,n,o,q=[],r=[],s=d._data(this,"events");if(a.liveFired!==this&&s&&s.live&&!a.target.disabled&&(!a.button||a.type!=="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var t=s.live.slice(0);for(i=0;i<t.length;i++)g=t[i],g.origType.replace(p,"")===a.type?r.push(g.selector):t.splice(i--,1);f=d(a.target).closest(r,a.currentTarget);for(j=0,k=f.length;j<k;j++){m=f[j];for(i=0;i<t.length;i++){g=t[i];if(m.selector===g.selector&&(!n||n.test(g.namespace))&&!m.elem.disabled){h=m.elem,e=null;if(g.preType==="mouseenter"||g.preType==="mouseleave")a.type=g.preType,e=d(a.relatedTarget).closest(g.selector)[0];(!e||e!==h)&&q.push({elem:h,handleObj:g,level:m.level})}}}for(j=0,k=q.length;j<k;j++){f=q[j];if(c&&f.level>c)break;a.currentTarget=f.elem,a.data=f.handleObj.data,a.handleObj=f.handleObj,o=f.handleObj.origHandler.apply(f.elem,arguments);if(o===!1||a.isPropagationStopped()){c=f.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function C(a,c,e){var f=d.extend({},e[0]);f.type=a,f.originalEvent={},f.liveFired=b,d.event.handle.call(c,f),f.isDefaultPrevented()&&e[0].preventDefault()}function w(){return!0}function v(){return!1}function g(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function f(a,c,f){if(f===b&&a.nodeType===1){f=a.getAttribute("data-"+c);if(typeof f==="string"){try{f=f==="true"?!0:f==="false"?!1:f==="null"?null:d.isNaN(f)?e.test(f)?d.parseJSON(f):f:parseFloat(f)}catch(g){}d.data(a,c,f)}else f=b}return f}var c=a.document,d=function(){function I(){if(!d.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(I,1);return}d.ready()}}var d=function(a,b){return new d.fn.init(a,b,g)},e=a.jQuery,f=a.$,g,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,i=/\S/,j=/^\s+/,k=/\s+$/,l=/\d/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=navigator.userAgent,w,x=!1,y,z="then done fail isResolved isRejected promise".split(" "),A,B=Object.prototype.toString,C=Object.prototype.hasOwnProperty,D=Array.prototype.push,E=Array.prototype.slice,F=String.prototype.trim,G=Array.prototype.indexOf,H={};d.fn=d.prototype={constructor:d,init:function(a,e,f){var g,i,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!e&&c.body){this.context=c,this[0]=c.body,this.selector="body",this.length=1;return this}if(typeof a==="string"){g=h.exec(a);if(!g||!g[1]&&e)return!e||e.jquery?(e||f).find(a):this.constructor(e).find(a);if(g[1]){e=e instanceof d?e[0]:e,k=e?e.ownerDocument||e:c,j=m.exec(a),j?d.isPlainObject(e)?(a=[c.createElement(j[1])],d.fn.attr.call(a,e,!0)):a=[k.createElement(j[1])]:(j=d.buildFragment([g[1]],[k]),a=(j.cacheable?d.clone(j.fragment):j.fragment).childNodes);return d.merge(this,a)}i=c.getElementById(g[2]);if(i&&i.parentNode){if(i.id!==g[2])return f.find(a);this.length=1,this[0]=i}this.context=c,this.selector=a;return this}if(d.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return d.makeArray(a,this)},selector:"",jquery:"1.5.1",length:0,size:function(){return this.length},toArray:function(){return E.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var e=this.constructor();d.isArray(a)?D.apply(e,a):d.merge(e,a),e.prevObject=this,e.context=this.context,b==="find"?e.selector=this.selector+(this.selector?" ":"")+c:b&&(e.selector=this.selector+"."+b+"("+c+")");return e},each:function(a,b){return d.each(this,a,b)},ready:function(a){d.bindReady(),y.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(E.apply(this,arguments),"slice",E.call(arguments).join(","))},map:function(a){return this.pushStack(d.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:D,sort:[].sort,splice:[].splice},d.fn.init.prototype=d.fn,d.extend=d.fn.extend=function(){var a,c,e,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i==="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!=="object"&&!d.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){e=i[c],f=a[c];if(i===f)continue;l&&f&&(d.isPlainObject(f)||(g=d.isArray(f)))?(g?(g=!1,h=e&&d.isArray(e)?e:[]):h=e&&d.isPlainObject(e)?e:{},i[c]=d.extend(l,h,f)):f!==b&&(i[c]=f)}return i},d.extend({noConflict:function(b){a.$=f,b&&(a.jQuery=e);return d},isReady:!1,readyWait:1,ready:function(a){a===!0&&d.readyWait--;if(!d.readyWait||a!==!0&&!d.isReady){if(!c.body)return setTimeout(d.ready,1);d.isReady=!0;if(a!==!0&&--d.readyWait>0)return;y.resolveWith(c,[d]),d.fn.trigger&&d(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!x){x=!0;if(c.readyState==="complete")return setTimeout(d.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",A,!1),a.addEventListener("load",d.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",A),a.attachEvent("onload",d.ready);var b=!1;try{b=a.frameElement==null}catch(e){}c.documentElement.doScroll&&b&&I()}}},isFunction:function(a){return d.type(a)==="function"},isArray:Array.isArray||function(a){return d.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!l.test(a)||isNaN(a)},type:function(a){return a==null?String(a):H[B.call(a)]||"object"},isPlainObject:function(a){if(!a||d.type(a)!=="object"||a.nodeType||d.isWindow(a))return!1;if(a.constructor&&!C.call(a,"constructor")&&!C.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a){}return c===b||C.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!=="string"||!b)return null;b=d.trim(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return a.JSON&&a.JSON.parse?a.JSON.parse(b):(new Function("return "+b))();d.error("Invalid JSON: "+b)},parseXML:function(b,c,e){a.DOMParser?(e=new DOMParser,c=e.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),e=c.documentElement,(!e||!e.nodeName||e.nodeName==="parsererror")&&d.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(a){if(a&&i.test(a)){var b=c.head||c.getElementsByTagName("head")[0]||c.documentElement,e=c.createElement("script");d.support.scriptEval()?e.appendChild(c.createTextNode(a)):e.text=a,b.insertBefore(e,b.firstChild),b.removeChild(e)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,e){var f,g=0,h=a.length,i=h===b||d.isFunction(a);if(e){if(i){for(f in a)if(c.apply(a[f],e)===!1)break}else for(;g<h;)if(c.apply(a[g++],e)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(var j=a[0];g<h&&c.call(j,g,j)!==!1;j=a[++g]){}return a},trim:F?function(a){return a==null?"":F.call(a)}:function(a){return a==null?"":(a+"").replace(j,"").replace(k,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var e=d.type(a);a.length==null||e==="string"||e==="function"||e==="regexp"||d.isWindow(a)?D.call(c,a):d.merge(c,a)}return c},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return c;return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length==="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,b,c){var d=[],e;for(var f=0,g=a.length;f<g;f++)e=b(a[f],f,c),e!=null&&(d[d.length]=e);return d.concat.apply([],d)},guid:1,proxy:function(a,c,e){arguments.length===2&&(typeof c==="string"?(e=a,a=e[c],c=b):c&&!d.isFunction(c)&&(e=c,c=b)),!c&&a&&(c=function(){return a.apply(e||this,arguments)}),a&&(c.guid=a.guid=a.guid||c.guid||d.guid++);return c},access:function(a,c,e,f,g,h){var i=a.length;if(typeof c==="object"){for(var j in c)d.access(a,j,c[j],f,g,e);return a}if(e!==b){f=!h&&f&&d.isFunction(e);for(var k=0;k<i;k++)g(a[k],c,f?e.call(a[k],k,g(a[k],c)):e,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},_Deferred:function(){var a=[],b,c,e,f={done:function(){if(!e){var c=arguments,g,h,i,j,k;b&&(k=b,b=0);for(g=0,h=c.length;g<h;g++)i=c[g],j=d.type(i),j==="array"?f.done.apply(f,i):j==="function"&&a.push(i);k&&f.resolveWith(k[0],k[1])}return this},resolveWith:function(d,f){if(!e&&!b&&!c){c=1;try{while(a[0])a.shift().apply(d,f)}catch(g){throw g}finally{b=[d,f],c=0}}return this},resolve:function(){f.resolveWith(d.isFunction(this.promise)?this.promise():this,arguments);return this},isResolved:function(){return c||b},cancel:function(){e=1,a=[];return this}};return f},Deferred:function(a){var b=d._Deferred(),c=d._Deferred(),e;d.extend(b,{then:function(a,c){b.done(a).fail(c);return this},fail:c.done,rejectWith:c.resolveWith,reject:c.resolve,isRejected:c.isResolved,promise:function(a){if(a==null){if(e)return e;e=a={}}var c=z.length;while(c--)a[z[c]]=b[z[c]];return a}}),b.done(c.cancel).fail(b.cancel),delete b.cancel,a&&a.call(b,b);return b},when:function(a){var b=arguments.length,c=b<=1&&a&&d.isFunction(a.promise)?a:d.Deferred(),e=c.promise();if(b>1){var f=E.call(arguments,0),g=b,h=function(a){return function(b){f[a]=arguments.length>1?E.call(arguments,0):b,--g||c.resolveWith(e,f)}};while(b--)a=f[b],a&&d.isFunction(a.promise)?a.promise().then(h(b),c.reject):--g;g||c.resolveWith(e,f)}else c!==a&&c.resolve(a);return e},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}d.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.subclass=this.subclass,a.fn.init=function b(b,c){c&&c instanceof d&&!(c instanceof a)&&(c=a(c));return d.fn.init.call(this,b,c,e)},a.fn.init.prototype=a.fn;var e=a(c);return a},browser:{}}),y=d._Deferred(),d.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){H["[object "+b+"]"]=b.toLowerCase()}),w=d.uaMatch(v),w.browser&&(d.browser[w.browser]=!0,d.browser.version=w.version),d.browser.webkit&&(d.browser.safari=!0),G&&(d.inArray=function(a,b){return G.call(b,a)}),i.test("Â ")&&(j=/^[\s\xA0]+/,k=/[\s\xA0]+$/),g=d(c),c.addEventListener?A=function(){c.removeEventListener("DOMContentLoaded",A,!1),d.ready()}:c.attachEvent&&(A=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",A),d.ready())});return d}();(function(){d.support={};var b=c.createElement("div");b.style.display="none",b.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var e=b.getElementsByTagName("*"),f=b.getElementsByTagName("a")[0],g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=b.getElementsByTagName("input")[0];if(e&&e.length&&f){d.support={leadingWhitespace:b.firstChild.nodeType===3,tbody:!b.getElementsByTagName("tbody").length,htmlSerialize:!!b.getElementsByTagName("link").length,style:/red/.test(f.getAttribute("style")),hrefNormalized:f.getAttribute("href")==="/a",opacity:/^0.55$/.test(f.style.opacity),cssFloat:!!f.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,deleteExpando:!0,optDisabled:!1,checkClone:!1,noCloneEvent:!0,noCloneChecked:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0},i.checked=!0,d.support.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,d.support.optDisabled=!h.disabled;var j=null;d.support.scriptEval=function(){if(j===null){var b=c.documentElement,e=c.createElement("script"),f="script"+d.now();try{e.appendChild(c.createTextNode("window."+f+"=1;"))}catch(g){}b.insertBefore(e,b.firstChild),a[f]?(j=!0,delete a[f]):j=!1,b.removeChild(e),b=e=f=null}return j};try{delete b.test}catch(k){d.support.deleteExpando=!1}!b.addEventListener&&b.attachEvent&&b.fireEvent&&(b.attachEvent("onclick",function l(){d.support.noCloneEvent=!1,b.detachEvent("onclick",l)}),b.cloneNode(!0).fireEvent("onclick")),b=c.createElement("div"),b.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var m=c.createDocumentFragment();m.appendChild(b.firstChild),d.support.checkClone=m.cloneNode(!0).cloneNode(!0).lastChild.checked,d(function(){var a=c.createElement("div"),b=c.getElementsByTagName("body")[0];if(b){a.style.width=a.style.paddingLeft="1px",b.appendChild(a),d.boxModel=d.support.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,d.support.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",d.support.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var e=a.getElementsByTagName("td");d.support.reliableHiddenOffsets=e[0].offsetHeight===0,e[0].style.display="",e[1].style.display="none",d.support.reliableHiddenOffsets=d.support.reliableHiddenOffsets&&e[0].offsetHeight===0,a.innerHTML="",b.removeChild(a).style.display="none",a=e=null}});var n=function(a){var b=c.createElement("div");a="on"+a;if(!b.attachEvent)return!0;var d=a in b;d||(b.setAttribute(a,"return;"),d=typeof b[a]==="function"),b=null;return d};d.support.submitBubbles=n("submit"),d.support.changeBubbles=n("change"),b=e=f=null}})();var e=/^(?:\{.*\}|\[.*\])$/;d.extend({cache:{},uuid:0,expando:"jQuery"+(d.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?d.cache[a[d.expando]]:a[d.expando];return!!a&&!g(a)},data:function(a,c,e,f){if(d.acceptData(a)){var g=d.expando,h=typeof c==="string",i,j=a.nodeType,k=j?d.cache:a,l=j?a[d.expando]:a[d.expando]&&d.expando;if((!l||f&&l&&!k[l][g])&&h&&e===b)return;l||(j?a[d.expando]=l=++d.uuid:l=d.expando),k[l]||(k[l]={},j||(k[l].toJSON=d.noop));if(typeof c==="object"||typeof c==="function")f?k[l][g]=d.extend(k[l][g],c):k[l]=d.extend(k[l],c);i=k[l],f&&(i[g]||(i[g]={}),i=i[g]),e!==b&&(i[c]=e);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[c]:i}},removeData:function(b,c,e){if(d.acceptData(b)){var f=d.expando,h=b.nodeType,i=h?d.cache:b,j=h?b[d.expando]:d.expando;if(!i[j])return;if(c){var k=e?i[j][f]:i[j];if(k){delete k[c];if(!g(k))return}}if(e){delete i[j][f];if(!g(i[j]))return}var l=i[j][f];d.support.deleteExpando||i!=a?delete i[j]:i[j]=null,l?(i[j]={},h||(i[j].toJSON=d.noop),i[j][f]=l):h&&(d.support.deleteExpando?delete b[d.expando]:b.removeAttribute?b.removeAttribute(d.expando):b[d.expando]=null)}},_data:function(a,b,c){return d.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=d.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),d.fn.extend({data:function(a,c){var e=null;if(typeof a==="undefined"){if(this.length){e=d.data(this[0]);if(this[0].nodeType===1){var g=this[0].attributes,h;for(var i=0,j=g.length;i<j;i++)h=g[i].name,h.indexOf("data-")===0&&(h=h.substr(5),f(this[0],h,e[h]))}}return e}if(typeof a==="object")return this.each(function(){d.data(this,a)});var k=a.split(".");k[1]=k[1]?"."+k[1]:"";if(c===b){e=this.triggerHandler("getData"+k[1]+"!",[k[0]]),e===b&&this.length&&(e=d.data(this[0],a),e=f(this[0],a,e));return e===b&&k[1]?this.data(k[0]):e}return this.each(function(){var b=d(this),e=[k[0],c];b.triggerHandler("setData"+k[1]+"!",e),d.data(this,a,c),b.triggerHandler("changeData"+k[1]+"!",e)})},removeData:function(a){return this.each(function(){d.removeData(this,a)})}}),d.extend({queue:function(a,b,c){if(a){b=(b||"fx")+"queue";var e=d._data(a,b);if(!c)return e||[];!e||d.isArray(c)?e=d._data(a,b,d.makeArray(c)):e.push(c);return e}},dequeue:function(a,b){b=b||"fx";var c=d.queue(a,b),e=c.shift();e==="inprogress"&&(e=c.shift()),e&&(b==="fx"&&c.unshift("inprogress"),e.call(a,function(){d.dequeue(a,b)})),c.length||d.removeData(a,b+"queue",!0)}}),d.fn.extend({queue:function(a,c){typeof a!=="string"&&(c=a,a="fx");if(c===b)return d.queue(this[0],a);return this.each(function(b){var e=d.queue(this,a,c);a==="fx"&&e[0]!=="inprogress"&&d.dequeue(this,a)})},dequeue:function(a){return this.each(function(){d.dequeue(this,a)})},delay:function(a,b){a=d.fx?d.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(){var c=this;setTimeout(function(){d.dequeue(c,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var h=/[\n\t\r]/g,i=/\s+/,j=/\r/g,k=/^(?:href|src|style)$/,l=/^(?:button|input)$/i,m=/^(?:button|input|object|select|textarea)$/i,n=/^a(?:rea)?$/i,o=/^(?:radio|checkbox)$/i;d.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"},d.fn.extend({attr:function(a,b){return d.access(this,a,b,!0,d.attr)},removeAttr:function(a,b){return this.each(function(){d.attr(this,a,""),this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.addClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"){var b=(a||"").split(i);for(var c=0,e=this.length;c<e;c++){var f=this[c];if(f.nodeType===1)if(f.className){var g=" "+f.className+" ",h=f.className;for(var j=0,k=b.length;j<k;j++)g.indexOf(" "+b[j]+" ")<0&&(h+=" "+b[j]);f.className=d.trim(h)}else f.className=a}}return this},removeClass:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.removeClass(a.call(this,b,c.attr("class")))});if(a&&typeof a==="string"||a===b){var c=(a||"").split(i);for(var e=0,f=this.length;e<f;e++){var g=this[e];if(g.nodeType===1&&g.className)if(a){var j=(" "+g.className+" ").replace(h," ");for(var k=0,l=c.length;k<l;k++)j=j.replace(" "+c[k]+" "," ");g.className=d.trim(j)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,e=typeof b==="boolean";if(d.isFunction(a))return this.each(function(c){var e=d(this);e.toggleClass(a.call(this,c,e.attr("class"),b),b)});return this.each(function(){if(c==="string"){var f,g=0,h=d(this),j=b,k=a.split(i);while(f=k[g++])j=e?j:!h.hasClass(f),h[j?"addClass":"removeClass"](f)}else if(c==="undefined"||c==="boolean")this.className&&d._data(this,"__className__",this.className),this.className=this.className||a===!1?"":d._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ";for(var c=0,d=this.length;c<d;c++)if((" "+this[c].className+" ").replace(h," ").indexOf(b)>-1)return!0;return!1},val:function(a){if(!arguments.length){var c=this[0];if(c){if(d.nodeName(c,"option")){var e=c.attributes.value;return!e||e.specified?c.value:c.text}if(d.nodeName(c,"select")){var f=c.selectedIndex,g=[],h=c.options,i=c.type==="select-one";if(f<0)return null;for(var k=i?f:0,l=i?f+1:h.length;k<l;k++){var m=h[k];if(m.selected&&(d.support.optDisabled?!m.disabled:m.getAttribute("disabled")===null)&&(!m.parentNode.disabled||!d.nodeName(m.parentNode,"optgroup"))){a=d(m).val();if(i)return a;g.push(a)}}if(i&&!g.length&&h.length)return d(h[f]).val();return g}if(o.test(c.type)&&!d.support.checkOn)return c.getAttribute("value")===null?"on":c.value;return(c.value||"").replace(j,"")}return b}var n=d.isFunction(a);return this.each(function(b){var c=d(this),e=a;if(this.nodeType===1){n&&(e=a.call(this,b,c.val())),e==null?e="":typeof e==="number"?e+="":d.isArray(e)&&(e=d.map(e,function(a){return a==null?"":a+""}));if(d.isArray(e)&&o.test(this.type))this.checked=d.inArray(c.val(),e)>=0;else if(d.nodeName(this,"select")){var f=d.makeArray(e);d("option",this).each(function(){this.selected=d.inArray(d(this).val(),f)>=0}),f.length||(this.selectedIndex=-1)}else this.value=e}})}}),d.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,e,f){if(!a||a.nodeType===3||a.nodeType===8||a.nodeType===2)return b;if(f&&c in d.attrFn)return d(a)[c](e);var g=a.nodeType!==1||!d.isXMLDoc(a),h=e!==b;c=g&&d.props[c]||c;if(a.nodeType===1){var i=k.test(c);if(c==="selected"&&!d.support.optSelected){var j=a.parentNode;j&&(j.selectedIndex,j.parentNode&&j.parentNode.selectedIndex)}if((c in a||a[c]!==b)&&g&&!i){h&&(c==="type"&&l.test(a.nodeName)&&a.parentNode&&d.error("type property can't be changed"),e===null?a.nodeType===1&&a.removeAttribute(c):a[c]=e);if(d.nodeName(a,"form")&&a.getAttributeNode(c))return a.getAttributeNode(c).nodeValue;if(c==="tabIndex"){var o=a.getAttributeNode("tabIndex");return o&&o.specified?o.value:m.test(a.nodeName)||n.test(a.nodeName)&&a.href?0:b}return a[c]}if(!d.support.style&&g&&c==="style"){h&&(a.style.cssText=""+e);return a.style.cssText}h&&a.setAttribute(c,""+e);if(!a.attributes[c]&&(a.hasAttribute&&!a.hasAttribute(c)))return b;var p=!d.support.hrefNormalized&&g&&i?a.getAttribute(c,2):a.getAttribute(c);return p===null?b:p}h&&(a[c]=e);return a[c]}});var p=/\.(.*)$/,q=/^(?:textarea|input|select)$/i,r=/\./g,s=/ /g,t=/[^\w\s.|`]/g,u=function(a){return a.replace(t,"\\$&")};d.event={add:function(c,e,f,g){if(c.nodeType!==3&&c.nodeType!==8){try{d.isWindow(c)&&(c!==a&&!c.frameElement)&&(c=a)}catch(h){}if(f===!1)f=v;else if(!f)return;var i,j;f.handler&&(i=f,f=i.handler),f.guid||(f.guid=d.guid++);var k=d._data(c);if(!k)return;var l=k.events,m=k.handle;l||(k.events=l={}),m||(k.handle=m=function(){return typeof d!=="undefined"&&!d.event.triggered?d.event.handle.apply(m.elem,arguments):b}),m.elem=c,e=e.split(" ");var n,o=0,p;while(n=e[o++]){j=i?d.extend({},i):{handler:f,data:g},n.indexOf(".")>-1?(p=n.split("."),n=p.shift(),j.namespace=p.slice(0).sort().join(".")):(p=[],j.namespace=""),j.type=n,j.guid||(j.guid=f.guid);var q=l[n],r=d.event.special[n]||{};if(!q){q=l[n]=[];if(!r.setup||r.setup.call(c,g,p,m)===!1)c.addEventListener?c.addEventListener(n,m,!1):c.attachEvent&&c.attachEvent("on"+n,m)}r.add&&(r.add.call(c,j),j.handler.guid||(j.handler.guid=f.guid)),q.push(j),d.event.global[n]=!0}c=null}},global:{},remove:function(a,c,e,f){if(a.nodeType!==3&&a.nodeType!==8){e===!1&&(e=v);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=d.hasData(a)&&d._data(a),t=s&&s.events;if(!s||!t)return;c&&c.type&&(e=c.handler,c=c.type);if(!c||typeof c==="string"&&c.charAt(0)==="."){c=c||"";for(h in t)d.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split("."),h=m.shift(),n=new RegExp("(^|\\.)"+d.map(m.slice(0).sort(),u).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p)continue;if(!e){for(j=0;j<p.length;j++){q=p[j];if(l||n.test(q.namespace))d.event.remove(a,r,q.handler,j),p.splice(j--,1)}continue}o=d.event.special[h]||{};for(j=f||0;j<p.length;j++){q=p[j];if(e.guid===q.guid){if(l||n.test(q.namespace))f==null&&p.splice(j--,1),o.remove&&o.remove.call(a,q);if(f!=null)break}}if(p.length===0||f!=null&&p.length===1)(!o.teardown||o.teardown.call(a,m)===!1)&&d.removeEvent(a,h,s.handle),g=null,delete t[h]}if(d.isEmptyObject(t)){var w=s.handle;w&&(w.elem=null),delete s.events,delete s.handle,d.isEmptyObject(s)&&d.removeData(a,b,!0)}}},trigger:function(a,c,e){var f=a.type||a,g=arguments[3];if(!g){a=typeof a==="object"?a[d.expando]?a:d.extend(d.Event(f),a):d.Event(f),f.indexOf("!")>=0&&(a.type=f=f.slice(0,-1),a.exclusive=!0),e||(a.stopPropagation(),d.event.global[f]&&d.each(d.cache,function(){var b=d.expando,e=this[b];e&&e.events&&e.events[f]&&d.event.trigger(a,c,e.handle.elem)}));if(!e||e.nodeType===3||e.nodeType===8)return b;a.result=b,a.target=e,c=d.makeArray(c),c.unshift(a)}a.currentTarget=e;var h=d._data(e,"handle");h&&h.apply(e,c);var i=e.parentNode||e.ownerDocument;try{e&&e.nodeName&&d.noData[e.nodeName.toLowerCase()]||e["on"+f]&&e["on"+f].apply(e,c)===!1&&(a.result=!1,a.preventDefault())}catch(j){}if(!a.isPropagationStopped()&&i)d.event.trigger(a,c,i,!0);else if(!a.isDefaultPrevented()){var k,l=a.target,m=f.replace(p,""),n=d.nodeName(l,"a")&&m==="click",o=d.event.special[m]||{};if((!o._default||o._default.call(e,a)===!1)&&!n&&!(l&&l.nodeName&&d.noData[l.nodeName.toLowerCase()])){try{l[m]&&(k=l["on"+m],k&&(l["on"+m]=null),d.event.triggered=!0,l[m]())}catch(q){}k&&(l["on"+m]=k),d.event.triggered=!1}}},handle:function(c){var e,f,g,h,i,j=[],k=d.makeArray(arguments);c=k[0]=d.event.fix(c||a.event),c.currentTarget=this,e=c.type.indexOf(".")<0&&!c.exclusive,e||(g=c.type.split("."),c.type=g.shift(),j=g.slice(0).sort(),h=new RegExp("(^|\\.)"+j.join("\\.(?:.*\\.)?")+"(\\.|$)")),c.namespace=c.namespace||j.join("."),i=d._data(this,"events"),f=(i||{})[c.type];if(i&&f){f=f.slice(0);for(var l=0,m=f.length;l<m;l++){var n=f[l];if(e||h.test(n.namespace)){c.handler=n.handler,c.data=n.data,c.handleObj=n;var o=n.handler.apply(this,k);o!==b&&(c.result=o,o===!1&&(c.preventDefault(),c.stopPropagation()));if(c.isImmediatePropagationStopped())break}}}return c.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[d.expando])return a;var e=a;a=d.Event(e);for(var f=this.props.length,g;f;)g=this.props[--f],a[g]=e[g];a.target||(a.target=a.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),!a.relatedTarget&&a.fromElement&&(a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement);if(a.pageX==null&&a.clientX!=null){var h=c.documentElement,i=c.body;a.pageX=a.clientX+(h&&h.scrollLeft||i&&i.scrollLeft||0)-(h&&h.clientLeft||i&&i.clientLeft||0),a.pageY=a.clientY+(h&&h.scrollTop||i&&i.scrollTop||0)-(h&&h.clientTop||i&&i.clientTop||0)}a.which==null&&(a.charCode!=null||a.keyCode!=null)&&(a.which=a.charCode!=null?a.charCode:a.keyCode),!a.metaKey&&a.ctrlKey&&(a.metaKey=a.ctrlKey),!a.which&&a.button!==b&&(a.which=a.button&1?1:a.button&2?3:a.button&4?2:0);return a},guid:1e8,proxy:d.proxy,special:{ready:{setup:d.bindReady,teardown:d.noop},live:{add:function(a){d.event.add(this,F(a.origType,a.selector),d.extend({},a,{handler:E,guid:a.handler.guid}))},remove:function(a){d.event.remove(this,F(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,c){d.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}}},d.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},d.Event=function(a){if(!this.preventDefault)return new d.Event(a);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?w:v):this.type=a,this.timeStamp=d.now(),this[d.expando]=!0},d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=w;var a=this.originalEvent;a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=w;var a=this.originalEvent;a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=w,this.stopPropagation()},isDefaultPrevented:v,isPropagationStopped:v,isImmediatePropagationStopped:v};var x=function(a){var b=a.relatedTarget;try{if(b!==c&&!b.parentNode)return;while(b&&b!==this)b=b.parentNode;b!==this&&(a.type=a.data,d.event.handle.apply(this,arguments))}catch(e){}},y=function(a){a.type=a.data,d.event.handle.apply(this,arguments)};d.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){d.event.special[a]={setup:function(c){d.event.add(this,b,c&&c.selector?y:x,a)},teardown:function(a){d.event.remove(this,b,a&&a.selector?y:x)}}}),d.support.submitBubbles||(d.event.special.submit={setup:function(a,b){if(this.nodeName&&this.nodeName.toLowerCase()!=="form")d.event.add(this,"click.specialSubmit",function(a){var b=a.target,c=b.type;(c==="submit"||c==="image")&&d(b).closest("form").length&&C("submit",this,arguments)}),d.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,c=b.type;(c==="text"||c==="password")&&d(b).closest("form").length&&a.keyCode===13&&C("submit",this,arguments)});else return!1},teardown:function(a){d.event.remove(this,".specialSubmit")}});if(!d.support.changeBubbles){var z,A=function(a){var b=a.type,c=a.value;b==="radio"||b==="checkbox"?c=a.checked:b==="select-multiple"?c=a.selectedIndex>-1?d.map(a.options,function(a){return a.selected}).join("-"):"":a.nodeName.toLowerCase()==="select"&&(c=a.selectedIndex);return c},B=function B(a){var c=a.target,e,f;if(q.test(c.nodeName)&&!c.readOnly){e=d._data(c,"_change_data"),f=A(c),(a.type!=="focusout"||c.type!=="radio")&&d._data(c,"_change_data",f);if(e===b||f===e)return;if(e!=null||f)a.type="change",a.liveFired=b,d.event.trigger(a,arguments[1],c)}};d.event.special.change={filters:{focusout:B,beforedeactivate:B,click:function(a){var b=a.target,c=b.type;(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")&&B.call(this,a)},keydown:function(a){var b=a.target,c=b.type;(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&B.call(this,a)},beforeactivate:function(a){var b=a.target;d._data(b,"_change_data",A(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in z)d.event.add(this,c+".specialChange",z[c]);return q.test(this.nodeName)},teardown:function(a){d.event.remove(this,".specialChange");return q.test(this.nodeName)}},z=d.event.special.change.filters,z.focus=z.beforeactivate}c.addEventListener&&d.each({focus:"focusin",blur:"focusout"},function(a,b){function c(a){a=d.event.fix(a),a.type=b;return d.event.handle.call(this,a)}d.event.special[b]={setup:function(){this.addEventListener(a,c,!0)},teardown:function(){this.removeEventListener(a,c,!0)}}}),d.each(["bind","one"],function(a,c){d.fn[c]=function(a,e,f){if(typeof a==="object"){for(var g in a)this[c](g,e,a[g],f);return this}if(d.isFunction(e)||e===!1)f=e,e=b;var h=c==="one"?d.proxy(f,function(a){d(this).unbind(a,h);return f.apply(this,arguments)}):f;if(a==="unload"&&c!=="one")this.one(a,e,f);else for(var i=0,j=this.length;i<j;i++)d.event.add(this[i],a,h,e);return this}}),d.fn.extend({unbind:function(a,b){if(typeof a!=="object"||a.preventDefault)for(var e=0,f=this.length;e<f;e++)d.event.remove(this[e],a,b);else for(var c in a)this.unbind(c,a[c]);return this},delegate:function(a,b,c,d){return this.live(b,c,d,a)},undelegate:function(a,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,a)},trigger:function(a,b){return this.each(function(){d.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var c=d.Event(a);c.preventDefault(),c.stopPropagation(),d.event.trigger(c,b,this[0]);return c.result}},toggle:function(a){var b=arguments,c=1;while(c<b.length)d.proxy(a,b[c++]);return this.click(d.proxy(a,function(e){var f=(d._data(this,"lastToggle"+a.guid)||0)%c;d._data(this,"lastToggle"+a.guid,f+1),e.preventDefault();return b[f].apply(this,arguments)||!1}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var D={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};d.each(["live","die"],function(a,c){d.fn[c]=function(a,e,f,g){var h,i=0,j,k,l,m=g||this.selector,n=g?this:d(this.context);if(typeof a==="object"&&!a.preventDefault){for(var o in a)n[c](o,e,a[o],m);return this}d.isFunction(e)&&(f=e,e=b),a=(a||"").split(" ");while((h=a[i++])!=null){j=p.exec(h),k="",j&&(k=j[0],h=h.replace(p,""));if(h==="hover"){a.push("mouseenter"+k,"mouseleave"+k);continue}l=h,h==="focus"||h==="blur"?(a.push(D[h]+k),h=h+k):h=(D[h]||h)+k;if(c==="live")for(var q=0,r=n.length;q<r;q++)d.event.add(n[q],"live."+F(h,m),{data:e,selector:m,handler:f,origType:h,origHandler:f,preType:l});else n.unbind("live."+F(h,m),f)}return this}}),d.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(a,b){d.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.bind(b,a,c):this.trigger(b)},d.attrFn&&(d.attrFn[b]=!0)}),function(){function u(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}if(i.nodeType===1){f||(i.sizcache=c,i.sizset=g);if(typeof b!=="string"){if(i===b){j=!0;break}}else if(k.filter(b,[i]).length>0){j=i;break}}i=i[a]}d[g]=j}}}function t(a,b,c,d,e,f){for(var g=0,h=d.length;g<h;g++){var i=d[g];if(i){var j=!1;i=i[a];while(i){if(i.sizcache===c){j=d[i.sizset];break}i.nodeType===1&&!f&&(i.sizcache=c,i.sizset=g);if(i.nodeName.toLowerCase()===b){j=i;break}i=i[a]}d[g]=j}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,e,g){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!=="string")return e;var i,j,n,o,q,r,s,t,u=!0,w=k.isXML(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b))if(x.length===2&&l.relative[x[0]])j=v(x[0]+x[1],d);else{j=l.relative[x[0]]?[d]:k(x.shift(),d);while(x.length)b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}else{!g&&x.length>1&&d.nodeType===9&&!w&&l.match.ID.test(x[0])&&!l.match.ID.test(x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),j=q.expr?k.filter(q.expr,q.set):q.set,x.length>0?n=p(j):u=!1;while(x.length)r=x.pop(),s=r,l.relative[r]?s=x.pop():r="",s==null&&(s=d),l.relative[r](n,s,w)}else n=x=[]}n||(n=j),n||k.error(r||b);if(f.call(n)==="[object Array]")if(u)if(d&&d.nodeType===1)for(t=0;n[t]!=null;t++)n[t]&&(n[t]===!0||n[t].nodeType===1&&k.contains(d,n[t]))&&e.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodeType===1&&e.push(j[t]);else e.push.apply(e,n);else p(n,e);o&&(k(o,h,e,g),k.uniqueSort(e));return e};k.uniqueSort=function(a){if(r){g=h,a.sort(r);if(g)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},k.matches=function(a,b){return k(a,null,null,b)},k.matchesSelector=function(a,b){return k(b,null,null,[a]).length>0},k.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=l.order.length;e<f;e++){var g,h=l.order[e];if(g=l.leftMatch[h].exec(a)){var j=g[1];g.splice(1,1);if(j.substr(j.length-1)!=="\\"){g[1]=(g[1]||"").replace(i,""),d=l.find[h](g,b,c);if(d!=null){a=a.replace(l.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!=="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},k.filter=function(a,c,d,e){var f,g,h=a,i=[],j=c,m=c&&c[0]&&k.isXML(c[0]);while(a&&c.length){for(var n in l.filter)if((f=l.leftMatch[n].exec(a))!=null&&f[2]){var o,p,q=l.filter[n],r=f[1];g=!1,f.splice(1,1);if(r.substr(r.length-1)==="\\")continue;j===i&&(i=[]);if(l.preFilter[n]){f=l.preFilter[n](f,j,d,i,e,m);if(f){if(f===!0)continue}else g=o=!0}if(f)for(var s=0;(p=j[s])!=null;s++)if(p){o=q(p,f,s,j);var t=e^!!o;d&&o!=null?t?g=!0:j[s]=!1:t&&(i.push(p),g=!0)}if(o!==b){d||(j=i),a=a.replace(l.match[n],"");if(!g)return[];break}}if(a===h)if(g==null)k.error(a);else break;h=a}return j},k.error=function(a){throw"Syntax error, unrecognized expression: "+a};var l=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b==="string",d=c&&!j.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1){}a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&k.filter(b,a,!0)},">":function(a,b){var c,d=typeof b==="string",e=0,f=a.length;if(d&&!j.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&k.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=u;typeof b==="string"&&!j.test(b)&&(b=b.toLowerCase(),d=b,g=t),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=u;typeof b==="string"&&!j.test(b)&&(b=b.toLowerCase(),d=b,g=t),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!=="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(i,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(i,"")},TAG:function(a,b){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||k.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&k.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(i,"");!f&&l.attrMap[g]&&(a[1]=l.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(i,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=k(b[3],null,null,c);else{var g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(l.match.POS.test(b[0])||l.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.getAttribute("type")},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=l.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||k.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}k.error(e)},CHILD:function(a,b){var c=b[1],d=a;switch(c){case"only":case"first":while(d=d.previousSibling)if(d.nodeType===1)return!1;if(c==="first")return!0;d=a;case"last":while(d=d.nextSibling)if(d.nodeType===1)return!1;return!0;case"nth":var e=b[2],f=b[3];if(e===1&&f===0)return!0;var g=b[0],h=a.parentNode;if(h&&(h.sizcache!==g||!a.nodeIndex)){var i=0;for(d=h.firstChild;d;d=d.nextSibling)d.nodeType===1&&(d.nodeIndex=++i);h.sizcache=g}var j=a.nodeIndex-f;return e===0?j===0:j%e===0&&j/e>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=l.setFilters[e];if(f)return f(a,c,b,d)}}},m=l.match.POS,n=function(a,b){return"\\"+(b-0+1)};for(var o in l.match)l.match[o]=new RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=new RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n));var p=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(q){p=function(a,b){var c=0,d=b||[];if(f.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var r,s;c.documentElement.compareDocumentPosition?r=function(a,b){if(a===b){g=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(r=function(a,b){var c,d,e=[],f=[],h=a.parentNode,i=b.parentNode,j=h;if(a===b){g=!0;return 0}if(h===i)return s(a,b);if(!h)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return s(e[k],f[k]);return k===c?s(a,f[k],-1):s(e[k],b,1)},s=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),k.getText=function(a){var b="",c;for(var d=0;a[d];d++)c=a[d],c.nodeType===3||c.nodeType===4?b+=c.nodeValue:c.nodeType!==8&&(b+=k.getText(c.childNodes));return b},function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(l.find.ID=function(a,c,d){if(typeof c.getElementById!=="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!=="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(l.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(l.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=k,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return p(e.getElementsByTagName(b),f);if(h[2]&&l.find.CLASS&&e.getElementsByClassName)return p(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return p([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return p([],f);if(i.id===h[3])return p([i],f)}try{return p(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e,n=e.getAttribute("id"),o=n||d,q=e.parentNode,r=/^\s*[+~]/.test(b);n?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),r&&q&&(e=e.parentNode);try{if(!r||q)return p(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(s){}finally{n||m.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)k[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector,d=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(e){d=!0}b&&(k.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(a))try{if(d||!l.match.PSEUDO.test(c)&&!/!=/.test(c))return b.call(a,c)}catch(e){}return k(c,null,null,[a]).length>0})}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?k.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?k.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:k.contains=function(){return!1},k.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var v=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=l.match.PSEUDO.exec(a))e+=c[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;for(var g=0,h=f.length;g<h;g++)k(a,f[g],d);return k.filter(e,d)};d.find=k,d.expr=k.selectors,d.expr[":"]=d.expr.filters,d.unique=k.uniqueSort,d.text=k.getText,d.isXMLDoc=k.isXML,d.contains=k.contains}();var G=/Until$/,H=/^(?:parents|prevUntil|prevAll)/,I=/,/,J=/^.[^:#\[\.,]*$/,K=Array.prototype.slice,L=d.expr.match.POS,M={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({find:function(a){var b=this.pushStack("","find",a),c=0;for(var e=0,f=this.length;e<f;e++){c=b.length,d.find(a,this[e],b);if(e>0)for(var g=c;g<b.length;g++)for(var h=0;h<c;h++)if(b[h]===b[g]){b.splice(g--,1);break}}return b},has:function(a){var b=d(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(d.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(O(this,a,!1),"not",a)},filter:function(a){return this.pushStack(O(this,a,!0),"filter",a)},is:function(a){return!!a&&d.filter(a,this).length>0},closest:function(a,b){var c=[],e,f,g=this[0];if(d.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(e=0,f=a.length;e<f;e++)i=a[e],j[i]||(j[i]=d.expr.match.POS.test(i)?d(i,b||this.context):i);while(g&&g.ownerDocument&&g!==b){for(i in j)h=j[i],(h.jquery?h.index(g)>-1:d(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=L.test(a)?d(a,b||this.context):null;for(e=0,f=this.length;e<f;e++){g=this[e];while(g){if(l?l.index(g)>-1:d.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b)break}}c=c.length>1?d.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a==="string")return d.inArray(this[0],a?d(a):this.parent().children());return d.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a==="string"?d(a,b):d.makeArray(a),e=d.merge(this.get(),c);return this.pushStack(N(c[0])||N(e[0])?e:d.unique(e))},andSelf:function(){return this.add(this.prevObject)}}),d.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return d.dir(a,"parentNode")},parentsUntil:function(a,b,c){return d.dir(a,"parentNode",c)},next:function(a){return d.nth(a,2,"nextSibling")},prev:function(a){return d.nth(a,2,"previousSibling")},nextAll:function(a){return d.dir(a,"nextSibling")},prevAll:function(a){return d.dir(a,"previousSibling")},nextUntil:function(a,b,c){return d.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return d.dir(a,"previousSibling",c)},siblings:function(a){return d.sibling(a.parentNode.firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.makeArray(a.childNodes)}},function(a,b){d.fn[a]=function(c,e){var f=d.map(this,b,c),g=K.call(arguments);G.test(a)||(e=c),e&&typeof e==="string"&&(f=d.filter(e,f)),f=this.length>1&&!M[a]?d.unique(f):f,(this.length>1||I.test(e))&&H.test(a)&&(f=f.reverse());return this.pushStack(f,a,g.join(","))}}),d.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?d.find.matchesSelector(b[0],a)?[b[0]]:[]:d.find.matches(a,b)},dir:function(a,c,e){var f=[],g=a[c];while(g&&g.nodeType!==9&&(e===b||g.nodeType!==1||!d(g).is(e)))g.nodeType===1&&f.push(g),g=g[c];return f},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var P=/ jQuery\d+="(?:\d+|null)"/g,Q=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,S=/<([\w:]+)/,T=/<tbody/i,U=/<|&#?\w+;/,V=/<(?:script|object|embed|option|style)/i,W=/checked\s*(?:[^=]|=\s*.checked.)/i,X={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};X.optgroup=X.option,X.tbody=X.tfoot=X.colgroup=X.caption=X.thead,X.th=X.td,d.support.htmlSerialize||(X._default=[1,"div<div>","</div>"]),d.fn.extend({text:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.text(a.call(this,b,c.text()))});if(typeof a!=="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return d.text(this)},wrapAll:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapAll(a.call(this,b))});if(this[0]){var b=d(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapInner(a.call(this,b))});return this.each(function(){var b=d(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){d(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=d(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,d(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,e;(e=this[c])!=null;c++)if(!a||d.filter(a,[e]).length)!b&&e.nodeType===1&&(d.cleanData(e.getElementsByTagName("*")),d.cleanData([e])),e.parentNode&&e.parentNode.removeChild(e);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&d.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return d.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(P,""):null;if(typeof a!=="string"||V.test(a)||!d.support.leadingWhitespace&&Q.test(a)||X[(S.exec(a)||["",""])[1].toLowerCase()])d.isFunction(a)?this.each(function(b){var c=d(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);else{a=a.replace(R,"<$1></$2>");try{for(var c=0,e=this.length;c<e;c++)this[c].nodeType===1&&(d.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(f){this.empty().append(a)}}return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(d.isFunction(a))return this.each(function(b){var c=d(this),e=c.html();c.replaceWith(a.call(this,b,e))});typeof a!=="string"&&(a=d(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;d(this).remove(),b?d(b).before(a):d(c).append(a)})}return this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,e){var f,g,h,i,j=a[0],k=[];if(!d.support.checkClone&&arguments.length===3&&typeof j==="string"&&W.test(j))return this.each(function(){d(this).domManip(a,c,e,!0)});if(d.isFunction(j))return this.each(function(f){var g=d(this);a[0]=j.call(this,f,c?g.html():b),g.domManip(a,c,e)});if(this[0]){i=j&&j.parentNode,d.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?f={fragment:i}:f=d.buildFragment(a,this,k),h=f.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&d.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)e.call(c?Y(this[l],g):this[l],f.cacheable||m>1&&l<n?d.clone(h,!0,!0):h)}k.length&&d.each(k,ba)}return this}}),d.buildFragment=function(a,b,e){var f,g,h,i=b&&b[0]?b[0].ownerDocument||b[0]:c;a.length===1&&typeof a[0]==="string"&&a[0].length<512&&i===c&&a[0].charAt(0)==="<"&&!V.test(a[0])&&(d.support.checkClone||!W.test(a[0]))&&(g=!0,h=d.fragments[a[0]],h&&(h!==1&&(f=h))),f||(f=i.createDocumentFragment(),d.clean(a,i,f,e)),g&&(d.fragments[a[0]]=h?f:1);return{fragment:f,cacheable:g}},d.fragments={},d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(c){var e=[],f=d(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&f.length===1){f[b](this[0]);return this}for(var h=0,i=f.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();d(f[h])[b](j),e=e.concat(j)}return this.pushStack(e,a,f.selector)}}),d.extend({clone:function(a,b,c){var e=a.cloneNode(!0),f,g,h;if((!d.support.noCloneEvent||!d.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!d.isXMLDoc(a)){$(a,e),f=_(a),g=_(e);for(h=0;f[h];++h)$(f[h],g[h])}if(b){Z(a,e);if(c){f=_(a),g=_(e);for(h=0;f[h];++h)Z(f[h],g[h])}}return e},clean:function(a,b,e,f){b=b||c,typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var g=[];for(var h=0,i;(i=a[h])!=null;h++){typeof i==="number"&&(i+="");if(!i)continue;if(typeof i!=="string"||U.test(i)){if(typeof i==="string"){i=i.replace(R,"<$1></$2>");var j=(S.exec(i)||["",""])[1].toLowerCase(),k=X[j]||X._default,l=k[0],m=b.createElement("div");m.innerHTML=k[1]+i+k[2];while(l--)m=m.lastChild;if(!d.support.tbody){var n=T.test(i),o=j==="table"&&!n?m.firstChild&&m.firstChild.childNodes:k[1]==="<table>"&&!n?m.childNodes:[];for(var p=o.length-1;p>=0;--p)d.nodeName(o[p],"tbody")&&!o[p].childNodes.length&&o[p].parentNode.removeChild(o[p])}!d.support.leadingWhitespace&&Q.test(i)&&m.insertBefore(b.createTextNode(Q.exec(i)[0]),m.firstChild),i=m.childNodes}}else i=b.createTextNode(i);i.nodeType?g.push(i):g=d.merge(g,i)}if(e)for(h=0;g[h];h++)!f||!d.nodeName(g[h],"script")||g[h].type&&g[h].type.toLowerCase()!=="text/javascript"?(g[h].nodeType===1&&g.splice.apply(g,[h+1,0].concat(d.makeArray(g[h].getElementsByTagName("script")))),e.appendChild(g[h])):f.push(g[h].parentNode?g[h].parentNode.removeChild(g[h]):g[h]);return g},cleanData:function(a){var b,c,e=d.cache,f=d.expando,g=d.event.special,h=d.support.deleteExpando;for(var i=0,j;(j=a[i])!=null;i++){if(j.nodeName&&d.noData[j.nodeName.toLowerCase()])continue;c=j[d.expando];if(c){b=e[c]&&e[c][f];if(b&&b.events){for(var k in b.events)g[k]?d.event.remove(j,k):d.removeEvent(j,k,b.handle);b.handle&&(b.handle.elem=null)}h?delete j[d.expando]:j.removeAttribute&&j.removeAttribute(d.expando),delete e[c]}}}});var bb=/alpha\([^)]*\)/i,bc=/opacity=([^)]*)/,bd=/-([a-z])/ig,be=/([A-Z])/g,bf=/^-?\d+(?:px)?$/i,bg=/^-?\d/,bh={position:"absolute",visibility:"hidden",display:"block"},bi=["Left","Right"],bj=["Top","Bottom"],bk,bl,bm,bn=function(a,b){return b.toUpperCase()};d.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return d.access(this,a,c,!0,function(a,c,e){return e!==b?d.style(a,c,e):d.css(a,c)})},d.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bk(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":d.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,e,f){if(a&&a.nodeType!==3&&a.nodeType!==8&&a.style){var g,h=d.camelCase(c),i=a.style,j=d.cssHooks[h];c=d.cssProps[h]||h;if(e===b){if(j&&"get"in j&&(g=j.get(a,!1,f))!==b)return g;return i[c]}if(typeof e==="number"&&isNaN(e)||e==null)return;typeof e==="number"&&!d.cssNumber[h]&&(e+="px");if(!j||!("set"in j)||(e=j.set(a,e))!==b)try{i[c]=e}catch(k){}}},css:function(a,c,e){var f,g=d.camelCase(c),h=d.cssHooks[g];c=d.cssProps[g]||g;if(h&&"get"in h&&(f=h.get(a,!0,e))!==b)return f;if(bk)return bk(a,c,g)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]},camelCase:function(a){return a.replace(bd,bn)}}),d.curCSS=d.css,d.each(["height","width"],function(a,b){d.cssHooks[b]={get:function(a,c,e){var f;if(c){a.offsetWidth!==0?f=bo(a,b,e):d.swap(a,bh,function(){f=bo(a,b,e)});if(f<=0){f=bk(a,b,b),f==="0px"&&bm&&(f=bm(a,b,b));if(f!=null)return f===""||f==="auto"?"0px":f}if(f<0||f==null){f=a.style[b];return f===""||f==="auto"?"0px":f}return typeof f==="string"?f:f+"px"}},set:function(a,b){if(!bf.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),d.support.opacity||(d.cssHooks.opacity={get:function(a,b){return bc.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style;c.zoom=1;var e=d.isNaN(b)?"":"alpha(opacity="+b*100+")",f=c.filter||"";c.filter=bb.test(f)?f.replace(bb,e):c.filter+" "+e}}),c.defaultView&&c.defaultView.getComputedStyle&&(bl=function(a,c,e){var f,g,h;e=e.replace(be,"-$1").toLowerCase();if(!(g=a.ownerDocument.defaultView))return b;if(h=g.getComputedStyle(a,null))f=h.getPropertyValue(e),f===""&&!d.contains(a.ownerDocument.documentElement,a)&&(f=d.style(a,e));return f}),c.documentElement.currentStyle&&(bm=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bf.test(d)&&bg.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bk=bl||bm,d.expr&&d.expr.filters&&(d.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!d.support.reliableHiddenOffsets&&(a.style.display||d.css(a,"display"))==="none"},d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)});var bp=/%20/g,bq=/\[\]$/,br=/\r?\n/g,bs=/#.*$/,bt=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bu=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bv=/(?:^file|^widget|\-extension):$/,bw=/^(?:GET|HEAD)$/,bx=/^\/\//,by=/\?/,bz=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bA=/^(?:select|textarea)/i,bB=/\s+/,bC=/([?&])_=[^&]*/,bD=/(^|\-)([a-z])/g,bE=function(a,b,c){return b+c.toUpperCase()},bF=/^([\w\+\.\-]+:)\/\/([^\/?#:]*)(?::(\d+))?/,bG=d.fn.load,bH={},bI={},bJ,bK;try{bJ=c.location.href}catch(bL){bJ=c.createElement("a"),bJ.href="",bJ=bJ.href}bK=bF.exec(bJ.toLowerCase()),d.fn.extend({load:function(a,c,e){if(typeof a!=="string"&&bG)return bG.apply(this,arguments);if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var g=a.slice(f,a.length);a=a.slice(0,f)}var h="GET";c&&(d.isFunction(c)?(e=c,c=b):typeof c==="object"&&(c=d.param(c,d.ajaxSettings.traditional),h="POST"));var i=this;d.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?d("<div>").append(c.replace(bz,"")).find(g):c)),e&&i.each(e,[c,b,a])}});return this},serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?d.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bA.test(this.nodeName)||bu.test(this.type))}).map(function(a,b){var c=d(this).val();return c==null?null:d.isArray(c)?d.map(c,function(a,c){return{name:b.name,value:a.replace(br,"\r\n")}}):{name:b.name,value:c.replace(br,"\r\n")}}).get()}}),d.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){d.fn[b]=function(a){return this.bind(b,a)}}),d.each(["get","post"],function(a,c){d[c]=function(a,e,f,g){d.isFunction(e)&&(g=g||f,f=e,e=b);return d.ajax({type:c,url:a,data:e,success:f,dataType:g})}}),d.extend({getScript:function(a,c){return d.get(a,b,c,"script")},getJSON:function(a,b,c){return d.get(a,b,c,"json")},ajaxSetup:function(a,b){b?d.extend(!0,a,d.ajaxSettings,b):(b=a,a=d.extend(!0,d.ajaxSettings,b));for(var c in {context:1,url:1})c in b?a[c]=b[c]:c in d.ajaxSettings&&(a[c]=d.ajaxSettings[c]);return a},ajaxSettings:{url:bJ,isLocal:bv.test(bK[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":d.parseJSON,"text xml":d.parseXML}},ajaxPrefilter:bM(bH),ajaxTransport:bM(bI),ajax:function(a,c){function v(a,c,l,n){if(r!==2){r=2,p&&clearTimeout(p),o=b,m=n||"",u.readyState=a?4:0;var q,t,v,w=l?bP(e,u,l):b,x,y;if(a>=200&&a<300||a===304){if(e.ifModified){if(x=u.getResponseHeader("Last-Modified"))d.lastModified[k]=x;if(y=u.getResponseHeader("Etag"))d.etag[k]=y}if(a===304)c="notmodified",q=!0;else try{t=bQ(e,w),c="success",q=!0}catch(z){c="parsererror",v=z}}else{v=c;if(!c||a)c="error",a<0&&(a=0)}u.status=a,u.statusText=c,q?h.resolveWith(f,[t,c,u]):h.rejectWith(f,[u,c,v]),u.statusCode(j),j=b,s&&g.trigger("ajax"+(q?"Success":"Error"),[u,e,q?t:v]),i.resolveWith(f,[u,c]),s&&(g.trigger("ajaxComplete",[u,e]),--d.active||d.event.trigger("ajaxStop"))}}typeof a==="object"&&(c=a,a=b),c=c||{};var e=d.ajaxSetup({},c),f=e.context||e,g=f!==e&&(f.nodeType||f instanceof d)?d(f):d.event,h=d.Deferred(),i=d._Deferred(),j=e.statusCode||{},k,l={},m,n,o,p,q,r=0,s,t,u={readyState:0,setRequestHeader:function(a,b){r||(l[a.toLowerCase().replace(bD,bE)]=b);return this},getAllResponseHeaders:function(){return r===2?m:null},getResponseHeader:function(a){var c;if(r===2){if(!n){n={};while(c=bt.exec(m))n[c[1].toLowerCase()]=c[2]}c=n[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){r||(e.mimeType=a);return this},abort:function(a){a=a||"abort",o&&o.abort(a),v(0,a);return this}};h.promise(u),u.success=u.done,u.error=u.fail,u.complete=i.done,u.statusCode=function(a){if(a){var b;if(r<2)for(b in a)j[b]=[j[b],a[b]];else b=a[u.status],u.then(b,b)}return this},e.url=((a||e.url)+"").replace(bs,"").replace(bx,bK[1]+"//"),e.dataTypes=d.trim(e.dataType||"*").toLowerCase().split(bB),e.crossDomain||(q=bF.exec(e.url.toLowerCase()),e.crossDomain=q&&(q[1]!=bK[1]||q[2]!=bK[2]||(q[3]||(q[1]==="http:"?80:443))!=(bK[3]||(bK[1]==="http:"?80:443)))),e.data&&e.processData&&typeof e.data!=="string"&&(e.data=d.param(e.data,e.traditional)),bN(bH,e,c,u);if(r===2)return!1;s=e.global,e.type=e.type.toUpperCase(),e.hasContent=!bw.test(e.type),s&&d.active++===0&&d.event.trigger("ajaxStart");if(!e.hasContent){e.data&&(e.url+=(by.test(e.url)?"&":"?")+e.data),k=e.url;if(e.cache===!1){var w=d.now(),x=e.url.replace(bC,"$1_="+w);e.url=x+(x===e.url?(by.test(e.url)?"&":"?")+"_="+w:"")}}if(e.data&&e.hasContent&&e.contentType!==!1||c.contentType)l["Content-Type"]=e.contentType;e.ifModified&&(k=k||e.url,d.lastModified[k]&&(l["If-Modified-Since"]=d.lastModified[k]),d.etag[k]&&(l["If-None-Match"]=d.etag[k])),l.Accept=e.dataTypes[0]&&e.accepts[e.dataTypes[0]]?e.accepts[e.dataTypes[0]]+(e.dataTypes[0]!=="*"?", */*; q=0.01":""):e.accepts["*"];for(t in e.headers)u.setRequestHeader(t,e.headers[t]);if(e.beforeSend&&(e.beforeSend.call(f,u,e)===!1||r===2)){u.abort();return!1}for(t in {success:1,error:1,complete:1})u[t](e[t]);o=bN(bI,e,c,u);if(o){u.readyState=1,s&&g.trigger("ajaxSend",[u,e]),e.async&&e.timeout>0&&(p=setTimeout(function(){u.abort("timeout")},e.timeout));try{r=1,o.send(l,v)}catch(y){status<2?v(-1,y):d.error(y)}}else v(-1,"No Transport");return u},param:function(a,c){var e=[],f=function(a,b){b=d.isFunction(b)?b():b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=d.ajaxSettings.traditional);if(d.isArray(a)||a.jquery&&!d.isPlainObject(a))d.each(a,function(){f(this.name,this.value)});else for(var g in a)bO(g,a[g],c,f);return e.join("&").replace(bp,"+")}}),d.extend({active:0,lastModified:{},etag:{}});var bR=d.now(),bS=/(\=)\?(&|$)|()\?\?()/i;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return d.expando+"_"+bR++}}),d.ajaxPrefilter("json jsonp",function(b,c,e){var f=typeof b.data==="string";if(b.dataTypes[0]==="jsonp"||c.jsonpCallback||c.jsonp!=null||b.jsonp!==!1&&(bS.test(b.url)||f&&bS.test(b.data))){var g,h=b.jsonpCallback=d.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2",m=function(){a[h]=i,g&&d.isFunction(i)&&a[h](g[0])};b.jsonp!==!1&&(j=j.replace(bS,l),b.url===j&&(f&&(k=k.replace(bS,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},e.then(m,m),b.converters["script json"]=function(){g||d.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){d.globalEval(a);return a}}}),d.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),d.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var bT=d.now(),bU,bV;d.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&bX()||bY()}:bX,bV=d.ajaxSettings.xhr(),d.support.ajax=!!bV,d.support.cors=bV&&"withCredentials"in bV,bV=b,d.support.ajax&&d.ajaxTransport(function(a){if(!a.crossDomain||d.support.cors){var c;return{send:function(e,f){var g=a.xhr(),h,i;a.username?g.open(a.type,a.url,a.async,a.username,a.password):g.open(a.type,a.url,a.async);if(a.xhrFields)for(i in a.xhrFields)g[i]=a.xhrFields[i];a.mimeType&&g.overrideMimeType&&g.overrideMimeType(a.mimeType),(!a.crossDomain||a.hasContent)&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(i in e)g.setRequestHeader(i,e[i])}catch(j){}g.send(a.hasContent&&a.data||null),c=function(e,i){var j,k,l,m,n;try{if(c&&(i||g.readyState===4)){c=b,h&&(g.onreadystatechange=d.noop,delete bU[h]);if(i)g.readyState!==4&&g.abort();else{j=g.status,l=g.getAllResponseHeaders(),m={},n=g.responseXML,n&&n.documentElement&&(m.xml=n),m.text=g.responseText;try{k=g.statusText}catch(o){k=""}j||!a.isLocal||a.crossDomain?j===1223&&(j=204):j=m.text?200:404}}}catch(p){i||f(-1,p)}m&&f(j,k,m,l)},a.async&&g.readyState!==4?(bU||(bU={},bW()),h=bT++,g.onreadystatechange=bU[h]=c):c()},abort:function(){c&&c(0,1)}}}});var bZ={},b$=/^(?:toggle|show|hide)$/,b_=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,ca,cb=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];d.fn.extend({show:function(a,b,c){var e,f;if(a||a===0)return this.animate(cc("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)e=this[g],f=e.style.display,!d._data(e,"olddisplay")&&f==="none"&&(f=e.style.display=""),f===""&&d.css(e,"display")==="none"&&d._data(e,"olddisplay",cd(e.nodeName));for(g=0;g<h;g++){e=this[g],f=e.style.display;if(f===""||f==="none")e.style.display=d._data(e,"olddisplay")||""}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cc("hide",3),a,b,c);for(var e=0,f=this.length;e<f;e++){var g=d.css(this[e],"display");g!=="none"&&!d._data(this[e],"olddisplay")&&d._data(this[e],"olddisplay",g)}for(e=0;e<f;e++)this[e].style.display="none";return this},_toggle:d.fn.toggle,toggle:function(a,b,c){var e=typeof a==="boolean";d.isFunction(a)&&d.isFunction(b)?this._toggle.apply(this,arguments):a==null||e?this.each(function(){var b=e?a:d(this).is(":hidden");d(this)[b?"show":"hide"]()}):this.animate(cc("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,e){var f=d.speed(b,c,e);if(d.isEmptyObject(a))return this.each(f.complete);return this[f.queue===!1?"each":"queue"](function(){var b=d.extend({},f),c,e=this.nodeType===1,g=e&&d(this).is(":hidden"),h=this;for(c in a){var i=d.camelCase(c);c!==i&&(a[i]=a[c],delete a[c],c=i);if(a[c]==="hide"&&g||a[c]==="show"&&!g)return b.complete.call(this);if(e&&(c==="height"||c==="width")){b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(d.css(this,"display")==="inline"&&d.css(this,"float")==="none")if(d.support.inlineBlockNeedsLayout){var j=cd(this.nodeName);j==="inline"?this.style.display="inline-block":(this.style.display="inline",this.style.zoom=1)}else this.style.display="inline-block"}d.isArray(a[c])&&((b.specialEasing=b.specialEasing||{})[c]=a[c][1],a[c]=a[c][0])}b.overflow!=null&&(this.style.overflow="hidden"),b.curAnim=d.extend({},a),d.each(a,function(c,e){var f=new d.fx(h,b,c);if(b$.test(e))f[e==="toggle"?g?"show":"hide":e](a);else{var i=b_.exec(e),j=f.cur();if(i){var k=parseFloat(i[2]),l=i[3]||(d.cssNumber[c]?"":"px");l!=="px"&&(d.style(h,c,(k||1)+l),j=(k||1)/f.cur()*j,d.style(h,c,j+l)),i[1]&&(k=(i[1]==="-="?-1:1)*k+j),f.custom(j,k,l)}else f.custom(j,e,"")}});return!0})},stop:function(a,b){var c=d.timers;a&&this.queue([]),this.each(function(){for(var a=c.length-1;a>=0;a--)c[a].elem===this&&(b&&c[a](!0),c.splice(a,1))}),b||this.dequeue();return this}}),d.each({slideDown:cc("show",1),slideUp:cc("hide",1),slideToggle:cc("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){d.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),d.extend({speed:function(a,b,c){var e=a&&typeof a==="object"?d.extend({},a):{complete:c||!c&&b||d.isFunction(a)&&a,duration:a,easing:c&&b||b&&!d.isFunction(b)&&b};e.duration=d.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in d.fx.speeds?d.fx.speeds[e.duration]:d.fx.speeds._default,e.old=e.complete,e.complete=function(){e.queue!==!1&&d(this).dequeue(),d.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig||(b.orig={})}}),d.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(d.fx.step[this.prop]||d.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=d.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,c){function g(a){return e.step(a)}var e=this,f=d.fx;this.startTime=d.now(),this.start=a,this.end=b,this.unit=c||this.unit||(d.cssNumber[this.prop]?"":"px"),this.now=this.start,this.pos=this.state=0,g.elem=this.elem,g()&&d.timers.push(g)&&!ca&&(ca=setInterval(f.tick,f.interval))},show:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),d(this.elem).show()},hide:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b=d.now(),c=!0;if(a||b>=this.options.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0;for(var e in this.options.curAnim)this.options.curAnim[e]!==!0&&(c=!1);if(c){if(this.options.overflow!=null&&!d.support.shrinkWrapBlocks){var f=this.elem,g=this.options;d.each(["","X","Y"],function(a,b){f.style["overflow"+b]=g.overflow[a]})}this.options.hide&&d(this.elem).hide();if(this.options.hide||this.options.show)for(var h in this.options.curAnim)d.style(this.elem,h,this.options.orig[h]);this.options.complete.call(this.elem)}return!1}var i=b-this.startTime;this.state=i/this.options.duration;var j=this.options.specialEasing&&this.options.specialEasing[this.prop],k=this.options.easing||(d.easing.swing?"swing":"linear");this.pos=d.easing[j||k](this.state,i,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return!0}},d.extend(d.fx,{tick:function(){var a=d.timers;for(var b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||d.fx.stop()},interval:13,stop:function(){clearInterval(ca),ca=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){d.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}}),d.expr&&d.expr.filters&&(d.expr.filters.animated=function(a){return d.grep(d.timers,function(b){return a===b.elem}).length});var ce=/^t(?:able|d|h)$/i,cf=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?d.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,g=f.documentElement;if(!c||!d.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=f.body,i=cg(f),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||d.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||d.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:d.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);d.offset.initialize();var c,e=b.offsetParent,f=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(d.offset.supportsFixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===e&&(l+=b.offsetTop,m+=b.offsetLeft,d.offset.doesNotAddBorder&&(!d.offset.doesAddBorderForTableAndCells||!ce.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),f=e,e=b.offsetParent),d.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;d.offset.supportsFixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},d.offset={initialize:function(){var a=c.body,b=c.createElement("div"),e,f,g,h,i=parseFloat(d.css(a,"marginTop"))||0,j="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";d.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),e=b.firstChild,f=e.firstChild,h=e.nextSibling.firstChild.firstChild,this.doesNotAddBorder=f.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,f.style.position="fixed",f.style.top="20px",this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15,f.style.position=f.style.top="",e.style.overflow="hidden",e.style.position="relative",this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),a=b=e=f=g=h=null,d.offset.initialize=d.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;d.offset.initialize(),d.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(d.css(a,"marginTop"))||0,c+=parseFloat(d.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var e=d.css(a,"position");e==="static"&&(a.style.position="relative");var f=d(a),g=f.offset(),h=d.css(a,"top"),i=d.css(a,"left"),j=e==="absolute"&&d.inArray("auto",[h,i])>-1,k={},l={},m,n;j&&(l=f.position()),m=j?l.top:parseInt(h,10)||0,n=j?l.left:parseInt(i,10)||0,d.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):f.css(k)}},d.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),e=cf.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(d.css(a,"marginTop"))||0,c.left-=parseFloat(d.css(a,"marginLeft"))||0,e.top+=parseFloat(d.css(b[0],"borderTopWidth"))||0,e.left+=parseFloat(d.css(b[0],"borderLeftWidth"))||0;return{top:c.top-e.top,left:c.left-e.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&(!cf.test(a.nodeName)&&d.css(a,"position")==="static"))a=a.offsetParent;return a})}}),d.each(["Left","Top"],function(a,c){var e="scroll"+c;d.fn[e]=function(c){var f=this[0],g;if(!f)return null;if(c!==b)return this.each(function(){g=cg(this),g?g.scrollTo(a?d(g).scrollLeft():c,a?c:d(g).scrollTop()):this[e]=c});g=cg(f);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:d.support.boxModel&&g.document.documentElement[e]||g.document.body[e]:f[e]}}),d.each(["Height","Width"],function(a,c){var e=c.toLowerCase();d.fn["inner"+c]=function(){return this[0]?parseFloat(d.css(this[0],e,"padding")):null},d.fn["outer"+c]=function(a){return this[0]?parseFloat(d.css(this[0],e,a?"margin":"border")):null},d.fn[e]=function(a){var f=this[0];if(!f)return a==null?null:this;if(d.isFunction(a))return this.each(function(b){var c=d(this);c[e](a.call(this,b,c[e]()))});if(d.isWindow(f)){var g=f.document.documentElement["client"+c];return f.document.compatMode==="CSS1Compat"&&g||f.document.body["client"+c]||g}if(f.nodeType===9)return Math.max(f.documentElement["client"+c],f.body["scroll"+c],f.documentElement["scroll"+c],f.body["offset"+c],f.documentElement["offset"+c]);if(a===b){var h=d.css(f,e),i=parseFloat(h);return d.isNaN(i)?h:i}return this.css(e,typeof a==="string"?a:a+"px")}}),a.jQuery=a.$=d})(window); No newline at end of file |
This diff has been collapsed as it changes many lines, (782 lines changed) Show them Hide them | |||
@@ -0,0 +1,782 b'' | |||
|
1 | /*! | |
|
2 | * jQuery UI 1.8.10 | |
|
3 | * | |
|
4 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
5 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
6 | * http://jquery.org/license | |
|
7 | * | |
|
8 | * http://docs.jquery.com/UI | |
|
9 | */ | |
|
10 | (function(c,j){function k(a){return!c(a).parents().andSelf().filter(function(){return c.curCSS(this,"visibility")==="hidden"||c.expr.filters.hidden(this)}).length}c.ui=c.ui||{};if(!c.ui.version){c.extend(c.ui,{version:"1.8.10",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106, | |
|
11 | NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});c.fn.extend({_focus:c.fn.focus,focus:function(a,b){return typeof a==="number"?this.each(function(){var d=this;setTimeout(function(){c(d).focus();b&&b.call(d)},a)}):this._focus.apply(this,arguments)},scrollParent:function(){var a;a=c.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(c.curCSS(this, | |
|
12 | "position",1))&&/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!a.length?c(document):a},zIndex:function(a){if(a!==j)return this.css("zIndex",a);if(this.length){a=c(this[0]);for(var b;a.length&&a[0]!==document;){b=a.css("position"); | |
|
13 | if(b==="absolute"||b==="relative"||b==="fixed"){b=parseInt(a.css("zIndex"),10);if(!isNaN(b)&&b!==0)return b}a=a.parent()}}return 0},disableSelection:function(){return this.bind((c.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});c.each(["Width","Height"],function(a,b){function d(f,g,l,m){c.each(e,function(){g-=parseFloat(c.curCSS(f,"padding"+this,true))||0;if(l)g-=parseFloat(c.curCSS(f, | |
|
14 | "border"+this+"Width",true))||0;if(m)g-=parseFloat(c.curCSS(f,"margin"+this,true))||0});return g}var e=b==="Width"?["Left","Right"]:["Top","Bottom"],h=b.toLowerCase(),i={innerWidth:c.fn.innerWidth,innerHeight:c.fn.innerHeight,outerWidth:c.fn.outerWidth,outerHeight:c.fn.outerHeight};c.fn["inner"+b]=function(f){if(f===j)return i["inner"+b].call(this);return this.each(function(){c(this).css(h,d(this,f)+"px")})};c.fn["outer"+b]=function(f,g){if(typeof f!=="number")return i["outer"+b].call(this,f);return this.each(function(){c(this).css(h, | |
|
15 | d(this,f,true,g)+"px")})}});c.extend(c.expr[":"],{data:function(a,b,d){return!!c.data(a,d[3])},focusable:function(a){var b=a.nodeName.toLowerCase(),d=c.attr(a,"tabindex");if("area"===b){b=a.parentNode;d=b.name;if(!a.href||!d||b.nodeName.toLowerCase()!=="map")return false;a=c("img[usemap=#"+d+"]")[0];return!!a&&k(a)}return(/input|select|textarea|button|object/.test(b)?!a.disabled:"a"==b?a.href||!isNaN(d):!isNaN(d))&&k(a)},tabbable:function(a){var b=c.attr(a,"tabindex");return(isNaN(b)||b>=0)&&c(a).is(":focusable")}}); | |
|
16 | c(function(){var a=document.body,b=a.appendChild(b=document.createElement("div"));c.extend(b.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});c.support.minHeight=b.offsetHeight===100;c.support.selectstart="onselectstart"in b;a.removeChild(b).style.display="none"});c.extend(c.ui,{plugin:{add:function(a,b,d){a=c.ui[a].prototype;for(var e in d){a.plugins[e]=a.plugins[e]||[];a.plugins[e].push([b,d[e]])}},call:function(a,b,d){if((b=a.plugins[b])&&a.element[0].parentNode)for(var e=0;e<b.length;e++)a.options[b[e][0]]&& | |
|
17 | b[e][1].apply(a.element,d)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(a,b){if(c(a).css("overflow")==="hidden")return false;b=b&&b==="left"?"scrollLeft":"scrollTop";var d=false;if(a[b]>0)return true;a[b]=1;d=a[b]>0;a[b]=0;return d},isOverAxis:function(a,b,d){return a>b&&a<b+d},isOver:function(a,b,d,e,h,i){return c.ui.isOverAxis(a,d,h)&&c.ui.isOverAxis(b,e,i)}})}})(jQuery); | |
|
18 | ;/*! | |
|
19 | * jQuery UI Widget 1.8.10 | |
|
20 | * | |
|
21 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
22 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
23 | * http://jquery.org/license | |
|
24 | * | |
|
25 | * http://docs.jquery.com/UI/Widget | |
|
26 | */ | |
|
27 | (function(b,j){if(b.cleanData){var k=b.cleanData;b.cleanData=function(a){for(var c=0,d;(d=a[c])!=null;c++)b(d).triggerHandler("remove");k(a)}}else{var l=b.fn.remove;b.fn.remove=function(a,c){return this.each(function(){if(!c)if(!a||b.filter(a,[this]).length)b("*",this).add([this]).each(function(){b(this).triggerHandler("remove")});return l.call(b(this),a,c)})}}b.widget=function(a,c,d){var e=a.split(".")[0],f;a=a.split(".")[1];f=e+"-"+a;if(!d){d=c;c=b.Widget}b.expr[":"][f]=function(h){return!!b.data(h, | |
|
28 | a)};b[e]=b[e]||{};b[e][a]=function(h,g){arguments.length&&this._createWidget(h,g)};c=new c;c.options=b.extend(true,{},c.options);b[e][a].prototype=b.extend(true,c,{namespace:e,widgetName:a,widgetEventPrefix:b[e][a].prototype.widgetEventPrefix||a,widgetBaseClass:f},d);b.widget.bridge(a,b[e][a])};b.widget.bridge=function(a,c){b.fn[a]=function(d){var e=typeof d==="string",f=Array.prototype.slice.call(arguments,1),h=this;d=!e&&f.length?b.extend.apply(null,[true,d].concat(f)):d;if(e&&d.charAt(0)==="_")return h; | |
|
29 | e?this.each(function(){var g=b.data(this,a),i=g&&b.isFunction(g[d])?g[d].apply(g,f):g;if(i!==g&&i!==j){h=i;return false}}):this.each(function(){var g=b.data(this,a);g?g.option(d||{})._init():b.data(this,a,new c(d,this))});return h}};b.Widget=function(a,c){arguments.length&&this._createWidget(a,c)};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(a,c){b.data(c,this.widgetName,this);this.element=b(c);this.options=b.extend(true,{},this.options, | |
|
30 | this._getCreateOptions(),a);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")}, | |
|
31 | widget:function(){return this.element},option:function(a,c){var d=a;if(arguments.length===0)return b.extend({},this.options);if(typeof a==="string"){if(c===j)return this.options[a];d={};d[a]=c}this._setOptions(d);return this},_setOptions:function(a){var c=this;b.each(a,function(d,e){c._setOption(d,e)});return this},_setOption:function(a,c){this.options[a]=c;if(a==="disabled")this.widget()[c?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",c);return this}, | |
|
32 | enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(a,c,d){var e=this.options[a];c=b.Event(c);c.type=(a===this.widgetEventPrefix?a:this.widgetEventPrefix+a).toLowerCase();d=d||{};if(c.originalEvent){a=b.event.props.length;for(var f;a;){f=b.event.props[--a];c[f]=c.originalEvent[f]}}this.element.trigger(c,d);return!(b.isFunction(e)&&e.call(this.element[0],c,d)===false||c.isDefaultPrevented())}}})(jQuery); | |
|
33 | ;/*! | |
|
34 | * jQuery UI Mouse 1.8.10 | |
|
35 | * | |
|
36 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
37 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
38 | * http://jquery.org/license | |
|
39 | * | |
|
40 | * http://docs.jquery.com/UI/Mouse | |
|
41 | * | |
|
42 | * Depends: | |
|
43 | * jquery.ui.widget.js | |
|
44 | */ | |
|
45 | (function(c){c.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var a=this;this.element.bind("mousedown."+this.widgetName,function(b){return a._mouseDown(b)}).bind("click."+this.widgetName,function(b){if(true===c.data(b.target,a.widgetName+".preventClickEvent")){c.removeData(b.target,a.widgetName+".preventClickEvent");b.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(a){a.originalEvent= | |
|
46 | a.originalEvent||{};if(!a.originalEvent.mouseHandled){this._mouseStarted&&this._mouseUp(a);this._mouseDownEvent=a;var b=this,e=a.which==1,f=typeof this.options.cancel=="string"?c(a.target).parents().add(a.target).filter(this.options.cancel).length:false;if(!e||f||!this._mouseCapture(a))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=setTimeout(function(){b.mouseDelayMet=true},this.options.delay);if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a)){this._mouseStarted= | |
|
47 | this._mouseStart(a)!==false;if(!this._mouseStarted){a.preventDefault();return true}}this._mouseMoveDelegate=function(d){return b._mouseMove(d)};this._mouseUpDelegate=function(d){return b._mouseUp(d)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);a.preventDefault();return a.originalEvent.mouseHandled=true}},_mouseMove:function(a){if(c.browser.msie&&!(document.documentMode>=9)&&!a.button)return this._mouseUp(a);if(this._mouseStarted){this._mouseDrag(a); | |
|
48 | return a.preventDefault()}if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,a)!==false)?this._mouseDrag(a):this._mouseUp(a);return!this._mouseStarted},_mouseUp:function(a){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;a.target==this._mouseDownEvent.target&&c.data(a.target,this.widgetName+".preventClickEvent", | |
|
49 | true);this._mouseStop(a)}return false},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery); | |
|
50 | ;/* | |
|
51 | * jQuery UI Position 1.8.10 | |
|
52 | * | |
|
53 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
54 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
55 | * http://jquery.org/license | |
|
56 | * | |
|
57 | * http://docs.jquery.com/UI/Position | |
|
58 | */ | |
|
59 | (function(c){c.ui=c.ui||{};var n=/left|center|right/,o=/top|center|bottom/,t=c.fn.position,u=c.fn.offset;c.fn.position=function(b){if(!b||!b.of)return t.apply(this,arguments);b=c.extend({},b);var a=c(b.of),d=a[0],g=(b.collision||"flip").split(" "),e=b.offset?b.offset.split(" "):[0,0],h,k,j;if(d.nodeType===9){h=a.width();k=a.height();j={top:0,left:0}}else if(d.setTimeout){h=a.width();k=a.height();j={top:a.scrollTop(),left:a.scrollLeft()}}else if(d.preventDefault){b.at="left top";h=k=0;j={top:b.of.pageY, | |
|
60 | left:b.of.pageX}}else{h=a.outerWidth();k=a.outerHeight();j=a.offset()}c.each(["my","at"],function(){var f=(b[this]||"").split(" ");if(f.length===1)f=n.test(f[0])?f.concat(["center"]):o.test(f[0])?["center"].concat(f):["center","center"];f[0]=n.test(f[0])?f[0]:"center";f[1]=o.test(f[1])?f[1]:"center";b[this]=f});if(g.length===1)g[1]=g[0];e[0]=parseInt(e[0],10)||0;if(e.length===1)e[1]=e[0];e[1]=parseInt(e[1],10)||0;if(b.at[0]==="right")j.left+=h;else if(b.at[0]==="center")j.left+=h/2;if(b.at[1]==="bottom")j.top+= | |
|
61 | k;else if(b.at[1]==="center")j.top+=k/2;j.left+=e[0];j.top+=e[1];return this.each(function(){var f=c(this),l=f.outerWidth(),m=f.outerHeight(),p=parseInt(c.curCSS(this,"marginLeft",true))||0,q=parseInt(c.curCSS(this,"marginTop",true))||0,v=l+p+(parseInt(c.curCSS(this,"marginRight",true))||0),w=m+q+(parseInt(c.curCSS(this,"marginBottom",true))||0),i=c.extend({},j),r;if(b.my[0]==="right")i.left-=l;else if(b.my[0]==="center")i.left-=l/2;if(b.my[1]==="bottom")i.top-=m;else if(b.my[1]==="center")i.top-= | |
|
62 | m/2;i.left=Math.round(i.left);i.top=Math.round(i.top);r={left:i.left-p,top:i.top-q};c.each(["left","top"],function(s,x){c.ui.position[g[s]]&&c.ui.position[g[s]][x](i,{targetWidth:h,targetHeight:k,elemWidth:l,elemHeight:m,collisionPosition:r,collisionWidth:v,collisionHeight:w,offset:e,my:b.my,at:b.at})});c.fn.bgiframe&&f.bgiframe();f.offset(c.extend(i,{using:b.using}))})};c.ui.position={fit:{left:function(b,a){var d=c(window);d=a.collisionPosition.left+a.collisionWidth-d.width()-d.scrollLeft();b.left= | |
|
63 | d>0?b.left-d:Math.max(b.left-a.collisionPosition.left,b.left)},top:function(b,a){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();b.top=d>0?b.top-d:Math.max(b.top-a.collisionPosition.top,b.top)}},flip:{left:function(b,a){if(a.at[0]!=="center"){var d=c(window);d=a.collisionPosition.left+a.collisionWidth-d.width()-d.scrollLeft();var g=a.my[0]==="left"?-a.elemWidth:a.my[0]==="right"?a.elemWidth:0,e=a.at[0]==="left"?a.targetWidth:-a.targetWidth,h=-2*a.offset[0];b.left+= | |
|
64 | a.collisionPosition.left<0?g+e+h:d>0?g+e+h:0}},top:function(b,a){if(a.at[1]!=="center"){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();var g=a.my[1]==="top"?-a.elemHeight:a.my[1]==="bottom"?a.elemHeight:0,e=a.at[1]==="top"?a.targetHeight:-a.targetHeight,h=-2*a.offset[1];b.top+=a.collisionPosition.top<0?g+e+h:d>0?g+e+h:0}}}};if(!c.offset.setOffset){c.offset.setOffset=function(b,a){if(/static/.test(c.curCSS(b,"position")))b.style.position="relative";var d=c(b), | |
|
65 | g=d.offset(),e=parseInt(c.curCSS(b,"top",true),10)||0,h=parseInt(c.curCSS(b,"left",true),10)||0;g={top:a.top-g.top+e,left:a.left-g.left+h};"using"in a?a.using.call(b,g):d.css(g)};c.fn.offset=function(b){var a=this[0];if(!a||!a.ownerDocument)return null;if(b)return this.each(function(){c.offset.setOffset(this,b)});return u.call(this)}}})(jQuery); | |
|
66 | ;/* | |
|
67 | * jQuery UI Draggable 1.8.10 | |
|
68 | * | |
|
69 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
70 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
71 | * http://jquery.org/license | |
|
72 | * | |
|
73 | * http://docs.jquery.com/UI/Draggables | |
|
74 | * | |
|
75 | * Depends: | |
|
76 | * jquery.ui.core.js | |
|
77 | * jquery.ui.mouse.js | |
|
78 | * jquery.ui.widget.js | |
|
79 | */ | |
|
80 | (function(d){d.widget("ui.draggable",d.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false},_create:function(){if(this.options.helper== | |
|
81 | "original"&&!/^(?:r|a|f)/.test(this.element.css("position")))this.element[0].style.position="relative";this.options.addClasses&&this.element.addClass("ui-draggable");this.options.disabled&&this.element.addClass("ui-draggable-disabled");this._mouseInit()},destroy:function(){if(this.element.data("draggable")){this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled");this._mouseDestroy();return this}},_mouseCapture:function(a){var b= | |
|
82 | this.options;if(this.helper||b.disabled||d(a.target).is(".ui-resizable-handle"))return false;this.handle=this._getHandle(a);if(!this.handle)return false;return true},_mouseStart:function(a){var b=this.options;this.helper=this._createHelper(a);this._cacheHelperProportions();if(d.ui.ddmanager)d.ui.ddmanager.current=this;this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top- | |
|
83 | this.margins.top,left:this.offset.left-this.margins.left};d.extend(this.offset,{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this.position=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=a.pageY;b.cursorAt&&this._adjustOffsetFromHelper(b.cursorAt);b.containment&&this._setContainment();if(this._trigger("start",a)===false){this._clear();return false}this._cacheHelperProportions(); | |
|
84 | d.ui.ddmanager&&!b.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,a);this.helper.addClass("ui-draggable-dragging");this._mouseDrag(a,true);return true},_mouseDrag:function(a,b){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo("absolute");if(!b){b=this._uiHash();if(this._trigger("drag",a,b)===false){this._mouseUp({});return false}this.position=b.position}if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis|| | |
|
85 | this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";d.ui.ddmanager&&d.ui.ddmanager.drag(this,a);return false},_mouseStop:function(a){var b=false;if(d.ui.ddmanager&&!this.options.dropBehaviour)b=d.ui.ddmanager.drop(this,a);if(this.dropped){b=this.dropped;this.dropped=false}if((!this.element[0]||!this.element[0].parentNode)&&this.options.helper=="original")return false;if(this.options.revert=="invalid"&&!b||this.options.revert=="valid"&&b||this.options.revert===true||d.isFunction(this.options.revert)&& | |
|
86 | this.options.revert.call(this.element,b)){var c=this;d(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){c._trigger("stop",a)!==false&&c._clear()})}else this._trigger("stop",a)!==false&&this._clear();return false},cancel:function(){this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear();return this},_getHandle:function(a){var b=!this.options.handle||!d(this.options.handle,this.element).length?true:false;d(this.options.handle,this.element).find("*").andSelf().each(function(){if(this== | |
|
87 | a.target)b=true});return b},_createHelper:function(a){var b=this.options;a=d.isFunction(b.helper)?d(b.helper.apply(this.element[0],[a])):b.helper=="clone"?this.element.clone():this.element;a.parents("body").length||a.appendTo(b.appendTo=="parent"?this.element[0].parentNode:b.appendTo);a[0]!=this.element[0]&&!/(fixed|absolute)/.test(a.css("position"))&&a.css("position","absolute");return a},_adjustOffsetFromHelper:function(a){if(typeof a=="string")a=a.split(" ");if(d.isArray(a))a={left:+a[0],top:+a[1]|| | |
|
88 | 0};if("left"in a)this.offset.click.left=a.left+this.margins.left;if("right"in a)this.offset.click.left=this.helperProportions.width-a.right+this.margins.left;if("top"in a)this.offset.click.top=a.top+this.margins.top;if("bottom"in a)this.offset.click.top=this.helperProportions.height-a.bottom+this.margins.top},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var a=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0], | |
|
89 | this.offsetParent[0])){a.left+=this.scrollParent.scrollLeft();a.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&d.browser.msie)a={top:0,left:0};return{top:a.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:a.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var a=this.element.position();return{top:a.top- | |
|
90 | (parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var a=this.options;if(a.containment== | |
|
91 | "parent")a.containment=this.helper[0].parentNode;if(a.containment=="document"||a.containment=="window")this.containment=[(a.containment=="document"?0:d(window).scrollLeft())-this.offset.relative.left-this.offset.parent.left,(a.containment=="document"?0:d(window).scrollTop())-this.offset.relative.top-this.offset.parent.top,(a.containment=="document"?0:d(window).scrollLeft())+d(a.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(a.containment=="document"? | |
|
92 | 0:d(window).scrollTop())+(d(a.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(a.containment)&&a.containment.constructor!=Array){var b=d(a.containment)[0];if(b){a=d(a.containment).offset();var c=d(b).css("overflow")!="hidden";this.containment=[a.left+(parseInt(d(b).css("borderLeftWidth"),10)||0)+(parseInt(d(b).css("paddingLeft"),10)||0)-this.margins.left,a.top+(parseInt(d(b).css("borderTopWidth"), | |
|
93 | 10)||0)+(parseInt(d(b).css("paddingTop"),10)||0)-this.margins.top,a.left+(c?Math.max(b.scrollWidth,b.offsetWidth):b.offsetWidth)-(parseInt(d(b).css("borderLeftWidth"),10)||0)-(parseInt(d(b).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,a.top+(c?Math.max(b.scrollHeight,b.offsetHeight):b.offsetHeight)-(parseInt(d(b).css("borderTopWidth"),10)||0)-(parseInt(d(b).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}}else if(a.containment.constructor== | |
|
94 | Array)this.containment=a.containment},_convertPositionTo:function(a,b){if(!b)b=this.position;a=a=="absolute"?1:-1;var c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,f=/(html|body)/i.test(c[0].tagName);return{top:b.top+this.offset.relative.top*a+this.offset.parent.top*a-(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop(): | |
|
95 | f?0:c.scrollTop())*a),left:b.left+this.offset.relative.left*a+this.offset.parent.left*a-(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():f?0:c.scrollLeft())*a)}},_generatePosition:function(a){var b=this.options,c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,f=/(html|body)/i.test(c[0].tagName),e=a.pageX,g=a.pageY; | |
|
96 | if(this.originalPosition){if(this.containment){if(a.pageX-this.offset.click.left<this.containment[0])e=this.containment[0]+this.offset.click.left;if(a.pageY-this.offset.click.top<this.containment[1])g=this.containment[1]+this.offset.click.top;if(a.pageX-this.offset.click.left>this.containment[2])e=this.containment[2]+this.offset.click.left;if(a.pageY-this.offset.click.top>this.containment[3])g=this.containment[3]+this.offset.click.top}if(b.grid){g=this.originalPageY+Math.round((g-this.originalPageY)/ | |
|
97 | b.grid[1])*b.grid[1];g=this.containment?!(g-this.offset.click.top<this.containment[1]||g-this.offset.click.top>this.containment[3])?g:!(g-this.offset.click.top<this.containment[1])?g-b.grid[1]:g+b.grid[1]:g;e=this.originalPageX+Math.round((e-this.originalPageX)/b.grid[0])*b.grid[0];e=this.containment?!(e-this.offset.click.left<this.containment[0]||e-this.offset.click.left>this.containment[2])?e:!(e-this.offset.click.left<this.containment[0])?e-b.grid[0]:e+b.grid[0]:e}}return{top:g-this.offset.click.top- | |
|
98 | this.offset.relative.top-this.offset.parent.top+(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollTop():f?0:c.scrollTop()),left:e-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():f?0:c.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging");this.helper[0]!= | |
|
99 | this.element[0]&&!this.cancelHelperRemoval&&this.helper.remove();this.helper=null;this.cancelHelperRemoval=false},_trigger:function(a,b,c){c=c||this._uiHash();d.ui.plugin.call(this,a,[b,c]);if(a=="drag")this.positionAbs=this._convertPositionTo("absolute");return d.Widget.prototype._trigger.call(this,a,b,c)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});d.extend(d.ui.draggable,{version:"1.8.10"}); | |
|
100 | d.ui.plugin.add("draggable","connectToSortable",{start:function(a,b){var c=d(this).data("draggable"),f=c.options,e=d.extend({},b,{item:c.element});c.sortables=[];d(f.connectToSortable).each(function(){var g=d.data(this,"sortable");if(g&&!g.options.disabled){c.sortables.push({instance:g,shouldRevert:g.options.revert});g._refreshItems();g._trigger("activate",a,e)}})},stop:function(a,b){var c=d(this).data("draggable"),f=d.extend({},b,{item:c.element});d.each(c.sortables,function(){if(this.instance.isOver){this.instance.isOver= | |
|
101 | 0;c.cancelHelperRemoval=true;this.instance.cancelHelperRemoval=false;if(this.shouldRevert)this.instance.options.revert=true;this.instance._mouseStop(a);this.instance.options.helper=this.instance.options._helper;c.options.helper=="original"&&this.instance.currentItem.css({top:"auto",left:"auto"})}else{this.instance.cancelHelperRemoval=false;this.instance._trigger("deactivate",a,f)}})},drag:function(a,b){var c=d(this).data("draggable"),f=this;d.each(c.sortables,function(){this.instance.positionAbs= | |
|
102 | c.positionAbs;this.instance.helperProportions=c.helperProportions;this.instance.offset.click=c.offset.click;if(this.instance._intersectsWith(this.instance.containerCache)){if(!this.instance.isOver){this.instance.isOver=1;this.instance.currentItem=d(f).clone().appendTo(this.instance.element).data("sortable-item",true);this.instance.options._helper=this.instance.options.helper;this.instance.options.helper=function(){return b.helper[0]};a.target=this.instance.currentItem[0];this.instance._mouseCapture(a, | |
|
103 | true);this.instance._mouseStart(a,true,true);this.instance.offset.click.top=c.offset.click.top;this.instance.offset.click.left=c.offset.click.left;this.instance.offset.parent.left-=c.offset.parent.left-this.instance.offset.parent.left;this.instance.offset.parent.top-=c.offset.parent.top-this.instance.offset.parent.top;c._trigger("toSortable",a);c.dropped=this.instance.element;c.currentItem=c.element;this.instance.fromOutside=c}this.instance.currentItem&&this.instance._mouseDrag(a)}else if(this.instance.isOver){this.instance.isOver= | |
|
104 | 0;this.instance.cancelHelperRemoval=true;this.instance.options.revert=false;this.instance._trigger("out",a,this.instance._uiHash(this.instance));this.instance._mouseStop(a,true);this.instance.options.helper=this.instance.options._helper;this.instance.currentItem.remove();this.instance.placeholder&&this.instance.placeholder.remove();c._trigger("fromSortable",a);c.dropped=false}})}});d.ui.plugin.add("draggable","cursor",{start:function(){var a=d("body"),b=d(this).data("draggable").options;if(a.css("cursor"))b._cursor= | |
|
105 | a.css("cursor");a.css("cursor",b.cursor)},stop:function(){var a=d(this).data("draggable").options;a._cursor&&d("body").css("cursor",a._cursor)}});d.ui.plugin.add("draggable","iframeFix",{start:function(){var a=d(this).data("draggable").options;d(a.iframeFix===true?"iframe":a.iframeFix).each(function(){d('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1E3}).css(d(this).offset()).appendTo("body")})}, | |
|
106 | stop:function(){d("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)})}});d.ui.plugin.add("draggable","opacity",{start:function(a,b){a=d(b.helper);b=d(this).data("draggable").options;if(a.css("opacity"))b._opacity=a.css("opacity");a.css("opacity",b.opacity)},stop:function(a,b){a=d(this).data("draggable").options;a._opacity&&d(b.helper).css("opacity",a._opacity)}});d.ui.plugin.add("draggable","scroll",{start:function(){var a=d(this).data("draggable");if(a.scrollParent[0]!= | |
|
107 | document&&a.scrollParent[0].tagName!="HTML")a.overflowOffset=a.scrollParent.offset()},drag:function(a){var b=d(this).data("draggable"),c=b.options,f=false;if(b.scrollParent[0]!=document&&b.scrollParent[0].tagName!="HTML"){if(!c.axis||c.axis!="x")if(b.overflowOffset.top+b.scrollParent[0].offsetHeight-a.pageY<c.scrollSensitivity)b.scrollParent[0].scrollTop=f=b.scrollParent[0].scrollTop+c.scrollSpeed;else if(a.pageY-b.overflowOffset.top<c.scrollSensitivity)b.scrollParent[0].scrollTop=f=b.scrollParent[0].scrollTop- | |
|
108 | c.scrollSpeed;if(!c.axis||c.axis!="y")if(b.overflowOffset.left+b.scrollParent[0].offsetWidth-a.pageX<c.scrollSensitivity)b.scrollParent[0].scrollLeft=f=b.scrollParent[0].scrollLeft+c.scrollSpeed;else if(a.pageX-b.overflowOffset.left<c.scrollSensitivity)b.scrollParent[0].scrollLeft=f=b.scrollParent[0].scrollLeft-c.scrollSpeed}else{if(!c.axis||c.axis!="x")if(a.pageY-d(document).scrollTop()<c.scrollSensitivity)f=d(document).scrollTop(d(document).scrollTop()-c.scrollSpeed);else if(d(window).height()- | |
|
109 | (a.pageY-d(document).scrollTop())<c.scrollSensitivity)f=d(document).scrollTop(d(document).scrollTop()+c.scrollSpeed);if(!c.axis||c.axis!="y")if(a.pageX-d(document).scrollLeft()<c.scrollSensitivity)f=d(document).scrollLeft(d(document).scrollLeft()-c.scrollSpeed);else if(d(window).width()-(a.pageX-d(document).scrollLeft())<c.scrollSensitivity)f=d(document).scrollLeft(d(document).scrollLeft()+c.scrollSpeed)}f!==false&&d.ui.ddmanager&&!c.dropBehaviour&&d.ui.ddmanager.prepareOffsets(b,a)}});d.ui.plugin.add("draggable", | |
|
110 | "snap",{start:function(){var a=d(this).data("draggable"),b=a.options;a.snapElements=[];d(b.snap.constructor!=String?b.snap.items||":data(draggable)":b.snap).each(function(){var c=d(this),f=c.offset();this!=a.element[0]&&a.snapElements.push({item:this,width:c.outerWidth(),height:c.outerHeight(),top:f.top,left:f.left})})},drag:function(a,b){for(var c=d(this).data("draggable"),f=c.options,e=f.snapTolerance,g=b.offset.left,n=g+c.helperProportions.width,m=b.offset.top,o=m+c.helperProportions.height,h= | |
|
111 | c.snapElements.length-1;h>=0;h--){var i=c.snapElements[h].left,k=i+c.snapElements[h].width,j=c.snapElements[h].top,l=j+c.snapElements[h].height;if(i-e<g&&g<k+e&&j-e<m&&m<l+e||i-e<g&&g<k+e&&j-e<o&&o<l+e||i-e<n&&n<k+e&&j-e<m&&m<l+e||i-e<n&&n<k+e&&j-e<o&&o<l+e){if(f.snapMode!="inner"){var p=Math.abs(j-o)<=e,q=Math.abs(l-m)<=e,r=Math.abs(i-n)<=e,s=Math.abs(k-g)<=e;if(p)b.position.top=c._convertPositionTo("relative",{top:j-c.helperProportions.height,left:0}).top-c.margins.top;if(q)b.position.top=c._convertPositionTo("relative", | |
|
112 | {top:l,left:0}).top-c.margins.top;if(r)b.position.left=c._convertPositionTo("relative",{top:0,left:i-c.helperProportions.width}).left-c.margins.left;if(s)b.position.left=c._convertPositionTo("relative",{top:0,left:k}).left-c.margins.left}var t=p||q||r||s;if(f.snapMode!="outer"){p=Math.abs(j-m)<=e;q=Math.abs(l-o)<=e;r=Math.abs(i-g)<=e;s=Math.abs(k-n)<=e;if(p)b.position.top=c._convertPositionTo("relative",{top:j,left:0}).top-c.margins.top;if(q)b.position.top=c._convertPositionTo("relative",{top:l-c.helperProportions.height, | |
|
113 | left:0}).top-c.margins.top;if(r)b.position.left=c._convertPositionTo("relative",{top:0,left:i}).left-c.margins.left;if(s)b.position.left=c._convertPositionTo("relative",{top:0,left:k-c.helperProportions.width}).left-c.margins.left}if(!c.snapElements[h].snapping&&(p||q||r||s||t))c.options.snap.snap&&c.options.snap.snap.call(c.element,a,d.extend(c._uiHash(),{snapItem:c.snapElements[h].item}));c.snapElements[h].snapping=p||q||r||s||t}else{c.snapElements[h].snapping&&c.options.snap.release&&c.options.snap.release.call(c.element, | |
|
114 | a,d.extend(c._uiHash(),{snapItem:c.snapElements[h].item}));c.snapElements[h].snapping=false}}}});d.ui.plugin.add("draggable","stack",{start:function(){var a=d(this).data("draggable").options;a=d.makeArray(d(a.stack)).sort(function(c,f){return(parseInt(d(c).css("zIndex"),10)||0)-(parseInt(d(f).css("zIndex"),10)||0)});if(a.length){var b=parseInt(a[0].style.zIndex)||0;d(a).each(function(c){this.style.zIndex=b+c});this[0].style.zIndex=b+a.length}}});d.ui.plugin.add("draggable","zIndex",{start:function(a, | |
|
115 | b){a=d(b.helper);b=d(this).data("draggable").options;if(a.css("zIndex"))b._zIndex=a.css("zIndex");a.css("zIndex",b.zIndex)},stop:function(a,b){a=d(this).data("draggable").options;a._zIndex&&d(b.helper).css("zIndex",a._zIndex)}})})(jQuery); | |
|
116 | ;/* | |
|
117 | * jQuery UI Droppable 1.8.10 | |
|
118 | * | |
|
119 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
120 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
121 | * http://jquery.org/license | |
|
122 | * | |
|
123 | * http://docs.jquery.com/UI/Droppables | |
|
124 | * | |
|
125 | * Depends: | |
|
126 | * jquery.ui.core.js | |
|
127 | * jquery.ui.widget.js | |
|
128 | * jquery.ui.mouse.js | |
|
129 | * jquery.ui.draggable.js | |
|
130 | */ | |
|
131 | (function(d){d.widget("ui.droppable",{widgetEventPrefix:"drop",options:{accept:"*",activeClass:false,addClasses:true,greedy:false,hoverClass:false,scope:"default",tolerance:"intersect"},_create:function(){var a=this.options,b=a.accept;this.isover=0;this.isout=1;this.accept=d.isFunction(b)?b:function(c){return c.is(b)};this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight};d.ui.ddmanager.droppables[a.scope]=d.ui.ddmanager.droppables[a.scope]||[];d.ui.ddmanager.droppables[a.scope].push(this); | |
|
132 | a.addClasses&&this.element.addClass("ui-droppable")},destroy:function(){for(var a=d.ui.ddmanager.droppables[this.options.scope],b=0;b<a.length;b++)a[b]==this&&a.splice(b,1);this.element.removeClass("ui-droppable ui-droppable-disabled").removeData("droppable").unbind(".droppable");return this},_setOption:function(a,b){if(a=="accept")this.accept=d.isFunction(b)?b:function(c){return c.is(b)};d.Widget.prototype._setOption.apply(this,arguments)},_activate:function(a){var b=d.ui.ddmanager.current;this.options.activeClass&& | |
|
133 | this.element.addClass(this.options.activeClass);b&&this._trigger("activate",a,this.ui(b))},_deactivate:function(a){var b=d.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass);b&&this._trigger("deactivate",a,this.ui(b))},_over:function(a){var b=d.ui.ddmanager.current;if(!(!b||(b.currentItem||b.element)[0]==this.element[0]))if(this.accept.call(this.element[0],b.currentItem||b.element)){this.options.hoverClass&&this.element.addClass(this.options.hoverClass); | |
|
134 | this._trigger("over",a,this.ui(b))}},_out:function(a){var b=d.ui.ddmanager.current;if(!(!b||(b.currentItem||b.element)[0]==this.element[0]))if(this.accept.call(this.element[0],b.currentItem||b.element)){this.options.hoverClass&&this.element.removeClass(this.options.hoverClass);this._trigger("out",a,this.ui(b))}},_drop:function(a,b){var c=b||d.ui.ddmanager.current;if(!c||(c.currentItem||c.element)[0]==this.element[0])return false;var e=false;this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function(){var g= | |
|
135 | d.data(this,"droppable");if(g.options.greedy&&!g.options.disabled&&g.options.scope==c.options.scope&&g.accept.call(g.element[0],c.currentItem||c.element)&&d.ui.intersect(c,d.extend(g,{offset:g.element.offset()}),g.options.tolerance)){e=true;return false}});if(e)return false;if(this.accept.call(this.element[0],c.currentItem||c.element)){this.options.activeClass&&this.element.removeClass(this.options.activeClass);this.options.hoverClass&&this.element.removeClass(this.options.hoverClass);this._trigger("drop", | |
|
136 | a,this.ui(c));return this.element}return false},ui:function(a){return{draggable:a.currentItem||a.element,helper:a.helper,position:a.position,offset:a.positionAbs}}});d.extend(d.ui.droppable,{version:"1.8.10"});d.ui.intersect=function(a,b,c){if(!b.offset)return false;var e=(a.positionAbs||a.position.absolute).left,g=e+a.helperProportions.width,f=(a.positionAbs||a.position.absolute).top,h=f+a.helperProportions.height,i=b.offset.left,k=i+b.proportions.width,j=b.offset.top,l=j+b.proportions.height; | |
|
137 | switch(c){case "fit":return i<=e&&g<=k&&j<=f&&h<=l;case "intersect":return i<e+a.helperProportions.width/2&&g-a.helperProportions.width/2<k&&j<f+a.helperProportions.height/2&&h-a.helperProportions.height/2<l;case "pointer":return d.ui.isOver((a.positionAbs||a.position.absolute).top+(a.clickOffset||a.offset.click).top,(a.positionAbs||a.position.absolute).left+(a.clickOffset||a.offset.click).left,j,i,b.proportions.height,b.proportions.width);case "touch":return(f>=j&&f<=l||h>=j&&h<=l||f<j&&h>l)&&(e>= | |
|
138 | i&&e<=k||g>=i&&g<=k||e<i&&g>k);default:return false}};d.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(a,b){var c=d.ui.ddmanager.droppables[a.options.scope]||[],e=b?b.type:null,g=(a.currentItem||a.element).find(":data(droppable)").andSelf(),f=0;a:for(;f<c.length;f++)if(!(c[f].options.disabled||a&&!c[f].accept.call(c[f].element[0],a.currentItem||a.element))){for(var h=0;h<g.length;h++)if(g[h]==c[f].element[0]){c[f].proportions.height=0;continue a}c[f].visible=c[f].element.css("display")!= | |
|
139 | "none";if(c[f].visible){c[f].offset=c[f].element.offset();c[f].proportions={width:c[f].element[0].offsetWidth,height:c[f].element[0].offsetHeight};e=="mousedown"&&c[f]._activate.call(c[f],b)}}},drop:function(a,b){var c=false;d.each(d.ui.ddmanager.droppables[a.options.scope]||[],function(){if(this.options){if(!this.options.disabled&&this.visible&&d.ui.intersect(a,this,this.options.tolerance))c=c||this._drop.call(this,b);if(!this.options.disabled&&this.visible&&this.accept.call(this.element[0],a.currentItem|| | |
|
140 | a.element)){this.isout=1;this.isover=0;this._deactivate.call(this,b)}}});return c},drag:function(a,b){a.options.refreshPositions&&d.ui.ddmanager.prepareOffsets(a,b);d.each(d.ui.ddmanager.droppables[a.options.scope]||[],function(){if(!(this.options.disabled||this.greedyChild||!this.visible)){var c=d.ui.intersect(a,this,this.options.tolerance);if(c=!c&&this.isover==1?"isout":c&&this.isover==0?"isover":null){var e;if(this.options.greedy){var g=this.element.parents(":data(droppable):eq(0)");if(g.length){e= | |
|
141 | d.data(g[0],"droppable");e.greedyChild=c=="isover"?1:0}}if(e&&c=="isover"){e.isover=0;e.isout=1;e._out.call(e,b)}this[c]=1;this[c=="isout"?"isover":"isout"]=0;this[c=="isover"?"_over":"_out"].call(this,b);if(e&&c=="isout"){e.isout=0;e.isover=1;e._over.call(e,b)}}}})}}})(jQuery); | |
|
142 | ;/* | |
|
143 | * jQuery UI Resizable 1.8.10 | |
|
144 | * | |
|
145 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
146 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
147 | * http://jquery.org/license | |
|
148 | * | |
|
149 | * http://docs.jquery.com/UI/Resizables | |
|
150 | * | |
|
151 | * Depends: | |
|
152 | * jquery.ui.core.js | |
|
153 | * jquery.ui.mouse.js | |
|
154 | * jquery.ui.widget.js | |
|
155 | */ | |
|
156 | (function(e){e.widget("ui.resizable",e.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1E3},_create:function(){var b=this,a=this.options;this.element.addClass("ui-resizable");e.extend(this,{_aspectRatio:!!a.aspectRatio,aspectRatio:a.aspectRatio,originalElement:this.element, | |
|
157 | _proportionallyResizeElements:[],_helper:a.helper||a.ghost||a.animate?a.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){/relative/.test(this.element.css("position"))&&e.browser.opera&&this.element.css({position:"relative",top:"auto",left:"auto"});this.element.wrap(e('<div class="ui-wrapper" style="overflow: hidden;"></div>').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(), | |
|
158 | top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle= | |
|
159 | this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=a.handles||(!e(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne", | |
|
160 | nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all")this.handles="n,e,s,w,se,sw,ne,nw";var c=this.handles.split(",");this.handles={};for(var d=0;d<c.length;d++){var f=e.trim(c[d]),g=e('<div class="ui-resizable-handle '+("ui-resizable-"+f)+'"></div>');/sw|se|ne|nw/.test(f)&&g.css({zIndex:++a.zIndex});"se"==f&&g.addClass("ui-icon ui-icon-gripsmall-diagonal-se");this.handles[f]=".ui-resizable-"+f;this.element.append(g)}}this._renderAxis=function(h){h=h||this.element;for(var i in this.handles){if(this.handles[i].constructor== | |
|
161 | String)this.handles[i]=e(this.handles[i],this.element).show();if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var j=e(this.handles[i],this.element),k=0;k=/sw|ne|nw|se|n|s/.test(i)?j.outerHeight():j.outerWidth();j=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join("");h.css(j,k);this._proportionallyResize()}e(this.handles[i])}};this._renderAxis(this.element);this._handles=e(".ui-resizable-handle",this.element).disableSelection(); | |
|
162 | this._handles.mouseover(function(){if(!b.resizing){if(this.className)var h=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);b.axis=h&&h[1]?h[1]:"se"}});if(a.autoHide){this._handles.hide();e(this.element).addClass("ui-resizable-autohide").hover(function(){e(this).removeClass("ui-resizable-autohide");b._handles.show()},function(){if(!b.resizing){e(this).addClass("ui-resizable-autohide");b._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var b=function(c){e(c).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()}; | |
|
163 | if(this.elementIsWrapper){b(this.element);var a=this.element;a.after(this.originalElement.css({position:a.css("position"),width:a.outerWidth(),height:a.outerHeight(),top:a.css("top"),left:a.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);b(this.originalElement);return this},_mouseCapture:function(b){var a=false;for(var c in this.handles)if(e(this.handles[c])[0]==b.target)a=true;return!this.options.disabled&&a},_mouseStart:function(b){var a=this.options,c=this.element.position(), | |
|
164 | d=this.element;this.resizing=true;this.documentScroll={top:e(document).scrollTop(),left:e(document).scrollLeft()};if(d.is(".ui-draggable")||/absolute/.test(d.css("position")))d.css({position:"absolute",top:c.top,left:c.left});e.browser.opera&&/relative/.test(d.css("position"))&&d.css({position:"relative",top:"auto",left:"auto"});this._renderProxy();c=m(this.helper.css("left"));var f=m(this.helper.css("top"));if(a.containment){c+=e(a.containment).scrollLeft()||0;f+=e(a.containment).scrollTop()||0}this.offset= | |
|
165 | this.helper.offset();this.position={left:c,top:f};this.size=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalPosition={left:c,top:f};this.sizeDiff={width:d.outerWidth()-d.width(),height:d.outerHeight()-d.height()};this.originalMousePosition={left:b.pageX,top:b.pageY};this.aspectRatio=typeof a.aspectRatio=="number"?a.aspectRatio: | |
|
166 | this.originalSize.width/this.originalSize.height||1;a=e(".ui-resizable-"+this.axis).css("cursor");e("body").css("cursor",a=="auto"?this.axis+"-resize":a);d.addClass("ui-resizable-resizing");this._propagate("start",b);return true},_mouseDrag:function(b){var a=this.helper,c=this.originalMousePosition,d=this._change[this.axis];if(!d)return false;c=d.apply(this,[b,b.pageX-c.left||0,b.pageY-c.top||0]);if(this._aspectRatio||b.shiftKey)c=this._updateRatio(c,b);c=this._respectSize(c,b);this._propagate("resize", | |
|
167 | b);a.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize();this._updateCache(c);this._trigger("resize",b,this.ui());return false},_mouseStop:function(b){this.resizing=false;var a=this.options,c=this;if(this._helper){var d=this._proportionallyResizeElements,f=d.length&&/textarea/i.test(d[0].nodeName);d=f&&e.ui.hasScroll(d[0],"left")?0:c.sizeDiff.height; | |
|
168 | f=f?0:c.sizeDiff.width;f={width:c.helper.width()-f,height:c.helper.height()-d};d=parseInt(c.element.css("left"),10)+(c.position.left-c.originalPosition.left)||null;var g=parseInt(c.element.css("top"),10)+(c.position.top-c.originalPosition.top)||null;a.animate||this.element.css(e.extend(f,{top:g,left:d}));c.helper.height(c.size.height);c.helper.width(c.size.width);this._helper&&!a.animate&&this._proportionallyResize()}e("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing"); | |
|
169 | this._propagate("stop",b);this._helper&&this.helper.remove();return false},_updateCache:function(b){this.offset=this.helper.offset();if(l(b.left))this.position.left=b.left;if(l(b.top))this.position.top=b.top;if(l(b.height))this.size.height=b.height;if(l(b.width))this.size.width=b.width},_updateRatio:function(b){var a=this.position,c=this.size,d=this.axis;if(b.height)b.width=c.height*this.aspectRatio;else if(b.width)b.height=c.width/this.aspectRatio;if(d=="sw"){b.left=a.left+(c.width-b.width);b.top= | |
|
170 | null}if(d=="nw"){b.top=a.top+(c.height-b.height);b.left=a.left+(c.width-b.width)}return b},_respectSize:function(b){var a=this.options,c=this.axis,d=l(b.width)&&a.maxWidth&&a.maxWidth<b.width,f=l(b.height)&&a.maxHeight&&a.maxHeight<b.height,g=l(b.width)&&a.minWidth&&a.minWidth>b.width,h=l(b.height)&&a.minHeight&&a.minHeight>b.height;if(g)b.width=a.minWidth;if(h)b.height=a.minHeight;if(d)b.width=a.maxWidth;if(f)b.height=a.maxHeight;var i=this.originalPosition.left+this.originalSize.width,j=this.position.top+ | |
|
171 | this.size.height,k=/sw|nw|w/.test(c);c=/nw|ne|n/.test(c);if(g&&k)b.left=i-a.minWidth;if(d&&k)b.left=i-a.maxWidth;if(h&&c)b.top=j-a.minHeight;if(f&&c)b.top=j-a.maxHeight;if((a=!b.width&&!b.height)&&!b.left&&b.top)b.top=null;else if(a&&!b.top&&b.left)b.left=null;return b},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var b=this.helper||this.element,a=0;a<this._proportionallyResizeElements.length;a++){var c=this._proportionallyResizeElements[a];if(!this.borderDif){var d= | |
|
172 | [c.css("borderTopWidth"),c.css("borderRightWidth"),c.css("borderBottomWidth"),c.css("borderLeftWidth")],f=[c.css("paddingTop"),c.css("paddingRight"),c.css("paddingBottom"),c.css("paddingLeft")];this.borderDif=e.map(d,function(g,h){g=parseInt(g,10)||0;h=parseInt(f[h],10)||0;return g+h})}e.browser.msie&&(e(b).is(":hidden")||e(b).parents(":hidden").length)||c.css({height:b.height()-this.borderDif[0]-this.borderDif[2]||0,width:b.width()-this.borderDif[1]-this.borderDif[3]||0})}},_renderProxy:function(){var b= | |
|
173 | this.options;this.elementOffset=this.element.offset();if(this._helper){this.helper=this.helper||e('<div style="overflow:hidden;"></div>');var a=e.browser.msie&&e.browser.version<7,c=a?1:0;a=a?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+a,height:this.element.outerHeight()+a,position:"absolute",left:this.elementOffset.left-c+"px",top:this.elementOffset.top-c+"px",zIndex:++b.zIndex});this.helper.appendTo("body").disableSelection()}else this.helper=this.element},_change:{e:function(b, | |
|
174 | a){return{width:this.originalSize.width+a}},w:function(b,a){return{left:this.originalPosition.left+a,width:this.originalSize.width-a}},n:function(b,a,c){return{top:this.originalPosition.top+c,height:this.originalSize.height-c}},s:function(b,a,c){return{height:this.originalSize.height+c}},se:function(b,a,c){return e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[b,a,c]))},sw:function(b,a,c){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[b,a, | |
|
175 | c]))},ne:function(b,a,c){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[b,a,c]))},nw:function(b,a,c){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[b,a,c]))}},_propagate:function(b,a){e.ui.plugin.call(this,b,[a,this.ui()]);b!="resize"&&this._trigger(b,a,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize, | |
|
176 | originalPosition:this.originalPosition}}});e.extend(e.ui.resizable,{version:"1.8.10"});e.ui.plugin.add("resizable","alsoResize",{start:function(){var b=e(this).data("resizable").options,a=function(c){e(c).each(function(){var d=e(this);d.data("resizable-alsoresize",{width:parseInt(d.width(),10),height:parseInt(d.height(),10),left:parseInt(d.css("left"),10),top:parseInt(d.css("top"),10),position:d.css("position")})})};if(typeof b.alsoResize=="object"&&!b.alsoResize.parentNode)if(b.alsoResize.length){b.alsoResize= | |
|
177 | b.alsoResize[0];a(b.alsoResize)}else e.each(b.alsoResize,function(c){a(c)});else a(b.alsoResize)},resize:function(b,a){var c=e(this).data("resizable");b=c.options;var d=c.originalSize,f=c.originalPosition,g={height:c.size.height-d.height||0,width:c.size.width-d.width||0,top:c.position.top-f.top||0,left:c.position.left-f.left||0},h=function(i,j){e(i).each(function(){var k=e(this),q=e(this).data("resizable-alsoresize"),p={},r=j&&j.length?j:k.parents(a.originalElement[0]).length?["width","height"]:["width", | |
|
178 | "height","top","left"];e.each(r,function(n,o){if((n=(q[o]||0)+(g[o]||0))&&n>=0)p[o]=n||null});if(e.browser.opera&&/relative/.test(k.css("position"))){c._revertToRelativePosition=true;k.css({position:"absolute",top:"auto",left:"auto"})}k.css(p)})};typeof b.alsoResize=="object"&&!b.alsoResize.nodeType?e.each(b.alsoResize,function(i,j){h(i,j)}):h(b.alsoResize)},stop:function(){var b=e(this).data("resizable"),a=b.options,c=function(d){e(d).each(function(){var f=e(this);f.css({position:f.data("resizable-alsoresize").position})})}; | |
|
179 | if(b._revertToRelativePosition){b._revertToRelativePosition=false;typeof a.alsoResize=="object"&&!a.alsoResize.nodeType?e.each(a.alsoResize,function(d){c(d)}):c(a.alsoResize)}e(this).removeData("resizable-alsoresize")}});e.ui.plugin.add("resizable","animate",{stop:function(b){var a=e(this).data("resizable"),c=a.options,d=a._proportionallyResizeElements,f=d.length&&/textarea/i.test(d[0].nodeName),g=f&&e.ui.hasScroll(d[0],"left")?0:a.sizeDiff.height;f={width:a.size.width-(f?0:a.sizeDiff.width),height:a.size.height- | |
|
180 | g};g=parseInt(a.element.css("left"),10)+(a.position.left-a.originalPosition.left)||null;var h=parseInt(a.element.css("top"),10)+(a.position.top-a.originalPosition.top)||null;a.element.animate(e.extend(f,h&&g?{top:h,left:g}:{}),{duration:c.animateDuration,easing:c.animateEasing,step:function(){var i={width:parseInt(a.element.css("width"),10),height:parseInt(a.element.css("height"),10),top:parseInt(a.element.css("top"),10),left:parseInt(a.element.css("left"),10)};d&&d.length&&e(d[0]).css({width:i.width, | |
|
181 | height:i.height});a._updateCache(i);a._propagate("resize",b)}})}});e.ui.plugin.add("resizable","containment",{start:function(){var b=e(this).data("resizable"),a=b.element,c=b.options.containment;if(a=c instanceof e?c.get(0):/parent/.test(c)?a.parent().get(0):c){b.containerElement=e(a);if(/document/.test(c)||c==document){b.containerOffset={left:0,top:0};b.containerPosition={left:0,top:0};b.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight}}else{var d= | |
|
182 | e(a),f=[];e(["Top","Right","Left","Bottom"]).each(function(i,j){f[i]=m(d.css("padding"+j))});b.containerOffset=d.offset();b.containerPosition=d.position();b.containerSize={height:d.innerHeight()-f[3],width:d.innerWidth()-f[1]};c=b.containerOffset;var g=b.containerSize.height,h=b.containerSize.width;h=e.ui.hasScroll(a,"left")?a.scrollWidth:h;g=e.ui.hasScroll(a)?a.scrollHeight:g;b.parentData={element:a,left:c.left,top:c.top,width:h,height:g}}}},resize:function(b){var a=e(this).data("resizable"),c=a.options, | |
|
183 | d=a.containerOffset,f=a.position;b=a._aspectRatio||b.shiftKey;var g={top:0,left:0},h=a.containerElement;if(h[0]!=document&&/static/.test(h.css("position")))g=d;if(f.left<(a._helper?d.left:0)){a.size.width+=a._helper?a.position.left-d.left:a.position.left-g.left;if(b)a.size.height=a.size.width/c.aspectRatio;a.position.left=c.helper?d.left:0}if(f.top<(a._helper?d.top:0)){a.size.height+=a._helper?a.position.top-d.top:a.position.top;if(b)a.size.width=a.size.height*c.aspectRatio;a.position.top=a._helper? | |
|
184 | d.top:0}a.offset.left=a.parentData.left+a.position.left;a.offset.top=a.parentData.top+a.position.top;c=Math.abs((a._helper?a.offset.left-g.left:a.offset.left-g.left)+a.sizeDiff.width);d=Math.abs((a._helper?a.offset.top-g.top:a.offset.top-d.top)+a.sizeDiff.height);f=a.containerElement.get(0)==a.element.parent().get(0);g=/relative|absolute/.test(a.containerElement.css("position"));if(f&&g)c-=a.parentData.left;if(c+a.size.width>=a.parentData.width){a.size.width=a.parentData.width-c;if(b)a.size.height= | |
|
185 | a.size.width/a.aspectRatio}if(d+a.size.height>=a.parentData.height){a.size.height=a.parentData.height-d;if(b)a.size.width=a.size.height*a.aspectRatio}},stop:function(){var b=e(this).data("resizable"),a=b.options,c=b.containerOffset,d=b.containerPosition,f=b.containerElement,g=e(b.helper),h=g.offset(),i=g.outerWidth()-b.sizeDiff.width;g=g.outerHeight()-b.sizeDiff.height;b._helper&&!a.animate&&/relative/.test(f.css("position"))&&e(this).css({left:h.left-d.left-c.left,width:i,height:g});b._helper&&!a.animate&& | |
|
186 | /static/.test(f.css("position"))&&e(this).css({left:h.left-d.left-c.left,width:i,height:g})}});e.ui.plugin.add("resizable","ghost",{start:function(){var b=e(this).data("resizable"),a=b.options,c=b.size;b.ghost=b.originalElement.clone();b.ghost.css({opacity:0.25,display:"block",position:"relative",height:c.height,width:c.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof a.ghost=="string"?a.ghost:"");b.ghost.appendTo(b.helper)},resize:function(){var b=e(this).data("resizable"); | |
|
187 | b.ghost&&b.ghost.css({position:"relative",height:b.size.height,width:b.size.width})},stop:function(){var b=e(this).data("resizable");b.ghost&&b.helper&&b.helper.get(0).removeChild(b.ghost.get(0))}});e.ui.plugin.add("resizable","grid",{resize:function(){var b=e(this).data("resizable"),a=b.options,c=b.size,d=b.originalSize,f=b.originalPosition,g=b.axis;a.grid=typeof a.grid=="number"?[a.grid,a.grid]:a.grid;var h=Math.round((c.width-d.width)/(a.grid[0]||1))*(a.grid[0]||1);a=Math.round((c.height-d.height)/ | |
|
188 | (a.grid[1]||1))*(a.grid[1]||1);if(/^(se|s|e)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a}else if(/^(ne)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a;b.position.top=f.top-a}else{if(/^(sw)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a}else{b.size.width=d.width+h;b.size.height=d.height+a;b.position.top=f.top-a}b.position.left=f.left-h}}});var m=function(b){return parseInt(b,10)||0},l=function(b){return!isNaN(parseInt(b,10))}})(jQuery); | |
|
189 | ;/* | |
|
190 | * jQuery UI Selectable 1.8.10 | |
|
191 | * | |
|
192 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
193 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
194 | * http://jquery.org/license | |
|
195 | * | |
|
196 | * http://docs.jquery.com/UI/Selectables | |
|
197 | * | |
|
198 | * Depends: | |
|
199 | * jquery.ui.core.js | |
|
200 | * jquery.ui.mouse.js | |
|
201 | * jquery.ui.widget.js | |
|
202 | */ | |
|
203 | (function(e){e.widget("ui.selectable",e.ui.mouse,{options:{appendTo:"body",autoRefresh:true,distance:0,filter:"*",tolerance:"touch"},_create:function(){var c=this;this.element.addClass("ui-selectable");this.dragged=false;var f;this.refresh=function(){f=e(c.options.filter,c.element[0]);f.each(function(){var d=e(this),b=d.offset();e.data(this,"selectable-item",{element:this,$element:d,left:b.left,top:b.top,right:b.left+d.outerWidth(),bottom:b.top+d.outerHeight(),startselected:false,selected:d.hasClass("ui-selected"), | |
|
204 | selecting:d.hasClass("ui-selecting"),unselecting:d.hasClass("ui-unselecting")})})};this.refresh();this.selectees=f.addClass("ui-selectee");this._mouseInit();this.helper=e("<div class='ui-selectable-helper'></div>")},destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item");this.element.removeClass("ui-selectable ui-selectable-disabled").removeData("selectable").unbind(".selectable");this._mouseDestroy();return this},_mouseStart:function(c){var f=this;this.opos=[c.pageX, | |
|
205 | c.pageY];if(!this.options.disabled){var d=this.options;this.selectees=e(d.filter,this.element[0]);this._trigger("start",c);e(d.appendTo).append(this.helper);this.helper.css({left:c.clientX,top:c.clientY,width:0,height:0});d.autoRefresh&&this.refresh();this.selectees.filter(".ui-selected").each(function(){var b=e.data(this,"selectable-item");b.startselected=true;if(!c.metaKey){b.$element.removeClass("ui-selected");b.selected=false;b.$element.addClass("ui-unselecting");b.unselecting=true;f._trigger("unselecting", | |
|
206 | c,{unselecting:b.element})}});e(c.target).parents().andSelf().each(function(){var b=e.data(this,"selectable-item");if(b){var g=!c.metaKey||!b.$element.hasClass("ui-selected");b.$element.removeClass(g?"ui-unselecting":"ui-selected").addClass(g?"ui-selecting":"ui-unselecting");b.unselecting=!g;b.selecting=g;(b.selected=g)?f._trigger("selecting",c,{selecting:b.element}):f._trigger("unselecting",c,{unselecting:b.element});return false}})}},_mouseDrag:function(c){var f=this;this.dragged=true;if(!this.options.disabled){var d= | |
|
207 | this.options,b=this.opos[0],g=this.opos[1],h=c.pageX,i=c.pageY;if(b>h){var j=h;h=b;b=j}if(g>i){j=i;i=g;g=j}this.helper.css({left:b,top:g,width:h-b,height:i-g});this.selectees.each(function(){var a=e.data(this,"selectable-item");if(!(!a||a.element==f.element[0])){var k=false;if(d.tolerance=="touch")k=!(a.left>h||a.right<b||a.top>i||a.bottom<g);else if(d.tolerance=="fit")k=a.left>b&&a.right<h&&a.top>g&&a.bottom<i;if(k){if(a.selected){a.$element.removeClass("ui-selected");a.selected=false}if(a.unselecting){a.$element.removeClass("ui-unselecting"); | |
|
208 | a.unselecting=false}if(!a.selecting){a.$element.addClass("ui-selecting");a.selecting=true;f._trigger("selecting",c,{selecting:a.element})}}else{if(a.selecting)if(c.metaKey&&a.startselected){a.$element.removeClass("ui-selecting");a.selecting=false;a.$element.addClass("ui-selected");a.selected=true}else{a.$element.removeClass("ui-selecting");a.selecting=false;if(a.startselected){a.$element.addClass("ui-unselecting");a.unselecting=true}f._trigger("unselecting",c,{unselecting:a.element})}if(a.selected)if(!c.metaKey&& | |
|
209 | !a.startselected){a.$element.removeClass("ui-selected");a.selected=false;a.$element.addClass("ui-unselecting");a.unselecting=true;f._trigger("unselecting",c,{unselecting:a.element})}}}});return false}},_mouseStop:function(c){var f=this;this.dragged=false;e(".ui-unselecting",this.element[0]).each(function(){var d=e.data(this,"selectable-item");d.$element.removeClass("ui-unselecting");d.unselecting=false;d.startselected=false;f._trigger("unselected",c,{unselected:d.element})});e(".ui-selecting",this.element[0]).each(function(){var d= | |
|
210 | e.data(this,"selectable-item");d.$element.removeClass("ui-selecting").addClass("ui-selected");d.selecting=false;d.selected=true;d.startselected=true;f._trigger("selected",c,{selected:d.element})});this._trigger("stop",c);this.helper.remove();return false}});e.extend(e.ui.selectable,{version:"1.8.10"})})(jQuery); | |
|
211 | ;/* | |
|
212 | * jQuery UI Sortable 1.8.10 | |
|
213 | * | |
|
214 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
215 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
216 | * http://jquery.org/license | |
|
217 | * | |
|
218 | * http://docs.jquery.com/UI/Sortables | |
|
219 | * | |
|
220 | * Depends: | |
|
221 | * jquery.ui.core.js | |
|
222 | * jquery.ui.mouse.js | |
|
223 | * jquery.ui.widget.js | |
|
224 | */ | |
|
225 | (function(d){d.widget("ui.sortable",d.ui.mouse,{widgetEventPrefix:"sort",options:{appendTo:"parent",axis:false,connectWith:false,containment:false,cursor:"auto",cursorAt:false,dropOnEmpty:true,forcePlaceholderSize:false,forceHelperSize:false,grid:false,handle:false,helper:"original",items:"> *",opacity:false,placeholder:false,revert:false,scroll:true,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1E3},_create:function(){this.containerCache={};this.element.addClass("ui-sortable"); | |
|
226 | this.refresh();this.floating=this.items.length?/left|right/.test(this.items[0].item.css("float")):false;this.offset=this.element.offset();this._mouseInit()},destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled").removeData("sortable").unbind(".sortable");this._mouseDestroy();for(var a=this.items.length-1;a>=0;a--)this.items[a].item.removeData("sortable-item");return this},_setOption:function(a,b){if(a==="disabled"){this.options[a]=b;this.widget()[b?"addClass":"removeClass"]("ui-sortable-disabled")}else d.Widget.prototype._setOption.apply(this, | |
|
227 | arguments)},_mouseCapture:function(a,b){if(this.reverting)return false;if(this.options.disabled||this.options.type=="static")return false;this._refreshItems(a);var c=null,e=this;d(a.target).parents().each(function(){if(d.data(this,"sortable-item")==e){c=d(this);return false}});if(d.data(a.target,"sortable-item")==e)c=d(a.target);if(!c)return false;if(this.options.handle&&!b){var f=false;d(this.options.handle,c).find("*").andSelf().each(function(){if(this==a.target)f=true});if(!f)return false}this.currentItem= | |
|
228 | c;this._removeCurrentsFromItems();return true},_mouseStart:function(a,b,c){b=this.options;var e=this;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(a);this._cacheHelperProportions();this._cacheMargins();this.scrollParent=this.helper.scrollParent();this.offset=this.currentItem.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};this.helper.css("position","absolute");this.cssPosition=this.helper.css("position");d.extend(this.offset, | |
|
229 | {click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=a.pageY;b.cursorAt&&this._adjustOffsetFromHelper(b.cursorAt);this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};this.helper[0]!=this.currentItem[0]&&this.currentItem.hide();this._createPlaceholder();b.containment&&this._setContainment(); | |
|
230 | if(b.cursor){if(d("body").css("cursor"))this._storedCursor=d("body").css("cursor");d("body").css("cursor",b.cursor)}if(b.opacity){if(this.helper.css("opacity"))this._storedOpacity=this.helper.css("opacity");this.helper.css("opacity",b.opacity)}if(b.zIndex){if(this.helper.css("zIndex"))this._storedZIndex=this.helper.css("zIndex");this.helper.css("zIndex",b.zIndex)}if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML")this.overflowOffset=this.scrollParent.offset();this._trigger("start", | |
|
231 | a,this._uiHash());this._preserveHelperProportions||this._cacheHelperProportions();if(!c)for(c=this.containers.length-1;c>=0;c--)this.containers[c]._trigger("activate",a,e._uiHash(this));if(d.ui.ddmanager)d.ui.ddmanager.current=this;d.ui.ddmanager&&!b.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,a);this.dragging=true;this.helper.addClass("ui-sortable-helper");this._mouseDrag(a);return true},_mouseDrag:function(a){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo("absolute"); | |
|
232 | if(!this.lastPositionAbs)this.lastPositionAbs=this.positionAbs;if(this.options.scroll){var b=this.options,c=false;if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"){if(this.overflowOffset.top+this.scrollParent[0].offsetHeight-a.pageY<b.scrollSensitivity)this.scrollParent[0].scrollTop=c=this.scrollParent[0].scrollTop+b.scrollSpeed;else if(a.pageY-this.overflowOffset.top<b.scrollSensitivity)this.scrollParent[0].scrollTop=c=this.scrollParent[0].scrollTop-b.scrollSpeed;if(this.overflowOffset.left+ | |
|
233 | this.scrollParent[0].offsetWidth-a.pageX<b.scrollSensitivity)this.scrollParent[0].scrollLeft=c=this.scrollParent[0].scrollLeft+b.scrollSpeed;else if(a.pageX-this.overflowOffset.left<b.scrollSensitivity)this.scrollParent[0].scrollLeft=c=this.scrollParent[0].scrollLeft-b.scrollSpeed}else{if(a.pageY-d(document).scrollTop()<b.scrollSensitivity)c=d(document).scrollTop(d(document).scrollTop()-b.scrollSpeed);else if(d(window).height()-(a.pageY-d(document).scrollTop())<b.scrollSensitivity)c=d(document).scrollTop(d(document).scrollTop()+ | |
|
234 | b.scrollSpeed);if(a.pageX-d(document).scrollLeft()<b.scrollSensitivity)c=d(document).scrollLeft(d(document).scrollLeft()-b.scrollSpeed);else if(d(window).width()-(a.pageX-d(document).scrollLeft())<b.scrollSensitivity)c=d(document).scrollLeft(d(document).scrollLeft()+b.scrollSpeed)}c!==false&&d.ui.ddmanager&&!b.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,a)}this.positionAbs=this._convertPositionTo("absolute");if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+ | |
|
235 | "px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";for(b=this.items.length-1;b>=0;b--){c=this.items[b];var e=c.item[0],f=this._intersectsWithPointer(c);if(f)if(e!=this.currentItem[0]&&this.placeholder[f==1?"next":"prev"]()[0]!=e&&!d.ui.contains(this.placeholder[0],e)&&(this.options.type=="semi-dynamic"?!d.ui.contains(this.element[0],e):true)){this.direction=f==1?"down":"up";if(this.options.tolerance=="pointer"||this._intersectsWithSides(c))this._rearrange(a, | |
|
236 | c);else break;this._trigger("change",a,this._uiHash());break}}this._contactContainers(a);d.ui.ddmanager&&d.ui.ddmanager.drag(this,a);this._trigger("sort",a,this._uiHash());this.lastPositionAbs=this.positionAbs;return false},_mouseStop:function(a,b){if(a){d.ui.ddmanager&&!this.options.dropBehaviour&&d.ui.ddmanager.drop(this,a);if(this.options.revert){var c=this;b=c.placeholder.offset();c.reverting=true;d(this.helper).animate({left:b.left-this.offset.parent.left-c.margins.left+(this.offsetParent[0]== | |
|
237 | document.body?0:this.offsetParent[0].scrollLeft),top:b.top-this.offset.parent.top-c.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){c._clear(a)})}else this._clear(a,b);return false}},cancel:function(){var a=this;if(this.dragging){this._mouseUp({target:null});this.options.helper=="original"?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var b=this.containers.length- | |
|
238 | 1;b>=0;b--){this.containers[b]._trigger("deactivate",null,a._uiHash(this));if(this.containers[b].containerCache.over){this.containers[b]._trigger("out",null,a._uiHash(this));this.containers[b].containerCache.over=0}}}if(this.placeholder){this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.options.helper!="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove();d.extend(this,{helper:null,dragging:false,reverting:false,_noFinalSort:null}); | |
|
239 | this.domPosition.prev?d(this.domPosition.prev).after(this.currentItem):d(this.domPosition.parent).prepend(this.currentItem)}return this},serialize:function(a){var b=this._getItemsAsjQuery(a&&a.connected),c=[];a=a||{};d(b).each(function(){var e=(d(a.item||this).attr(a.attribute||"id")||"").match(a.expression||/(.+)[-=_](.+)/);if(e)c.push((a.key||e[1]+"[]")+"="+(a.key&&a.expression?e[1]:e[2]))});!c.length&&a.key&&c.push(a.key+"=");return c.join("&")},toArray:function(a){var b=this._getItemsAsjQuery(a&& | |
|
240 | a.connected),c=[];a=a||{};b.each(function(){c.push(d(a.item||this).attr(a.attribute||"id")||"")});return c},_intersectsWith:function(a){var b=this.positionAbs.left,c=b+this.helperProportions.width,e=this.positionAbs.top,f=e+this.helperProportions.height,g=a.left,h=g+a.width,i=a.top,k=i+a.height,j=this.offset.click.top,l=this.offset.click.left;j=e+j>i&&e+j<k&&b+l>g&&b+l<h;return this.options.tolerance=="pointer"||this.options.forcePointerForContainers||this.options.tolerance!="pointer"&&this.helperProportions[this.floating? | |
|
241 | "width":"height"]>a[this.floating?"width":"height"]?j:g<b+this.helperProportions.width/2&&c-this.helperProportions.width/2<h&&i<e+this.helperProportions.height/2&&f-this.helperProportions.height/2<k},_intersectsWithPointer:function(a){var b=d.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,a.top,a.height);a=d.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,a.left,a.width);b=b&&a;a=this._getDragVerticalDirection();var c=this._getDragHorizontalDirection();if(!b)return false;return this.floating? | |
|
242 | c&&c=="right"||a=="down"?2:1:a&&(a=="down"?2:1)},_intersectsWithSides:function(a){var b=d.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,a.top+a.height/2,a.height);a=d.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,a.left+a.width/2,a.width);var c=this._getDragVerticalDirection(),e=this._getDragHorizontalDirection();return this.floating&&e?e=="right"&&a||e=="left"&&!a:c&&(c=="down"&&b||c=="up"&&!b)},_getDragVerticalDirection:function(){var a=this.positionAbs.top-this.lastPositionAbs.top; | |
|
243 | return a!=0&&(a>0?"down":"up")},_getDragHorizontalDirection:function(){var a=this.positionAbs.left-this.lastPositionAbs.left;return a!=0&&(a>0?"right":"left")},refresh:function(a){this._refreshItems(a);this.refreshPositions();return this},_connectWith:function(){var a=this.options;return a.connectWith.constructor==String?[a.connectWith]:a.connectWith},_getItemsAsjQuery:function(a){var b=[],c=[],e=this._connectWith();if(e&&a)for(a=e.length-1;a>=0;a--)for(var f=d(e[a]),g=f.length-1;g>=0;g--){var h= | |
|
244 | d.data(f[g],"sortable");if(h&&h!=this&&!h.options.disabled)c.push([d.isFunction(h.options.items)?h.options.items.call(h.element):d(h.options.items,h.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),h])}c.push([d.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):d(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(a=c.length-1;a>=0;a--)c[a][0].each(function(){b.push(this)}); | |
|
245 | return d(b)},_removeCurrentsFromItems:function(){for(var a=this.currentItem.find(":data(sortable-item)"),b=0;b<this.items.length;b++)for(var c=0;c<a.length;c++)a[c]==this.items[b].item[0]&&this.items.splice(b,1)},_refreshItems:function(a){this.items=[];this.containers=[this];var b=this.items,c=[[d.isFunction(this.options.items)?this.options.items.call(this.element[0],a,{item:this.currentItem}):d(this.options.items,this.element),this]],e=this._connectWith();if(e)for(var f=e.length-1;f>=0;f--)for(var g= | |
|
246 | d(e[f]),h=g.length-1;h>=0;h--){var i=d.data(g[h],"sortable");if(i&&i!=this&&!i.options.disabled){c.push([d.isFunction(i.options.items)?i.options.items.call(i.element[0],a,{item:this.currentItem}):d(i.options.items,i.element),i]);this.containers.push(i)}}for(f=c.length-1;f>=0;f--){a=c[f][1];e=c[f][0];h=0;for(g=e.length;h<g;h++){i=d(e[h]);i.data("sortable-item",a);b.push({item:i,instance:a,width:0,height:0,left:0,top:0})}}},refreshPositions:function(a){if(this.offsetParent&&this.helper)this.offset.parent= | |
|
247 | this._getParentOffset();for(var b=this.items.length-1;b>=0;b--){var c=this.items[b],e=this.options.toleranceElement?d(this.options.toleranceElement,c.item):c.item;if(!a){c.width=e.outerWidth();c.height=e.outerHeight()}e=e.offset();c.left=e.left;c.top=e.top}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(b=this.containers.length-1;b>=0;b--){e=this.containers[b].element.offset();this.containers[b].containerCache.left=e.left;this.containers[b].containerCache.top= | |
|
248 | e.top;this.containers[b].containerCache.width=this.containers[b].element.outerWidth();this.containers[b].containerCache.height=this.containers[b].element.outerHeight()}return this},_createPlaceholder:function(a){var b=a||this,c=b.options;if(!c.placeholder||c.placeholder.constructor==String){var e=c.placeholder;c.placeholder={element:function(){var f=d(document.createElement(b.currentItem[0].nodeName)).addClass(e||b.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0]; | |
|
249 | if(!e)f.style.visibility="hidden";return f},update:function(f,g){if(!(e&&!c.forcePlaceholderSize)){g.height()||g.height(b.currentItem.innerHeight()-parseInt(b.currentItem.css("paddingTop")||0,10)-parseInt(b.currentItem.css("paddingBottom")||0,10));g.width()||g.width(b.currentItem.innerWidth()-parseInt(b.currentItem.css("paddingLeft")||0,10)-parseInt(b.currentItem.css("paddingRight")||0,10))}}}}b.placeholder=d(c.placeholder.element.call(b.element,b.currentItem));b.currentItem.after(b.placeholder); | |
|
250 | c.placeholder.update(b,b.placeholder)},_contactContainers:function(a){for(var b=null,c=null,e=this.containers.length-1;e>=0;e--)if(!d.ui.contains(this.currentItem[0],this.containers[e].element[0]))if(this._intersectsWith(this.containers[e].containerCache)){if(!(b&&d.ui.contains(this.containers[e].element[0],b.element[0]))){b=this.containers[e];c=e}}else if(this.containers[e].containerCache.over){this.containers[e]._trigger("out",a,this._uiHash(this));this.containers[e].containerCache.over=0}if(b)if(this.containers.length=== | |
|
251 | 1){this.containers[c]._trigger("over",a,this._uiHash(this));this.containers[c].containerCache.over=1}else if(this.currentContainer!=this.containers[c]){b=1E4;e=null;for(var f=this.positionAbs[this.containers[c].floating?"left":"top"],g=this.items.length-1;g>=0;g--)if(d.ui.contains(this.containers[c].element[0],this.items[g].item[0])){var h=this.items[g][this.containers[c].floating?"left":"top"];if(Math.abs(h-f)<b){b=Math.abs(h-f);e=this.items[g]}}if(e||this.options.dropOnEmpty){this.currentContainer= | |
|
252 | this.containers[c];e?this._rearrange(a,e,null,true):this._rearrange(a,null,this.containers[c].element,true);this._trigger("change",a,this._uiHash());this.containers[c]._trigger("change",a,this._uiHash(this));this.options.placeholder.update(this.currentContainer,this.placeholder);this.containers[c]._trigger("over",a,this._uiHash(this));this.containers[c].containerCache.over=1}}},_createHelper:function(a){var b=this.options;a=d.isFunction(b.helper)?d(b.helper.apply(this.element[0],[a,this.currentItem])): | |
|
253 | b.helper=="clone"?this.currentItem.clone():this.currentItem;a.parents("body").length||d(b.appendTo!="parent"?b.appendTo:this.currentItem[0].parentNode)[0].appendChild(a[0]);if(a[0]==this.currentItem[0])this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")};if(a[0].style.width==""||b.forceHelperSize)a.width(this.currentItem.width());if(a[0].style.height== | |
|
254 | ""||b.forceHelperSize)a.height(this.currentItem.height());return a},_adjustOffsetFromHelper:function(a){if(typeof a=="string")a=a.split(" ");if(d.isArray(a))a={left:+a[0],top:+a[1]||0};if("left"in a)this.offset.click.left=a.left+this.margins.left;if("right"in a)this.offset.click.left=this.helperProportions.width-a.right+this.margins.left;if("top"in a)this.offset.click.top=a.top+this.margins.top;if("bottom"in a)this.offset.click.top=this.helperProportions.height-a.bottom+this.margins.top},_getParentOffset:function(){this.offsetParent= | |
|
255 | this.helper.offsetParent();var a=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0])){a.left+=this.scrollParent.scrollLeft();a.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&d.browser.msie)a={top:0,left:0};return{top:a.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:a.left+(parseInt(this.offsetParent.css("borderLeftWidth"), | |
|
256 | 10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var a=this.currentItem.position();return{top:a.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions= | |
|
257 | {width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var a=this.options;if(a.containment=="parent")a.containment=this.helper[0].parentNode;if(a.containment=="document"||a.containment=="window")this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,d(a.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(d(a.containment=="document"?document:window).height()|| | |
|
258 | document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(a.containment)){var b=d(a.containment)[0];a=d(a.containment).offset();var c=d(b).css("overflow")!="hidden";this.containment=[a.left+(parseInt(d(b).css("borderLeftWidth"),10)||0)+(parseInt(d(b).css("paddingLeft"),10)||0)-this.margins.left,a.top+(parseInt(d(b).css("borderTopWidth"),10)||0)+(parseInt(d(b).css("paddingTop"),10)||0)-this.margins.top,a.left+(c?Math.max(b.scrollWidth, | |
|
259 | b.offsetWidth):b.offsetWidth)-(parseInt(d(b).css("borderLeftWidth"),10)||0)-(parseInt(d(b).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,a.top+(c?Math.max(b.scrollHeight,b.offsetHeight):b.offsetHeight)-(parseInt(d(b).css("borderTopWidth"),10)||0)-(parseInt(d(b).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(a,b){if(!b)b=this.position;a=a=="absolute"?1:-1;var c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!= | |
|
260 | document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,e=/(html|body)/i.test(c[0].tagName);return{top:b.top+this.offset.relative.top*a+this.offset.parent.top*a-(d.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():e?0:c.scrollTop())*a),left:b.left+this.offset.relative.left*a+this.offset.parent.left*a-(d.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft(): | |
|
261 | e?0:c.scrollLeft())*a)}},_generatePosition:function(a){var b=this.options,c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,e=/(html|body)/i.test(c[0].tagName);if(this.cssPosition=="relative"&&!(this.scrollParent[0]!=document&&this.scrollParent[0]!=this.offsetParent[0]))this.offset.relative=this._getRelativeOffset();var f=a.pageX,g=a.pageY;if(this.originalPosition){if(this.containment){if(a.pageX- | |
|
262 | this.offset.click.left<this.containment[0])f=this.containment[0]+this.offset.click.left;if(a.pageY-this.offset.click.top<this.containment[1])g=this.containment[1]+this.offset.click.top;if(a.pageX-this.offset.click.left>this.containment[2])f=this.containment[2]+this.offset.click.left;if(a.pageY-this.offset.click.top>this.containment[3])g=this.containment[3]+this.offset.click.top}if(b.grid){g=this.originalPageY+Math.round((g-this.originalPageY)/b.grid[1])*b.grid[1];g=this.containment?!(g-this.offset.click.top< | |
|
263 | this.containment[1]||g-this.offset.click.top>this.containment[3])?g:!(g-this.offset.click.top<this.containment[1])?g-b.grid[1]:g+b.grid[1]:g;f=this.originalPageX+Math.round((f-this.originalPageX)/b.grid[0])*b.grid[0];f=this.containment?!(f-this.offset.click.left<this.containment[0]||f-this.offset.click.left>this.containment[2])?f:!(f-this.offset.click.left<this.containment[0])?f-b.grid[0]:f+b.grid[0]:f}}return{top:g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(d.browser.safari&& | |
|
264 | this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollTop():e?0:c.scrollTop()),left:f-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(d.browser.safari&&this.cssPosition=="fixed"?0:this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():e?0:c.scrollLeft())}},_rearrange:function(a,b,c,e){c?c[0].appendChild(this.placeholder[0]):b.item[0].parentNode.insertBefore(this.placeholder[0],this.direction=="down"?b.item[0]:b.item[0].nextSibling);this.counter= | |
|
265 | this.counter?++this.counter:1;var f=this,g=this.counter;window.setTimeout(function(){g==f.counter&&f.refreshPositions(!e)},0)},_clear:function(a,b){this.reverting=false;var c=[];!this._noFinalSort&&this.currentItem[0].parentNode&&this.placeholder.before(this.currentItem);this._noFinalSort=null;if(this.helper[0]==this.currentItem[0]){for(var e in this._storedCSS)if(this._storedCSS[e]=="auto"||this._storedCSS[e]=="static")this._storedCSS[e]="";this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show(); | |
|
266 | this.fromOutside&&!b&&c.push(function(f){this._trigger("receive",f,this._uiHash(this.fromOutside))});if((this.fromOutside||this.domPosition.prev!=this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!=this.currentItem.parent()[0])&&!b)c.push(function(f){this._trigger("update",f,this._uiHash())});if(!d.ui.contains(this.element[0],this.currentItem[0])){b||c.push(function(f){this._trigger("remove",f,this._uiHash())});for(e=this.containers.length-1;e>=0;e--)if(d.ui.contains(this.containers[e].element[0], | |
|
267 | this.currentItem[0])&&!b){c.push(function(f){return function(g){f._trigger("receive",g,this._uiHash(this))}}.call(this,this.containers[e]));c.push(function(f){return function(g){f._trigger("update",g,this._uiHash(this))}}.call(this,this.containers[e]))}}for(e=this.containers.length-1;e>=0;e--){b||c.push(function(f){return function(g){f._trigger("deactivate",g,this._uiHash(this))}}.call(this,this.containers[e]));if(this.containers[e].containerCache.over){c.push(function(f){return function(g){f._trigger("out", | |
|
268 | g,this._uiHash(this))}}.call(this,this.containers[e]));this.containers[e].containerCache.over=0}}this._storedCursor&&d("body").css("cursor",this._storedCursor);this._storedOpacity&&this.helper.css("opacity",this._storedOpacity);if(this._storedZIndex)this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex);this.dragging=false;if(this.cancelHelperRemoval){if(!b){this._trigger("beforeStop",a,this._uiHash());for(e=0;e<c.length;e++)c[e].call(this,a);this._trigger("stop",a,this._uiHash())}return false}b|| | |
|
269 | this._trigger("beforeStop",a,this._uiHash());this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.helper[0]!=this.currentItem[0]&&this.helper.remove();this.helper=null;if(!b){for(e=0;e<c.length;e++)c[e].call(this,a);this._trigger("stop",a,this._uiHash())}this.fromOutside=false;return true},_trigger:function(){d.Widget.prototype._trigger.apply(this,arguments)===false&&this.cancel()},_uiHash:function(a){var b=a||this;return{helper:b.helper,placeholder:b.placeholder||d([]),position:b.position, | |
|
270 | originalPosition:b.originalPosition,offset:b.positionAbs,item:b.currentItem,sender:a?a.element:null}}});d.extend(d.ui.sortable,{version:"1.8.10"})})(jQuery); | |
|
271 | ;/* | |
|
272 | * jQuery UI Accordion 1.8.10 | |
|
273 | * | |
|
274 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
275 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
276 | * http://jquery.org/license | |
|
277 | * | |
|
278 | * http://docs.jquery.com/UI/Accordion | |
|
279 | * | |
|
280 | * Depends: | |
|
281 | * jquery.ui.core.js | |
|
282 | * jquery.ui.widget.js | |
|
283 | */ | |
|
284 | (function(c){c.widget("ui.accordion",{options:{active:0,animated:"slide",autoHeight:true,clearStyle:false,collapsible:false,event:"click",fillSpace:false,header:"> li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:false,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}},_create:function(){var a=this,b=a.options;a.running=0;a.element.addClass("ui-accordion ui-widget ui-helper-reset").children("li").addClass("ui-accordion-li-fix"); | |
|
285 | a.headers=a.element.find(b.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){b.disabled||c(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){b.disabled||c(this).removeClass("ui-state-hover")}).bind("focus.accordion",function(){b.disabled||c(this).addClass("ui-state-focus")}).bind("blur.accordion",function(){b.disabled||c(this).removeClass("ui-state-focus")});a.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom"); | |
|
286 | if(b.navigation){var d=a.element.find("a").filter(b.navigationFilter).eq(0);if(d.length){var h=d.closest(".ui-accordion-header");a.active=h.length?h:d.closest(".ui-accordion-content").prev()}}a.active=a._findActive(a.active||b.active).addClass("ui-state-default ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top");a.active.next().addClass("ui-accordion-content-active");a._createIcons();a.resize();a.element.attr("role","tablist");a.headers.attr("role","tab").bind("keydown.accordion", | |
|
287 | function(f){return a._keydown(f)}).next().attr("role","tabpanel");a.headers.not(a.active||"").attr({"aria-expanded":"false",tabIndex:-1}).next().hide();a.active.length?a.active.attr({"aria-expanded":"true",tabIndex:0}):a.headers.eq(0).attr("tabIndex",0);c.browser.safari||a.headers.find("a").attr("tabIndex",-1);b.event&&a.headers.bind(b.event.split(" ").join(".accordion ")+".accordion",function(f){a._clickHandler.call(a,f,this);f.preventDefault()})},_createIcons:function(){var a=this.options;if(a.icons){c("<span></span>").addClass("ui-icon "+ | |
|
288 | a.icons.header).prependTo(this.headers);this.active.children(".ui-icon").toggleClass(a.icons.header).toggleClass(a.icons.headerSelected);this.element.addClass("ui-accordion-icons")}},_destroyIcons:function(){this.headers.children(".ui-icon").remove();this.element.removeClass("ui-accordion-icons")},destroy:function(){var a=this.options;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role");this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("tabIndex"); | |
|
289 | this.headers.find("a").removeAttr("tabIndex");this._destroyIcons();var b=this.headers.next().css("display","").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-accordion-disabled ui-state-disabled");if(a.autoHeight||a.fillHeight)b.css("height","");return c.Widget.prototype.destroy.call(this)},_setOption:function(a,b){c.Widget.prototype._setOption.apply(this,arguments);a=="active"&&this.activate(b);if(a=="icons"){this._destroyIcons(); | |
|
290 | b&&this._createIcons()}if(a=="disabled")this.headers.add(this.headers.next())[b?"addClass":"removeClass"]("ui-accordion-disabled ui-state-disabled")},_keydown:function(a){if(!(this.options.disabled||a.altKey||a.ctrlKey)){var b=c.ui.keyCode,d=this.headers.length,h=this.headers.index(a.target),f=false;switch(a.keyCode){case b.RIGHT:case b.DOWN:f=this.headers[(h+1)%d];break;case b.LEFT:case b.UP:f=this.headers[(h-1+d)%d];break;case b.SPACE:case b.ENTER:this._clickHandler({target:a.target},a.target); | |
|
291 | a.preventDefault()}if(f){c(a.target).attr("tabIndex",-1);c(f).attr("tabIndex",0);f.focus();return false}return true}},resize:function(){var a=this.options,b;if(a.fillSpace){if(c.browser.msie){var d=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}b=this.element.parent().height();c.browser.msie&&this.element.parent().css("overflow",d);this.headers.each(function(){b-=c(this).outerHeight(true)});this.headers.next().each(function(){c(this).height(Math.max(0,b-c(this).innerHeight()+ | |
|
292 | c(this).height()))}).css("overflow","auto")}else if(a.autoHeight){b=0;this.headers.next().each(function(){b=Math.max(b,c(this).height("").height())}).height(b)}return this},activate:function(a){this.options.active=a;a=this._findActive(a)[0];this._clickHandler({target:a},a);return this},_findActive:function(a){return a?typeof a==="number"?this.headers.filter(":eq("+a+")"):this.headers.not(this.headers.not(a)):a===false?c([]):this.headers.filter(":eq(0)")},_clickHandler:function(a,b){var d=this.options; | |
|
293 | if(!d.disabled)if(a.target){a=c(a.currentTarget||b);b=a[0]===this.active[0];d.active=d.collapsible&&b?false:this.headers.index(a);if(!(this.running||!d.collapsible&&b)){var h=this.active;j=a.next();g=this.active.next();e={options:d,newHeader:b&&d.collapsible?c([]):a,oldHeader:this.active,newContent:b&&d.collapsible?c([]):j,oldContent:g};var f=this.headers.index(this.active[0])>this.headers.index(a[0]);this.active=b?c([]):a;this._toggle(j,g,e,b,f);h.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header); | |
|
294 | if(!b){a.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").children(".ui-icon").removeClass(d.icons.header).addClass(d.icons.headerSelected);a.next().addClass("ui-accordion-content-active")}}}else if(d.collapsible){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header);this.active.next().addClass("ui-accordion-content-active");var g=this.active.next(), | |
|
295 | e={options:d,newHeader:c([]),oldHeader:d.active,newContent:c([]),oldContent:g},j=this.active=c([]);this._toggle(j,g,e)}},_toggle:function(a,b,d,h,f){var g=this,e=g.options;g.toShow=a;g.toHide=b;g.data=d;var j=function(){if(g)return g._completed.apply(g,arguments)};g._trigger("changestart",null,g.data);g.running=b.size()===0?a.size():b.size();if(e.animated){d={};d=e.collapsible&&h?{toShow:c([]),toHide:b,complete:j,down:f,autoHeight:e.autoHeight||e.fillSpace}:{toShow:a,toHide:b,complete:j,down:f,autoHeight:e.autoHeight|| | |
|
296 | e.fillSpace};if(!e.proxied)e.proxied=e.animated;if(!e.proxiedDuration)e.proxiedDuration=e.duration;e.animated=c.isFunction(e.proxied)?e.proxied(d):e.proxied;e.duration=c.isFunction(e.proxiedDuration)?e.proxiedDuration(d):e.proxiedDuration;h=c.ui.accordion.animations;var i=e.duration,k=e.animated;if(k&&!h[k]&&!c.easing[k])k="slide";h[k]||(h[k]=function(l){this.slide(l,{easing:k,duration:i||700})});h[k](d)}else{if(e.collapsible&&h)a.toggle();else{b.hide();a.show()}j(true)}b.prev().attr({"aria-expanded":"false", | |
|
297 | tabIndex:-1}).blur();a.prev().attr({"aria-expanded":"true",tabIndex:0}).focus()},_completed:function(a){this.running=a?0:--this.running;if(!this.running){this.options.clearStyle&&this.toShow.add(this.toHide).css({height:"",overflow:""});this.toHide.removeClass("ui-accordion-content-active");if(this.toHide.length)this.toHide.parent()[0].className=this.toHide.parent()[0].className;this._trigger("change",null,this.data)}}});c.extend(c.ui.accordion,{version:"1.8.10",animations:{slide:function(a,b){a= | |
|
298 | c.extend({easing:"swing",duration:300},a,b);if(a.toHide.size())if(a.toShow.size()){var d=a.toShow.css("overflow"),h=0,f={},g={},e;b=a.toShow;e=b[0].style.width;b.width(parseInt(b.parent().width(),10)-parseInt(b.css("paddingLeft"),10)-parseInt(b.css("paddingRight"),10)-(parseInt(b.css("borderLeftWidth"),10)||0)-(parseInt(b.css("borderRightWidth"),10)||0));c.each(["height","paddingTop","paddingBottom"],function(j,i){g[i]="hide";j=(""+c.css(a.toShow[0],i)).match(/^([\d+-.]+)(.*)$/);f[i]={value:j[1], | |
|
299 | unit:j[2]||"px"}});a.toShow.css({height:0,overflow:"hidden"}).show();a.toHide.filter(":hidden").each(a.complete).end().filter(":visible").animate(g,{step:function(j,i){if(i.prop=="height")h=i.end-i.start===0?0:(i.now-i.start)/(i.end-i.start);a.toShow[0].style[i.prop]=h*f[i.prop].value+f[i.prop].unit},duration:a.duration,easing:a.easing,complete:function(){a.autoHeight||a.toShow.css("height","");a.toShow.css({width:e,overflow:d});a.complete()}})}else a.toHide.animate({height:"hide",paddingTop:"hide", | |
|
300 | paddingBottom:"hide"},a);else a.toShow.animate({height:"show",paddingTop:"show",paddingBottom:"show"},a)},bounceslide:function(a){this.slide(a,{easing:a.down?"easeOutBounce":"swing",duration:a.down?1E3:200})}}})})(jQuery); | |
|
301 | ;/* | |
|
302 | * jQuery UI Autocomplete 1.8.10 | |
|
303 | * | |
|
304 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
305 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
306 | * http://jquery.org/license | |
|
307 | * | |
|
308 | * http://docs.jquery.com/UI/Autocomplete | |
|
309 | * | |
|
310 | * Depends: | |
|
311 | * jquery.ui.core.js | |
|
312 | * jquery.ui.widget.js | |
|
313 | * jquery.ui.position.js | |
|
314 | */ | |
|
315 | (function(d){var e=0;d.widget("ui.autocomplete",{options:{appendTo:"body",delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var a=this,b=this.element[0].ownerDocument,g;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(c){if(!(a.options.disabled||a.element.attr("readonly"))){g=false;var f=d.ui.keyCode; | |
|
316 | switch(c.keyCode){case f.PAGE_UP:a._move("previousPage",c);break;case f.PAGE_DOWN:a._move("nextPage",c);break;case f.UP:a._move("previous",c);c.preventDefault();break;case f.DOWN:a._move("next",c);c.preventDefault();break;case f.ENTER:case f.NUMPAD_ENTER:if(a.menu.active){g=true;c.preventDefault()}case f.TAB:if(!a.menu.active)return;a.menu.select(c);break;case f.ESCAPE:a.element.val(a.term);a.close(c);break;default:clearTimeout(a.searching);a.searching=setTimeout(function(){if(a.term!=a.element.val()){a.selectedItem= | |
|
317 | null;a.search(null,c)}},a.options.delay);break}}}).bind("keypress.autocomplete",function(c){if(g){g=false;c.preventDefault()}}).bind("focus.autocomplete",function(){if(!a.options.disabled){a.selectedItem=null;a.previous=a.element.val()}}).bind("blur.autocomplete",function(c){if(!a.options.disabled){clearTimeout(a.searching);a.closing=setTimeout(function(){a.close(c);a._change(c)},150)}});this._initSource();this.response=function(){return a._response.apply(a,arguments)};this.menu=d("<ul></ul>").addClass("ui-autocomplete").appendTo(d(this.options.appendTo|| | |
|
318 | "body",b)[0]).mousedown(function(c){var f=a.menu.element[0];d(c.target).closest(".ui-menu-item").length||setTimeout(function(){d(document).one("mousedown",function(h){h.target!==a.element[0]&&h.target!==f&&!d.ui.contains(f,h.target)&&a.close()})},1);setTimeout(function(){clearTimeout(a.closing)},13)}).menu({focus:function(c,f){f=f.item.data("item.autocomplete");false!==a._trigger("focus",c,{item:f})&&/^key/.test(c.originalEvent.type)&&a.element.val(f.value)},selected:function(c,f){var h=f.item.data("item.autocomplete"), | |
|
319 | i=a.previous;if(a.element[0]!==b.activeElement){a.element.focus();a.previous=i;setTimeout(function(){a.previous=i;a.selectedItem=h},1)}false!==a._trigger("select",c,{item:h})&&a.element.val(h.value);a.term=a.element.val();a.close(c);a.selectedItem=h},blur:function(){a.menu.element.is(":visible")&&a.element.val()!==a.term&&a.element.val(a.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu");d.fn.bgiframe&&this.menu.element.bgiframe()},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup"); | |
|
320 | this.menu.element.remove();d.Widget.prototype.destroy.call(this)},_setOption:function(a,b){d.Widget.prototype._setOption.apply(this,arguments);a==="source"&&this._initSource();if(a==="appendTo")this.menu.element.appendTo(d(b||"body",this.element[0].ownerDocument)[0]);a==="disabled"&&b&&this.xhr&&this.xhr.abort()},_initSource:function(){var a=this,b,g;if(d.isArray(this.options.source)){b=this.options.source;this.source=function(c,f){f(d.ui.autocomplete.filter(b,c.term))}}else if(typeof this.options.source=== | |
|
321 | "string"){g=this.options.source;this.source=function(c,f){a.xhr&&a.xhr.abort();a.xhr=d.ajax({url:g,data:c,dataType:"json",autocompleteRequest:++e,success:function(h){this.autocompleteRequest===e&&f(h)},error:function(){this.autocompleteRequest===e&&f([])}})}}else this.source=this.options.source},search:function(a,b){a=a!=null?a:this.element.val();this.term=this.element.val();if(a.length<this.options.minLength)return this.close(b);clearTimeout(this.closing);if(this._trigger("search",b)!==false)return this._search(a)}, | |
|
322 | _search:function(a){this.pending++;this.element.addClass("ui-autocomplete-loading");this.source({term:a},this.response)},_response:function(a){if(!this.options.disabled&&a&&a.length){a=this._normalize(a);this._suggest(a);this._trigger("open")}else this.close();this.pending--;this.pending||this.element.removeClass("ui-autocomplete-loading")},close:function(a){clearTimeout(this.closing);if(this.menu.element.is(":visible")){this.menu.element.hide();this.menu.deactivate();this._trigger("close",a)}},_change:function(a){this.previous!== | |
|
323 | this.element.val()&&this._trigger("change",a,{item:this.selectedItem})},_normalize:function(a){if(a.length&&a[0].label&&a[0].value)return a;return d.map(a,function(b){if(typeof b==="string")return{label:b,value:b};return d.extend({label:b.label||b.value,value:b.value||b.label},b)})},_suggest:function(a){var b=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(b,a);this.menu.deactivate();this.menu.refresh();b.show();this._resizeMenu();b.position(d.extend({of:this.element},this.options.position))}, | |
|
324 | _resizeMenu:function(){var a=this.menu.element;a.outerWidth(Math.max(a.width("").outerWidth(),this.element.outerWidth()))},_renderMenu:function(a,b){var g=this;d.each(b,function(c,f){g._renderItem(a,f)})},_renderItem:function(a,b){return d("<li></li>").data("item.autocomplete",b).append(d("<a></a>").text(b.label)).appendTo(a)},_move:function(a,b){if(this.menu.element.is(":visible"))if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term);this.menu.deactivate()}else this.menu[a](b); | |
|
325 | else this.search(null,b)},widget:function(){return this.menu.element}});d.extend(d.ui.autocomplete,{escapeRegex:function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},filter:function(a,b){var g=new RegExp(d.ui.autocomplete.escapeRegex(b),"i");return d.grep(a,function(c){return g.test(c.label||c.value||c)})}})})(jQuery); | |
|
326 | (function(d){d.widget("ui.menu",{_create:function(){var e=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(a){if(d(a.target).closest(".ui-menu-item a").length){a.preventDefault();e.select(a)}});this.refresh()},refresh:function(){var e=this;this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem").children("a").addClass("ui-corner-all").attr("tabindex", | |
|
327 | -1).mouseenter(function(a){e.activate(a,d(this).parent())}).mouseleave(function(){e.deactivate()})},activate:function(e,a){this.deactivate();if(this.hasScroll()){var b=a.offset().top-this.element.offset().top,g=this.element.attr("scrollTop"),c=this.element.height();if(b<0)this.element.attr("scrollTop",g+b);else b>=c&&this.element.attr("scrollTop",g+b-c+a.height())}this.active=a.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end();this._trigger("focus",e,{item:a})}, | |
|
328 | deactivate:function(){if(this.active){this.active.children("a").removeClass("ui-state-hover").removeAttr("id");this._trigger("blur");this.active=null}},next:function(e){this.move("next",".ui-menu-item:first",e)},previous:function(e){this.move("prev",".ui-menu-item:last",e)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},move:function(e,a,b){if(this.active){e=this.active[e+"All"](".ui-menu-item").eq(0); | |
|
329 | e.length?this.activate(b,e):this.activate(b,this.element.children(a))}else this.activate(b,this.element.children(a))},nextPage:function(e){if(this.hasScroll())if(!this.active||this.last())this.activate(e,this.element.children(".ui-menu-item:first"));else{var a=this.active.offset().top,b=this.element.height(),g=this.element.children(".ui-menu-item").filter(function(){var c=d(this).offset().top-a-b+d(this).height();return c<10&&c>-10});g.length||(g=this.element.children(".ui-menu-item:last"));this.activate(e, | |
|
330 | g)}else this.activate(e,this.element.children(".ui-menu-item").filter(!this.active||this.last()?":first":":last"))},previousPage:function(e){if(this.hasScroll())if(!this.active||this.first())this.activate(e,this.element.children(".ui-menu-item:last"));else{var a=this.active.offset().top,b=this.element.height();result=this.element.children(".ui-menu-item").filter(function(){var g=d(this).offset().top-a+b-d(this).height();return g<10&&g>-10});result.length||(result=this.element.children(".ui-menu-item:first")); | |
|
331 | this.activate(e,result)}else this.activate(e,this.element.children(".ui-menu-item").filter(!this.active||this.first()?":last":":first"))},hasScroll:function(){return this.element.height()<this.element.attr("scrollHeight")},select:function(e){this._trigger("selected",e,{item:this.active})}})})(jQuery); | |
|
332 | ;/* | |
|
333 | * jQuery UI Button 1.8.10 | |
|
334 | * | |
|
335 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
336 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
337 | * http://jquery.org/license | |
|
338 | * | |
|
339 | * http://docs.jquery.com/UI/Button | |
|
340 | * | |
|
341 | * Depends: | |
|
342 | * jquery.ui.core.js | |
|
343 | * jquery.ui.widget.js | |
|
344 | */ | |
|
345 | (function(a){var g,i=function(b){a(":ui-button",b.target.form).each(function(){var c=a(this).data("button");setTimeout(function(){c.refresh()},1)})},h=function(b){var c=b.name,d=b.form,f=a([]);if(c)f=d?a(d).find("[name='"+c+"']"):a("[name='"+c+"']",b.ownerDocument).filter(function(){return!this.form});return f};a.widget("ui.button",{options:{disabled:null,text:true,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset.button").bind("reset.button", | |
|
346 | i);if(typeof this.options.disabled!=="boolean")this.options.disabled=this.element.attr("disabled");this._determineButtonType();this.hasTitle=!!this.buttonElement.attr("title");var b=this,c=this.options,d=this.type==="checkbox"||this.type==="radio",f="ui-state-hover"+(!d?" ui-state-active":"");if(c.label===null)c.label=this.buttonElement.html();if(this.element.is(":disabled"))c.disabled=true;this.buttonElement.addClass("ui-button ui-widget ui-state-default ui-corner-all").attr("role","button").bind("mouseenter.button", | |
|
347 | function(){if(!c.disabled){a(this).addClass("ui-state-hover");this===g&&a(this).addClass("ui-state-active")}}).bind("mouseleave.button",function(){c.disabled||a(this).removeClass(f)}).bind("focus.button",function(){a(this).addClass("ui-state-focus")}).bind("blur.button",function(){a(this).removeClass("ui-state-focus")});d&&this.element.bind("change.button",function(){b.refresh()});if(this.type==="checkbox")this.buttonElement.bind("click.button",function(){if(c.disabled)return false;a(this).toggleClass("ui-state-active"); | |
|
348 | b.buttonElement.attr("aria-pressed",b.element[0].checked)});else if(this.type==="radio")this.buttonElement.bind("click.button",function(){if(c.disabled)return false;a(this).addClass("ui-state-active");b.buttonElement.attr("aria-pressed",true);var e=b.element[0];h(e).not(e).map(function(){return a(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed",false)});else{this.buttonElement.bind("mousedown.button",function(){if(c.disabled)return false;a(this).addClass("ui-state-active"); | |
|
349 | g=this;a(document).one("mouseup",function(){g=null})}).bind("mouseup.button",function(){if(c.disabled)return false;a(this).removeClass("ui-state-active")}).bind("keydown.button",function(e){if(c.disabled)return false;if(e.keyCode==a.ui.keyCode.SPACE||e.keyCode==a.ui.keyCode.ENTER)a(this).addClass("ui-state-active")}).bind("keyup.button",function(){a(this).removeClass("ui-state-active")});this.buttonElement.is("a")&&this.buttonElement.keyup(function(e){e.keyCode===a.ui.keyCode.SPACE&&a(this).click()})}this._setOption("disabled", | |
|
350 | c.disabled)},_determineButtonType:function(){this.type=this.element.is(":checkbox")?"checkbox":this.element.is(":radio")?"radio":this.element.is("input")?"input":"button";if(this.type==="checkbox"||this.type==="radio"){this.buttonElement=this.element.parents().last().find("label[for="+this.element.attr("id")+"]");this.element.addClass("ui-helper-hidden-accessible");var b=this.element.is(":checked");b&&this.buttonElement.addClass("ui-state-active");this.buttonElement.attr("aria-pressed",b)}else this.buttonElement= | |
|
351 | this.element},widget:function(){return this.buttonElement},destroy:function(){this.element.removeClass("ui-helper-hidden-accessible");this.buttonElement.removeClass("ui-button ui-widget ui-state-default ui-corner-all ui-state-hover ui-state-active ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only").removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html());this.hasTitle|| | |
|
352 | this.buttonElement.removeAttr("title");a.Widget.prototype.destroy.call(this)},_setOption:function(b,c){a.Widget.prototype._setOption.apply(this,arguments);if(b==="disabled")c?this.element.attr("disabled",true):this.element.removeAttr("disabled");this._resetButton()},refresh:function(){var b=this.element.is(":disabled");b!==this.options.disabled&&this._setOption("disabled",b);if(this.type==="radio")h(this.element[0]).each(function(){a(this).is(":checked")?a(this).button("widget").addClass("ui-state-active").attr("aria-pressed", | |
|
353 | true):a(this).button("widget").removeClass("ui-state-active").attr("aria-pressed",false)});else if(this.type==="checkbox")this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed",true):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed",false)},_resetButton:function(){if(this.type==="input")this.options.label&&this.element.val(this.options.label);else{var b=this.buttonElement.removeClass("ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only"), | |
|
354 | c=a("<span></span>").addClass("ui-button-text").html(this.options.label).appendTo(b.empty()).text(),d=this.options.icons,f=d.primary&&d.secondary,e=[];if(d.primary||d.secondary){e.push("ui-button-text-icon"+(f?"s":d.primary?"-primary":"-secondary"));d.primary&&b.prepend("<span class='ui-button-icon-primary ui-icon "+d.primary+"'></span>");d.secondary&&b.append("<span class='ui-button-icon-secondary ui-icon "+d.secondary+"'></span>");if(!this.options.text){e.push(f?"ui-button-icons-only":"ui-button-icon-only"); | |
|
355 | b.removeClass("ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary");this.hasTitle||b.attr("title",c)}}else e.push("ui-button-text-only");b.addClass(e.join(" "))}}});a.widget("ui.buttonset",{options:{items:":button, :submit, :reset, :checkbox, :radio, a, :data(button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(b,c){b==="disabled"&&this.buttons.button("option",b,c);a.Widget.prototype._setOption.apply(this, | |
|
356 | arguments)},refresh:function(){this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass("ui-corner-left").end().filter(":last").addClass("ui-corner-right").end().end()},destroy:function(){this.element.removeClass("ui-buttonset");this.buttons.map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy"); | |
|
357 | a.Widget.prototype.destroy.call(this)}})})(jQuery); | |
|
358 | ;/* | |
|
359 | * jQuery UI Dialog 1.8.10 | |
|
360 | * | |
|
361 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
362 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
363 | * http://jquery.org/license | |
|
364 | * | |
|
365 | * http://docs.jquery.com/UI/Dialog | |
|
366 | * | |
|
367 | * Depends: | |
|
368 | * jquery.ui.core.js | |
|
369 | * jquery.ui.widget.js | |
|
370 | * jquery.ui.button.js | |
|
371 | * jquery.ui.draggable.js | |
|
372 | * jquery.ui.mouse.js | |
|
373 | * jquery.ui.position.js | |
|
374 | * jquery.ui.resizable.js | |
|
375 | */ | |
|
376 | (function(c,j){var k={buttons:true,height:true,maxHeight:true,maxWidth:true,minHeight:true,minWidth:true,width:true},l={maxHeight:true,maxWidth:true,minHeight:true,minWidth:true};c.widget("ui.dialog",{options:{autoOpen:true,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,position:{my:"center",at:"center",collision:"fit",using:function(a){var b=c(this).css(a).offset().top;b<0&& | |
|
377 | c(this).css("top",a.top-b)}},resizable:true,show:null,stack:true,title:"",width:300,zIndex:1E3},_create:function(){this.originalTitle=this.element.attr("title");if(typeof this.originalTitle!=="string")this.originalTitle="";this.options.title=this.options.title||this.originalTitle;var a=this,b=a.options,d=b.title||" ",e=c.ui.dialog.getTitleId(a.element),g=(a.uiDialog=c("<div></div>")).appendTo(document.body).hide().addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+b.dialogClass).css({zIndex:b.zIndex}).attr("tabIndex", | |
|
378 | -1).css("outline",0).keydown(function(i){if(b.closeOnEscape&&i.keyCode&&i.keyCode===c.ui.keyCode.ESCAPE){a.close(i);i.preventDefault()}}).attr({role:"dialog","aria-labelledby":e}).mousedown(function(i){a.moveToTop(false,i)});a.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(g);var f=(a.uiDialogTitlebar=c("<div></div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(g),h=c('<a href="#"></a>').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role", | |
|
379 | "button").hover(function(){h.addClass("ui-state-hover")},function(){h.removeClass("ui-state-hover")}).focus(function(){h.addClass("ui-state-focus")}).blur(function(){h.removeClass("ui-state-focus")}).click(function(i){a.close(i);return false}).appendTo(f);(a.uiDialogTitlebarCloseText=c("<span></span>")).addClass("ui-icon ui-icon-closethick").text(b.closeText).appendTo(h);c("<span></span>").addClass("ui-dialog-title").attr("id",e).html(d).prependTo(f);if(c.isFunction(b.beforeclose)&&!c.isFunction(b.beforeClose))b.beforeClose= | |
|
380 | b.beforeclose;f.find("*").add(f).disableSelection();b.draggable&&c.fn.draggable&&a._makeDraggable();b.resizable&&c.fn.resizable&&a._makeResizable();a._createButtons(b.buttons);a._isOpen=false;c.fn.bgiframe&&g.bgiframe()},_init:function(){this.options.autoOpen&&this.open()},destroy:function(){var a=this;a.overlay&&a.overlay.destroy();a.uiDialog.hide();a.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body");a.uiDialog.remove();a.originalTitle&& | |
|
381 | a.element.attr("title",a.originalTitle);return a},widget:function(){return this.uiDialog},close:function(a){var b=this,d,e;if(false!==b._trigger("beforeClose",a)){b.overlay&&b.overlay.destroy();b.uiDialog.unbind("keypress.ui-dialog");b._isOpen=false;if(b.options.hide)b.uiDialog.hide(b.options.hide,function(){b._trigger("close",a)});else{b.uiDialog.hide();b._trigger("close",a)}c.ui.dialog.overlay.resize();if(b.options.modal){d=0;c(".ui-dialog").each(function(){if(this!==b.uiDialog[0]){e=c(this).css("z-index"); | |
|
382 | isNaN(e)||(d=Math.max(d,e))}});c.ui.dialog.maxZ=d}return b}},isOpen:function(){return this._isOpen},moveToTop:function(a,b){var d=this,e=d.options;if(e.modal&&!a||!e.stack&&!e.modal)return d._trigger("focus",b);if(e.zIndex>c.ui.dialog.maxZ)c.ui.dialog.maxZ=e.zIndex;if(d.overlay){c.ui.dialog.maxZ+=1;d.overlay.$el.css("z-index",c.ui.dialog.overlay.maxZ=c.ui.dialog.maxZ)}a={scrollTop:d.element.attr("scrollTop"),scrollLeft:d.element.attr("scrollLeft")};c.ui.dialog.maxZ+=1;d.uiDialog.css("z-index",c.ui.dialog.maxZ); | |
|
383 | d.element.attr(a);d._trigger("focus",b);return d},open:function(){if(!this._isOpen){var a=this,b=a.options,d=a.uiDialog;a.overlay=b.modal?new c.ui.dialog.overlay(a):null;a._size();a._position(b.position);d.show(b.show);a.moveToTop(true);b.modal&&d.bind("keypress.ui-dialog",function(e){if(e.keyCode===c.ui.keyCode.TAB){var g=c(":tabbable",this),f=g.filter(":first");g=g.filter(":last");if(e.target===g[0]&&!e.shiftKey){f.focus(1);return false}else if(e.target===f[0]&&e.shiftKey){g.focus(1);return false}}}); | |
|
384 | c(a.element.find(":tabbable").get().concat(d.find(".ui-dialog-buttonpane :tabbable").get().concat(d.get()))).eq(0).focus();a._isOpen=true;a._trigger("open");return a}},_createButtons:function(a){var b=this,d=false,e=c("<div></div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),g=c("<div></div>").addClass("ui-dialog-buttonset").appendTo(e);b.uiDialog.find(".ui-dialog-buttonpane").remove();typeof a==="object"&&a!==null&&c.each(a,function(){return!(d=true)});if(d){c.each(a,function(f, | |
|
385 | h){h=c.isFunction(h)?{click:h,text:f}:h;f=c('<button type="button"></button>').attr(h,true).unbind("click").click(function(){h.click.apply(b.element[0],arguments)}).appendTo(g);c.fn.button&&f.button()});e.appendTo(b.uiDialog)}},_makeDraggable:function(){function a(f){return{position:f.position,offset:f.offset}}var b=this,d=b.options,e=c(document),g;b.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(f,h){g= | |
|
386 | d.height==="auto"?"auto":c(this).height();c(this).height(c(this).height()).addClass("ui-dialog-dragging");b._trigger("dragStart",f,a(h))},drag:function(f,h){b._trigger("drag",f,a(h))},stop:function(f,h){d.position=[h.position.left-e.scrollLeft(),h.position.top-e.scrollTop()];c(this).removeClass("ui-dialog-dragging").height(g);b._trigger("dragStop",f,a(h));c.ui.dialog.overlay.resize()}})},_makeResizable:function(a){function b(f){return{originalPosition:f.originalPosition,originalSize:f.originalSize, | |
|
387 | position:f.position,size:f.size}}a=a===j?this.options.resizable:a;var d=this,e=d.options,g=d.uiDialog.css("position");a=typeof a==="string"?a:"n,e,s,w,se,sw,ne,nw";d.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:d.element,maxWidth:e.maxWidth,maxHeight:e.maxHeight,minWidth:e.minWidth,minHeight:d._minHeight(),handles:a,start:function(f,h){c(this).addClass("ui-dialog-resizing");d._trigger("resizeStart",f,b(h))},resize:function(f,h){d._trigger("resize",f,b(h))},stop:function(f, | |
|
388 | h){c(this).removeClass("ui-dialog-resizing");e.height=c(this).height();e.width=c(this).width();d._trigger("resizeStop",f,b(h));c.ui.dialog.overlay.resize()}}).css("position",g).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var a=this.options;return a.height==="auto"?a.minHeight:Math.min(a.minHeight,a.height)},_position:function(a){var b=[],d=[0,0],e;if(a){if(typeof a==="string"||typeof a==="object"&&"0"in a){b=a.split?a.split(" "):[a[0],a[1]];if(b.length=== | |
|
389 | 1)b[1]=b[0];c.each(["left","top"],function(g,f){if(+b[g]===b[g]){d[g]=b[g];b[g]=f}});a={my:b.join(" "),at:b.join(" "),offset:d.join(" ")}}a=c.extend({},c.ui.dialog.prototype.options.position,a)}else a=c.ui.dialog.prototype.options.position;(e=this.uiDialog.is(":visible"))||this.uiDialog.show();this.uiDialog.css({top:0,left:0}).position(c.extend({of:window},a));e||this.uiDialog.hide()},_setOptions:function(a){var b=this,d={},e=false;c.each(a,function(g,f){b._setOption(g,f);if(g in k)e=true;if(g in | |
|
390 | l)d[g]=f});e&&this._size();this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option",d)},_setOption:function(a,b){var d=this,e=d.uiDialog;switch(a){case "beforeclose":a="beforeClose";break;case "buttons":d._createButtons(b);break;case "closeText":d.uiDialogTitlebarCloseText.text(""+b);break;case "dialogClass":e.removeClass(d.options.dialogClass).addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+b);break;case "disabled":b?e.addClass("ui-dialog-disabled"):e.removeClass("ui-dialog-disabled"); | |
|
391 | break;case "draggable":var g=e.is(":data(draggable)");g&&!b&&e.draggable("destroy");!g&&b&&d._makeDraggable();break;case "position":d._position(b);break;case "resizable":(g=e.is(":data(resizable)"))&&!b&&e.resizable("destroy");g&&typeof b==="string"&&e.resizable("option","handles",b);!g&&b!==false&&d._makeResizable(b);break;case "title":c(".ui-dialog-title",d.uiDialogTitlebar).html(""+(b||" "));break}c.Widget.prototype._setOption.apply(d,arguments)},_size:function(){var a=this.options,b,d,e= | |
|
392 | this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0});if(a.minWidth>a.width)a.width=a.minWidth;b=this.uiDialog.css({height:"auto",width:a.width}).height();d=Math.max(0,a.minHeight-b);if(a.height==="auto")if(c.support.minHeight)this.element.css({minHeight:d,height:"auto"});else{this.uiDialog.show();a=this.element.css("height","auto").height();e||this.uiDialog.hide();this.element.height(Math.max(a,d))}else this.element.height(Math.max(a.height-b,0));this.uiDialog.is(":data(resizable)")&& | |
|
393 | this.uiDialog.resizable("option","minHeight",this._minHeight())}});c.extend(c.ui.dialog,{version:"1.8.10",uuid:0,maxZ:0,getTitleId:function(a){a=a.attr("id");if(!a){this.uuid+=1;a=this.uuid}return"ui-dialog-title-"+a},overlay:function(a){this.$el=c.ui.dialog.overlay.create(a)}});c.extend(c.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:c.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(a){return a+".dialog-overlay"}).join(" "),create:function(a){if(this.instances.length=== | |
|
394 | 0){setTimeout(function(){c.ui.dialog.overlay.instances.length&&c(document).bind(c.ui.dialog.overlay.events,function(d){if(c(d.target).zIndex()<c.ui.dialog.overlay.maxZ)return false})},1);c(document).bind("keydown.dialog-overlay",function(d){if(a.options.closeOnEscape&&d.keyCode&&d.keyCode===c.ui.keyCode.ESCAPE){a.close(d);d.preventDefault()}});c(window).bind("resize.dialog-overlay",c.ui.dialog.overlay.resize)}var b=(this.oldInstances.pop()||c("<div></div>").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(), | |
|
395 | height:this.height()});c.fn.bgiframe&&b.bgiframe();this.instances.push(b);return b},destroy:function(a){var b=c.inArray(a,this.instances);b!=-1&&this.oldInstances.push(this.instances.splice(b,1)[0]);this.instances.length===0&&c([document,window]).unbind(".dialog-overlay");a.remove();var d=0;c.each(this.instances,function(){d=Math.max(d,this.css("z-index"))});this.maxZ=d},height:function(){var a,b;if(c.browser.msie&&c.browser.version<7){a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight); | |
|
396 | b=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);return a<b?c(window).height()+"px":a+"px"}else return c(document).height()+"px"},width:function(){var a,b;if(c.browser.msie&&c.browser.version<7){a=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth);b=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth);return a<b?c(window).width()+"px":a+"px"}else return c(document).width()+"px"},resize:function(){var a=c([]);c.each(c.ui.dialog.overlay.instances, | |
|
397 | function(){a=a.add(this)});a.css({width:0,height:0}).css({width:c.ui.dialog.overlay.width(),height:c.ui.dialog.overlay.height()})}});c.extend(c.ui.dialog.overlay.prototype,{destroy:function(){c.ui.dialog.overlay.destroy(this.$el)}})})(jQuery); | |
|
398 | ;/* | |
|
399 | * jQuery UI Slider 1.8.10 | |
|
400 | * | |
|
401 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
402 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
403 | * http://jquery.org/license | |
|
404 | * | |
|
405 | * http://docs.jquery.com/UI/Slider | |
|
406 | * | |
|
407 | * Depends: | |
|
408 | * jquery.ui.core.js | |
|
409 | * jquery.ui.mouse.js | |
|
410 | * jquery.ui.widget.js | |
|
411 | */ | |
|
412 | (function(d){d.widget("ui.slider",d.ui.mouse,{widgetEventPrefix:"slide",options:{animate:false,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null},_create:function(){var b=this,a=this.options;this._mouseSliding=this._keySliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all");a.disabled&&this.element.addClass("ui-slider-disabled ui-disabled"); | |
|
413 | this.range=d([]);if(a.range){if(a.range===true){this.range=d("<div></div>");if(!a.values)a.values=[this._valueMin(),this._valueMin()];if(a.values.length&&a.values.length!==2)a.values=[a.values[0],a.values[0]]}else this.range=d("<div></div>");this.range.appendTo(this.element).addClass("ui-slider-range");if(a.range==="min"||a.range==="max")this.range.addClass("ui-slider-range-"+a.range);this.range.addClass("ui-widget-header")}d(".ui-slider-handle",this.element).length===0&&d("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle"); | |
|
414 | if(a.values&&a.values.length)for(;d(".ui-slider-handle",this.element).length<a.values.length;)d("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle");this.handles=d(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(c){c.preventDefault()}).hover(function(){a.disabled||d(this).addClass("ui-state-hover")},function(){d(this).removeClass("ui-state-hover")}).focus(function(){if(a.disabled)d(this).blur(); | |
|
415 | else{d(".ui-slider .ui-state-focus").removeClass("ui-state-focus");d(this).addClass("ui-state-focus")}}).blur(function(){d(this).removeClass("ui-state-focus")});this.handles.each(function(c){d(this).data("index.ui-slider-handle",c)});this.handles.keydown(function(c){var e=true,f=d(this).data("index.ui-slider-handle"),h,g,i;if(!b.options.disabled){switch(c.keyCode){case d.ui.keyCode.HOME:case d.ui.keyCode.END:case d.ui.keyCode.PAGE_UP:case d.ui.keyCode.PAGE_DOWN:case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:e= | |
|
416 | false;if(!b._keySliding){b._keySliding=true;d(this).addClass("ui-state-active");h=b._start(c,f);if(h===false)return}break}i=b.options.step;h=b.options.values&&b.options.values.length?(g=b.values(f)):(g=b.value());switch(c.keyCode){case d.ui.keyCode.HOME:g=b._valueMin();break;case d.ui.keyCode.END:g=b._valueMax();break;case d.ui.keyCode.PAGE_UP:g=b._trimAlignValue(h+(b._valueMax()-b._valueMin())/5);break;case d.ui.keyCode.PAGE_DOWN:g=b._trimAlignValue(h-(b._valueMax()-b._valueMin())/5);break;case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:if(h=== | |
|
417 | b._valueMax())return;g=b._trimAlignValue(h+i);break;case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:if(h===b._valueMin())return;g=b._trimAlignValue(h-i);break}b._slide(c,f,g);return e}}).keyup(function(c){var e=d(this).data("index.ui-slider-handle");if(b._keySliding){b._keySliding=false;b._stop(c,e);b._change(c,e);d(this).removeClass("ui-state-active")}});this._refreshValue();this._animateOff=false},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider"); | |
|
418 | this._mouseDestroy();return this},_mouseCapture:function(b){var a=this.options,c,e,f,h,g;if(a.disabled)return false;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();c=this._normValueFromMouse({x:b.pageX,y:b.pageY});e=this._valueMax()-this._valueMin()+1;h=this;this.handles.each(function(i){var j=Math.abs(c-h.values(i));if(e>j){e=j;f=d(this);g=i}});if(a.range===true&&this.values(1)===a.min){g+=1;f=d(this.handles[g])}if(this._start(b, | |
|
419 | g)===false)return false;this._mouseSliding=true;h._handleIndex=g;f.addClass("ui-state-active").focus();a=f.offset();this._clickOffset=!d(b.target).parents().andSelf().is(".ui-slider-handle")?{left:0,top:0}:{left:b.pageX-a.left-f.width()/2,top:b.pageY-a.top-f.height()/2-(parseInt(f.css("borderTopWidth"),10)||0)-(parseInt(f.css("borderBottomWidth"),10)||0)+(parseInt(f.css("marginTop"),10)||0)};this.handles.hasClass("ui-state-hover")||this._slide(b,g,c);return this._animateOff=true},_mouseStart:function(){return true}, | |
|
420 | _mouseDrag:function(b){var a=this._normValueFromMouse({x:b.pageX,y:b.pageY});this._slide(b,this._handleIndex,a);return false},_mouseStop:function(b){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(b,this._handleIndex);this._change(b,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=false},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(b){var a; | |
|
421 | if(this.orientation==="horizontal"){a=this.elementSize.width;b=b.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{a=this.elementSize.height;b=b.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}a=b/a;if(a>1)a=1;if(a<0)a=0;if(this.orientation==="vertical")a=1-a;b=this._valueMax()-this._valueMin();return this._trimAlignValue(this._valueMin()+a*b)},_start:function(b,a){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value= | |
|
422 | this.values(a);c.values=this.values()}return this._trigger("start",b,c)},_slide:function(b,a,c){var e;if(this.options.values&&this.options.values.length){e=this.values(a?0:1);if(this.options.values.length===2&&this.options.range===true&&(a===0&&c>e||a===1&&c<e))c=e;if(c!==this.values(a)){e=this.values();e[a]=c;b=this._trigger("slide",b,{handle:this.handles[a],value:c,values:e});this.values(a?0:1);b!==false&&this.values(a,c,true)}}else if(c!==this.value()){b=this._trigger("slide",b,{handle:this.handles[a], | |
|
423 | value:c});b!==false&&this.value(c)}},_stop:function(b,a){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(a);c.values=this.values()}this._trigger("stop",b,c)},_change:function(b,a){if(!this._keySliding&&!this._mouseSliding){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value=this.values(a);c.values=this.values()}this._trigger("change",b,c)}},value:function(b){if(arguments.length){this.options.value= | |
|
424 | this._trimAlignValue(b);this._refreshValue();this._change(null,0)}return this._value()},values:function(b,a){var c,e,f;if(arguments.length>1){this.options.values[b]=this._trimAlignValue(a);this._refreshValue();this._change(null,b)}if(arguments.length)if(d.isArray(arguments[0])){c=this.options.values;e=arguments[0];for(f=0;f<c.length;f+=1){c[f]=this._trimAlignValue(e[f]);this._change(null,f)}this._refreshValue()}else return this.options.values&&this.options.values.length?this._values(b):this.value(); | |
|
425 | else return this._values()},_setOption:function(b,a){var c,e=0;if(d.isArray(this.options.values))e=this.options.values.length;d.Widget.prototype._setOption.apply(this,arguments);switch(b){case "disabled":if(a){this.handles.filter(".ui-state-focus").blur();this.handles.removeClass("ui-state-hover");this.handles.attr("disabled","disabled");this.element.addClass("ui-disabled")}else{this.handles.removeAttr("disabled");this.element.removeClass("ui-disabled")}break;case "orientation":this._detectOrientation(); | |
|
426 | this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue();break;case "value":this._animateOff=true;this._refreshValue();this._change(null,0);this._animateOff=false;break;case "values":this._animateOff=true;this._refreshValue();for(c=0;c<e;c+=1)this._change(null,c);this._animateOff=false;break}},_value:function(){var b=this.options.value;return b=this._trimAlignValue(b)},_values:function(b){var a,c;if(arguments.length){a=this.options.values[b]; | |
|
427 | return a=this._trimAlignValue(a)}else{a=this.options.values.slice();for(c=0;c<a.length;c+=1)a[c]=this._trimAlignValue(a[c]);return a}},_trimAlignValue:function(b){if(b<=this._valueMin())return this._valueMin();if(b>=this._valueMax())return this._valueMax();var a=this.options.step>0?this.options.step:1,c=(b-this._valueMin())%a;alignValue=b-c;if(Math.abs(c)*2>=a)alignValue+=c>0?a:-a;return parseFloat(alignValue.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max}, | |
|
428 | _refreshValue:function(){var b=this.options.range,a=this.options,c=this,e=!this._animateOff?a.animate:false,f,h={},g,i,j,l;if(this.options.values&&this.options.values.length)this.handles.each(function(k){f=(c.values(k)-c._valueMin())/(c._valueMax()-c._valueMin())*100;h[c.orientation==="horizontal"?"left":"bottom"]=f+"%";d(this).stop(1,1)[e?"animate":"css"](h,a.animate);if(c.options.range===true)if(c.orientation==="horizontal"){if(k===0)c.range.stop(1,1)[e?"animate":"css"]({left:f+"%"},a.animate); | |
|
429 | if(k===1)c.range[e?"animate":"css"]({width:f-g+"%"},{queue:false,duration:a.animate})}else{if(k===0)c.range.stop(1,1)[e?"animate":"css"]({bottom:f+"%"},a.animate);if(k===1)c.range[e?"animate":"css"]({height:f-g+"%"},{queue:false,duration:a.animate})}g=f});else{i=this.value();j=this._valueMin();l=this._valueMax();f=l!==j?(i-j)/(l-j)*100:0;h[c.orientation==="horizontal"?"left":"bottom"]=f+"%";this.handle.stop(1,1)[e?"animate":"css"](h,a.animate);if(b==="min"&&this.orientation==="horizontal")this.range.stop(1, | |
|
430 | 1)[e?"animate":"css"]({width:f+"%"},a.animate);if(b==="max"&&this.orientation==="horizontal")this.range[e?"animate":"css"]({width:100-f+"%"},{queue:false,duration:a.animate});if(b==="min"&&this.orientation==="vertical")this.range.stop(1,1)[e?"animate":"css"]({height:f+"%"},a.animate);if(b==="max"&&this.orientation==="vertical")this.range[e?"animate":"css"]({height:100-f+"%"},{queue:false,duration:a.animate})}}});d.extend(d.ui.slider,{version:"1.8.10"})})(jQuery); | |
|
431 | ;/* | |
|
432 | * jQuery UI Tabs 1.8.10 | |
|
433 | * | |
|
434 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
435 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
436 | * http://jquery.org/license | |
|
437 | * | |
|
438 | * http://docs.jquery.com/UI/Tabs | |
|
439 | * | |
|
440 | * Depends: | |
|
441 | * jquery.ui.core.js | |
|
442 | * jquery.ui.widget.js | |
|
443 | */ | |
|
444 | (function(d,p){function u(){return++v}function w(){return++x}var v=0,x=0;d.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:false,cookie:null,collapsible:false,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"<div></div>",remove:null,select:null,show:null,spinner:"<em>Loading…</em>",tabTemplate:"<li><a href='#{href}'><span>#{label}</span></a></li>"},_create:function(){this._tabify(true)},_setOption:function(b,e){if(b=="selected")this.options.collapsible&& | |
|
445 | e==this.options.selected||this.select(e);else{this.options[b]=e;this._tabify()}},_tabId:function(b){return b.title&&b.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+u()},_sanitizeSelector:function(b){return b.replace(/:/g,"\\:")},_cookie:function(){var b=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+w());return d.cookie.apply(null,[b].concat(d.makeArray(arguments)))},_ui:function(b,e){return{tab:b,panel:e,index:this.anchors.index(b)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var b= | |
|
446 | d(this);b.html(b.data("label.tabs")).removeData("label.tabs")})},_tabify:function(b){function e(g,f){g.css("display","");!d.support.opacity&&f.opacity&&g[0].style.removeAttribute("filter")}var a=this,c=this.options,h=/^#.+/;this.list=this.element.find("ol,ul").eq(0);this.lis=d(" > li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return d("a",this)[0]});this.panels=d([]);this.anchors.each(function(g,f){var i=d(f).attr("href"),l=i.split("#")[0],q;if(l&&(l===location.toString().split("#")[0]|| | |
|
447 | (q=d("base")[0])&&l===q.href)){i=f.hash;f.href=i}if(h.test(i))a.panels=a.panels.add(a.element.find(a._sanitizeSelector(i)));else if(i&&i!=="#"){d.data(f,"href.tabs",i);d.data(f,"load.tabs",i.replace(/#.*$/,""));i=a._tabId(f);f.href="#"+i;f=a.element.find("#"+i);if(!f.length){f=d(c.panelTemplate).attr("id",i).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(a.panels[g-1]||a.list);f.data("destroy.tabs",true)}a.panels=a.panels.add(f)}else c.disabled.push(g)});if(b){this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all"); | |
|
448 | this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.lis.addClass("ui-state-default ui-corner-top");this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");if(c.selected===p){location.hash&&this.anchors.each(function(g,f){if(f.hash==location.hash){c.selected=g;return false}});if(typeof c.selected!=="number"&&c.cookie)c.selected=parseInt(a._cookie(),10);if(typeof c.selected!=="number"&&this.lis.filter(".ui-tabs-selected").length)c.selected= | |
|
449 | this.lis.index(this.lis.filter(".ui-tabs-selected"));c.selected=c.selected||(this.lis.length?0:-1)}else if(c.selected===null)c.selected=-1;c.selected=c.selected>=0&&this.anchors[c.selected]||c.selected<0?c.selected:0;c.disabled=d.unique(c.disabled.concat(d.map(this.lis.filter(".ui-state-disabled"),function(g){return a.lis.index(g)}))).sort();d.inArray(c.selected,c.disabled)!=-1&&c.disabled.splice(d.inArray(c.selected,c.disabled),1);this.panels.addClass("ui-tabs-hide");this.lis.removeClass("ui-tabs-selected ui-state-active"); | |
|
450 | if(c.selected>=0&&this.anchors.length){a.element.find(a._sanitizeSelector(a.anchors[c.selected].hash)).removeClass("ui-tabs-hide");this.lis.eq(c.selected).addClass("ui-tabs-selected ui-state-active");a.element.queue("tabs",function(){a._trigger("show",null,a._ui(a.anchors[c.selected],a.element.find(a._sanitizeSelector(a.anchors[c.selected].hash))[0]))});this.load(c.selected)}d(window).bind("unload",function(){a.lis.add(a.anchors).unbind(".tabs");a.lis=a.anchors=a.panels=null})}else c.selected=this.lis.index(this.lis.filter(".ui-tabs-selected")); | |
|
451 | this.element[c.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");c.cookie&&this._cookie(c.selected,c.cookie);b=0;for(var j;j=this.lis[b];b++)d(j)[d.inArray(b,c.disabled)!=-1&&!d(j).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");c.cache===false&&this.anchors.removeData("cache.tabs");this.lis.add(this.anchors).unbind(".tabs");if(c.event!=="mouseover"){var k=function(g,f){f.is(":not(.ui-state-disabled)")&&f.addClass("ui-state-"+g)},n=function(g,f){f.removeClass("ui-state-"+ | |
|
452 | g)};this.lis.bind("mouseover.tabs",function(){k("hover",d(this))});this.lis.bind("mouseout.tabs",function(){n("hover",d(this))});this.anchors.bind("focus.tabs",function(){k("focus",d(this).closest("li"))});this.anchors.bind("blur.tabs",function(){n("focus",d(this).closest("li"))})}var m,o;if(c.fx)if(d.isArray(c.fx)){m=c.fx[0];o=c.fx[1]}else m=o=c.fx;var r=o?function(g,f){d(g).closest("li").addClass("ui-tabs-selected ui-state-active");f.hide().removeClass("ui-tabs-hide").animate(o,o.duration||"normal", | |
|
453 | function(){e(f,o);a._trigger("show",null,a._ui(g,f[0]))})}:function(g,f){d(g).closest("li").addClass("ui-tabs-selected ui-state-active");f.removeClass("ui-tabs-hide");a._trigger("show",null,a._ui(g,f[0]))},s=m?function(g,f){f.animate(m,m.duration||"normal",function(){a.lis.removeClass("ui-tabs-selected ui-state-active");f.addClass("ui-tabs-hide");e(f,m);a.element.dequeue("tabs")})}:function(g,f){a.lis.removeClass("ui-tabs-selected ui-state-active");f.addClass("ui-tabs-hide");a.element.dequeue("tabs")}; | |
|
454 | this.anchors.bind(c.event+".tabs",function(){var g=this,f=d(g).closest("li"),i=a.panels.filter(":not(.ui-tabs-hide)"),l=a.element.find(a._sanitizeSelector(g.hash));if(f.hasClass("ui-tabs-selected")&&!c.collapsible||f.hasClass("ui-state-disabled")||f.hasClass("ui-state-processing")||a.panels.filter(":animated").length||a._trigger("select",null,a._ui(this,l[0]))===false){this.blur();return false}c.selected=a.anchors.index(this);a.abort();if(c.collapsible)if(f.hasClass("ui-tabs-selected")){c.selected= | |
|
455 | -1;c.cookie&&a._cookie(c.selected,c.cookie);a.element.queue("tabs",function(){s(g,i)}).dequeue("tabs");this.blur();return false}else if(!i.length){c.cookie&&a._cookie(c.selected,c.cookie);a.element.queue("tabs",function(){r(g,l)});a.load(a.anchors.index(this));this.blur();return false}c.cookie&&a._cookie(c.selected,c.cookie);if(l.length){i.length&&a.element.queue("tabs",function(){s(g,i)});a.element.queue("tabs",function(){r(g,l)});a.load(a.anchors.index(this))}else throw"jQuery UI Tabs: Mismatching fragment identifier."; | |
|
456 | d.browser.msie&&this.blur()});this.anchors.bind("click.tabs",function(){return false})},_getIndex:function(b){if(typeof b=="string")b=this.anchors.index(this.anchors.filter("[href$="+b+"]"));return b},destroy:function(){var b=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var e= | |
|
457 | d.data(this,"href.tabs");if(e)this.href=e;var a=d(this).unbind(".tabs");d.each(["href","load","cache"],function(c,h){a.removeData(h+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){d.data(this,"destroy.tabs")?d(this).remove():d(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-hover ui-state-focus ui-state-disabled ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide")});b.cookie&&this._cookie(null,b.cookie);return this},add:function(b, | |
|
458 | e,a){if(a===p)a=this.anchors.length;var c=this,h=this.options;e=d(h.tabTemplate.replace(/#\{href\}/g,b).replace(/#\{label\}/g,e));b=!b.indexOf("#")?b.replace("#",""):this._tabId(d("a",e)[0]);e.addClass("ui-state-default ui-corner-top").data("destroy.tabs",true);var j=c.element.find("#"+b);j.length||(j=d(h.panelTemplate).attr("id",b).data("destroy.tabs",true));j.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");if(a>=this.lis.length){e.appendTo(this.list);j.appendTo(this.list[0].parentNode)}else{e.insertBefore(this.lis[a]); | |
|
459 | j.insertBefore(this.panels[a])}h.disabled=d.map(h.disabled,function(k){return k>=a?++k:k});this._tabify();if(this.anchors.length==1){h.selected=0;e.addClass("ui-tabs-selected ui-state-active");j.removeClass("ui-tabs-hide");this.element.queue("tabs",function(){c._trigger("show",null,c._ui(c.anchors[0],c.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[a],this.panels[a]));return this},remove:function(b){b=this._getIndex(b);var e=this.options,a=this.lis.eq(b).remove(),c=this.panels.eq(b).remove(); | |
|
460 | if(a.hasClass("ui-tabs-selected")&&this.anchors.length>1)this.select(b+(b+1<this.anchors.length?1:-1));e.disabled=d.map(d.grep(e.disabled,function(h){return h!=b}),function(h){return h>=b?--h:h});this._tabify();this._trigger("remove",null,this._ui(a.find("a")[0],c[0]));return this},enable:function(b){b=this._getIndex(b);var e=this.options;if(d.inArray(b,e.disabled)!=-1){this.lis.eq(b).removeClass("ui-state-disabled");e.disabled=d.grep(e.disabled,function(a){return a!=b});this._trigger("enable",null, | |
|
461 | this._ui(this.anchors[b],this.panels[b]));return this}},disable:function(b){b=this._getIndex(b);var e=this.options;if(b!=e.selected){this.lis.eq(b).addClass("ui-state-disabled");e.disabled.push(b);e.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[b],this.panels[b]))}return this},select:function(b){b=this._getIndex(b);if(b==-1)if(this.options.collapsible&&this.options.selected!=-1)b=this.options.selected;else return this;this.anchors.eq(b).trigger(this.options.event+".tabs");return this}, | |
|
462 | load:function(b){b=this._getIndex(b);var e=this,a=this.options,c=this.anchors.eq(b)[0],h=d.data(c,"load.tabs");this.abort();if(!h||this.element.queue("tabs").length!==0&&d.data(c,"cache.tabs"))this.element.dequeue("tabs");else{this.lis.eq(b).addClass("ui-state-processing");if(a.spinner){var j=d("span",c);j.data("label.tabs",j.html()).html(a.spinner)}this.xhr=d.ajax(d.extend({},a.ajaxOptions,{url:h,success:function(k,n){e.element.find(e._sanitizeSelector(c.hash)).html(k);e._cleanup();a.cache&&d.data(c, | |
|
463 | "cache.tabs",true);e._trigger("load",null,e._ui(e.anchors[b],e.panels[b]));try{a.ajaxOptions.success(k,n)}catch(m){}},error:function(k,n){e._cleanup();e._trigger("load",null,e._ui(e.anchors[b],e.panels[b]));try{a.ajaxOptions.error(k,n,b,c)}catch(m){}}}));e.element.dequeue("tabs");return this}},abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this}, | |
|
464 | url:function(b,e){this.anchors.eq(b).removeData("cache.tabs").data("load.tabs",e);return this},length:function(){return this.anchors.length}});d.extend(d.ui.tabs,{version:"1.8.10"});d.extend(d.ui.tabs.prototype,{rotation:null,rotate:function(b,e){var a=this,c=this.options,h=a._rotate||(a._rotate=function(j){clearTimeout(a.rotation);a.rotation=setTimeout(function(){var k=c.selected;a.select(++k<a.anchors.length?k:0)},b);j&&j.stopPropagation()});e=a._unrotate||(a._unrotate=!e?function(j){j.clientX&& | |
|
465 | a.rotate(null)}:function(){t=c.selected;h()});if(b){this.element.bind("tabsshow",h);this.anchors.bind(c.event+".tabs",e);h()}else{clearTimeout(a.rotation);this.element.unbind("tabsshow",h);this.anchors.unbind(c.event+".tabs",e);delete this._rotate;delete this._unrotate}return this}})})(jQuery); | |
|
466 | ;/* | |
|
467 | * jQuery UI Datepicker 1.8.10 | |
|
468 | * | |
|
469 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
470 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
471 | * http://jquery.org/license | |
|
472 | * | |
|
473 | * http://docs.jquery.com/UI/Datepicker | |
|
474 | * | |
|
475 | * Depends: | |
|
476 | * jquery.ui.core.js | |
|
477 | */ | |
|
478 | (function(d,G){function K(){this.debug=false;this._curInst=null;this._keyEvent=false;this._disabledInputs=[];this._inDialog=this._datepickerShowing=false;this._mainDivId="ui-datepicker-div";this._inlineClass="ui-datepicker-inline";this._appendClass="ui-datepicker-append";this._triggerClass="ui-datepicker-trigger";this._dialogClass="ui-datepicker-dialog";this._disableClass="ui-datepicker-disabled";this._unselectableClass="ui-datepicker-unselectable";this._currentClass="ui-datepicker-current-day";this._dayOverClass= | |
|
479 | "ui-datepicker-days-cell-over";this.regional=[];this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su", | |
|
480 | "Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:false,showMonthAfterYear:false,yearSuffix:""};this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:false,hideIfNoPrevNext:false,navigationAsDateFormat:false,gotoCurrent:false,changeMonth:false,changeYear:false,yearRange:"c-10:c+10",showOtherMonths:false,selectOtherMonths:false,showWeek:false,calculateWeek:this.iso8601Week,shortYearCutoff:"+10", | |
|
481 | minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:true,showButtonPanel:false,autoSize:false};d.extend(this._defaults,this.regional[""]);this.dpDiv=d('<div id="'+this._mainDivId+'" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>')}function E(a,b){d.extend(a,b);for(var c in b)if(b[c]== | |
|
482 | null||b[c]==G)a[c]=b[c];return a}d.extend(d.ui,{datepicker:{version:"1.8.10"}});var y=(new Date).getTime();d.extend(K.prototype,{markerClassName:"hasDatepicker",log:function(){this.debug&&console.log.apply("",arguments)},_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(a){E(this._defaults,a||{});return this},_attachDatepicker:function(a,b){var c=null;for(var e in this._defaults){var f=a.getAttribute("date:"+e);if(f){c=c||{};try{c[e]=eval(f)}catch(h){c[e]=f}}}e=a.nodeName.toLowerCase(); | |
|
483 | f=e=="div"||e=="span";if(!a.id){this.uuid+=1;a.id="dp"+this.uuid}var i=this._newInst(d(a),f);i.settings=d.extend({},b||{},c||{});if(e=="input")this._connectDatepicker(a,i);else f&&this._inlineDatepicker(a,i)},_newInst:function(a,b){return{id:a[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1"),input:a,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:b,dpDiv:!b?this.dpDiv:d('<div class="'+this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>')}}, | |
|
484 | _connectDatepicker:function(a,b){var c=d(a);b.append=d([]);b.trigger=d([]);if(!c.hasClass(this.markerClassName)){this._attachments(c,b);c.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function(e,f,h){b.settings[f]=h}).bind("getData.datepicker",function(e,f){return this._get(b,f)});this._autoSize(b);d.data(a,"datepicker",b)}},_attachments:function(a,b){var c=this._get(b,"appendText"),e=this._get(b,"isRTL");b.append&& | |
|
485 | b.append.remove();if(c){b.append=d('<span class="'+this._appendClass+'">'+c+"</span>");a[e?"before":"after"](b.append)}a.unbind("focus",this._showDatepicker);b.trigger&&b.trigger.remove();c=this._get(b,"showOn");if(c=="focus"||c=="both")a.focus(this._showDatepicker);if(c=="button"||c=="both"){c=this._get(b,"buttonText");var f=this._get(b,"buttonImage");b.trigger=d(this._get(b,"buttonImageOnly")?d("<img/>").addClass(this._triggerClass).attr({src:f,alt:c,title:c}):d('<button type="button"></button>').addClass(this._triggerClass).html(f== | |
|
486 | ""?c:d("<img/>").attr({src:f,alt:c,title:c})));a[e?"before":"after"](b.trigger);b.trigger.click(function(){d.datepicker._datepickerShowing&&d.datepicker._lastInput==a[0]?d.datepicker._hideDatepicker():d.datepicker._showDatepicker(a[0]);return false})}},_autoSize:function(a){if(this._get(a,"autoSize")&&!a.inline){var b=new Date(2009,11,20),c=this._get(a,"dateFormat");if(c.match(/[DM]/)){var e=function(f){for(var h=0,i=0,g=0;g<f.length;g++)if(f[g].length>h){h=f[g].length;i=g}return i};b.setMonth(e(this._get(a, | |
|
487 | c.match(/MM/)?"monthNames":"monthNamesShort")));b.setDate(e(this._get(a,c.match(/DD/)?"dayNames":"dayNamesShort"))+20-b.getDay())}a.input.attr("size",this._formatDate(a,b).length)}},_inlineDatepicker:function(a,b){var c=d(a);if(!c.hasClass(this.markerClassName)){c.addClass(this.markerClassName).append(b.dpDiv).bind("setData.datepicker",function(e,f,h){b.settings[f]=h}).bind("getData.datepicker",function(e,f){return this._get(b,f)});d.data(a,"datepicker",b);this._setDate(b,this._getDefaultDate(b), | |
|
488 | true);this._updateDatepicker(b);this._updateAlternate(b);b.dpDiv.show()}},_dialogDatepicker:function(a,b,c,e,f){a=this._dialogInst;if(!a){this.uuid+=1;this._dialogInput=d('<input type="text" id="'+("dp"+this.uuid)+'" style="position: absolute; top: -100px; width: 0px; z-index: -10;"/>');this._dialogInput.keydown(this._doKeyDown);d("body").append(this._dialogInput);a=this._dialogInst=this._newInst(this._dialogInput,false);a.settings={};d.data(this._dialogInput[0],"datepicker",a)}E(a.settings,e||{}); | |
|
489 | b=b&&b.constructor==Date?this._formatDate(a,b):b;this._dialogInput.val(b);this._pos=f?f.length?f:[f.pageX,f.pageY]:null;if(!this._pos)this._pos=[document.documentElement.clientWidth/2-100+(document.documentElement.scrollLeft||document.body.scrollLeft),document.documentElement.clientHeight/2-150+(document.documentElement.scrollTop||document.body.scrollTop)];this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px");a.settings.onSelect=c;this._inDialog=true;this.dpDiv.addClass(this._dialogClass); | |
|
490 | this._showDatepicker(this._dialogInput[0]);d.blockUI&&d.blockUI(this.dpDiv);d.data(this._dialogInput[0],"datepicker",a);return this},_destroyDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();d.removeData(a,"datepicker");if(e=="input"){c.append.remove();c.trigger.remove();b.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup", | |
|
491 | this._doKeyUp)}else if(e=="div"||e=="span")b.removeClass(this.markerClassName).empty()}},_enableDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if(e=="input"){a.disabled=false;c.trigger.filter("button").each(function(){this.disabled=false}).end().filter("img").css({opacity:"1.0",cursor:""})}else if(e=="div"||e=="span")b.children("."+this._inlineClass).children().removeClass("ui-state-disabled");this._disabledInputs=d.map(this._disabledInputs, | |
|
492 | function(f){return f==a?null:f})}},_disableDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if(e=="input"){a.disabled=true;c.trigger.filter("button").each(function(){this.disabled=true}).end().filter("img").css({opacity:"0.5",cursor:"default"})}else if(e=="div"||e=="span")b.children("."+this._inlineClass).children().addClass("ui-state-disabled");this._disabledInputs=d.map(this._disabledInputs,function(f){return f==a?null: | |
|
493 | f});this._disabledInputs[this._disabledInputs.length]=a}},_isDisabledDatepicker:function(a){if(!a)return false;for(var b=0;b<this._disabledInputs.length;b++)if(this._disabledInputs[b]==a)return true;return false},_getInst:function(a){try{return d.data(a,"datepicker")}catch(b){throw"Missing instance data for this datepicker";}},_optionDatepicker:function(a,b,c){var e=this._getInst(a);if(arguments.length==2&&typeof b=="string")return b=="defaults"?d.extend({},d.datepicker._defaults):e?b=="all"?d.extend({}, | |
|
494 | e.settings):this._get(e,b):null;var f=b||{};if(typeof b=="string"){f={};f[b]=c}if(e){this._curInst==e&&this._hideDatepicker();var h=this._getDateDatepicker(a,true);E(e.settings,f);this._attachments(d(a),e);this._autoSize(e);this._setDateDatepicker(a,h);this._updateDatepicker(e)}},_changeDatepicker:function(a,b,c){this._optionDatepicker(a,b,c)},_refreshDatepicker:function(a){(a=this._getInst(a))&&this._updateDatepicker(a)},_setDateDatepicker:function(a,b){if(a=this._getInst(a)){this._setDate(a,b); | |
|
495 | this._updateDatepicker(a);this._updateAlternate(a)}},_getDateDatepicker:function(a,b){(a=this._getInst(a))&&!a.inline&&this._setDateFromField(a,b);return a?this._getDate(a):null},_doKeyDown:function(a){var b=d.datepicker._getInst(a.target),c=true,e=b.dpDiv.is(".ui-datepicker-rtl");b._keyEvent=true;if(d.datepicker._datepickerShowing)switch(a.keyCode){case 9:d.datepicker._hideDatepicker();c=false;break;case 13:c=d("td."+d.datepicker._dayOverClass+":not(."+d.datepicker._currentClass+")",b.dpDiv);c[0]? | |
|
496 | d.datepicker._selectDay(a.target,b.selectedMonth,b.selectedYear,c[0]):d.datepicker._hideDatepicker();return false;case 27:d.datepicker._hideDatepicker();break;case 33:d.datepicker._adjustDate(a.target,a.ctrlKey?-d.datepicker._get(b,"stepBigMonths"):-d.datepicker._get(b,"stepMonths"),"M");break;case 34:d.datepicker._adjustDate(a.target,a.ctrlKey?+d.datepicker._get(b,"stepBigMonths"):+d.datepicker._get(b,"stepMonths"),"M");break;case 35:if(a.ctrlKey||a.metaKey)d.datepicker._clearDate(a.target);c=a.ctrlKey|| | |
|
497 | a.metaKey;break;case 36:if(a.ctrlKey||a.metaKey)d.datepicker._gotoToday(a.target);c=a.ctrlKey||a.metaKey;break;case 37:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target,e?+1:-1,"D");c=a.ctrlKey||a.metaKey;if(a.originalEvent.altKey)d.datepicker._adjustDate(a.target,a.ctrlKey?-d.datepicker._get(b,"stepBigMonths"):-d.datepicker._get(b,"stepMonths"),"M");break;case 38:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target,-7,"D");c=a.ctrlKey||a.metaKey;break;case 39:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target, | |
|
498 | e?-1:+1,"D");c=a.ctrlKey||a.metaKey;if(a.originalEvent.altKey)d.datepicker._adjustDate(a.target,a.ctrlKey?+d.datepicker._get(b,"stepBigMonths"):+d.datepicker._get(b,"stepMonths"),"M");break;case 40:if(a.ctrlKey||a.metaKey)d.datepicker._adjustDate(a.target,+7,"D");c=a.ctrlKey||a.metaKey;break;default:c=false}else if(a.keyCode==36&&a.ctrlKey)d.datepicker._showDatepicker(this);else c=false;if(c){a.preventDefault();a.stopPropagation()}},_doKeyPress:function(a){var b=d.datepicker._getInst(a.target);if(d.datepicker._get(b, | |
|
499 | "constrainInput")){b=d.datepicker._possibleChars(d.datepicker._get(b,"dateFormat"));var c=String.fromCharCode(a.charCode==G?a.keyCode:a.charCode);return a.ctrlKey||a.metaKey||c<" "||!b||b.indexOf(c)>-1}},_doKeyUp:function(a){a=d.datepicker._getInst(a.target);if(a.input.val()!=a.lastVal)try{if(d.datepicker.parseDate(d.datepicker._get(a,"dateFormat"),a.input?a.input.val():null,d.datepicker._getFormatConfig(a))){d.datepicker._setDateFromField(a);d.datepicker._updateAlternate(a);d.datepicker._updateDatepicker(a)}}catch(b){d.datepicker.log(b)}return true}, | |
|
500 | _showDatepicker:function(a){a=a.target||a;if(a.nodeName.toLowerCase()!="input")a=d("input",a.parentNode)[0];if(!(d.datepicker._isDisabledDatepicker(a)||d.datepicker._lastInput==a)){var b=d.datepicker._getInst(a);d.datepicker._curInst&&d.datepicker._curInst!=b&&d.datepicker._curInst.dpDiv.stop(true,true);var c=d.datepicker._get(b,"beforeShow");E(b.settings,c?c.apply(a,[a,b]):{});b.lastVal=null;d.datepicker._lastInput=a;d.datepicker._setDateFromField(b);if(d.datepicker._inDialog)a.value="";if(!d.datepicker._pos){d.datepicker._pos= | |
|
501 | d.datepicker._findPos(a);d.datepicker._pos[1]+=a.offsetHeight}var e=false;d(a).parents().each(function(){e|=d(this).css("position")=="fixed";return!e});if(e&&d.browser.opera){d.datepicker._pos[0]-=document.documentElement.scrollLeft;d.datepicker._pos[1]-=document.documentElement.scrollTop}c={left:d.datepicker._pos[0],top:d.datepicker._pos[1]};d.datepicker._pos=null;b.dpDiv.empty();b.dpDiv.css({position:"absolute",display:"block",top:"-1000px"});d.datepicker._updateDatepicker(b);c=d.datepicker._checkOffset(b, | |
|
502 | c,e);b.dpDiv.css({position:d.datepicker._inDialog&&d.blockUI?"static":e?"fixed":"absolute",display:"none",left:c.left+"px",top:c.top+"px"});if(!b.inline){c=d.datepicker._get(b,"showAnim");var f=d.datepicker._get(b,"duration"),h=function(){d.datepicker._datepickerShowing=true;var i=b.dpDiv.find("iframe.ui-datepicker-cover");if(i.length){var g=d.datepicker._getBorders(b.dpDiv);i.css({left:-g[0],top:-g[1],width:b.dpDiv.outerWidth(),height:b.dpDiv.outerHeight()})}};b.dpDiv.zIndex(d(a).zIndex()+1);d.effects&& | |
|
503 | d.effects[c]?b.dpDiv.show(c,d.datepicker._get(b,"showOptions"),f,h):b.dpDiv[c||"show"](c?f:null,h);if(!c||!f)h();b.input.is(":visible")&&!b.input.is(":disabled")&&b.input.focus();d.datepicker._curInst=b}}},_updateDatepicker:function(a){var b=this,c=d.datepicker._getBorders(a.dpDiv);a.dpDiv.empty().append(this._generateHTML(a));var e=a.dpDiv.find("iframe.ui-datepicker-cover");e.length&&e.css({left:-c[0],top:-c[1],width:a.dpDiv.outerWidth(),height:a.dpDiv.outerHeight()});a.dpDiv.find("button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a").bind("mouseout", | |
|
504 | function(){d(this).removeClass("ui-state-hover");this.className.indexOf("ui-datepicker-prev")!=-1&&d(this).removeClass("ui-datepicker-prev-hover");this.className.indexOf("ui-datepicker-next")!=-1&&d(this).removeClass("ui-datepicker-next-hover")}).bind("mouseover",function(){if(!b._isDisabledDatepicker(a.inline?a.dpDiv.parent()[0]:a.input[0])){d(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");d(this).addClass("ui-state-hover");this.className.indexOf("ui-datepicker-prev")!= | |
|
505 | -1&&d(this).addClass("ui-datepicker-prev-hover");this.className.indexOf("ui-datepicker-next")!=-1&&d(this).addClass("ui-datepicker-next-hover")}}).end().find("."+this._dayOverClass+" a").trigger("mouseover").end();c=this._getNumberOfMonths(a);e=c[1];e>1?a.dpDiv.addClass("ui-datepicker-multi-"+e).css("width",17*e+"em"):a.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");a.dpDiv[(c[0]!=1||c[1]!=1?"add":"remove")+"Class"]("ui-datepicker-multi");a.dpDiv[(this._get(a, | |
|
506 | "isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");a==d.datepicker._curInst&&d.datepicker._datepickerShowing&&a.input&&a.input.is(":visible")&&!a.input.is(":disabled")&&a.input[0]!=document.activeElement&&a.input.focus();if(a.yearshtml){var f=a.yearshtml;setTimeout(function(){f===a.yearshtml&&a.dpDiv.find("select.ui-datepicker-year:first").replaceWith(a.yearshtml);f=a.yearshtml=null},0)}},_getBorders:function(a){var b=function(c){return{thin:1,medium:2,thick:3}[c]||c};return[parseFloat(b(a.css("border-left-width"))), | |
|
507 | parseFloat(b(a.css("border-top-width")))]},_checkOffset:function(a,b,c){var e=a.dpDiv.outerWidth(),f=a.dpDiv.outerHeight(),h=a.input?a.input.outerWidth():0,i=a.input?a.input.outerHeight():0,g=document.documentElement.clientWidth+d(document).scrollLeft(),j=document.documentElement.clientHeight+d(document).scrollTop();b.left-=this._get(a,"isRTL")?e-h:0;b.left-=c&&b.left==a.input.offset().left?d(document).scrollLeft():0;b.top-=c&&b.top==a.input.offset().top+i?d(document).scrollTop():0;b.left-=Math.min(b.left, | |
|
508 | b.left+e>g&&g>e?Math.abs(b.left+e-g):0);b.top-=Math.min(b.top,b.top+f>j&&j>f?Math.abs(f+i):0);return b},_findPos:function(a){for(var b=this._get(this._getInst(a),"isRTL");a&&(a.type=="hidden"||a.nodeType!=1||d.expr.filters.hidden(a));)a=a[b?"previousSibling":"nextSibling"];a=d(a).offset();return[a.left,a.top]},_hideDatepicker:function(a){var b=this._curInst;if(!(!b||a&&b!=d.data(a,"datepicker")))if(this._datepickerShowing){a=this._get(b,"showAnim");var c=this._get(b,"duration"),e=function(){d.datepicker._tidyDialog(b); | |
|
509 | this._curInst=null};d.effects&&d.effects[a]?b.dpDiv.hide(a,d.datepicker._get(b,"showOptions"),c,e):b.dpDiv[a=="slideDown"?"slideUp":a=="fadeIn"?"fadeOut":"hide"](a?c:null,e);a||e();if(a=this._get(b,"onClose"))a.apply(b.input?b.input[0]:null,[b.input?b.input.val():"",b]);this._datepickerShowing=false;this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:"absolute",left:"0",top:"-100px"});if(d.blockUI){d.unblockUI();d("body").append(this.dpDiv)}}this._inDialog=false}},_tidyDialog:function(a){a.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")}, | |
|
510 | _checkExternalClick:function(a){if(d.datepicker._curInst){a=d(a.target);a[0].id!=d.datepicker._mainDivId&&a.parents("#"+d.datepicker._mainDivId).length==0&&!a.hasClass(d.datepicker.markerClassName)&&!a.hasClass(d.datepicker._triggerClass)&&d.datepicker._datepickerShowing&&!(d.datepicker._inDialog&&d.blockUI)&&d.datepicker._hideDatepicker()}},_adjustDate:function(a,b,c){a=d(a);var e=this._getInst(a[0]);if(!this._isDisabledDatepicker(a[0])){this._adjustInstDate(e,b+(c=="M"?this._get(e,"showCurrentAtPos"): | |
|
511 | 0),c);this._updateDatepicker(e)}},_gotoToday:function(a){a=d(a);var b=this._getInst(a[0]);if(this._get(b,"gotoCurrent")&&b.currentDay){b.selectedDay=b.currentDay;b.drawMonth=b.selectedMonth=b.currentMonth;b.drawYear=b.selectedYear=b.currentYear}else{var c=new Date;b.selectedDay=c.getDate();b.drawMonth=b.selectedMonth=c.getMonth();b.drawYear=b.selectedYear=c.getFullYear()}this._notifyChange(b);this._adjustDate(a)},_selectMonthYear:function(a,b,c){a=d(a);var e=this._getInst(a[0]);e._selectingMonthYear= | |
|
512 | false;e["selected"+(c=="M"?"Month":"Year")]=e["draw"+(c=="M"?"Month":"Year")]=parseInt(b.options[b.selectedIndex].value,10);this._notifyChange(e);this._adjustDate(a)},_clickMonthYear:function(a){var b=this._getInst(d(a)[0]);b.input&&b._selectingMonthYear&&setTimeout(function(){b.input.focus()},0);b._selectingMonthYear=!b._selectingMonthYear},_selectDay:function(a,b,c,e){var f=d(a);if(!(d(e).hasClass(this._unselectableClass)||this._isDisabledDatepicker(f[0]))){f=this._getInst(f[0]);f.selectedDay=f.currentDay= | |
|
513 | d("a",e).html();f.selectedMonth=f.currentMonth=b;f.selectedYear=f.currentYear=c;this._selectDate(a,this._formatDate(f,f.currentDay,f.currentMonth,f.currentYear))}},_clearDate:function(a){a=d(a);this._getInst(a[0]);this._selectDate(a,"")},_selectDate:function(a,b){a=this._getInst(d(a)[0]);b=b!=null?b:this._formatDate(a);a.input&&a.input.val(b);this._updateAlternate(a);var c=this._get(a,"onSelect");if(c)c.apply(a.input?a.input[0]:null,[b,a]);else a.input&&a.input.trigger("change");if(a.inline)this._updateDatepicker(a); | |
|
514 | else{this._hideDatepicker();this._lastInput=a.input[0];typeof a.input[0]!="object"&&a.input.focus();this._lastInput=null}},_updateAlternate:function(a){var b=this._get(a,"altField");if(b){var c=this._get(a,"altFormat")||this._get(a,"dateFormat"),e=this._getDate(a),f=this.formatDate(c,e,this._getFormatConfig(a));d(b).each(function(){d(this).val(f)})}},noWeekends:function(a){a=a.getDay();return[a>0&&a<6,""]},iso8601Week:function(a){a=new Date(a.getTime());a.setDate(a.getDate()+4-(a.getDay()||7));var b= | |
|
515 | a.getTime();a.setMonth(0);a.setDate(1);return Math.floor(Math.round((b-a)/864E5)/7)+1},parseDate:function(a,b,c){if(a==null||b==null)throw"Invalid arguments";b=typeof b=="object"?b.toString():b+"";if(b=="")return null;var e=(c?c.shortYearCutoff:null)||this._defaults.shortYearCutoff;e=typeof e!="string"?e:(new Date).getFullYear()%100+parseInt(e,10);for(var f=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,h=(c?c.dayNames:null)||this._defaults.dayNames,i=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort, | |
|
516 | g=(c?c.monthNames:null)||this._defaults.monthNames,j=c=-1,l=-1,u=-1,k=false,o=function(p){(p=z+1<a.length&&a.charAt(z+1)==p)&&z++;return p},m=function(p){var v=o(p);p=new RegExp("^\\d{1,"+(p=="@"?14:p=="!"?20:p=="y"&&v?4:p=="o"?3:2)+"}");p=b.substring(s).match(p);if(!p)throw"Missing number at position "+s;s+=p[0].length;return parseInt(p[0],10)},n=function(p,v,H){p=o(p)?H:v;for(v=0;v<p.length;v++)if(b.substr(s,p[v].length).toLowerCase()==p[v].toLowerCase()){s+=p[v].length;return v+1}throw"Unknown name at position "+ | |
|
517 | s;},r=function(){if(b.charAt(s)!=a.charAt(z))throw"Unexpected literal at position "+s;s++},s=0,z=0;z<a.length;z++)if(k)if(a.charAt(z)=="'"&&!o("'"))k=false;else r();else switch(a.charAt(z)){case "d":l=m("d");break;case "D":n("D",f,h);break;case "o":u=m("o");break;case "m":j=m("m");break;case "M":j=n("M",i,g);break;case "y":c=m("y");break;case "@":var w=new Date(m("@"));c=w.getFullYear();j=w.getMonth()+1;l=w.getDate();break;case "!":w=new Date((m("!")-this._ticksTo1970)/1E4);c=w.getFullYear();j=w.getMonth()+ | |
|
518 | 1;l=w.getDate();break;case "'":if(o("'"))r();else k=true;break;default:r()}if(c==-1)c=(new Date).getFullYear();else if(c<100)c+=(new Date).getFullYear()-(new Date).getFullYear()%100+(c<=e?0:-100);if(u>-1){j=1;l=u;do{e=this._getDaysInMonth(c,j-1);if(l<=e)break;j++;l-=e}while(1)}w=this._daylightSavingAdjust(new Date(c,j-1,l));if(w.getFullYear()!=c||w.getMonth()+1!=j||w.getDate()!=l)throw"Invalid date";return w},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y", | |
|
519 | RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*24*60*60*1E7,formatDate:function(a,b,c){if(!b)return"";var e=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,f=(c?c.dayNames:null)||this._defaults.dayNames,h=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort;c=(c?c.monthNames:null)||this._defaults.monthNames;var i=function(o){(o=k+1<a.length&& | |
|
520 | a.charAt(k+1)==o)&&k++;return o},g=function(o,m,n){m=""+m;if(i(o))for(;m.length<n;)m="0"+m;return m},j=function(o,m,n,r){return i(o)?r[m]:n[m]},l="",u=false;if(b)for(var k=0;k<a.length;k++)if(u)if(a.charAt(k)=="'"&&!i("'"))u=false;else l+=a.charAt(k);else switch(a.charAt(k)){case "d":l+=g("d",b.getDate(),2);break;case "D":l+=j("D",b.getDay(),e,f);break;case "o":l+=g("o",(b.getTime()-(new Date(b.getFullYear(),0,0)).getTime())/864E5,3);break;case "m":l+=g("m",b.getMonth()+1,2);break;case "M":l+=j("M", | |
|
521 | b.getMonth(),h,c);break;case "y":l+=i("y")?b.getFullYear():(b.getYear()%100<10?"0":"")+b.getYear()%100;break;case "@":l+=b.getTime();break;case "!":l+=b.getTime()*1E4+this._ticksTo1970;break;case "'":if(i("'"))l+="'";else u=true;break;default:l+=a.charAt(k)}return l},_possibleChars:function(a){for(var b="",c=false,e=function(h){(h=f+1<a.length&&a.charAt(f+1)==h)&&f++;return h},f=0;f<a.length;f++)if(c)if(a.charAt(f)=="'"&&!e("'"))c=false;else b+=a.charAt(f);else switch(a.charAt(f)){case "d":case "m":case "y":case "@":b+= | |
|
522 | "0123456789";break;case "D":case "M":return null;case "'":if(e("'"))b+="'";else c=true;break;default:b+=a.charAt(f)}return b},_get:function(a,b){return a.settings[b]!==G?a.settings[b]:this._defaults[b]},_setDateFromField:function(a,b){if(a.input.val()!=a.lastVal){var c=this._get(a,"dateFormat"),e=a.lastVal=a.input?a.input.val():null,f,h;f=h=this._getDefaultDate(a);var i=this._getFormatConfig(a);try{f=this.parseDate(c,e,i)||h}catch(g){this.log(g);e=b?"":e}a.selectedDay=f.getDate();a.drawMonth=a.selectedMonth= | |
|
523 | f.getMonth();a.drawYear=a.selectedYear=f.getFullYear();a.currentDay=e?f.getDate():0;a.currentMonth=e?f.getMonth():0;a.currentYear=e?f.getFullYear():0;this._adjustInstDate(a)}},_getDefaultDate:function(a){return this._restrictMinMax(a,this._determineDate(a,this._get(a,"defaultDate"),new Date))},_determineDate:function(a,b,c){var e=function(h){var i=new Date;i.setDate(i.getDate()+h);return i},f=function(h){try{return d.datepicker.parseDate(d.datepicker._get(a,"dateFormat"),h,d.datepicker._getFormatConfig(a))}catch(i){}var g= | |
|
524 | (h.toLowerCase().match(/^c/)?d.datepicker._getDate(a):null)||new Date,j=g.getFullYear(),l=g.getMonth();g=g.getDate();for(var u=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,k=u.exec(h);k;){switch(k[2]||"d"){case "d":case "D":g+=parseInt(k[1],10);break;case "w":case "W":g+=parseInt(k[1],10)*7;break;case "m":case "M":l+=parseInt(k[1],10);g=Math.min(g,d.datepicker._getDaysInMonth(j,l));break;case "y":case "Y":j+=parseInt(k[1],10);g=Math.min(g,d.datepicker._getDaysInMonth(j,l));break}k=u.exec(h)}return new Date(j, | |
|
525 | l,g)};if(b=(b=b==null||b===""?c:typeof b=="string"?f(b):typeof b=="number"?isNaN(b)?c:e(b):new Date(b.getTime()))&&b.toString()=="Invalid Date"?c:b){b.setHours(0);b.setMinutes(0);b.setSeconds(0);b.setMilliseconds(0)}return this._daylightSavingAdjust(b)},_daylightSavingAdjust:function(a){if(!a)return null;a.setHours(a.getHours()>12?a.getHours()+2:0);return a},_setDate:function(a,b,c){var e=!b,f=a.selectedMonth,h=a.selectedYear;b=this._restrictMinMax(a,this._determineDate(a,b,new Date));a.selectedDay= | |
|
526 | a.currentDay=b.getDate();a.drawMonth=a.selectedMonth=a.currentMonth=b.getMonth();a.drawYear=a.selectedYear=a.currentYear=b.getFullYear();if((f!=a.selectedMonth||h!=a.selectedYear)&&!c)this._notifyChange(a);this._adjustInstDate(a);if(a.input)a.input.val(e?"":this._formatDate(a))},_getDate:function(a){return!a.currentYear||a.input&&a.input.val()==""?null:this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay))},_generateHTML:function(a){var b=new Date;b=this._daylightSavingAdjust(new Date(b.getFullYear(), | |
|
527 | b.getMonth(),b.getDate()));var c=this._get(a,"isRTL"),e=this._get(a,"showButtonPanel"),f=this._get(a,"hideIfNoPrevNext"),h=this._get(a,"navigationAsDateFormat"),i=this._getNumberOfMonths(a),g=this._get(a,"showCurrentAtPos"),j=this._get(a,"stepMonths"),l=i[0]!=1||i[1]!=1,u=this._daylightSavingAdjust(!a.currentDay?new Date(9999,9,9):new Date(a.currentYear,a.currentMonth,a.currentDay)),k=this._getMinMaxDate(a,"min"),o=this._getMinMaxDate(a,"max");g=a.drawMonth-g;var m=a.drawYear;if(g<0){g+=12;m--}if(o){var n= | |
|
528 | this._daylightSavingAdjust(new Date(o.getFullYear(),o.getMonth()-i[0]*i[1]+1,o.getDate()));for(n=k&&n<k?k:n;this._daylightSavingAdjust(new Date(m,g,1))>n;){g--;if(g<0){g=11;m--}}}a.drawMonth=g;a.drawYear=m;n=this._get(a,"prevText");n=!h?n:this.formatDate(n,this._daylightSavingAdjust(new Date(m,g-j,1)),this._getFormatConfig(a));n=this._canAdjustMonth(a,-1,m,g)?'<a class="ui-datepicker-prev ui-corner-all" onclick="DP_jQuery_'+y+".datepicker._adjustDate('#"+a.id+"', -"+j+", 'M');\" title=\""+n+'"><span class="ui-icon ui-icon-circle-triangle-'+ | |
|
529 | (c?"e":"w")+'">'+n+"</span></a>":f?"":'<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+n+'"><span class="ui-icon ui-icon-circle-triangle-'+(c?"e":"w")+'">'+n+"</span></a>";var r=this._get(a,"nextText");r=!h?r:this.formatDate(r,this._daylightSavingAdjust(new Date(m,g+j,1)),this._getFormatConfig(a));f=this._canAdjustMonth(a,+1,m,g)?'<a class="ui-datepicker-next ui-corner-all" onclick="DP_jQuery_'+y+".datepicker._adjustDate('#"+a.id+"', +"+j+", 'M');\" title=\""+r+'"><span class="ui-icon ui-icon-circle-triangle-'+ | |
|
530 | (c?"w":"e")+'">'+r+"</span></a>":f?"":'<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+r+'"><span class="ui-icon ui-icon-circle-triangle-'+(c?"w":"e")+'">'+r+"</span></a>";j=this._get(a,"currentText");r=this._get(a,"gotoCurrent")&&a.currentDay?u:b;j=!h?j:this.formatDate(j,r,this._getFormatConfig(a));h=!a.inline?'<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" onclick="DP_jQuery_'+y+'.datepicker._hideDatepicker();">'+this._get(a, | |
|
531 | "closeText")+"</button>":"";e=e?'<div class="ui-datepicker-buttonpane ui-widget-content">'+(c?h:"")+(this._isInRange(a,r)?'<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" onclick="DP_jQuery_'+y+".datepicker._gotoToday('#"+a.id+"');\">"+j+"</button>":"")+(c?"":h)+"</div>":"";h=parseInt(this._get(a,"firstDay"),10);h=isNaN(h)?0:h;j=this._get(a,"showWeek");r=this._get(a,"dayNames");this._get(a,"dayNamesShort");var s=this._get(a,"dayNamesMin"),z= | |
|
532 | this._get(a,"monthNames"),w=this._get(a,"monthNamesShort"),p=this._get(a,"beforeShowDay"),v=this._get(a,"showOtherMonths"),H=this._get(a,"selectOtherMonths");this._get(a,"calculateWeek");for(var L=this._getDefaultDate(a),I="",C=0;C<i[0];C++){for(var M="",D=0;D<i[1];D++){var N=this._daylightSavingAdjust(new Date(m,g,a.selectedDay)),t=" ui-corner-all",x="";if(l){x+='<div class="ui-datepicker-group';if(i[1]>1)switch(D){case 0:x+=" ui-datepicker-group-first";t=" ui-corner-"+(c?"right":"left");break;case i[1]- | |
|
533 | 1:x+=" ui-datepicker-group-last";t=" ui-corner-"+(c?"left":"right");break;default:x+=" ui-datepicker-group-middle";t="";break}x+='">'}x+='<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix'+t+'">'+(/all|left/.test(t)&&C==0?c?f:n:"")+(/all|right/.test(t)&&C==0?c?n:f:"")+this._generateMonthYearHeader(a,g,m,k,o,C>0||D>0,z,w)+'</div><table class="ui-datepicker-calendar"><thead><tr>';var A=j?'<th class="ui-datepicker-week-col">'+this._get(a,"weekHeader")+"</th>":"";for(t=0;t<7;t++){var q= | |
|
534 | (t+h)%7;A+="<th"+((t+h+6)%7>=5?' class="ui-datepicker-week-end"':"")+'><span title="'+r[q]+'">'+s[q]+"</span></th>"}x+=A+"</tr></thead><tbody>";A=this._getDaysInMonth(m,g);if(m==a.selectedYear&&g==a.selectedMonth)a.selectedDay=Math.min(a.selectedDay,A);t=(this._getFirstDayOfMonth(m,g)-h+7)%7;A=l?6:Math.ceil((t+A)/7);q=this._daylightSavingAdjust(new Date(m,g,1-t));for(var O=0;O<A;O++){x+="<tr>";var P=!j?"":'<td class="ui-datepicker-week-col">'+this._get(a,"calculateWeek")(q)+"</td>";for(t=0;t<7;t++){var F= | |
|
535 | p?p.apply(a.input?a.input[0]:null,[q]):[true,""],B=q.getMonth()!=g,J=B&&!H||!F[0]||k&&q<k||o&&q>o;P+='<td class="'+((t+h+6)%7>=5?" ui-datepicker-week-end":"")+(B?" ui-datepicker-other-month":"")+(q.getTime()==N.getTime()&&g==a.selectedMonth&&a._keyEvent||L.getTime()==q.getTime()&&L.getTime()==N.getTime()?" "+this._dayOverClass:"")+(J?" "+this._unselectableClass+" ui-state-disabled":"")+(B&&!v?"":" "+F[1]+(q.getTime()==u.getTime()?" "+this._currentClass:"")+(q.getTime()==b.getTime()?" ui-datepicker-today": | |
|
536 | ""))+'"'+((!B||v)&&F[2]?' title="'+F[2]+'"':"")+(J?"":' onclick="DP_jQuery_'+y+".datepicker._selectDay('#"+a.id+"',"+q.getMonth()+","+q.getFullYear()+', this);return false;"')+">"+(B&&!v?" ":J?'<span class="ui-state-default">'+q.getDate()+"</span>":'<a class="ui-state-default'+(q.getTime()==b.getTime()?" ui-state-highlight":"")+(q.getTime()==u.getTime()?" ui-state-active":"")+(B?" ui-priority-secondary":"")+'" href="#">'+q.getDate()+"</a>")+"</td>";q.setDate(q.getDate()+1);q=this._daylightSavingAdjust(q)}x+= | |
|
537 | P+"</tr>"}g++;if(g>11){g=0;m++}x+="</tbody></table>"+(l?"</div>"+(i[0]>0&&D==i[1]-1?'<div class="ui-datepicker-row-break"></div>':""):"");M+=x}I+=M}I+=e+(d.browser.msie&&parseInt(d.browser.version,10)<7&&!a.inline?'<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>':"");a._keyEvent=false;return I},_generateMonthYearHeader:function(a,b,c,e,f,h,i,g){var j=this._get(a,"changeMonth"),l=this._get(a,"changeYear"),u=this._get(a,"showMonthAfterYear"),k='<div class="ui-datepicker-title">', | |
|
538 | o="";if(h||!j)o+='<span class="ui-datepicker-month">'+i[b]+"</span>";else{i=e&&e.getFullYear()==c;var m=f&&f.getFullYear()==c;o+='<select class="ui-datepicker-month" onchange="DP_jQuery_'+y+".datepicker._selectMonthYear('#"+a.id+"', this, 'M');\" onclick=\"DP_jQuery_"+y+".datepicker._clickMonthYear('#"+a.id+"');\">";for(var n=0;n<12;n++)if((!i||n>=e.getMonth())&&(!m||n<=f.getMonth()))o+='<option value="'+n+'"'+(n==b?' selected="selected"':"")+">"+g[n]+"</option>";o+="</select>"}u||(k+=o+(h||!(j&& | |
|
539 | l)?" ":""));a.yearshtml="";if(h||!l)k+='<span class="ui-datepicker-year">'+c+"</span>";else{g=this._get(a,"yearRange").split(":");var r=(new Date).getFullYear();i=function(s){s=s.match(/c[+-].*/)?c+parseInt(s.substring(1),10):s.match(/[+-].*/)?r+parseInt(s,10):parseInt(s,10);return isNaN(s)?r:s};b=i(g[0]);g=Math.max(b,i(g[1]||""));b=e?Math.max(b,e.getFullYear()):b;g=f?Math.min(g,f.getFullYear()):g;for(a.yearshtml+='<select class="ui-datepicker-year" onchange="DP_jQuery_'+y+".datepicker._selectMonthYear('#"+ | |
|
540 | a.id+"', this, 'Y');\" onclick=\"DP_jQuery_"+y+".datepicker._clickMonthYear('#"+a.id+"');\">";b<=g;b++)a.yearshtml+='<option value="'+b+'"'+(b==c?' selected="selected"':"")+">"+b+"</option>";a.yearshtml+="</select>";if(d.browser.mozilla)k+='<select class="ui-datepicker-year"><option value="'+c+'" selected="selected">'+c+"</option></select>";else{k+=a.yearshtml;a.yearshtml=null}}k+=this._get(a,"yearSuffix");if(u)k+=(h||!(j&&l)?" ":"")+o;k+="</div>";return k},_adjustInstDate:function(a,b,c){var e= | |
|
541 | a.drawYear+(c=="Y"?b:0),f=a.drawMonth+(c=="M"?b:0);b=Math.min(a.selectedDay,this._getDaysInMonth(e,f))+(c=="D"?b:0);e=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(e,f,b)));a.selectedDay=e.getDate();a.drawMonth=a.selectedMonth=e.getMonth();a.drawYear=a.selectedYear=e.getFullYear();if(c=="M"||c=="Y")this._notifyChange(a)},_restrictMinMax:function(a,b){var c=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,"max");b=c&&b<c?c:b;return b=a&&b>a?a:b},_notifyChange:function(a){var b=this._get(a, | |
|
542 | "onChangeMonthYear");if(b)b.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])},_getNumberOfMonths:function(a){a=this._get(a,"numberOfMonths");return a==null?[1,1]:typeof a=="number"?[1,a]:a},_getMinMaxDate:function(a,b){return this._determineDate(a,this._get(a,b+"Date"),null)},_getDaysInMonth:function(a,b){return 32-this._daylightSavingAdjust(new Date(a,b,32)).getDate()},_getFirstDayOfMonth:function(a,b){return(new Date(a,b,1)).getDay()},_canAdjustMonth:function(a,b,c,e){var f=this._getNumberOfMonths(a); | |
|
543 | c=this._daylightSavingAdjust(new Date(c,e+(b<0?b:f[0]*f[1]),1));b<0&&c.setDate(this._getDaysInMonth(c.getFullYear(),c.getMonth()));return this._isInRange(a,c)},_isInRange:function(a,b){var c=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,"max");return(!c||b.getTime()>=c.getTime())&&(!a||b.getTime()<=a.getTime())},_getFormatConfig:function(a){var b=this._get(a,"shortYearCutoff");b=typeof b!="string"?b:(new Date).getFullYear()%100+parseInt(b,10);return{shortYearCutoff:b,dayNamesShort:this._get(a, | |
|
544 | "dayNamesShort"),dayNames:this._get(a,"dayNames"),monthNamesShort:this._get(a,"monthNamesShort"),monthNames:this._get(a,"monthNames")}},_formatDate:function(a,b,c,e){if(!b){a.currentDay=a.selectedDay;a.currentMonth=a.selectedMonth;a.currentYear=a.selectedYear}b=b?typeof b=="object"?b:this._daylightSavingAdjust(new Date(e,c,b)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return this.formatDate(this._get(a,"dateFormat"),b,this._getFormatConfig(a))}});d.fn.datepicker= | |
|
545 | function(a){if(!this.length)return this;if(!d.datepicker.initialized){d(document).mousedown(d.datepicker._checkExternalClick).find("body").append(d.datepicker.dpDiv);d.datepicker.initialized=true}var b=Array.prototype.slice.call(arguments,1);if(typeof a=="string"&&(a=="isDisabled"||a=="getDate"||a=="widget"))return d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this[0]].concat(b));if(a=="option"&&arguments.length==2&&typeof arguments[1]=="string")return d.datepicker["_"+a+"Datepicker"].apply(d.datepicker, | |
|
546 | [this[0]].concat(b));return this.each(function(){typeof a=="string"?d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this].concat(b)):d.datepicker._attachDatepicker(this,a)})};d.datepicker=new K;d.datepicker.initialized=false;d.datepicker.uuid=(new Date).getTime();d.datepicker.version="1.8.10";window["DP_jQuery_"+y]=d})(jQuery); | |
|
547 | ;/* | |
|
548 | * jQuery UI Progressbar 1.8.10 | |
|
549 | * | |
|
550 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
551 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
552 | * http://jquery.org/license | |
|
553 | * | |
|
554 | * http://docs.jquery.com/UI/Progressbar | |
|
555 | * | |
|
556 | * Depends: | |
|
557 | * jquery.ui.core.js | |
|
558 | * jquery.ui.widget.js | |
|
559 | */ | |
|
560 | (function(b,d){b.widget("ui.progressbar",{options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()});this.valueDiv=b("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element);this.oldValue=this._value();this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"); | |
|
561 | this.valueDiv.remove();b.Widget.prototype.destroy.apply(this,arguments)},value:function(a){if(a===d)return this._value();this._setOption("value",a);return this},_setOption:function(a,c){if(a==="value"){this.options.value=c;this._refreshValue();this._value()===this.options.max&&this._trigger("complete")}b.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var a=this.options.value;if(typeof a!=="number")a=0;return Math.min(this.options.max,Math.max(this.min,a))},_percentage:function(){return 100* | |
|
562 | this._value()/this.options.max},_refreshValue:function(){var a=this.value(),c=this._percentage();if(this.oldValue!==a){this.oldValue=a;this._trigger("change")}this.valueDiv.toggleClass("ui-corner-right",a===this.options.max).width(c.toFixed(0)+"%");this.element.attr("aria-valuenow",a)}});b.extend(b.ui.progressbar,{version:"1.8.10"})})(jQuery); | |
|
563 | ;/* | |
|
564 | * jQuery UI Effects 1.8.10 | |
|
565 | * | |
|
566 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
567 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
568 | * http://jquery.org/license | |
|
569 | * | |
|
570 | * http://docs.jquery.com/UI/Effects/ | |
|
571 | */ | |
|
572 | jQuery.effects||function(f,j){function n(c){var a;if(c&&c.constructor==Array&&c.length==3)return c;if(a=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(c))return[parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3],10)];if(a=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(c))return[parseFloat(a[1])*2.55,parseFloat(a[2])*2.55,parseFloat(a[3])*2.55];if(a=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(c))return[parseInt(a[1], | |
|
573 | 16),parseInt(a[2],16),parseInt(a[3],16)];if(a=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(c))return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)];if(/rgba\(0, 0, 0, 0\)/.exec(c))return o.transparent;return o[f.trim(c).toLowerCase()]}function s(c,a){var b;do{b=f.curCSS(c,a);if(b!=""&&b!="transparent"||f.nodeName(c,"body"))break;a="backgroundColor"}while(c=c.parentNode);return n(b)}function p(){var c=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle, | |
|
574 | a={},b,d;if(c&&c.length&&c[0]&&c[c[0]])for(var e=c.length;e--;){b=c[e];if(typeof c[b]=="string"){d=b.replace(/\-(\w)/g,function(g,h){return h.toUpperCase()});a[d]=c[b]}}else for(b in c)if(typeof c[b]==="string")a[b]=c[b];return a}function q(c){var a,b;for(a in c){b=c[a];if(b==null||f.isFunction(b)||a in t||/scrollbar/.test(a)||!/color/i.test(a)&&isNaN(parseFloat(b)))delete c[a]}return c}function u(c,a){var b={_:0},d;for(d in a)if(c[d]!=a[d])b[d]=a[d];return b}function k(c,a,b,d){if(typeof c=="object"){d= | |
|
575 | a;b=null;a=c;c=a.effect}if(f.isFunction(a)){d=a;b=null;a={}}if(typeof a=="number"||f.fx.speeds[a]){d=b;b=a;a={}}if(f.isFunction(b)){d=b;b=null}a=a||{};b=b||a.duration;b=f.fx.off?0:typeof b=="number"?b:b in f.fx.speeds?f.fx.speeds[b]:f.fx.speeds._default;d=d||a.complete;return[c,a,b,d]}function m(c){if(!c||typeof c==="number"||f.fx.speeds[c])return true;if(typeof c==="string"&&!f.effects[c])return true;return false}f.effects={};f.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor", | |
|
576 | "borderTopColor","borderColor","color","outlineColor"],function(c,a){f.fx.step[a]=function(b){if(!b.colorInit){b.start=s(b.elem,a);b.end=n(b.end);b.colorInit=true}b.elem.style[a]="rgb("+Math.max(Math.min(parseInt(b.pos*(b.end[0]-b.start[0])+b.start[0],10),255),0)+","+Math.max(Math.min(parseInt(b.pos*(b.end[1]-b.start[1])+b.start[1],10),255),0)+","+Math.max(Math.min(parseInt(b.pos*(b.end[2]-b.start[2])+b.start[2],10),255),0)+")"}});var o={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0, | |
|
577 | 0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211, | |
|
578 | 211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},r=["add","remove","toggle"],t={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};f.effects.animateClass=function(c,a,b, | |
|
579 | d){if(f.isFunction(b)){d=b;b=null}return this.queue("fx",function(){var e=f(this),g=e.attr("style")||" ",h=q(p.call(this)),l,v=e.attr("className");f.each(r,function(w,i){c[i]&&e[i+"Class"](c[i])});l=q(p.call(this));e.attr("className",v);e.animate(u(h,l),a,b,function(){f.each(r,function(w,i){c[i]&&e[i+"Class"](c[i])});if(typeof e.attr("style")=="object"){e.attr("style").cssText="";e.attr("style").cssText=g}else e.attr("style",g);d&&d.apply(this,arguments)});h=f.queue(this);l=h.splice(h.length-1,1)[0]; | |
|
580 | h.splice(1,0,l);f.dequeue(this)})};f.fn.extend({_addClass:f.fn.addClass,addClass:function(c,a,b,d){return a?f.effects.animateClass.apply(this,[{add:c},a,b,d]):this._addClass(c)},_removeClass:f.fn.removeClass,removeClass:function(c,a,b,d){return a?f.effects.animateClass.apply(this,[{remove:c},a,b,d]):this._removeClass(c)},_toggleClass:f.fn.toggleClass,toggleClass:function(c,a,b,d,e){return typeof a=="boolean"||a===j?b?f.effects.animateClass.apply(this,[a?{add:c}:{remove:c},b,d,e]):this._toggleClass(c, | |
|
581 | a):f.effects.animateClass.apply(this,[{toggle:c},a,b,d])},switchClass:function(c,a,b,d,e){return f.effects.animateClass.apply(this,[{add:a,remove:c},b,d,e])}});f.extend(f.effects,{version:"1.8.10",save:function(c,a){for(var b=0;b<a.length;b++)a[b]!==null&&c.data("ec.storage."+a[b],c[0].style[a[b]])},restore:function(c,a){for(var b=0;b<a.length;b++)a[b]!==null&&c.css(a[b],c.data("ec.storage."+a[b]))},setMode:function(c,a){if(a=="toggle")a=c.is(":hidden")?"show":"hide";return a},getBaseline:function(c, | |
|
582 | a){var b;switch(c[0]){case "top":b=0;break;case "middle":b=0.5;break;case "bottom":b=1;break;default:b=c[0]/a.height}switch(c[1]){case "left":c=0;break;case "center":c=0.5;break;case "right":c=1;break;default:c=c[1]/a.width}return{x:c,y:b}},createWrapper:function(c){if(c.parent().is(".ui-effects-wrapper"))return c.parent();var a={width:c.outerWidth(true),height:c.outerHeight(true),"float":c.css("float")},b=f("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent", | |
|
583 | border:"none",margin:0,padding:0});c.wrap(b);b=c.parent();if(c.css("position")=="static"){b.css({position:"relative"});c.css({position:"relative"})}else{f.extend(a,{position:c.css("position"),zIndex:c.css("z-index")});f.each(["top","left","bottom","right"],function(d,e){a[e]=c.css(e);if(isNaN(parseInt(a[e],10)))a[e]="auto"});c.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})}return b.css(a).show()},removeWrapper:function(c){if(c.parent().is(".ui-effects-wrapper"))return c.parent().replaceWith(c); | |
|
584 | return c},setTransition:function(c,a,b,d){d=d||{};f.each(a,function(e,g){unit=c.cssUnit(g);if(unit[0]>0)d[g]=unit[0]*b+unit[1]});return d}});f.fn.extend({effect:function(c){var a=k.apply(this,arguments),b={options:a[1],duration:a[2],callback:a[3]};a=b.options.mode;var d=f.effects[c];if(f.fx.off||!d)return a?this[a](b.duration,b.callback):this.each(function(){b.callback&&b.callback.call(this)});return d.call(this,b)},_show:f.fn.show,show:function(c){if(m(c))return this._show.apply(this,arguments); | |
|
585 | else{var a=k.apply(this,arguments);a[1].mode="show";return this.effect.apply(this,a)}},_hide:f.fn.hide,hide:function(c){if(m(c))return this._hide.apply(this,arguments);else{var a=k.apply(this,arguments);a[1].mode="hide";return this.effect.apply(this,a)}},__toggle:f.fn.toggle,toggle:function(c){if(m(c)||typeof c==="boolean"||f.isFunction(c))return this.__toggle.apply(this,arguments);else{var a=k.apply(this,arguments);a[1].mode="toggle";return this.effect.apply(this,a)}},cssUnit:function(c){var a=this.css(c), | |
|
586 | b=[];f.each(["em","px","%","pt"],function(d,e){if(a.indexOf(e)>0)b=[parseFloat(a),e]});return b}});f.easing.jswing=f.easing.swing;f.extend(f.easing,{def:"easeOutQuad",swing:function(c,a,b,d,e){return f.easing[f.easing.def](c,a,b,d,e)},easeInQuad:function(c,a,b,d,e){return d*(a/=e)*a+b},easeOutQuad:function(c,a,b,d,e){return-d*(a/=e)*(a-2)+b},easeInOutQuad:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a+b;return-d/2*(--a*(a-2)-1)+b},easeInCubic:function(c,a,b,d,e){return d*(a/=e)*a*a+b},easeOutCubic:function(c, | |
|
587 | a,b,d,e){return d*((a=a/e-1)*a*a+1)+b},easeInOutCubic:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a+b;return d/2*((a-=2)*a*a+2)+b},easeInQuart:function(c,a,b,d,e){return d*(a/=e)*a*a*a+b},easeOutQuart:function(c,a,b,d,e){return-d*((a=a/e-1)*a*a*a-1)+b},easeInOutQuart:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a*a+b;return-d/2*((a-=2)*a*a*a-2)+b},easeInQuint:function(c,a,b,d,e){return d*(a/=e)*a*a*a*a+b},easeOutQuint:function(c,a,b,d,e){return d*((a=a/e-1)*a*a*a*a+1)+b},easeInOutQuint:function(c, | |
|
588 | a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a*a*a+b;return d/2*((a-=2)*a*a*a*a+2)+b},easeInSine:function(c,a,b,d,e){return-d*Math.cos(a/e*(Math.PI/2))+d+b},easeOutSine:function(c,a,b,d,e){return d*Math.sin(a/e*(Math.PI/2))+b},easeInOutSine:function(c,a,b,d,e){return-d/2*(Math.cos(Math.PI*a/e)-1)+b},easeInExpo:function(c,a,b,d,e){return a==0?b:d*Math.pow(2,10*(a/e-1))+b},easeOutExpo:function(c,a,b,d,e){return a==e?b+d:d*(-Math.pow(2,-10*a/e)+1)+b},easeInOutExpo:function(c,a,b,d,e){if(a==0)return b;if(a== | |
|
589 | e)return b+d;if((a/=e/2)<1)return d/2*Math.pow(2,10*(a-1))+b;return d/2*(-Math.pow(2,-10*--a)+2)+b},easeInCirc:function(c,a,b,d,e){return-d*(Math.sqrt(1-(a/=e)*a)-1)+b},easeOutCirc:function(c,a,b,d,e){return d*Math.sqrt(1-(a=a/e-1)*a)+b},easeInOutCirc:function(c,a,b,d,e){if((a/=e/2)<1)return-d/2*(Math.sqrt(1-a*a)-1)+b;return d/2*(Math.sqrt(1-(a-=2)*a)+1)+b},easeInElastic:function(c,a,b,d,e){c=1.70158;var g=0,h=d;if(a==0)return b;if((a/=e)==1)return b+d;g||(g=e*0.3);if(h<Math.abs(d)){h=d;c=g/4}else c= | |
|
590 | g/(2*Math.PI)*Math.asin(d/h);return-(h*Math.pow(2,10*(a-=1))*Math.sin((a*e-c)*2*Math.PI/g))+b},easeOutElastic:function(c,a,b,d,e){c=1.70158;var g=0,h=d;if(a==0)return b;if((a/=e)==1)return b+d;g||(g=e*0.3);if(h<Math.abs(d)){h=d;c=g/4}else c=g/(2*Math.PI)*Math.asin(d/h);return h*Math.pow(2,-10*a)*Math.sin((a*e-c)*2*Math.PI/g)+d+b},easeInOutElastic:function(c,a,b,d,e){c=1.70158;var g=0,h=d;if(a==0)return b;if((a/=e/2)==2)return b+d;g||(g=e*0.3*1.5);if(h<Math.abs(d)){h=d;c=g/4}else c=g/(2*Math.PI)*Math.asin(d/ | |
|
591 | h);if(a<1)return-0.5*h*Math.pow(2,10*(a-=1))*Math.sin((a*e-c)*2*Math.PI/g)+b;return h*Math.pow(2,-10*(a-=1))*Math.sin((a*e-c)*2*Math.PI/g)*0.5+d+b},easeInBack:function(c,a,b,d,e,g){if(g==j)g=1.70158;return d*(a/=e)*a*((g+1)*a-g)+b},easeOutBack:function(c,a,b,d,e,g){if(g==j)g=1.70158;return d*((a=a/e-1)*a*((g+1)*a+g)+1)+b},easeInOutBack:function(c,a,b,d,e,g){if(g==j)g=1.70158;if((a/=e/2)<1)return d/2*a*a*(((g*=1.525)+1)*a-g)+b;return d/2*((a-=2)*a*(((g*=1.525)+1)*a+g)+2)+b},easeInBounce:function(c, | |
|
592 | a,b,d,e){return d-f.easing.easeOutBounce(c,e-a,0,d,e)+b},easeOutBounce:function(c,a,b,d,e){return(a/=e)<1/2.75?d*7.5625*a*a+b:a<2/2.75?d*(7.5625*(a-=1.5/2.75)*a+0.75)+b:a<2.5/2.75?d*(7.5625*(a-=2.25/2.75)*a+0.9375)+b:d*(7.5625*(a-=2.625/2.75)*a+0.984375)+b},easeInOutBounce:function(c,a,b,d,e){if(a<e/2)return f.easing.easeInBounce(c,a*2,0,d,e)*0.5+b;return f.easing.easeOutBounce(c,a*2-e,0,d,e)*0.5+d*0.5+b}})}(jQuery); | |
|
593 | ;/* | |
|
594 | * jQuery UI Effects Blind 1.8.10 | |
|
595 | * | |
|
596 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
597 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
598 | * http://jquery.org/license | |
|
599 | * | |
|
600 | * http://docs.jquery.com/UI/Effects/Blind | |
|
601 | * | |
|
602 | * Depends: | |
|
603 | * jquery.effects.core.js | |
|
604 | */ | |
|
605 | (function(b){b.effects.blind=function(c){return this.queue(function(){var a=b(this),g=["position","top","bottom","left","right"],f=b.effects.setMode(a,c.options.mode||"hide"),d=c.options.direction||"vertical";b.effects.save(a,g);a.show();var e=b.effects.createWrapper(a).css({overflow:"hidden"}),h=d=="vertical"?"height":"width";d=d=="vertical"?e.height():e.width();f=="show"&&e.css(h,0);var i={};i[h]=f=="show"?d:0;e.animate(i,c.duration,c.options.easing,function(){f=="hide"&&a.hide();b.effects.restore(a, | |
|
606 | g);b.effects.removeWrapper(a);c.callback&&c.callback.apply(a[0],arguments);a.dequeue()})})}})(jQuery); | |
|
607 | ;/* | |
|
608 | * jQuery UI Effects Bounce 1.8.10 | |
|
609 | * | |
|
610 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
611 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
612 | * http://jquery.org/license | |
|
613 | * | |
|
614 | * http://docs.jquery.com/UI/Effects/Bounce | |
|
615 | * | |
|
616 | * Depends: | |
|
617 | * jquery.effects.core.js | |
|
618 | */ | |
|
619 | (function(e){e.effects.bounce=function(b){return this.queue(function(){var a=e(this),l=["position","top","bottom","left","right"],h=e.effects.setMode(a,b.options.mode||"effect"),d=b.options.direction||"up",c=b.options.distance||20,m=b.options.times||5,i=b.duration||250;/show|hide/.test(h)&&l.push("opacity");e.effects.save(a,l);a.show();e.effects.createWrapper(a);var f=d=="up"||d=="down"?"top":"left";d=d=="up"||d=="left"?"pos":"neg";c=b.options.distance||(f=="top"?a.outerHeight({margin:true})/3:a.outerWidth({margin:true})/ | |
|
620 | 3);if(h=="show")a.css("opacity",0).css(f,d=="pos"?-c:c);if(h=="hide")c/=m*2;h!="hide"&&m--;if(h=="show"){var g={opacity:1};g[f]=(d=="pos"?"+=":"-=")+c;a.animate(g,i/2,b.options.easing);c/=2;m--}for(g=0;g<m;g++){var j={},k={};j[f]=(d=="pos"?"-=":"+=")+c;k[f]=(d=="pos"?"+=":"-=")+c;a.animate(j,i/2,b.options.easing).animate(k,i/2,b.options.easing);c=h=="hide"?c*2:c/2}if(h=="hide"){g={opacity:0};g[f]=(d=="pos"?"-=":"+=")+c;a.animate(g,i/2,b.options.easing,function(){a.hide();e.effects.restore(a,l);e.effects.removeWrapper(a); | |
|
621 | b.callback&&b.callback.apply(this,arguments)})}else{j={};k={};j[f]=(d=="pos"?"-=":"+=")+c;k[f]=(d=="pos"?"+=":"-=")+c;a.animate(j,i/2,b.options.easing).animate(k,i/2,b.options.easing,function(){e.effects.restore(a,l);e.effects.removeWrapper(a);b.callback&&b.callback.apply(this,arguments)})}a.queue("fx",function(){a.dequeue()});a.dequeue()})}})(jQuery); | |
|
622 | ;/* | |
|
623 | * jQuery UI Effects Clip 1.8.10 | |
|
624 | * | |
|
625 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
626 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
627 | * http://jquery.org/license | |
|
628 | * | |
|
629 | * http://docs.jquery.com/UI/Effects/Clip | |
|
630 | * | |
|
631 | * Depends: | |
|
632 | * jquery.effects.core.js | |
|
633 | */ | |
|
634 | (function(b){b.effects.clip=function(e){return this.queue(function(){var a=b(this),i=["position","top","bottom","left","right","height","width"],f=b.effects.setMode(a,e.options.mode||"hide"),c=e.options.direction||"vertical";b.effects.save(a,i);a.show();var d=b.effects.createWrapper(a).css({overflow:"hidden"});d=a[0].tagName=="IMG"?d:a;var g={size:c=="vertical"?"height":"width",position:c=="vertical"?"top":"left"};c=c=="vertical"?d.height():d.width();if(f=="show"){d.css(g.size,0);d.css(g.position, | |
|
635 | c/2)}var h={};h[g.size]=f=="show"?c:0;h[g.position]=f=="show"?0:c/2;d.animate(h,{queue:false,duration:e.duration,easing:e.options.easing,complete:function(){f=="hide"&&a.hide();b.effects.restore(a,i);b.effects.removeWrapper(a);e.callback&&e.callback.apply(a[0],arguments);a.dequeue()}})})}})(jQuery); | |
|
636 | ;/* | |
|
637 | * jQuery UI Effects Drop 1.8.10 | |
|
638 | * | |
|
639 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
640 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
641 | * http://jquery.org/license | |
|
642 | * | |
|
643 | * http://docs.jquery.com/UI/Effects/Drop | |
|
644 | * | |
|
645 | * Depends: | |
|
646 | * jquery.effects.core.js | |
|
647 | */ | |
|
648 | (function(c){c.effects.drop=function(d){return this.queue(function(){var a=c(this),h=["position","top","bottom","left","right","opacity"],e=c.effects.setMode(a,d.options.mode||"hide"),b=d.options.direction||"left";c.effects.save(a,h);a.show();c.effects.createWrapper(a);var f=b=="up"||b=="down"?"top":"left";b=b=="up"||b=="left"?"pos":"neg";var g=d.options.distance||(f=="top"?a.outerHeight({margin:true})/2:a.outerWidth({margin:true})/2);if(e=="show")a.css("opacity",0).css(f,b=="pos"?-g:g);var i={opacity:e== | |
|
649 | "show"?1:0};i[f]=(e=="show"?b=="pos"?"+=":"-=":b=="pos"?"-=":"+=")+g;a.animate(i,{queue:false,duration:d.duration,easing:d.options.easing,complete:function(){e=="hide"&&a.hide();c.effects.restore(a,h);c.effects.removeWrapper(a);d.callback&&d.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery); | |
|
650 | ;/* | |
|
651 | * jQuery UI Effects Explode 1.8.10 | |
|
652 | * | |
|
653 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
654 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
655 | * http://jquery.org/license | |
|
656 | * | |
|
657 | * http://docs.jquery.com/UI/Effects/Explode | |
|
658 | * | |
|
659 | * Depends: | |
|
660 | * jquery.effects.core.js | |
|
661 | */ | |
|
662 | (function(j){j.effects.explode=function(a){return this.queue(function(){var c=a.options.pieces?Math.round(Math.sqrt(a.options.pieces)):3,d=a.options.pieces?Math.round(Math.sqrt(a.options.pieces)):3;a.options.mode=a.options.mode=="toggle"?j(this).is(":visible")?"hide":"show":a.options.mode;var b=j(this).show().css("visibility","hidden"),g=b.offset();g.top-=parseInt(b.css("marginTop"),10)||0;g.left-=parseInt(b.css("marginLeft"),10)||0;for(var h=b.outerWidth(true),i=b.outerHeight(true),e=0;e<c;e++)for(var f= | |
|
663 | 0;f<d;f++)b.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-f*(h/d),top:-e*(i/c)}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:h/d,height:i/c,left:g.left+f*(h/d)+(a.options.mode=="show"?(f-Math.floor(d/2))*(h/d):0),top:g.top+e*(i/c)+(a.options.mode=="show"?(e-Math.floor(c/2))*(i/c):0),opacity:a.options.mode=="show"?0:1}).animate({left:g.left+f*(h/d)+(a.options.mode=="show"?0:(f-Math.floor(d/2))*(h/d)),top:g.top+ | |
|
664 | e*(i/c)+(a.options.mode=="show"?0:(e-Math.floor(c/2))*(i/c)),opacity:a.options.mode=="show"?1:0},a.duration||500);setTimeout(function(){a.options.mode=="show"?b.css({visibility:"visible"}):b.css({visibility:"visible"}).hide();a.callback&&a.callback.apply(b[0]);b.dequeue();j("div.ui-effects-explode").remove()},a.duration||500)})}})(jQuery); | |
|
665 | ;/* | |
|
666 | * jQuery UI Effects Fade 1.8.10 | |
|
667 | * | |
|
668 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
669 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
670 | * http://jquery.org/license | |
|
671 | * | |
|
672 | * http://docs.jquery.com/UI/Effects/Fade | |
|
673 | * | |
|
674 | * Depends: | |
|
675 | * jquery.effects.core.js | |
|
676 | */ | |
|
677 | (function(b){b.effects.fade=function(a){return this.queue(function(){var c=b(this),d=b.effects.setMode(c,a.options.mode||"hide");c.animate({opacity:d},{queue:false,duration:a.duration,easing:a.options.easing,complete:function(){a.callback&&a.callback.apply(this,arguments);c.dequeue()}})})}})(jQuery); | |
|
678 | ;/* | |
|
679 | * jQuery UI Effects Fold 1.8.10 | |
|
680 | * | |
|
681 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
682 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
683 | * http://jquery.org/license | |
|
684 | * | |
|
685 | * http://docs.jquery.com/UI/Effects/Fold | |
|
686 | * | |
|
687 | * Depends: | |
|
688 | * jquery.effects.core.js | |
|
689 | */ | |
|
690 | (function(c){c.effects.fold=function(a){return this.queue(function(){var b=c(this),j=["position","top","bottom","left","right"],d=c.effects.setMode(b,a.options.mode||"hide"),g=a.options.size||15,h=!!a.options.horizFirst,k=a.duration?a.duration/2:c.fx.speeds._default/2;c.effects.save(b,j);b.show();var e=c.effects.createWrapper(b).css({overflow:"hidden"}),f=d=="show"!=h,l=f?["width","height"]:["height","width"];f=f?[e.width(),e.height()]:[e.height(),e.width()];var i=/([0-9]+)%/.exec(g);if(i)g=parseInt(i[1], | |
|
691 | 10)/100*f[d=="hide"?0:1];if(d=="show")e.css(h?{height:0,width:g}:{height:g,width:0});h={};i={};h[l[0]]=d=="show"?f[0]:g;i[l[1]]=d=="show"?f[1]:0;e.animate(h,k,a.options.easing).animate(i,k,a.options.easing,function(){d=="hide"&&b.hide();c.effects.restore(b,j);c.effects.removeWrapper(b);a.callback&&a.callback.apply(b[0],arguments);b.dequeue()})})}})(jQuery); | |
|
692 | ;/* | |
|
693 | * jQuery UI Effects Highlight 1.8.10 | |
|
694 | * | |
|
695 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
696 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
697 | * http://jquery.org/license | |
|
698 | * | |
|
699 | * http://docs.jquery.com/UI/Effects/Highlight | |
|
700 | * | |
|
701 | * Depends: | |
|
702 | * jquery.effects.core.js | |
|
703 | */ | |
|
704 | (function(b){b.effects.highlight=function(c){return this.queue(function(){var a=b(this),e=["backgroundImage","backgroundColor","opacity"],d=b.effects.setMode(a,c.options.mode||"show"),f={backgroundColor:a.css("backgroundColor")};if(d=="hide")f.opacity=0;b.effects.save(a,e);a.show().css({backgroundImage:"none",backgroundColor:c.options.color||"#ffff99"}).animate(f,{queue:false,duration:c.duration,easing:c.options.easing,complete:function(){d=="hide"&&a.hide();b.effects.restore(a,e);d=="show"&&!b.support.opacity&& | |
|
705 | this.style.removeAttribute("filter");c.callback&&c.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery); | |
|
706 | ;/* | |
|
707 | * jQuery UI Effects Pulsate 1.8.10 | |
|
708 | * | |
|
709 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
710 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
711 | * http://jquery.org/license | |
|
712 | * | |
|
713 | * http://docs.jquery.com/UI/Effects/Pulsate | |
|
714 | * | |
|
715 | * Depends: | |
|
716 | * jquery.effects.core.js | |
|
717 | */ | |
|
718 | (function(d){d.effects.pulsate=function(a){return this.queue(function(){var b=d(this),c=d.effects.setMode(b,a.options.mode||"show");times=(a.options.times||5)*2-1;duration=a.duration?a.duration/2:d.fx.speeds._default/2;isVisible=b.is(":visible");animateTo=0;if(!isVisible){b.css("opacity",0).show();animateTo=1}if(c=="hide"&&isVisible||c=="show"&&!isVisible)times--;for(c=0;c<times;c++){b.animate({opacity:animateTo},duration,a.options.easing);animateTo=(animateTo+1)%2}b.animate({opacity:animateTo},duration, | |
|
719 | a.options.easing,function(){animateTo==0&&b.hide();a.callback&&a.callback.apply(this,arguments)});b.queue("fx",function(){b.dequeue()}).dequeue()})}})(jQuery); | |
|
720 | ;/* | |
|
721 | * jQuery UI Effects Scale 1.8.10 | |
|
722 | * | |
|
723 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
724 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
725 | * http://jquery.org/license | |
|
726 | * | |
|
727 | * http://docs.jquery.com/UI/Effects/Scale | |
|
728 | * | |
|
729 | * Depends: | |
|
730 | * jquery.effects.core.js | |
|
731 | */ | |
|
732 | (function(c){c.effects.puff=function(b){return this.queue(function(){var a=c(this),e=c.effects.setMode(a,b.options.mode||"hide"),g=parseInt(b.options.percent,10)||150,h=g/100,i={height:a.height(),width:a.width()};c.extend(b.options,{fade:true,mode:e,percent:e=="hide"?g:100,from:e=="hide"?i:{height:i.height*h,width:i.width*h}});a.effect("scale",b.options,b.duration,b.callback);a.dequeue()})};c.effects.scale=function(b){return this.queue(function(){var a=c(this),e=c.extend(true,{},b.options),g=c.effects.setMode(a, | |
|
733 | b.options.mode||"effect"),h=parseInt(b.options.percent,10)||(parseInt(b.options.percent,10)==0?0:g=="hide"?0:100),i=b.options.direction||"both",f=b.options.origin;if(g!="effect"){e.origin=f||["middle","center"];e.restore=true}f={height:a.height(),width:a.width()};a.from=b.options.from||(g=="show"?{height:0,width:0}:f);h={y:i!="horizontal"?h/100:1,x:i!="vertical"?h/100:1};a.to={height:f.height*h.y,width:f.width*h.x};if(b.options.fade){if(g=="show"){a.from.opacity=0;a.to.opacity=1}if(g=="hide"){a.from.opacity= | |
|
734 | 1;a.to.opacity=0}}e.from=a.from;e.to=a.to;e.mode=g;a.effect("size",e,b.duration,b.callback);a.dequeue()})};c.effects.size=function(b){return this.queue(function(){var a=c(this),e=["position","top","bottom","left","right","width","height","overflow","opacity"],g=["position","top","bottom","left","right","overflow","opacity"],h=["width","height","overflow"],i=["fontSize"],f=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],k=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"], | |
|
735 | p=c.effects.setMode(a,b.options.mode||"effect"),n=b.options.restore||false,m=b.options.scale||"both",l=b.options.origin,j={height:a.height(),width:a.width()};a.from=b.options.from||j;a.to=b.options.to||j;if(l){l=c.effects.getBaseline(l,j);a.from.top=(j.height-a.from.height)*l.y;a.from.left=(j.width-a.from.width)*l.x;a.to.top=(j.height-a.to.height)*l.y;a.to.left=(j.width-a.to.width)*l.x}var d={from:{y:a.from.height/j.height,x:a.from.width/j.width},to:{y:a.to.height/j.height,x:a.to.width/j.width}}; | |
|
736 | if(m=="box"||m=="both"){if(d.from.y!=d.to.y){e=e.concat(f);a.from=c.effects.setTransition(a,f,d.from.y,a.from);a.to=c.effects.setTransition(a,f,d.to.y,a.to)}if(d.from.x!=d.to.x){e=e.concat(k);a.from=c.effects.setTransition(a,k,d.from.x,a.from);a.to=c.effects.setTransition(a,k,d.to.x,a.to)}}if(m=="content"||m=="both")if(d.from.y!=d.to.y){e=e.concat(i);a.from=c.effects.setTransition(a,i,d.from.y,a.from);a.to=c.effects.setTransition(a,i,d.to.y,a.to)}c.effects.save(a,n?e:g);a.show();c.effects.createWrapper(a); | |
|
737 | a.css("overflow","hidden").css(a.from);if(m=="content"||m=="both"){f=f.concat(["marginTop","marginBottom"]).concat(i);k=k.concat(["marginLeft","marginRight"]);h=e.concat(f).concat(k);a.find("*[width]").each(function(){child=c(this);n&&c.effects.save(child,h);var o={height:child.height(),width:child.width()};child.from={height:o.height*d.from.y,width:o.width*d.from.x};child.to={height:o.height*d.to.y,width:o.width*d.to.x};if(d.from.y!=d.to.y){child.from=c.effects.setTransition(child,f,d.from.y,child.from); | |
|
738 | child.to=c.effects.setTransition(child,f,d.to.y,child.to)}if(d.from.x!=d.to.x){child.from=c.effects.setTransition(child,k,d.from.x,child.from);child.to=c.effects.setTransition(child,k,d.to.x,child.to)}child.css(child.from);child.animate(child.to,b.duration,b.options.easing,function(){n&&c.effects.restore(child,h)})})}a.animate(a.to,{queue:false,duration:b.duration,easing:b.options.easing,complete:function(){a.to.opacity===0&&a.css("opacity",a.from.opacity);p=="hide"&&a.hide();c.effects.restore(a, | |
|
739 | n?e:g);c.effects.removeWrapper(a);b.callback&&b.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery); | |
|
740 | ;/* | |
|
741 | * jQuery UI Effects Shake 1.8.10 | |
|
742 | * | |
|
743 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
744 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
745 | * http://jquery.org/license | |
|
746 | * | |
|
747 | * http://docs.jquery.com/UI/Effects/Shake | |
|
748 | * | |
|
749 | * Depends: | |
|
750 | * jquery.effects.core.js | |
|
751 | */ | |
|
752 | (function(d){d.effects.shake=function(a){return this.queue(function(){var b=d(this),j=["position","top","bottom","left","right"];d.effects.setMode(b,a.options.mode||"effect");var c=a.options.direction||"left",e=a.options.distance||20,l=a.options.times||3,f=a.duration||a.options.duration||140;d.effects.save(b,j);b.show();d.effects.createWrapper(b);var g=c=="up"||c=="down"?"top":"left",h=c=="up"||c=="left"?"pos":"neg";c={};var i={},k={};c[g]=(h=="pos"?"-=":"+=")+e;i[g]=(h=="pos"?"+=":"-=")+e*2;k[g]= | |
|
753 | (h=="pos"?"-=":"+=")+e*2;b.animate(c,f,a.options.easing);for(e=1;e<l;e++)b.animate(i,f,a.options.easing).animate(k,f,a.options.easing);b.animate(i,f,a.options.easing).animate(c,f/2,a.options.easing,function(){d.effects.restore(b,j);d.effects.removeWrapper(b);a.callback&&a.callback.apply(this,arguments)});b.queue("fx",function(){b.dequeue()});b.dequeue()})}})(jQuery); | |
|
754 | ;/* | |
|
755 | * jQuery UI Effects Slide 1.8.10 | |
|
756 | * | |
|
757 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
758 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
759 | * http://jquery.org/license | |
|
760 | * | |
|
761 | * http://docs.jquery.com/UI/Effects/Slide | |
|
762 | * | |
|
763 | * Depends: | |
|
764 | * jquery.effects.core.js | |
|
765 | */ | |
|
766 | (function(c){c.effects.slide=function(d){return this.queue(function(){var a=c(this),h=["position","top","bottom","left","right"],f=c.effects.setMode(a,d.options.mode||"show"),b=d.options.direction||"left";c.effects.save(a,h);a.show();c.effects.createWrapper(a).css({overflow:"hidden"});var g=b=="up"||b=="down"?"top":"left";b=b=="up"||b=="left"?"pos":"neg";var e=d.options.distance||(g=="top"?a.outerHeight({margin:true}):a.outerWidth({margin:true}));if(f=="show")a.css(g,b=="pos"?isNaN(e)?"-"+e:-e:e); | |
|
767 | var i={};i[g]=(f=="show"?b=="pos"?"+=":"-=":b=="pos"?"-=":"+=")+e;a.animate(i,{queue:false,duration:d.duration,easing:d.options.easing,complete:function(){f=="hide"&&a.hide();c.effects.restore(a,h);c.effects.removeWrapper(a);d.callback&&d.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery); | |
|
768 | ;/* | |
|
769 | * jQuery UI Effects Transfer 1.8.10 | |
|
770 | * | |
|
771 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
|
772 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
773 | * http://jquery.org/license | |
|
774 | * | |
|
775 | * http://docs.jquery.com/UI/Effects/Transfer | |
|
776 | * | |
|
777 | * Depends: | |
|
778 | * jquery.effects.core.js | |
|
779 | */ | |
|
780 | (function(e){e.effects.transfer=function(a){return this.queue(function(){var b=e(this),c=e(a.options.to),d=c.offset();c={top:d.top,left:d.left,height:c.innerHeight(),width:c.innerWidth()};d=b.offset();var f=e('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(a.options.className).css({top:d.top,left:d.left,height:b.innerHeight(),width:b.innerWidth(),position:"absolute"}).animate(c,a.duration,a.options.easing,function(){f.remove();a.callback&&a.callback.apply(b[0],arguments); | |
|
781 | b.dequeue()})})}})(jQuery); | |
|
782 | ; No newline at end of file |
@@ -0,0 +1,54 b'' | |||
|
1 | (function($) { | |
|
2 | ||
|
3 | /* | |
|
4 | * Auto-growing textareas; technique ripped from Facebook | |
|
5 | */ | |
|
6 | $.fn.autogrow = function(options) { | |
|
7 | ||
|
8 | this.filter('textarea').each(function() { | |
|
9 | ||
|
10 | var $this = $(this), | |
|
11 | minHeight = $this.height(), | |
|
12 | lineHeight = $this.css('lineHeight'); | |
|
13 | ||
|
14 | var shadow = $('<div></div>').css({ | |
|
15 | position: 'absolute', | |
|
16 | top: -10000, | |
|
17 | left: -10000, | |
|
18 | width: $(this).width() - parseInt($this.css('paddingLeft')) - parseInt($this.css('paddingRight')), | |
|
19 | fontSize: $this.css('fontSize'), | |
|
20 | fontFamily: $this.css('fontFamily'), | |
|
21 | lineHeight: $this.css('lineHeight'), | |
|
22 | resize: 'none' | |
|
23 | }).appendTo(document.body); | |
|
24 | ||
|
25 | var update = function() { | |
|
26 | ||
|
27 | var times = function(string, number) { | |
|
28 | for (var i = 0, r = ''; i < number; i ++) r += string; | |
|
29 | return r; | |
|
30 | }; | |
|
31 | ||
|
32 | var val = this.value.replace(/</g, '<') | |
|
33 | .replace(/>/g, '>') | |
|
34 | .replace(/&/g, '&') | |
|
35 | .replace(/\n$/, '<br/> ') | |
|
36 | .replace(/\n/g, '<br/>') | |
|
37 | .replace(/ {2,}/g, function(space) { return times(' ', space.length -1) + ' ' }); | |
|
38 | ||
|
39 | shadow.html(val); | |
|
40 | $(this).css('height', Math.max(shadow.height() + 20, minHeight)); // 20- was default | |
|
41 | ||
|
42 | } | |
|
43 | ||
|
44 | $(this).change(update).keyup(update).keydown(update); | |
|
45 | ||
|
46 | update.apply(this); | |
|
47 | ||
|
48 | }); | |
|
49 | ||
|
50 | return this; | |
|
51 | ||
|
52 | } | |
|
53 | ||
|
54 | })(jQuery); No newline at end of file |
@@ -0,0 +1,75 b'' | |||
|
1 | /* | |
|
2 | * Auto Grow Textarea Plugin | |
|
3 | * by Jevin 5/11/2010 | |
|
4 | * http://www.technoreply.com/autogrow-textarea-plugin/ | |
|
5 | * | |
|
6 | * Modified by Rob G (aka Fudgey/Mottie) | |
|
7 | * - Converted into a plugin | |
|
8 | * - Added ability to calculate approximate # cols when textarea is set to 100% | |
|
9 | */ | |
|
10 | ||
|
11 | (function($){ | |
|
12 | // if "full" is true, auto adjust textarea cols | |
|
13 | $.fn.autoGrow = function(full){ | |
|
14 | ||
|
15 | // resize textarea | |
|
16 | var grow = function(d){ | |
|
17 | var linesCount = 0, | |
|
18 | // modified split rule from | |
|
19 | // http://stackoverflow.com/questions/2035910/how-to-get-the-number-of-lines-in-a-textarea/2036424#2036424 | |
|
20 | lines = d.txt.value.split(/\r|\r\n|\n/); | |
|
21 | for (var i = lines.length-1; i>=0; --i){ | |
|
22 | linesCount += Math.round((lines[i].length / d.colsDefault) + 1); | |
|
23 | } | |
|
24 | if (linesCount >= d.rowsDefault) { | |
|
25 | d.txt.rows = linesCount + 1; // added one more here because of IE | |
|
26 | } else { | |
|
27 | d.txt.rows = d.rowsDefault; | |
|
28 | } | |
|
29 | }; | |
|
30 | ||
|
31 | // Calculate # of columns from width of textarea | |
|
32 | // this is a very rough approximation; set textarea CSS width to 100% to maintain full size | |
|
33 | var setColsWidth = function(d){ | |
|
34 | var pWidth = d.$txt.parent().innerWidth(); | |
|
35 | // if char width not set, add window resize events | |
|
36 | if (d.charWidth === 0){ | |
|
37 | $(window).resize(function(){ | |
|
38 | setColsWidth(d); | |
|
39 | grow(d); | |
|
40 | }); | |
|
41 | // assume charwidth is roughly 1/2 font-size (on average) | |
|
42 | d.charWidth = parseInt(d.$txt.css('font-size'),10)/2; | |
|
43 | } | |
|
44 | var cols = Math.round(pWidth / d.charWidth); // calculate number of columns | |
|
45 | d.colsDefault = cols; | |
|
46 | d.$txt.attr('cols', cols ); | |
|
47 | }; | |
|
48 | ||
|
49 | // set default textarea size | |
|
50 | var setDefaultValues = function(d){ | |
|
51 | // call cols-adjusting script if $("textarea").autoGrow(true); | |
|
52 | if (full && d.charWidth === 0) { setColsWidth(d); } | |
|
53 | d.colsDefault = d.txt.cols; | |
|
54 | d.rowsDefault = d.txt.rows; | |
|
55 | }; | |
|
56 | ||
|
57 | return this.each(function(){ | |
|
58 | // defaults | |
|
59 | var d = { | |
|
60 | colsDefault : 0, | |
|
61 | rowsDefault : 0, | |
|
62 | charWidth : 0, | |
|
63 | txt : this, | |
|
64 | $txt : $(this) | |
|
65 | }; | |
|
66 | // bind keyup | |
|
67 | d.txt.onkeyup = function(){ | |
|
68 | grow(d); | |
|
69 | }; | |
|
70 | setDefaultValues(d); | |
|
71 | grow(d); | |
|
72 | }); | |
|
73 | ||
|
74 | }; | |
|
75 | })(jQuery); No newline at end of file |
@@ -0,0 +1,30 b'' | |||
|
1 | /* | |
|
2 | * | |
|
3 | * Wijmo Library 1.1.3 | |
|
4 | * http://wijmo.com/ | |
|
5 | * | |
|
6 | * Copyright(c) ComponentOne, LLC. All rights reserved. | |
|
7 | * | |
|
8 | * Dual licensed under the MIT or GPL Version 2 licenses. | |
|
9 | * licensing@wijmo.com | |
|
10 | * http://www.wijmo.com/license | |
|
11 | * | |
|
12 | **/ | |
|
13 | (function(a){a.fn.extend({wijContent:function(a){return this.each(function(){this.innerHTML='<iframe frameborder="0" style="width: 100%; height: 100%;" src="'+a+'">"'})}});var b=function(a){return isNaN(a)?0:a};a.fn.leftBorderWidth=function(){var d=parseFloat(a(this).css("borderLeftWidth")),e=parseFloat(a(this).css("padding-left")),c=0;if(a(this).css("margin-left")!="auto")c=parseFloat(a(this).css("margin-left"));return b(d)+b(e)+b(c)};a.fn.rightBorderWidth=function(){var d=parseFloat(a(this).css("borderRightWidth")),e=parseFloat(a(this).css("padding-right")),c=0;if(a(this).css("margin-right")!="auto")c=parseFloat(a(this).css("margin-right"));return b(d)+b(e)+b(c)};a.fn.topBorderWidth=function(){var d=parseFloat(a(this).css("borderTopWidth")),e=parseFloat(a(this).css("padding-top")),c=0;if(a(this).css("margin-top")!="auto")c=parseFloat(a(this).css("margin-top"));return b(d)+b(e)+b(c)};a.fn.bottomBorderWidth=function(){var d=parseFloat(a(this).css("borderBottomWidth")),e=parseFloat(a(this).css("padding-bottom")),c=0;if(a(this).css("margin-bottom")!="auto")c=parseFloat(a(this).css("margin-bottom"));return b(d)+b(e)+b(c)};a.fn.borderSize=function(){var c=a(this).leftBorderWidth()+a(this).rightBorderWidth(),b=a(this).topBorderWidth()+a(this).bottomBorderWidth(),d={width:c,height:b};return d};a.fn.setOutWidth=function(b){var c=a(this).leftBorderWidth()+a(this).rightBorderWidth();a(this).width(b-c);return this};a.fn.setOutHeight=function(b){var c=a(this).topBorderWidth()+a(this).bottomBorderWidth();a(this).height(b-c);return this};a.fn.getWidget=function(){var a=this.data("widgetName");return a&&a!=""?this.data(a):null};a.fn.wijshow=function(b,e,g,f,d){var c=b.animated||false,h=b.duration||400,i=b.easing,j=b.option||{};f&&a.isFunction(f)&&f.call(this);if(c){if(a.effects&&a.effects[c]){this.show(c,a.extend(j,{easing:i}),h,d);return}if(e&&e[c]){e[c](b,a.extend(g,{complete:d}));return}}this.show();d&&a.isFunction(d)&&d.call(this)};a.fn.wijhide=function(d,e,g,f,c){var b=d.animated||false,h=d.duration||400,i=d.easing,j=d.option||{};f&&a.isFunction(f)&&f.call(this);if(b){if(a.effects&&a.effects[b]){this.hide(b,a.extend(j,{easing:i}),h,c);return}if(e&&e[b]){e[b](newAnimations,a.extend(g,{complete:c}));return}}this.hide();c&&a.isFunction(c)&&c.call(this)};var c=function(){};a.extend(c.prototype,{_UTFPunctuationsString:" ! \" # % & ' ( ) * , - . / : ; ? @ [ \\ ] { } \u00a1 \u00ab \u00ad \u00b7 \u00bb \u00bf \u037e \u0387 \u055a \u055b \u055c \u055d \u055e \u055f \u0589 \u058a \u05be \u05c0 \u05c3 \u05f3 \u05f4 \u060c \u061b \u061f \u066a \u066b \u066c \u066d \u06d4 \u0700 \u0701 \u0702 \u0703 \u0704 \u0705 \u0706 \u0707 \u0708 \u0709 \u070a \u070b \u070c \u070d \u0964 \u0965 \u0970 \u0df4 \u0e4f \u0e5a \u0e5b \u0f04 \u0f05 \u0f06 \u0f07 \u0f08 \u0f09 \u0f0a \u0f0b \u0f0c \u0f0d \u0f0e \u0f0f \u0f10 \u0f11 \u0f12 \u0f3a \u0f3b \u0f3c \u0f3d \u0f85 \u104a \u104b \u104c \u104d \u104e \u104f \u10fb \u1361 \u1362 \u1363 \u1364 \u1365 \u1366 \u1367 \u1368 \u166d \u166e \u169b \u169c \u16eb \u16ec \u16ed \u17d4 \u17d5 \u17d6 \u17d7 \u17d8 \u17d9 \u17da \u17dc \u1800 \u1801 \u1802 \u1803 \u1804 \u1805 \u1806 \u1807 \u1808 \u1809 \u180a \u2010 \u2011 \u2012 \u2013 \u2014 \u2015 \u2016 \u2017 \u2018 \u2019 \u201a \u201b \u201c \u201d \u201e \u201f \u2020 \u2021 \u2022 \u2023 \u2024 \u2025 \u2026 \u2027 \u2030 \u2031 \u2032 \u2033 \u2034 \u2035 \u2036 \u2037 \u2038 \u2039 \u203a \u203b \u203c \u203d \u203e \u2041 \u2042 \u2043 \u2045 \u2046 \u2048 \u2049 \u204a \u204b \u204c \u204d \u207d \u207e \u208d \u208e \u2329 \u232a \u3001 \u3002 \u3003 \u3008 \u3009 \u300a \u300b \u300c \u300d \u300e \u300f \u3010 \u3011 \u3014 \u3015 \u3016 \u3017 \u3018 \u3019 \u301a \u301b \u301c \u301d \u301e \u301f \u3030 \ufd3e \ufd3f \ufe30 \ufe31 \ufe32 \ufe35 \ufe36 \ufe37 \ufe38 \ufe39 \ufe3a \ufe3b \ufe3c \ufe3d \ufe3e \ufe3f \ufe40 \ufe41 \ufe42 \ufe43 \ufe44 \ufe49 \ufe4a \ufe4b \ufe4c \ufe50 \ufe51 \ufe52 \ufe54 \ufe55 \ufe56 \ufe57 \ufe58 \ufe59 \ufe5a \ufe5b \ufe5c \ufe5d \ufe5e \ufe5f \ufe60 \ufe61 \ufe63 \ufe68 \ufe6a \ufe6b \uff01 \uff02 \uff03 \uff05 \uff06 \uff07 \uff08 \uff09 \uff0a \uff0c \uff0d \uff0e \uff0f \uff1a \uff1b \uff1f \uff20 \uff3b \uff3c \uff3d \uff5b \uff5d \uff61 \uff62 \uff63 \uff64';this.UTFWhitespacesString_='\t \13 \f \37 \u00a0 \u1680 \u2000 \u2001 \u2002 \u2003 \u2004 \u2005 \u2006 \u2007 \u2008 \u2009 \u200a \u200b \u2028 \u202f \u3000",isDigit:function(a){return a>="0"&&a<="9"},isLetter:function(a){return!!(a+"").match(new RegExp("[A-Za-z\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u021f\u0222-\u0233\u0250-\u02ad\u02b0-\u02b8\u02bb-\u02c1\u02d0\u02d1\u02e0-\u02e4\u02ee\u037a\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03ce\u03d0-\u03d7\u03da-\u03f3\u0400-\u0481\u048c-\u04c4\u04c7\u04c8\u04cb\u04cc\u04d0-\u04f5\u04f8\u04f9\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0621-\u063a\u0640-\u064a\u0671-\u06d3\u06d5\u06e5\u06e6\u06fa-\u06fc\u0710\u0712-\u072c\u0780-\u07a5\u0905-\u0939\u093d\u0950\u0958-\u0961\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8b\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b36-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb5\u0bb7-\u0bb9\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cde\u0ce0\u0ce1\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d28\u0d2a-\u0d39\u0d60\u0d61\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc\u0edd\u0f00\u0f40-\u0f47\u0f49-\u0f6a\u0f88-\u0f8b\u1000-\u1021\u1023-\u1027\u1029\u102a\u1050-\u1055\u10a0-\u10c5\u10d0-\u10f6\u1100-\u1159\u115f-\u11a2\u11a8-\u11f9\u1200-\u1206\u1208-\u1246\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1286\u1288\u128a-\u128d\u1290-\u12ae\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12ce\u12d0-\u12d6\u12d8-\u12ee\u12f0-\u130e\u1310\u1312-\u1315\u1318-\u131e\u1320-\u1346\u1348-\u135a\u13a0-\u13f4\u1401-\u166c\u166f-\u1676\u1681-\u169a\u16a0-\u16ea\u1780-\u17b3\u1820-\u1877\u1880-\u18a8\u1e00-\u1e9b\u1ea0-\u1ef9\u1f00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u207f\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2131\u2133-\u2139\u3005\u3006\u3031-\u3035\u3041-\u3094\u309d\u309e\u30a1-\u30fa\u30fc-\u30fe\u3105-\u312c\u3131-\u318e\u31a0-\u31b7\u3400-\u4db5\u4e00-\u9fa5\ua000-\ua48c\uac00-\ud7a3\uf900-\ufa2d\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe72\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]"))},isLetterOrDigit:function(a){return this.isLetter(a)||this.isDigit(a)},isSymbol:function(b){var a=new RegExp("[$+<->^`|~\u00a2-\u00a9\u00ac\u00ae-\u00b1\u00b4\u00b6\u00b8\u00d7\u00f7\u02b9\u02ba\u02c2-\u02cf\u02d2-\u02df\u02e5-\u02ed\u0374\u0375\u0384\u0385\u0482\u06e9\u06fd\u06fe\u09f2\u09f3\u09fa\u0b70\u0e3f\u0f01-\u0f03\u0f13-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fcf\u17db\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u207a-\u207c\u208a-\u208c\u20a0-\u20af\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u2132\u213a\u2190-\u21f3\u2200-\u22f1\u2300-\u2328\u232b-\u237b\u237d-\u239a\u2400-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2595\u25a0-\u25f7\u2600-\u2613\u2619-\u2671\u2701-\u2704\u2706-\u2709\u270c-\u2727\u2729-\u274b\u274d\u274f-\u2752\u2756\u2758-\u275e\u2761-\u2767\u2794\u2798-\u27af\u27b1-\u27be\u2800-\u28ff\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u3200-\u321c\u322a-\u3243\u3260-\u327b\u327f\u328a-\u32b0\u32c0-\u32cb\u32d0-\u32fe\u3300-\u3376\u337b-\u33dd\u33e0-\u33fe\ua490-\ua4a1\ua4a4-\ua4b3\ua4b5-\ua4c0\ua4c2-\ua4c4\ua4c6\ufb29\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]");return a.test(b+"")},isPunctuation:function(a){return this._UTFPunctuationsString.indexOf(a)>=0},isPrintableChar:function(a){return!this.isLetterOrDigit(a)&&!this.isPunctuation(a)&&!this.isSymbol(a)?a===" ":true},isAscii:function(a){return a>="!"&&a<="~"},isAsciiLetter:function(a){return a>="A"&&a<="Z"||a>="a"&&a<="z"},isUpper:function(a){return a.toUpperCase()===a},isLower:function(a){return a.toLowerCase()===a},isAlphanumeric:function(a){return!this.isLetter(a)?this.isDigit(a):true},isAciiAlphanumeric:function(a){return(a<"0"||a>"9")&&(a<"A"||a>"Z")?a>="a"?a<="z":false:true},setChar:function(a,c,b){return b>=a.length||b<0?a:""||a.substr(0,b)+c+a.substr(b+1)}});!a.wij&&a.extend({wij:{charValidator:new c}})})(jQuery);__wijReadOptionEvents=function(c,b){for(var a=0;a<c.length;a++)b.options[c[a]]!=null&&b.element.bind(c[a],b.options[c[a]]);for(a in b.options)if(a.indexOf(" ")!=-1)for(var e=a.split(" "),d=0;d<e.length;d++)e[d].length>0&&b.element.bind(e[d],b.options[a])}; | |
|
14 | (function(a){"use strict";var g="@wijtp@",b="wijmo-wijtooltip",e=b+"-arrow-",c=parseFloat,i=window,d=document,j=Math,h=j.max,f={};a.widget("wijmo.wijtooltip",{options:{content:"",title:"",closeBehavior:"auto",mouseTrailing:false,triggers:"hover",position:{my:"left bottom",at:"right top",offset:null},showCallout:true,animation:{animated:"fade",duration:500,easing:null},showAnimation:{},hideAnimation:{},showDelay:150,hideDelay:150,calloutAnimation:{duration:1e3,disabled:false,easing:null},calloutFilled:true,modal:false,group:null,ajaxCallback:false,showing:null,shown:null,hiding:null,hidden:null},_setOption:function(f,c){var b=this,e="_set_"+f,d=b.options[f];if(a.isPlainObject(c))c=a.extend({},d,c);a.Widget.prototype._setOption.apply(b,arguments);b[e]&&b[e](d)},_set_content:function(){var a=this;if(a._isAjaxCallback){a._callbacked=true;a.show();a._callbacked=false}},_create:function(){var c=this,i=c.options,e=c.element,h=e&&e.attr("id"),d="",f=i.group||g,b=a.wijmo.wijtooltip._getTooltip(f);if(b)b.count++;else{b=c._createTooltip();b.count=0;a.wijmo.wijtooltip._tooltips[f]=b}i.position.of=c.element;c._bindLiveEvents();c._tooltip=b;if(h!==""){d=b.attr("aria-describedby");d=d===undefined?"":d+" ";b.attr("aria-describedby",d+h)}},destroy:function(){var b=this,c=b.element,d=b.options.group||g;c.unbind(".tooltip");c.attr("title",b._content);a.wijmo.wijtooltip._removeTooltip(d);a.Widget.prototype.destroy.apply(b)},widget:function(){return this._tooltip},show:function(){var b=this,c=b._tooltip,d=b.options;if(!c)return;if(c._hideAnimationTimer){clearTimeout(c._hideAnimationTimer);c._hideAnimationTimer=null}c.stop(true,true);if(d.ajaxCallback&&a.isFunction(d.ajaxCallback)&&!b._callbacked){b._isAjaxCallback=true;d.ajaxCallback.call(b.element);return}c._showAnimationTimer=setTimeout(function(){b._setText();f=c.offset();b._setPosition();b._showTooltip()},b.options.showDelay)},showAt:function(a){var e=this,b=e._tooltip,n=b&&b._callout,m={},k=0,l=0,o={},g,h,c,d,j,i;if(!b||!n)return;b.stop(true,true);b._showAnimataionTimer=setTimeout(function(){e._setText();f=b.offset();b.offset({left:0,top:0}).show();m=n.position();k=m.left;l=m.top;h=e._getBorder(n);c=h.left||h.right;d=h.top||h.bottom;j=b.width();i=b.height();g=e._getCalloutShape();o=({rt:{left:a.x-j-c,top:a.y-l},rc:{left:a.x-j-c,top:a.y-i/2},rb:{left:a.x-j-c,top:a.y-l-d},lt:{left:a.x+c,top:a.y-l},lc:{left:a.x+c,top:a.y-i/2},lb:{left:a.x+c,top:a.y-l-d},tl:{left:a.x-k,top:a.y+d},tc:{left:a.x-j/2,top:a.y+d},tr:{left:a.x-k-c,top:a.y+d},bl:{left:a.x-k,top:a.y-i-d},bc:{left:a.x-j/2,top:a.y-i-d},br:{left:a.x-k-c,top:a.y-i-d}})[g];g=e._flipTooltip(o,g,h);e._setUnfilledCallout(g);b.offset(o).hide();e._calloutShape=g;e._showTooltip()},e.options.showDelay)},hide:function(){var b=this,c=b._tooltip;if(!c)return;clearTimeout(c._showAnimationTimer);c._hideAnimationTimer=setTimeout(a.proxy(b._hideTooltip,b),b.options.hideDelay)},_createTooltip:function(){var j=this,d="ui-corner-all",f="ui-widget-content",k="ui-state-default",l="ui-widget-header",c=a("<div class = '"+b+" ui-widget "+f+" "+d+"'></div>"),g=a("<div class='"+b+"-container'></div>"),h=a("<div class='"+f+" "+b+"-pointer '><div class='"+b+"-pointer-inner'></div></div>"),i=a("<div class = '"+b+"-title "+l+" "+d+"'></title>"),e=a("<a href='#' class = '"+b+"-close "+k+" "+d+"'></a>");e.append(a("<span class = 'ui-icon ui-icon-close'></span>")).bind("click",a.proxy(j._onClickCloseBtn,j));c.append(i).append(e).append(g).append(h).css("position","absolute").attr("role","tooltip").appendTo("body").hide();c._container=g;c._callout=h;c._closeBtn=e;c._title=i;return c},_bindLiveEvents:function(){var b=this,d=b.options,c=b.element;if(b._content===undefined){b._content=c.attr("title");c.attr("title","")}c.unbind(".tooltip");d.mouseTrailing&&c.bind("mousemove.tooltip",a.proxy(b.show,b));switch(d.triggers){case"hover":c.bind("mouseover.tooltip",a.proxy(b.show,b)).bind("mouseout.tooltip",a.proxy(b._hideIfNeeded,b));break;case"click":c.bind("click.tooltip",a.proxy(b.show,b));break;case"focus":c.bind("focus.tooltip",a.proxy(b.show,b)).bind("blur.tooltip",a.proxy(b._hideIfNeeded,b));break;case"rightClick":c.bind("contextmenu.tooltip",function(a){b.show();a.preventDefault()})}},_hideIfNeeded:function(){var b=this,c=b.options,a=c.closeBehavior;if(a==="sticky"||c.modal||a==="none")return;b.hide()},_flipTooltip:function(c,i,d){var h=this,e=h._tooltip,b=h._flipCallout(c,i),a=b&&b.flip,g,f;if(!e||!b||!a.h&&!a.v)return b.calloutShape;g=e.width();f=e.height();if(a.h==="l")c.left-=g+d.right*2+1;else if(a.h==="r")c.left+=g+d.left*2+1;else if(a.v==="t")c.top-=f+d.bottom*2+1;else if(a.v==="b")c.top+=f+d.top*2+1;return b.calloutShape},_flipCallout:function(h,b){var j=this,k=j.options,f=j._tooltip,c={h:false,v:false},g=a(i),d=(k.position.collision||"flip").split(" ");if(d.length===1)d[1]=d[0];if(!f||d[0]!=="flip"&&d[1]!=="flip")return{flip:c};if(d[0]==="flip")if(h.left<0||h.left+f.width()>g.width()+g.scrollLeft())c.h=true;if(d[0]==="flip")if(h.top<0||h.top+f.height()>g.height()+g.scrollTop())c.v=true;if(c.h)if(b.indexOf("l")>-1){b=b.replace(/l/,"r");c.h="l"}else if(b.indexOf("r")>-1){b=b.replace(/r/,"l");c.h="r"}if(c.v)if(b.indexOf("t")>-1){b=b.replace(/t/,"b");c.v="t"}else if(b.indexOf("b")>-1){b=b.replace(/b/,"t");c.v="b"}if(c.h||c.v){j._removeCalloutCss();f.addClass(e+b)}return{flip:c,calloutShape:b}},_set_position:function(b){var a=this,d=a.options,c=d.position;if(d.showCallout){(b.my!==c.my||b.at!==c.at)&&a._setPosition();a._setCalloutOffset(true)}},_set_showCallOut:function(d){var c=this,b=c._tooltip,a=b&&b._callout;if(!b||!a)return;if(d){c._setCalloutCss();a.show()}else a.hide()},_set_closeBehavior:function(){var c=this,b=c._tooltip,a=b&&b._closeBtn;a&&a[c.options.closeBehavior==="sticky"?"show":"hide"]()},_set_triggers:function(){this._bindLiveEvents()},_set_mouseTrailing:function(){this._bindLiveEvents()},_getCalloutShape:function(){var g=this,e=g.options.position,f=function(b){return a.map(b,function(a){return a.substr(0,1)})},c=f(e.my.split(" ")),d=f(e.at.split(" ")),b=[];if(c.length===2)b=c;if(c[0]===d[0])(c[1]==="t"&&d[1]==="b"||c[1]==="b"&&d[1]==="t")&&b.reverse();else d[0]==="c"&&b.reverse();b[0]==="c"&&b.reverse();return b.join("")},_setCalloutCss:function(){var a=this,f=a.options,d=a._tooltip,c="",b="";if(!f.showCallout)return;a._removeCalloutCss();b=a._getCalloutShape();c=e+b;d&&d.addClass(c);return b},_removeCalloutCss:function(){var b=this._tooltip;b&&a.each(["tl","tc","tr","bl","bc","br","rt","rc","rb","lt","lc","lb"],function(d,c){var a=e+c;if(b.hasClass(a)){b.removeClass(a);return false}})},_getBorder:function(d){var b={};a.each(["top","right","left","bottom"],function(e,a){b[a]=c(d.css("border-"+a+"-width"))});return b},_setPosition:function(){var e=this,m=e.options,d=m.position,a=e._tooltip,o=a.is(":hidden"),f=e._setCalloutCss(),b=[0,0],h="",g=a._callout,i,l,q,p,j,n,k;o&&a.show();a.css({left:0,top:0});if(m.showCallout){i=e._getBorder(g);q=c(g.css("left"));l=c(g.css("top"));p=c(g.css("right"));j=c(g.css("bottom"));switch(f[0]){case"l":b[0]=i.right;break;case"r":b[0]=-i.left;break;case"b":b[1]=j;break;case"t":b[1]=-l}switch(f[1]){case"t":b[1]=-l;break;case"b":b[1]=j;break;case"r":b[0]=p;break;case"l":b[0]=-q}h=b.join(" ")}a.position({my:d.my,at:d.at,of:d.of,offset:h,collision:"none none"});n=e._flipCallout(a.offset(),f);k=n.flip;if(k.h||k.v){a.css({left:0,top:0});a.position({my:d.my,at:d.at,of:d.of,offset:h,collision:d.collision})}m.showCallout&&e._setUnfilledCallout(f);e._calloutShape=f;o&&a.hide()},_setCalloutOffset:function(h){var g=this,k=g.options,j=g._tooltip,e=j&&j._callout,l=g._calloutShape,d=false,f=k.position.offset,c="",b=[],i=k.calloutAnimation;if(!e)return;if(!f||f.length===0)return;e.stop(true,true);a.each(["tr","tc","tl","bl","bc","br"],function(b,a){if(l===a){d=true;return false}});if(f){b=f.split(" ");if(b.length===2)c=d?b[0]:b[1];else if(b.length===1)c=b[0]}if(c!=="")if(h&&!h.disabled)e.animate(d?{left:c}:{top:c},i.duration,i.easing);else e.css(d?"left":"top",c)},_setUnfilledCallout:function(f){var e=this,c=e._tooltip,d=c&&c._callout,a=d&&d.children(),b=c&&c.css("background-color");if(!a)return;a.css({"border-left-color":"","border-top-color":"","border-bottom-color":"","border-right-color":""});if(e.options.calloutFilled)switch(f[0]){case"l":a.css("border-right-color",b);break;case"t":a.css("border-bottom-color",b);break;case"r":a.css("border-left-color",b);break;case"b":a.css("border-top-color",b)}},_showTooltip:function(){var c=this,d=c.options,b=c._tooltip,e,g,j,h=b&&b._closeBtn,i=b&&b._callout;if(!b)return;if(c._trigger("showing",null,c)===false)return;h&&h[d.closeBehavior==="sticky"?"show":"hide"]();i&&i[d.showCallout?"show":"hide"]();c._showModalLayer();b.css("z-index",99999);if(!d.mouseTrailing&&a.fn.wijshow){g={show:true,context:b};e=a.extend({},d.animation,d.showAnimation);if(b.is(":visible")){j=b.offset();b.offset(f);a.extend(g,{pos:j});e.animated="tooltipSlide"}b.wijshow(e,a.wijmo.wijtooltip.animations,g,null,function(){c._trigger("shown")})}else{b.show();c._trigger("shown")}c._setCalloutOffset(false)},_hideTooltip:function(){var b=this,d=b.options,c=b._tooltip,f=a.extend({},d.animation,d.hideAnimation),e;if(!c)return;if(b._trigger("hiding",null,b)===false)return;b._hideModalLayer();if(!d.mouseTrailing&&a.fn.wijhide){e={show:true,context:c};c.wijhide(f,a.wijmo.wijtooltip.animations,e,null,function(){b._trigger("hidden");c.css("z-index","")})}else{c.hide();b._trigger("hidden");c.css("z-index","")}},_getContent:function(b){var c={data:""},d;if(a.isFunction(b)){d=b.call(this.element,c);return c.data!==""?c.data:d}return b},_setText:function(){var b=this,f=b.options,c=b._tooltip,a="",d="",e=c&&c._title;if(!c)return;a=b._getContent(f.content);a=a===""?b._content:a;c._container.html(a);d=b._getContent(f.title);if(d!=="")e.html(d).show();else e.hide()},_showModalLayer:function(){var b=this,c=null;if(b.options.modal){c=a("<div>").addClass("ui-widget-overlay").css("z-index",99000).width(b._getDocSize("Width")).height(b._getDocSize("Height")).appendTo("body");b._modalLayer=c}},_hideModalLayer:function(){var b=this,a=b._modalLayer;a&&a.css("z-index","").remove()},_getDocSize:function(b){var c,e,g="docuemntElement",f="body";if(a.browser.msie&&a.browser.version<7){c=h(d[g]["scroll"+b],d[f]["scroll"+b]);e=h(d[g]["offset"+b],d[f]["offset"+b]);return c<e?a(i)[b.toLowerCase()]()+"px":c+"px"}else return a(d)[b.toLowerCase()]()+"px"},_onClickCloseBtn:function(a){this.hide();a.preventDefault()}});a.extend(a.wijmo.wijtooltip,{animations:{fade:function(b,c){b=a.extend({duration:300,easing:"swing"},b,c);b.context.stop(true,true).animate(b.show?{opacity:"show"}:{opacity:"hide"},b)},tooltipSlide:function(b,c){b=a.extend({duration:300,easing:"swing"},b,c);b.context.stop(true,true).animate({left:b.pos.left,top:b.pos.top},b)}},_tooltips:{},_getTooltip:function(b){return a.wijmo.wijtooltip._tooltips[b]},_removeTooltip:function(c){var b=a.wijmo.wijtooltip._tooltips[c];if(b){b.count--;b.count<=0&&b.remove();a.wijmo.wijtooltip._tooltips[c]=null}}})})(jQuery); | |
|
15 | (function(a){"use strict";a.widget("wijmo.wijslider",a.ui.slider,{options:{buttonmouseover:null,buttonmouseout:null,buttonmousedown:null,buttonmouseup:null,buttonclick:null,dragFill:true},_setOption:function(b,a){this.options[b]=a;return this},_create:function(){var d,b,c,q,r,h,g,l,k,o,n,m,u,v,s,t,i,p,e,f,j;if(this.element.is(":input")){i=a("<div></div>");i.width(this.element.width());i.appendTo(document.body);p=this.element.val();if(p!=="")try{e=p.split(";");if(e.length>0){j=[];for(f=0;f<e.length;f++)j[f]=parseInt(e[f]);if(e.length==1)this.options.value=j[0];else this.options.values=j}}catch(w){}this.element.data(this.widgetName,i.wijslider(this.options));this.element.after(a(document.body).children("div:last"));this.element.css("display","none");return}a.ui.slider.prototype._create.apply(this,arguments);this.element.data("originalStyle",this.element.attr("style"));this.element.data("originalContent",this.element.html());d=this.element.width();b=this.element.height();c=a("<div></div>");if(this.options.orientation==="horizontal")c.addClass("wijmo-wijslider-horizontal");else c.addClass("wijmo-wijslider-vertical");c.width(d);c.height(b);q=a('<a class="wijmo-wijslider-decbutton"><span></span></a>');r=a('<a class="wijmo-wijslider-incbutton"><span></span></a>');this.element.wrap(c);this.element.before(q);this.element.after(r);this._attachClass();h=this._getDecreBtn().outerWidth();g=this._getDecreBtn().outerHeight();l=this._getIncreBtn().outerWidth();k=this._getIncreBtn().outerHeight();o=this.element.find(".ui-slider-handle");n=o.outerWidth();m=o.outerHeight();this.element.removeAttr("style");if(this.options.orientation==="horizontal"){u=b/2-g/2;this._getDecreBtn().css("top",u).css("left",0);v=b/2-k/2;this._getIncreBtn().css("top",v).css("right",0);this.element.css("left",h+n/2-1).css("top",b/2-this.element.outerHeight()/2).width(d-h-l-n-2)}else{s=d/2-h/2;this._getDecreBtn().css("left",s).css("top",0);t=d/2-l/2;this._getIncreBtn().css("left",t).css("bottom",0);this.element.css("left",d/2-this.element.outerWidth()/2).css("top",g+m/2+1).height(b-g-k-m-2)}this._bindEvents()},destroy:function(){var d=this,b,c;b=this._getDecreBtn();c=this._getIncreBtn();b.unbind("."+d.widgetName);c.unbind("."+d.widgetName);a.ui.slider.prototype.destroy.apply(this,arguments);this.element.parent().removeAttr("class");this.element.parent().html("")},_getDecreBtn:function(){return this.element.parent().find(".wijmo-wijslider-decbutton")},_getIncreBtn:function(){return this.element.parent().find(".wijmo-wijslider-incbutton")},_attachClass:function(){this._getDecreBtn().addClass("ui-corner-all ui-state-default").attr("role","button");this._getIncreBtn().addClass("ui-corner-all ui-state-default").attr("role","button");this.element.parent().attr("role","slider").attr("aria-valuemin",this.options.min).attr("aria-valuenow","0").attr("aria-valuemax",this.options.max);if(this.options.orientation==="horizontal"){this.element.parent().addClass("wijmo-wijslider-horizontal");this._getDecreBtn().find("> span").addClass("ui-icon ui-icon-triangle-1-w");this._getIncreBtn().find("> span").addClass("ui-icon ui-icon-triangle-1-e")}else{this.element.parent().addClass("wijmo-wijslider-vertical");this._getDecreBtn().find("> span").addClass("ui-icon ui-icon-triangle-1-n");this._getIncreBtn().find("> span").addClass("ui-icon ui-icon-triangle-1-s")}},_bindEvents:function(){var a=this,b,c;b=this._getDecreBtn();c=this._getIncreBtn();b.bind("click."+a.widgetName,a,a._decreBtnClick);c.bind("click."+a.widgetName,a,a._increBtnClick);b.bind("mouseover."+a.widgetName,a,a._decreBtnMouseOver);b.bind("mouseout."+a.widgetName,a,a._decreBtnMouseOut);b.bind("mousedown."+a.widgetName,a,a._decreBtnMouseDown);b.bind("mouseup."+a.widgetName,a,a._decreBtnMouseUp);c.bind("mouseover."+a.widgetName,a,a._increBtnMouseOver);c.bind("mouseout."+a.widgetName,a,a._increBtnMouseOut);c.bind("mousedown."+a.widgetName,a,a._increBtnMouseDown);c.bind("mouseup."+a.widgetName,a,a._increBtnMouseUp)},_decreBtnMouseOver:function(d){var c=d.data,b,a;b={buttonType:"decreButton"};c._trigger("buttonmouseover",d,b);a=c._getDecreBtn();a.addClass("ui-state-hover")},_increBtnMouseOver:function(d){var c=d.data,b,a;b={buttonType:"increButton"};c._trigger("buttonmouseover",d,b);a=c._getIncreBtn();a.addClass("ui-state-hover")},_decreBtnMouseOut:function(d){var c=d.data,b,a;b={buttonType:"decreButton"};c._trigger("buttonmouseout",d,b);a=c._getDecreBtn();a.removeClass("ui-state-hover ui-state-active")},_increBtnMouseOut:function(d){var c=d.data,b,a;b={buttonType:"increButton"};c._trigger("buttonmouseout",d,b);a=c._getIncreBtn();a.removeClass("ui-state-hover ui-state-active")},_decreBtnMouseDown:function(d){var a=d.data,c,b;c={buttonType:"decreButton"};a._trigger("buttonmousedown",d,c);b=a._getDecreBtn();b.addClass("ui-state-active");a._intervalID=window.setInterval(function(){a._decreBtnHandle(a)},200)},_intervalID:null,_increBtnMouseDown:function(d){var a=d.data,c,b;c={buttonType:"increButton"};a._trigger("buttonmousedown",d,c);b=a._getIncreBtn();b.addClass("ui-state-active");a._intervalID=window.setInterval(function(){a._increBtnHandle(a)},200)},_decreBtnMouseUp:function(d){var a=d.data,c,b;c={buttonType:"decreButton"};a._trigger("buttonmouseup",d,c);b=a._getDecreBtn();b.removeClass("ui-state-active");window.clearInterval(a._intervalID)},_increBtnMouseUp:function(d){var a=d.data,c,b;c={buttonType:"increButton"};a._trigger("buttonmouseup",d,c);b=a._getIncreBtn();b.removeClass("ui-state-active");window.clearInterval(a._intervalID)},_decreBtnHandle:function(a){if(a.options.orientation==="horizontal")a._decre();else a._incre()},_decreBtnClick:function(c){var a=c.data,b;b={buttonType:"decreButton"};a._decreBtnHandle(a);a._trigger("buttonclick",c,b)},_increBtnHandle:function(a){if(a.options.orientation==="horizontal")a._incre();else a._decre()},_increBtnClick:function(c){var a=c.data,b;b={buttonType:"increButton"};a._increBtnHandle(a);a._trigger("buttonclick",c,b)},_decre:function(){var a=this.value();if(!this.options.range&&!this.options.values){a=this.value();if(a<=this.options.min)this.value(this.options.min);else this.value(a-this.options.step)}else{a=this.values(0);if(a<=this.options.min)this.values(0,this.options.min);else this.values(0,a-this.options.step)}this.element.parent().attr("aria-valuenow",this.value())},_incre:function(){var a=this.value();if(!this.options.range&&!this.options.values){a=this.value();if(a>=this.options.max)this.value(this.options.max);else this.value(a+this.options.step)}else{a=this.values(1);if(a>=this.options.max)this.values(1,this.options.max);else this.values(1,a+this.options.step)}this.element.parent().attr("aria-valuenow",this.value())},_mouseInit:function(){var b=this;if(this.options.dragFill){this._preventClickEvent=false;this.element.bind("click",function(){if(b._dragFillStart>0)b._dragFillStart=0;else a.ui.slider.prototype._mouseCapture.apply(b,arguments)})}a.ui.mouse.prototype._mouseInit.apply(this,arguments)},_mouseCapture:function(b){this.element.parent().attr("aria-valuenow",this.value());if(this.options.dragFill)if(b.target.className==="ui-slider-range ui-widget-header"){this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();return true}else return a.ui.slider.prototype._mouseCapture.apply(this,arguments);else return a.ui.slider.prototype._mouseCapture.apply(this,arguments)},_dragFillTarget:false,_dragFillStart:0,_rangeValue:0,_oldValue1:0,_oldValue2:0,_oldX:0,_oldY:0,_mouseStart:function(a){if(this.options.dragFill){if(a.target)if(a.target.className==="ui-slider-range ui-widget-header"){this._dragFillTarget=true;this._rangeValue=this.values(1)-this.values(0);this._oldValue1=this.values(0);this._oldValue2=this.values(1);this._oldX=a.pageX;this._oldY=a.pageY;return true}this._dragFillTarget=false}return true},_mouseDrag:function(f){var d,c,e,b,g,h;if(this.options.dragFill){d=f.pageX-this._oldX;c=this.element.outerWidth();if(this.options.orientation==="vertical"){c=this.element.outerHeight();d=-(f.pageY-this._oldY)}e=(this.options.max-this.options.min)/c*d;if(this._dragFillTarget){if(this.options.orientation==="vertical")a(document.documentElement).css("cursor","s-resize");else a(document.documentElement).css("cursor","w-resize");if(this._dragFillStart>0){b=this._rangeValue;this.values(0,this._oldValue1+e);this.values(1,this._oldValue1+e+b);g=this.values(0);h=this.values(1);g+b>this.options.max&&this.values(0,this.options.max-b);h-b<this.options.min&&this.values(1,this.options.min+b)}this._dragFillStart++;return false}else return a.ui.slider.prototype._mouseDrag.apply(this,arguments)}else return a.ui.slider.prototype._mouseDrag.apply(this,arguments)},_mouseStop:function(){var b=a.ui.slider.prototype._mouseStop.apply(this,arguments);if(this.options.dragFill){a(document.documentElement).css("cursor","default");window.setTimeout(function(){this._dragFillTarget=false;this._dragFillStart=0},500)}return b}})})(jQuery); | |
|
16 | (function(a){"use strict";a.widget("wijmo.wijsplitter",{options:{sizing:null,sized:null,expand:null,collapse:null,expanded:null,collapsed:null,barZIndex:-1,showExpander:true,splitterDistance:100,orientation:"vertical",fullSplit:false,resizeSettings:{animationOptions:{duration:100,easing:"swing",disabled:false},ghost:false},panel1:{minSize:1,collapsed:false,scrollBars:"auto"},panel2:{minSize:1,collapsed:false,scrollBars:"auto"}},getOptionsCopy:function(){return this.options},setOption:function(b,a){this.options[b]=a;return this},_create:function(){var b=this.element.height();this._setStructure();this._attachClass();this._checkFullSplitMode();this._initElements();this.refresh();a(this.element).trigger("load");this._bindEvents();this._initResizer();if(window.navigator.userAgent.indexOf("MSIE 6.0")>-1||window.navigator.userAgent.indexOf("MSIE 7.0")>-1)this.options.orientation==="vertical"&&a(".ui-resizable-handle",this.element).height(b)},destroy:function(){var b=this,e,d,c;if(b._getPanel1())b._getPanel1().is(":ui-resizable")&&b._getPanel1().resizable("destroy");e=this._getExpander();e.unbind("."+b.widgetName);a(window).unbind("."+b.widgetName);d=this.element.data("originalContent");this.element.html(d);c=this.element.data("originalStyle");this.element.removeAttr("class");if(c===undefined)this.element.removeAttr("style");else this.element.attr("style",c)},_setStructure:function(){var d,g,b,c,e,j,f,h,i;b=this.element.find("> div").get();if(b.length===1)d=b[0];else if(b.length>=2){d=b[0];g=b[1]}this.element.data("originalStyle",this.element.attr("style"));this.element.data("originalContent",this.element.html());c=a('<div class="wijmo-splitter-wrapper"></div>');this.element.append(c);e=a("<div></div>");c.append(e);if(d)e.append(d);else{h=a("<div></div>");e.append(h)}j=a("<div><div><span></span></div></div>");c.append(j);f=a("<div></div>");c.append(f);if(g)f.append(g);else{i=a("<div></div>");f.append(i)}},_attachClass:function(){if(this.options.orientation==="vertical"){this.element.addClass("wijmo-wijsplitter-vertical");this._getPanel1().addClass("wijmo-wijsplitter-v-panel1");this._getPanel1Content().addClass("wijmo-wijsplitter-v-panel1-content ui-widget-content");this._getBar().addClass("wijmo-wijsplitter-v-bar ui-widget-header");this._getExpander().addClass("wijmo-wijsplitter-v-expander ui-state-default").addClass("ui-corner-tl ui-corner-bl");this._getExpander().find("> span").addClass("ui-icon ui-icon-arrowthickstop-1-w");this._getPanel2().addClass("wijmo-wijsplitter-v-panel2");this._getPanel2Content().addClass("wijmo-wijsplitter-v-panel2-content ui-widget-content")}else{this.element.addClass("wijmo-wijsplitter-horizontal");this._getPanel1().addClass("wijmo-wijsplitter-h-panel1");this._getPanel1Content().addClass("wijmo-wijsplitter-h-panel1-content ui-widget-content");this._getBar().addClass("wijmo-wijsplitter-h-bar ui-widget-header");this._getExpander().addClass("wijmo-wijsplitter-h-expander ui-state-default").addClass("ui-corner-tl ui-corner-tr");this._getExpander().find("> span").addClass("ui-icon ui-icon-arrowthickstop-1-n");this._getPanel2().addClass("wijmo-wijsplitter-h-panel2");this._getPanel2Content().addClass("wijmo-wijsplitter-h-panel2-content ui-widget-content")}this._getExpander().attr("role","button");this.options.barZIndex!=-1&&this._getBar().css("z-index",this.options.barZIndex)},_getPanel1:function(){return this.element.find("> div > div:eq(0)")},_getPanel1Content:function(){return this._getPanel1().find("> div:eq(0)")},_getBar:function(){return this.element.find("> div > div:eq(1)")},_getExpander:function(){return this._getBar().find("> div")},_getPanel2:function(){return this.element.find("> div > div:eq(2)")},_getPanel2Content:function(){return this._getPanel2().find("> div:eq(0)")},_getContainer:function(){return this.element.find("> div")},_initElements:function(){var a,c,b,d,g,k,i,j,f,e,h;this._getContainer().height(this.element.height());this._setPanelsScrollMode();a=this.options.splitterDistance;c=this.element.width();b=this.element.height();if(this.options.orientation==="vertical"){d=this._getBar().outerWidth();if(a>c-d)a=c-d;g=this._getExpander().height();this._getContainer().width(c*2);if(this.options.panel2.collapsed&&!this.options.panel1.collapsed)a=c-d;this._getPanel1().height(b);this._getPanel1().width(a);if(window.navigator.userAgent.indexOf("Safari")>-1){k=this._getPanel1Content().borderSize().width;i=this._getPanel1Content().borderSize().height;this._getPanel1Content().css("float","none").css("height",b-i).css("width",a-k).css("float","left")}else{this._getPanel1Content().setOutHeight(b);this._getPanel1Content().setOutWidth(a)}if(this.options.panel1.collapsed){this.element.addClass("wijmo-wijsplitter-v-collapsed");this._getPanel1().css("display","none");a=0}else{this.element.addClass("wijmo-wijsplitter-v-expanded");this._getPanel1().css("display","")}if(window.navigator.userAgent.indexOf("Safari")>-1){j=this._getBar().borderSize().height;this._getBar().css("float","none").height(b-j).css("float","left")}else this._getBar().setOutHeight(b);this._getPanel2().height(b);this._getPanel2().width(c-a-d);if(window.navigator.userAgent.indexOf("Safari")>-1){f=this._getPanel2Content().borderSize().width;this._getPanel2Content().css("float","none").height(b-f).width(c-a-d-f).css("float","left")}else{this._getPanel2Content().setOutHeight(b);this._getPanel2Content().setOutWidth(c-a-d)}this._getExpander().css("cursor","pointer");this._getExpander().css("top",b/2-g/2)}else{e=this._getBar().outerHeight();if(a>b-e)a=b-e;h=this._getExpander().width();if(this.options.panel2.collapsed&&!this.options.panel1.collapsed)a=b-e;this._getPanel1().width(c).height(a);this._getPanel1Content().setOutWidth(c);this._getPanel1Content().setOutHeight(a);if(this.options.panel1.collapsed){this.element.addClass("wijmo-wijsplitter-h-collapsed");this._getPanel1().css("display","none");a=0}else{this.element.addClass("wijmo-wijsplitter-h-expanded");this._getPanel1().css("display","")}this._getBar().setOutWidth(c);this._getPanel2().width(c).height(b-a-e);this._getPanel2Content().setOutWidth(c);this._getPanel2Content().setOutHeight(b-a-e);this._getExpander().css("cursor","pointer");this._getExpander().css("left",c/2-h/2)}if(this.options.showExpander)this._getExpander().css("display","");else this._getExpander().css("display","none")},_bindEvents:function(){var b=this,d,c;d=this._getBar();c=this._getExpander();c.bind("mouseup."+b.widgetName,b,b._expanderMouseUp);c.bind("mouseover."+b.widgetName,b,b._expanderMouseOver);c.bind("mousedown."+b.widgetName,b,b._expanderMouseDown);c.bind("mouseout."+b.widgetName,b,b._expanderMouseOut);d.bind("mouseover."+b.widgetName,b,b._barMouseOver);d.bind("mouseout."+b.widgetName,b,b._barMouseOut);a(window).bind("resize."+b.widgetName,b,b._documentResize)},_barMouseOver:function(b){a(b.currentTarget).addClass("ui-state-hover")},_barMouseOut:function(b){a(b.currentTarget).removeClass("ui-state-hover")},_documentResize:function(b){var a=b.data;a.refresh()},_expanderMouseOver:function(b){a(b.currentTarget).addClass("ui-state-hover")},_expanderMouseDown:function(b){a(b.currentTarget).addClass("ui-state-active")},_expanderMouseOut:function(b){a(b.currentTarget).removeClass("ui-state-hover ui-state-active")},_expanderMouseUp:function(c){var b=c.data;a(c.currentTarget).removeClass("ui-state-active");if(!b.options.panel1.collapsed&&b.options.panel2.collapsed){b.options.panel2.collapsed=false;b._initElements();return}if(b.options.panel1.collapsed){if(b._trigger("expand",c,null)===false)return}else if(b._trigger("collapse",c,null)===false)return;b.options.panel1.collapsed=!b.options.panel1.collapsed;b._initElements();if(b.options.orientation==="vertical"){b.element.removeClass("wijmo-wijsplitter-v-expanded wijmo-wijsplitter-v-collapsed");b._getExpander().removeClass("ui-corner-tl ui-corner-bl ui-corner-tr ui-corner-br");b._getExpander().find("span").removeClass("ui-icon-arrowthickstop-1-w ui-icon-arrowthickstop-1-e");if(b.options.panel1.collapsed){b.element.addClass("wijmo-wijsplitter-v-collapsed");b._getExpander().addClass("ui-corner-tr ui-corner-br");b._getExpander().find("span").addClass("ui-icon-arrowthickstop-1-e")}else{b.element.addClass("wijmo-wijsplitter-v-expanded");b._getExpander().addClass("ui-corner-tl ui-corner-bl");b._getExpander().find("span").addClass("ui-icon-arrowthickstop-1-w")}}else{b.element.removeClass("wijmo-wijsplitter-h-expanded wijmo-wijsplitter-h-collapsed");b._getExpander().removeClass("ui-corner-tl ui-corner-tr ui-corner-bl ui-corner-br");b._getExpander().find("span").removeClass("ui-icon-arrowthickstop-1-n ui-icon-arrowthickstop-1-s");if(b.options.panel1.collapsed){b.element.addClass("wijmo-wijsplitter-h-collapsed");b._getExpander().addClass("ui-corner-bl ui-corner-br");b._getExpander().find("span").addClass("ui-icon-arrowthickstop-1-s")}else{b.element.addClass("wijmo-wijsplitter-h-expanded");b._getExpander().addClass("ui-corner-tl ui-corner-tr");b._getExpander().find("span").addClass("ui-icon-arrowthickstop-1-n")}}if(b.options.panel1.collapsed)b._trigger("collapsed",c,null);else b._trigger("expanded",c,null)},_initResizer:function(){var b=this,i,h,g,k,d,f,j,c,e;e=b.options.resizeSettings.animationOptions.duration;if(b.options.resizeSettings.animationOptions.disabled===true)e=0;i=this.element.width();h=this.element.height();if(this.options.orientation==="vertical"){g=this._getBar().outerWidth();k=i-g-this.options.panel2.minSize;d=this.options.panel1.minSize;if(d<2)d=2;b._getPanel1().resizable({wijanimate:true,minWidth:d,maxWidth:k,handles:"e",helper:"wijmo-wijsplitter-v-resize-hepler",animateDuration:e,animateEasing:b.options.resizeSettings.animationOptions.easing,ghost:b.options.ghost,stop:function(a){b._resizeStop(a,b)}});b._getPanel1().bind("animating",function(a){b._animating(a,b)});b._getPanel1().bind("animated",function(a){b._animated(a,b)})}else{f=this._getBar().outerHeight();j=h-f-this.options.panel2.minSize;c=this.options.panel1.minSize;if(c<2)c=2;b._getPanel1().resizable({wijanimate:true,minHeight:c,maxHeight:j,handles:"s",helper:"wijmo-wijsplitter-h-resize-hepler",animateDuration:e,animateEasing:b.options.resizeSettings.animationOptions.easing,ghost:b.options.ghost,stop:function(a){b._resizeStop(a,b)}});b._getPanel1().bind("animating",function(a){b._animating(a,b)});b._getPanel1().bind("animated",function(a){b._animated(a,b)})}a(".ui-resizable-handle",this.element).bind("mouseover",function(a){b._handlemouseover(a,b)});a(".ui-resizable-handle",this.element).bind("mouseout",function(a){b._handlemouseout(a,b)})},_handlemouseover:function(c,b){if(b.options.orientation==="vertical")a(".wijmo-wijsplitter-v-bar",this.element).addClass("ui-state-hover");else a(".wijmo-wijsplitter-h-bar",this.element).addClass("ui-state-hover")},_handlemouseout:function(c,b){if(b.options.orientation==="vertical")a(".wijmo-wijsplitter-v-bar",this.element).removeClass("ui-state-hover");else a(".wijmo-wijsplitter-h-bar",this.element).removeClass("ui-state-hover")},_animated:function(b,a){a._adjustLayout(a);a._trigger("sized",b,null)},_animating:function(b,a){a._adjustLayout(a);a._trigger("sizing",b,null)},_adjustLayout:function(a){if(a.options.orientation==="vertical"){a.options.splitterDistance=a._getPanel1().width();a._initElements()}else{a.options.splitterDistance=a._getPanel1().height();a._initElements()}},_resizeStop:function(b,a){a._adjustLayout(a)},_checkFullSplitMode:function(){if(this.element.css("width")==="100%"&&this.element.css("height")==="100%")this.options.fullSplit=true},_setPanelsScrollMode:function(){var a,b;a=this._getPanel1Content();b=this._getPanel2Content();if(this.options.panel1.scrollBars==="auto")a.css("overflow","auto");else if(this.options.panel1.scrollBars==="both")a.css("overflow","scroll");else if(this.options.panel1.scrollBars==="none")a.css("overflow","hidden");else if(this.options.panel1.scrollBars==="horizontal")a.css("overflow-x","scroll").css("overflow-y","hidden");else this.options.panel1.scrollBars==="vertical"&&a.css("overflow-x","hidden").css("overflow-y","scroll");if(this.options.panel2.scrollBars==="auto")b.css("overflow","auto");else if(this.options.panel2.scrollBars==="both")b.css("overflow","scroll");else if(this.options.panel2.scrollBars==="none")b.css("overflow","hidden");else if(this.options.panel2.scrollBars==="horizontal")b.css("overflow-x","scroll").css("overflow-y","hidden");else this.options.panel2.scrollBars==="vertical"&&b.css("overflow-x","hidden").css("overflow-y","scroll")},_setFullSplitMode:function(){this.element.css("width","100%").css("height","100%")},invalidate:function(){this._initElements()},refresh:function(){if(this.options.fullSplit){this._setFullSplitMode();this._initElements();this._adjustPanelContentsForChrome()}},_adjustPanelContentsForChrome:function(){var b;if(window.navigator.userAgent.indexOf("Chrome")>-1)if(this.options.orientation==="horizontal"){b=a(".wijmo-wijsplitter-h-panel1",this.element).width();a(".wijmo-wijsplitter-h-panel1",this.element).children("div").outerWidth(b);a(".wijmo-wijsplitter-h-panel2",this.element).children("div").outerWidth(b);a(".wijmo-wijsplitter-h-bar",this.element).outerWidth(b)}}})})(jQuery);(function(a){"use strict";a.ui.plugin.add("resizable","wijanimate",{stop:function(l){var b=a(this).data("resizable"),i=b.options,c=b.element,d=b._proportionallyResizeElements,h=d.length&&/textarea/i.test(d[0].nodeName),j=h&&a.ui.hasScroll(d[0],"left")?0:b.sizeDiff.height,k=h?0:b.sizeDiff.width,g,e,f;c.css("width",b.originalSize.width);c.css("height",b.originalSize.height);g={width:b.size.width-k,height:b.size.height-j};e=parseInt(c.css("left"),10)+(b.position.left-b.originalPosition.left)||null;f=parseInt(c.css("top"),10)+(b.position.top-b.originalPosition.top)||null;c.animate(a.extend(g,f&&e?{top:f,left:e}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var e={width:parseInt(c.css("width"),10),height:parseInt(c.css("height"),10),top:parseInt(c.css("top"),10),left:parseInt(c.css("left"),10)};d&&d.length&&a(d[0]).css({width:e.width,height:e.height});b._updateCache(e);b._propagate("resize",l);c.trigger("animating")},complete:function(){c.trigger("animated")}})}})})(jQuery); | |
|
17 | (function(a){"use strict";a.widget("wijmo.wijprogressbar",a.ui.progressbar,{options:{labelAlign:"center",maxValue:100,minValue:0,fillDirection:"east",labelFormatString:"{1}%",toolTipFormatString:"{1}%",indicatorIncrement:1,indicatorImage:"",animationDelay:0,animationOptions:{disabled:false,easing:null,duration:500},progressChanging:null,beforeProgressChanging:null,progressChanged:null},_setOption:function(d,c){var e,b=this;switch(d){case"value":e=parseInt(c,10);b.options[d]=e;b._refreshValue(e);break;case"maxValue":case"minValue":e=parseInt(c,10);b.options[d]=e;b[d==="maxValue"?"max":"min"]=e;b._refreshValue();break;case"labelFormatString":case"toolTipFormatString":b.options[d]=c;b._refreshValue();break;case"orientation":case"fillDirection":case"labelAlign":case"indicatorImage":b.options[d]=c;b._initElements();b._refreshValue();break;case"indicatorIncrement":c=c===0?1:c;b.options[d]=c;b._initElements();b._refreshValue()}a.Widget.prototype._setOption.apply(b,arguments)},_create:function(){var b=this;b.min=b.options.minValue;b.max=b.options.maxValue;b.element.addClass("wijmo-wijprogressbar");a.ui.progressbar.prototype._create.apply(b,arguments);b.label=a("<span>").addClass("ui-progressbar-label ui-corner-left").appendTo(b.element);b._initElements();b._isInit=true;b._refreshValue()},_triggerEvent:function(a,c,b){var d={oldValue:c,newValue:b};return this._trigger(a,null,d)===false},_refreshValue:function(){var b=this,c,d,e,f;if(!b._isInit)return;c=b.value();d=(c-b.min)/(b.max-b.min)*100;e=b.options;if(b._triggerEvent("beforeProgressChanging",b.element.attr("aria-valuenow"),c))return;b.valueDiv.css({width:"",height:""});if(!e.animationOptions.disabled&&e.animationOptions.duration>0)setTimeout(a.proxy(function(){var e={content:b.valueDiv,complete:a.proxy(function(){b._triggerEvent("progressChanged",b.element.attr("aria-valuenow"),c)},b),step:a.proxy(function(a){b._performAnimating(a)},b),processValue:d},f=a.wijmo.wijprogressbar.animations,g="progress";f[g](e,b.options.animationOptions)},b),b.options.animationDelay);else{f=b.element.attr("aria-valuenow");b._refreshProgress(d);b._triggerEvent("progressChanged",f,c)}},_setLabelSide:function(){var a=this,b=a.options.labelAlign;if(a._isHorizontal())if(b==="west"||b==="east"||b==="center")a.label.css("width",a.element.width()+"px");else if(b==="running")a.label.css("width","auto");else{a.element.css("line-height","normal");a.valueDiv.css("line-height","normal");a.label.css("height",b==="north"?a.element.height()+"px":"auto")}else if(b==="west"||b==="east"||b==="center")a.label.css({"line-height":a.element.height()+"px",width:a.element.width()+"px"});else if(b==="running")a.label.css({height:"auto",width:a.element.width()+"px"});else{a.element.css("line-height","normal");a.valueDiv.css("line-height","normal")}},_isHorizontal:function(){return this.options.fillDirection==="west"||this.options.fillDirection==="east"},startTask:function(){if(a(":animated",this.element).length===0){var b=this.value();this._refreshValue(b)}},stopTask:function(){this.valueDiv.stop()},_initElements:function(){var a=this,c=a.options,b;a.element.removeClass("wijmo-wijprogressbar-west wijmo-wijprogressbar-east wijmo-wijprogressbar-north wijmo-wijprogressbar-south").addClass("wijmo-wijprogressbar-"+c.fillDirection);b=a.element.height();a.valueDiv.css("line-height","");a.label.removeClass("lb_west lb_east lb_south lb_north lb_center lb_running").addClass("lb_"+c.labelAlign).css("line-height","").css({left:"",right:"",top:"",bottom:""});if(a._isHorizontal())a.valueDiv.height(b).css("line-height",b+"px");else a.valueDiv.width(a.element.width());a._setLabelSide();a.options.indicatorImage!==""&&a.valueDiv.css("background","transparent url("+a.options.indicatorImage+") repeat fixed")},_refreshProgress:function(b){var a=this,c=a.options,f,e,d=b*(a.max-a.min)/100+a.min;if(a._triggerEvent("progressChanging",a.element.attr("aria-valuenow"),d))return;if(a._isHorizontal())a.valueDiv.toggleClass(c.fillDirection==="east"?"ui-corner-right":"ui-corner-left",b===a.max).width(b+"%");else a.valueDiv.toggleClass(c.fillDirection==="south"?"ui-corner-bottom":"ui-corner-top",b===a.max).height(b+"%");a.element.attr("aria-valuenow",d);f=a._getFormatString(c.labelFormatString,b);a._setLabelsText(f);e=a._getFormatString(c.toolTipFormatString,b);a.element.attr("title",e)},_performAnimating:function(b){var a=this,i=a.options,k,d,f,h,j,c,e,g,l;if(a.options.indicatorIncrement!==1){k=Math.floor(b/a.options.indicatorIncrement);b=k*a.options.indicatorIncrement}else b=Math.round(b);a._refreshProgress(b);if(i.labelAlign==="running")if(a._isHorizontal()){d=a.element.width();f=a.label.outerWidth();h=a.valueDiv.outerWidth();j=d===h?d-f:b*d/100-f+f*(d-h)/d;a.label.css(i.fillDirection==="east"?"left":"right",j)}else{c=a.element.height();e=a.label.outerHeight();g=a.valueDiv.outerHeight();l=c===g?c-e:b*c/100-e+e*(c-g)/c;a.label.css(i.fillDirection==="south"?"top":"bottom",l)}},_setLabelsText:function(a){if(!this._isHorizontal()&&this.options.labelAlign==="rightOrBottom"){this.label.html("<span style='position:absolute;bottom:0px;text-align:center;width:"+this.element.width()+"px;'>"+a+"</span>");return}this.label.html(a)},_getFormatString:function(a,h){var c=this,d=parseInt(c.element.attr("aria-valuenow"),10),f=c.max-d,g=h,e=100-h,b=/\{0\}/g;a=a.replace(b,d.toString());b=/\{ProgressValue\}/g;a=a.replace(b,d.toString());b=/\{1\}/g;a=a.replace(b,g.toString());b=/\{PercentProgress\}/g;a=a.replace(b,g.toString());b=/\{2\}/g;a=a.replace(b,f.toString());b=/\{RemainingProgress\}/g;a=a.replace(b,f.toString());b=/\{3\}/g;a=a.replace(b,e.toString());b=/\{PercentageRemaining\}/g;a=a.replace(b,e.toString());b=/\{4\}/g;a=a.replace(b,c.min);b=/\{Min\}/g;a=a.replace(b,c.min);b=/\{5\}/g;a=a.replace(b,c.max);b=/\{Max\}/g;a=a.replace(b,c.max);return a},destroy:function(){this.element.empty().attr("aria-valuemax","").attr("aria-valuemin","").attr("aria-valuenow","");this.element.removeClass("wijmo-wijprogressbar ui-widget ui-widget-content ui-corner-all wijmo-wijprogressbar-h").attr("title","").attr("role","");a.Widget.prototype.destroy.apply(this,arguments)}});a.extend(a.wijmo.wijprogressbar,{animations:{progress:function(b,c){b=a.extend({easing:"swing",duration:1e3},b,c);b.content.stop(true,true).animate({widthvalue:b.processValue},b)}}})})(jQuery); | |
|
18 | (function(a){"use strict";var b="ui-state-hover",c="wijmo-wijdialog-defaultdockingzone";a.widget("wijmo.wijdialog",a.ui.dialog,{options:{captionButtons:{},collapsingAnimation:null,expandingAnimation:null,contentUrl:"",minimizeZoneElementId:"",buttoncreating:null},_create:function(){var b=this;a.ui.dialog.prototype._create.apply(b,arguments);b.uiDialog.addClass("wjimo-wijdialog");b._initWijWindow();b._bindWindowResize()},_initWijWindow:function(){var b=this;b._createCaptionButtons();b._checkUrl();b.uiDialogButtonPane=a(".ui-dialog-buttonpane",b.uiDialog)},_checkUrl:function(){var b=this,e=b.options,d=e.contentUrl,c=a('<iframe style="width:100%;height:99%;" frameborder="0"></iframe>');if(typeof d==="string"&&d.length>0){b.element.addClass("wijmo-wijdialog-hasframe");c.attr("src",d);b.element.append(c);b.innerFrame=c}b.contentWrapper=b.element},_createCaptionButtons:function(){var c=[],b=this,h=b.options,d,g={pin:{visible:true,click:b.pin,iconClassOn:"ui-icon-pin-w",iconClassOff:"ui-icon-pin-s"},refresh:{visible:true,click:b.refresh,iconClassOn:"ui-icon-refresh"},toggle:{visible:true,click:b.toggle,iconClassOn:"ui-icon-carat-1-n",iconClassOff:"ui-icon-carat-1-s"},minimize:{visible:true,click:b.minimize,iconClassOn:"ui-icon-minus"},maximize:{visible:true,click:b.maximize,iconClassOn:"ui-icon-extlink"},close:{visible:true,click:b.close,iconClassOn:"ui-icon-close"}},e=h.captionButtons,f=b.uiDialogTitlebar;f.children(".ui-dialog-titlebar-close, .wijmo-wijdialog-captionbutton").remove();a.each(g,function(b,d){e&&e[b]&&a.extend(d,e[b]);c.push({button:b,info:d})});b._trigger("buttoncreating",null,c);for(d=0;d<c.length;d++)b._createCaptionButton(c[d],f)},_createCaptionButton:function(f,g,k){var j=this,d,h="wijmo-wijdialog-titlebar-"+f.button,i=g.children("."+h),c=f.info,e=a("<span></span>");if(c.visible){if(i.size()===0){e.addClass("ui-icon "+c.iconClassOn).text(f.button);d=a('<a href="#"></a>').append(e).addClass(h+" ui-corner-all wijmo-wijdialog-captionbutton").attr("role","button").hover(function(){d.addClass(b)},function(){d.removeClass(b)}).click(function(){if(e.hasClass(c.iconClassOff))e.removeClass(c.iconClassOff);else e.addClass(c.iconClassOff);a.isFunction(c.click)&&c.click.apply(j,arguments);return false});if(k)return d;else d.appendTo(g)}j[f.button+"Button"]=d}else i.remove()},pin:function(){var a=this.uiDialog,b=a.draggable("option","disabled");a.draggable({disabled:!b});!b&&a.removeClass("ui-state-disabled")},refresh:function(){var a=this.innerFrame;a!==undefined&&a.attr("src",a.attr("src"))},toggle:function(){var a=this,b=a.toggleButton.children("span");if(!a.minimized)if(a.collapsed===undefined||!a.collapsed){a.collapsed=true;!b.hasClass("ui-icon-carat-1-s")&&b.addClass("ui-icon-carat-1-s");a._collapseDialogContent(true)}else{a.collapsed=false;b.hasClass("ui-icon-carat-1-s")&&b.removeClass("ui-icon-carat-1-s");a._expandDialogContent(true)}},_expandDialogContent:function(d){var b=this,e=b.options,c=e.expandingAnimation;b.uiDialog.height("auto");if(d&&c!==null)b.contentWrapper.show(c.animated,c.options,c.duration,function(d){b.uiDialog.css("height",b._toggleHeight);a.isFunction(c.callback)&&c.callback(d);b._enableDisableResizer(false)});else{b.contentWrapper.show();b._enableDisableResizer(false);b.uiDialog.css("height",b.toggleHeight)}},_collapseDialogContent:function(c){var a=this,d=a.options,b=d.collapsingAnimation;a._enableDisableResizer(true);a._toggleHeight=a.uiDialog[0].style.height;a.uiDialog.height("auto");if(c&&b!==null)a.contentWrapper.hide(b.animated,b.options,b.duration);else a.contentWrapper.hide()},_enableDisableResizer:function(a){var b=this.uiDialog;b.resizable({disabled:a});a&&b.removeClass("ui-state-disabled")},_enableDisableDragger:function(a){var b=this.uiDialog;b.draggable({disabled:a});a&&b.removeClass("ui-state-disabled")},minimize:function(){var b=this,k=b.uiDialog,p=b.options,f=null,h=a("<div></div>"),j=a("<div></div>"),e,m,o,l,g={},n,i={},d="uiDialog";if(!b.minimized){l=b.uiDialog.position();g.width=b.uiDialog.width();g.height=b.uiDialog.height();if(b.maximized){b.maximized=false;b.restoreButton.remove();a(window).unbind(".onWinResize")}else{b.collapsed&&b._expandDialogContent(false);b._saveNormalState()}b._enableDisableResizer(true);b.collapsed&&b._collapseDialogContent(false);h.appendTo(document.body).css({top:b.uiDialog.offset().top,left:b.uiDialog.offset().left,height:b.uiDialog.innerHeight(),width:b.uiDialog.innerWidth(),position:"absolute"});b.contentWrapper.hide();b.uiDialogButtonPane.length&&b.uiDialogButtonPane.hide();k.height("auto");k.width("auto");b._doButtonAction(b.minimizeButton,"hide");b._restoreButton(true,b.minimizeButton,"After");b._doButtonAction(b.pinButton,"hide");b._doButtonAction(b.refreshButton,"hide");b._doButtonAction(b.toggleButton,"hide");b._doButtonAction(b.maximizeButton,"show");a.browser.webkit&&a(".wijmo-wijdialog-captionbutton",b.uiDialog).css("float","left");if(b.innerFrame){d="copy";b[d]=b.uiDialog.clone();b[d].empty();b.uiDialogTitlebar.appendTo(b[d])}if(p.minimizeZoneElementId.length>0)f=a("#"+p.minimizeZoneElementId);if(f!==null&&f.size()>0)f.append(b[d]);else{e=a("."+c);if(e.size()===0){e=a('<div class="'+c+'"></div>');a(document.body).append(e)}e.append(b[d]).css("z-index",k.css("z-index"))}b[d].css("position","static");b[d].css("float","left");if(a.browser.msie&&a.browser.version==="6.0"){m=a(document).scrollTop();o=document.documentElement.clientHeight-e.height()+m;e.css({position:"absolute",left:"0px",top:o})}j.appendTo(document.body).css({top:b[d].offset().top,left:b[d].offset().left,height:b[d].innerHeight(),width:b[d].innerWidth(),position:"absolute"});b.uiDialog.hide();b.innerFrame&&b[d].hide();h.effect("transfer",{to:j,className:"ui-widget-content"},100,function(){h.remove();j.remove();b[d].show();n=b.uiDialog.position();i.width=b.uiDialog.width();i.height=b.uiDialog.height();b._trigger("resize",null,{originalPosition:l,originalSize:g,position:n,size:i})});b.minimized=true}},_doButtonAction:function(a,c){if(a!==undefined){a.removeClass(b);a[c]()}},maximize:function(){var b=this,g=a(window),e,c={},f,d={};if(!b.maximized){b.maximized=true;e=b.uiDialog.position();c.width=b.uiDialog.width();c.height=b.uiDialog.height();if(b.minimized)b.restore();else{b.collapsed&&b._expandDialogContent(false);b._saveNormalState()}if(b.maximizeButton!==undefined){b.maximizeButton.hide();b._restoreButton(true,b.maximizeButton,"Before")}a.browser.webkit&&a(".wijmo-wijdialog-captionbutton").css("float","");b._onWinResize(b,g);b.collapsed&&b._collapseDialogContent(false);b._enableDisableDragger(true);b.uiDialog.resizable({disabled:true});b.uiDialog.removeClass("ui-state-disabled");f=b.uiDialog.position();d.width=b.uiDialog.width();d.height=b.uiDialog.height();b._trigger("resize",null,{originalPosition:e,originalSize:c,position:f,size:d})}},_bindWindowResize:function(){var b=this,d=a(window),f,e,c;d.resize(function(){b.maximized&&b._onWinResize(b,d)});a.browser.msie&&a.browser.version==="6.0"&&d.bind("scroll.wijdialog resize.wijdialog",function(){if(b.minimized){e=a(document).scrollTop();c=b.uiDialog.parent();f=document.documentElement.clientHeight-c.height()+e;c.css({top:f})}})},_saveNormalState:function(){var a=this,b=a.uiDialog,c=a.element;a.normalWidth=b.css("width");a.normalLeft=b.css("left");a.normalTop=b.css("top");a.normalHeight=b.css("height");a.normalInnerHeight=c.css("height");a.normalInnerWidth=c.css("width");a.normalInnerMinWidth=c.css("min-width");a.normalInnerMinHeight=c.css("min-height")},_onWinResize:function(a,b){a.uiDialog.css("top",b.scrollTop());a.uiDialog.css("left",b.scrollLeft());a.uiDialog.setOutWidth(b.width());a.uiDialog.setOutHeight(b.height());a._resizeDialog(a)},_restoreButton:function(c,f,e){var a=this,d={button:"restore",info:{visible:c,click:a.restore,iconClassOn:"ui-icon-newwin"}},b=a._createCaptionButton(d,a.uiDialogTitlebar,true);if(c){b["insert"+e](f);a.restoreButton=b}},restore:function(){var b=this,f=b.uiDialog,g,d={},h,e={},i=a("<div></div>"),j=a("<div></div>"),c="uiDialog";if(b.minimized){b.minimized=false;if(b.innerFrame){c="copy";if(!b[c])c="uiDialog"}g=b[c].position();d.width=b[c].width();d.height=b[c].height();i.appendTo(document.body).css({top:b[c].offset().top,left:b[c].offset().left,height:b[c].innerHeight(),width:b[c].innerWidth(),position:"absolute"});f.css("position","absolute");f.css("float","");if(!b.innerFrame)f.appendTo(document.body);else{b.uiDialogTitlebar.prependTo(f);f.show()}b._enableDisableResizer(false);b._enableDisableDragger(false);b._restoreToNormal();b.contentWrapper.show();b.uiDialogButtonPane.length&&b.uiDialogButtonPane.show();j.appendTo(document.body).css({top:b.uiDialog.offset().top,left:b.uiDialog.offset().left,height:b.uiDialog.innerHeight(),width:b.uiDialog.innerWidth(),position:"absolute"});b.uiDialog.hide();i.effect("transfer",{to:j,className:"ui-widget-content"},150,function(){b.uiDialog.show();h=b.uiDialog.position();e.width=b.uiDialog.width();e.height=b.uiDialog.height();b._trigger("resize",null,{originalPosition:g,originalSize:d,position:h,size:e});i.remove();j.remove();b.copy&&b.copy.remove()});b.collapsed&&b._collapseDialogContent();b._doButtonAction(b.minimizeButton,"show");b._doButtonAction(b.restoreButton,"remove");b._doButtonAction(b.pinButton,"show");b._doButtonAction(b.refreshButton,"show");b._doButtonAction(b.toggleButton,"show");a.browser.webkit&&a(".wijmo-wijdialog-captionbutton").css("float","")}else if(b.maximized){b.maximized=false;g=b.uiDialog.position();d.width=b.uiDialog.width();d.height=b.uiDialog.height();a(window).unbind(".onWinResize");b.collapsed&&b._expandDialogContent();b._enableDisableResizer(false);b._enableDisableDragger(false);b._restoreToNormal();b.contentWrapper.show();b.collapsed&&b._collapseDialogContent();if(b.maximizeButton!==undefined){b.maximizeButton.show();b._restoreButton(false,b.maximizeButton,"before")}h=b.uiDialog.position();e.width=b.uiDialog.width();e.height=b.uiDialog.height();b._trigger("resize",null,{originalPosition:g,originalSize:d,position:h,size:e})}},open:function(){var b=this;if(!b.minimized){a.ui.dialog.prototype.open.apply(b,arguments);!b.maximized&&b._restoreToNormal()}else b.uiDialog.show();b.collapsed&&b._collapseDialogContent()},_resizeDialog:function(a){a.options.width=a.uiDialog.width();a.options.height=a.uiDialog.height();a._size()},_restoreToNormal:function(){var a=this,b=a.uiDialog,c=a.element;b.css("width",a.normalWidth);b.css("left",a.normalLeft);b.css("top",a.normalTop);b.css("height",a.normalHeight);c.css("height",a.normalInnerHeight);c.css("width",a.normalInnerWidth);c.css("min-width",a.normalInnerMinWidth);c.css("min-height",a.normalInnerMinHeight);a.options.width=a.uiDialog.width();a.options.height=a.uiDialog.height()}})})(jQuery); | |
|
19 | (function(a){"use strict";a.widget("wijmo.wijaccordion",{options:{animated:"slide",duration:null,event:"click",disabled:false,expandDirection:"bottom",header:"> li > :first-child,> :not(li):even",requireOpenedPane:true,selectedIndex:0},_setOption:function(d,b){var c=this.options;if(c[d]!==b)switch(d){case"selectedIndex":this.activate(b);break;case"disabled":if(b)this.element.addClass("ui-state-disabled");else this.element.removeClass("ui-state-disabled");break;case"event":this._unbindLiveEvents();this.options.event=b;this._bindLiveEvents();break;case"header":this._handleHeaderChange(b,c.header);break;case"expandDirection":this._onDirectionChange(b,true,c.expandDirection)}a.Widget.prototype._setOption.apply(this,arguments)},_handleHeaderChange:function(b,a){var c=this.element.find(a);c.removeClass("ui-accordion-header ui-helper-reset ui-state-active "+this._triangleIconOpened).siblings(".ui-accordion-content").removeClass("ui-accordion-content ui-helper-reset ui-widget-content ui-accordion-content-active");this._initHeaders(b)},_initHeaders:function(a){var b=this.options;a=a?a:b.header;this.headers=this.element.find(a);this.headers.each(jQuery.proxy(this._initHeader,this))},_initHeader:function(e,f){var g=this.options,d=this.element.data("rightToLeft"),b=a(f),c=a(d?b.prev()[0]:b.next()[0]);if(d){c.remove();c.appendBefore(b)}b.addClass("ui-accordion-header ui-helper-reset").attr("role","tab");c.attr("role","tabpanel");b.find("> a").length===0&&b.wrapInner('<a href="#"></a>');b.find("> .ui-icon").length===0&&a('<span class="ui-icon"></span>').insertBefore(a("> a",b)[0]);if(e===g.selectedIndex){b.addClass("ui-state-active").addClass(this._headerCornerOpened).attr({"aria-expanded":"true",tabIndex:0}).find("> .ui-icon").addClass(this._triangleIconOpened);c.addClass("ui-accordion-content-active").addClass(this._contentCornerOpened)}else{b.addClass("ui-state-default ui-corner-all").attr({"aria-expanded":"false",tabIndex:-1}).find("> .ui-icon").addClass(this._triangleIconClosed);c.hide()}c.addClass("ui-accordion-content ui-helper-reset ui-widget-content")},_create:function(){this.element.addClass("wijmo-wijaccordion ui-accordion ui-widget ui-helper-reset ui-accordion-icons");var a=this.options;a.disabled&&this.element.addClass("ui-state-disabled");this._onDirectionChange(a.expandDirection,false);this._initHeaders();this.element.attr("role","tablist")},_init:function(){__wijReadOptionEvents(["beforeselectedindexchanged","selectedindexchanged"],this);this._bindLiveEvents()},destroy:function(){this._unbindLiveEvents();this.element.removeClass("wijmo-wijaccordion ui-accordion ui-widget ui-helper-reset ui-accordion-icons").removeAttr("role");a.Widget.prototype.destroy.apply(this,arguments)},activate:function(e){var b,c=this.options,n=this.element.children(".ui-accordion-header"),f=this.element.find(".ui-accordion-header.ui-state-active"),q=this.element.data("rightToLeft"),i,m,g,h,p,k,o,l,j,r,d,s;if(typeof e==="number")b=a(n[e]);else if(typeof e==="string"){e=parseInt(e,0);b=a(n[e])}else{b=a(e);e=n.index(e)}if(b.hasClass("ui-state-active")){if(c.requireOpenedPane)return false;f=b;b=a(null)}else if(!c.requireOpenedPane)f=a(null);i=a(".ui-accordion-header",this.element).index(b);m=a(".ui-accordion-header",this.element).index(f);g=q?b.prev(".ui-accordion-content"):b.next(".ui-accordion-content");h=q?f.prev(".ui-accordion-content"):f.next(".ui-accordion-content");if(f.length===0&&b.length===0)return false;p=jQuery.Event("beforeselectedindexchanged");this.element.trigger(p,[i,m]);if(p.isDefaultPrevented())return false;f.removeClass("ui-state-active").removeClass(this._headerCornerOpened).addClass("ui-state-default ui-corner-all").attr({"aria-expanded":"false",tabIndex:-1}).find("> .ui-icon").removeClass(this._triangleIconOpened).addClass(this._triangleIconClosed);b.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active").addClass(this._headerCornerOpened).attr({"aria-expanded":"true",tabIndex:0}).find("> .ui-icon").removeClass(this._triangleIconClosed).addClass(this._triangleIconOpened);if(c.animated){k={toShow:g,toHide:h,complete:jQuery.proxy(function(){h.removeClass("ui-accordion-content-active");g.addClass("ui-accordion-content-active");h.css("display","");g.css("display","");if(a.fn.wijlinechart){h.find(".wijmo-wijlinechart").wijlinechart("redraw");g.find(".wijmo-wijlinechart").wijlinechart("redraw")}var b=jQuery.Event("selectedindexchanged");this.element.trigger(b,i)},this),horizontal:this.element.hasClass("ui-helper-horizontal"),rightToLeft:this.element.data("rightToLeft"),down:i>m,autoHeight:c.autoHeight||c.fillSpace};o=c.animated;l=c.duration;if(a.isFunction(o))c.animated=o(k);if(a.isFunction(l))c.duration=l(k);j=a.wijmo.wijaccordion.animations;r=c.duration;d=c.animated;if(d&&!j[d]&&!a.easing[d])d="slide";if(!j[d])j[d]=function(a){this.slide(a,{easing:d,duration:r||700})};j[d](k)}else{f.length>0&&h.hide().removeClass("ui-accordion-content-active");b.length>0&&g.show().addClass("ui-accordion-content-active").addClass(this._contentCornerOpened);if(a.fn.wijlinechart){h.find(".wijmo-wijlinechart").wijlinechart("redraw");g.find(".wijmo-wijlinechart").wijlinechart("redraw")}s=jQuery.Event("selectedindexchanged");this.element.trigger(s,i)}this.options.selectedIndex=i},_bindLiveEvents:function(){this.element.find(".ui-accordion-header").live(this.options.event+".wijaccordion",jQuery.proxy(this._onHeaderClick,this)).live("mouseenter.wijaccordion",function(){a(this).addClass("ui-state-hover")}).live("mouseleave.wijaccordion",function(){a(this).removeClass("ui-state-hover")}).live("focus.wijaccordion",function(){a(this).addClass("ui-state-focus")}).live("blur.wijaccordion",function(){a(this).removeClass("ui-state-focus")})},_unbindLiveEvents:function(){this.element.find(".ui-accordion-header").die("wijaccordion")},_onHeaderClick:function(a){this.activate(a.currentTarget);return false},_onDirectionChange:function(j,e,i){var b,g,f,d,c,h;if(e){g=this.element.find(".ui-accordion-header."+this._headerCornerOpened);g.removeClass(this._headerCornerOpened);f=this.element.find(".ui-accordion-content."+this._contentCornerOpened);f.removeClass(this._contentCornerOpened);d=this.element.find("."+this._triangleIconOpened);c=this.element.find("."+this._triangleIconClosed);d.removeClass(this._triangleIconOpened);c.removeClass(this._triangleIconClosed)}i!==null&&this.element.removeClass("ui-accordion-"+i);switch(j){case"top":this._headerCornerOpened="ui-corner-bottom";this._contentCornerOpened="ui-corner-top";this._triangleIconOpened="ui-icon-triangle-1-n";this._triangleIconClosed="ui-icon-triangle-1-e";b=true;this.element.removeClass("ui-helper-horizontal");this.element.addClass("ui-accordion-top");break;case"right":this._headerCornerOpened="ui-corner-left";this._contentCornerOpened="ui-corner-right";this._triangleIconOpened="ui-icon-triangle-1-e";this._triangleIconClosed="ui-icon-triangle-1-s";b=false;this.element.addClass("ui-helper-horizontal");this.element.addClass("ui-accordion-right");break;case"left":this._headerCornerOpened="ui-corner-right";this._contentCornerOpened="ui-corner-left";this._triangleIconOpened="ui-icon-triangle-1-w";this._triangleIconClosed="ui-icon-triangle-1-s";b=true;this.element.addClass("ui-helper-horizontal");this.element.addClass("ui-accordion-left");break;default:this._headerCornerOpened="ui-corner-top";this._contentCornerOpened="ui-corner-bottom";this._triangleIconOpened="ui-icon-triangle-1-s";this._triangleIconClosed="ui-icon-triangle-1-e";b=false;this.element.removeClass("ui-helper-horizontal");this.element.addClass("ui-accordion-bottom")}h=this.element.data("rightToLeft");this.element.data("rightToLeft",b);if(e){d.addClass(this._triangleIconOpened);c.addClass(this._triangleIconClosed);g.addClass(this._headerCornerOpened);f.addClass(this._contentCornerOpened)}e&&b!==h&&this.element.children(".ui-accordion-header").each(function(){var c=a(this),d;if(b){d=c.next(".ui-accordion-content");c.remove();c.insertAfter(d)}else{d=c.prev(".ui-accordion-content");c.remove();c.insertBefore(d)}})}});a.extend(a.wijmo.wijaccordion,{animations:{slide:function(b,h){b=a.extend({easing:"swing",duration:300},b,h);if(!b.toHide.size()){b.toShow.stop(true,true).animate(b.horizontal?{width:"show"}:{height:"show"},b);return}if(!b.toShow.size()){b.toHide.stop(true,true).animate(b.horizontal?{width:"hide"}:{height:"hide"},b);return}var i=b.toShow.css("overflow"),f=0,e={},g={},j=b.horizontal?["width","paddingLeft","paddingRight"]:["height","paddingTop","paddingBottom"],d,c=b.toShow;if(b.horizontal){d=c[0].style.height;c.height(parseInt(c.parent().height(),10)-parseInt(c.css("paddingTop"),10)-parseInt(c.css("paddingBottom"),10)-(parseInt(c.css("borderTopWidth"),10)||0)-(parseInt(c.css("borderBottomWidth"),10)||0))}else{d=c[0].style.width;c.width(parseInt(c.parent().width(),10)-parseInt(c.css("paddingLeft"),10)-parseInt(c.css("paddingRight"),10)-(parseInt(c.css("borderLeftWidth"),10)||0)-(parseInt(c.css("borderRightWidth"),10)||0))}a.each(j,function(f,d){g[d]="hide";var c=(""+a.css(b.toShow[0],d)).match(/^([\d+-.]+)(.*)$/);e[d]={value:c?c[1]:0,unit:c?c[2]||"px":"px"}});b.toShow.css(b.horizontal?{width:0,overflow:"hidden"}:{height:0,overflow:"hidden"}).stop(true,true).show();b.toHide.filter(":hidden").each(b.complete).end().filter(":visible").stop(true,true).animate(g,{step:function(c,a){if(a.prop===b.horizontal?"width":"height")f=a.end-a.start===0?0:(a.now-a.start)/(a.end-a.start);b.toShow[0].style[a.prop]=f*e[a.prop].value+e[a.prop].unit},duration:b.duration,easing:b.easing,complete:function(){!b.autoHeight&&b.toShow.css(b.horizontal?"width":"height","");b.toShow.css(b.horizontal?"height":"width",d);b.toShow.css({overflow:i});b.complete()}})},bounceslide:function(a){this.slide(a,{easing:a.down?"easeOutBounce":"swing",duration:a.down?1e3:200})}}})})(jQuery); | |
|
20 | (function(a){"use strict";a.fn.extend({getBounds:function(){return a.extend({},a(this).offset(),{width:a(this).outerWidth(true),height:a(this).outerHeight(true)})},setBounds:function(b){a(this).css({left:b.left,top:b.top}).width(b.width).height(b.height);return this},getMaxZIndex:function(){var b=(a(this).css("z-index")=="auto"?0:a(this).css("z-index"))*1;a(this).siblings().each(function(d,c){b=Math.max(b,(a(c).css("z-index")=="auto"?0:a(c).css("z-index"))*1)});return b}});a.widget("wijmo.wijpopup",{options:{ensureOutermost:false,showEffect:"show",showOptions:{},showDuration:300,hideEffect:"hide",hideOptions:{},hideDuration:100,autoHide:false,position:{at:"left bottom",my:"left top"},showing:null,shown:null,hiding:null,hidden:null,posChanged:null},_create:function(){},_init:function(){if(!!this.options.ensureOutermost){var b=a("form");if(b.length===0)b=a(document.body);this.element.appendTo(b)}this.element.data("visible.wijpopup",false);this.element.css("position","absolute");this.element.position({of:a(document.body)});this.element.hide()},_setOption:function(c){a.Widget.prototype._setOption.apply(this,arguments);if(c==="autoHide"){var b=this.isVisible();this.hide();b&&this.show()}},destroy:function(){a.Widget.prototype.destroy.apply(this,arguments);this.isVisible()&&this.hide();if(a.browser.msie&&a.browser.version<7){jFrame=this.element.data("backframe.wijpopup");!jFrame&&jFrame.remove()}var b=this;this.element.unbind(".wijpopup");a.each(["visible","backframe","animating","width"],function(c,a){b.element.removeData(a+".wijpopup")})},isVisible:function(){return!!this.element.data("visible.wijpopup")&&this.element.is(":visible")},isAnimating:function(){return!!this.element.data("animating.wijpopup")},show:function(d){this._setPosition(d);if(this.isVisible())return;if(this._trigger("showing")===false)return;this.options.autoHide&&a(document.body).bind("mouseup.wijpopup",a.proxy(this._onDocMouseUp,this));var b=this.options.showEffect||"show",c=this.options.showDuration||300,e=this.options.showOptions||{};this.element.data("animating.wijpopup",true);if(a.effects&&a.effects[b])this.element.show(b,e,c,a.proxy(this._showCompleted,this));else this.element[b](b==="show"?null:c,a.proxy(this._showCompleted,this));(!b||!c||b==="show"||c<=0)&&this._showCompleted()},_showCompleted:function(){this.element.removeData("animating.wijpopup");this.element.data("visible.wijpopup",true);this._trigger("shown")},showAt:function(a,b){this.show({my:"left top",at:"left top",of:document.body,offset:""+a+" "+b})},hide:function(){if(!this.isVisible())return;if(this._trigger("hiding")===false)return;a(document.body).unbind("mouseup.wijpopup");var b=this.options.hideEffect||"hide",c=this.options.hideDuration||300,d=this.options.hideOptions||{};this.element.data("animating.wijpopup",true);if(a.effects&&a.effects[b])this.element.hide(b,d,c,a.proxy(this._hideCompleted,this));else this.element[b](b==="hide"?null:c,a.proxy(this._hideCompleted,this));(!b||!c||b==="hide"||c<=0)&&this._hideCompleted()},_hideCompleted:function(){if(this.element.data("width.wijpopup")!==undefined){this.element.width(this.element.data("width.wijpopup"));this.element.removeData("width.wijpopup")}this.element.unbind("move.wijpopup");this.element.removeData("animating.wijpopup");if(a.browser.msie&&a.browser.version<7){var b=this.element.data("backframe.wijpopup");b&&b.hide()}this._trigger("hidden")},_onDocMouseUp:function(b){var c=b.target?b.target:b.srcElement;if(this.isVisible()&&!!this.options.autoHide)c!=this.element.get(0)&&a(c).parents().index(this.element)<0&&this.hide()},_onMove:function(){var a=this.element.data("backframe.wijpopup");if(a){this.element.before(a);a.css({top:this.element.css("top"),left:this.element.css("left")})}},_addBackgroundIFrame:function(){if(a.browser.msie&&a.browser.version<7){var b=this.element.data("backframe.wijpopup");if(!b){b=jQuery("<iframe/>").css({position:"absolute",display:"none",filter:"progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)"}).attr({src:"javascript:'<html></html>';",scrolling:"no",frameborder:"0","tabIndex ":-1});this.element.before(b);this.element.data("backframe.wijpopup",b);this.element.bind("move.wijpopup",a.proxy(this._onMove,this))}b.setBounds(this.element.getBounds());document.title=this.element.css("display");b.css({display:"block",left:this.element.css("left"),top:this.element.css("top"),"z-index":this.element.css("z-index")-1})}},_setZIndex:function(b){this.element.css("z-index",b);var a=this.element.data("backframe.wijpopup");a&&a.css("z-index",this.element.css("z-index")-1)},_setPosition:function(c){var d=this.element.is(":visible");this.element.show();this.element.position(a.extend({},this.options.position,c?c:{}));!d&&this.element.hide();this._addBackgroundIFrame();var b=1e3;if(this.options.position.of)b=Math.max(b,a(this.options.position.of).getMaxZIndex());this._setZIndex(b+10);this._trigger("posChanged")}})})(jQuery); | |
|
21 | (function(a){"use strict";var i="wijmo-wijsuperpanel ui-widget ui-widget-content",h="ui-corner-all",b="ui-state-disabled",f="ui-state-hover",g="ui-state-active",e="ui-state-default",c="wijmo-wijsuperpanel-handle",d="wijmo-wijsuperpanel-hbarcontainer",j="wijmo-wijsuperpanel-vbarcontainer",l="<div class='wijmo-wijsuperpanel-statecontainer'><div class='wijmo-wijsuperpanel-contentwrapper'><div class='wijmo-wijsuperpanel-templateouterwrapper'></div></div></div>",k="<div class='wijmo-wijsuperpanel-hbarcontainer ui-widget-header'><div class='wijmo-wijsuperpanel-handle ui-state-default ui-corner-all'><span class='ui-icon ui-icon-grip-solid-vertical'></span></div><div class='wijmo-wijsuperpanel-hbar-buttonleft ui-state-default ui-corner-bl'><span class='ui-icon ui-icon-triangle-1-w'></span></div><div class='wijmo-wijsuperpanel-hbar-buttonright ui-state-default ui-corner-br'><span class='ui-icon ui-icon-triangle-1-e'></span></div></div>",n="<div class='wijmo-wijsuperpanel-vbarcontainer ui-widget-header'><div class='wijmo-wijsuperpanel-handle ui-state-default ui-corner-all'><span class='ui-icon ui-icon-grip-solid-horizontal'></span></div><div class='wijmo-wijsuperpanel-vbar-buttontop ui-state-default ui-corner-tr'><span class='ui-icon ui-icon-triangle-1-n'></span></div><div class='wijmo-wijsuperpanel-vbar-buttonbottom ui-state-default ui-corner-br'><span class='ui-icon ui-icon-triangle-1-s'></span></div></div>",m="<div class='ui-state-default wijmo-wijsuperpanel-button wijmo-wijsuperpanel-buttonleft'><span class='ui-icon ui-icon-carat-1-w'></span></div><div class='ui-state-default wijmo-wijsuperpanel-button wijmo-wijsuperpanel-buttonright'><span class='ui-icon ui-icon-carat-1-e'></span></div>",o="<div class='ui-state-default wijmo-wijsuperpanel-button wijmo-wijsuperpanel-buttontop'><span class='ui-icon ui-icon-carat-1-n'></span></div><div class='ui-state-default wijmo-wijsuperpanel-button wijmo-wijsuperpanel-buttonbottom'><span class='ui-icon ui-icon-carat-1-s'></span></div>";a.widget("wijmo.wijsuperpanel",{options:{allowResize:false,autoRefresh:false,animationOptions:{queue:false,duration:250,easing:undefined},hScrollerActivating:null,hScroller:{scrollBarPosition:"bottom",scrollBarVisibility:"auto",scrollMode:"scrollbar",scrollValue:null,scrollMax:100,scrollMin:0,scrollLargeChange:null,scrollSmallChange:null,scrollMinDragLength:6,increaseButtonPosition:null,decreaseButtonPosition:null,hoverEdgeSpan:20,firstStepChangeFix:0},keyboardSupport:false,keyDownInterval:100,mouseWheelSupport:true,bubbleScrollingEvent:true,resizableOptions:{handles:"all",helper:"ui-widget-content wijmo-wijsuperpanel-helper"},resized:null,dragstop:null,painted:null,scrolling:null,scrolled:null,showRounder:true,vScrollerActivating:null,vScroller:{scrollBarPosition:"right",scrollBarVisibility:"auto",scrollMode:"scrollbar",scrollValue:null,scrollMax:100,scrollMin:0,scrollLargeChange:null,scrollSmallChange:null,scrollMinDragLength:6,increaseButtonPosition:null,decreaseButtonPosition:null,hoverEdgeSpan:20,firstStepChangeFix:0}},_setOption:function(d,b){var c=this,h=c.options,g=c._fields(),e=g.hbarDrag,f=g.vbarDrag,i=g.resizer;if(d==="animationOptions")b=a.extend(h.animationOptions,b);else if(d==="hScroller"){if(b.scrollLargeChange!==undefined&&b.scrollLargeChange!==null)c._autoHLarge=false;b=a.extend(h.hScroller,b)}else if(d==="vScroller"){if(b.scrollLargeChange!==undefined&&b.scrollLargeChange!==null)c._autoVLarge=false;b=a.extend(h.vScroller,b)}else if(d==="resizableOptions")b=a.extend(c.resizableOptions,b);a.Widget.prototype._setOption.apply(c,arguments);switch(d){case"allowResize":c._initResizer();break;case"disabled":if(b){e!==undefined&&e.draggable("disable");f!==undefined&&f.draggable("disable");i!==undefined&&i.resizable("disable")}else{e!==undefined&&e.draggable("enable");f!==undefined&&f.draggable("enable");i!==undefined&&i.resizable("enable")}break;case"mouseWheelSupport":case"keyboardSupport":c._bindElementEvents(c,g,c.element,h)}return c},_create:function(){var a=this,b=a.options;b.vScroller.dir="v";b.hScroller.dir="h";a.paintPanel();a._initResizer();a.options.disabled&&a.disable();a._detectAutoRefresh()},_detectAutoRefresh:function(){var c=this,b=a.wijmo.wijsuperpanel.panels;if(b===undefined){b=[];a.wijmo.wijsuperpanel.panels=b}b.push(c);if(c.options.autoRefresh)if(!a.wijmo.wijsuperpanel.setAutoRefreshInterval){a.wijmo.wijsuperpanel.setAutoRefreshInterval=c._setAutoRefreshInterval;a.wijmo.wijsuperpanel.setAutoRefreshInterval()}},_setAutoRefreshInterval:function(){var b=a.wijmo.wijsuperpanel.autoRereshInterval,c=a.wijmo.wijsuperpanel.panels,d=window.setInterval(function(){window.clearInterval(d);for(var k=c.length,j=false,b,g,i,f,e,h=0;h<k;h++){b=c[h];g=b.element[0];i=b.options.autoRefresh;if(i)j=true;f=b.getContentElement();e=b._paintedMark;b.options.autoRefresh&&f.is(":visible")&&(e===undefined||e.width!==f[0].offsetWidth||e.height!==f[0].offsetHeight||e.mainWidth!==g.offsetWidth||e.mainHeight!==g.offsetHeight)&&b.paintPanel()}j&&window.setTimeout(a.wijmo.wijsuperpanel.setAutoRefreshInterval,0)},b===undefined?500:b)},destroy:function(){var c=this,b=c._fields(),d=c.element,f,e;a.wijmo.wijsuperpanel.panels=a.grep(a.wijmo.wijsuperpanel.panels,function(a){return a!==c});if(!b.initialized)return;c._radiusKey&&c.element.css(c._radiusKey,"");if(b.intervalID!==undefined){window.clearInterval(b.intervalID);b.intervalID=undefined}b.resizer!==undefined&&b.resizer.resizable("destroy");if(b.hbarContainer!==undefined){b.hbarDrag.remove();b.hbarContainer.unbind("."+c.widgetName)}if(b.vbarContainer!==undefined){b.vbarDrag.remove();b.vbarContainer.unbind("."+c.widgetName)}d.unbind("."+c.widgetName);b.contentWrapper.unbind("."+c.widgetName);f=b.stateContainer.find(">.wijmo-wijsuperpanel-button");f.unbind("."+c.widgetName);e=b.templateWrapper;e.contents().each(function(b,a){d.append(a)});b.stateContainer.remove();b.tabindex&&d.removeAttr("tabindex");d.removeClass(i+" "+h);a.Widget.prototype.destroy.apply(c,arguments)},_fields:function(){var b=this,c=b.element,d=b.widgetName+"-fields",a=b._fieldsStore;if(a===undefined){a={};c.data(d,a);b._fieldsStore=a}return a},_hasMode:function(c,d){var b=c.scrollMode.split(",");b=a.map(b,function(b){return a.trim(b)});return a.inArray(d,b)>-1},_bindElementEvents:function(a,g,b,d){var e=a._hasMode(d.hScroller,"edge"),f=a._hasMode(d.vScroller,"edge"),c=a.widgetName;if(e||f){if(a._mousemoveBind===undefined){a._mousemoveBind=true;b.bind("mousemove."+c,a,a._contentMouseMove);b.bind("mouseleave."+c,null,function(){a._clearInterval()})}}else{b.unbind("mousemove",a._contentMouseMove);a._mousemoveBind=undefined}if(d.mouseWheelSupport){if(a._mouseWheelBind===undefined){a._mouseWheelBind=true;b.bind("mousewheel."+c,a,a._panelMouseWheel)}}else{a.element.unbind("mousewheel",a._panelMouseWheel);a._mouseWheelBind=undefined}if(d.keyboardSupport){if(a._keyboardBind===undefined){a._keyboardBind=true;b.bind("keydown."+c,a,a._panelKeyDown)}}else{b.unbind("keydown",a._panelKeyDown);a._keyboardBind=undefined}},_dragStop:function(d,b,c){var a={dragHandle:c};b._trigger("dragstop",d,a)},_contentMouseMove:function(g){var b=g.data,n=b.options,i,j,f,s,q,r,h,m,d,e,k,l,o,p,c;if(n.disabled)return;i=n.hScroller;j=n.vScroller;f=a(g.currentTarget);s=b._fields();q=b._hasMode(i,"edge");r=b._hasMode(j,"edge");b._clearInterval();h={X:g.pageX,Y:g.pageY};m=f.offset();d=m.left;e=m.top;d=h.X-d;e=h.Y-e;k=i.hoverEdgeSpan;l=j.hoverEdgeSpan;o=f.innerHeight();p=f.innerWidth();c="";if(q){if(d<k)c="left";if(d>p-k)c="right"}if(r){if(e<l)c="top";if(e>o-l)c="bottom"}b._setScrollingInterval(s,c,b,false)},_setScrollingInterval:function(d,b,a,c){var e=a.options;if(b.length>0)d.internalFuncID=window.setInterval(function(){a._doScrolling(b,a,c)},e.keyDownInterval)},_scrollButtonMouseOver:function(e){var c=e.data,d;if(c.options.disabled)return;d=a(e.currentTarget);if(!d.hasClass(b)){d.bind("mouseout."+c.widgetName,c,c._buttonMouseOut).bind("mousedown."+c.widgetName,c,c._buttonMouseDown).bind("mouseup."+c.widgetName,c,c._buttonMouseUp).addClass(f);c._buttonScroll(d,c,"buttonshover")}},_buttonScroll:function(c,a,f){var b="",g=a.options,h=a._fields(),d=a._hasMode(g.hScroller,f),e=a._hasMode(g.vScroller,f);if(c.hasClass("wijmo-wijsuperpanel-buttonleft")&&d)b="left";else if(c.hasClass("wijmo-wijsuperpanel-buttonright")&&d)b="right";else if(c.hasClass("wijmo-wijsuperpanel-buttontop")&&e)b="top";else if(c.hasClass("wijmo-wijsuperpanel-buttonbottom")&&e)b="bottom";if(b.length>0){a._clearInterval();a._doScrolling(b,a,true);a._setScrollingInterval(h,b,a,true)}},_buttonMouseDown:function(e){var d=e.data,c;if(d.options.disabled)return;c=a(e.currentTarget);if(!c.hasClass(b)){c.addClass(g);d._buttonScroll(c,d,"buttons")}},_buttonMouseUp:function(b){var d=b.data,c=a(b.currentTarget);c.removeClass("ui-state-active");d._clearInterval()},_buttonMouseOut:function(c){var b=c.data,d=a(c.currentTarget);d.unbind("mouseout",b._buttonMouseOut).unbind("mousedown",b._buttonMouseDown).unbind("mouseup",b._buttonMouseUp).removeClass(f).removeClass(g);b._clearInterval()},_panelKeyDown:function(e){var b=e.data,f=b.options,d,c;if(!f.keyboardSupport||f.disabled)return;d=e.shiftKey;c=e.keyCode;if(c===a.ui.keyCode.LEFT)b._doScrolling("left",b,d);else if(c===a.ui.keyCode.RIGHT)b._doScrolling("right",b,d);else if(c===a.ui.keyCode.UP)b._doScrolling("top",b,d);else c===a.ui.keyCode.DOWN&&b._doScrolling("bottom",b,d);e.stopPropagation();e.preventDefault()},_draggingInternal:function(c,a,f){var d=a.dir,i=d==="h",h=i?"left":"top",l=parseFloat(f[0].style[h].replace("px",""))-c._getScrollContainerPadding(h),k=c._getTrackLen(d)-f[i?"outerWidth":"outerHeight"](),j=l/k,e=a.scrollMax-a.scrollLargeChange+1,b=j*e,g;if(b<a.scrollMin)b=a.scrollMin;if(b>e)b=e;g={oldValue:a.scrollValue,newValue:b,dir:d};if(!c._scrolling(true,c,g))return;a.scrollValue=b;c._setDragAndContentPosition(true,false,d,"dragging")},_dragging:function(f,b){var e=b.options,c=a(f.target),g=c.parent();if(g.hasClass(d))b._draggingInternal(b,e.hScroller,c);else b._draggingInternal(b,e.vScroller,c)},_panelMouseWheel:function(h,l){var c=h.data,i=c.options,k,b,j,f,g,e;if(!i.mouseWheelSupport||i.disabled)return;k=a(h.srcElement||h.originalEvent.target);b="";j=k.closest("."+d,c.element).size()>0;f=i.hScroller;g=i.vScroller;if(l>0)b=j?"left":"top";else b=j?"right":"bottom";b.length>0&&c._doScrolling(b,c);e=false;if(b==="left")e=!c.hNeedScrollBar||Math.abs(f.scrollValue-f.scrollMin)<.001;if(b==="right")e=!c.hNeedScrollBar||Math.abs(f.scrollValue-(f.scrollMax-c._getHScrollBarLargeChange()+1))<.001;if(b==="top")e=!c.vNeedScrollBar||Math.abs(g.scrollValue-g.scrollMin)<.001;if(b==="bottom")e=!c.vNeedScrollBar||Math.abs(g.scrollValue-(g.scrollMax-c._getVScrollBarLargeChange()+1))<.001;if(!e||!i.bubbleScrollingEvent||b==="left"||b==="right"){h.stopPropagation();h.preventDefault()}},_documentMouseUp:function(c){var b=c.data.self,d=c.data.ele;d.removeClass(g);b._clearInterval();a(document).unbind("mouseup",b._documentMouseUp)},_scrollerMouseOver:function(i){var b=i.data,g,c,h;if(b.options.disabled)return;g=a(i.srcElement||i.originalEvent.target);c=null;h=false;if(g.hasClass(e)){c=g;h=true}else if(g.parent().hasClass(e)){c=g.parent();h=true}else if(g.hasClass(j)||g.hasClass(d))c=g;if(c!==undefined){h&&c.addClass(f);c.bind("mouseout."+b.widgetName,b,b._elementMouseOut);c.bind("mousedown."+b.widgetName,b,b._elementMouseDown);c.bind("mouseup."+b.widgetName,b,b._elementMouseUp)}},_elementMouseUp:function(c){var b=a(c.currentTarget);b.removeClass("ui-state-active")},_elementMouseDown:function(i){var b=a(i.currentTarget),f=i.data,e,h,g,k,n,l,m,o;if(f.options.disabled)return;e="";h=false;g=false;if(b.hasClass("wijmo-wijsuperpanel-vbar-buttontop")){e="top";g=true}else if(b.hasClass("wijmo-wijsuperpanel-vbar-buttonbottom")){e="bottom";g=true}else if(b.hasClass("wijmo-wijsuperpanel-hbar-buttonleft")){e="left";g=true}else if(b.hasClass("wijmo-wijsuperpanel-hbar-buttonright")){e="right";g=true}else if(b.hasClass(c)){b.addClass("ui-state-active");return}else if(b.hasClass(d)){k=b.find("."+c);n=k.offset();if(i.pageX<n.left)e="left";else e="right";h=true}else if(b.hasClass(j)){l=b.find("."+c);m=l.offset();if(i.pageY<m.top)e="top";else e="bottom";h=true}f._clearInterval();f._doScrolling(e,f,h);o=f._fields();f._setScrollingInterval(o,e,f,h);g&&b.addClass("ui-state-active");a(document).bind("mouseup."+f.widgetName,{self:f,ele:b},f._documentMouseUp)},doScrolling:function(b,a){this._doScrolling(b,this,a)},_setScrollerValue:function(n,b,l,h,m,i,e){var f=b.scrollMin,j=i?h:l,c=b.scrollValue,a,d,g,k;if(!c)c=f;a=0;if(m){d=b.scrollMax-h+1;if(Math.abs(c-d)<.001){e._clearInterval();return false}g=b.firstStepChangeFix;a=c+j;if(!i&&Math.abs(c-f)<1e-4&&!isNaN(g))a+=g;if(a>d)a=d}else{if(Math.abs(c-f)<.001){e._clearInterval();return false}a=c-j;if(a<0)a=f}k={oldValue:b.scrollValue,newValue:a,direction:n,dir:b.dir};if(!e._scrolling(true,e,k))return false;b.scrollValue=a;return true},_doScrolling:function(a,b,c){var d=b.options,f=d.vScroller,e=d.hScroller,j=b._getVScrollBarSmallChange(),i=b._getVScrollBarLargeChange(),g=b._getHScrollBarLargeChange(),h=b._getHScrollBarSmallChange();if(a==="top"||a==="bottom"){if(!b._setScrollerValue(a,f,j,i,a==="bottom",c,b))return;a="v"}else if(a==="left"||a==="right"){if(!b._setScrollerValue(a,e,h,g,a==="right",c,b))return;a="h"}b._setDragAndContentPosition(true,true,a)},_disableButtonIfNeeded:function(h){var a=h._fields(),c,f,j,g,i,m,o,d,k,n,p,e,l;a.intervalID>0&&window.clearInterval(a.intervalID);c=h.options;f=a.buttonLeft;j=a.buttonRight;g=a.buttonTop;i=a.buttonBottom;if(f!==undefined){m=h._getHScrollBarLargeChange();o=c.hScroller.scrollMax-m+1;d=c.hScroller.scrollValue;k=c.hScroller.scrollMin;if(d===undefined)d=k;if(Math.abs(d-k)<.001||!a.hScrolling)f.addClass(b);else f.removeClass(b);if(Math.abs(d-o)<.001||!a.hScrolling)j.addClass(b);else j.removeClass(b)}if(g!==undefined){n=h._getVScrollBarLargeChange();p=c.vScroller.scrollMax-n+1;e=c.vScroller.scrollValue;l=c.vScroller.scrollMin;if(e===undefined)e=l;if(Math.abs(e-l)<.001||!a.vScrolling)g.addClass(b);else g.removeClass(b);if(Math.abs(e-p)<.001||!a.vScrolling)i.addClass(b);else i.removeClass(b)}},_clearInterval:function(){var b=this._fields(),a=b.internalFuncID;if(a>0){window.clearInterval(a);b.internalFuncID=-1}},_elementMouseOut:function(d){var b=a(d.currentTarget),c=d.data;b.unbind("mouseout",c._elementMouseOut);b.unbind("mousedown",c._elementMouseDown);b.unbind("mouseup",c._elementMouseUp);b.removeClass(f)},scrollChildIntoView:function(k){var f=a(k),i,d,j,g,h,b,e,c;if(f.size()===0)return;i=this._fields();d=i.contentWrapper;j=i.templateWrapper;b=f.offset();e=j.offset();b.leftWidth=b.left+f.outerWidth();b.topHeight=b.top+f.outerHeight();c=d.offset();c.leftWidth=c.left+d.outerWidth();c.topHeight=c.top+d.outerHeight();if(b.left<c.left)g=b.left-e.left;else if(b.leftWidth>c.leftWidth)g=b.leftWidth-e.left-d.innerWidth();if(b.top<c.top)h=b.top-e.top;else if(b.topHeight>c.topHeight)h=b.topHeight-e.top-d.innerHeight();g!==undefined&&this.hScrollTo(g);h!==undefined&&this.vScrollTo(h)},hScrollTo:function(b){var a=this.options;a.hScroller.scrollValue=this.scrollPxToValue(b,"h");this._setDragAndContentPosition(false,true,"h","nonestop")},vScrollTo:function(b){var a=this.options;a.vScroller.scrollValue=this.scrollPxToValue(b,"v");this._setDragAndContentPosition(false,true,"v","nonestop")},scrollPxToValue:function(o,b){var g=this.options,p=b==="h"?"outerWidth":"outerHeight",n=b==="h"?"contentWidth":"contentHeight",e=b==="h"?"hScroller":"vScroller",f=this._fields(),j=f.contentWrapper,l=f[n],h=j[p](),d=g[e].scrollMin,m=g[e].scrollMax,k=m-d,i=b==="h"?this._getHScrollBarLargeChange():this._getVScrollBarLargeChange(),c=k-i+1,a=c*(o/(l-h));if(a<d)a=d;if(a>c)a=c;return a},scrollTo:function(a,b){this.hScrollTo(a);this.vScrollTo(b)},paintPanel:function(){var b=this,e=b.element,g,f,c,d;if(e.is(":visible")){g=document.activeElement;f=b.options;c=b._fields();!c.initialized&&b._initialize(c,e,b);b._resetLargeChange(b,c,f);b._bindElementEvents(b,c,e,f);d=c.templateWrapper;d.css({"float":"left",left:"0px",top:"0px",width:"auto",height:"auto"});d.hide();d.show();c.contentWidth=d.width();c.contentHeight=d.height();d.css("float","");b._setRounder(b,e);b._setInnerElementsSize(c,e);if(b._testScroll(b,c,f)===false)return false;b._initScrollBars(b,c,f);b._initScrollButtons(b,c,f);b._trigger("painted");b._paintedMark={date:new Date,mainWidth:e[0].offsetWidth,mainHeight:e[0].offsetHeight,width:c.contentWidth,height:c.contentWidth};g!==undefined&&a(g).focus();return true}return false},_resetLargeChange:function(b,a,c){if(b._autoVLarge)c.vScroller.scrollLargeChange=null;if(b._autoHLarge)c.hScroller.scrollLargeChange=null;a.vTrackLen=undefined;a.hTrackLen=undefined;if(a.vbarContainer){a.vbarContainer.remove();a.vbarContainer=undefined}if(a.hbarContainer){a.hbarContainer.remove();a.hbarContainer=undefined}},_initialize:function(b,a,c){b.initialized=true;a.addClass(i);b.oldHeight=a.css("height");var d=a.css("overflow");a.css("overflow","");a.height(a.height());a.css("overflow",d);c._createAdditionalDom(c,b,a)},getContentElement:function(){return this._fields().templateWrapper},_setButtonPosition:function(f,s,g,r,n,d,k){var b=r==="h",q="mouseover."+f.widgetName,i=b?"buttonLeft":"buttonTop",j=b?"buttonRight":"buttonBottom",e=d[i],h=d[j],p,l,c;if(f._hasMode(g,"buttons")||f._hasMode(g,"buttonshover")){p=b?m:o;if(e===undefined){l=a(p).appendTo(k);l.bind(q,f,f._scrollButtonMouseOver);d[i]=e=k.children(b?".wijmo-wijsuperpanel-buttonleft":".wijmo-wijsuperpanel-buttontop");d[j]=h=k.children(b?".wijmo-wijsuperpanel-buttonright":".wijmo-wijsuperpanel-buttonbottom")}c={my:b?"left":"top",of:n,at:b?"left":"top",collision:"none"};a.extend(c,g.decreaseButtonPosition);e.position(c);c={my:b?"right":"bottom",of:n,at:b?"right":"bottom",collision:"none"};a.extend(c,g.increaseButtonPosition);h.position(c)}else if(e!==undefined){e.remove();h.remove();d[i]=d[j]=undefined}},_initScrollButtons:function(a,b,c){var e=b.contentWrapper,d=b.stateContainer;a._setButtonPosition(a,c,c.hScroller,"h",e,b,d);a._setButtonPosition(a,c,c.vScroller,"v",e,b,d)},_getVScrollBarSmallChange:function(){var a=this.options,b;if(!a.vScroller.scrollSmallChange){b=this._getVScrollBarLargeChange();a.vScroller.scrollSmallChange=b/2}return a.vScroller.scrollSmallChange},_getVScrollBarLargeChange:function(){return this._getLargeChange("v")},_getLargeChange:function(q){var f=this,m=f.options,l=f._fields(),c=q==="v",a=c?m.vScroller:m.hScroller,n=c?"clientHeight":"clientWidth",o=c?"contentHeight":"contentWidth",p=c?"_autoVLarge":"_autoHLarge",j,k,i,h,d,g,e,b;if(a.scrollLargeChange)return a.scrollLargeChange;j=a.scrollMax;k=a.scrollMin;i=j-k;h=l.contentWrapper;d=h[0][n];g=l[o];e=d/(g-d);b=(i+1)*e/(1+e);if(isNaN(b))b=0;a.scrollLargeChange=b;f[p]=true;return a.scrollLargeChange},_getHScrollBarSmallChange:function(){var a=this.options,b;if(!a.hScroller.scrollSmallChange){b=this._getHScrollBarLargeChange();a.hScroller.scrollSmallChange=b/2}return a.hScroller.scrollSmallChange},_getHScrollBarLargeChange:function(){return this._getLargeChange("h")},_initScrollBars:function(c,q,d){var o=d.hScroller,t=o.scrollMax,u=o.scrollMin,r=t-u,p=d.vScroller,v=p.scrollMax,w=p.scrollMin,s=v-w,a=q.hbarDrag,b=q.vbarDrag,k,i,f,n,j,l,g,e,m,h;if(c.hNeedScrollBar&&a.is(":visible")){k=c._getHScrollBarLargeChange();i=c._getTrackLen("h");f=c._getDragLength(r,k,i,d.hScroller.scrollMinDragLength);a.width(f);n=a.outerWidth()-a.width();a.width(f-n);j=a.children("span");j.css("margin-left",(a.width()-j[0].offsetWidth)/2);if(i<=a.outerWidth())a.hide();else a.show()}if(c.vNeedScrollBar&&b.is(":visible")){l=c._getVScrollBarLargeChange();g=c._getTrackLen("v");e=c._getDragLength(s,l,g,d.vScroller.scrollMinDragLength);b.height(e);m=b.outerHeight()-b.height();b.height(e-m);h=b.children("span");h.css("margin-top",(b.height()-h[0].offsetHeight)/2);if(g<=b.outerHeight())b.hide();else b.show()}c._setDragAndContentPosition(false,false,"both")},_getTrackLen:function(f){var e=this,a=e._fields(),d=f+"TrackLen",g,h,c,b;if(a[d]!==undefined)return a[d];g=a.hbarContainer;h=a.vbarContainer;c=0;b=0;if(f==="h"){b=e._getScrollContainerPadding("h");c=g.innerWidth()}if(f==="v"){b=e._getScrollContainerPadding("v");c=h.innerHeight()}a[d]=c-b;return a[d]},_getScrollContainerPadding:function(b){var c=this,d=c._fields(),a=0,f,e;if(b==="h")a=c._getScrollContainerPadding("left")+c._getScrollContainerPadding("right");else if(b==="v")a=c._getScrollContainerPadding("top")+c._getScrollContainerPadding("bottom");else{if(b==="left"||b==="right")f=d.hbarContainer;else f=d.vbarContainer;e=b+"Padding";if(d[e]!==undefined){a=d[e];return a}a=parseFloat(f.css("padding-"+b).replace("px",""));d[e]=a}return a},_contentDragAnimate:function(h,p,C,g,A,t,w){var b=this,f=b.options,d=h==="v",j=d?f.vScroller:f.hScroller,H=d?"outerHeight":"outerWidth",I=d?"innerHeight":"innerWidth",E=d?"contentHeight":"contentWidth",F=d?"top":"left",q=j.scrollMin,K=j.scrollMax,J=K-q,k=j.scrollValue===undefined?q:j.scrollValue-q,D=b._getLargeChange(h),l=J-D+1,s=b._fields(),G=s.contentWrapper,i=s.templateWrapper,c,e,y,z,B,x,n,v,m,o,u,r;if(k>l)k=l;c=(s[E]-G[I]())*(k/l);if(Math.abs(c)<.001)c=0;c=Math.round(c);e=-1;if(C!==undefined){p&&g.is(":animated")&&A!=="nonestop"&&g.stop(true,false);y=b._getTrackLen(h);z=g[H]();B=y-z;x=b._getScrollContainerPadding(F);e=k/l*B+x}if(p&&f.animationOptions){if(e>=0&&w!=="dragging"){n=a.extend({},f.animationOptions);n.complete=undefined;v=d?{top:e}:{left:e};g.animate(v,n)}m=a.extend({},f.animationOptions);o=f.animationOptions.complete;m.complete=function(){b._scrollEnd(t,b,h);a.isFunction(o)&&o(arguments)};p&&i.is(":animated")&&A!=="nonestop"&&i.stop(true,false);u=d?{top:-c}:{left:-c};i.animate(u,m)}else{r=d?"top":"left";if(e>=0&&w!=="dragging")g[0].style[r]=e+"px";i[0].style[r]=-c+"px";b._scrollEnd(t,b,h)}},_setDragAndContentPosition:function(d,e,c,g,f){var b=this,a=b._fields(),h=a.hbarContainer,j=a.hbarDrag,i=a.vbarContainer,k=a.vbarDrag;(c==="both"||c==="h")&&a.hScrolling&&b._contentDragAnimate("h",e,h,j,g,d,f);(c==="both"||c==="v")&&a.vScrolling&&b._contentDragAnimate("v",e,i,k,g,d,f);a.intervalID>0&&window.clearInterval(a.intervalID);a.intervalID=window.setInterval(function(){b._disableButtonIfNeeded(b)},500)},_scrolling:function(d,a,b){var c=true;if(d){b.beforePosition=a.getContentElement().position();a._beforePosition=b.beforePosition;c=a._trigger("scrolling",null,b)}return c},_scrollEnd:function(b,a,c){b&&window.setTimeout(function(){var e=a.getContentElement(),b,d;if(!e.is(":visible"))return;b=a.getContentElement().position();d={dir:c,beforePosition:a._beforePosition,afterPosition:b};a._trigger("scrolled",null,d)},0)},_getDragLength:function(f,d,b,g){var e=f/d,a=b/e,c=g;if(a<c)a=c;else if(a+1>=b)a=b-1;return Math.round(a)},_needScrollbar:function(b,e){var d=this._hasMode(b,"scrollbar"),a=b.scrollBarVisibility,c=d&&(a==="visible"||a==="auto"&&e);return c},_bindBarEvent:function(d,e,c){var b=this;d.bind("mouseover."+b.widgetName,b,b._scrollerMouseOver);e.draggable({axis:c==="h"?"x":"y",drag:function(a){b._dragging(a,b)},containment:"parent",stop:function(d){b._dragStop(d,b,c);a(d.target).removeClass("ui-state-active")}})},_createBarIfNeeded:function(o,m,f,q,i){if(o){var e=this,r=e.options,j,l=e._fields(),n=f+"barContainer",p=f+"barDrag",b=f==="h",d=i[0][b?"clientHeight":"clientWidth"],g=l[n]=a(q),h,k;m.append(g);h=g[0][b?"offsetHeight":"offsetWidth"];d=d-h;j={direction:b?"horizontal":"vertical",targetBarLen:h,contentLength:d};if(e._trigger(b?"hScrollerActivating":"vScrollerActivating",null,j)===false)return false;k=l[p]=g.find("."+c);e._bindBarEvent(g,k,f);i[b?"height":"width"](d)}},_setScrollbarPosition:function(u,p,f,a,s,r,h,q,c,g,t){var b=g==="h",e,m,i,n,j,o,k,l,d;if(r){e=a[0][b?"offsetHeight":"offsetWidth"];m=p._getScrollContainerPadding(g);i=b?"top":"left";n=b?{top:"0px",bottom:"auto",left:"auto",right:"auto"}:{left:"0px",right:"auto",top:"auto",bottom:"auto"};j=b?{top:e+"px"}:{left:e+"px"};o=b?{top:"auto",right:"auto",left:"auto",bottom:"0px"}:{left:"auto",right:"0px",top:"auto",bottom:"auto"};k=b?{top:""}:{left:""};l=f[0][b?"clientWidth":"clientHeight"];if(q===i){a.css(n);f.css(j);if(b){a.children(".wijmo-wijsuperpanel-hbar-buttonleft").removeClass("ui-corner-bl").addClass("ui-corner-tl");a.children(".wijmo-wijsuperpanel-hbar-buttonright").removeClass("ui-corner-br").addClass("ui-corner-tr");a.removeClass("ui-corner-bottom").addClass("ui-corner-top")}else{a.children(".wijmo-wijsuperpanel-vbar-buttontop").removeClass("ui-corner-tr").addClass("ui-corner-tl");a.children(".wijmo-wijsuperpanel-vbar-buttonbottom").removeClass("ui-corner-br").addClass("ui-corner-bl");a.removeClass("ui-corner-right").addClass("ui-corner-left")}}else{a.css(o);f.css(k);if(b){a.children(".wijmo-wijsuperpanel-hbar-buttonleft").removeClass("ui-corner-tl").addClass("ui-corner-bl");a.children(".wijmo-wijsuperpanel-hbar-buttonright").removeClass("ui-corner-bl").addClass("ui-corner-br");a.removeClass("ui-corner-top").addClass("ui-corner-bottom")}else{a.children(".wijmo-wijsuperpanel-vbar-buttontop").removeClass("ui-corner-tl").addClass("ui-corner-tr");a.children(".wijmo-wijsuperpanel-vbar-buttonbottom").removeClass("ui-corner-bl").addClass("ui-corner-br");a.removeClass("ui-corner-left").addClass("ui-corner-right")}}d=0;if(h){d=s[0][b?"offsetWidth":"offsetHeight"];if(c==="left")a.css("right","0px");else if(c==="right")a.css("left","0px");else if(c==="top")a.css("bottom","0px");else c==="bottom"&&a.css("top","0px")}if(!b&&h)d=0;a[b?"width":"height"](l-m);p._enableDisableScrollBar(g,a,!t)}else u.css(b?"left":"top","")},_testScroll:function(b,a,g){var d=a.templateWrapper,e=a.contentWrapper,h=a.stateContainer,p=e.innerWidth(),o=e.innerHeight(),r=a.contentWidth,q=a.contentHeight,c,f,i,j,l,m;a.hScrolling=r>p;a.vScrolling=q>o;c=b.hNeedScrollBar=b._needScrollbar(g.hScroller,a.hScrolling);if(b._createBarIfNeeded(c,h,"h",k,e)===false)return false;if(c&&!a.vScrolling){d.css("float","left");a.contentHeight=d.height();a.vScrolling=a.contentHeight>o-a.hbarContainer[0].offsetHeight;d.css("float","")}f=b.vNeedScrollBar=b._needScrollbar(g.vScroller,a.vScrolling);if(b._createBarIfNeeded(f,h,"v",n,e)===false)return false;if(f&&!a.hScrolling){d.css("float","left");a.contentWidth=d.width();a.hScrolling=a.contentWidth>p-a.vbarContainer[0].offsetWidth;d.css("float","");if(a.hScrolling&&!c){c=b.hNeedScrollBar=b._needScrollbar(g.hScroller,a.hScrolling);if(b._createBarIfNeeded(c,h,"h",k,e)===false)return false}}i=a.hbarContainer;j=a.vbarContainer;l=g.hScroller.scrollBarPosition;m=g.vScroller.scrollBarPosition;b._setScrollbarPosition(d,b,e,i,j,c,f,l,m,"h",a.hScrolling);b._setScrollbarPosition(d,b,e,j,i,f,c,m,l,"v",a.vScrolling)},_enableDisableScrollBar:function(f,a,d){if(f==="v"){a[d?"addClass":"removeClass"]("wijmo-wijsuperpanel-vbarcontainer-disabled");a.find("."+e)[d?"addClass":"removeClass"](b)}else if(f==="h"){a[d?"addClass":"removeClass"]("wijmo-wijsuperpanel-hbarcontainer-disabled");a.find("."+e)[d?"addClass":"removeClass"](b)}a.children("."+c)[d?"hide":"show"]()},_initResizer:function(){var b=this,g=b.options,d=b._fields(),f=d.resizer,c,e;if(!f&&g.allowResize){c=g.resizableOptions;e=c.stop;c.stop=function(c){b._resizeStop(c,b);a.isFunction(e)&&e(c)};d.resizer=f=b.element.resizable(c)}if(!g.allowResize&&d.resizer){f.resizable("destroy");d.resizer=null}},_resizeStop:function(b,a){!this.options.autoRefresh&&a.paintPanel();a._trigger("resized")},_createAdditionalDom:function(f,b,c){if(!c.attr("tabindex")){c.attr("tabindex","-1");b.tabindex=true}var d=b.stateContainer=a(l),e;b.contentWrapper=d.children();e=b.templateWrapper=b.contentWrapper.children();c.contents().each(function(f,d){var c=a(d);if(c.hasClass("wijmo-wijsuperpanel-header")){b.header=c;return}if(c.hasClass("wijmo-wijsuperpanel-footer")){b.footer=c;return}e[0].appendChild(d)});b.header!==undefined&&c.prepend(b.header);c[0].appendChild(d[0]);b.footer!==undefined&&b.footer.insertAfter(d)},_setRounder:function(e,d){if(this.options.showRounder){d.addClass(h);if(e._rounderAdded)return;if(a.browser.msie)return;var b,c,g,f;b=c="";if(a.browser.webkit){c="WebkitBorderTopLeftRadius";b="WebkitBorderRadius"}else if(a.browser.mozilla){c="MozBorderRadiusBottomleft";b="MozBorderRadius"}else{c="border-top-left-radius";b="border-radius"}g=d.css(c);f=parseInt(g,10);d.css(b,f+1);e._rounderAdded=true;e._radiusKey=b}else d.removeClass(h)},_setInnerElementsSize:function(a,g){var i=a.stateContainer,h=a.contentWrapper,e=0,b,c,d,f;if(a.header!==undefined)e+=a.header.outerHeight();if(a.footer!==undefined)e+=a.footer.outerHeight();b=i[0].style;c=g[0].clientHeight-e;d=g[0].clientWidth;b.display="none";b.height=c+"px";b.width=d+"px";f=h[0].style;f.height=c+"px";f.width=d+"px";b.display=""}})})(jQuery); | |
|
22 | (function(a){"use strict";a.widget("wijmo.wijtextbox",{options:{},_create:function(){var a=this,b=a.element;if(!(a.element.attr("tagName").toLowerCase()==="input"||a.element.attr("tagName").toLowerCase()==="textarea"))return;if(!(a.element.attr("type").toLowerCase()==="text"||a.element.attr("type").toLowerCase()==="password"))if(a.element.attr("tagName").toLowerCase()==="input")return;b.addClass("wijmo-wijtextbox ui-widget ui-state-default ui-corner-all");a.element.bind("mouseover."+a.widgetName,function(){b.addClass("ui-state-hover")}).bind("mouseout."+a.widgetName,function(){b.removeClass("ui-state-hover")}).bind("mousedown."+a.widgetName,function(){b.addClass("ui-state-active")}).bind("mouseup."+a.widgetName,function(){b.removeClass("ui-state-active")}).bind("focus."+a.widgetName,function(){b.addClass("ui-state-focus")}).bind("blur."+a.widgetName,function(){b.removeClass("ui-state-focus")})},destroy:function(){var b=this;b.element.removeClass("ui-widget ui-state-default ui-corner-all ui-state-hover ui-state-active wijmo-wijtextbox").unbind("."+b.widgetName);a.Widget.prototype.destroy.apply(b)}})})(jQuery); | |
|
23 | (function(a){"use strict";a.widget("wijmo.wijdropdown",{options:{zIndex:1e3,showingAnimation:{effect:"blind"},hidingAnimation:{effect:"blind"}},hoverClass:"ui-state-hover",activeClass:"ui-state-active",focusClass:"ui-state-focus",_setOption:function(){a.Widget.prototype._setOption.apply(this,arguments)},_create:function(){var a=this,b=a.element;if(b.attr("tagName").toLowerCase()!=="select"&&b.attr("size")<2)return;a._activeItem=null;a._createSelect();a._bindEvents()},_createSelect:function(){var b=this,e=b.element,g=e.width(),f=e.height(),i=e.wrap("<div></div>").parent().addClass("ui-helper-hidden"),k=i.wrap("<div></div>").parent().attr("role","select").addClass("wijmo-wijdropdown ui-widget ui-widwijmo-wijdropdownt-content ui-state-default ui-corner-all ui-helper-clearfix"),l=a('<label class="wijmo-dropdown-label ui-corner-all"></label>').attr("id",e.attr("id")+"_select").attr("name",e.attr("name")),h=a("<div></div>").addClass("wijmo-dropdown-trigger ui-state-default ui-corner-right"),j=a('<a href="#"></a>'),c=a("<div>").addClass("wijmo-dropdown"),d=a("<ul></ul>").addClass("wijmo-dropdown-list ui-widget-content ui-widget ui-corner-all ui-helper-reset").appendTo(c);a("<span></span>").addClass("ui-icon ui-icon-triangle-1-s").appendTo(h);g=Math.max(g,k.width());j.append(l);k.append(i).append(j).append(h).append(c).width(g);e.children().each(function(i,h){var c=a(h),f,g,e;if(c.is("option"))d.append(b._buildItem(c));else{f=a('<li class="wijmo-dropdown-optgroup"></li>');g=a("<span>"+c.attr("label")+"</span>").addClass("wijmo-optgroup-header ui-priority-primary");e=a("<ul></ul>").addClass("ui-helper-reset wijmo-dropdown-items");c.children("option").each(function(){e.append(b._buildItem(a(this)))});f.append(g).append(e);d.append(f)}});f=c.height();f=d.outerHeight()<f?d.outerHeight():f;c.css({height:f,width:g});b.superpanel=c.wijsuperpanel().data("wijsuperpanel");a.fn.bgiframe&&b.superpanel.element.bgiframe();d.setOutWidth(d.parent().parent().innerWidth());c.hide();b._rightTrigger=h;b._label=l;b._listContainer=c;b._list=d;b._value=e.val();b._selectWrap=i;b._labelWrap=j},_handelEvents:function(d){var a=this,b="."+a.widgetName,c=a.element;d.bind("click"+b,function(b){if(a._listContainer.is(":hidden"))a._show();else a._hide();c.click();if(d.get(0)===a._label.get(0))b.preventDefault();else a._labelWrap.focus()}).bind("mouseover"+b,function(){a._label.addClass(a.hoverClass);a._rightTrigger.addClass(a.hoverClass);c.trigger("mouseover")}).bind("mouseout"+b,function(){a._label.removeClass(a.hoverClass);a._rightTrigger.removeClass(a.hoverClass);c.trigger("mouseout")}).bind("mousedown"+b,function(){a._label.addClass(a.activeClass);a._rightTrigger.addClass(a.activeClass);c.trigger("mousedown")}).bind("mouseup"+b,function(){a._label.removeClass(a.activeClass);a._rightTrigger.removeClass(a.activeClass);c.trigger("mouseup")})},_bindEvents:function(){var b=this,d="."+b.widgetName,h=b._label,g=b._rightTrigger,i=b._labelWrap,e=b._listContainer,c=b.element,f;b._handelEvents(b._label);b._handelEvents(b._rightTrigger);a(document.body).bind("click"+d,function(a){if(e.is(":hidden"))return;f=e.offset();if(a.target===h.get(0)||a.target===g.get(0)||a.target===g.children().get(0))return;(a.pageX<f.left||a.pageX>f.left+e.width()||a.pageY<f.top||a.pageY>f.top+e.height())&&b._hide()});e.bind("click"+d,function(f){var d=a(f.target);if(d.closest("li.wijmo-dropdown-item",a(this)).length>0){b._setValue();e.hide();b.oldVal=c.val();c.val(b._value);b.oldVal!==b._value&&c.trigger("change")}c.click()});i.bind("keydown"+d,function(e){var d=a.ui.keyCode;switch(e.which){case d.UP:case d.LEFT:b.previous();b._setValue();break;case d.DOWN:case d.RIGHT:b.next();b._setValue();break;case d.PAGE_DOWN:b.nextPage();b._setValue();break;case d.PAGE_UP:b.previousPage();b._setValue();break;case d.ENTER:case d.NUMPAD_ENTER:b._setValue();b._listContainer.hide();b.oldVal=c.val();c.val(b._value);b.oldVal!==b._value&&c.trigger("change")}e.which!==d.TAB&&e.preventDefault();c.trigger("keydown")}).bind("focus"+d,function(){h.addClass(b.focusClass);g.addClass(b.focusClass);c.focus()}).bind("blur"+d,function(){h.removeClass(b.focusClass);g.removeClass(b.focusClass);c.trigger("blur")}).bind("keypress"+d,function(){c.trigger("keypress")}).bind("keyup"+d,function(){c.trigger("keyup")})},_init:function(){var a=this;a._initActiveItem();a._activeItem&&a._label.text(a._activeItem.text())},_buildItem:function(d){var f=d.val(),b=d.text(),e=this,c;if(b==="")b=" ";c=a('<li class="wijmo-dropdown-item ui-corner-all"><span>'+b+"</span></li>").mousemove(function(b){var c=a(b.target).closest(".wijmo-dropdown-item");c!==this.last&&e._activate(a(this));this.last=a(b.target).closest(".wijmo-dropdown-item")}).attr("role","option");c.data("value",f);return c},_show:function(){var d=this,c=d._listContainer,b=d.options.showingAnimation;c.css("z-index","100000");a.browser.msie&&/^[6,7]\.[0-9]+/.test(a.browser.version)&&c.parent().css("z-index","99999");if(b)c.stop().show(b.effect,b.options,b.speed,function(){d._initActiveItem()});else c.show()},_hide:function(){var d=this,b=d._listContainer,c=d.options.hidingAnimation;if(b.is(":hidden"))return;if(c)b.stop(false,true).hide(c.effect,c.options,c.speed,function(){a.isFunction(c.callback)&&c.callback.apply(d,arguments);a.browser.msie&&/^[6,7]\.[0-9]+/.test(a.browser.version)&&b.parent().css("z-index","");b.css("z-index","")});else{a.browser.msie&&a.browser.version==="6.0"&&b.parent().css("z-index","");b.css("z-index","");b.hide()}},_setValue:function(){var a=this,b=a._listContainer,c,d;if(a._activeItem){a._label.text(a._activeItem.text());a._value=a._activeItem.data("value");if(a.superpanel.vNeedScrollBar){c=a._activeItem.offset().top;d=a._activeItem.outerHeight();if(b.offset().top>c)b.wijsuperpanel("scrollTo",0,c-a._list.offset().top);else b.offset().top<c+d-b.innerHeight()&&b.wijsuperpanel("scrollTo",0,c+d-b.height()-a._list.offset().top)}}},_initActiveItem:function(){var b=this;b._value!==undefined&&b._list.find("li.wijmo-dropdown-item").each(function(){a(this).data("value")===b._value&&b._activate(a(this))})},_activate:function(b){var a=this;a._deactivate();a._activeItem=b;a._activeItem.addClass(a.hoverClass).attr("aria-selected",true)},_deactivate:function(){var a=this;a._activeItem&&a._activeItem.removeClass(a.hoverClass).attr("aria-selected",false)},next:function(){this._move("next","first")},previous:function(){this._move("prev","last")},nextPage:function(){this._movePage("first")},previousPage:function(){this._movePage("last")},_move:function(c,d){var a=this,e,b;if(!a._activeItem){a._activate(a._list.find(".wijmo-dropdown-item:"+d));return}e=a._activeItem[c]().eq(0);if(e.length)b=a._getNextItem(e,c,d);else if(a._activeItem.closest(".wijmo-dropdown-optgroup").length)b=a._getNextItem(a._activeItem.closest(".wijmo-dropdown-optgroup")[c](),c,d);if(b&&b.length)a._activate(b);else a._activate(a._list.find(".wijmo-dropdown-item:"+d))},_movePage:function(d){var b=this,g,e,c,f=d==="first"?"last":"first";if(b.superpanel.vNeedScrollBar){g=b._activeItem.offset().top;e=b.options.height;c=b._list.find(".wijmo-dropdown-item").filter(function(){var c=a(this).offset().top-g+(d==="first"?-e:e)+a(this).height(),b=a(this).height();return c<b&&c>-b});if(!c.length)c=b._list.find(".wijmo-dropdown-item:"+f);b._activate(c)}else b._activate(b._list.find(".wijmo-dropdown-item:"+(!b._activeItem?d:f)))},_getNextItem:function(a,b,c){if(a.length)if(a.is(".wijmo-dropdown-optgroup"))if(!!a.find(">ul>li.wijmo-dropdown-item").length)return a.find(">ul>li.wijmo-dropdown-item:"+c).eq(0);else this._getNextItem(a[b]().eq(0));else return a},destroy:function(){this.element.closest(".wijmo-wijdropdown").find(">div.wijmo-dropdown-trigger,>div.wijmo-dropdown,>a").remove();this.element.unwrap().unwrap().removeData("maxZIndex");a.Widget.prototype.destroy.apply(this)}})})(jQuery); | |
|
24 | (function(a){"use strict";var b=0;a.widget("wijmo.wijcheckbox",{_csspre:"wijmo-checkbox",_init:function(){var c=this,d=c.element,f,h,g,e,i;if(d.is(":checkbox")){if(!d.attr("id")){d.attr("id",c._csspre+b);b+=1}if(d.parent().is("label")){f=d.parent().wrap("<div class='"+c._csspre+"-inputwrapper'></div>").parent().wrap("<div></div>").parent().addClass(c._csspre+" ui-widget");h=d.parent();h.attr("for",d.attr("id"));f.find("."+c._csspre+"-inputwrapper").append(d);f.append(h)}else f=d.wrap("<div class='"+c._csspre+"-inputwrapper'></div>").parent().wrap("<div></div>").parent().addClass(c._csspre+" ui-widget");g=a("label[for='"+d.attr("id")+"']");if(g.length>0){f.append(g);g.attr("labelsign","C1")}e=a("<div class='"+c._csspre+"-box ui-widget ui-state-default ui-corner-all'><span class='"+c._csspre+"-icon'></span></div>");i=e.children("."+c._csspre+"-icon");f.append(e);d.data("iconElement",i);d.data("boxElement",e);d.is(":disabled")&&c._setOption("disabled",true);e.removeClass(c._csspre+"-relative").attr("role","checkbox").bind("mouseover",function(){d.mouseover()}).bind("mouseout",function(){d.mouseout()});(g.length===0||g.html()==="")&&e.addClass(c._csspre+"-relative");d.bind("click.checkbox",function(){c.refresh()}).bind("focus.checkbox",function(){if(c.options.disabled)return;e.removeClass("ui-state-default").addClass("ui-state-focus")}).bind("blur.checkbox",function(){if(c.options.disabled)return;e.removeClass("ui-state-focus").not(".ui-state-hover").addClass("ui-state-default")}).bind("keydown.checkbox",function(a){if(a.keyCode===32){d.attr("checked",!d.attr("checked"));c.refresh()}});f.click(function(){d.attr("checked",!d.attr("checked"));d.focus().change();c.refresh()});c.refresh();f.bind("mouseover.checkbox",function(){if(c.options.disabled)return;e.removeClass("ui-state-default").addClass("ui-state-hover")}).bind("mouseout.checkbox",function(){if(c.options.disabled)return;e.removeClass("ui-state-hover").not(".ui-state-focus").addClass("ui-state-default")})}},refresh:function(){var a=this;a.element.data("iconElement").toggleClass("ui-icon ui-icon-check",a.element.is(":checked"));a.element.data("boxElement").toggleClass("ui-state-active",a.element.is(":checked")).attr("aria-checked",a.element.is(":checked"))},destroy:function(){var b=this,c=b.element.parent().parent();c.children("div."+b._csspre+"-box").remove();b.element.unwrap();b.element.unwrap();a.Widget.prototype.destroy.apply(b)}})})(jQuery); | |
|
25 | (function(a){"use strict";var b=0;a.widget("wijmo.wijradio",{_radiobuttonPre:"wijmo-wijradio",_create:function(){var c=this,d=c.element,f,i,g,e,h;if(d.is(":radio")){if(!d.attr("id")){d.attr("id","wijmo-radio-"+b);b+=1}if(d.parent().is("label")){f=d.parent().wrap("<div class='"+c._radiobuttonPre+"-inputwrapper'></div>").parent().wrap("<div></div>").parent().addClass(c._radiobuttonPre+" ui-widget");i=d.parent();i.attr("for",d.attr("id"));f.find("."+c._radiobuttonPre+"-inputwrapper").append(d);f.append(i)}else f=d.wrap("<div class='"+c._radiobuttonPre+"-inputwrapper'></div>").parent().wrap("<div></div>").parent().addClass(c._radiobuttonPre+" ui-widget");g=a("label[for='"+d.attr("id")+"']");if(g.length>0){f.append(g);g.attr("labelsign","wij")}e=a("<div class='"+c._radiobuttonPre+"-box ui-widget ui-state-default ui-corner-all'><span class='"+c._radiobuttonPre+"-icon'></span></div>");h=e.children("."+c._radiobuttonPre+"-icon");f.append(e);h.addClass("ui-icon ui-icon-radio-on");d.data("iconElement",h);d.data("boxElement",e);d.is(":disabled")&&c._setOption("disabled",true);e.removeClass(c._radiobuttonPre+"-relative").attr("role","radio").bind("mouseover",function(){d.mouseover()}).bind("mouseout",function(){d.mouseout()});(g.length===0||g.html()==="")&&e.addClass(c._radiobuttonPre+"-relative");c._setDefaul();d.bind("click.checkbox",function(){d.focus();c._refresh()}).bind("focus.checkbox",function(){if(c.options.disabled)return;e.removeClass("ui-state-default").addClass("ui-state-focus")}).bind("blur.checkbox",function(){if(c.options.disabled)return;e.removeClass("ui-state-focus").not(".ui-state-hover").addClass("ui-state-default")});f.click(function(){if(g.length===0||g.html()===""){d.attr("checked",true).focus();c._refresh();d.change()}});f.bind("mouseover.checkbox",function(){if(c.options.disabled)return;e.removeClass("ui-state-default").addClass("ui-state-hover")}).bind("mouseout.checkbox",function(){if(c.options.disabled)return;e.removeClass("ui-state-hover").not(".ui-state-focus").addClass("ui-state-default")})}},_setDefaul:function(){if(this.element.attr("checked")){this.element.parents(".wijmo-wijradio").find("."+this._radiobuttonPre+"-box").children().removeClass("ui-icon-radio-on ui-icon-radio-off").addClass("ui-icon-radio-off");this.element.data("boxElement").removeClass("ui-state-default").addClass("ui-state-active").attr("aria-checked",true)}},_refresh:function(){var c=this.element.attr("name"),b=this;a("[name="+c+"]").each(function(d,c){a(c).parents(".wijmo-wijradio").find("."+b._radiobuttonPre+"-box").children().removeClass("ui-icon-radio-on ui-icon-radio-off").addClass("ui-icon-radio-on");a(c).parents(".wijmo-wijradio").find("."+b._radiobuttonPre+"-box").removeClass("ui-state-active").addClass("ui-state-default").attr("aria-checked",false)});if(b.element.is(":checked")){b.element.data("iconElement").removeClass("ui-icon-radio-on").addClass("ui-icon-radio-off");b.element.data("boxElement").removeClass("ui-state-default").addClass("ui-state-active").attr("aria-checked",true)}},destroy:function(){var b=this,c=b.element.parent().parent();c.children("div."+b._radiobuttonPre+"-box").remove();b.element.unwrap();b.element.unwrap();a.Widget.prototype.destroy.apply(b)}})})(jQuery); | |
|
26 | (function(a){"use strict";var g="ui-widget ui-widget-content ui-corner-all wijmo-wijlist",c="wijmo-wijlist-item",h=c+"-alternate",i=c+"-selected",j=c+"-first",k=c+"-last",f="ui-state-hover",l="ui-state-active",e="wijmo-wijlistitem-active",b=i+" "+l,d="item.wijlist";a.widget("wijmo.wijlist",{options:{listItems:[],selected:null,selectionMode:"single",autoSize:false,maxItemsCount:5,addHoverItemClass:true,superPanelOptions:null,disabled:false,focusing:null,focus:null,blur:null,itemrendering:null,itemrendered:null,listrendered:null,keepHightlightOnMouseLeave:false},_create:function(){var b=this,d=this.element,c=this.options;d.addClass(g).attr({role:"listbox","aria-activedescendant":e,"aria-multiselectable":c.selectionMode==="multiple"}).bind("click."+b.widgetName,b,b._onListClick);b.ul=a("<ul class='wijmo-wijlist-ul'></ul>").appendTo(d);c.disabled&&b.disable();if(c.listItems!=null)if(c.listItems.length>0){b.setItems(c.listItems);b.renderList();b.refreshSuperPanel()}},setItems:function(d){var b=this,c;b.items=d;c=a.grep(d,function(a){return a.selected});if(b.options.selectionMode==="single"){b.selectedItems=[];b.selectedItem=c.length>0?c[0]:undefined}else b.selectedItems=c},getList:function(){return this.ul},_onListClick:function(b){if(!a(b.target).closest(".wijmo-wijlist-item").length)return;var c=b.data;c.select(b)},destroy:function(){var b=this,c=this.element;b.superPanel!==undefined&&b.superPanel.destroy();c.removeClass(g).removeAttr("role").removeAttr("aria-activedescendant").unbind("."+b.widgetName);b.ul.remove();a.Widget.prototype.destroy.apply(b,arguments)},activate:function(d,b,g){var a=this,h,c;a.deactivate();if(b===null||b===undefined)return;if(a._trigger("focusing",d,b)===false)return;h=a.active=b;c=b.element;a.options.addHoverItemClass&&c.addClass(f);c.attr("id",e);g&&a.superPanel!==undefined&&a.superPanel.scrollChildIntoView(c);a._trigger("focus",d,b)},deactivate:function(){var a=this,b=a.active,c;if(!b)return;c=b.element;a._trigger("blur",null,b);c.removeClass(f).removeAttr("id");a.active=undefined},next:function(a){this.move("next","."+c+":first",a)},nextPage:function(){this.superPanel.doScrolling("bottom",true)},previous:function(a){this.move("prev","."+c+":last",a)},previousPage:function(){this.superPanel.doScrolling("top",true)},first:function(){return this.active&&!this.active.element.prev().length},last:function(){return this.active&&!this.active.element.next().length},move:function(h,f,b){var a=this,g,e;if(!a.active){g=a.ul.children(f).data(d);a.activate(b,g,true);return}e=a.active.element[h+"All"]("."+c).eq(0);if(e.length)a.activate(b,e.data(d),true);else a.activate(b,a.element.children(f).data(d),true)},select:function(i,j){var e=this,g=e.active.element,c,h,f;if(g===undefined)return;c=g.data(d);h=e.options.selectionMode==="single";if(h){f=e.selectedItem;g.addClass(b).attr("aria-selected","true");c.selected=true;if(f!==undefined&&c!==f){f.selected=false;f.element.removeClass(b).removeAttr("aria-selected")}e.selectedItem=c;e._trigger("selected",i,{item:c,previousItem:f,data:j})}else{c.selected=!c.selected;if(c.selected)g.addClass(b).attr("aria-selected","true");else g.removeClass(b).removeAttr("aria-selected","true");e.selectedItems=a.grep(e.items,function(a){return a.selected});e._trigger("selected",i,{item:c,selectedItems:e.selectedItems})}},_findItemsByValues:function(c){var b,d=[];d=a.grep(this.items,function(d){b=false;for(var a=0;a<c.length;a++)if(d.value===c[a])b=true;return b});return d},_findItemsByIndices:function(c){var d=this,e=this.items.length,b=[];a.each(c,function(c,a){a>=0&&a<e&&b.push(d.items[a])});return b},getItems:function(b){var g=this,f,c,d,e;c=a.isArray(b);f=!c&&!isNaN(b)||c&&!isNaN(b[0]);d=c?b:[b];e=f?g._findItemsByIndices(d):g._findItemsByValues(d);return e},selectItems:function(i,g){var c=this,h=this.options.selectionMode==="single",e,d,f;f=c.getItems(i);if(h){if(f.length>0){e=f[0];e.selected=true;e.element.addClass(b)}d=c.selectedItem;if(d){d.selected=false;d.element.removeClass(b)}c.selectedItem=e;g&&c._trigger("selected",null,{item:e,previousItem:d})}else{a.each(f,function(c,a){a.selected=true;a.element.addClass(b)});c.selectedItems=a.grep(c.items,function(a){return a.selected});g&&c._trigger("selected",null,{selectedItems:c.selectedItems})}},unselectItems:function(f){var c=this,g=this.options.selectionMode,d,e;if(g==="single"){d=c.selectedItem;if(d){d.selected=false;d.element.removeClass(b);c.selectedItem=undefined}}else{e=c.getItems(f);a.each(e,function(c,a){a.selected=false;a.element.removeClass(b)});c.selectedItems=a.grep(c.items,function(a){return a.selected})}},renderList:function(){var d=this,g=this.ul,h=this.options,a,c,e,b,f;g.empty();a=d.items;if(a===undefined)return;c=a.length;if(a===undefined||a===null&&c===0)return;e=h.selectionMode==="single";for(b=0;b<c;b++){f=a[b];d._renderItem(g,f,b,e)}a[0].element.addClass(j);a[c-1].element.addClass(k);d._trigger("listrendered",null,d)},_renderItem:function(k,c,j){var e=this,f=a("<li role='option' class='wijmo-wijlist-item ui-corner-all'></li>"),g,i;c.element=f;c.list=e;if(e._trigger("itemrendering",null,c)===false)return;g=c.label;if(c.text!==undefined)g=c.text;f.mouseenter(function(a){e.activate(a,c,false)}).mouseleave(function(){!e.options.keepHightlightOnMouseLeave&&e.deactivate()}).data(d,c).append(g).appendTo(k);i=c.imageUrl;i!==undefined&&i.length>0&&f.prepend("<img src='"+c.imageUrl+"'>");if(c.selected){e.activate(null,c,false);f.addClass(b)}j%2===1&&f.addClass(h);e._trigger("itemrendered",null,c)},refreshSuperPanel:function(){var d=this,f=this.element,m=this.options,b=this.ul,n=b.children(".wijmo-wijlist-item:first"),h=null,g,j,k,c,e,i,l;if(!f.is(":visible"))return false;if(m.autoSize)h=n.outerHeight(true)*m.maxItemsCount;h!==null&&f.height(Math.min(h,b.outerHeight()));g=f.innerHeight();j=g/(b.outerHeight()-g);e=101*j/(1+j);k=n.outerHeight()/(b.outerHeight()-g)*(101-e);if(d.superPanel===undefined){i={allowResize:false,keyboardSupport:false,bubbleScrollingEvent:true,hScroller:{scrollBarVisibility:"hidden"},vScroller:{scrollSmallChange:k,scrollLargeChange:e}};a.extend(i,m.superPanelOptions);d.superPanel=f.wijsuperpanel(i).data("wijsuperpanel")}else{c=d.superPanel.options.vScroller;c.scrollLargeChange=e;c.scrollSmallChange=k;d.superPanel.paintPanel()}l=b.css("padding-top");if(l.length>0){c=d.superPanel.options.vScroller;c.firstStepChangeFix=d.superPanel.scrollPxToValue(parseFloat(l),"v")}else c.firstStepChangeFix=0;b.setOutWidth(b.parent().parent().innerWidth())}})})(jQuery); | |
|
27 | (function(a){"use strict";var c={general:0,weekEnd:1,otherMonth:2,outOfRange:4,today:8,custom:16,disabled:32,selected:64,gap:128};a.widget("wijmo.wijcalendar",{options:{culture:"",monthCols:1,monthRows:1,titleFormat:"MMMM yyyy",showTitle:true,displayDate:undefined,dayRows:6,dayCols:7,weekDayFormat:"short",showWeekDays:true,showWeekNumbers:false,calendarWeekRule:"firstDay",minDate:new Date(1900,0,1),maxDate:new Date(2099,11,31),showOtherMonthDays:true,showDayPadding:false,selectionMode:{day:true,days:true},allowPreview:false,allowQuickPick:true,toolTipFormat:"dddd, MMMM dd, yyyy",prevTooltip:"Previous",nextTooltip:"Next",quickPrevTooltip:"Quick Previous",quickNextTooltip:"Quick Next",prevPreviewTooltip:"",nextPreviewTooltip:"",navButtons:"default",quickNavStep:12,direction:"horizontal",duration:250,easing:"easeInQuad",popupMode:false,autoHide:true,customizeDate:null,title:null,beforeSlide:null,afterSlide:null,beforeSelect:null,afterSelect:null,selectedDatesChanged:null},_create:function(){this.element.addClass("wijmo-wijcalendar ui-datepicker-inline ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all").attr("role","grid");this._previewWrapper(this.options.allowPreview);this.element.data("preview.wijcalendar",false)},_init:function(){if(this.options.popupMode){var a={autoHide:!!this.options.autoHide};if(this.options.beforePopup)a.showing=this.options.beforePopup;if(this.options.afterPopup)a.shown=this.options.afterPopup;if(this.options.beforeClose)a.hiding=this.options.beforeClose;var b=this;a.hidden=function(a){b.element.removeData("lastdate.wijcalendar");b.options.afterClose&&b.options.afterClose.call(a)};this.element.wijpopup(a)}this._getSelectedDates();this._getDisabledDates();this._resetWidth();this.refresh();this.element.width(this.element.width()+2)},destroy:function(){a.Widget.prototype.destroy.apply(this,arguments);this.close();this.element.html("");this.element.removeClass("wijmo-wijcalendar ui-datepicker-inline ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all ui-datepicker-multi").removeAttr("role");var b=this;a.each(["preview","disableddates","selecteddates","dragging","lastdate","animating"],function(c,a){b.element.removeData(a+".wijcalendar")});this._previewWrapper(false)},_setOption:function(c,b){a.Widget.prototype._setOption.apply(this,arguments);switch(c){case"showWeekDays":case"showWeekNumbers":case"showTitle":case"showOtherMonthDays":case"selectionMode":this.unSelectAll();this._resetWidth();this.refresh();break;case"culture":this.refresh();break;case"allowPreview":this._previewWrapper(b);this.refresh();break;case"monthCols":this._resetWidth();this.refresh();break;case"autoHide":this.element.wijpopup({autoHide:this.options.autoHide});break;case"selectedDates":this._getSelectedDates().setDates(b);this.refresh();break;case"disabledDates":this._getDisabledDates().setDates(b);this.refresh()}},_previewWrapper:function(a){if(a)!this.element.parent().hasClass("wijmo-wijcalendar-preview-wrapper")&&this.element.wrap("<div class='wijmo-wijcalendar-preview-wrapper ui-helper-clearfix'></div>");else this.element.parent().hasClass("wijmo-wijcalendar-preview-wrapper")&&this.element.unwrap()},_isRTL:function(){return!!this._getCulture().isRTL},refresh:function(){this.element.empty().append(this._createCalendar());this.element[(this._isRTL()?"add":"remove")+"Class"]("ui-datepicker-rtl");this._bindEvents()},refreshDate:function(b){if(!this._monthViews)return;if(b<this._groupStartDate||b>this._groupEndDate)return;a.each(this._monthViews,function(){this._refreshDate(b)})},getDisplayDate:function(){var a=this.options.displayDate?this.options.displayDate:new Date;if(b.isSameDate(a,new Date(1900,0,1)))a=new Date;return a},getSelectedDate:function(){var a=this.options.selectedDates;return!a||a.length===0?null:a[0]},selectDate:function(a){a=new Date(a);if(this._getDisabledDates().contains(a))return;if(a<this.options.minDate||a>this.options.maxDate)return;this._getSelectedDates().add(a);this.refreshDate(a)},unSelectDate:function(a){a=new Date(a);if(this._getDisabledDates().contains(a))return;if(a<this.options.minDate||a>this.options.maxDate)return;this._getSelectedDates().remove(a);this.refreshDate(a)},unSelectAll:function(){var a=this.options.selectedDates;if(a&&a.length>0){this._getSelectedDates().clear();for(var b=0;b<a.length;b++)this.refreshDate(a[b])}},_slideToDate:function(a){if(b.isSameMonth(this.getDisplayDate(),a))return;var c=this.element.is(":visible");if(!c)this.options.displayDate=a;else{if(this._trigger("beforeSlide")===false)return;if(this._isSingleMonth())this._playSlideAnimation(a);else this._playMmSlideAnimation(a)}},isPopupShowing:function(){return!!this.options.popupMode?this.element.wijpopup("isVisible"):false},popup:function(a){this.refresh();this.element.wijpopup("show",a)},popupAt:function(a,b){this.refresh();this.element.wijpopup("showAt",a,b)},close:function(){this.isPopupShowing()&&this.element.wijpopup("hide")},_getCulture:function(b){return a.findClosestCulture(b||this.options.culture)},_getDates:function(b){var c=b.toLowerCase()+".wijcalendar",a=this.element.data(c);if(a===undefined){a=new f(this,b);this.element.data(c,a)}return a},_getDisabledDates:function(){return this._getDates("disabledDates")},_getSelectedDates:function(){return this._getDates("selectedDates")},onDayMouseDown:function(b){b.preventDefault();b.stopPropagation();var d=this.options,f=this;if(b.which!=1)return;var c=this._getCellDate(b.currentTarget);if(c===undefined)return;if(!d.selectionMode.day)return;var e={date:c};if(this._trigger("beforeSelect",null,e)===false)return;(!d.selectionMode.days||!b.metaKey&&!b.shiftKey)&&this.unSelectAll();if(!!d.selectionMode.days&&b.shiftKey&&this.element.data("lastdate.wijcalendar"))this._selectRange(this.element.data("lastdate.wijcalendar"),c);else{this.element.data("lastdate.wijcalendar",c);this.selectDate(c)}this._trigger("afterSelect",null,e);this._trigger("selectedDatesChanged",null,{dates:[c]});if(!!d.selectionMode.days){this.element.data("dragging.wijcalendar",true);a(document.body).bind("mouseup."+this.widgetName,function(){a(document.body).unbind("mouseup."+f.widgetName);f.element.data("dragging.wijcalendar",false)})}},onDayClicked:function(c){var b=this._getCellDate(c.currentTarget);if(b===undefined)return false;if(!this.options.selectionMode.day)return false;if(this.isPopupShowing())this.close();else a(c.currentTarget).hasClass("ui-datepicker-other-month")&&this._slideToDate(b);return false},onDayMouseEnter:function(a){a.currentTarget.state="hover";this._refreshDayCell(a.currentTarget);if(!!this.element.data("dragging.wijcalendar")){var b=this._getCellDate(a.currentTarget);if(b===undefined)return;this.unSelectAll();this._selectRange(this.element.data("lastdate.wijcalendar"),b,true)}},onDayMouseLeave:function(a){a.currentTarget.state="normal";this._refreshDayCell(a.currentTarget)},_selectRange:function(a,d,f){if(a!==undefined&&a!==new Date(1900,1,1)){var c=a,e=d;if(a>d){e=a;c=d}while(true){if(c>e)break;this.selectDate(c);c=b.addDays(c,1)}!f&&this.element.removeData("lastdate.wijcalendar")}else this.selectDate(a)},_getCellDate:function(c){var b=a(c).attr("date");return b===undefined?b:new Date(b)},_getParentTable:function(c){var b=a(c).parents("table");return b.length===0?undefined:b.get(0)},_initMonthSelector:function(d){if(a(d).data("cells")!==undefined)return;var c=d.id.split("_");if(c[c.length-1]!=="ms")throw Error.create("not a monthview");var k=c.slice(0,c.length-1).join("_"),b=this._getParentTable(d),f=[];if(b){if(b.id!==k)throw Error.create("not a monthview");for(var g=0;g<b.rows.length;g++)for(var i=b.rows[g],h=0;h<i.cells.length;h++){var e=i.cells[h];if(e){var j=a(e).attr("daytype");if(j===undefined)continue;if(a(e).find("a").hasClass("ui-priority-secondary"))continue;if(this._isSelectable(parseInt(j,10)))f[f.length]=e}}}a(d).data("cells",f)},onMonthSelectorClicked:function(g){this._initMonthSelector(g.currentTarget);var d=a(g.currentTarget).data("cells");this.element.removeData("lastdate.wijcalendar");this.unSelectAll();for(var b=[],c=0;c<d.length;c++){var h=d[c],f=a(h).attr("date");if(f===undefined)continue;var e=new Date(f);this.selectDate(e);b[b.length]=e}this._trigger("selectedDatesChanged",null,{dates:b});this.isPopupShowing()&&this.close();return false},onMonthSelectorMouseEnter:function(b){this._initMonthSelector(b.currentTarget);for(var d=a(b.currentTarget).data("cells"),c=0;c<d.length;c++){b.currentTarget=d[c];this.onDayMouseEnter(b)}},onMonthSelectorMouseLeave:function(b){this._initMonthSelector(b.currentTarget);for(var d=a(b.currentTarget).data("cells"),c=0;c<d.length;c++){b.currentTarget=d[c];this.onDayMouseLeave(b)}},_initWeekDaySelector:function(f){if(a(f).data("cells")!==undefined)return;var b=f.id.split("_");if(b[b.length-2]!=="cs")throw Error.create("not a column");var h=parseInt(b[b.length-1],10),k=b.slice(0,b.length-2).join("_"),d=this._getParentTable(f),g=[];if(d){if(d.id!==k)throw Error.create("not a column");var c=0;if(!this._isSingleMonth())c++;if(this.options.showWeekDays)c++;for(;c<d.rows.length;c++){var j=d.rows[c];if(h<j.cells.length){var e=j.cells[h];if(e){var i=a(e).attr("daytype");if(i===undefined)continue;if(a(e).find("a").hasClass("ui-priority-secondary"))continue;if(this._isSelectable(parseInt(i,10)))g[g.length]=e}}}}a(f).data("cells",g)},onWeekDayClicked:function(g){this._initWeekDaySelector(g.currentTarget);var d=a(g.currentTarget).data("cells");this.unSelectAll();for(var b=[],c=0;c<d.length;c++){var h=a(d[c]),f=h.attr("date");if(f===undefined)continue;var e=new Date(f);this.selectDate(e);b[b.length]=e}this._trigger("selectedDatesChanged",null,{dates:b});this.isPopupShowing()&&this.close();return false},onWeekDayMouseEnter:function(b){this._initWeekDaySelector(b.currentTarget);for(var d=a(b.currentTarget).data("cells"),c=0;c<d.length;c++){b.currentTarget=d[c];this.onDayMouseEnter(b)}},onWeekDayMouseLeave:function(b){this._initWeekDaySelector(b.currentTarget);for(var d=a(b.currentTarget).data("cells"),c=0;c<d.length;c++){b.currentTarget=d[c];this.onDayMouseLeave(b)}},_initWeekNumberSelector:function(d){if(a(d).data("cells")!==undefined)return;var b=d.id.split("_");if(b[b.length-2]!=="rs")throw Error.create("not a row");var j=parseInt(b[b.length-1],10),k=b.slice(0,b.length-2).join("_"),f=this._getParentTable(d),g=[];if(f){if(f.id!==k)throw Error.create("not a row");var h=f.rows[j];if(h){var e=0;if(this.options.showWeekNumbers)e++;for(;e<h.cells.length;e++){var c=h.cells[e];if(c){var i=a(c).attr("daytype");if(i===undefined)continue;if(a(c).find("a").hasClass("ui-priority-secondary"))continue;if(this._isSelectable(parseInt(i,10)))g[g.length]=c}}}}a(d).data("cells",g)},onWeekNumberClicked:function(g){this._initWeekNumberSelector(g.currentTarget);var d=a(g.currentTarget).data("cells");this.unSelectAll();for(var b=[],c=0;c<d.length;c++){var h=a(d[c]),f=h.attr("date");if(f===undefined)continue;var e=new Date(f);this.selectDate(e);b[b.length]=e}this._trigger("selectedDatesChanged",null,{dates:b});this.isPopupShowing()&&this.close();return false},onWeekNumberMouseEnter:function(b){this._initWeekNumberSelector(b.currentTarget);for(var d=a(b.currentTarget).data("cells"),c=0;c<d.length;c++){b.currentTarget=d[c];this.onDayMouseEnter(b)}},onWeekNumberMouseLeave:function(b){this._initWeekNumberSelector(b.currentTarget);for(var d=a(b.currentTarget).data("cells"),c=0;c<d.length;c++){b.currentTarget=d[c];this.onDayMouseLeave(b)}},_isAnimating:function(){return!!this.element.data("animating.wijcalendar")},onPreviewMouseEnter:function(h){if(!!this.element.data("previewContainer"))return;if(this._isAnimating())return;var g=a(h.currentTarget),d=g.attr("id");if(d===undefined)return;var f=this.getDisplayDate(),e=this.options.monthCols*this.options.monthRows;if(d==="prevPreview")e=-e;this.options.displayDate=b.addMonths(f,e);this.element.data("preview.wijcalendar",true);var c=a("<div/>");c.appendTo(document.body);c.hide();c.addClass("wijmo-wijcalendar ui-datepicker-inline ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all");c.append(this._createCalendar());this.options.displayDate=f;this.element.data("preview.wijcalendar",false);this._createMonthViews();c.wijpopup({showEffect:"slide",showOptions:{direction:d==="prevPreview"?"right":"left"},hideEffect:"slide",hideOptions:{direction:d==="prevPreview"?"right":"left"}});c.wijpopup("show",{my:d==="prevPreview"?"right top":"left top",at:d==="prevPreview"?"left top":"right top",of:g});this.element.data("previewContainer",c)},onPreviewMouseLeave:function(c){var f=a(c.currentTarget),d=f.attr("id");if(d===undefined)return;var b=this.element.data("previewContainer");if(b)if(b.wijpopup("isAnimating")){var e=this;window.setTimeout(function(){e.onPreviewMouseLeave(c)},200)}else{b.wijpopup("hide");this.element.removeData("previewContainer")}},_resetWidth:function(){if(!this._myGrid){this.element.css("height","");if(this.options.monthCols>1){this.element.css("width",17*this.options.monthCols+"em");this.element.addClass("ui-datepicker-multi")}else{this.element.css("width","");this.element.removeClass("ui-datepicker-multi")}}},_playMmSlideAnimation:function(f){var i=this.element.width(),g=this.element.height();this.element.height(g);var h=this.getDisplayDate();this.element.wrapInner("<div class='wijmo-wijcalendar-multi-aniwrapper'></div>");var d=this.element.find(">:first-child").width(i).height(g),a=d.clone(false);a.hide();this.options.displayDate=f;this._createMonthViews();a.empty().append(this._createMonthGroup());a.appendTo(this.element);var e=this.options.direction||"horizontal",c=f>h,b=this;this.element.data("animating.wijcalendar",true);d.effect("slide",{mode:"hide",direction:e=="horizontal"?c?"left":"right":c?"up":"down",easing:this.options.easing||"easeOutBack",duration:this.options.duration},function(){d.remove()});a.effect("slide",{direction:e=="horizontal"?c?"right":"left":c?"down":"up",easing:this.options.easing||"easeOutBack",duration:this.options.duration},function(){while(a.parent().is(".wijmo-wijcalendar-multi-aniwrapper"))a.parent().replaceWith(a);a.replaceWith(a.contents());b.element.height("");b._bindEvents();b.element.data("animating.wijcalendar",false);b._trigger("afterSlide")})},_playSlideAnimation:function(m){if(!this._isSingleMonth())return;var f=this,n=this.getDisplayDate(),c=this.element.find(".ui-datepicker-calendar"),b,k;if(c.parent().is(".wijmo-wijcalendar-aniwrapper"))b=c.parent();else{b=a.effects.createWrapper(c).css({overflow:"hidden"});b.removeClass("ui-effects-wrapper");b.addClass("wijmo-wijcalendar-aniwrapper")}if(b.parent().is(".wijmo-wijcalendar-aniwrapper"))k=b.parent();else{k=a.effects.createWrapper(b).css({overflow:"hidden"});k.removeClass("ui-effects-wrapper");k.addClass("wijmo-wijcalendar-aniwrapper")}var l=1;if(this._myGrid)switch(this._myGrid.gridType){case"month":l=1;break;case"year":l=10;break;case"decade":l=100}var i=this.options.direction||"horizontal",g=m>n,d=[];d[d.length]=m;var h=c.outerWidth(),j=c.outerHeight();if(i=="horizontal"){c.width(h).css("float",g?"left":"right");b.width((d.length+1)*h);b.css("left",g?0:-d.length*h).css("position","absolute")}else{b.width(h);b.css("top",g?0:-d.length*j).css("position","absolute");b.height((d.length+1)*j)}a.each(d,function(k,c){if(f._myGrid===undefined){var d=new e(f,c);$view=f._customize(d.getHtml(true));if(i=="horizontal")$view.width(h).css("float",g?"left":"right").appendTo(b);else $view.appendTo(b)}else if(i=="horizontal")a(f._myGrid.getHtml(c,true)).width(h).height(j).css("float",g?"left":"right").appendTo(b);else a(f._myGrid.getHtml(c,true)).height(j).appendTo(b)});this.options.displayDate=m;this._myGrid===undefined&&this._createMonthViews();this._refreshTitle();this.element.data("animating.wijcalendar",true);b.effect("slide",{mode:"hide",direction:i=="horizontal"?g?"left":"right":g?"up":"down",easing:this.options.easing||"easeOutBack",distance:(i=="horizontal"?h:j)*d.length,duration:this.options.duration},function(){c=b.children(":last");while(c.parent().is(".wijmo-wijcalendar-aniwrapper"))c.parent().replaceWith(c);c.css({"float":"",width:""});f._bindEvents();f.element.data("animating.wijcalendar",false);f._trigger("afterSlide")})},onTitleClicked:function(){if(!this.options.allowQuickPick||!this._isSingleMonth())return;if(this._isAnimating())return;if(this._myGrid===undefined)this._myGrid=new g(this);else switch(this._myGrid.gridType){case"month":this._myGrid.gridType="year";break;case"year":this._myGrid.gridType="decade";break;case"decade":return}this._refreshTitle();this.element.width(this.element.width()).height(this.element.height());var c=this.element.find(".ui-datepicker-calendar"),b,e,m=c.outerWidth(),f=c.outerHeight();if(c.parent().is(".wijmo-wijcalendar-aniwrapper"))b=c.parent();else b=a.effects.createWrapper(c).css({overflow:"hidden"}).removeClass("ui-effects-wrapper").addClass("wijmo-wijcalendar-aniwrapper");if(b.parent().is(".wijmo-wijcalendar-aniwrapper"))e=b.parent();else e=a.effects.createWrapper(b).css({overflow:"hidden"}).removeClass("ui-effects-wrapper").addClass("wijmo-wijcalendar-aniwrapper").width(m).height(f);var d=a(this._myGrid.getHtml(true)).css({position:"absolute",top:0,left:0,opacity:0}).appendTo(e).height(f),i=this._myGrid.getSelectedIndex(),l=Math.floor(i/4),o=i-l*4,k=m/4,j=f/3,n={left:k*o,top:j*l,width:k,height:j};c.width("100%").height("100%");b.css({border:"solid 1px #cccccc"});this.element.data("animating.wijcalendar",true);var h=this;b.effect("size",{to:n,duration:this.options.duration||500},function(){b.remove()});d.animate({opacity:1},this.options.duration||500,function(){d.css({position:"",top:"",left:"",filter:""});while(d.parent().is(".wijmo-wijcalendar-aniwrapper"))d.parent().replaceWith(d);h._bindEvents();h.element.data("animating.wijcalendar",false)})},onMyGridClicked:function(o){if(this._myGrid===undefined)return false;if(this._isAnimating())return false;var c=a(o.currentTarget),h=parseInt(c.attr("index"),10);if(this._myGrid.gridType!=="month")if(!h||h===11)return false;!c.hasClass("ui-state-active")&&this._myGrid.select(h);if(this._myGrid.gridType==="decade")this._myGrid.gridType="year";else if(this._myGrid.gridType==="year")this._myGrid.gridType="month";else this._myGrid=undefined;this._refreshTitle();var b=this.element.find(".ui-datepicker-calendar"),j,f,k=b.outerWidth(),i=b.outerHeight();if(b.parent().is(".wijmo-wijcalendar-aniwrapper"))f=b.parent();else f=a.effects.createWrapper(b).css({overflow:"hidden"}).removeClass("ui-effects-wrapper").addClass("wijmo-wijcalendar-aniwrapper").width(k).height(i);var l=a.extend({},c.position(),{width:c.width(),height:c.height()}),g;if(this._myGrid===undefined){this._createMonthViews();var m=this.getDisplayDate(),n=this._getMonthView(m);g=this._customize(n.getHtml(true))}else g=a(this._myGrid.getHtml(true));var d=g.height(i).appendTo(f);j=a.effects.createWrapper(d).css({overflow:"hidden"}).removeClass("ui-effects-wrapper").addClass("wijmo-wijcalendar-aniwrapper").css(a.extend(l,{border:"solid 1px #cccccc",position:"absolute"}));var e=this;this.element.data("animating.wijcalendar",true);j.animate({left:0,top:0,width:k,height:i},this.options.duration||500,function(){});b.animate({opacity:0},this.options.duration||500,function(){b.remove();while(d.parent().is(".wijmo-wijcalendar-aniwrapper"))d.parent().replaceWith(d);e._myGrid===undefined&&e.element.width("").height("");e._bindEvents();e.element.data("animating.wijcalendar",false)});return false},onMyGridMouseEnter:function(d){if(this._myGrid===undefined)return;var c=a(d.currentTarget),b=parseInt(c.attr("index"),10);if(this._myGrid.gridType!=="month"&&(b<0||b>11))return;c.addClass("ui-state-hover")},onMyGridMouseLeave:function(d){if(this._myGrid===undefined)return;var c=a(d.currentTarget),b=parseInt(c.attr("index"),10);if(this._myGrid.gridType!=="month"&&(b<0||b>11))return;c.removeClass("ui-state-hover")},_bindEvents:function(){if(!this.element.data("preview.wijcalendar")&&!this.options.disabled){this.element.find("div .wijmo-wijcalendar-navbutton").unbind().bind("mouseout",function(){var b=a(this);b.removeClass("ui-state-hover");if(b.hasClass("ui-datepicker-next-hover"))b.removeClass("ui-datepicker-next-hover");else b.hasClass("ui-datepicker-prev-hover")&&b.removeClass("ui-datepicker-prev-hover")}).bind("mouseover",function(){var b=a(this);b.addClass("ui-state-hover");if(b.hasClass("ui-datepicker-next"))b.addClass("ui-datepicker-next-hover");else b.hasClass("ui-datepicker-prev")&&b.addClass("ui-datepicker-prev-hover")}).bind("click",a.proxy(this.onNavButtonClicked,this));this.element.find(".ui-datepicker-title").unbind().bind("mouseout",function(){a(this).removeClass("ui-state-hover")}).bind("mouseover",function(){a(this).addClass("ui-state-hover")}).bind("click",a.proxy(this.onTitleClicked,this));this.element.find(".wijmo-wijcalendar-prevpreview-button, .wijmo-wijcalendar-nextpreview-button").unbind("mouseenter").unbind("mouseleave").bind({mouseenter:a.proxy(this.onPreviewMouseEnter,this),mouseleave:a.proxy(this.onPreviewMouseLeave,this)});if(this._myGrid===undefined){this.element.find(".wijmo-wijcalendar-day-selectable").unbind().bind({click:a.proxy(this.onDayClicked,this),mouseenter:a.proxy(this.onDayMouseEnter,this),mouseleave:a.proxy(this.onDayMouseLeave,this),mousedown:a.proxy(this.onDayMouseDown,this)});!!this.options.selectionMode.month&&this.element.find(".wijmo-wijcalendar-monthselector").unbind().bind({click:a.proxy(this.onMonthSelectorClicked,this),mouseenter:a.proxy(this.onMonthSelectorMouseEnter,this),mouseleave:a.proxy(this.onMonthSelectorMouseLeave,this)});!!this.options.selectionMode.weekDay&&this.element.find(".ui-datepicker-week-day").unbind().bind({click:a.proxy(this.onWeekDayClicked,this),mouseenter:a.proxy(this.onWeekDayMouseEnter,this),mouseleave:a.proxy(this.onWeekDayMouseLeave,this)});!!this.options.selectionMode.weekNumber&&this.element.find(".wijmo-wijcalendar-week-num").unbind().bind({click:a.proxy(this.onWeekNumberClicked,this),mouseenter:a.proxy(this.onWeekNumberMouseEnter,this),mouseleave:a.proxy(this.onWeekNumberMouseLeave,this)})}else this.element.find(".wijmo-wijcalendar-day-selectable").unbind().bind({click:a.proxy(this.onMyGridClicked,this),mouseenter:a.proxy(this.onMyGridMouseEnter,this),mouseleave:a.proxy(this.onMyGridMouseLeave,this)})}},_isSelectable:function(a){return!(a&(c.outOfRange|c.disabled))},_getCellClassName:function(b,h,e){var f=this.options,a="",d="ui-state-default",g=!!f.selectionMode.day||!!f.selectionMode.days;e=e||false;if(!e&&!f.disabled&&g&&this._isSelectable(b))a+=" wijmo-wijcalendar-day-selectable";if(b&c.weekEnd)a+=" ui-datepicker-week-end";if(b&c.otherMonth){a+=" ui-datepicker-other-month";d+=" ui-priority-secondary"}if(b&c.outOfRange){a+=" wijmo-wijcalendar-outofrangeday";d+=" ui-priority-secondary"}if(b&c.gap)a+=" wijmo-wijcalendar-gap";else{if(b&c.disabled){a+=" ui-datepicker-unselectable";d+=" ui-state-disabled"}if(b&c.today){a+=" ui-datepicker-days-cell-over ui-datepicker-today";d+=" ui-state-highlight"}if(b&c.selected&&(b&(c.outOfRange|c.disabled))===0){a+=" ui-datepicker-current-day";d+=" ui-state-active"}if(b&c.gap)a+=" wijmo-wijcalendar-gap";if(b&c.custom)a+=" wijmo-wijcalendar-customday"}return{cssCell:a,cssText:d}},onNavButtonClicked:function(g){if(this._isAnimating())return false;var c=1,f=a(g.currentTarget).attr("id"),e=this.getDisplayDate(),d=e;if(this._myGrid===undefined){c=f.indexOf("quick")>=0?this.options.quickNavStep:1;c=f.indexOf("next")>=0?c*1:c*-1;c=c*this.options.monthRows*this.options.monthCols;d=b.addMonths(e,c)}else{c=f.indexOf("next")>=0?1:-1;switch(this._myGrid.gridType){case"month":d=b.addYears(e,c);break;case"year":d=b.addYears(e,c*10);break;case"decade":d=b.addYears(e,c*100)}}this._slideToDate(d);return false},_getMonthGroupHtml:function(){var e=this.getDisplayDate(),c;if(this._isSingleMonth()){c=this._getMonthView(e);c.showPreview=this.options.allowPreview&&!this.element.data("preview.wijcalendar")&&!this.options.disabled;return c.getHtml()}for(var h=100/this.options.monthCols+"%",a=new d,g=0;g<this.options.monthRows;g++){for(var f=0;f<this.options.monthCols;f++){a.writeBeginTag("div");a.writeAttribute("class","ui-datepicker-group"+(f===0?" ui-datepicker-group-first":"")+(f==this.options.monthCols-1?" ui-datepicker-group-last":""));a.writeAttribute("style","width:"+h);a.writeTagRightChar();c=this._getMonthView(e);c.showPreview=false;a.write(c.getHtml());a.writeEndTag("div");e=b.addMonths(e,1)}a.writeBeginTag("div");a.writeAttribute("class","ui-datepicker-row-break");a.writeTagRightChar();a.writeEndTag("div")}return a.toString()},_getCalendarHtml:function(){this._createMonthViews();var a=new d;a.write(this._getMonthGroupHtml());return a.toString()},_customizeDayCell:function(a){a.attr("state")===undefined&&a.attr("state","normal");if(a.attr("daytype")===undefined)return;if(a.attr("date")===undefined)return;var b=parseInt(a.attr("daytype"),10),d=new Date(a.attr("date")),c=a.attr("state")==="hover";this.options.customizeDate(a,d,b,c)},_customize:function(c){var e=this.options,d=this,b=a(c);if(!a.isFunction(e.customizeDate))return b;a.each(b.find(".wijmo-wijcalendar-day-selectable"),function(c,b){d._customizeDayCell(a(b))});return b},_createCalendar:function(){return this._customize(a(this._getCalendarHtml()))},_createMonthGroup:function(){return this._customize(a(this._getMonthGroupHtml()))},_getMonthID:function(a){return a.getFullYear()+"_"+(a.getMonth()+1)},_createMonthViews:function(){this._monthViews={};for(var c="",a=this.getDisplayDate(),g=0;g<this.options.monthRows;g++)for(var f=0;f<this.options.monthCols;f++){c=this._getMonthID(a);this._monthViews[c]=new e(this,a);if(g===0){if(f===0)this._monthViews[c].isFirst=true;if(f==this.options.monthCols-1)this._monthViews[c].isLast=true}a=b.addMonths(a,1)}a=this.getDisplayDate();c=this._getMonthID(a);var d=this._monthViews[c];if(d)this._groupStartDate=d.getStartDate();var h=this.options.monthRows*this.options.monthCols;if(h>1){a=b.addMonths(a,h-1);c=this._getMonthID(a);d=this._monthViews[c]}if(d)this._groupEndDate=d.getEndDate()},_getMonthView:function(b){var a=this._getMonthID(b);return this._monthViews[a]},_getId:function(){return this.element.attr("id")},_getChildElement:function(b){var a=this.element.find("[id*='"+b+"']");return a.length===0?undefined:a},_refreshDayCell:function(f){var b=a(f),i=this.options;b.attr("state")===undefined&&b.attr("state","normal");if(b.attr("daytype")===undefined)return;if(b.attr("date")===undefined)return;var d=parseInt(b.attr("daytype"),10),h=new Date(b.attr("date")),g=b.attr("state")==="hover";b.attr("className",this._getCellClassName(d,h).cssCell);b.removeAttr("aria-selected");d&c.selected&&b.attr("aria-selected",true);if(a.isFunction(i.customizeDate))if(this._customizeDayCell(b))return;var e=b.find("a");if(e.length>0){e.toggleClass("ui-state-hover",g);e.toggleClass("ui-state-active",(d&c.selected)!==0)}},_isSingleMonth:function(){return this.options.monthCols*this.options.monthRows===1},_splitString:function(f,e,b){if(b===undefined)return f.split(e);for(var c=[],d=f.split(e),a=0;a<d.length;a++)if(a>=b)c[b-1]=c[b-1]+e+d[a];else c.push(d[a]);return c},_getNavButtonHtml:function(f,e,c,b){var a=new d;a.writeBeginTag("a");a.writeAttribute("id",f);a.writeAttribute("class",e);a.writeAttribute("role","button");a.writeAttribute("href","#");if(b){a.writeAttribute("title",b);a.writeAttribute("aria-label",b)}a.writeTagRightChar();a.writeBeginTag("span");a.writeAttribute("class",c);a.writeTagRightChar();b&&a.write(b);a.writeEndTag("span");a.writeEndTag("a");return a.toString()},_getTitleText:function(d){if(this._myGrid!==undefined)return this._myGrid.getTitle();else{var b=d||this.getDisplayDate(),c=this.options.titleFormat||"MMMM yyyy";return a.isFunction(this.options.title)?this.options.title(b,c)||this._formatDate(c,b):this._formatDate(c,b)}},_refreshTitle:function(){this.element.find(".ui-datepicker-title").html(this._getTitleText())},_fillTitle:function(a,b){a.writeBeginTag("div");a.writeAttribute("class","ui-datepicker-title wijmo-wijcalendar-title ui-state-default ui-corner-all");a.writeTagRightChar();a.write(this._getTitleText(b));a.writeEndTag("div")},_getHeaderHtml:function(g,e,c){var h=!!this.element.data("preview.wijcalendar"),f=h?"none":this._isSingleMonth()?this.options.navButtons:"default",b=this.element.is(".ui-datepicker-rtl"),a=new d;if(f==="quick"){a.writeBeginTag("div");a.writeAttribute("class","ui-widget-header wijmo-wijcalendar-header ui-helper-clearfix ui-corner-all");a.writeAttribute("role","heading");a.writeTagRightChar();!!e&&a.write(this._getNavButtonHtml("quickprev","wijmo-wijcalendar-navbutton ui-datepicker-prev ui-corner-all","ui-icon ui-icon-seek-"+(b?"next":"prev"),this.options.quickPrevTooltip.replace("#",this.options.quickNavStep)));a.writeBeginTag("div");a.writeAttribute("class","ui-datepicker-header wijmo-wijcalendar-header-inner");a.writeTagRightChar();!!e&&a.write(this._getNavButtonHtml("prev","wijmo-wijcalendar-navbutton ui-datepicker-prev ui-corner-all","ui-icon ui-icon-circle-triangle-"+(b?"e":"w"),this.options.prevTooltip));this._fillTitle(a,g);!!c&&a.write(this._getNavButtonHtml("next","wijmo-wijcalendar-navbutton ui-datepicker-next ui-corner-all","ui-icon ui-icon-circle-triangle-"+(b?"w":"e"),this.options.nextTooltip));a.writeEndTag("div");!!c&&a.write(this._getNavButtonHtml("quicknext","wijmo-wijcalendar-navbutton ui-datepicker-next ui-corner-all","ui-icon ui-icon-seek-"+(b?"prev":"next"),this.options.quickNextTooltip.replace("#",this.options.quickNavStep)));a.writeEndTag("div")}else{a.writeBeginTag("div");a.writeAttribute("class","ui-datepicker-header ui-widget-header ui-datepicker-header ui-helper-clearfix ui-corner-all");a.writeAttribute("role","heading");a.writeTagRightChar();f!="none"&&!!e&&a.write(this._getNavButtonHtml("prev","wijmo-wijcalendar-navbutton ui-datepicker-prev ui-corner-all","ui-icon ui-icon-circle-triangle-"+(b?"e":"w"),this.options.prevTooltip));this._fillTitle(a,g);f!="none"&&!!c&&a.write(this._getNavButtonHtml("next","wijmo-wijcalendar-navbutton ui-datepicker-next ui-corner-all","ui-icon ui-icon-circle-triangle-"+(b?"w":"e"),this.options.nextTooltip));a.writeEndTag("div")}return a.toString()},_formatDate:function(d,c){return!b.getTicks(c)?" ":a.format(c,d,this._getCulture())}});if(e===undefined){var e=function(c,a){this.calendar=c;if(a===undefined||b.isSameDate(a,new Date(1900,0,1)))a=new Date;this.displayDate=a;this.id=this.calendar._getId()+"_"+this.calendar._getMonthID(a);this.isFirst=false;this.isLast=false;this.showPreview=false;this.culture=this.calendar._getCulture();this._calcDates(this.displayDate)};e.prototype={_calcDates:function(a){var c=b.getDaysInMonth(a);this._startDateInMonth=new Date(a.getFullYear(),a.getMonth(),1);this._endDateInMonth=b.addDays(this._startDateInMonth,c-1);this._startDate=b.getWeekStartDate(this._startDateInMonth,this.culture.calendar.firstDay);this._endDate=b.addDays(this._startDate,this.calendar.options.dayRows*this.calendar.options.dayCols-1)},_isFirstMonth:function(){var a=this.calendar.getDisplayDate();return b.isSameMonth(this._startDateInMonth,a)},_isLastMonth:function(){var a=this.calendar.getDisplayDate();a=new Date(a.getFullYear(),a.getMonth(),1);a=b.addMonths(a,this.calendar.options.monthCols*this.calendar.options.monthRows-1);return b.isSameMonth(this._startDateInMonth,a)},getStartDate:function(){return this._startDate},getEndDate:function(){return this._endDate},_getMonthDate:function(){this._startDateInMonth===undefined&&this._calcDates(this.getDisplayDate());return this._startDateInMonth},_setMonthDate:function(a){this._calcDates(a)},_getWeekDayText:function(c,d){d=d||"short";var b=this.culture.calendar.days,a="";switch(d){case"full":a=b.names[c];break;case"firstLetter":a=b.names[c].substring(0,1);break;case"abbreviated":a=b.namesAbbr[c];break;default:a=b.namesShort[c]}return a},_getRowCount:function(){var a=this.calendar.options;return a.showWeekDays?a.dayRows+1:a.dayRows},_getColCount:function(){var a=this.calendar.options;return a.showWeekNumbers?a.dayCols+1:a.dayCols},_getDayType:function(d){var e=this.calendar.options,a=c.general,h=d.getDay(),m=h===6||h===0,g=d<e.minDate||d>e.maxDate,f=d<this._startDateInMonth||d>this._endDateInMonth,i=g||this.calendar._getDisabledDates().contains(d),j=this.calendar._getSelectedDates().contains(d),n=new Date,l=b.isSameDate(d,n),k=false;if(m)a|=c.weekEnd;if(l)a|=c.today;if(i)a|=c.disabled;if(f)a|=c.otherMonth;if(g)a|=c.outOfRange;if(j)a|=c.selected;if(k)a|=c.custom;if(f&&!e.showOtherMonthDays)a|=c.gap;return a},_refreshDate:function(b){if(b<this._startDate||b>this._endDate)return;var h=this.calendar.options,g=Math.round(Math.abs(b-this._startDate)/(24*60*60*1e3)),d=Math.floor(g/this.calendar.options.dayCols),c=Math.floor(g%this.calendar.options.dayCols);if(h.showWeekNumbers)c++;if(h.showWeekDays)d++;var e=a("#"+this.id,this.calendar.element).get(0);if(e)if(d<e.rows.length){var i=e.rows[d];if(c<i.cells.length){var f=i.cells[c],j=this._getDayType(b);f.daytype=j.toString();this.calendar._refreshDayCell(f)}}},_fillDayCell:function(a,b,j){var i=this.calendar.options,f=null,d=b.getDate().toString(),g=this.calendar._formatDate(i.toolTipFormat||"dddd, MMMM dd, yyyy",b),e=this._getDayType(b),h=this.calendar._getCellClassName(e,b,j);d=i.showDayPadding&&d.length===1?"0"+d:d;a.writeBeginTag("td");a.writeAttribute("daytype",e.toString());a.writeAttribute("title",g);a.writeAttribute("aria-label",g);a.writeAttribute("date",b.toDateString());a.writeAttribute("class",h.cssCell);a.writeAttribute("role","gridcell");!this.calendar._isSelectable(e)&&a.writeAttribute("aria-disabled","true");a.writeTagRightChar();if(e&c.gap)a.write(" ");else if(f&&f.content)a.write(f.content);else{a.writeBeginTag("a");a.writeAttribute("class",h.cssText);a.writeAttribute("href","#");a.writeTagRightChar();a.write(d);a.writeEndTag("a")}a.writeEndTag("td")},getHtml:function(g){g=!!g;var c=this.calendar.options,h=!!this.calendar.element.data("preview.wijcalendar"),a=new d,e;!g&&c.showTitle&&a.write(this.calendar._getHeaderHtml(this._startDateInMonth,this.isFirst,this.isLast));if(!g&&!h&&this.showPreview){a.writeBeginTag("div");a.writeAttribute("class","wijmo-wijcalendar-prevpreview-button");a.writeAttribute("role","button");a.writeAttribute("aria-haspopup","true");a.writeAttribute("id","prevPreview");a.writeTagRightChar();a.writeBeginTag("a");a.writeAttribute("class","ui-icon ui-icon-grip-dotted-vertical");a.writeAttribute("href","#");a.writeAttribute("title",c.prevPreviewTooltip);a.writeAttribute("aria-label",c.prevPreviewTooltip);a.writeAttribute("onclick","return false;");a.writeTagRightChar();a.write(" ");a.writeEndTag("a");a.writeEndTag("div")}a.writeBeginTag("table");a.writeAttribute("id",this.id);a.writeAttribute("class","ui-datepicker-calendar wijmo-wijcalendar-table");a.writeAttribute("role","grid");a.writeAttribute("summary",this.calendar._getTitleText(this._startDateInMonth));a.writeAttribute("onselectstart","return false;");a.writeTagRightChar();if(c.showWeekDays){a.writeFullBeginTag("thead");a.writeBeginTag("tr");a.writeTagRightChar();if(c.showWeekNumbers){a.writeBeginTag("th");a.writeAttribute("id",this.id+"_ms");a.writeAttribute("class","ui-datepicker-week-col wijmo-wijcalendar-monthselector"+(!!c.selectionMode.month?" wijmo-wijcalendar-selectable":""));a.writeAttribute("role","columnheader");a.writeTagRightChar();if(!!c.selectionMode.month&&!h&&!c.disabled){a.writeBeginTag("a");a.writeAttribute("class","ui-icon ui-icon-triangle-1-se");a.writeSelfClosingTagEnd()}else a.write("Wk");a.writeEndTag("th")}var f=this._startDate.getDay(),k=this._startDate;for(e=0;e<c.dayCols;e++){var q=f===6||f===0,o=e+(c.showWeekNumbers?1:0),r=this._getWeekDayText(f,c.weekDayFormat),l=this._getWeekDayText(f,"full");a.writeBeginTag("th");a.writeAttribute("id",this.id+"_cs_"+o);a.writeAttribute("class","ui-datepicker-week-day"+(q?" ui-datepicker-week-end":"")+(!!c.selectionMode.weekDay?" wijmo-wijcalendar-selectable":""));a.writeAttribute("role","columnheader");a.writeTagRightChar();a.writeBeginTag("span");a.writeAttribute("title",l);a.writeAttribute("aria-label",l);a.writeTagRightChar();a.write(r);a.writeEndTag("span");a.writeEndTag("th");f=(f+1)%7;k=b.addDays(k,1)}a.writeEndTag("tr");a.writeEndTag("thead")}a.writeFullBeginTag("tbody");var j=this._startDate,i=this._startDateInMonth;for(e=0;e<c.dayRows;e++){a.writeBeginTag("tr");a.writeTagRightChar();if(c.showWeekNumbers){var p=e+(c.showWeekDays?1:0);a.writeBeginTag("td");a.writeAttribute("id",this.id+"_rs_"+p);a.writeAttribute("class","ui-datepicker-week-col wijmo-wijcalendar-week-num"+(!!c.selectionMode.weekNumber?" wijmo-wijcalendar-selectable":""));a.writeAttribute("role","rowheader");a.writeTagRightChar();var n=b.getWeekOfYear(i,c.calendarWeekRule,this.culture.calendar.firstDay);a.write(n);a.writeEndTag("td");i=b.addDays(i,c.dayCols)}for(var m=0;m<c.dayCols;m++){this._fillDayCell(a,j,h);j=b.addDays(j,1)}a.writeEndTag("tr")}a.writeEndTag("tbody");a.writeEndTag("table");if(!g&&!h&&this.showPreview){a.writeBeginTag("div");a.writeAttribute("class","wijmo-wijcalendar-nextpreview-button");a.writeAttribute("role","button");a.writeAttribute("aria-haspopup","true");a.writeAttribute("id","nextPreview");a.writeTagRightChar();a.writeBeginTag("a");a.writeAttribute("class","ui-icon ui-icon-grip-dotted-vertical");a.writeAttribute("href","#");a.writeAttribute("title",c.nextPreviewTooltip);a.writeAttribute("aria-label",c.nextPreviewTooltip);a.writeAttribute("onclick","return false;");a.writeTagRightChar();a.write(" ");a.writeEndTag("a");a.writeEndTag("div")}return a.toString()}}}if(f===undefined){var f=function(b,a){this._calendar=b;this._optionName=a;this._normalize()};f.prototype={_calendar:null,_optionName:"selectedDates",getDates:function(){if(this._calendar.options[this._optionName]===undefined)this._calendar.options[this._optionName]=[];return this._calendar.options[this._optionName]},setDates:function(a){this._calendar.options[this._optionName]=a;this._normalize()},getCount:function(){return this.getDates().length},clear:function(){this.setDates([])},add:function(a){this.addRange(a,a)},remove:function(a){this.removeRange(a,a)},indexOf:function(a){return!this.getCount()?-1:this._findRangeBound(a,true,false)},contains:function(a){return this.indexOf(a)!==-1},removeRange:function(g,d){if(!this.getCount())return;var b=this._findRangeBound(g,false,true),a=this._findRangeBound(d,false,false);if(b<0||a<0)return;if(b>a)return;var c=this.getDates();if(c[a]>d)return;var e=!b?[]:c.slice(0,b),f=a>=c.length-1?[]:c.slice(a+1);this.setDates(e.concat(f))},addRange:function(a,d){this.removeRange(a,d);var g=this.getDates(),e=this._findRangeBound(a,false,true),h=!e?[]:g.slice(0,e),i=g.slice(e),f=[];a=b.getDate(a);d=b.getDate(d);for(var c=a;c<=d;c=b.addDays(c,1))f[f.length]=c;this.setDates(h.concat(f.concat(i)))},_findRangeBound:function(f,h,g){var e=this.getDates(),c=0,d=e.length,a;while(c<d){a=c+d>>1;if(b.isSameDate(f,e[a]))return a;if(f<e[a])d=a;else c=a+1}return h?-1:g?c:d},_normalize:function(){var b=this._calendar.options[this._optionName];if(a.isArray(b)){var c=a.map(b,function(a){return new Date(a)});this._calendar.options[this._optionName]=c.sort(function(a,b){return a.getTime()-b.getTime()})}}}}if(g===undefined){var g=function(a){this.gridType="month";this.calendar=a;this.culture=a._getCulture()};g.prototype={gridType:"month",selectedIndex:0,calendar:null,culture:undefined,select:function(c){var a=this.calendar.getDisplayDate(),d=a.getFullYear(),b=c-this.selectedIndex;switch(this.gridType){case"month":a.setMonth(c);break;case"year":a.setFullYear(d+b);break;case"decade":a.setFullYear(d+b*10)}this.calendar.options.displayDate=a},getSelectedIndex:function(){var b=this.calendar.getDisplayDate(),a=b.getFullYear(),d=Math.floor(a/10)*10-1,c=Math.floor(a/100)*100-10;switch(this.gridType){case"month":return b.getMonth();case"year":return a-d;case"decade":return Math.floor((a-c)/10)}return 0},getTitle:function(){var d=this.calendar.getDisplayDate(),a=d.getFullYear(),c=Math.floor(a/10)*10-1,b=Math.floor(a/100)*100-10;switch(this.gridType){case"month":return a.toString();case"year":return c+1+" - "+(c+10);case"decade":return b+10+" - "+(b+109)}return""},getHtml:function(e,k){if(e===undefined)e=this.calendar.getDisplayDate();else if(typeof e==="boolean"){k=e;e=this.calendar.getDisplayDate()}k=!!k;var g=this.calendar.options,a=new d;g.showTitle&&!k&&a.write(this.calendar._getHeaderHtml(null,true,true));var p=3,s=4,o=100/p+"%";o="30%";a.writeBeginTag("table");a.writeAttribute("class","ui-datepicker-calendar wijmo-wijcalendar-mygrid");a.writeAttribute("role","grid");a.writeAttribute("onselectstart","return false;");a.writeTagRightChar();for(var i=e.getFullYear(),r=Math.floor(i/10)*10-1,q=Math.floor(i/100)*100-10,t=this.culture.calendar.months,m=0;m<p;m++){a.writeBeginTag("tr");a.writeAttribute("height",o);a.writeTagRightChar();for(var n=0;n<s;n++){var c=m*4+n,h=false,f=false,l="",b;switch(this.gridType){case"month":if(e.getMonth()===c)h=true;l=t.namesAbbr[c];f=e<g.minDate||e>g.maxDate;break;case"year":if(c===0||c===11)f=true;b=r+c;if(b<g.minDate.getFullYear()||b>g.maxDate.getFullYear())f=true;else h=i===b;l=b.toString();break;case"decade":if(c===0||c===11)f=true;b=q+c*10;if(b<g.minDate.getFullYear()||b>g.maxDate.getFullYear())f=true;else h=i>=b&&i<b+10;l=b.toString()+"-<br/>"+(b+9).toString()}if(h)this.selectedIndex=c;var j="ui-datepicker-week-day";if(f)j=j+" ui-datepicker-other-month ui-priority-secondary ui-datepicker-unselectable";else if(!g.disabled)j+=" wijmo-wijcalendar-day-selectable";j+=" ui-state-default"+(f?" ui-state-disabled":"")+(h?" ui-state-active ui-state-highlight":"");a.writeBeginTag("td");a.writeAttribute("class",j);a.writeAttribute("role","gridcell");a.writeAttribute("index",c.toString());a.writeAttribute("other",f.toString());a.writeTagRightChar();a.writeBeginTag("a");a.writeAttribute("href","#");a.writeTagRightChar();a.write(l);a.writeEndTag("a");a.writeEndTag("td")}a.writeEndTag("tr")}a.writeEndTag("table");return a.toString()}}}if(b===undefined){var b={};b.addDays=function(a,c){var b=new Date(a.getFullYear(),a.getMonth(),a.getDate()+c);if(c)if(b.getDate()===a.getDate()){b=new Date(a.getFullYear(),a.getMonth(),a.getDate());b.setTime(b.getTime()+c*24*3600*1e3)}return b};b.addMonths=function(a,b){return new Date(a.getFullYear(),a.getMonth()+b,1)};b.addYears=function(c,a){return b.addMonths(c,a*12)};b.getDate=function(a){return new Date(a.getFullYear(),a.getMonth(),a.getDate())};b.getTicks=function(a){return a.valueOf()};b.isSameDate=function(a,b){return a.getFullYear()===b.getFullYear()&&a.getMonth()===b.getMonth()&&a.getDate()===b.getDate()};b.isSameMonth=function(a,b){return a.getFullYear()===b.getFullYear()&&a.getMonth()===b.getMonth()};b.getDaysInMonth=function(a){return(new Date(a.getFullYear(),a.getMonth()+1,0)).getDate()};b.getWeekStartDate=function(a,b){return new Date(a.getFullYear(),a.getMonth(),a.getDate()-(a.getDay()-b+7)%7)};b.getDayOfYear=function(a){var d=new Date(a.getFullYear(),0,1),c=b.getTicks(a)-b.getTicks(d),e=c/(24*60*60*1e3);return Math.floor(e)+1};b.getFirstDayWeekOfYear=function(c,e){var d=b.getDayOfYear(c)-1,a=c.getDay()-d%7;a=(a-e+14)%7;var f=(d+a)/7;return Math.floor(f)+1};b.getDayOfWeek=function(b,a){return(b.getDay()-a+7)%7};b.getWeekOfYearFullDays=function(e,g,c,f){var d=b.getDayOfYear(e)-1,a=b.getDayOfWeek(e,c)-d%7;a=(c-a+14)%7;if(a&&a>=f)a-=7;a=d-a;return a>=0?Math.floor(a/7)+1:b.getWeekOfYearFullDays(b.addDays(e,-(d+1)),g,c,f)};b.getWeekOfYear=function(c,d,a){switch(d){case"firstDay":return b.getFirstDayWeekOfYear(c,a);case"firstFullWeek":return b.getWeekOfYearFullDays(c,d,a,7);case"firstFourDayWeek":return b.getWeekOfYearFullDays(c,d,a,4)}return b.getFirstDayWeekOfYear(c,a)};b.getDateToken=function(a){return a.getFullYear()+"_"+a.getMonth()+"_"+a.getDate()}}if(d===undefined){var d=function(){this._html=[]};d.prototype={_html:null,writeTagLeftChar:function(){this._html[this._html.length]="<"},writeTagRightChar:function(){this._html[this._html.length]=">"},write:function(a){this._html[this._html.length]=" "+a+" "},writeBeginTag:function(a){this._html[this._html.length]="<"+a},writeEndTag:function(a){this._html[this._html.length]="</"+a+">"},writeFullBeginTag:function(a){this._html[this._html.length]="<"+a+">"},writeSelfClosingTagEnd:function(){this._html[this._html.length]="/>"},writeAttribute:function(b,a){if(a===undefined||a===null)return;this._html[this._html.length]=" "+b+'="';this._html[this._html.length]=a;this._html[this._html.length]='"'},clean:function(){this._html=[]},toString:function(){return this._html.join("")}}}})(jQuery); | |
|
28 | (function(a){"use strict";a.widget("wijmo.wijexpander",{options:{allowExpand:true,animated:"slide",contentUrl:"",expanded:true,expandDirection:"bottom"},_setOption:function(c,b){switch(c){case"contentUrl":if(b)this.element.find("> .ui-widget-content").wijContent(b);else this.element.find("> .ui-widget-content").html("");break;case"disabled":if(b)this.element.addClass("ui-state-disabled");else this.element.removeClass("ui-state-disabled");break;case"expandDirection":this._onDirectionChange(b,true,this.options.expandDirection);break;case"expanded":if(b)this.expand();else this.collapse();return}a.Widget.prototype._setOption.apply(this,arguments)},_create:function(){var d=this.element.children(),b,c;this.element.addClass("wijmo-wijexpander ui-expander ui-widget ui-helper-reset ui-expander-icons");b=a(d[0]);c=a(d[1]);if(this.options.expandDirection==="left"||this.options.expandDirection==="top"){b.remove();b.insertAfter(c)}b.addClass("ui-expander-header ui-helper-reset");b.attr("role","tab");c.attr("role","tabpanel");b.find("> a").length===0&&b.wrapInner('<a href="#"></a>');b.find("> .ui-icon").length===0&&a('<span class="ui-icon"></span>').insertBefore(a("> a",b)[0]);c.addClass("ui-expander-content ui-helper-reset ui-widget-content")},_init:function(){var b=this.options;this._onDirectionChange(b.expandDirection,false);b.contentUrl&&a(".ui-widget-content",this.element).wijContent(this.options.contentUrl);if(!b.expanded){this.element.find("> .ui-widget-content").hide();this.element.find("> .ui-expander-header").addClass("ui-state-default ui-corner-all").attr({"aria-expanded":"false",tabIndex:-1}).find("> .ui-icon").addClass(this._triangleIconClosed)}else{this.element.find("> .ui-expander-header").addClass("ui-state-active").attr({"aria-expanded":"true",tabIndex:0}).addClass(this._headerCornerOpened).find("> .ui-icon").addClass(this._triangleIconOpened);this.element.find("> .ui-widget-content").addClass("ui-expander-content-active").addClass(this._contentCornerOpened)}b.disabled&&this.element.addClass("ui-state-disabled");__wijReadOptionEvents(["beforeexpand","beforecollapse","afterexpand","aftercollapse"],this);this._bindLiveEvents()},destroy:function(){this._unbindLiveEvents();this.element.removeClass("wijmo-wijexpander ui-expander ui-widget ui-helper-reset ui-expander-icons");a.Widget.prototype.destroy.apply(this,arguments)},_bindLiveEvents:function(){a(".ui-expander-header",this.element[0]).live("click.wijexpander",jQuery.proxy(this._onHeaderClick,this)).live("mouseenter.wijexpander",function(){a(this).addClass("ui-state-hover")}).live("mouseleave.wijexpander",function(){a(this).removeClass("ui-state-hover")}).live("focus.wijexpander",function(){a(this).addClass("ui-state-focus")}).live("blur.wijexpander",function(){a(this).removeClass("ui-state-focus")})},_unbindLiveEvents:function(){a(".ui-expander-header",this.element[0]).die(".wijexpander")},_onDirectionChange:function(l,g,j){var b,i,h,f,e,k,d,c;j&&j!==l&&this.element.removeClass("ui-expander-"+j);if(g){i=this.element.find(".ui-expander-header."+this._headerCornerOpened);i.removeClass(this._headerCornerOpened);h=this.element.find(".ui-widget-content."+this._contentCornerOpened);h.removeClass(this._contentCornerOpened);f=this.element.find("."+this._triangleIconOpened);e=this.element.find("."+this._triangleIconClosed);f.removeClass(this._triangleIconOpened);e.removeClass(this._triangleIconClosed)}switch(l){case"top":this._headerCornerOpened="ui-corner-bottom";this._contentCornerOpened="ui-corner-top";this._triangleIconOpened="ui-icon-triangle-1-n";this._triangleIconClosed="ui-icon-triangle-1-e";b=true;this.element.removeClass("ui-helper-horizontal");this.element.addClass("ui-expander-top");break;case"right":this._headerCornerOpened="ui-corner-left";this._contentCornerOpened="ui-corner-right";this._triangleIconOpened="ui-icon-triangle-1-e";this._triangleIconClosed="ui-icon-triangle-1-s";b=false;this.element.addClass("ui-helper-horizontal");this.element.addClass("ui-expander-right");break;case"left":this._headerCornerOpened="ui-corner-right";this._contentCornerOpened="ui-corner-left";this._triangleIconOpened="ui-icon-triangle-1-w";this._triangleIconClosed="ui-icon-triangle-1-s";b=true;this.element.addClass("ui-helper-horizontal");this.element.addClass("ui-expander-left");break;default:this._headerCornerOpened="ui-corner-top";this._contentCornerOpened="ui-corner-bottom";this._triangleIconOpened="ui-icon-triangle-1-s";this._triangleIconClosed="ui-icon-triangle-1-e";b=false;this.element.removeClass("ui-helper-horizontal");this.element.addClass("ui-expander-bottom")}k=this.element.data("rightToLeft");this.element.data("rightToLeft",b);if(g){f.addClass(this._triangleIconOpened);e.addClass(this._triangleIconClosed);i.addClass(this._headerCornerOpened);h.addClass(this._contentCornerOpened)}g&&b!==k&&this.element.children(".ui-expander-header").each(function(){c=a(this);if(b){d=c.next(".ui-expander-content");c.remove();c.insertAfter(d)}else{d=c.prev(".ui-expander-content");c.remove();c.insertBefore(d)}})},collapse:function(){var d=this.options,f,c,g,b,e;if(!d.allowExpand)return;if(this.element.hasClass("ui-state-disabled"))return false;e=jQuery.Event("beforecollapse");this.element.trigger(e);if(e.isDefaultPrevented())return false;if(d.animated){f={expand:false,content:this.element.find("> .ui-widget-content"),complete:jQuery.proxy(function(){this.element.find("> .ui-widget-content").removeClass("ui-expander-content-active");this.element.trigger("aftercollapse");this.element.find("> .ui-widget-content").css("display","")},this),horizontal:this.element.hasClass("ui-helper-horizontal")};c=a.wijmo.wijexpander.animations;g=d.duration;b=d.animated;if(b&&!c[b]&&!a.easing[b])b="slide";if(!c[b])c[b]=function(a){this.slide(a,{easing:b,duration:g||700})};c[b](f)}else{this.element.find("> .ui-widget-content").hide();a(this.parentNode).trigger("aftercollapse")}this.element.find("> .ui-expander-header").removeClass("ui-state-active").removeClass(this._headerCornerOpened).attr({"aria-expanded":"false",tabIndex:-1}).addClass("ui-state-default ui-corner-all").find("> .ui-icon").removeClass(this._triangleIconOpened).addClass(this._triangleIconClosed);this.options.expanded=false;return true},expand:function(){var d=this.options,e,f,c,g,b;if(!d.allowExpand)return;if(this.element.hasClass("ui-state-disabled"))return false;e=jQuery.Event("beforeexpand");this.element.trigger(e);if(e.isDefaultPrevented())return false;if(d.animated){f={expand:true,content:this.element.find("> .ui-widget-content"),complete:jQuery.proxy(function(){this.element.find("> .ui-widget-content").addClass("ui-expander-content-active").addClass(this._contentCornerOpened);this.element.trigger("afterexpand");this.element.find("> .ui-widget-content").css("display","")},this),horizontal:this.element.hasClass("ui-helper-horizontal")};c=a.wijmo.wijexpander.animations;g=d.duration;b=d.animated;if(b&&!c[b]&&!a.easing[b])b="slide";if(!c[b])c[b]=function(a){this.slide(a,{easing:b,duration:g||700})};c[b](f)}else{this.element.find("> .ui-widget-content").show();a(this.parentNode).trigger("afterexpand")}this.element.find("> .ui-expander-header").removeClass("ui-state-default ui-corner-all").addClass("ui-state-active").addClass(this._headerCornerOpened).attr({"aria-expanded":"true",tabIndex:0}).find("> .ui-icon").removeClass(this._triangleIconClosed).addClass(this._triangleIconOpened);this.options.expanded=true;return true},_onHeaderClick:function(){this.option("expanded",!this.options.expanded);return false}});a.extend(a.wijmo.wijexpander,{animations:{slide:function(b,c){b=a.extend({easing:"swing",duration:300},b,c);if(b.expand)b.content.stop(true,true).animate(b.horizontal?{width:"show",opacity:"show"}:{height:"show",opacity:"show"},b);else b.content.stop(true,true).animate(b.horizontal?{width:"hide",opacity:"hide"}:{height:"hide",opacity:"hide"},b)}}})})(jQuery); | |
|
29 | (function(a){"use strict";var b="wijmo-wijmenu-item";a.widget("wijmo.wijmenu",{options:{trigger:"",triggerEvent:"click",position:{},animation:{animated:"slide",duration:400,easing:null},showAnimation:{},hideAnimation:{animated:"fade",duration:400,easing:null},slidingAnimation:{duration:400,easing:null},mode:"flyout",superPanelOptions:null,checkable:false,orientation:"horizontal",maxHeight:200,backLink:true,backLinkText:"Back",topLinkText:"All",crumbDefaultText:"Choose an option",select:null,focus:null,blur:null,showing:null},_preventEvent:function(a){a.preventDefault();a.stopImmediatePropagation()},_create:function(){var b=this,g=b.options,d,f,e=b.element,c=a.ui.keyCode;e.hide();b.cssPre="wijmo-wijmenu";b.nowIndex=9999;b.activeItem=null;b.refresh();e.attr("tabIndex",0);e.bind("keydown.wijmenu",function(e){if(g.disabled)return;var h=b.activeItem;switch(e.keyCode){case c.PAGE_UP:b.previousPage(e);b._preventEvent(e);break;case c.PAGE_DOWN:b.nextPage(e);b._preventEvent(e);break;case c.UP:b.previous(e);b._preventEvent(e);break;case c.DOWN:b.next(e);b._preventEvent(e);break;case c.RIGHT:if(h){d=a(">ul",h);d.length>0&&d.is(":visible")&&b.activate(e,d.children(":first"))}break;case c.LEFT:d=h.parent();f=d.parent();f.is("li")&&b.activate(e,f);break;case c.ENTER:b.select();if(h.length>0)if(g.mode==="flyout"&&h.has("ul").length>0)b._showFlyoutSubmenu(e,h,h.find("ul:first"));else h.children(":first").trigger("click");b._preventEvent(e)}})},_destroy:function(){var a=this,b=a.options;a[b.mode==="flyout"?"_killFlyout":"_killDrilldown"]();a._killmenuItems();a._killtrigger();if(a.element.is("ul"))a.element.unwrap().unwrap();else a.element.unwrap();a.element.removeData("domObject").removeData("topmenu").removeData("firstLeftValue")},destroy:function(){this._destroy();a.Widget.prototype.destroy.apply(this)},activate:function(d,b){var a=this,e=a.domObject.scrollcontainer,c=b.eq(0);a.deactivate(d);a.options.mode==="sliding"&&e.wijsuperpanel("scrollChildIntoView",b);c.children(":first").addClass("ui-state-focus").attr("id","ui-active-menuitem").end();a.activeItem=c;a._trigger("focus",d,{item:b})},deactivate:function(d){var c=this,b=c.activeItem;if(!b)return;if(!d||d.keyCode!==a.ui.keyCode.RIGHT)if(b.length>0)c.options.mode==="flyout"&&b.has("ul").length>0&&c._hideCurrentSubmenu(b);b.children(":first").removeClass("ui-state-focus").removeAttr("id");c._trigger("blur");c.activeItem=null},next:function(a){this._move("next","."+b+":first",a)},previous:function(a){this._move("prev","."+b+":last",a)},first:function(){var a=this.activeItem;return a&&!a.prevAll("."+b).length},last:function(){var a=this.activeItem;return a&&!a.nextAll("."+b).length},nextPage:function(f){var b=this,c=b.activeItem,d=c.parent(),h,g,e;if(b.options.mode==="sliding"&&b._hasScroll()){if(!c||b.last()){b.activate(f,d.children(":first"));return}h=c.offset().top;g=b.options.maxHeight;e=d.children("li").filter(function(){var b=a(this),d=g-(b.offset().top-h+b.height()),c=b.height();return d<c&&d>-c});if(!e.length)e=d.children(":last");b.activate(f,e.last())}else b.activate(f,d.children(!c||b.last()?":first":":last"))},previousPage:function(f){var b=this,c=b.activeItem,d=c.parent(),h,g,e;if(b.options.mode==="sliding"&&b._hasScroll()){if(!c||b.first()){b.activate(f,d.children(":last"));return}h=c.offset().top;g=b.options.maxHeight;e=d.children("li").filter(function(){var b=a(this),d=b.offset().top-h+g-b.height(),c=b.height();return d<c&&d>-c});if(!e.length)e=d.children(":first");b.activate(f,e.first())}else b.activate(f,d.children(!c||b.first()?":last":":first"))},select:function(b){var a=this;a._trigger("select",b,{item:a.activeItem});a._setCheckable()},_setCheckable:function(){this.options.checkable&&this.activeItem.children(":first").toggleClass("ui-state-active")},_setOption:function(a,b){this["_set_"+a]&&this["_set_"+a](b);this.options[a]=b},_set_mode:function(a){this._destroy();this.options.mode=a;this.refresh()},_set_orientation:function(d){var b=this,c=b.domObject.menucontainer;c.removeClass(b.cssPre+"-vertical "+b.cssPre+"-horizontal");if(b.options.mode==="flyout"){c.addClass(b.cssPre+"-"+d);a(">li:has(ul)",b.rootMenu).each(function(){var b="ui-icon-triangle-1-",e=d==="horizontal"?"e":"s",c=d==="horizontal"?"s":"e";a(">.wijmo-wijmenu-link",this).find("."+b+e).removeClass(b+e+" "+b+c).addClass(b+c)})}else c.addClass(b.cssPre+"-vertical")},_getTriggerEle:function(){return a(this.options.trigger).filter(function(){return a(this).closest(".wijmo-wijmenu").length===0})},_set_triggerEvent:function(d){var a=this,c=a.options,b=a._getTriggerEle();a._killtrigger();c.triggerEvent=d;b.length>0&&a._initTrigger(b);if(c.mode==="flyout"){a._killFlyout();a._flyout()}},_set_trigger:function(d){var a=this,c=a.options,b=a._getTriggerEle();a._killtrigger();c.trigger=d;b.length>0&&a._initTrigger(b);if(c.mode==="flyout"){a._killFlyout();a._flyout()}},_initTrigger:function(b){var g=this.options,f=g.triggerEvent,c=this,d=c.domObject.menucontainer,e=".wijmenu";if(b.is("iframe"))b=a(b.get(0).contentWindow.document);switch(f){case"click":b.bind(f+e,function(a){g.mode!=="popup"&&c._displaySubmenu(a,b,d)});break;case"mouseenter":b.bind(f+e,function(a){c._displaySubmenu(a,b,d)});break;case"dblclick":b.bind(f+e,function(a){c._displaySubmenu(a,b,d)});break;case"rtclick":b.bind("contextmenu"+e,function(a){c._displaySubmenu(a,b,d);a.preventDefault()})}},_killtrigger:function(){var c=this.options,b;if(c.trigger!==""){b=a(c.trigger);b&&b.length>0&&b.unbind(".wijmenu")}},_move:function(h,g,d){var c=this.activeItem,e,f;if(!c){this.activate(d,this.rootMenu.children(g));return}e=a(c)[h+"All"]("."+b).eq(0);f=c.parent();if(e.length)this.activate(d,e);else this.activate(d,f.children(g))},refresh:function(){var c=this,g=c.element,d="wijmo-wijmenu",e=c.options,h,f,m,i,l,n=d+"-separator ui-state-default ui-corner-all",o="ui-widget-header ui-corner-all",j="ui-widget "+b+" ui-state-default ui-corner-all",k=d+"-link ui-corner-all";c.domObject&&c._destroy();if(g.is("ul")){c.rootMenu=g;h=g.wrap("<div></div>").parent();f=h.wrap("<div></div>").parent()}else if(g.is("div")){c.rootMenu=a("ul:first",g);h=g;f=g.wrap("<div></div>").parent()}h.addClass("scrollcontainer checkablesupport");f.addClass("ui-widget ui-widget-header "+d+" ui-corner-all ui-helper-clearfix").attr("aria-activedescendant","ui-active-menuitem");e.orientation==="horizontal"&&e.mode==="flyout"&&f.addClass(d+"-"+e.orientation);m={scrollcontainer:h,menucontainer:f};c.domObject=m;c.rootMenu.data("topmenu",true);!c.rootMenu.hasClass(d+"-list ui-helper-reset")&&c.rootMenu.addClass(d+"-list ui-helper-reset");a("li",c.rootMenu).each(function(i,h){var g=a(">ul:first",h).length>0,e=a(h),f,c=a(">:first",e);if(c.length===0)e.addClass(n);else{e.attr("role","menuitem");if(c.is("a")){c.bind("mouseenter.wijmenuitem",function(){a(this).addClass("ui-state-hover")}).bind("mouseleave.wijmenuitem",function(){a(this).removeClass("ui-state-hover")});if(!e.hasClass(b)){e.addClass(j);c.addClass(k);c.wrapInner("<span>").children("span").addClass(d+"-text");if(g){f=a("<span>").addClass("ui-icon ui-icon-triangle-1-e");c.append(f)}}}else if(c.is("h1,h2,h3,h4,h5"))e.addClass(o);else{e.addClass(j);c.addClass(k);if(g){f=a("<span>").addClass("ui-icon ui-icon-triangle-1-e");c.append(f)}}}});g.show();a("ul",c.rootMenu).each(function(){a(this).addClass(d+"-list ui-widget-content ui-corner-all ui-helper-clearfix "+d+"-child ui-helper-reset");a(this).hide()});this[e.mode==="flyout"?"_flyout":"_drilldown"]();if(e.trigger!==""){i=c._getTriggerEle();if(i.length>0){f.hide();c._initTrigger(i)}}a(document).bind("click.wijmenudoc",function(b){if(a(b.target).parent().is(".wijmo-wijmenu-all-lists"))return;var d=a(b.target).closest(".wijmo-wijmenu");if(d.length===0){if(e.mode==="sliding"){l=a(".wijmo-wijmenu-breadcrumb",f);if(e.trigger==="")return;c._resetDrilldownMenu(l)}else if(e.mode==="flyout"&&e.triggerEvent!=="mouseenter"){c._hideAllMenus();return}i&&i.length>0&&c._hideSubmenu(f)}})},_showFlyoutSubmenu:function(f,d,e){var c=this,b=c.currentMenuList,a;if(b!==undefined)for(a=b.length;a>0;a--)if(b[a-1].get(0)===d.parent().get(0))break;else c._hideSubmenu(b[a-1]);c._displaySubmenu(f,d.find(".wijmo-wijmenu-link:eq(0)"),e)},_getItemTriggerEvent:function(d){var e=this,b=e.options,c="default",f;if(b.trigger!=="")if(d.is(b.trigger)||e.element.is(b.trigger))c=b.triggerEvent;else{d.parents(".wijmo-wijmenu-parent").each(function(e,d){if(a(d).is(b.trigger)){c=b.triggerEvent;return false}});if(c==="default"){f=e._getTriggerEle();if(f.length>0)c=b.triggerEvent}}d.data("triggerEvent",c);return c},_flyout:function(){var b=this,f=b.domObject.menucontainer,d=b.options,c="wijmo-wijmenu-link",g="ui-icon-triangle-1-e",h="ui-icon-triangle-1-s",e="wijmo-wijmenu-parent";f.attr("role","menu");if(d.orientation==="horizontal"){f.attr("role","menubar");b.rootMenu.children("li:has(ul)").each(function(){a(this).children("."+c).find("."+g).removeClass(g).addClass(h)})}f.find("li:has(ul)").each(function(){var k=a(this).find("ul"),g=".wijmenu",f=a(this).attr("aria-haspopup",true),l,j,m=b._getItemTriggerEvent(f),i,h;f.children("ul").attr("role","menu").attr("aria-activedescendant","ui-active-menuitem");if(m!=="default"&&d.triggerEvent!=="mouseenter"){f.removeClass(e).addClass(e);i=a(this).find("."+c+":eq(0)");h=i.next();switch(d.triggerEvent){case"click":i.bind("click"+g,function(a){b._showFlyoutSubmenu(a,f,h)});break;case"dblclick":i.bind("dblclick"+g,function(a){b._showFlyoutSubmenu(a,f,h)});break;case"rtclick":i.bind("contextmenu"+g,function(a){b._showFlyoutSubmenu(a,f,h);a.preventDefault()})}h.data("notClose",true)}else{f.removeClass(e).addClass(e);a(this).find("."+c+":eq(0)").bind("mouseenter.wijmenu",function(e){clearTimeout(j);var c=a(this).next(),d=a(this);l=setTimeout(function(){b._displaySubmenu(e,d,c)},400)}).bind("mouseleave"+g,function(){clearTimeout(l);var c=a(this).next();if(!c.is("ul"))c=c.children("ul:first");j=setTimeout(function(){b._hideSubmenu(c)},400)});a(this).find("ul ."+c+",ul >.ui-widget-header,ul >.wijmo-wijmenu-separator").bind("mouseenter"+g,function(){clearTimeout(j)}).bind("mouseleave"+g,function(){j=setTimeout(function(){for(var c=k.length-1;c>=0;c--)b._hideSubmenu(a(k[c]))},500)})}});f.find("."+c).bind("click.wijmenu",function(g){if(a(this).is("a")){if(a(this).parent().find("ul").length===0)b._hideAllMenus();else if(!(d.trigger!==""&&a(this).parent().data("triggerEvent")!=="default"&&d.triggerEvent!=="mouseenter"))b._hideAllMenus();else{var e=b.currentMenuList,f,c;if(e!==undefined){f=a(this).parent();if(f.has("ul").length===0)for(c=e.length;c>0;c--)if(e[c-1].get(0)===f.parent().get(0))break;else b._hideSubmenu(e[c-1])}}b.activate(g,a(this).parent())}b.select(g)}).bind("focusin",function(c){a(this).is("a")&&b.activate(c,a(this).parent())})},_hideAllMenus:function(){var b=this,f,e,c,d,g=b.rootMenu;d=g.find("ul");for(c=d.length-1;c>=0;c--)b._hideSubmenu(a(d[c]));if(b.options.trigger!==""){f=b.domObject.menucontainer;if(f.is(":animated"))return;e=b._getTriggerEle();if(e.length===0)return;b._hideSubmenu(b.domObject.menucontainer)}},hideAllMenus:function(){this._hideAllMenus()},_killFlyout:function(){var b=this.domObject.menucontainer.attr("role","");b.find("li").each(function(){a(this).removeClass("wijmo-wijmenu-parent").unbind(".wijmenu").children(":first").unbind(".wijmenu").attr("aria-haspopup","")})},_killmenuItems:function(){var c=this.rootMenu;c.removeClass("wijmo-wijmenu-list ui-helper-reset wijmo-wijmenu-content ui-helper-clearfix");c.find("li").each(function(){var c=a(this),d;c.removeClass("ui-widget "+b+" ui-state-default ui-corner-all wijmo-wijmenu-parent ui-widget-header wijmo-wijmenu-separator");d=c.children(".wijmo-wijmenu-link");d.removeClass("wijmo-wijmenu-link ui-corner-all ui-state-focus ui-state-hover ui-state-active").html(d.children(".wijmo-wijmenu-text").html()).unbind(".wijmenu .wijmenuitem");c.children("ul").removeClass("wijmo-wijmenu-list ui-widget-content ui-corner-all ui-helper-clearfix wijmo-wijmenu-child ui-helper-reset").attr("role","").attr("aria-activedescendant","").show().css({left:"",top:"",position:""}).attr("hidden","")});this.domObject.menucontainer.removeClass("");a(document).unbind("click.wijmenudoc")},_sroll:function(){var a=this.domObject.scrollcontainer,b=this.options.superPanelOptions||{};a.height(this.options.maxHeight);a.wijsuperpanel(b)},_hasScroll:function(){var a=this.domObject.scrollcontainer;return a.data("wijsuperpanel").vNeedScrollBar},_resetDrillChildMenu:function(a){a.removeClass("wijmo-wijmenu-scroll wijmo-wijmenu-current").height("auto")},_checkDrillMenuHeight:function(b,d,a){var e=this,c=5;d.height(b.height());a.wijsuperpanel("option","hScroller",{scrollValue:0});a.wijsuperpanel("option","vScroller",{scrollValue:0});a.wijsuperpanel("paintPanel");if(e._hasScroll()){if(b.prev().length>0)c=b.prev().css("padding-left").replace(/px/g,"");b.width(a.find(".wijmo-wijsuperpanel-contentwrapper:first").width()-c)}},_resetDrilldownMenu:function(h){var b=this,e=b.options,c=b.rootMenu,d=b.domObject.menucontainer,f=a('<li class="wijmo-wijmenu-breadcrumb-text">'+e.crumbDefaultText+"</li>"),g=c.wrap("<div>").parent();a(".wijmo-wijmenu-current",d).removeClass("wijmo-wijmenu-current");c.animate({left:0},e.showDuration,function(){a(this).find("ul").each(function(){a(this).hide();b._resetDrillChildMenu(a(this))});c.addClass("wijmo-wijmenu-current")});a(".wijmo-wijmenu-all-lists",d).find("span").remove();h.empty().append(f);a(".wijmo-wijmenu-footer",d).empty().hide();b._checkDrillMenuHeight(c,g,b.domObject.scrollcontainer)},_drilldown:function(){var b=this,c=b.rootMenu,h=c.wrap("<div>").parent().css("position","relative"),d=b.domObject.menucontainer.attr("role","menu"),g=b.domObject.scrollcontainer,e=b.options,i,f=a('<ul class="wijmo-wijmenu-breadcrumb ui-state-default ui-corner-all ui-helper-clearfix"></ul>'),l=a('<li class="wijmo-wijmenu-breadcrumb-text">'+e.crumbDefaultText+"</li>"),o=e.backLink?e.backLinkText:e.topLinkText,m=e.backLink?"wijmo-wijmenu-prev-list":"wijmo-wijmenu-all-lists",k=e.backLink?"ui-state-default ui-corner-all":"",n=e.backLink?'<span class="ui-icon ui-icon-triangle-1-w"></span>':"",j=a('<li class="'+m+'"><a href="#" class="'+k+'">'+n+o+"</a></li>");d.addClass("wijmo-wijmenu-ipod wijmo-wijmenu-container");if(e.backLink)f.addClass("wijmo-wijmenu-footer").appendTo(d).hide();else f.addClass("wijmo-wijmenu-header").prependTo(d);!e.backLink&&f.append(l);c.addClass("wijmo-wijmenu-content wijmo-wijmenu-current ui-widget-content ui-helper-clearfix").css({width:d.width()}).find("ul").css({width:d.width(),left:d.width()}).attr("role","menu").attr("aria-activedescendant","ui-active-menuitem").addClass("ui-widget-content");h.height(b.rootMenu.height());b._sroll();if(b._hasScroll()){i=5;if(c.children(":first").children(":first").length>0)i=c.children(":first").children(":first").css("padding-left").replace(/px/g,"");c.width(g.find(".wijmo-wijsuperpanel-contentwrapper:first").width()-i)}b.element.data("firstLeftValue",parseFloat(c.css("left")));a("li>.wijmo-wijmenu-link",c).each(function(){if(a(this).next().is("ul"))a(this).click(function(r){var o=a(this).next(),p=a(this).parents("ul:eq(0)"),m=p.data("topmenu")?0:parseFloat(c.css("left")),n,k,q=Math.round(m-parseFloat(d.width())),i=a(".wijmo-wijmenu-footer",d),l=function(f){var j=f,e=a(".wijmo-wijmenu-current",d),c;if(e.get(0)===b.rootMenu.get(0))return;c=e.parents("ul:eq(0)");e.hide().attr("aria-expanded","false");b._resetDrillChildMenu(e);b._checkDrillMenuHeight(c,h,g);c.addClass("wijmo-wijmenu-current").attr("aria-expanded","true");if(c.hasClass("wijmo-wijmenu-content")){j.remove();i.hide()}};b._resetDrillChildMenu(p);b._checkDrillMenuHeight(o,h,g);b._slidingAnimation(c,q,null);o.show().addClass("wijmo-wijmenu-current").attr("aria-expanded","true");if(e.backLink){if(i.find("a").size()===0){i.show();a('<a href="#"><span class="ui-icon ui-icon-triangle-1-w"></span> <span>'+e.backLinkText+"</span></a>").appendTo(i).click(function(){var f=a(this),e;c.stop(true,true);e=parseInt(c.css("left"),10)+parseInt(d.width(),10);if(e>m)return;b._slidingAnimation(c,e,function(){l(f)})})}}else{if(f.find("li").size()===1){f.empty().append(j);j.find("a").click(function(){b._resetDrilldownMenu(f)})}a(".wijmo-wijmenu-current-crumb",d).removeClass("wijmo-wijmenu-current-crumb");n=a(this).find("span:eq(0)").text();k=a('<li class="wijmo-wijmenu-current-crumb"><a href="#" class="wijmo-wijmenu-crumb">'+n+"</a></li>");k.appendTo(f).find("a").click(function(){if(!a(this).parent().is(".wijmo-wijmenu-current-crumb")){var d=-(a(".wijmo-wijmenu-current").parents("ul").size()-1)*180;b._slidingAnimation(c,d,function(){l()});a(this).parent().addClass("wijmo-wijmenu-current-crumb").find("span").remove();a(this).parent().nextAll().remove()}});k.prev().append(' <span class="ui-icon ui-icon-carat-1-e"></span>')}a(this).attr("href")==="#"&&r.preventDefault()});else a(this).click(function(c){b.activate(c,a(this).parent());b.select(c);if(e.trigger){var g=b._getTriggerEle();if(g.length){b._hideSubmenu(d);b._resetDrilldownMenu(f)}}a(this).attr("href")==="#"&&c.preventDefault()})})},_slidingAnimation:function(d,c,b){var a=this.options.slidingAnimation;if(a&&!a.disabled)d.stop(true,true).animate({left:c},a.duration,a.easing,b);else{d.css("left",c);b.call(this)}},_killDrilldown:function(){var c=this.rootMenu,b=this.domObject,e={width:"",height:""},d;c.css(e).removeClass("ui-widget-content");b.scrollcontainer.css(e);d=a(".wijmo-wijsuperpanel-statecontainer",b.scrollcontainer);b.scrollcontainer.append(c);d.remove();b.menucontainer.removeClass("wijmo-wijmenu-ipod wijmo-wijmenu-container");a(".wijmo-wijmenu-current",b.menucontainer).removeClass("wijmo-wijmenu-current");a(".wijmo-wijmenu-breadcrumb",b.menucontainer).remove();c.find("li").each(function(){var b=a(this).children(":first");b.unbind("click")});a("ul",c).css({left:"",width:""});c.css("left","")},_getItemByValue:function(c){var b=this.rootMenu.find("a.wijmo-wijmenu-link").filter(function(){return a(this).text()===c});return b.length>0?b.eq(0).parent():null},_displaySubmenu:function(j,f,b){var c=this,d=c.options,g,e,h,i=a.wijmo.wijmenu.animations;f.is("a.wijmo-wijmenu-link")&&f.addClass("ui-state-active");b.show();c._setPosition(f,b);c.nowIndex++;c._setZindex(b,c.nowIndex);b.hide();c._trigger("showing",j,b);if(a.fn.wijshow){g={context:b,show:true};e="left";if(d.orientation==="horizontal")if(b.parent().closest("ul").get(0)===this.rootMenu.get(0))e="up";h=a.extend({},{option:{direction:e}},d.animation,d.showAnimation);b.wijshow(h,i,g,null,function(){var c=a.browser;if(c.msie&&c.version==="9.0"){b.wrap("<div></div>");b.unwrap()}else c.msie&&c.version==="6.0"&&b.css("overflow","");b.attr("aria-hidden",false)})}else b.show().attr("aria-hidden",false);c._isClickToOpen=d.triggerEvent==="click";if(!b.is(".wijmo-wijmenu")){if(c.currentMenuList===undefined)c.currentMenuList=[];c.currentMenuList.push(b)}},_hideCurrentSubmenu:function(b){var c=this;b.find("ul").each(function(){!a(this).data("notClose")&&c._hideSubmenu(a(this))})},_hideSubmenu:function(b){var d=this,g=d.options,h=a.wijmo.wijmenu.animations,e,c,f;b.prev().is(".wijmo-wijmenu-link")&&b.prev().removeClass("ui-state-active");if(a.fn.wijhide){e={context:b,show:false};f=a.extend({},g.animation,g.hideAnimation);b.wijhide(f,h,e,null,function(){d._setZindex(b);b.attr("aria-hidden",true)})}else{b.hide().attr("aria-hidden",true);d._setZindex(b)}this.element.data("shown",false);c=this.currentMenuList;if(c){c=a.map(c,function(a){return a&&a.get(0)===b.get(0)?null:a});this.currentMenuList=a.makeArray(c)}},_setZindex:function(c,e){var f=this.rootMenu,d=this.domObject,b;if(!d)return;b=d.menucontainer;if(c.get(0)===b.get(0))return;if(e){c.parent().css("z-index",10);c.css("z-index",e);b.css("z-index")===0&&b.css("z-index",9950)}else{c.css("z-index","");c.parent().css("z-index","");a.browser.msie&&a.browser.version<8&&a("ul:visible",f).length===0&&b.css("z-index","")}},_setPosition:function(c,b){b.css({left:"0",top:"0",position:"absolute"});var d=this._getPosition(c),e={of:c};b.position(a.extend(e,d))},_getPosition:function(c){var d=this.options,b={my:"left top",at:"right top"};if(d.orientation==="horizontal")if(c.closest("ul").get(0)===this.rootMenu.get(0))b={my:"left top",at:"left bottom"};if(!c.is(".wijmo-wijmenu-link"))b={my:"left top",at:"left bottom"};b=a.extend(b,d.position);return b}});a.extend(a.wijmo.wijmenu,{animations:{slide:function(b,c){b=a.extend({duration:400,easing:"swing"},b,c);if(b.show)b.context.stop(true,true).animate({height:"show"},b).attr("aria-hidden",false);else b.context.stop(true,true).animate({height:"hide"},b).attr("aria-hidden",true)}}})})(jQuery); | |
|
30 | (function(a){"use strict";var e=0,d=0;function c(){return++e}function b(){return++d}a.widget("wijmo.wijtabs",{options:{alignment:"top",sortable:false,scrollable:false,ajaxOptions:null,cache:false,cookie:null,collapsible:false,hideOption:null,showOption:null,disabled:[],event:"click",idPrefix:"ui-tabs-",panelTemplate:"<div></div>",spinner:"<em>Loading…</em>",tabTemplate:'<li><a href="#{href}"><span>#{label}</span></a></li>',add:null,remove:null,select:null,show:null,load:null,disable:null,enable:null},_create:function(){this._tabify(true)},_setOption:function(c,b){a.Widget.prototype._setOption.apply(this,arguments);switch(c){case"selected":if(this.options.collapsible&&b==this.options.selected)return;this.select(b);break;case"alignment":this.destroy();this._tabify(true);break;default:this._tabify()}},_initScroller:function(){var c=a.inArray(this._getAlignment(),["top","bottom"])!=-1;if(!c)return;var b=0;this.lis.each(function(){b+=a(this).outerWidth(true)});if(!!this.options.scrollable&&this.element.innerWidth()<b){if(this.scrollWrap===undefined){this.list.wrap("<div class='scrollWrap'></div>");this.scrollWrap=this.list.parent();a.effects.save(this.list,["width","height","overflow"])}this.list.width(b+2);this.scrollWrap.height(this.list.outerHeight(true));this.scrollWrap.wijsuperpanel({allowResize:false,hScroller:{scrollMode:"edge"},vScroller:{scrollBarVisibility:"hidden"}})}else this._removeScroller()},_removeScroller:function(){if(this.scrollWrap){this.scrollWrap.wijsuperpanel("destroy").replaceWith(this.scrollWrap.contents());this.scrollWrap=undefined;a.effects.restore(this.list,["width","height","overflow"])}},_tabId:function(a){return a.title&&a.title.replace(/\s/g,"_").replace(/[^A-Za-z0-9\-_:\.]/g,"")||this.options.idPrefix+c()},_sanitizeSelector:function(a){return a.replace(/:/g,"\\:")},_cookie:function(){var c=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+b());return a.cookie.apply(null,[c].concat(a.makeArray(arguments)))},_ui:function(a,b){return{tab:a,panel:b,index:this.anchors.index(a)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var b=a(this);b.html(b.data("label.tabs")).removeData("label.tabs")})},_getAlignment:function(b){b=b===undefined?true:b;var a=this.options.alignment||"top";if(b)return a;switch(a){case"top":a="bottom";break;case"bottom":a="top";break;case"left":a="right";break;case"right":a="left"}return a},_saveLayout:function(){var b=["width","height","overflow"];a.effects.save(this.element,b);a.effects.save(this.list,b);a.effects.save(this.element.find(".wijmo-wijtabs-content"),b);this.list.width(this.list.width());$hide=this.panels.filter(":not(.ui-tabs-hide)");this.element.data("panel.width",$hide.width());this.element.data("panel.outerWidth",$hide.outerWidth(true))},_restoreLayout:function(){var b=["width","height","overflow"];a.effects.restore(this.element,b);a.effects.restore(this.list,b);a.effects.restore(this.element.find(".wijmo-wijtabs-content"),b)},_hideContent:function(){var a=this.element.find(".wijmo-wijtabs-content");if(a.length){this._saveLayout();a.addClass("ui-tabs-hide").attr("aria-hidden",true);this.element.width(this.list.outerWidth(true))}},_showContent:function(){var a=this.element.find(".wijmo-wijtabs-content");if(a.length){this._restoreLayout();a.removeClass("ui-tabs-hide").attr("aria-hidden",false)}},_blindPanel:function(b,c){var i=this.options,h=b.parent(".wijmo-wijtabs-content");if(!h.length)return;this.list.width(this.list.width());var j=["position","top","left","width"];a.effects.save(b,j);b.show();if(c=="show"){b.removeClass("ui-tabs-hide").attr("aria-hidden",false);b.width(this.element.data("panel.width"))}else b.width(b.width());var e=c=="show"?i.showOption:i.hideOption,f=a.effects.createWrapper(b).css({overflow:"hidden"});c=="show"&&f.css(a.extend({width:0},e.fade?{opacity:0}:{}));var k=a.extend({width:c=="show"?this.element.data("panel.outerWidth"):0},e.fade?{opacity:c=="show"?1:0}:{}),d=this,g=this.list.outerWidth(true);f.animate(k,{duration:e.duration,step:function(){var a=f.outerWidth(true);d.element.width(g+a);h.width(Math.max(0,d.element.innerWidth()-g-6))},complete:function(){if(c=="hide"){d.lis.removeClass("ui-tabs-selected ui-state-active").attr("aria-selected",false);b.addClass("ui-tabs-hide").attr("aria-hidden",true)}else b.css("width","");a.effects.removeWrapper(b);c=="show"&&d._restoreLayout();d._resetStyle(b);b.dequeue();d.element.dequeue("tabs")}})},_resetStyle:function(b){b.css({display:""});!a.support.opacity&&b[0].style.removeAttribute("filter")},_normalizeBlindOption:function(a){if(a.blind===undefined)a.blind=false;if(a.fade===undefined)a.fade=false;if(a.duration===undefined)a.duration=200;if(typeof a.duration=="string")try{a.duration=parseInt(a.duration,10)}catch(b){a.duration=200}},_tabify:function(n){this.list=this.element.find("ol,ul").eq(0);this.lis=a("li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return a("a",this)[0]});this.panels=a([]);var c=this,b=this.options,m=/^#.+/;this.anchors.each(function(j,e){var d=a(e).attr("href"),g=d.split("#")[0],i;if(g&&(g===location.toString().split("#")[0]||(i=a("base")[0])&&g===i.href)){d=e.hash;e.href=d}if(m.test(d))c.panels=c.panels.add(c._sanitizeSelector(d));else if(d!="#"){a.data(e,"href.tabs",d);a.data(e,"load.tabs",d.replace(/#.*$/,""));var h=c._tabId(e);e.href="#"+h;var f=a("#"+h);if(!f.length){f=a(b.panelTemplate).attr("id",h).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(c.panels[j-1]||c.list);f.data("destroy.tabs",true)}c.panels=c.panels.add(f)}else b.disabled.push(j)});var d=this._getAlignment(),l=this._getAlignment(false);if(n){this.list.attr("role","tablist");this.lis.attr("role","tab");this.panels.attr("role","tabpanel");this.element.addClass("ui-tabs wijmo-wijtabs ui-tabs-"+d+" ui-widget ui-widget-content ui-corner-all ui-helper-clearfix");this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.lis.addClass("ui-state-default ui-corner-"+d);this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-"+l);var f;switch(d){case"bottom":this.list.appendTo(this.element);break;case"left":f=a("<div/>").addClass("wijmo-wijtabs-content").appendTo(this.element);this.panels.appendTo(f);break;case"right":f=a("<div/>").addClass("wijmo-wijtabs-content").insertBefore(this.list);this.panels.appendTo(f);break;case"top":this.list.prependTo(this.element)}if(b.selected===undefined){location.hash&&this.anchors.each(function(c,a){if(a.hash==location.hash){b.selected=c;return false}});if(typeof b.selected!="number"&&b.cookie)b.selected=parseInt(c._cookie(),10);if(typeof b.selected!="number"&&this.lis.filter(".ui-tabs-selected").length)b.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"));b.selected=b.selected||(this.lis.length?0:-1)}else if(b.selected===null)b.selected=-1;b.selected=b.selected>=0&&this.anchors[b.selected]||b.selected<0?b.selected:0;b.disabled=a.unique(b.disabled.concat(a.map(this.lis.filter(".ui-state-disabled"),function(a){return c.lis.index(a)}))).sort();a.inArray(b.selected,b.disabled)!=-1&&b.disabled.splice(a.inArray(b.selected,b.disabled),1);this.panels.addClass("ui-tabs-hide").attr("aria-hidden",true);this.lis.removeClass("ui-tabs-selected ui-state-active").attr("aria-selected",false);if(b.selected>=0&&this.anchors.length){this.panels.eq(b.selected).removeClass("ui-tabs-hide").attr("aria-hidden",false);this.lis.eq(b.selected).addClass("ui-tabs-selected ui-state-active").attr("aria-selected",true);c.element.queue("tabs",function(){c._trigger("show",null,c._ui(c.anchors[b.selected],c.panels[b.selected]))});this.load(b.selected)}a(window).bind("unload",function(){c.lis&&c.lis.add(c.anchors).unbind(".tabs");c.lis=c.anchors=c.panels=null})}else b.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"));this.element[b.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");b.cookie&&this._cookie(b.selected,b.cookie);for(var g=0,e;e=this.lis[g];g++){a(e)[a.inArray(g,b.disabled)!=-1&&!a(e).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");a(e).hasClass("ui-state-disabled")&&a(e).attr("aria-disabled",true)}b.cache===false&&this.anchors.removeData("cache.tabs");this.lis.add(this.anchors).unbind(".tabs");if(b.event!="mouseover"){var i=function(b,a){a.is(":not(.ui-state-disabled)")&&a.addClass("ui-state-"+b)},h=function(a,b){b.removeClass("ui-state-"+a)};this.lis.bind("mouseover.tabs",function(){i("hover",a(this))});this.lis.bind("mouseout.tabs",function(){h("hover",a(this))});this.anchors.bind("focus.tabs",function(){i("focus",a(this).closest("li"))});this.anchors.bind("blur.tabs",function(){h("focus",a(this).closest("li"))})}if(b.showOption===undefined||b.showOption===null)b.showOption={};this._normalizeBlindOption(b.showOption);if(b.hideOption===undefined||b.hideOption===null)b.hideOption={};this._normalizeBlindOption(b.hideOption);var k=(b.showOption.blind||b.showOption.fade)&&b.showOption.duration>0?function(g,e){a(g).closest("li").addClass("ui-tabs-selected ui-state-active").attr("aria-selected",true);c._showContent();e.removeClass("ui-tabs-hide").attr("aria-hidden",false);if(d=="top"||d=="bottom"){var f={duration:b.showOption.duration};if(b.showOption.blind)f.height="toggle";if(b.showOption.fade)f.opacity="toggle";e.hide().removeClass("ui-tabs-hide").attr("aria-hidden",false).animate(f,b.showOption.duration||"normal",function(){c._resetStyle(e);c._trigger("show",null,c._ui(g,e[0]))})}else{c._showContent();c._blindPanel(e,"show")}}:function(b,d){a(b).closest("li").addClass("ui-tabs-selected ui-state-active").attr("aria-selected",true);c._showContent();d.removeClass("ui-tabs-hide").attr("aria-hidden",false);c._trigger("show",null,c._ui(b,d[0]))},j=(b.hideOption.blind||b.hideOption.fade)&&b.hideOption.duration>0?function(f,a){if(d=="top"||d=="bottom"){var e={duration:b.hideOption.duration};if(b.hideOption.blind)e.height="toggle";if(b.hideOption.fade)e.opacity="toggle";a.animate(e,b.hideOption.duration||"normal",function(){c.lis.removeClass("ui-tabs-selected ui-state-active").attr("aria-selected",false);a.addClass("ui-tabs-hide").attr("aria-hidden",true);c._resetStyle(a);c.element.dequeue("tabs")})}else{c._saveLayout();c._blindPanel(a,"hide")}}:function(b,a){c.lis.removeClass("ui-tabs-selected ui-state-active").attr("aria-selected",false);c._hideContent();a.addClass("ui-tabs-hide").attr("aria-hidden",true);c.element.dequeue("tabs")};this.anchors.bind(b.event+".tabs",function(){var g=this,f=a(this).closest("li"),d=c.panels.filter(":not(.ui-tabs-hide)"),e=a(c._sanitizeSelector(this.hash));if(f.hasClass("ui-tabs-selected")&&!b.collapsible||f.hasClass("ui-state-disabled")||f.hasClass("ui-state-processing")||c._trigger("select",null,c._ui(this,e[0]))===false){this.blur();return false}b.selected=c.anchors.index(this);c.abort();if(b.collapsible)if(f.hasClass("ui-tabs-selected")){b.selected=-1;b.cookie&&c._cookie(b.selected,b.cookie);c.element.queue("tabs",function(){j(g,d)}).dequeue("tabs");this.blur();return false}else if(!d.length){b.cookie&&c._cookie(b.selected,b.cookie);c.element.queue("tabs",function(){k(g,e)});c.load(c.anchors.index(this));this.blur();return false}b.cookie&&c._cookie(b.selected,b.cookie);if(e.length){d.length&&c.element.queue("tabs",function(){j(g,d)});c.element.queue("tabs",function(){k(g,e)});c.load(c.anchors.index(this))}else throw"jQuery UI Tabs: Mismatching fragment identifier.";a.browser.msie&&this.blur()});this._initScroller();this.anchors.bind("click.tabs",function(){return false})},destroy:function(){var c=this.options;this.abort();this._removeScroller();this.element.unbind(".tabs").removeClass(["wijmo-wijtabs","ui-tabs-top","ui-tabs-bottom","ui-tabs-left","ui-tabs-right","ui-tabs","ui-widget","ui-widget-content","ui-corner-all","ui-tabs-collapsible","ui-helper-clearfix"].join(" ")).removeData("tabs").removeAttr("role");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role");this.anchors.each(function(){var b=a.data(this,"href.tabs");if(b)this.href=b;var c=a(this).unbind(".tabs");a.each(["href","load","cache"],function(b,a){c.removeData(a+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){if(a.data(this,"destroy.tabs"))a(this).remove();else a(this).removeClass(["ui-state-default","ui-corner-top","ui-corner-bottom","ui-corner-left","ui-corner-right","ui-tabs-selected","ui-state-active","ui-state-hover","ui-state-focus","ui-state-disabled","ui-tabs-panel","ui-widget-content","ui-tabs-hide"].join(" ")).css({position:"",left:"",top:""}).removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-selected").removeAttr("aria-disabled")});var b=a(".wijmo-wijtabs-content");b.length&&b.replaceWith(b.contents());c.cookie&&this._cookie(null,c.cookie);return this},add:function(g,k,b){if(b===undefined)b=this.anchors.length;var f=this,e=this.options,d=a(e.tabTemplate.replace(/#\{href\}/g,g).replace(/#\{label\}/g,k)),h=!g.indexOf("#")?g.replace("#",""):this._tabId(a("a",d)[0]),j=this._getAlignment(),i=this._getAlignment(false);d.addClass("ui-state-default ui-corner-"+j).data("destroy.tabs",true).attr("role","tab").attr("aria-selected",false);var c=a("#"+h);if(!c.length)c=a(e.panelTemplate).attr("id",h).data("destroy.tabs",true).attr("role","tabpanel");c.addClass("ui-tabs-panel ui-widget-content ui-corner-"+i+" ui-tabs-hide").attr("aria-hidden",true);if(b>=this.lis.length){d.appendTo(this.list);if(this.panels.length>0)c.insertAfter(this.panels[this.panels.length-1]);else c.appendTo(this.list[0].parentNode)}else{d.insertBefore(this.lis[b]);c.insertBefore(this.panels[b])}e.disabled=a.map(e.disabled,function(a){return a>=b?++a:a});this._tabify();if(this.anchors.length==1){e.selected=0;d.addClass("ui-tabs-selected ui-state-active").attr("aria-selected",true);c.removeClass("ui-tabs-hide").attr("aria-hidden",false);this.element.queue("tabs",function(){f._trigger("show",null,f._ui(f.anchors[0],f.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[b],this.panels[b]));return this},remove:function(b){var d=this.options,c=this.lis.eq(b).remove(),e=this.panels.eq(b).remove();c.hasClass("ui-tabs-selected")&&this.anchors.length>1&&this.select(b+(b+1<this.anchors.length?1:-1));d.disabled=a.map(a.grep(d.disabled,function(a){return a!=b}),function(a){return a>=b?--a:a});this._tabify();this._trigger("remove",null,this._ui(c.find("a")[0],e[0]));return this},enable:function(b){var c=this.options;if(a.inArray(b,c.disabled)==-1)return;this.lis.eq(b).removeClass("ui-state-disabled").removeAttr("aria-disabled");c.disabled=a.grep(c.disabled,function(a){return a!=b});this._trigger("enable",null,this._ui(this.anchors[b],this.panels[b]));return this},disable:function(a){var c=this,b=this.options;if(a!=b.selected){this.lis.eq(a).addClass("ui-state-disabled").attr("aria-disabled",true);b.disabled.push(a);b.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[a],this.panels[a]))}return this},select:function(a){if(typeof a=="string")a=this.anchors.index(this.anchors.filter("[href$="+a+"]"));else if(a===null)a=-1;if(a==-1&&this.options.collapsible)a=this.options.selected;this.anchors.eq(a).trigger(this.options.event+".tabs");return this},load:function(c){var b=this,e=this.options,d=this.anchors.eq(c)[0],g=a.data(d,"load.tabs");this.abort();if(!g||this.element.queue("tabs").length!==0&&a.data(d,"cache.tabs")){this.element.dequeue("tabs");return}this.lis.eq(c).addClass("ui-state-processing");if(e.spinner){var f=a("span",d);f.data("label.tabs",f.html()).html(e.spinner)}this.xhr=a.ajax(a.extend({},e.ajaxOptions,{url:g,success:function(f,g){a(b._sanitizeSelector(d.hash)).html(f);b._cleanup();e.cache&&a.data(d,"cache.tabs",true);b._trigger("load",null,b._ui(b.anchors[c],b.panels[c]));try{e.ajaxOptions.success(f,g)}catch(h){}},error:function(a,f){b._cleanup();b._trigger("load",null,b._ui(b.anchors[c],b.panels[c]));try{e.ajaxOptions.error(a,f,c,d)}catch(g){}}}));b.element.dequeue("tabs");return this},abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this},url:function(a,b){this.anchors.eq(a).removeData("cache.tabs").data("load.tabs",b);return this},length:function(){return this.anchors.length}})})(jQuery); |
This diff has been collapsed as it changes many lines, (501 lines changed) Show them Hide them | |||
@@ -0,0 +1,501 b'' | |||
|
1 | var IPYTHON = {}; | |
|
2 | ||
|
3 | ||
|
4 | //============================================================================ | |
|
5 | // Notebook | |
|
6 | //============================================================================ | |
|
7 | ||
|
8 | ||
|
9 | var Notebook = function (selector) { | |
|
10 | this.element = $(selector); | |
|
11 | this.element.data("notebook", this); | |
|
12 | this.next_prompt_number = 1; | |
|
13 | this.bind_events(); | |
|
14 | } | |
|
15 | ||
|
16 | ||
|
17 | Notebook.prototype.bind_events = function () { | |
|
18 | var that = this; | |
|
19 | that.element.keydown(function (event) { | |
|
20 | // console.log(event); | |
|
21 | if (event.which == 38 && event.shiftKey) { | |
|
22 | that.select_prev(); | |
|
23 | } else if (event.which == 40 && event.shiftKey) { | |
|
24 | that.select_next(); | |
|
25 | } | |
|
26 | }); | |
|
27 | }; | |
|
28 | ||
|
29 | ||
|
30 | // Cell indexing, retrieval, etc. | |
|
31 | ||
|
32 | ||
|
33 | Notebook.prototype.cell_elements = function () { | |
|
34 | return this.element.children("div.cell"); | |
|
35 | } | |
|
36 | ||
|
37 | ||
|
38 | Notebook.prototype.ncells = function (cell) { | |
|
39 | return this.cell_elements().length; | |
|
40 | } | |
|
41 | ||
|
42 | ||
|
43 | // TODO: we are often calling cells as cells()[i], which we should optimize | |
|
44 | // to cells(i) or a new method. | |
|
45 | Notebook.prototype.cells = function () { | |
|
46 | return this.cell_elements().toArray().map(function (e) { | |
|
47 | return $(e).data("cell"); | |
|
48 | }); | |
|
49 | } | |
|
50 | ||
|
51 | ||
|
52 | Notebook.prototype.find_cell_index = function (cell) { | |
|
53 | var result = null; | |
|
54 | this.cell_elements().filter(function (index) { | |
|
55 | if ($(this).data("cell") === cell) { | |
|
56 | result = index; | |
|
57 | }; | |
|
58 | }); | |
|
59 | return result; | |
|
60 | }; | |
|
61 | ||
|
62 | ||
|
63 | Notebook.prototype.index_or_selected = function (index) { | |
|
64 | return index || this.selected_index() || 0; | |
|
65 | } | |
|
66 | ||
|
67 | ||
|
68 | Notebook.prototype.select = function (index) { | |
|
69 | if (index !== undefined && index >= 0 && index < this.ncells()) { | |
|
70 | if (this.selected_index() !== null) { | |
|
71 | this.selected_cell().unselect(); | |
|
72 | }; | |
|
73 | this.cells()[index].select(); | |
|
74 | }; | |
|
75 | return this; | |
|
76 | }; | |
|
77 | ||
|
78 | ||
|
79 | Notebook.prototype.select_next = function () { | |
|
80 | var index = this.selected_index(); | |
|
81 | if (index !== null && index >= 0 && (index+1) < this.ncells()) { | |
|
82 | this.select(index+1); | |
|
83 | }; | |
|
84 | return this; | |
|
85 | }; | |
|
86 | ||
|
87 | ||
|
88 | Notebook.prototype.select_prev = function () { | |
|
89 | var index = this.selected_index(); | |
|
90 | if (index !== null && index >= 0 && (index-1) < this.ncells()) { | |
|
91 | this.select(index-1); | |
|
92 | }; | |
|
93 | return this; | |
|
94 | }; | |
|
95 | ||
|
96 | ||
|
97 | Notebook.prototype.selected_index = function () { | |
|
98 | var result = null; | |
|
99 | this.cell_elements().filter(function (index) { | |
|
100 | if ($(this).data("cell").selected === true) { | |
|
101 | result = index; | |
|
102 | }; | |
|
103 | }); | |
|
104 | return result; | |
|
105 | }; | |
|
106 | ||
|
107 | ||
|
108 | Notebook.prototype.selected_cell = function () { | |
|
109 | return this.cell_elements().eq(this.selected_index()).data("cell"); | |
|
110 | } | |
|
111 | ||
|
112 | ||
|
113 | // Cell insertion, deletion and moving. | |
|
114 | ||
|
115 | ||
|
116 | Notebook.prototype.delete_cell = function (index) { | |
|
117 | var i = index || this.selected_index(); | |
|
118 | if (i !== null && i >= 0 && i < this.ncells()) { | |
|
119 | this.cell_elements().eq(i).remove(); | |
|
120 | if (i === (this.ncells())) { | |
|
121 | this.select(i-1); | |
|
122 | } else { | |
|
123 | this.select(i); | |
|
124 | }; | |
|
125 | }; | |
|
126 | return this; | |
|
127 | }; | |
|
128 | ||
|
129 | ||
|
130 | Notebook.prototype.append_cell = function (cell) { | |
|
131 | this.element.append(cell.element); | |
|
132 | return this; | |
|
133 | }; | |
|
134 | ||
|
135 | ||
|
136 | Notebook.prototype.insert_cell_after = function (cell, index) { | |
|
137 | var ncells = this.ncells(); | |
|
138 | if (ncells === 0) { | |
|
139 | this.append_cell(cell); | |
|
140 | return this; | |
|
141 | }; | |
|
142 | if (index >= 0 && index < ncells) { | |
|
143 | this.cell_elements().eq(index).after(cell.element); | |
|
144 | }; | |
|
145 | return this | |
|
146 | }; | |
|
147 | ||
|
148 | ||
|
149 | Notebook.prototype.insert_cell_before = function (cell, index) { | |
|
150 | var ncells = this.ncells(); | |
|
151 | if (ncells === 0) { | |
|
152 | this.append_cell(cell); | |
|
153 | return this; | |
|
154 | }; | |
|
155 | if (index > 0 && index < ncells) { | |
|
156 | this.cell_elements().eq(index).before(cell.element); | |
|
157 | }; | |
|
158 | return this; | |
|
159 | }; | |
|
160 | ||
|
161 | ||
|
162 | Notebook.prototype.move_cell_up = function (index) { | |
|
163 | var i = index || this.selected_index(); | |
|
164 | if (i !== null && i < this.ncells() && i > 0) { | |
|
165 | var pivot = this.cell_elements().eq(i-1); | |
|
166 | var tomove = this.cell_elements().eq(i); | |
|
167 | if (pivot !== null && tomove !== null) { | |
|
168 | tomove.detach(); | |
|
169 | pivot.before(tomove); | |
|
170 | }; | |
|
171 | }; | |
|
172 | return this; | |
|
173 | } | |
|
174 | ||
|
175 | ||
|
176 | Notebook.prototype.move_cell_down = function (index) { | |
|
177 | var i = index || this.selected_index(); | |
|
178 | if (i !== null && i < (this.ncells()-1) && i >= 0) { | |
|
179 | var pivot = this.cell_elements().eq(i+1) | |
|
180 | var tomove = this.cell_elements().eq(i) | |
|
181 | if (pivot !== null && tomove !== null) { | |
|
182 | tomove.detach(); | |
|
183 | pivot.after(tomove); | |
|
184 | }; | |
|
185 | }; | |
|
186 | return this; | |
|
187 | } | |
|
188 | ||
|
189 | ||
|
190 | Notebook.prototype.sort_cells = function () { | |
|
191 | var ncells = this.ncells(); | |
|
192 | var swapped; | |
|
193 | do { | |
|
194 | swapped = false | |
|
195 | for (var i=1; i<ncells; i++) { | |
|
196 | current = this.cell_elements().eq(i).data("cell"); | |
|
197 | previous = this.cell_elements().eq(i-1).data("cell"); | |
|
198 | if (previous.input_prompt_number > current.input_prompt_number) { | |
|
199 | this.move_cell_up(i); | |
|
200 | swapped = true; | |
|
201 | }; | |
|
202 | }; | |
|
203 | } while (swapped); | |
|
204 | return this; | |
|
205 | }; | |
|
206 | ||
|
207 | ||
|
208 | Notebook.prototype.insert_code_cell_before = function (index) { | |
|
209 | // TODO: Bounds check for i | |
|
210 | var i = this.index_or_selected(index); | |
|
211 | var cell = new CodeCell(this); | |
|
212 | cell.set_input_prompt(this.next_prompt_number); | |
|
213 | this.next_prompt_number = this.next_prompt_number + 1; | |
|
214 | this.insert_cell_before(cell, i); | |
|
215 | this.select(this.find_cell_index(cell)); | |
|
216 | return this; | |
|
217 | } | |
|
218 | ||
|
219 | ||
|
220 | Notebook.prototype.insert_code_cell_after = function (index) { | |
|
221 | // TODO: Bounds check for i | |
|
222 | var i = this.index_or_selected(index); | |
|
223 | var cell = new CodeCell(this); | |
|
224 | cell.set_input_prompt(this.next_prompt_number); | |
|
225 | this.next_prompt_number = this.next_prompt_number + 1; | |
|
226 | this.insert_cell_after(cell, i); | |
|
227 | this.select(this.find_cell_index(cell)); | |
|
228 | return this; | |
|
229 | } | |
|
230 | ||
|
231 | ||
|
232 | Notebook.prototype.insert_text_cell_before = function (index) { | |
|
233 | // TODO: Bounds check for i | |
|
234 | var i = this.index_or_selected(index); | |
|
235 | var cell = new TextCell(this); | |
|
236 | cell.config_mathjax(); | |
|
237 | this.insert_cell_before(cell, i); | |
|
238 | this.select(this.find_cell_index(cell)); | |
|
239 | return this; | |
|
240 | } | |
|
241 | ||
|
242 | ||
|
243 | Notebook.prototype.insert_text_cell_after = function (index) { | |
|
244 | // TODO: Bounds check for i | |
|
245 | var i = this.index_or_selected(index); | |
|
246 | var cell = new TextCell(this); | |
|
247 | cell.config_mathjax(); | |
|
248 | this.insert_cell_after(cell, i); | |
|
249 | this.select(this.find_cell_index(cell)); | |
|
250 | return this; | |
|
251 | } | |
|
252 | ||
|
253 | ||
|
254 | Notebook.prototype.text_to_code = function (index) { | |
|
255 | // TODO: Bounds check for i | |
|
256 | var i = this.index_or_selected(index); | |
|
257 | var source_element = this.cell_elements().eq(i); | |
|
258 | var source_cell = source_element.data("cell"); | |
|
259 | if (source_cell instanceof TextCell) { | |
|
260 | this.insert_code_cell_after(i); | |
|
261 | var target_cell = this.cells()[i+1]; | |
|
262 | var text = source_element.find("textarea.text_cell_input").val(); | |
|
263 | target_cell.element.find("textarea.input_area").val(text); | |
|
264 | source_element.remove(); | |
|
265 | }; | |
|
266 | }; | |
|
267 | ||
|
268 | ||
|
269 | Notebook.prototype.code_to_text = function (index) { | |
|
270 | // TODO: Bounds check for i | |
|
271 | var i = this.index_or_selected(index); | |
|
272 | var source_element = this.cell_elements().eq(i); | |
|
273 | var source_cell = source_element.data("cell"); | |
|
274 | if (source_cell instanceof CodeCell) { | |
|
275 | this.insert_text_cell_after(i); | |
|
276 | var target_cell = this.cells()[i+1]; | |
|
277 | var text = source_element.find("textarea.input_area").val(); | |
|
278 | target_cell.element.find("textarea.text_cell_input").val(text); | |
|
279 | target_cell.element.find("textarea.text_cell_input").html(text); | |
|
280 | target_cell.element.find("div.text_cell_render").html(text); | |
|
281 | ||
|
282 | source_element.remove(); | |
|
283 | }; | |
|
284 | }; | |
|
285 | ||
|
286 | ||
|
287 | // Cell collapsing | |
|
288 | ||
|
289 | Notebook.prototype.collapse = function (index) { | |
|
290 | var i = this.index_or_selected(index); | |
|
291 | this.cells()[i].collapse(); | |
|
292 | } | |
|
293 | ||
|
294 | ||
|
295 | Notebook.prototype.expand = function (index) { | |
|
296 | var i = this.index_or_selected(index); | |
|
297 | this.cells()[i].expand(); | |
|
298 | } | |
|
299 | ||
|
300 | ||
|
301 | //============================================================================ | |
|
302 | // Cell | |
|
303 | //============================================================================ | |
|
304 | ||
|
305 | ||
|
306 | var Cell = function (notebook) { | |
|
307 | this.notebook = notebook; | |
|
308 | this.selected = false; | |
|
309 | this.element; | |
|
310 | this.create_element(); | |
|
311 | if (this.element !== undefined) { | |
|
312 | this.element.data("cell", this); | |
|
313 | this.bind_events(); | |
|
314 | } | |
|
315 | }; | |
|
316 | ||
|
317 | ||
|
318 | Cell.prototype.select = function () { | |
|
319 | this.element.addClass('ui-widget-content ui-corner-all'); | |
|
320 | this.selected = true; | |
|
321 | this.element.find('textarea').trigger('focusin'); | |
|
322 | }; | |
|
323 | ||
|
324 | ||
|
325 | Cell.prototype.unselect = function () { | |
|
326 | this.element.removeClass('ui-widget-content ui-corner-all'); | |
|
327 | this.selected = false; | |
|
328 | }; | |
|
329 | ||
|
330 | ||
|
331 | Cell.prototype.bind_events = function () { | |
|
332 | var that = this; | |
|
333 | var nb = that.notebook | |
|
334 | that.element.click(function (event) { | |
|
335 | if (that.selected === false) { | |
|
336 | nb.select(nb.find_cell_index(that)); | |
|
337 | }; | |
|
338 | }); | |
|
339 | that.element.focusin(function (event) { | |
|
340 | if (that.selected === false) { | |
|
341 | nb.select(nb.find_cell_index(that)); | |
|
342 | }; | |
|
343 | }); | |
|
344 | }; | |
|
345 | ||
|
346 | ||
|
347 | // Subclasses must implement create_element. | |
|
348 | Cell.prototype.create_element = function () {}; | |
|
349 | ||
|
350 | ||
|
351 | //============================================================================ | |
|
352 | // CodeCell | |
|
353 | //============================================================================ | |
|
354 | ||
|
355 | ||
|
356 | var CodeCell = function (notebook) { | |
|
357 | Cell.apply(this, arguments); | |
|
358 | this.input_prompt_number = ' '; | |
|
359 | this.output_prompt_number = ' '; | |
|
360 | }; | |
|
361 | ||
|
362 | ||
|
363 | CodeCell.prototype = new Cell(); | |
|
364 | ||
|
365 | ||
|
366 | CodeCell.prototype.create_element = function () { | |
|
367 | var cell = $('<div></div>').addClass('cell code_cell') | |
|
368 | var input = $('<div></div>').addClass('input').append( | |
|
369 | $('<div/>').addClass('prompt input_prompt') | |
|
370 | ).append( | |
|
371 | $('<textarea/>').addClass('input_area'). | |
|
372 | attr('rows',1). | |
|
373 | attr('cols',80). | |
|
374 | attr('wrap','hard'). | |
|
375 | autoGrow() | |
|
376 | ); | |
|
377 | var output = $('<div></div>').addClass('output').append( | |
|
378 | $('<div/>').addClass('prompt output_prompt') | |
|
379 | ).append( | |
|
380 | $('<div/>').addClass('output_area') | |
|
381 | ); | |
|
382 | output.hide(); | |
|
383 | cell.append(input).append(output); | |
|
384 | this.element = cell; | |
|
385 | }; | |
|
386 | ||
|
387 | ||
|
388 | CodeCell.prototype.collapse = function () { | |
|
389 | this.element.find('div.output').hide(); | |
|
390 | }; | |
|
391 | ||
|
392 | ||
|
393 | CodeCell.prototype.expand = function () { | |
|
394 | this.element.find('div.output').show(); | |
|
395 | }; | |
|
396 | ||
|
397 | ||
|
398 | CodeCell.prototype.set_prompt = function (number) { | |
|
399 | this.set_input_prompt(number); | |
|
400 | this.set_output_prompt(number); | |
|
401 | }; | |
|
402 | ||
|
403 | CodeCell.prototype.set_input_prompt = function (number) { | |
|
404 | var n = number || ' '; | |
|
405 | this.input_prompt_number = n | |
|
406 | this.element.find('div.input_prompt').html('In [' + n + ']:'); | |
|
407 | }; | |
|
408 | ||
|
409 | ||
|
410 | CodeCell.prototype.set_output_prompt = function (number) { | |
|
411 | var n = number || ' '; | |
|
412 | this.output_prompt_number = n | |
|
413 | this.element.find('div.output_prompt').html('Out[' + n + ']:'); | |
|
414 | }; | |
|
415 | ||
|
416 | ||
|
417 | //============================================================================ | |
|
418 | // TextCell | |
|
419 | //============================================================================ | |
|
420 | ||
|
421 | ||
|
422 | var TextCell = function (notebook) { | |
|
423 | Cell.apply(this, arguments); | |
|
424 | }; | |
|
425 | ||
|
426 | ||
|
427 | TextCell.prototype = new Cell(); | |
|
428 | ||
|
429 | ||
|
430 | TextCell.prototype.create_element = function () { | |
|
431 | var cell = $('<div></div').addClass('cell text_cell'). | |
|
432 | append( | |
|
433 | $('<textarea>Type HTML/LaTex content here</textarea>'). | |
|
434 | addClass('text_cell_input'). | |
|
435 | attr('rows',1). | |
|
436 | attr('cols',80). | |
|
437 | autoGrow() | |
|
438 | ).append( | |
|
439 | $('<div></div>').addClass('text_cell_render') | |
|
440 | ) | |
|
441 | this.element = cell; | |
|
442 | }; | |
|
443 | ||
|
444 | ||
|
445 | TextCell.prototype.config_mathjax = function () { | |
|
446 | var text_cell = this.element; | |
|
447 | var input = text_cell.find("textarea.text_cell_input"); | |
|
448 | var output = text_cell.find("div.text_cell_render"); | |
|
449 | ||
|
450 | text_cell.click(function () { | |
|
451 | output.hide(); | |
|
452 | input.show().trigger('focus'); | |
|
453 | }).focusout(function () { | |
|
454 | var text = input.val(); | |
|
455 | output.html(text) | |
|
456 | input.html(text); | |
|
457 | MathJax.Hub.Queue(["Typeset",MathJax.Hub]); | |
|
458 | input.hide(); | |
|
459 | output.show(); | |
|
460 | }); | |
|
461 | ||
|
462 | text_cell.trigger("focusout"); | |
|
463 | }; | |
|
464 | ||
|
465 | ||
|
466 | $(document).ready(function () { | |
|
467 | ||
|
468 | MathJax.Hub.Config({ | |
|
469 | tex2jax: { | |
|
470 | inlineMath: [ ['$','$'], ["\\(","\\)"] ], | |
|
471 | displayMath: [ ['$$','$$'], ["\\[","\\]"] ], | |
|
472 | } | |
|
473 | }); | |
|
474 | ||
|
475 | $("ul#main_menu").wijmenu({animation:{animated: "slide", duration: 100, easing: null}}); | |
|
476 | IPYTHON.notebook = new Notebook('div.notebook'); | |
|
477 | IPYTHON.notebook.insert_code_cell_after(); | |
|
478 | ||
|
479 | $("#move_cell").buttonset(); | |
|
480 | $("#move_up").button("option", "icons", {primary:"ui-icon-arrowthick-1-n"}); | |
|
481 | $("#move_up").button("option", "text", false); | |
|
482 | $("#move_up").click(function () {IPYTHON.notebook.move_cell_up();}); | |
|
483 | $("#move_down").button("option", "icons", {primary:"ui-icon-arrowthick-1-s"}); | |
|
484 | $("#move_down").button("option", "text", false); | |
|
485 | $("#move_down").click(function () {IPYTHON.notebook.move_cell_down();}); | |
|
486 | ||
|
487 | $("#insert_delete").buttonset(); | |
|
488 | $("#insert_cell_before").click(function () {IPYTHON.notebook.insert_code_cell_before();}); | |
|
489 | $("#insert_cell_after").click(function () {IPYTHON.notebook.insert_code_cell_after();}); | |
|
490 | $("#delete_cell").button("option", "icons", {primary:"ui-icon-closethick"}); | |
|
491 | $("#delete_cell").button("option", "text", false); | |
|
492 | $("#delete_cell").click(function () {IPYTHON.notebook.delete_cell();}); | |
|
493 | ||
|
494 | $("#cell_type").buttonset(); | |
|
495 | $("#to_code").click(function () {IPYTHON.notebook.text_to_code();}); | |
|
496 | $("#to_text").click(function () {IPYTHON.notebook.code_to_text();}); | |
|
497 | ||
|
498 | $("#sort").buttonset(); | |
|
499 | $("#sort_cells").click(function () {IPYTHON.notebook.sort_cells();}); | |
|
500 | ||
|
501 | }); No newline at end of file |
@@ -0,0 +1,84 b'' | |||
|
1 | <!DOCTYPE HTML> | |
|
2 | <html> | |
|
3 | ||
|
4 | <head> | |
|
5 | <meta charset="utf-8"> | |
|
6 | ||
|
7 | <title>IPython Notebook</title> | |
|
8 | <link rel="stylesheet" href="static/css/notebook.css" type="text/css" /> | |
|
9 | <link rel="stylesheet" href="static/jquery/css/jquery.wijmo-open.1.1.3.css" type="text/css" /> | |
|
10 | <link rel="stylesheet" href="static/jquery/css/themes/aristo/jquery-wijmo.css" type="text/css" /> | |
|
11 | <!-- <link rel="stylesheet" href="static/jquery/css/themes/ui-lightness/jquery-ui-1.8.10.custom.css" type="text/css" /> --> | |
|
12 | <!-- <script src="static/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript" charset="utf-8"></script> --> | |
|
13 | <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" charset="utf-8"></script> | |
|
14 | </head> | |
|
15 | ||
|
16 | <body> | |
|
17 | ||
|
18 | <div id="header"> | |
|
19 | <span id="ipython_notebook"><h1>IPython Notebook</h1></span> | |
|
20 | </div> | |
|
21 | ||
|
22 | <div id="tools"> | |
|
23 | ||
|
24 | <ul id="main_menu"> | |
|
25 | <li><a>Cell</a> | |
|
26 | <ul> | |
|
27 | <li><a>Run</a></li> | |
|
28 | <li><a>Move up</a></li> | |
|
29 | <li><a>Move down</a></li> | |
|
30 | <li><a>Delete</a></li> | |
|
31 | </ul> | |
|
32 | </li> | |
|
33 | <li><a>Kernel</a> | |
|
34 | <ul> | |
|
35 | <li><a>Interrupt</a></li> | |
|
36 | <li><a>Restart</a></li> | |
|
37 | </ul> | |
|
38 | </li> | |
|
39 | <li><a>Help</a> | |
|
40 | <ul> | |
|
41 | <li><a>Notebook help</a></li> | |
|
42 | <li></li> | |
|
43 | <li><a href="http://docs.python.org" target="_blank">Python Docs</a></li> | |
|
44 | <li><a href="http://ipython.github.com/ipython-doc/dev/index.html" target="_blank">IPython Docs</a></li> | |
|
45 | <li><a href="http://docs.scipy.org/doc/numpy/reference/" target="_blank">NumPy Docs</a></li> | |
|
46 | <li><a href="http://docs.scipy.org/doc/scipy/reference/" target="_blank">SciPy Docs</a></li> | |
|
47 | <li><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy Docs</a></li> | |
|
48 | </ul> | |
|
49 | </li> | |
|
50 | </ul> | |
|
51 | ||
|
52 | <div id="toolbar"> | |
|
53 | <span id="main_toolbar"> | |
|
54 | <span id="move_cell"> | |
|
55 | <button id="move_up">Move up</button> | |
|
56 | <button id="move_down">Move down</button> | |
|
57 | </span> | |
|
58 | <span id="insert_delete"> | |
|
59 | <button id="insert_cell_before">Before</button> | |
|
60 | <button id="insert_cell_after">After</button> | |
|
61 | <button id="delete_cell">Delete</button> | |
|
62 | </span> | |
|
63 | <span id="cell_type"> | |
|
64 | <button id="to_code">Code</button> | |
|
65 | <button id="to_text">Text</button> | |
|
66 | </span> | |
|
67 | <span id="sort"> | |
|
68 | <button id="sort_cells">Sort</button> | |
|
69 | </span> | |
|
70 | </span> | |
|
71 | </div> | |
|
72 | ||
|
73 | </div> | |
|
74 | ||
|
75 | <div class="notebook"></div> | |
|
76 | ||
|
77 | <script src="static/jquery/js/jquery-1.5.1.min.js" type="text/javascript" charset="utf-8"></script> | |
|
78 | <script src="static/jquery/js/jquery-ui-1.8.10.custom.min.js" type="text/javascript" charset="utf-8"></script> | |
|
79 | <script src="static/jquery/js/jquery.autogrow.js" type="text/javascript" charset="utf-8"></script> | |
|
80 | <script src="static/jquery/js/jquery.wijmo-open.1.1.3.min.js" type="text/javascript" charset="utf-8"></script> | |
|
81 | <script src="static/js/notebook.js" type="text/javascript" charset="utf-8"></script> | |
|
82 | </body> | |
|
83 | ||
|
84 | </html> No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now