Commit 98d703b0e0c9128ec08605fb5cfeb93ce2c58b77
1 parent
6f35851f
Exists in
master
and in
5 other branches
Resolving invalid form creation bug [Issue: #88]
Showing
23 changed files
with
2289 additions
and
9 deletions
Show diff stats
... | ... | @@ -0,0 +1,884 @@ |
1 | +/** | |
2 | + * alertifyjs 1.8.0 http://alertifyjs.com | |
3 | + * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. | |
4 | + * Copyright 2016 Mohammad Younes <Mohammad@alertifyjs.com> (http://alertifyjs.com) | |
5 | + * Licensed under GPL 3 <https://opensource.org/licenses/gpl-3.0>*/ | |
6 | +.alertify .ajs-dimmer { | |
7 | + position: fixed; | |
8 | + z-index: 1981; | |
9 | + top: 0; | |
10 | + right: 0; | |
11 | + bottom: 0; | |
12 | + left: 0; | |
13 | + padding: 0; | |
14 | + margin: 0; | |
15 | + background-color: #252525; | |
16 | + opacity: .5; | |
17 | +} | |
18 | +.alertify .ajs-modal { | |
19 | + position: fixed; | |
20 | + top: 0; | |
21 | + right: 0; | |
22 | + left: 0; | |
23 | + bottom: 0; | |
24 | + padding: 0; | |
25 | + overflow-y: auto; | |
26 | + z-index: 1981; | |
27 | +} | |
28 | +.alertify .ajs-dialog { | |
29 | + position: relative; | |
30 | + margin: 5% auto; | |
31 | + min-height: 110px; | |
32 | + max-width: 500px; | |
33 | + padding: 24px 24px 0 24px; | |
34 | + outline: 0; | |
35 | + background-color: #fff; | |
36 | +} | |
37 | +.alertify .ajs-dialog.ajs-capture:before { | |
38 | + content: ''; | |
39 | + position: absolute; | |
40 | + top: 0; | |
41 | + right: 0; | |
42 | + bottom: 0; | |
43 | + left: 0; | |
44 | + display: block; | |
45 | + z-index: 1; | |
46 | +} | |
47 | +.alertify .ajs-reset { | |
48 | + position: absolute !important; | |
49 | + display: inline !important; | |
50 | + width: 0 !important; | |
51 | + height: 0 !important; | |
52 | + opacity: 0 !important; | |
53 | +} | |
54 | +.alertify .ajs-commands { | |
55 | + position: absolute; | |
56 | + right: 4px; | |
57 | + margin: -14px 24px 0 0; | |
58 | + z-index: 2; | |
59 | +} | |
60 | +.alertify .ajs-commands button { | |
61 | + display: none; | |
62 | + width: 10px; | |
63 | + height: 10px; | |
64 | + margin-left: 10px; | |
65 | + padding: 10px; | |
66 | + border: 0; | |
67 | + background-color: transparent; | |
68 | + background-repeat: no-repeat; | |
69 | + background-position: center; | |
70 | + cursor: pointer; | |
71 | +} | |
72 | +.alertify .ajs-commands button.ajs-close { | |
73 | + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMy8xNOrZqugAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAAh0lEQVQYlY2QsQ0EIQwEB9cBAR1CJUaI/gigDnwR6NBL/7/xWLNrZ2b8EwGotVpr7eOitWa1VjugiNB7R1UPrKrWe0dEAHBbXUqxMQbeewDmnHjvyTm7C3zDwAUd9c63YQdUVdu6EAJzzquz7HXvTiklt+H9DQFYaxFjvDqllFyMkbXWvfpXHjJrWFgdBq/hAAAAAElFTkSuQmCC); | |
74 | +} | |
75 | +.alertify .ajs-commands button.ajs-maximize { | |
76 | + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMy8xNOrZqugAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAAOUlEQVQYlWP8//8/AzGAhYGBgaG4uBiv6t7eXkYmooxjYGAgWiELsvHYFMCcRX2rSXcjoSBiJDbAAeD+EGu+8BZcAAAAAElFTkSuQmCC); | |
77 | +} | |
78 | +.alertify .ajs-header { | |
79 | + margin: -24px; | |
80 | + margin-bottom: 0; | |
81 | + padding: 16px 24px; | |
82 | + background-color: #fff; | |
83 | +} | |
84 | +.alertify .ajs-body { | |
85 | + min-height: 56px; | |
86 | +} | |
87 | +.alertify .ajs-body .ajs-content { | |
88 | + padding: 16px 24px 16px 16px; | |
89 | +} | |
90 | +.alertify .ajs-footer { | |
91 | + padding: 4px; | |
92 | + margin-left: -24px; | |
93 | + margin-right: -24px; | |
94 | + min-height: 43px; | |
95 | + background-color: #fff; | |
96 | +} | |
97 | +.alertify .ajs-footer .ajs-buttons.ajs-primary { | |
98 | + text-align: right; | |
99 | +} | |
100 | +.alertify .ajs-footer .ajs-buttons.ajs-primary .ajs-button { | |
101 | + margin: 4px; | |
102 | +} | |
103 | +.alertify .ajs-footer .ajs-buttons.ajs-auxiliary { | |
104 | + float: left; | |
105 | + clear: none; | |
106 | + text-align: left; | |
107 | +} | |
108 | +.alertify .ajs-footer .ajs-buttons.ajs-auxiliary .ajs-button { | |
109 | + margin: 4px; | |
110 | +} | |
111 | +.alertify .ajs-footer .ajs-buttons .ajs-button { | |
112 | + min-width: 88px; | |
113 | + min-height: 35px; | |
114 | +} | |
115 | +.alertify .ajs-handle { | |
116 | + position: absolute; | |
117 | + display: none; | |
118 | + width: 10px; | |
119 | + height: 10px; | |
120 | + right: 0; | |
121 | + bottom: 0; | |
122 | + z-index: 1; | |
123 | + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMS8xNEDQYmMAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAAQ0lEQVQYlaXNMQoAIAxD0dT7H657l0KX3iJuUlBUNOsPPCGJm7VDp6ryeMxMuDsAQH7owW3pyn3RS26iKxERMLN3ugOaAkaL3sWVigAAAABJRU5ErkJggg==); | |
124 | + -webkit-transform: scaleX(1) /*rtl:scaleX(-1)*/; | |
125 | + transform: scaleX(1) /*rtl:scaleX(-1)*/; | |
126 | + cursor: se-resize; | |
127 | +} | |
128 | +.alertify.ajs-no-overflow .ajs-body .ajs-content { | |
129 | + overflow: hidden !important; | |
130 | +} | |
131 | +.alertify.ajs-no-padding.ajs-maximized .ajs-body .ajs-content { | |
132 | + left: 0; | |
133 | + right: 0; | |
134 | + padding: 0; | |
135 | +} | |
136 | +.alertify.ajs-no-padding:not(.ajs-maximized) .ajs-body { | |
137 | + margin-left: -24px; | |
138 | + margin-right: -24px; | |
139 | +} | |
140 | +.alertify.ajs-no-padding:not(.ajs-maximized) .ajs-body .ajs-content { | |
141 | + padding: 0; | |
142 | +} | |
143 | +.alertify.ajs-no-padding.ajs-resizable .ajs-body .ajs-content { | |
144 | + left: 0; | |
145 | + right: 0; | |
146 | +} | |
147 | +.alertify.ajs-maximizable .ajs-commands button.ajs-maximize, | |
148 | +.alertify.ajs-maximizable .ajs-commands button.ajs-restore { | |
149 | + display: inline-block; | |
150 | +} | |
151 | +.alertify.ajs-closable .ajs-commands button.ajs-close { | |
152 | + display: inline-block; | |
153 | +} | |
154 | +.alertify.ajs-maximized .ajs-dialog { | |
155 | + width: 100% !important; | |
156 | + height: 100% !important; | |
157 | + max-width: none !important; | |
158 | + margin: 0 auto !important; | |
159 | + top: 0 !important; | |
160 | + left: 0 !important; | |
161 | +} | |
162 | +.alertify.ajs-maximized.ajs-modeless .ajs-modal { | |
163 | + position: fixed !important; | |
164 | + min-height: 100% !important; | |
165 | + max-height: none !important; | |
166 | + margin: 0 !important; | |
167 | +} | |
168 | +.alertify.ajs-maximized .ajs-commands button.ajs-maximize { | |
169 | + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMy8xNOrZqugAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAASklEQVQYlZWQ0QkAMQhDtXRincOZX78KVtrDCwgqJNEoIB3MPLj7lRUROlpyVXGzby6zWuY+kz6tj5sBMTMAyVV3/595RbOh3cAXsww1raeiOcoAAAAASUVORK5CYII=); | |
170 | +} | |
171 | +.alertify.ajs-resizable .ajs-dialog, | |
172 | +.alertify.ajs-maximized .ajs-dialog { | |
173 | + padding: 0; | |
174 | +} | |
175 | +.alertify.ajs-resizable .ajs-commands, | |
176 | +.alertify.ajs-maximized .ajs-commands { | |
177 | + margin: 14px 24px 0 0; | |
178 | +} | |
179 | +.alertify.ajs-resizable .ajs-header, | |
180 | +.alertify.ajs-maximized .ajs-header { | |
181 | + position: absolute; | |
182 | + top: 0; | |
183 | + left: 0; | |
184 | + right: 0; | |
185 | + margin: 0; | |
186 | + padding: 16px 24px; | |
187 | +} | |
188 | +.alertify.ajs-resizable .ajs-body, | |
189 | +.alertify.ajs-maximized .ajs-body { | |
190 | + min-height: 224px; | |
191 | + display: inline-block; | |
192 | +} | |
193 | +.alertify.ajs-resizable .ajs-body .ajs-content, | |
194 | +.alertify.ajs-maximized .ajs-body .ajs-content { | |
195 | + position: absolute; | |
196 | + top: 50px; | |
197 | + right: 24px; | |
198 | + bottom: 50px; | |
199 | + left: 24px; | |
200 | + overflow: auto; | |
201 | +} | |
202 | +.alertify.ajs-resizable .ajs-footer, | |
203 | +.alertify.ajs-maximized .ajs-footer { | |
204 | + position: absolute; | |
205 | + left: 0; | |
206 | + right: 0; | |
207 | + bottom: 0; | |
208 | + margin: 0; | |
209 | +} | |
210 | +.alertify.ajs-resizable:not(.ajs-maximized) .ajs-dialog { | |
211 | + min-width: 548px; | |
212 | +} | |
213 | +.alertify.ajs-resizable:not(.ajs-maximized) .ajs-handle { | |
214 | + display: block; | |
215 | +} | |
216 | +.alertify.ajs-movable:not(.ajs-maximized) .ajs-header { | |
217 | + cursor: move; | |
218 | +} | |
219 | +.alertify.ajs-modeless .ajs-dimmer, | |
220 | +.alertify.ajs-modeless .ajs-reset { | |
221 | + display: none; | |
222 | +} | |
223 | +.alertify.ajs-modeless .ajs-modal { | |
224 | + overflow: visible; | |
225 | + max-width: none; | |
226 | + max-height: 0; | |
227 | +} | |
228 | +.alertify.ajs-modeless.ajs-pinnable .ajs-commands button.ajs-pin { | |
229 | + display: inline-block; | |
230 | + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMy8xNOrZqugAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAAQklEQVQYlcWPMQ4AIAwCqU9u38GbcbHRWN1MvKQDhQFMEpKImGJA0gCgnYw0V0rwxseg5erT4oSkQVI5d9f+e9+xA0NbLpWfitPXAAAAAElFTkSuQmCC); | |
231 | +} | |
232 | +.alertify.ajs-modeless.ajs-unpinned .ajs-modal { | |
233 | + position: absolute; | |
234 | +} | |
235 | +.alertify.ajs-modeless.ajs-unpinned .ajs-commands button.ajs-pin { | |
236 | + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMy8xNOrZqugAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAAO0lEQVQYlWP8//8/AzGAiShV6AqLi4txGs+CLoBLMYbC3t5eRmyaWfBZhwwYkX2NTxPRvibKjRhW4wMAhxkYGbLu3pEAAAAASUVORK5CYII=); | |
237 | +} | |
238 | +.alertify.ajs-modeless:not(.ajs-unpinned) .ajs-body { | |
239 | + max-height: 500px; | |
240 | + overflow: auto; | |
241 | +} | |
242 | +.alertify.ajs-basic .ajs-header { | |
243 | + opacity: 0; | |
244 | +} | |
245 | +.alertify.ajs-basic .ajs-footer { | |
246 | + visibility: hidden; | |
247 | +} | |
248 | +.alertify.ajs-frameless .ajs-header { | |
249 | + position: absolute; | |
250 | + top: 0; | |
251 | + left: 0; | |
252 | + right: 0; | |
253 | + min-height: 60px; | |
254 | + margin: 0; | |
255 | + padding: 0; | |
256 | + opacity: 0; | |
257 | + z-index: 1; | |
258 | +} | |
259 | +.alertify.ajs-frameless .ajs-footer { | |
260 | + display: none; | |
261 | +} | |
262 | +.alertify.ajs-frameless .ajs-body .ajs-content { | |
263 | + position: absolute; | |
264 | + top: 0; | |
265 | + right: 0; | |
266 | + bottom: 0; | |
267 | + left: 0; | |
268 | +} | |
269 | +.alertify.ajs-frameless:not(.ajs-resizable) .ajs-dialog { | |
270 | + padding-top: 0; | |
271 | +} | |
272 | +.alertify.ajs-frameless:not(.ajs-resizable) .ajs-dialog .ajs-commands { | |
273 | + margin-top: 0; | |
274 | +} | |
275 | +.ajs-no-overflow { | |
276 | + overflow: hidden !important; | |
277 | + outline: none; | |
278 | +} | |
279 | +.ajs-no-overflow.ajs-fixed { | |
280 | + position: fixed; | |
281 | + top: 0; | |
282 | + right: 0; | |
283 | + bottom: 0; | |
284 | + left: 0; | |
285 | + overflow-y: scroll!important; | |
286 | +} | |
287 | +.ajs-no-selection, | |
288 | +.ajs-no-selection * { | |
289 | + -webkit-user-select: none; | |
290 | + -moz-user-select: none; | |
291 | + -ms-user-select: none; | |
292 | + user-select: none; | |
293 | +} | |
294 | +@media screen and (max-width: 568px) { | |
295 | + .alertify .ajs-dialog { | |
296 | + min-width: 150px; | |
297 | + } | |
298 | + .alertify:not(.ajs-maximized) .ajs-modal { | |
299 | + padding: 0 5%; | |
300 | + } | |
301 | + .alertify:not(.ajs-maximized).ajs-resizable .ajs-dialog { | |
302 | + min-width: initial; | |
303 | + min-width: auto /*IE fallback*/; | |
304 | + } | |
305 | +} | |
306 | +@-moz-document url-prefix() { | |
307 | + .alertify button:focus { | |
308 | + outline: 1px dotted #3593D2; | |
309 | + } | |
310 | +} | |
311 | +.alertify .ajs-dimmer, | |
312 | +.alertify .ajs-modal { | |
313 | + -webkit-transform: translate3d(0, 0, 0); | |
314 | + transform: translate3d(0, 0, 0); | |
315 | + transition-property: opacity, visibility; | |
316 | + transition-timing-function: linear; | |
317 | + transition-duration: 250ms; | |
318 | +} | |
319 | +.alertify.ajs-hidden .ajs-dimmer, | |
320 | +.alertify.ajs-hidden .ajs-modal { | |
321 | + visibility: hidden; | |
322 | + opacity: 0; | |
323 | +} | |
324 | +.alertify.ajs-in:not(.ajs-hidden) .ajs-dialog { | |
325 | + -webkit-animation-duration: 500ms; | |
326 | + animation-duration: 500ms; | |
327 | +} | |
328 | +.alertify.ajs-out.ajs-hidden .ajs-dialog { | |
329 | + -webkit-animation-duration: 250ms; | |
330 | + animation-duration: 250ms; | |
331 | +} | |
332 | +.alertify .ajs-dialog.ajs-shake { | |
333 | + -webkit-animation-name: ajs-shake; | |
334 | + animation-name: ajs-shake; | |
335 | + -webkit-animation-duration: .1s; | |
336 | + animation-duration: .1s; | |
337 | + -webkit-animation-fill-mode: both; | |
338 | + animation-fill-mode: both; | |
339 | +} | |
340 | +@-webkit-keyframes ajs-shake { | |
341 | + 0%, | |
342 | + 100% { | |
343 | + -webkit-transform: translate3d(0, 0, 0); | |
344 | + transform: translate3d(0, 0, 0); | |
345 | + } | |
346 | + 10%, | |
347 | + 30%, | |
348 | + 50%, | |
349 | + 70%, | |
350 | + 90% { | |
351 | + -webkit-transform: translate3d(-10px, 0, 0); | |
352 | + transform: translate3d(-10px, 0, 0); | |
353 | + } | |
354 | + 20%, | |
355 | + 40%, | |
356 | + 60%, | |
357 | + 80% { | |
358 | + -webkit-transform: translate3d(10px, 0, 0); | |
359 | + transform: translate3d(10px, 0, 0); | |
360 | + } | |
361 | +} | |
362 | +@keyframes ajs-shake { | |
363 | + 0%, | |
364 | + 100% { | |
365 | + -webkit-transform: translate3d(0, 0, 0); | |
366 | + transform: translate3d(0, 0, 0); | |
367 | + } | |
368 | + 10%, | |
369 | + 30%, | |
370 | + 50%, | |
371 | + 70%, | |
372 | + 90% { | |
373 | + -webkit-transform: translate3d(-10px, 0, 0); | |
374 | + transform: translate3d(-10px, 0, 0); | |
375 | + } | |
376 | + 20%, | |
377 | + 40%, | |
378 | + 60%, | |
379 | + 80% { | |
380 | + -webkit-transform: translate3d(10px, 0, 0); | |
381 | + transform: translate3d(10px, 0, 0); | |
382 | + } | |
383 | +} | |
384 | +.alertify.ajs-slide.ajs-in:not(.ajs-hidden) .ajs-dialog { | |
385 | + -webkit-animation-name: ajs-slideIn; | |
386 | + animation-name: ajs-slideIn; | |
387 | + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275); | |
388 | + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275); | |
389 | +} | |
390 | +.alertify.ajs-slide.ajs-out.ajs-hidden .ajs-dialog { | |
391 | + -webkit-animation-name: ajs-slideOut; | |
392 | + animation-name: ajs-slideOut; | |
393 | + -webkit-animation-timing-function: cubic-bezier(0.6, -0.28, 0.735, 0.045); | |
394 | + animation-timing-function: cubic-bezier(0.6, -0.28, 0.735, 0.045); | |
395 | +} | |
396 | +.alertify.ajs-zoom.ajs-in:not(.ajs-hidden) .ajs-dialog { | |
397 | + -webkit-animation-name: ajs-zoomIn; | |
398 | + animation-name: ajs-zoomIn; | |
399 | +} | |
400 | +.alertify.ajs-zoom.ajs-out.ajs-hidden .ajs-dialog { | |
401 | + -webkit-animation-name: ajs-zoomOut; | |
402 | + animation-name: ajs-zoomOut; | |
403 | +} | |
404 | +.alertify.ajs-fade.ajs-in:not(.ajs-hidden) .ajs-dialog { | |
405 | + -webkit-animation-name: ajs-fadeIn; | |
406 | + animation-name: ajs-fadeIn; | |
407 | +} | |
408 | +.alertify.ajs-fade.ajs-out.ajs-hidden .ajs-dialog { | |
409 | + -webkit-animation-name: ajs-fadeOut; | |
410 | + animation-name: ajs-fadeOut; | |
411 | +} | |
412 | +.alertify.ajs-pulse.ajs-in:not(.ajs-hidden) .ajs-dialog { | |
413 | + -webkit-animation-name: ajs-pulseIn; | |
414 | + animation-name: ajs-pulseIn; | |
415 | +} | |
416 | +.alertify.ajs-pulse.ajs-out.ajs-hidden .ajs-dialog { | |
417 | + -webkit-animation-name: ajs-pulseOut; | |
418 | + animation-name: ajs-pulseOut; | |
419 | +} | |
420 | +.alertify.ajs-flipx.ajs-in:not(.ajs-hidden) .ajs-dialog { | |
421 | + -webkit-animation-name: ajs-flipInX; | |
422 | + animation-name: ajs-flipInX; | |
423 | +} | |
424 | +.alertify.ajs-flipx.ajs-out.ajs-hidden .ajs-dialog { | |
425 | + -webkit-animation-name: ajs-flipOutX; | |
426 | + animation-name: ajs-flipOutX; | |
427 | +} | |
428 | +.alertify.ajs-flipy.ajs-in:not(.ajs-hidden) .ajs-dialog { | |
429 | + -webkit-animation-name: ajs-flipInY; | |
430 | + animation-name: ajs-flipInY; | |
431 | +} | |
432 | +.alertify.ajs-flipy.ajs-out.ajs-hidden .ajs-dialog { | |
433 | + -webkit-animation-name: ajs-flipOutY; | |
434 | + animation-name: ajs-flipOutY; | |
435 | +} | |
436 | +@-webkit-keyframes ajs-pulseIn { | |
437 | + 0%, | |
438 | + 20%, | |
439 | + 40%, | |
440 | + 60%, | |
441 | + 80%, | |
442 | + 100% { | |
443 | + transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); | |
444 | + } | |
445 | + 0% { | |
446 | + opacity: 0; | |
447 | + -webkit-transform: scale3d(0.3, 0.3, 0.3); | |
448 | + transform: scale3d(0.3, 0.3, 0.3); | |
449 | + } | |
450 | + 20% { | |
451 | + -webkit-transform: scale3d(1.1, 1.1, 1.1); | |
452 | + transform: scale3d(1.1, 1.1, 1.1); | |
453 | + } | |
454 | + 40% { | |
455 | + -webkit-transform: scale3d(0.9, 0.9, 0.9); | |
456 | + transform: scale3d(0.9, 0.9, 0.9); | |
457 | + } | |
458 | + 60% { | |
459 | + opacity: 1; | |
460 | + -webkit-transform: scale3d(1.03, 1.03, 1.03); | |
461 | + transform: scale3d(1.03, 1.03, 1.03); | |
462 | + } | |
463 | + 80% { | |
464 | + -webkit-transform: scale3d(0.97, 0.97, 0.97); | |
465 | + transform: scale3d(0.97, 0.97, 0.97); | |
466 | + } | |
467 | + 100% { | |
468 | + opacity: 1; | |
469 | + -webkit-transform: scale3d(1, 1, 1); | |
470 | + transform: scale3d(1, 1, 1); | |
471 | + } | |
472 | +} | |
473 | +@keyframes ajs-pulseIn { | |
474 | + 0%, | |
475 | + 20%, | |
476 | + 40%, | |
477 | + 60%, | |
478 | + 80%, | |
479 | + 100% { | |
480 | + transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); | |
481 | + } | |
482 | + 0% { | |
483 | + opacity: 0; | |
484 | + -webkit-transform: scale3d(0.3, 0.3, 0.3); | |
485 | + transform: scale3d(0.3, 0.3, 0.3); | |
486 | + } | |
487 | + 20% { | |
488 | + -webkit-transform: scale3d(1.1, 1.1, 1.1); | |
489 | + transform: scale3d(1.1, 1.1, 1.1); | |
490 | + } | |
491 | + 40% { | |
492 | + -webkit-transform: scale3d(0.9, 0.9, 0.9); | |
493 | + transform: scale3d(0.9, 0.9, 0.9); | |
494 | + } | |
495 | + 60% { | |
496 | + opacity: 1; | |
497 | + -webkit-transform: scale3d(1.03, 1.03, 1.03); | |
498 | + transform: scale3d(1.03, 1.03, 1.03); | |
499 | + } | |
500 | + 80% { | |
501 | + -webkit-transform: scale3d(0.97, 0.97, 0.97); | |
502 | + transform: scale3d(0.97, 0.97, 0.97); | |
503 | + } | |
504 | + 100% { | |
505 | + opacity: 1; | |
506 | + -webkit-transform: scale3d(1, 1, 1); | |
507 | + transform: scale3d(1, 1, 1); | |
508 | + } | |
509 | +} | |
510 | +@-webkit-keyframes ajs-pulseOut { | |
511 | + 20% { | |
512 | + -webkit-transform: scale3d(0.9, 0.9, 0.9); | |
513 | + transform: scale3d(0.9, 0.9, 0.9); | |
514 | + } | |
515 | + 50%, | |
516 | + 55% { | |
517 | + opacity: 1; | |
518 | + -webkit-transform: scale3d(1.1, 1.1, 1.1); | |
519 | + transform: scale3d(1.1, 1.1, 1.1); | |
520 | + } | |
521 | + 100% { | |
522 | + opacity: 0; | |
523 | + -webkit-transform: scale3d(0.3, 0.3, 0.3); | |
524 | + transform: scale3d(0.3, 0.3, 0.3); | |
525 | + } | |
526 | +} | |
527 | +@keyframes ajs-pulseOut { | |
528 | + 20% { | |
529 | + -webkit-transform: scale3d(0.9, 0.9, 0.9); | |
530 | + transform: scale3d(0.9, 0.9, 0.9); | |
531 | + } | |
532 | + 50%, | |
533 | + 55% { | |
534 | + opacity: 1; | |
535 | + -webkit-transform: scale3d(1.1, 1.1, 1.1); | |
536 | + transform: scale3d(1.1, 1.1, 1.1); | |
537 | + } | |
538 | + 100% { | |
539 | + opacity: 0; | |
540 | + -webkit-transform: scale3d(0.3, 0.3, 0.3); | |
541 | + transform: scale3d(0.3, 0.3, 0.3); | |
542 | + } | |
543 | +} | |
544 | +@-webkit-keyframes ajs-zoomIn { | |
545 | + 0% { | |
546 | + opacity: 0; | |
547 | + -webkit-transform: scale3d(0.25, 0.25, 0.25); | |
548 | + transform: scale3d(0.25, 0.25, 0.25); | |
549 | + } | |
550 | + 100% { | |
551 | + opacity: 1; | |
552 | + -webkit-transform: scale3d(1, 1, 1); | |
553 | + transform: scale3d(1, 1, 1); | |
554 | + } | |
555 | +} | |
556 | +@keyframes ajs-zoomIn { | |
557 | + 0% { | |
558 | + opacity: 0; | |
559 | + -webkit-transform: scale3d(0.25, 0.25, 0.25); | |
560 | + transform: scale3d(0.25, 0.25, 0.25); | |
561 | + } | |
562 | + 100% { | |
563 | + opacity: 1; | |
564 | + -webkit-transform: scale3d(1, 1, 1); | |
565 | + transform: scale3d(1, 1, 1); | |
566 | + } | |
567 | +} | |
568 | +@-webkit-keyframes ajs-zoomOut { | |
569 | + 0% { | |
570 | + opacity: 1; | |
571 | + -webkit-transform: scale3d(1, 1, 1); | |
572 | + transform: scale3d(1, 1, 1); | |
573 | + } | |
574 | + 100% { | |
575 | + opacity: 0; | |
576 | + -webkit-transform: scale3d(0.25, 0.25, 0.25); | |
577 | + transform: scale3d(0.25, 0.25, 0.25); | |
578 | + } | |
579 | +} | |
580 | +@keyframes ajs-zoomOut { | |
581 | + 0% { | |
582 | + opacity: 1; | |
583 | + -webkit-transform: scale3d(1, 1, 1); | |
584 | + transform: scale3d(1, 1, 1); | |
585 | + } | |
586 | + 100% { | |
587 | + opacity: 0; | |
588 | + -webkit-transform: scale3d(0.25, 0.25, 0.25); | |
589 | + transform: scale3d(0.25, 0.25, 0.25); | |
590 | + } | |
591 | +} | |
592 | +@-webkit-keyframes ajs-fadeIn { | |
593 | + 0% { | |
594 | + opacity: 0; | |
595 | + } | |
596 | + 100% { | |
597 | + opacity: 1; | |
598 | + } | |
599 | +} | |
600 | +@keyframes ajs-fadeIn { | |
601 | + 0% { | |
602 | + opacity: 0; | |
603 | + } | |
604 | + 100% { | |
605 | + opacity: 1; | |
606 | + } | |
607 | +} | |
608 | +@-webkit-keyframes ajs-fadeOut { | |
609 | + 0% { | |
610 | + opacity: 1; | |
611 | + } | |
612 | + 100% { | |
613 | + opacity: 0; | |
614 | + } | |
615 | +} | |
616 | +@keyframes ajs-fadeOut { | |
617 | + 0% { | |
618 | + opacity: 1; | |
619 | + } | |
620 | + 100% { | |
621 | + opacity: 0; | |
622 | + } | |
623 | +} | |
624 | +@-webkit-keyframes ajs-flipInX { | |
625 | + 0% { | |
626 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); | |
627 | + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); | |
628 | + transition-timing-function: ease-in; | |
629 | + opacity: 0; | |
630 | + } | |
631 | + 40% { | |
632 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); | |
633 | + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); | |
634 | + transition-timing-function: ease-in; | |
635 | + } | |
636 | + 60% { | |
637 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg); | |
638 | + transform: perspective(400px) rotate3d(1, 0, 0, 10deg); | |
639 | + opacity: 1; | |
640 | + } | |
641 | + 80% { | |
642 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg); | |
643 | + transform: perspective(400px) rotate3d(1, 0, 0, -5deg); | |
644 | + } | |
645 | + 100% { | |
646 | + -webkit-transform: perspective(400px); | |
647 | + transform: perspective(400px); | |
648 | + } | |
649 | +} | |
650 | +@keyframes ajs-flipInX { | |
651 | + 0% { | |
652 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); | |
653 | + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); | |
654 | + transition-timing-function: ease-in; | |
655 | + opacity: 0; | |
656 | + } | |
657 | + 40% { | |
658 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); | |
659 | + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); | |
660 | + transition-timing-function: ease-in; | |
661 | + } | |
662 | + 60% { | |
663 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg); | |
664 | + transform: perspective(400px) rotate3d(1, 0, 0, 10deg); | |
665 | + opacity: 1; | |
666 | + } | |
667 | + 80% { | |
668 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg); | |
669 | + transform: perspective(400px) rotate3d(1, 0, 0, -5deg); | |
670 | + } | |
671 | + 100% { | |
672 | + -webkit-transform: perspective(400px); | |
673 | + transform: perspective(400px); | |
674 | + } | |
675 | +} | |
676 | +@-webkit-keyframes ajs-flipOutX { | |
677 | + 0% { | |
678 | + -webkit-transform: perspective(400px); | |
679 | + transform: perspective(400px); | |
680 | + } | |
681 | + 30% { | |
682 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); | |
683 | + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); | |
684 | + opacity: 1; | |
685 | + } | |
686 | + 100% { | |
687 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); | |
688 | + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); | |
689 | + opacity: 0; | |
690 | + } | |
691 | +} | |
692 | +@keyframes ajs-flipOutX { | |
693 | + 0% { | |
694 | + -webkit-transform: perspective(400px); | |
695 | + transform: perspective(400px); | |
696 | + } | |
697 | + 30% { | |
698 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); | |
699 | + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); | |
700 | + opacity: 1; | |
701 | + } | |
702 | + 100% { | |
703 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); | |
704 | + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); | |
705 | + opacity: 0; | |
706 | + } | |
707 | +} | |
708 | +@-webkit-keyframes ajs-flipInY { | |
709 | + 0% { | |
710 | + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg); | |
711 | + transform: perspective(400px) rotate3d(0, 1, 0, 90deg); | |
712 | + transition-timing-function: ease-in; | |
713 | + opacity: 0; | |
714 | + } | |
715 | + 40% { | |
716 | + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg); | |
717 | + transform: perspective(400px) rotate3d(0, 1, 0, -20deg); | |
718 | + transition-timing-function: ease-in; | |
719 | + } | |
720 | + 60% { | |
721 | + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg); | |
722 | + transform: perspective(400px) rotate3d(0, 1, 0, 10deg); | |
723 | + opacity: 1; | |
724 | + } | |
725 | + 80% { | |
726 | + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg); | |
727 | + transform: perspective(400px) rotate3d(0, 1, 0, -5deg); | |
728 | + } | |
729 | + 100% { | |
730 | + -webkit-transform: perspective(400px); | |
731 | + transform: perspective(400px); | |
732 | + } | |
733 | +} | |
734 | +@keyframes ajs-flipInY { | |
735 | + 0% { | |
736 | + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg); | |
737 | + transform: perspective(400px) rotate3d(0, 1, 0, 90deg); | |
738 | + transition-timing-function: ease-in; | |
739 | + opacity: 0; | |
740 | + } | |
741 | + 40% { | |
742 | + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg); | |
743 | + transform: perspective(400px) rotate3d(0, 1, 0, -20deg); | |
744 | + transition-timing-function: ease-in; | |
745 | + } | |
746 | + 60% { | |
747 | + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg); | |
748 | + transform: perspective(400px) rotate3d(0, 1, 0, 10deg); | |
749 | + opacity: 1; | |
750 | + } | |
751 | + 80% { | |
752 | + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg); | |
753 | + transform: perspective(400px) rotate3d(0, 1, 0, -5deg); | |
754 | + } | |
755 | + 100% { | |
756 | + -webkit-transform: perspective(400px); | |
757 | + transform: perspective(400px); | |
758 | + } | |
759 | +} | |
760 | +@-webkit-keyframes ajs-flipOutY { | |
761 | + 0% { | |
762 | + -webkit-transform: perspective(400px); | |
763 | + transform: perspective(400px); | |
764 | + } | |
765 | + 30% { | |
766 | + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg); | |
767 | + transform: perspective(400px) rotate3d(0, 1, 0, -15deg); | |
768 | + opacity: 1; | |
769 | + } | |
770 | + 100% { | |
771 | + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg); | |
772 | + transform: perspective(400px) rotate3d(0, 1, 0, 90deg); | |
773 | + opacity: 0; | |
774 | + } | |
775 | +} | |
776 | +@keyframes ajs-flipOutY { | |
777 | + 0% { | |
778 | + -webkit-transform: perspective(400px); | |
779 | + transform: perspective(400px); | |
780 | + } | |
781 | + 30% { | |
782 | + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg); | |
783 | + transform: perspective(400px) rotate3d(0, 1, 0, -15deg); | |
784 | + opacity: 1; | |
785 | + } | |
786 | + 100% { | |
787 | + -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg); | |
788 | + transform: perspective(400px) rotate3d(0, 1, 0, 90deg); | |
789 | + opacity: 0; | |
790 | + } | |
791 | +} | |
792 | +@-webkit-keyframes ajs-slideIn { | |
793 | + 0% { | |
794 | + margin-top: -100%; | |
795 | + } | |
796 | + 100% { | |
797 | + margin-top: 5%; | |
798 | + } | |
799 | +} | |
800 | +@keyframes ajs-slideIn { | |
801 | + 0% { | |
802 | + margin-top: -100%; | |
803 | + } | |
804 | + 100% { | |
805 | + margin-top: 5%; | |
806 | + } | |
807 | +} | |
808 | +@-webkit-keyframes ajs-slideOut { | |
809 | + 0% { | |
810 | + margin-top: 5%; | |
811 | + } | |
812 | + 100% { | |
813 | + margin-top: -100%; | |
814 | + } | |
815 | +} | |
816 | +@keyframes ajs-slideOut { | |
817 | + 0% { | |
818 | + margin-top: 5%; | |
819 | + } | |
820 | + 100% { | |
821 | + margin-top: -100%; | |
822 | + } | |
823 | +} | |
824 | +.alertify-notifier { | |
825 | + position: fixed; | |
826 | + width: 0; | |
827 | + overflow: visible; | |
828 | + z-index: 1982; | |
829 | + -webkit-transform: translate3d(0, 0, 0); | |
830 | + transform: translate3d(0, 0, 0); | |
831 | +} | |
832 | +.alertify-notifier .ajs-message { | |
833 | + position: relative; | |
834 | + width: 260px; | |
835 | + max-height: 0; | |
836 | + padding: 0; | |
837 | + opacity: 0; | |
838 | + margin: 0; | |
839 | + -webkit-transform: translate3d(0, 0, 0); | |
840 | + transform: translate3d(0, 0, 0); | |
841 | + transition-duration: 250ms; | |
842 | + transition-timing-function: linear; | |
843 | +} | |
844 | +.alertify-notifier .ajs-message.ajs-visible { | |
845 | + transition-duration: 500ms; | |
846 | + transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275); | |
847 | + opacity: 1; | |
848 | + max-height: 100%; | |
849 | + padding: 15px; | |
850 | + margin-top: 10px; | |
851 | +} | |
852 | +.alertify-notifier .ajs-message.ajs-success { | |
853 | + background: rgba(91, 189, 114, 0.95); | |
854 | +} | |
855 | +.alertify-notifier .ajs-message.ajs-error { | |
856 | + background: rgba(217, 92, 92, 0.95); | |
857 | +} | |
858 | +.alertify-notifier .ajs-message.ajs-warning { | |
859 | + background: rgba(252, 248, 215, 0.95); | |
860 | +} | |
861 | +.alertify-notifier.ajs-top { | |
862 | + top: 10px; | |
863 | +} | |
864 | +.alertify-notifier.ajs-bottom { | |
865 | + bottom: 10px; | |
866 | +} | |
867 | +.alertify-notifier.ajs-right { | |
868 | + right: 10px; | |
869 | +} | |
870 | +.alertify-notifier.ajs-right .ajs-message { | |
871 | + right: -320px; | |
872 | +} | |
873 | +.alertify-notifier.ajs-right .ajs-message.ajs-visible { | |
874 | + right: 290px; | |
875 | +} | |
876 | +.alertify-notifier.ajs-left { | |
877 | + left: 10px; | |
878 | +} | |
879 | +.alertify-notifier.ajs-left .ajs-message { | |
880 | + left: -300px; | |
881 | +} | |
882 | +.alertify-notifier.ajs-left .ajs-message.ajs-visible { | |
883 | + left: 0; | |
884 | +} | ... | ... |
... | ... | @@ -0,0 +1,6 @@ |
1 | +/** | |
2 | + * alertifyjs 1.8.0 http://alertifyjs.com | |
3 | + * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. | |
4 | + * Copyright 2016 Mohammad Younes <Mohammad@alertifyjs.com> (http://alertifyjs.com) | |
5 | + * Licensed under GPL 3 <https://opensource.org/licenses/gpl-3.0>*/ | |
6 | +.alertify .ajs-dimmer,.alertify .ajs-modal{position:fixed;padding:0;z-index:1981;top:0;right:0;bottom:0;left:0}.alertify .ajs-dimmer{margin:0;background-color:#252525;opacity:.5}.alertify .ajs-modal{overflow-y:auto}.alertify .ajs-dialog{position:relative;margin:5% auto;min-height:110px;max-width:500px;padding:24px 24px 0;outline:0;background-color:#fff}.alertify .ajs-dialog.ajs-capture:before{content:'';position:absolute;top:0;right:0;bottom:0;left:0;display:block;z-index:1}.alertify .ajs-reset{position:absolute!important;display:inline!important;width:0!important;height:0!important;opacity:0!important}.alertify .ajs-commands{position:absolute;right:4px;margin:-14px 24px 0 0;z-index:2}.alertify .ajs-commands button{display:none;width:10px;height:10px;margin-left:10px;padding:10px;border:0;background-color:transparent;background-repeat:no-repeat;background-position:center;cursor:pointer}.alertify .ajs-commands button.ajs-close{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMy8xNOrZqugAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAAh0lEQVQYlY2QsQ0EIQwEB9cBAR1CJUaI/gigDnwR6NBL/7/xWLNrZ2b8EwGotVpr7eOitWa1VjugiNB7R1UPrKrWe0dEAHBbXUqxMQbeewDmnHjvyTm7C3zDwAUd9c63YQdUVdu6EAJzzquz7HXvTiklt+H9DQFYaxFjvDqllFyMkbXWvfpXHjJrWFgdBq/hAAAAAElFTkSuQmCC)}.alertify .ajs-commands button.ajs-maximize{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMy8xNOrZqugAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAAOUlEQVQYlWP8//8/AzGAhYGBgaG4uBiv6t7eXkYmooxjYGAgWiELsvHYFMCcRX2rSXcjoSBiJDbAAeD+EGu+8BZcAAAAAElFTkSuQmCC)}.alertify .ajs-header{margin:-24px -24px 0;padding:16px 24px;background-color:#fff}.alertify .ajs-body{min-height:56px}.alertify .ajs-body .ajs-content{padding:16px 24px 16px 16px}.alertify .ajs-footer{padding:4px;margin-left:-24px;margin-right:-24px;min-height:43px;background-color:#fff}.alertify.ajs-maximized .ajs-dialog,.alertify.ajs-no-padding:not(.ajs-maximized) .ajs-body .ajs-content,.alertify.ajs-resizable .ajs-dialog{padding:0}.alertify .ajs-footer .ajs-buttons.ajs-auxiliary .ajs-button,.alertify .ajs-footer .ajs-buttons.ajs-primary .ajs-button{margin:4px}.alertify .ajs-footer .ajs-buttons.ajs-primary{text-align:right}.alertify .ajs-footer .ajs-buttons.ajs-auxiliary{float:left;clear:none;text-align:left}.alertify .ajs-footer .ajs-buttons .ajs-button{min-width:88px;min-height:35px}.alertify .ajs-handle{position:absolute;display:none;width:10px;height:10px;right:0;bottom:0;z-index:1;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMS8xNEDQYmMAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAAQ0lEQVQYlaXNMQoAIAxD0dT7H657l0KX3iJuUlBUNOsPPCGJm7VDp6ryeMxMuDsAQH7owW3pyn3RS26iKxERMLN3ugOaAkaL3sWVigAAAABJRU5ErkJggg==);-webkit-transform:scaleX(1);transform:scaleX(1);cursor:se-resize}.alertify.ajs-no-overflow .ajs-body .ajs-content{overflow:hidden!important}.alertify.ajs-no-padding.ajs-maximized .ajs-body .ajs-content{left:0;right:0;padding:0}.alertify.ajs-no-padding:not(.ajs-maximized) .ajs-body{margin-left:-24px;margin-right:-24px}.alertify.ajs-no-padding.ajs-resizable .ajs-body .ajs-content{left:0;right:0}.alertify.ajs-closable .ajs-commands button.ajs-close,.alertify.ajs-maximizable .ajs-commands button.ajs-maximize,.alertify.ajs-maximizable .ajs-commands button.ajs-restore{display:inline-block}.alertify.ajs-maximized .ajs-dialog{width:100%!important;height:100%!important;max-width:none!important;margin:0 auto!important;top:0!important;left:0!important}.alertify.ajs-maximized.ajs-modeless .ajs-modal{position:fixed!important;min-height:100%!important;max-height:none!important;margin:0!important}.alertify.ajs-maximized .ajs-commands button.ajs-maximize{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMy8xNOrZqugAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAASklEQVQYlZWQ0QkAMQhDtXRincOZX78KVtrDCwgqJNEoIB3MPLj7lRUROlpyVXGzby6zWuY+kz6tj5sBMTMAyVV3/595RbOh3cAXsww1raeiOcoAAAAASUVORK5CYII=)}.alertify.ajs-maximized .ajs-commands,.alertify.ajs-resizable .ajs-commands{margin:14px 24px 0 0}.alertify.ajs-maximized .ajs-header,.alertify.ajs-resizable .ajs-header{position:absolute;top:0;left:0;right:0;margin:0;padding:16px 24px}.alertify.ajs-maximized .ajs-body,.alertify.ajs-resizable .ajs-body{min-height:224px;display:inline-block}.alertify.ajs-maximized .ajs-body .ajs-content,.alertify.ajs-resizable .ajs-body .ajs-content{position:absolute;top:50px;right:24px;bottom:50px;left:24px;overflow:auto}.alertify.ajs-maximized .ajs-footer,.alertify.ajs-resizable .ajs-footer{position:absolute;left:0;right:0;bottom:0;margin:0}.alertify.ajs-resizable:not(.ajs-maximized) .ajs-dialog{min-width:548px}.alertify.ajs-resizable:not(.ajs-maximized) .ajs-handle{display:block}.alertify.ajs-movable:not(.ajs-maximized) .ajs-header{cursor:move}.alertify.ajs-modeless .ajs-dimmer,.alertify.ajs-modeless .ajs-reset{display:none}.alertify.ajs-modeless .ajs-modal{overflow:visible;max-width:none;max-height:0}.alertify.ajs-modeless.ajs-pinnable .ajs-commands button.ajs-pin{display:inline-block;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMy8xNOrZqugAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAAQklEQVQYlcWPMQ4AIAwCqU9u38GbcbHRWN1MvKQDhQFMEpKImGJA0gCgnYw0V0rwxseg5erT4oSkQVI5d9f+e9+xA0NbLpWfitPXAAAAAElFTkSuQmCC)}.alertify.ajs-modeless.ajs-unpinned .ajs-modal{position:absolute}.alertify.ajs-modeless.ajs-unpinned .ajs-commands button.ajs-pin{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMy8xNOrZqugAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAAO0lEQVQYlWP8//8/AzGAiShV6AqLi4txGs+CLoBLMYbC3t5eRmyaWfBZhwwYkX2NTxPRvibKjRhW4wMAhxkYGbLu3pEAAAAASUVORK5CYII=)}.alertify.ajs-modeless:not(.ajs-unpinned) .ajs-body{max-height:500px;overflow:auto}.alertify.ajs-basic .ajs-header{opacity:0}.alertify.ajs-basic .ajs-footer{visibility:hidden}.alertify.ajs-frameless .ajs-header{position:absolute;top:0;left:0;right:0;min-height:60px;margin:0;padding:0;opacity:0;z-index:1}.alertify.ajs-frameless .ajs-footer{display:none}.alertify.ajs-frameless .ajs-body .ajs-content{position:absolute;top:0;right:0;bottom:0;left:0}.alertify.ajs-frameless:not(.ajs-resizable) .ajs-dialog{padding-top:0}.alertify.ajs-frameless:not(.ajs-resizable) .ajs-dialog .ajs-commands{margin-top:0}.ajs-no-overflow{overflow:hidden!important;outline:0}.ajs-no-overflow.ajs-fixed{position:fixed;top:0;right:0;bottom:0;left:0;overflow-y:scroll!important}.ajs-no-selection,.ajs-no-selection *{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media screen and (max-width:568px){.alertify .ajs-dialog{min-width:150px}.alertify:not(.ajs-maximized) .ajs-modal{padding:0 5%}.alertify:not(.ajs-maximized).ajs-resizable .ajs-dialog{min-width:initial;min-width:auto}}@-moz-document url-prefix(){.alertify button:focus{outline:#3593D2 dotted 1px}}.alertify .ajs-dimmer,.alertify .ajs-modal{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);transition-property:opacity,visibility;transition-timing-function:linear;transition-duration:250ms}.alertify.ajs-hidden .ajs-dimmer,.alertify.ajs-hidden .ajs-modal{visibility:hidden;opacity:0}.alertify.ajs-in:not(.ajs-hidden) .ajs-dialog{-webkit-animation-duration:.5s;animation-duration:.5s}.alertify.ajs-out.ajs-hidden .ajs-dialog{-webkit-animation-duration:250ms;animation-duration:250ms}.alertify .ajs-dialog.ajs-shake{-webkit-animation-name:ajs-shake;animation-name:ajs-shake;-webkit-animation-duration:.1s;animation-duration:.1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes ajs-shake{0%,100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes ajs-shake{0%,100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.alertify.ajs-slide.ajs-in:not(.ajs-hidden) .ajs-dialog{-webkit-animation-name:ajs-slideIn;animation-name:ajs-slideIn;-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1.275);animation-timing-function:cubic-bezier(.175,.885,.32,1.275)}.alertify.ajs-slide.ajs-out.ajs-hidden .ajs-dialog{-webkit-animation-name:ajs-slideOut;animation-name:ajs-slideOut;-webkit-animation-timing-function:cubic-bezier(.6,-.28,.735,.045);animation-timing-function:cubic-bezier(.6,-.28,.735,.045)}.alertify.ajs-zoom.ajs-in:not(.ajs-hidden) .ajs-dialog{-webkit-animation-name:ajs-zoomIn;animation-name:ajs-zoomIn}.alertify.ajs-zoom.ajs-out.ajs-hidden .ajs-dialog{-webkit-animation-name:ajs-zoomOut;animation-name:ajs-zoomOut}.alertify.ajs-fade.ajs-in:not(.ajs-hidden) .ajs-dialog{-webkit-animation-name:ajs-fadeIn;animation-name:ajs-fadeIn}.alertify.ajs-fade.ajs-out.ajs-hidden .ajs-dialog{-webkit-animation-name:ajs-fadeOut;animation-name:ajs-fadeOut}.alertify.ajs-pulse.ajs-in:not(.ajs-hidden) .ajs-dialog{-webkit-animation-name:ajs-pulseIn;animation-name:ajs-pulseIn}.alertify.ajs-pulse.ajs-out.ajs-hidden .ajs-dialog{-webkit-animation-name:ajs-pulseOut;animation-name:ajs-pulseOut}.alertify.ajs-flipx.ajs-in:not(.ajs-hidden) .ajs-dialog{-webkit-animation-name:ajs-flipInX;animation-name:ajs-flipInX}.alertify.ajs-flipx.ajs-out.ajs-hidden .ajs-dialog{-webkit-animation-name:ajs-flipOutX;animation-name:ajs-flipOutX}.alertify.ajs-flipy.ajs-in:not(.ajs-hidden) .ajs-dialog{-webkit-animation-name:ajs-flipInY;animation-name:ajs-flipInY}.alertify.ajs-flipy.ajs-out.ajs-hidden .ajs-dialog{-webkit-animation-name:ajs-flipOutY;animation-name:ajs-flipOutY}@-webkit-keyframes ajs-pulseIn{0%,100%,20%,40%,60%,80%{transition-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}100%{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes ajs-pulseIn{0%,100%,20%,40%,60%,80%{transition-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}100%{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@-webkit-keyframes ajs-pulseOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}100%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}@keyframes ajs-pulseOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}100%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}@-webkit-keyframes ajs-zoomIn{0%{opacity:0;-webkit-transform:scale3d(.25,.25,.25);transform:scale3d(.25,.25,.25)}100%{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes ajs-zoomIn{0%{opacity:0;-webkit-transform:scale3d(.25,.25,.25);transform:scale3d(.25,.25,.25)}100%{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@-webkit-keyframes ajs-zoomOut{0%{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}100%{opacity:0;-webkit-transform:scale3d(.25,.25,.25);transform:scale3d(.25,.25,.25)}}@keyframes ajs-zoomOut{0%{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}100%{opacity:0;-webkit-transform:scale3d(.25,.25,.25);transform:scale3d(.25,.25,.25)}}@-webkit-keyframes ajs-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes ajs-fadeIn{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes ajs-fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes ajs-fadeOut{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes ajs-flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotate3d(1,0,0,-5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes ajs-flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotate3d(1,0,0,-5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}@-webkit-keyframes ajs-flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}@keyframes ajs-flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}@-webkit-keyframes ajs-flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotate3d(0,1,0,-20deg);transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotate3d(0,1,0,-5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes ajs-flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotate3d(0,1,0,-20deg);transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotate3d(0,1,0,-5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}@-webkit-keyframes ajs-flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}@keyframes ajs-flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}@-webkit-keyframes ajs-slideIn{0%{margin-top:-100%}100%{margin-top:5%}}@keyframes ajs-slideIn{0%{margin-top:-100%}100%{margin-top:5%}}@-webkit-keyframes ajs-slideOut{0%{margin-top:5%}100%{margin-top:-100%}}@keyframes ajs-slideOut{0%{margin-top:5%}100%{margin-top:-100%}}.alertify-notifier{position:fixed;width:0;overflow:visible;z-index:1982;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.alertify-notifier .ajs-message{position:relative;width:260px;max-height:0;padding:0;opacity:0;margin:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);transition-duration:250ms;transition-timing-function:linear}.alertify-notifier .ajs-message.ajs-visible{transition-duration:.5s;transition-timing-function:cubic-bezier(.175,.885,.32,1.275);opacity:1;max-height:100%;padding:15px;margin-top:10px}.alertify-notifier .ajs-message.ajs-success{background:rgba(91,189,114,.95)}.alertify-notifier .ajs-message.ajs-error{background:rgba(217,92,92,.95)}.alertify-notifier .ajs-message.ajs-warning{background:rgba(252,248,215,.95)}.alertify-notifier.ajs-top{top:10px}.alertify-notifier.ajs-bottom{bottom:10px}.alertify-notifier.ajs-right{right:10px}.alertify-notifier.ajs-right .ajs-message{right:-320px}.alertify-notifier.ajs-right .ajs-message.ajs-visible{right:290px}.alertify-notifier.ajs-left{left:10px}.alertify-notifier.ajs-left .ajs-message{left:-300px}.alertify-notifier.ajs-left .ajs-message.ajs-visible{left:0} | |
0 | 7 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,884 @@ |
1 | +/** | |
2 | + * alertifyjs 1.8.0 http://alertifyjs.com | |
3 | + * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. | |
4 | + * Copyright 2016 Mohammad Younes <Mohammad@alertifyjs.com> (http://alertifyjs.com) | |
5 | + * Licensed under GPL 3 <https://opensource.org/licenses/gpl-3.0>*/ | |
6 | +.alertify .ajs-dimmer { | |
7 | + position: fixed; | |
8 | + z-index: 1981; | |
9 | + top: 0; | |
10 | + left: 0; | |
11 | + bottom: 0; | |
12 | + right: 0; | |
13 | + padding: 0; | |
14 | + margin: 0; | |
15 | + background-color: #252525; | |
16 | + opacity: .5; | |
17 | +} | |
18 | +.alertify .ajs-modal { | |
19 | + position: fixed; | |
20 | + top: 0; | |
21 | + left: 0; | |
22 | + right: 0; | |
23 | + bottom: 0; | |
24 | + padding: 0; | |
25 | + overflow-y: auto; | |
26 | + z-index: 1981; | |
27 | +} | |
28 | +.alertify .ajs-dialog { | |
29 | + position: relative; | |
30 | + margin: 5% auto; | |
31 | + min-height: 110px; | |
32 | + max-width: 500px; | |
33 | + padding: 24px 24px 0 24px; | |
34 | + outline: 0; | |
35 | + background-color: #fff; | |
36 | +} | |
37 | +.alertify .ajs-dialog.ajs-capture:before { | |
38 | + content: ''; | |
39 | + position: absolute; | |
40 | + top: 0; | |
41 | + left: 0; | |
42 | + bottom: 0; | |
43 | + right: 0; | |
44 | + display: block; | |
45 | + z-index: 1; | |
46 | +} | |
47 | +.alertify .ajs-reset { | |
48 | + position: absolute !important; | |
49 | + display: inline !important; | |
50 | + width: 0 !important; | |
51 | + height: 0 !important; | |
52 | + opacity: 0 !important; | |
53 | +} | |
54 | +.alertify .ajs-commands { | |
55 | + position: absolute; | |
56 | + left: 4px; | |
57 | + margin: -14px 0 0 24px; | |
58 | + z-index: 2; | |
59 | +} | |
60 | +.alertify .ajs-commands button { | |
61 | + display: none; | |
62 | + width: 10px; | |
63 | + height: 10px; | |
64 | + margin-right: 10px; | |
65 | + padding: 10px; | |
66 | + border: 0; | |
67 | + background-color: transparent; | |
68 | + background-repeat: no-repeat; | |
69 | + background-position: center; | |
70 | + cursor: pointer; | |
71 | +} | |
72 | +.alertify .ajs-commands button.ajs-close { | |
73 | + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMy8xNOrZqugAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAAh0lEQVQYlY2QsQ0EIQwEB9cBAR1CJUaI/gigDnwR6NBL/7/xWLNrZ2b8EwGotVpr7eOitWa1VjugiNB7R1UPrKrWe0dEAHBbXUqxMQbeewDmnHjvyTm7C3zDwAUd9c63YQdUVdu6EAJzzquz7HXvTiklt+H9DQFYaxFjvDqllFyMkbXWvfpXHjJrWFgdBq/hAAAAAElFTkSuQmCC); | |
74 | +} | |
75 | +.alertify .ajs-commands button.ajs-maximize { | |
76 | + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMy8xNOrZqugAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAAOUlEQVQYlWP8//8/AzGAhYGBgaG4uBiv6t7eXkYmooxjYGAgWiELsvHYFMCcRX2rSXcjoSBiJDbAAeD+EGu+8BZcAAAAAElFTkSuQmCC); | |
77 | +} | |
78 | +.alertify .ajs-header { | |
79 | + margin: -24px; | |
80 | + margin-bottom: 0; | |
81 | + padding: 16px 24px; | |
82 | + background-color: #fff; | |
83 | +} | |
84 | +.alertify .ajs-body { | |
85 | + min-height: 56px; | |
86 | +} | |
87 | +.alertify .ajs-body .ajs-content { | |
88 | + padding: 16px 16px 16px 24px; | |
89 | +} | |
90 | +.alertify .ajs-footer { | |
91 | + padding: 4px; | |
92 | + margin-right: -24px; | |
93 | + margin-left: -24px; | |
94 | + min-height: 43px; | |
95 | + background-color: #fff; | |
96 | +} | |
97 | +.alertify .ajs-footer .ajs-buttons.ajs-primary { | |
98 | + text-align: left; | |
99 | +} | |
100 | +.alertify .ajs-footer .ajs-buttons.ajs-primary .ajs-button { | |
101 | + margin: 4px; | |
102 | +} | |
103 | +.alertify .ajs-footer .ajs-buttons.ajs-auxiliary { | |
104 | + float: right; | |
105 | + clear: none; | |
106 | + text-align: right; | |
107 | +} | |
108 | +.alertify .ajs-footer .ajs-buttons.ajs-auxiliary .ajs-button { | |
109 | + margin: 4px; | |
110 | +} | |
111 | +.alertify .ajs-footer .ajs-buttons .ajs-button { | |
112 | + min-width: 88px; | |
113 | + min-height: 35px; | |
114 | +} | |
115 | +.alertify .ajs-handle { | |
116 | + position: absolute; | |
117 | + display: none; | |
118 | + width: 10px; | |
119 | + height: 10px; | |
120 | + left: 0; | |
121 | + bottom: 0; | |
122 | + z-index: 1; | |
123 | + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMS8xNEDQYmMAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAAQ0lEQVQYlaXNMQoAIAxD0dT7H657l0KX3iJuUlBUNOsPPCGJm7VDp6ryeMxMuDsAQH7owW3pyn3RS26iKxERMLN3ugOaAkaL3sWVigAAAABJRU5ErkJggg==); | |
124 | + -webkit-transform: scaleX(-1); | |
125 | + transform: scaleX(-1); | |
126 | + cursor: sw-resize; | |
127 | +} | |
128 | +.alertify.ajs-no-overflow .ajs-body .ajs-content { | |
129 | + overflow: hidden !important; | |
130 | +} | |
131 | +.alertify.ajs-no-padding.ajs-maximized .ajs-body .ajs-content { | |
132 | + right: 0; | |
133 | + left: 0; | |
134 | + padding: 0; | |
135 | +} | |
136 | +.alertify.ajs-no-padding:not(.ajs-maximized) .ajs-body { | |
137 | + margin-right: -24px; | |
138 | + margin-left: -24px; | |
139 | +} | |
140 | +.alertify.ajs-no-padding:not(.ajs-maximized) .ajs-body .ajs-content { | |
141 | + padding: 0; | |
142 | +} | |
143 | +.alertify.ajs-no-padding.ajs-resizable .ajs-body .ajs-content { | |
144 | + right: 0; | |
145 | + left: 0; | |
146 | +} | |
147 | +.alertify.ajs-maximizable .ajs-commands button.ajs-maximize, | |
148 | +.alertify.ajs-maximizable .ajs-commands button.ajs-restore { | |
149 | + display: inline-block; | |
150 | +} | |
151 | +.alertify.ajs-closable .ajs-commands button.ajs-close { | |
152 | + display: inline-block; | |
153 | +} | |
154 | +.alertify.ajs-maximized .ajs-dialog { | |
155 | + width: 100% !important; | |
156 | + height: 100% !important; | |
157 | + max-width: none !important; | |
158 | + margin: 0 auto !important; | |
159 | + top: 0 !important; | |
160 | + right: 0 !important; | |
161 | +} | |
162 | +.alertify.ajs-maximized.ajs-modeless .ajs-modal { | |
163 | + position: fixed !important; | |
164 | + min-height: 100% !important; | |
165 | + max-height: none !important; | |
166 | + margin: 0 !important; | |
167 | +} | |
168 | +.alertify.ajs-maximized .ajs-commands button.ajs-maximize { | |
169 | + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMy8xNOrZqugAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAASklEQVQYlZWQ0QkAMQhDtXRincOZX78KVtrDCwgqJNEoIB3MPLj7lRUROlpyVXGzby6zWuY+kz6tj5sBMTMAyVV3/595RbOh3cAXsww1raeiOcoAAAAASUVORK5CYII=); | |
170 | +} | |
171 | +.alertify.ajs-resizable .ajs-dialog, | |
172 | +.alertify.ajs-maximized .ajs-dialog { | |
173 | + padding: 0; | |
174 | +} | |
175 | +.alertify.ajs-resizable .ajs-commands, | |
176 | +.alertify.ajs-maximized .ajs-commands { | |
177 | + margin: 14px 0 0 24px; | |
178 | +} | |
179 | +.alertify.ajs-resizable .ajs-header, | |
180 | +.alertify.ajs-maximized .ajs-header { | |
181 | + position: absolute; | |
182 | + top: 0; | |
183 | + right: 0; | |
184 | + left: 0; | |
185 | + margin: 0; | |
186 | + padding: 16px 24px; | |
187 | +} | |
188 | +.alertify.ajs-resizable .ajs-body, | |
189 | +.alertify.ajs-maximized .ajs-body { | |
190 | + min-height: 224px; | |
191 | + display: inline-block; | |
192 | +} | |
193 | +.alertify.ajs-resizable .ajs-body .ajs-content, | |
194 | +.alertify.ajs-maximized .ajs-body .ajs-content { | |
195 | + position: absolute; | |
196 | + top: 50px; | |
197 | + left: 24px; | |
198 | + bottom: 50px; | |
199 | + right: 24px; | |
200 | + overflow: auto; | |
201 | +} | |
202 | +.alertify.ajs-resizable .ajs-footer, | |
203 | +.alertify.ajs-maximized .ajs-footer { | |
204 | + position: absolute; | |
205 | + right: 0; | |
206 | + left: 0; | |
207 | + bottom: 0; | |
208 | + margin: 0; | |
209 | +} | |
210 | +.alertify.ajs-resizable:not(.ajs-maximized) .ajs-dialog { | |
211 | + min-width: 548px; | |
212 | +} | |
213 | +.alertify.ajs-resizable:not(.ajs-maximized) .ajs-handle { | |
214 | + display: block; | |
215 | +} | |
216 | +.alertify.ajs-movable:not(.ajs-maximized) .ajs-header { | |
217 | + cursor: move; | |
218 | +} | |
219 | +.alertify.ajs-modeless .ajs-dimmer, | |
220 | +.alertify.ajs-modeless .ajs-reset { | |
221 | + display: none; | |
222 | +} | |
223 | +.alertify.ajs-modeless .ajs-modal { | |
224 | + overflow: visible; | |
225 | + max-width: none; | |
226 | + max-height: 0; | |
227 | +} | |
228 | +.alertify.ajs-modeless.ajs-pinnable .ajs-commands button.ajs-pin { | |
229 | + display: inline-block; | |
230 | + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMy8xNOrZqugAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAAQklEQVQYlcWPMQ4AIAwCqU9u38GbcbHRWN1MvKQDhQFMEpKImGJA0gCgnYw0V0rwxseg5erT4oSkQVI5d9f+e9+xA0NbLpWfitPXAAAAAElFTkSuQmCC); | |
231 | +} | |
232 | +.alertify.ajs-modeless.ajs-unpinned .ajs-modal { | |
233 | + position: absolute; | |
234 | +} | |
235 | +.alertify.ajs-modeless.ajs-unpinned .ajs-commands button.ajs-pin { | |
236 | + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMy8xNOrZqugAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAAO0lEQVQYlWP8//8/AzGAiShV6AqLi4txGs+CLoBLMYbC3t5eRmyaWfBZhwwYkX2NTxPRvibKjRhW4wMAhxkYGbLu3pEAAAAASUVORK5CYII=); | |
237 | +} | |
238 | +.alertify.ajs-modeless:not(.ajs-unpinned) .ajs-body { | |
239 | + max-height: 500px; | |
240 | + overflow: auto; | |
241 | +} | |
242 | +.alertify.ajs-basic .ajs-header { | |
243 | + opacity: 0; | |
244 | +} | |
245 | +.alertify.ajs-basic .ajs-footer { | |
246 | + visibility: hidden; | |
247 | +} | |
248 | +.alertify.ajs-frameless .ajs-header { | |
249 | + position: absolute; | |
250 | + top: 0; | |
251 | + right: 0; | |
252 | + left: 0; | |
253 | + min-height: 60px; | |
254 | + margin: 0; | |
255 | + padding: 0; | |
256 | + opacity: 0; | |
257 | + z-index: 1; | |
258 | +} | |
259 | +.alertify.ajs-frameless .ajs-footer { | |
260 | + display: none; | |
261 | +} | |
262 | +.alertify.ajs-frameless .ajs-body .ajs-content { | |
263 | + position: absolute; | |
264 | + top: 0; | |
265 | + left: 0; | |
266 | + bottom: 0; | |
267 | + right: 0; | |
268 | +} | |
269 | +.alertify.ajs-frameless:not(.ajs-resizable) .ajs-dialog { | |
270 | + padding-top: 0; | |
271 | +} | |
272 | +.alertify.ajs-frameless:not(.ajs-resizable) .ajs-dialog .ajs-commands { | |
273 | + margin-top: 0; | |
274 | +} | |
275 | +.ajs-no-overflow { | |
276 | + overflow: hidden !important; | |
277 | + outline: none; | |
278 | +} | |
279 | +.ajs-no-overflow.ajs-fixed { | |
280 | + position: fixed; | |
281 | + top: 0; | |
282 | + left: 0; | |
283 | + bottom: 0; | |
284 | + right: 0; | |
285 | + overflow-y: scroll!important; | |
286 | +} | |
287 | +.ajs-no-selection, | |
288 | +.ajs-no-selection * { | |
289 | + -webkit-user-select: none; | |
290 | + -moz-user-select: none; | |
291 | + -ms-user-select: none; | |
292 | + user-select: none; | |
293 | +} | |
294 | +@media screen and (max-width: 568px) { | |
295 | + .alertify .ajs-dialog { | |
296 | + min-width: 150px; | |
297 | + } | |
298 | + .alertify:not(.ajs-maximized) .ajs-modal { | |
299 | + padding: 0 5%; | |
300 | + } | |
301 | + .alertify:not(.ajs-maximized).ajs-resizable .ajs-dialog { | |
302 | + min-width: initial; | |
303 | + min-width: auto /*IE fallback*/; | |
304 | + } | |
305 | +} | |
306 | +@-moz-document url-prefix() { | |
307 | + .alertify button:focus { | |
308 | + outline: 1px dotted #3593D2; | |
309 | + } | |
310 | +} | |
311 | +.alertify .ajs-dimmer, | |
312 | +.alertify .ajs-modal { | |
313 | + -webkit-transform: translate3d(0, 0, 0); | |
314 | + transform: translate3d(0, 0, 0); | |
315 | + transition-property: opacity, visibility; | |
316 | + transition-timing-function: linear; | |
317 | + transition-duration: 250ms; | |
318 | +} | |
319 | +.alertify.ajs-hidden .ajs-dimmer, | |
320 | +.alertify.ajs-hidden .ajs-modal { | |
321 | + visibility: hidden; | |
322 | + opacity: 0; | |
323 | +} | |
324 | +.alertify.ajs-in:not(.ajs-hidden) .ajs-dialog { | |
325 | + -webkit-animation-duration: 500ms; | |
326 | + animation-duration: 500ms; | |
327 | +} | |
328 | +.alertify.ajs-out.ajs-hidden .ajs-dialog { | |
329 | + -webkit-animation-duration: 250ms; | |
330 | + animation-duration: 250ms; | |
331 | +} | |
332 | +.alertify .ajs-dialog.ajs-shake { | |
333 | + -webkit-animation-name: ajs-shake; | |
334 | + animation-name: ajs-shake; | |
335 | + -webkit-animation-duration: .1s; | |
336 | + animation-duration: .1s; | |
337 | + -webkit-animation-fill-mode: both; | |
338 | + animation-fill-mode: both; | |
339 | +} | |
340 | +@-webkit-keyframes ajs-shake { | |
341 | + 0%, | |
342 | + 100% { | |
343 | + -webkit-transform: translate3d(0, 0, 0); | |
344 | + transform: translate3d(0, 0, 0); | |
345 | + } | |
346 | + 10%, | |
347 | + 30%, | |
348 | + 50%, | |
349 | + 70%, | |
350 | + 90% { | |
351 | + -webkit-transform: translate3d(10px, 0, 0); | |
352 | + transform: translate3d(10px, 0, 0); | |
353 | + } | |
354 | + 20%, | |
355 | + 40%, | |
356 | + 60%, | |
357 | + 80% { | |
358 | + -webkit-transform: translate3d(-10px, 0, 0); | |
359 | + transform: translate3d(-10px, 0, 0); | |
360 | + } | |
361 | +} | |
362 | +@keyframes ajs-shake { | |
363 | + 0%, | |
364 | + 100% { | |
365 | + -webkit-transform: translate3d(0, 0, 0); | |
366 | + transform: translate3d(0, 0, 0); | |
367 | + } | |
368 | + 10%, | |
369 | + 30%, | |
370 | + 50%, | |
371 | + 70%, | |
372 | + 90% { | |
373 | + -webkit-transform: translate3d(10px, 0, 0); | |
374 | + transform: translate3d(10px, 0, 0); | |
375 | + } | |
376 | + 20%, | |
377 | + 40%, | |
378 | + 60%, | |
379 | + 80% { | |
380 | + -webkit-transform: translate3d(-10px, 0, 0); | |
381 | + transform: translate3d(-10px, 0, 0); | |
382 | + } | |
383 | +} | |
384 | +.alertify.ajs-slide.ajs-in:not(.ajs-hidden) .ajs-dialog { | |
385 | + -webkit-animation-name: ajs-slideIn; | |
386 | + animation-name: ajs-slideIn; | |
387 | + -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275); | |
388 | + animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275); | |
389 | +} | |
390 | +.alertify.ajs-slide.ajs-out.ajs-hidden .ajs-dialog { | |
391 | + -webkit-animation-name: ajs-slideOut; | |
392 | + animation-name: ajs-slideOut; | |
393 | + -webkit-animation-timing-function: cubic-bezier(0.6, -0.28, 0.735, 0.045); | |
394 | + animation-timing-function: cubic-bezier(0.6, -0.28, 0.735, 0.045); | |
395 | +} | |
396 | +.alertify.ajs-zoom.ajs-in:not(.ajs-hidden) .ajs-dialog { | |
397 | + -webkit-animation-name: ajs-zoomIn; | |
398 | + animation-name: ajs-zoomIn; | |
399 | +} | |
400 | +.alertify.ajs-zoom.ajs-out.ajs-hidden .ajs-dialog { | |
401 | + -webkit-animation-name: ajs-zoomOut; | |
402 | + animation-name: ajs-zoomOut; | |
403 | +} | |
404 | +.alertify.ajs-fade.ajs-in:not(.ajs-hidden) .ajs-dialog { | |
405 | + -webkit-animation-name: ajs-fadeIn; | |
406 | + animation-name: ajs-fadeIn; | |
407 | +} | |
408 | +.alertify.ajs-fade.ajs-out.ajs-hidden .ajs-dialog { | |
409 | + -webkit-animation-name: ajs-fadeOut; | |
410 | + animation-name: ajs-fadeOut; | |
411 | +} | |
412 | +.alertify.ajs-pulse.ajs-in:not(.ajs-hidden) .ajs-dialog { | |
413 | + -webkit-animation-name: ajs-pulseIn; | |
414 | + animation-name: ajs-pulseIn; | |
415 | +} | |
416 | +.alertify.ajs-pulse.ajs-out.ajs-hidden .ajs-dialog { | |
417 | + -webkit-animation-name: ajs-pulseOut; | |
418 | + animation-name: ajs-pulseOut; | |
419 | +} | |
420 | +.alertify.ajs-flipx.ajs-in:not(.ajs-hidden) .ajs-dialog { | |
421 | + -webkit-animation-name: ajs-flipInX; | |
422 | + animation-name: ajs-flipInX; | |
423 | +} | |
424 | +.alertify.ajs-flipx.ajs-out.ajs-hidden .ajs-dialog { | |
425 | + -webkit-animation-name: ajs-flipOutX; | |
426 | + animation-name: ajs-flipOutX; | |
427 | +} | |
428 | +.alertify.ajs-flipy.ajs-in:not(.ajs-hidden) .ajs-dialog { | |
429 | + -webkit-animation-name: ajs-flipInY; | |
430 | + animation-name: ajs-flipInY; | |
431 | +} | |
432 | +.alertify.ajs-flipy.ajs-out.ajs-hidden .ajs-dialog { | |
433 | + -webkit-animation-name: ajs-flipOutY; | |
434 | + animation-name: ajs-flipOutY; | |
435 | +} | |
436 | +@-webkit-keyframes ajs-pulseIn { | |
437 | + 0%, | |
438 | + 20%, | |
439 | + 40%, | |
440 | + 60%, | |
441 | + 80%, | |
442 | + 100% { | |
443 | + transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); | |
444 | + } | |
445 | + 0% { | |
446 | + opacity: 0; | |
447 | + -webkit-transform: scale3d(0.3, 0.3, 0.3); | |
448 | + transform: scale3d(0.3, 0.3, 0.3); | |
449 | + } | |
450 | + 20% { | |
451 | + -webkit-transform: scale3d(1.1, 1.1, 1.1); | |
452 | + transform: scale3d(1.1, 1.1, 1.1); | |
453 | + } | |
454 | + 40% { | |
455 | + -webkit-transform: scale3d(0.9, 0.9, 0.9); | |
456 | + transform: scale3d(0.9, 0.9, 0.9); | |
457 | + } | |
458 | + 60% { | |
459 | + opacity: 1; | |
460 | + -webkit-transform: scale3d(1.03, 1.03, 1.03); | |
461 | + transform: scale3d(1.03, 1.03, 1.03); | |
462 | + } | |
463 | + 80% { | |
464 | + -webkit-transform: scale3d(0.97, 0.97, 0.97); | |
465 | + transform: scale3d(0.97, 0.97, 0.97); | |
466 | + } | |
467 | + 100% { | |
468 | + opacity: 1; | |
469 | + -webkit-transform: scale3d(1, 1, 1); | |
470 | + transform: scale3d(1, 1, 1); | |
471 | + } | |
472 | +} | |
473 | +@keyframes ajs-pulseIn { | |
474 | + 0%, | |
475 | + 20%, | |
476 | + 40%, | |
477 | + 60%, | |
478 | + 80%, | |
479 | + 100% { | |
480 | + transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); | |
481 | + } | |
482 | + 0% { | |
483 | + opacity: 0; | |
484 | + -webkit-transform: scale3d(0.3, 0.3, 0.3); | |
485 | + transform: scale3d(0.3, 0.3, 0.3); | |
486 | + } | |
487 | + 20% { | |
488 | + -webkit-transform: scale3d(1.1, 1.1, 1.1); | |
489 | + transform: scale3d(1.1, 1.1, 1.1); | |
490 | + } | |
491 | + 40% { | |
492 | + -webkit-transform: scale3d(0.9, 0.9, 0.9); | |
493 | + transform: scale3d(0.9, 0.9, 0.9); | |
494 | + } | |
495 | + 60% { | |
496 | + opacity: 1; | |
497 | + -webkit-transform: scale3d(1.03, 1.03, 1.03); | |
498 | + transform: scale3d(1.03, 1.03, 1.03); | |
499 | + } | |
500 | + 80% { | |
501 | + -webkit-transform: scale3d(0.97, 0.97, 0.97); | |
502 | + transform: scale3d(0.97, 0.97, 0.97); | |
503 | + } | |
504 | + 100% { | |
505 | + opacity: 1; | |
506 | + -webkit-transform: scale3d(1, 1, 1); | |
507 | + transform: scale3d(1, 1, 1); | |
508 | + } | |
509 | +} | |
510 | +@-webkit-keyframes ajs-pulseOut { | |
511 | + 20% { | |
512 | + -webkit-transform: scale3d(0.9, 0.9, 0.9); | |
513 | + transform: scale3d(0.9, 0.9, 0.9); | |
514 | + } | |
515 | + 50%, | |
516 | + 55% { | |
517 | + opacity: 1; | |
518 | + -webkit-transform: scale3d(1.1, 1.1, 1.1); | |
519 | + transform: scale3d(1.1, 1.1, 1.1); | |
520 | + } | |
521 | + 100% { | |
522 | + opacity: 0; | |
523 | + -webkit-transform: scale3d(0.3, 0.3, 0.3); | |
524 | + transform: scale3d(0.3, 0.3, 0.3); | |
525 | + } | |
526 | +} | |
527 | +@keyframes ajs-pulseOut { | |
528 | + 20% { | |
529 | + -webkit-transform: scale3d(0.9, 0.9, 0.9); | |
530 | + transform: scale3d(0.9, 0.9, 0.9); | |
531 | + } | |
532 | + 50%, | |
533 | + 55% { | |
534 | + opacity: 1; | |
535 | + -webkit-transform: scale3d(1.1, 1.1, 1.1); | |
536 | + transform: scale3d(1.1, 1.1, 1.1); | |
537 | + } | |
538 | + 100% { | |
539 | + opacity: 0; | |
540 | + -webkit-transform: scale3d(0.3, 0.3, 0.3); | |
541 | + transform: scale3d(0.3, 0.3, 0.3); | |
542 | + } | |
543 | +} | |
544 | +@-webkit-keyframes ajs-zoomIn { | |
545 | + 0% { | |
546 | + opacity: 0; | |
547 | + -webkit-transform: scale3d(0.25, 0.25, 0.25); | |
548 | + transform: scale3d(0.25, 0.25, 0.25); | |
549 | + } | |
550 | + 100% { | |
551 | + opacity: 1; | |
552 | + -webkit-transform: scale3d(1, 1, 1); | |
553 | + transform: scale3d(1, 1, 1); | |
554 | + } | |
555 | +} | |
556 | +@keyframes ajs-zoomIn { | |
557 | + 0% { | |
558 | + opacity: 0; | |
559 | + -webkit-transform: scale3d(0.25, 0.25, 0.25); | |
560 | + transform: scale3d(0.25, 0.25, 0.25); | |
561 | + } | |
562 | + 100% { | |
563 | + opacity: 1; | |
564 | + -webkit-transform: scale3d(1, 1, 1); | |
565 | + transform: scale3d(1, 1, 1); | |
566 | + } | |
567 | +} | |
568 | +@-webkit-keyframes ajs-zoomOut { | |
569 | + 0% { | |
570 | + opacity: 1; | |
571 | + -webkit-transform: scale3d(1, 1, 1); | |
572 | + transform: scale3d(1, 1, 1); | |
573 | + } | |
574 | + 100% { | |
575 | + opacity: 0; | |
576 | + -webkit-transform: scale3d(0.25, 0.25, 0.25); | |
577 | + transform: scale3d(0.25, 0.25, 0.25); | |
578 | + } | |
579 | +} | |
580 | +@keyframes ajs-zoomOut { | |
581 | + 0% { | |
582 | + opacity: 1; | |
583 | + -webkit-transform: scale3d(1, 1, 1); | |
584 | + transform: scale3d(1, 1, 1); | |
585 | + } | |
586 | + 100% { | |
587 | + opacity: 0; | |
588 | + -webkit-transform: scale3d(0.25, 0.25, 0.25); | |
589 | + transform: scale3d(0.25, 0.25, 0.25); | |
590 | + } | |
591 | +} | |
592 | +@-webkit-keyframes ajs-fadeIn { | |
593 | + 0% { | |
594 | + opacity: 0; | |
595 | + } | |
596 | + 100% { | |
597 | + opacity: 1; | |
598 | + } | |
599 | +} | |
600 | +@keyframes ajs-fadeIn { | |
601 | + 0% { | |
602 | + opacity: 0; | |
603 | + } | |
604 | + 100% { | |
605 | + opacity: 1; | |
606 | + } | |
607 | +} | |
608 | +@-webkit-keyframes ajs-fadeOut { | |
609 | + 0% { | |
610 | + opacity: 1; | |
611 | + } | |
612 | + 100% { | |
613 | + opacity: 0; | |
614 | + } | |
615 | +} | |
616 | +@keyframes ajs-fadeOut { | |
617 | + 0% { | |
618 | + opacity: 1; | |
619 | + } | |
620 | + 100% { | |
621 | + opacity: 0; | |
622 | + } | |
623 | +} | |
624 | +@-webkit-keyframes ajs-flipInX { | |
625 | + 0% { | |
626 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -90deg); | |
627 | + transform: perspective(400px) rotate3d(1, 0, 0, -90deg); | |
628 | + transition-timing-function: ease-in; | |
629 | + opacity: 0; | |
630 | + } | |
631 | + 40% { | |
632 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 20deg); | |
633 | + transform: perspective(400px) rotate3d(1, 0, 0, 20deg); | |
634 | + transition-timing-function: ease-in; | |
635 | + } | |
636 | + 60% { | |
637 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -10deg); | |
638 | + transform: perspective(400px) rotate3d(1, 0, 0, -10deg); | |
639 | + opacity: 1; | |
640 | + } | |
641 | + 80% { | |
642 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 5deg); | |
643 | + transform: perspective(400px) rotate3d(1, 0, 0, 5deg); | |
644 | + } | |
645 | + 100% { | |
646 | + -webkit-transform: perspective(400px); | |
647 | + transform: perspective(400px); | |
648 | + } | |
649 | +} | |
650 | +@keyframes ajs-flipInX { | |
651 | + 0% { | |
652 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -90deg); | |
653 | + transform: perspective(400px) rotate3d(1, 0, 0, -90deg); | |
654 | + transition-timing-function: ease-in; | |
655 | + opacity: 0; | |
656 | + } | |
657 | + 40% { | |
658 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 20deg); | |
659 | + transform: perspective(400px) rotate3d(1, 0, 0, 20deg); | |
660 | + transition-timing-function: ease-in; | |
661 | + } | |
662 | + 60% { | |
663 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -10deg); | |
664 | + transform: perspective(400px) rotate3d(1, 0, 0, -10deg); | |
665 | + opacity: 1; | |
666 | + } | |
667 | + 80% { | |
668 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 5deg); | |
669 | + transform: perspective(400px) rotate3d(1, 0, 0, 5deg); | |
670 | + } | |
671 | + 100% { | |
672 | + -webkit-transform: perspective(400px); | |
673 | + transform: perspective(400px); | |
674 | + } | |
675 | +} | |
676 | +@-webkit-keyframes ajs-flipOutX { | |
677 | + 0% { | |
678 | + -webkit-transform: perspective(400px); | |
679 | + transform: perspective(400px); | |
680 | + } | |
681 | + 30% { | |
682 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 20deg); | |
683 | + transform: perspective(400px) rotate3d(1, 0, 0, 20deg); | |
684 | + opacity: 1; | |
685 | + } | |
686 | + 100% { | |
687 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -90deg); | |
688 | + transform: perspective(400px) rotate3d(1, 0, 0, -90deg); | |
689 | + opacity: 0; | |
690 | + } | |
691 | +} | |
692 | +@keyframes ajs-flipOutX { | |
693 | + 0% { | |
694 | + -webkit-transform: perspective(400px); | |
695 | + transform: perspective(400px); | |
696 | + } | |
697 | + 30% { | |
698 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 20deg); | |
699 | + transform: perspective(400px) rotate3d(1, 0, 0, 20deg); | |
700 | + opacity: 1; | |
701 | + } | |
702 | + 100% { | |
703 | + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -90deg); | |
704 | + transform: perspective(400px) rotate3d(1, 0, 0, -90deg); | |
705 | + opacity: 0; | |
706 | + } | |
707 | +} | |
708 | +@-webkit-keyframes ajs-flipInY { | |
709 | + 0% { | |
710 | + -webkit-transform: perspective(400px) rotate3d(0, -1, 0, -90deg); | |
711 | + transform: perspective(400px) rotate3d(0, -1, 0, -90deg); | |
712 | + transition-timing-function: ease-in; | |
713 | + opacity: 0; | |
714 | + } | |
715 | + 40% { | |
716 | + -webkit-transform: perspective(400px) rotate3d(0, -1, 0, 20deg); | |
717 | + transform: perspective(400px) rotate3d(0, -1, 0, 20deg); | |
718 | + transition-timing-function: ease-in; | |
719 | + } | |
720 | + 60% { | |
721 | + -webkit-transform: perspective(400px) rotate3d(0, -1, 0, -10deg); | |
722 | + transform: perspective(400px) rotate3d(0, -1, 0, -10deg); | |
723 | + opacity: 1; | |
724 | + } | |
725 | + 80% { | |
726 | + -webkit-transform: perspective(400px) rotate3d(0, -1, 0, 5deg); | |
727 | + transform: perspective(400px) rotate3d(0, -1, 0, 5deg); | |
728 | + } | |
729 | + 100% { | |
730 | + -webkit-transform: perspective(400px); | |
731 | + transform: perspective(400px); | |
732 | + } | |
733 | +} | |
734 | +@keyframes ajs-flipInY { | |
735 | + 0% { | |
736 | + -webkit-transform: perspective(400px) rotate3d(0, -1, 0, -90deg); | |
737 | + transform: perspective(400px) rotate3d(0, -1, 0, -90deg); | |
738 | + transition-timing-function: ease-in; | |
739 | + opacity: 0; | |
740 | + } | |
741 | + 40% { | |
742 | + -webkit-transform: perspective(400px) rotate3d(0, -1, 0, 20deg); | |
743 | + transform: perspective(400px) rotate3d(0, -1, 0, 20deg); | |
744 | + transition-timing-function: ease-in; | |
745 | + } | |
746 | + 60% { | |
747 | + -webkit-transform: perspective(400px) rotate3d(0, -1, 0, -10deg); | |
748 | + transform: perspective(400px) rotate3d(0, -1, 0, -10deg); | |
749 | + opacity: 1; | |
750 | + } | |
751 | + 80% { | |
752 | + -webkit-transform: perspective(400px) rotate3d(0, -1, 0, 5deg); | |
753 | + transform: perspective(400px) rotate3d(0, -1, 0, 5deg); | |
754 | + } | |
755 | + 100% { | |
756 | + -webkit-transform: perspective(400px); | |
757 | + transform: perspective(400px); | |
758 | + } | |
759 | +} | |
760 | +@-webkit-keyframes ajs-flipOutY { | |
761 | + 0% { | |
762 | + -webkit-transform: perspective(400px); | |
763 | + transform: perspective(400px); | |
764 | + } | |
765 | + 30% { | |
766 | + -webkit-transform: perspective(400px) rotate3d(0, -1, 0, 15deg); | |
767 | + transform: perspective(400px) rotate3d(0, -1, 0, 15deg); | |
768 | + opacity: 1; | |
769 | + } | |
770 | + 100% { | |
771 | + -webkit-transform: perspective(400px) rotate3d(0, -1, 0, -90deg); | |
772 | + transform: perspective(400px) rotate3d(0, -1, 0, -90deg); | |
773 | + opacity: 0; | |
774 | + } | |
775 | +} | |
776 | +@keyframes ajs-flipOutY { | |
777 | + 0% { | |
778 | + -webkit-transform: perspective(400px); | |
779 | + transform: perspective(400px); | |
780 | + } | |
781 | + 30% { | |
782 | + -webkit-transform: perspective(400px) rotate3d(0, -1, 0, 15deg); | |
783 | + transform: perspective(400px) rotate3d(0, -1, 0, 15deg); | |
784 | + opacity: 1; | |
785 | + } | |
786 | + 100% { | |
787 | + -webkit-transform: perspective(400px) rotate3d(0, -1, 0, -90deg); | |
788 | + transform: perspective(400px) rotate3d(0, -1, 0, -90deg); | |
789 | + opacity: 0; | |
790 | + } | |
791 | +} | |
792 | +@-webkit-keyframes ajs-slideIn { | |
793 | + 0% { | |
794 | + margin-top: -100%; | |
795 | + } | |
796 | + 100% { | |
797 | + margin-top: 5%; | |
798 | + } | |
799 | +} | |
800 | +@keyframes ajs-slideIn { | |
801 | + 0% { | |
802 | + margin-top: -100%; | |
803 | + } | |
804 | + 100% { | |
805 | + margin-top: 5%; | |
806 | + } | |
807 | +} | |
808 | +@-webkit-keyframes ajs-slideOut { | |
809 | + 0% { | |
810 | + margin-top: 5%; | |
811 | + } | |
812 | + 100% { | |
813 | + margin-top: -100%; | |
814 | + } | |
815 | +} | |
816 | +@keyframes ajs-slideOut { | |
817 | + 0% { | |
818 | + margin-top: 5%; | |
819 | + } | |
820 | + 100% { | |
821 | + margin-top: -100%; | |
822 | + } | |
823 | +} | |
824 | +.alertify-notifier { | |
825 | + position: fixed; | |
826 | + width: 0; | |
827 | + overflow: visible; | |
828 | + z-index: 1982; | |
829 | + -webkit-transform: translate3d(0, 0, 0); | |
830 | + transform: translate3d(0, 0, 0); | |
831 | +} | |
832 | +.alertify-notifier .ajs-message { | |
833 | + position: relative; | |
834 | + width: 260px; | |
835 | + max-height: 0; | |
836 | + padding: 0; | |
837 | + opacity: 0; | |
838 | + margin: 0; | |
839 | + -webkit-transform: translate3d(0, 0, 0); | |
840 | + transform: translate3d(0, 0, 0); | |
841 | + transition-duration: 250ms; | |
842 | + transition-timing-function: linear; | |
843 | +} | |
844 | +.alertify-notifier .ajs-message.ajs-visible { | |
845 | + transition-duration: 500ms; | |
846 | + transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275); | |
847 | + opacity: 1; | |
848 | + max-height: 100%; | |
849 | + padding: 15px; | |
850 | + margin-top: 10px; | |
851 | +} | |
852 | +.alertify-notifier .ajs-message.ajs-success { | |
853 | + background: rgba(91, 189, 114, 0.95); | |
854 | +} | |
855 | +.alertify-notifier .ajs-message.ajs-error { | |
856 | + background: rgba(217, 92, 92, 0.95); | |
857 | +} | |
858 | +.alertify-notifier .ajs-message.ajs-warning { | |
859 | + background: rgba(252, 248, 215, 0.95); | |
860 | +} | |
861 | +.alertify-notifier.ajs-top { | |
862 | + top: 10px; | |
863 | +} | |
864 | +.alertify-notifier.ajs-bottom { | |
865 | + bottom: 10px; | |
866 | +} | |
867 | +.alertify-notifier.ajs-right { | |
868 | + left: 10px; | |
869 | +} | |
870 | +.alertify-notifier.ajs-right .ajs-message { | |
871 | + left: -320px; | |
872 | +} | |
873 | +.alertify-notifier.ajs-right .ajs-message.ajs-visible { | |
874 | + left: 290px; | |
875 | +} | |
876 | +.alertify-notifier.ajs-left { | |
877 | + right: 10px; | |
878 | +} | |
879 | +.alertify-notifier.ajs-left .ajs-message { | |
880 | + right: -300px; | |
881 | +} | |
882 | +.alertify-notifier.ajs-left .ajs-message.ajs-visible { | |
883 | + right: 0; | |
884 | +} | ... | ... |
... | ... | @@ -0,0 +1,6 @@ |
1 | +/** | |
2 | + * alertifyjs 1.8.0 http://alertifyjs.com | |
3 | + * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. | |
4 | + * Copyright 2016 Mohammad Younes <Mohammad@alertifyjs.com> (http://alertifyjs.com) | |
5 | + * Licensed under GPL 3 <https://opensource.org/licenses/gpl-3.0>*/ | |
6 | +.alertify .ajs-dimmer,.alertify .ajs-modal{position:fixed;padding:0;z-index:1981;top:0;left:0;bottom:0;right:0}.alertify .ajs-dimmer{margin:0;background-color:#252525;opacity:.5}.alertify .ajs-modal{overflow-y:auto}.alertify .ajs-dialog{position:relative;margin:5% auto;min-height:110px;max-width:500px;padding:24px 24px 0;outline:0;background-color:#fff}.alertify .ajs-dialog.ajs-capture:before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;display:block;z-index:1}.alertify .ajs-reset{position:absolute!important;display:inline!important;width:0!important;height:0!important;opacity:0!important}.alertify .ajs-commands{position:absolute;left:4px;margin:-14px 0 0 24px;z-index:2}.alertify .ajs-commands button{display:none;width:10px;height:10px;margin-right:10px;padding:10px;border:0;background-color:transparent;background-repeat:no-repeat;background-position:center;cursor:pointer}.alertify .ajs-commands button.ajs-close{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMy8xNOrZqugAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAAh0lEQVQYlY2QsQ0EIQwEB9cBAR1CJUaI/gigDnwR6NBL/7/xWLNrZ2b8EwGotVpr7eOitWa1VjugiNB7R1UPrKrWe0dEAHBbXUqxMQbeewDmnHjvyTm7C3zDwAUd9c63YQdUVdu6EAJzzquz7HXvTiklt+H9DQFYaxFjvDqllFyMkbXWvfpXHjJrWFgdBq/hAAAAAElFTkSuQmCC)}.alertify .ajs-commands button.ajs-maximize{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMy8xNOrZqugAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAAOUlEQVQYlWP8//8/AzGAhYGBgaG4uBiv6t7eXkYmooxjYGAgWiELsvHYFMCcRX2rSXcjoSBiJDbAAeD+EGu+8BZcAAAAAElFTkSuQmCC)}.alertify .ajs-header{margin:-24px -24px 0;padding:16px 24px;background-color:#fff}.alertify .ajs-body{min-height:56px}.alertify .ajs-body .ajs-content{padding:16px 16px 16px 24px}.alertify .ajs-footer{padding:4px;margin-right:-24px;margin-left:-24px;min-height:43px;background-color:#fff}.alertify.ajs-maximized .ajs-dialog,.alertify.ajs-no-padding:not(.ajs-maximized) .ajs-body .ajs-content,.alertify.ajs-resizable .ajs-dialog{padding:0}.alertify .ajs-footer .ajs-buttons.ajs-auxiliary .ajs-button,.alertify .ajs-footer .ajs-buttons.ajs-primary .ajs-button{margin:4px}.alertify .ajs-footer .ajs-buttons.ajs-primary{text-align:left}.alertify .ajs-footer .ajs-buttons.ajs-auxiliary{float:right;clear:none;text-align:right}.alertify .ajs-footer .ajs-buttons .ajs-button{min-width:88px;min-height:35px}.alertify .ajs-handle{position:absolute;display:none;width:10px;height:10px;left:0;bottom:0;z-index:1;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMS8xNEDQYmMAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAAQ0lEQVQYlaXNMQoAIAxD0dT7H657l0KX3iJuUlBUNOsPPCGJm7VDp6ryeMxMuDsAQH7owW3pyn3RS26iKxERMLN3ugOaAkaL3sWVigAAAABJRU5ErkJggg==);-webkit-transform:scaleX(-1);transform:scaleX(-1);cursor:sw-resize}.alertify.ajs-no-overflow .ajs-body .ajs-content{overflow:hidden!important}.alertify.ajs-no-padding.ajs-maximized .ajs-body .ajs-content{right:0;left:0;padding:0}.alertify.ajs-no-padding:not(.ajs-maximized) .ajs-body{margin-right:-24px;margin-left:-24px}.alertify.ajs-no-padding.ajs-resizable .ajs-body .ajs-content{right:0;left:0}.alertify.ajs-closable .ajs-commands button.ajs-close,.alertify.ajs-maximizable .ajs-commands button.ajs-maximize,.alertify.ajs-maximizable .ajs-commands button.ajs-restore{display:inline-block}.alertify.ajs-maximized .ajs-dialog{width:100%!important;height:100%!important;max-width:none!important;margin:0 auto!important;top:0!important;right:0!important}.alertify.ajs-maximized.ajs-modeless .ajs-modal{position:fixed!important;min-height:100%!important;max-height:none!important;margin:0!important}.alertify.ajs-maximized .ajs-commands button.ajs-maximize{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMy8xNOrZqugAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAASklEQVQYlZWQ0QkAMQhDtXRincOZX78KVtrDCwgqJNEoIB3MPLj7lRUROlpyVXGzby6zWuY+kz6tj5sBMTMAyVV3/595RbOh3cAXsww1raeiOcoAAAAASUVORK5CYII=)}.alertify.ajs-maximized .ajs-commands,.alertify.ajs-resizable .ajs-commands{margin:14px 0 0 24px}.alertify.ajs-maximized .ajs-header,.alertify.ajs-resizable .ajs-header{position:absolute;top:0;right:0;left:0;margin:0;padding:16px 24px}.alertify.ajs-maximized .ajs-body,.alertify.ajs-resizable .ajs-body{min-height:224px;display:inline-block}.alertify.ajs-maximized .ajs-body .ajs-content,.alertify.ajs-resizable .ajs-body .ajs-content{position:absolute;top:50px;left:24px;bottom:50px;right:24px;overflow:auto}.alertify.ajs-maximized .ajs-footer,.alertify.ajs-resizable .ajs-footer{position:absolute;right:0;left:0;bottom:0;margin:0}.alertify.ajs-resizable:not(.ajs-maximized) .ajs-dialog{min-width:548px}.alertify.ajs-resizable:not(.ajs-maximized) .ajs-handle{display:block}.alertify.ajs-movable:not(.ajs-maximized) .ajs-header{cursor:move}.alertify.ajs-modeless .ajs-dimmer,.alertify.ajs-modeless .ajs-reset{display:none}.alertify.ajs-modeless .ajs-modal{overflow:visible;max-width:none;max-height:0}.alertify.ajs-modeless.ajs-pinnable .ajs-commands button.ajs-pin{display:inline-block;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMy8xNOrZqugAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAAQklEQVQYlcWPMQ4AIAwCqU9u38GbcbHRWN1MvKQDhQFMEpKImGJA0gCgnYw0V0rwxseg5erT4oSkQVI5d9f+e9+xA0NbLpWfitPXAAAAAElFTkSuQmCC)}.alertify.ajs-modeless.ajs-unpinned .ajs-modal{position:absolute}.alertify.ajs-modeless.ajs-unpinned .ajs-commands button.ajs-pin{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xMy8xNOrZqugAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAAO0lEQVQYlWP8//8/AzGAiShV6AqLi4txGs+CLoBLMYbC3t5eRmyaWfBZhwwYkX2NTxPRvibKjRhW4wMAhxkYGbLu3pEAAAAASUVORK5CYII=)}.alertify.ajs-modeless:not(.ajs-unpinned) .ajs-body{max-height:500px;overflow:auto}.alertify.ajs-basic .ajs-header{opacity:0}.alertify.ajs-basic .ajs-footer{visibility:hidden}.alertify.ajs-frameless .ajs-header{position:absolute;top:0;right:0;left:0;min-height:60px;margin:0;padding:0;opacity:0;z-index:1}.alertify.ajs-frameless .ajs-footer{display:none}.alertify.ajs-frameless .ajs-body .ajs-content{position:absolute;top:0;left:0;bottom:0;right:0}.alertify.ajs-frameless:not(.ajs-resizable) .ajs-dialog{padding-top:0}.alertify.ajs-frameless:not(.ajs-resizable) .ajs-dialog .ajs-commands{margin-top:0}.ajs-no-overflow{overflow:hidden!important;outline:0}.ajs-no-overflow.ajs-fixed{position:fixed;top:0;left:0;bottom:0;right:0;overflow-y:scroll!important}.ajs-no-selection,.ajs-no-selection *{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media screen and (max-width:568px){.alertify .ajs-dialog{min-width:150px}.alertify:not(.ajs-maximized) .ajs-modal{padding:0 5%}.alertify:not(.ajs-maximized).ajs-resizable .ajs-dialog{min-width:initial;min-width:auto}}@-moz-document url-prefix(){.alertify button:focus{outline:#3593D2 dotted 1px}}.alertify .ajs-dimmer,.alertify .ajs-modal{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);transition-property:opacity,visibility;transition-timing-function:linear;transition-duration:250ms}.alertify.ajs-hidden .ajs-dimmer,.alertify.ajs-hidden .ajs-modal{visibility:hidden;opacity:0}.alertify.ajs-in:not(.ajs-hidden) .ajs-dialog{-webkit-animation-duration:.5s;animation-duration:.5s}.alertify.ajs-out.ajs-hidden .ajs-dialog{-webkit-animation-duration:250ms;animation-duration:250ms}.alertify .ajs-dialog.ajs-shake{-webkit-animation-name:ajs-shake;animation-name:ajs-shake;-webkit-animation-duration:.1s;animation-duration:.1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes ajs-shake{0%,100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}}@keyframes ajs-shake{0%,100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}}.alertify.ajs-slide.ajs-in:not(.ajs-hidden) .ajs-dialog{-webkit-animation-name:ajs-slideIn;animation-name:ajs-slideIn;-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1.275);animation-timing-function:cubic-bezier(.175,.885,.32,1.275)}.alertify.ajs-slide.ajs-out.ajs-hidden .ajs-dialog{-webkit-animation-name:ajs-slideOut;animation-name:ajs-slideOut;-webkit-animation-timing-function:cubic-bezier(.6,-.28,.735,.045);animation-timing-function:cubic-bezier(.6,-.28,.735,.045)}.alertify.ajs-zoom.ajs-in:not(.ajs-hidden) .ajs-dialog{-webkit-animation-name:ajs-zoomIn;animation-name:ajs-zoomIn}.alertify.ajs-zoom.ajs-out.ajs-hidden .ajs-dialog{-webkit-animation-name:ajs-zoomOut;animation-name:ajs-zoomOut}.alertify.ajs-fade.ajs-in:not(.ajs-hidden) .ajs-dialog{-webkit-animation-name:ajs-fadeIn;animation-name:ajs-fadeIn}.alertify.ajs-fade.ajs-out.ajs-hidden .ajs-dialog{-webkit-animation-name:ajs-fadeOut;animation-name:ajs-fadeOut}.alertify.ajs-pulse.ajs-in:not(.ajs-hidden) .ajs-dialog{-webkit-animation-name:ajs-pulseIn;animation-name:ajs-pulseIn}.alertify.ajs-pulse.ajs-out.ajs-hidden .ajs-dialog{-webkit-animation-name:ajs-pulseOut;animation-name:ajs-pulseOut}.alertify.ajs-flipx.ajs-in:not(.ajs-hidden) .ajs-dialog{-webkit-animation-name:ajs-flipInX;animation-name:ajs-flipInX}.alertify.ajs-flipx.ajs-out.ajs-hidden .ajs-dialog{-webkit-animation-name:ajs-flipOutX;animation-name:ajs-flipOutX}.alertify.ajs-flipy.ajs-in:not(.ajs-hidden) .ajs-dialog{-webkit-animation-name:ajs-flipInY;animation-name:ajs-flipInY}.alertify.ajs-flipy.ajs-out.ajs-hidden .ajs-dialog{-webkit-animation-name:ajs-flipOutY;animation-name:ajs-flipOutY}@-webkit-keyframes ajs-pulseIn{0%,100%,20%,40%,60%,80%{transition-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}100%{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes ajs-pulseIn{0%,100%,20%,40%,60%,80%{transition-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}100%{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@-webkit-keyframes ajs-pulseOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}100%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}@keyframes ajs-pulseOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}100%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}@-webkit-keyframes ajs-zoomIn{0%{opacity:0;-webkit-transform:scale3d(.25,.25,.25);transform:scale3d(.25,.25,.25)}100%{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes ajs-zoomIn{0%{opacity:0;-webkit-transform:scale3d(.25,.25,.25);transform:scale3d(.25,.25,.25)}100%{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@-webkit-keyframes ajs-zoomOut{0%{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}100%{opacity:0;-webkit-transform:scale3d(.25,.25,.25);transform:scale3d(.25,.25,.25)}}@keyframes ajs-zoomOut{0%{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}100%{opacity:0;-webkit-transform:scale3d(.25,.25,.25);transform:scale3d(.25,.25,.25)}}@-webkit-keyframes ajs-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes ajs-fadeIn{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes ajs-fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes ajs-fadeOut{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes ajs-flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-90deg);transform:perspective(400px) rotate3d(1,0,0,-90deg);transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,20deg);transform:perspective(400px) rotate3d(1,0,0,20deg);transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-10deg);transform:perspective(400px) rotate3d(1,0,0,-10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,5deg);transform:perspective(400px) rotate3d(1,0,0,5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes ajs-flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-90deg);transform:perspective(400px) rotate3d(1,0,0,-90deg);transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,20deg);transform:perspective(400px) rotate3d(1,0,0,20deg);transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-10deg);transform:perspective(400px) rotate3d(1,0,0,-10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,5deg);transform:perspective(400px) rotate3d(1,0,0,5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}@-webkit-keyframes ajs-flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,20deg);transform:perspective(400px) rotate3d(1,0,0,20deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-90deg);transform:perspective(400px) rotate3d(1,0,0,-90deg);opacity:0}}@keyframes ajs-flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,20deg);transform:perspective(400px) rotate3d(1,0,0,20deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-90deg);transform:perspective(400px) rotate3d(1,0,0,-90deg);opacity:0}}@-webkit-keyframes ajs-flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,-1,0,-90deg);transform:perspective(400px) rotate3d(0,-1,0,-90deg);transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,-1,0,20deg);transform:perspective(400px) rotate3d(0,-1,0,20deg);transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,-1,0,-10deg);transform:perspective(400px) rotate3d(0,-1,0,-10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,-1,0,5deg);transform:perspective(400px) rotate3d(0,-1,0,5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes ajs-flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,-1,0,-90deg);transform:perspective(400px) rotate3d(0,-1,0,-90deg);transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,-1,0,20deg);transform:perspective(400px) rotate3d(0,-1,0,20deg);transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,-1,0,-10deg);transform:perspective(400px) rotate3d(0,-1,0,-10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,-1,0,5deg);transform:perspective(400px) rotate3d(0,-1,0,5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}@-webkit-keyframes ajs-flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,-1,0,15deg);transform:perspective(400px) rotate3d(0,-1,0,15deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(0,-1,0,-90deg);transform:perspective(400px) rotate3d(0,-1,0,-90deg);opacity:0}}@keyframes ajs-flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,-1,0,15deg);transform:perspective(400px) rotate3d(0,-1,0,15deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(0,-1,0,-90deg);transform:perspective(400px) rotate3d(0,-1,0,-90deg);opacity:0}}@-webkit-keyframes ajs-slideIn{0%{margin-top:-100%}100%{margin-top:5%}}@keyframes ajs-slideIn{0%{margin-top:-100%}100%{margin-top:5%}}@-webkit-keyframes ajs-slideOut{0%{margin-top:5%}100%{margin-top:-100%}}@keyframes ajs-slideOut{0%{margin-top:5%}100%{margin-top:-100%}}.alertify-notifier{position:fixed;width:0;overflow:visible;z-index:1982;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.alertify-notifier .ajs-message{position:relative;width:260px;max-height:0;padding:0;opacity:0;margin:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);transition-duration:250ms;transition-timing-function:linear}.alertify-notifier .ajs-message.ajs-visible{transition-duration:.5s;transition-timing-function:cubic-bezier(.175,.885,.32,1.275);opacity:1;max-height:100%;padding:15px;margin-top:10px}.alertify-notifier .ajs-message.ajs-success{background:rgba(91,189,114,.95)}.alertify-notifier .ajs-message.ajs-error{background:rgba(217,92,92,.95)}.alertify-notifier .ajs-message.ajs-warning{background:rgba(252,248,215,.95)}.alertify-notifier.ajs-top{top:10px}.alertify-notifier.ajs-bottom{bottom:10px}.alertify-notifier.ajs-right{left:10px}.alertify-notifier.ajs-right .ajs-message{left:-320px}.alertify-notifier.ajs-right .ajs-message.ajs-visible{left:290px}.alertify-notifier.ajs-left{right:10px}.alertify-notifier.ajs-left .ajs-message{right:-300px}.alertify-notifier.ajs-left .ajs-message.ajs-visible{right:0} | |
0 | 7 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,60 @@ |
1 | +/** | |
2 | + * alertifyjs 1.8.0 http://alertifyjs.com | |
3 | + * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. | |
4 | + * Copyright 2016 Mohammad Younes <Mohammad@alertifyjs.com> (http://alertifyjs.com) | |
5 | + * Licensed under GPL 3 <https://opensource.org/licenses/gpl-3.0>*/ | |
6 | +.alertify .ajs-dimmer { | |
7 | + background-color: #000; | |
8 | + opacity: .5; | |
9 | +} | |
10 | +.alertify .ajs-dialog { | |
11 | + max-width: 600px; | |
12 | + min-height: 122px; | |
13 | + background-color: #fff; | |
14 | + border: 1px solid rgba(0, 0, 0, 0.2); | |
15 | + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); | |
16 | + border-radius: 6px; | |
17 | +} | |
18 | +.alertify .ajs-header { | |
19 | + color: #333; | |
20 | + border-bottom: 1px solid #e5e5e5; | |
21 | + border-radius: 6px 6px 0 0; | |
22 | + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
23 | + font-size: 18px; | |
24 | +} | |
25 | +.alertify .ajs-body { | |
26 | + font-family: 'Roboto', sans-serif; | |
27 | + color: black; | |
28 | +} | |
29 | +.alertify.ajs-resizable .ajs-content, | |
30 | +.alertify.ajs-maximized:not(.ajs-resizable) .ajs-content { | |
31 | + top: 58px; | |
32 | + bottom: 68px; | |
33 | +} | |
34 | +.alertify .ajs-footer { | |
35 | + background-color: #fff; | |
36 | + padding: 15px; | |
37 | + border-top: 1px solid #e5e5e5; | |
38 | + border-radius: 0 0 6px 6px; | |
39 | +} | |
40 | +.alertify-notifier .ajs-message { | |
41 | + background: rgba(255, 255, 255, 0.95); | |
42 | + color: #000; | |
43 | + text-align: center; | |
44 | + border: solid 1px #ddd; | |
45 | + border-radius: 2px; | |
46 | +} | |
47 | +.alertify-notifier .ajs-message.ajs-success { | |
48 | + color: #fff; | |
49 | + background: rgba(91, 189, 114, 0.95); | |
50 | + text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5); | |
51 | +} | |
52 | +.alertify-notifier .ajs-message.ajs-error { | |
53 | + color: #fff; | |
54 | + background: rgba(217, 92, 92, 0.95); | |
55 | + text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5); | |
56 | +} | |
57 | +.alertify-notifier .ajs-message.ajs-warning { | |
58 | + background: rgba(252, 248, 215, 0.95); | |
59 | + border-color: #999; | |
60 | +} | ... | ... |
core/static/css/vendor/alertifyjs/themes/bootstrap.min.css
0 → 100644
... | ... | @@ -0,0 +1,6 @@ |
1 | +/** | |
2 | + * alertifyjs 1.8.0 http://alertifyjs.com | |
3 | + * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. | |
4 | + * Copyright 2016 Mohammad Younes <Mohammad@alertifyjs.com> (http://alertifyjs.com) | |
5 | + * Licensed under GPL 3 <https://opensource.org/licenses/gpl-3.0>*/ | |
6 | +.alertify .ajs-dimmer{background-color:#000;opacity:.5}.alertify .ajs-dialog{max-width:600px;min-height:122px;background-color:#fff;border:1px solid rgba(0,0,0,.2);box-shadow:0 5px 15px rgba(0,0,0,.5);border-radius:6px}.alertify .ajs-header{color:#333;border-bottom:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:18px}.alertify .ajs-body{font-family:Roboto,sans-serif;color:#000}.alertify.ajs-maximized:not(.ajs-resizable) .ajs-content,.alertify.ajs-resizable .ajs-content{top:58px;bottom:68px}.alertify .ajs-footer{background-color:#fff;padding:15px;border-top:1px solid #e5e5e5;border-radius:0 0 6px 6px}.alertify-notifier .ajs-message{background:rgba(255,255,255,.95);color:#000;text-align:center;border:1px solid #ddd;border-radius:2px}.alertify-notifier .ajs-message.ajs-success{color:#fff;background:rgba(91,189,114,.95);text-shadow:-1px -1px 0 rgba(0,0,0,.5)}.alertify-notifier .ajs-message.ajs-error{color:#fff;background:rgba(217,92,92,.95);text-shadow:-1px -1px 0 rgba(0,0,0,.5)}.alertify-notifier .ajs-message.ajs-warning{background:rgba(252,248,215,.95);border-color:#999} | |
0 | 7 | \ No newline at end of file | ... | ... |
core/static/css/vendor/alertifyjs/themes/bootstrap.rtl.css
0 → 100644
... | ... | @@ -0,0 +1,60 @@ |
1 | +/** | |
2 | + * alertifyjs 1.8.0 http://alertifyjs.com | |
3 | + * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. | |
4 | + * Copyright 2016 Mohammad Younes <Mohammad@alertifyjs.com> (http://alertifyjs.com) | |
5 | + * Licensed under GPL 3 <https://opensource.org/licenses/gpl-3.0>*/ | |
6 | +.alertify .ajs-dimmer { | |
7 | + background-color: #000; | |
8 | + opacity: .5; | |
9 | +} | |
10 | +.alertify .ajs-dialog { | |
11 | + max-width: 600px; | |
12 | + min-height: 122px; | |
13 | + background-color: #fff; | |
14 | + border: 1px solid rgba(0, 0, 0, 0.2); | |
15 | + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); | |
16 | + border-radius: 6px; | |
17 | +} | |
18 | +.alertify .ajs-header { | |
19 | + color: #333; | |
20 | + border-bottom: 1px solid #e5e5e5; | |
21 | + border-radius: 6px 6px 0 0; | |
22 | + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
23 | + font-size: 18px; | |
24 | +} | |
25 | +.alertify .ajs-body { | |
26 | + font-family: 'Roboto', sans-serif; | |
27 | + color: black; | |
28 | +} | |
29 | +.alertify.ajs-resizable .ajs-content, | |
30 | +.alertify.ajs-maximized:not(.ajs-resizable) .ajs-content { | |
31 | + top: 58px; | |
32 | + bottom: 68px; | |
33 | +} | |
34 | +.alertify .ajs-footer { | |
35 | + background-color: #fff; | |
36 | + padding: 15px; | |
37 | + border-top: 1px solid #e5e5e5; | |
38 | + border-radius: 0 0 6px 6px; | |
39 | +} | |
40 | +.alertify-notifier .ajs-message { | |
41 | + background: rgba(255, 255, 255, 0.95); | |
42 | + color: #000; | |
43 | + text-align: center; | |
44 | + border: solid 1px #ddd; | |
45 | + border-radius: 2px; | |
46 | +} | |
47 | +.alertify-notifier .ajs-message.ajs-success { | |
48 | + color: #fff; | |
49 | + background: rgba(91, 189, 114, 0.95); | |
50 | + text-shadow: 1px -1px 0 rgba(0, 0, 0, 0.5); | |
51 | +} | |
52 | +.alertify-notifier .ajs-message.ajs-error { | |
53 | + color: #fff; | |
54 | + background: rgba(217, 92, 92, 0.95); | |
55 | + text-shadow: 1px -1px 0 rgba(0, 0, 0, 0.5); | |
56 | +} | |
57 | +.alertify-notifier .ajs-message.ajs-warning { | |
58 | + background: rgba(252, 248, 215, 0.95); | |
59 | + border-color: #999; | |
60 | +} | ... | ... |
core/static/css/vendor/alertifyjs/themes/bootstrap.rtl.min.css
0 → 100644
... | ... | @@ -0,0 +1,6 @@ |
1 | +/** | |
2 | + * alertifyjs 1.8.0 http://alertifyjs.com | |
3 | + * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. | |
4 | + * Copyright 2016 Mohammad Younes <Mohammad@alertifyjs.com> (http://alertifyjs.com) | |
5 | + * Licensed under GPL 3 <https://opensource.org/licenses/gpl-3.0>*/ | |
6 | +.alertify .ajs-dimmer{background-color:#000;opacity:.5}.alertify .ajs-dialog{max-width:600px;min-height:122px;background-color:#fff;border:1px solid rgba(0,0,0,.2);box-shadow:0 5px 15px rgba(0,0,0,.5);border-radius:6px}.alertify .ajs-header{color:#333;border-bottom:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:18px}.alertify .ajs-body{font-family:Roboto,sans-serif;color:#000}.alertify.ajs-maximized:not(.ajs-resizable) .ajs-content,.alertify.ajs-resizable .ajs-content{top:58px;bottom:68px}.alertify .ajs-footer{background-color:#fff;padding:15px;border-top:1px solid #e5e5e5;border-radius:0 0 6px 6px}.alertify-notifier .ajs-message{background:rgba(255,255,255,.95);color:#000;text-align:center;border:1px solid #ddd;border-radius:2px}.alertify-notifier .ajs-message.ajs-success{color:#fff;background:rgba(91,189,114,.95);text-shadow:1px -1px 0 rgba(0,0,0,.5)}.alertify-notifier .ajs-message.ajs-error{color:#fff;background:rgba(217,92,92,.95);text-shadow:1px -1px 0 rgba(0,0,0,.5)}.alertify-notifier .ajs-message.ajs-warning{background:rgba(252,248,215,.95);border-color:#999} | |
0 | 7 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,68 @@ |
1 | +/** | |
2 | + * alertifyjs 1.8.0 http://alertifyjs.com | |
3 | + * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. | |
4 | + * Copyright 2016 Mohammad Younes <Mohammad@alertifyjs.com> (http://alertifyjs.com) | |
5 | + * Licensed under GPL 3 <https://opensource.org/licenses/gpl-3.0>*/ | |
6 | +.alertify .ajs-dialog { | |
7 | + background-color: white; | |
8 | + box-shadow: 0px 15px 20px 0px rgba(0, 0, 0, 0.25); | |
9 | + border-radius: 2px; | |
10 | +} | |
11 | +.alertify .ajs-header { | |
12 | + color: black; | |
13 | + font-weight: bold; | |
14 | + background: #fafafa; | |
15 | + border-bottom: #eee 1px solid; | |
16 | + border-radius: 2px 2px 0 0; | |
17 | +} | |
18 | +.alertify .ajs-body { | |
19 | + color: black; | |
20 | +} | |
21 | +.alertify .ajs-body .ajs-content .ajs-input { | |
22 | + display: block; | |
23 | + width: 100%; | |
24 | + padding: 8px; | |
25 | + margin: 4px; | |
26 | + border-radius: 2px; | |
27 | + border: 1px solid #CCC; | |
28 | +} | |
29 | +.alertify .ajs-body .ajs-content p { | |
30 | + margin: 0; | |
31 | +} | |
32 | +.alertify .ajs-footer { | |
33 | + background: #fbfbfb; | |
34 | + border-top: #eee 1px solid; | |
35 | + border-radius: 0 0 2px 2px; | |
36 | +} | |
37 | +.alertify .ajs-footer .ajs-buttons .ajs-button { | |
38 | + background-color: transparent; | |
39 | + color: #000; | |
40 | + border: 0; | |
41 | + font-size: 14px; | |
42 | + font-weight: bold; | |
43 | + text-transform: uppercase; | |
44 | +} | |
45 | +.alertify .ajs-footer .ajs-buttons .ajs-button.ajs-ok { | |
46 | + color: #3593D2; | |
47 | +} | |
48 | +.alertify-notifier .ajs-message { | |
49 | + background: rgba(255, 255, 255, 0.95); | |
50 | + color: #000; | |
51 | + text-align: center; | |
52 | + border: solid 1px #ddd; | |
53 | + border-radius: 2px; | |
54 | +} | |
55 | +.alertify-notifier .ajs-message.ajs-success { | |
56 | + color: #fff; | |
57 | + background: rgba(91, 189, 114, 0.95); | |
58 | + text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5); | |
59 | +} | |
60 | +.alertify-notifier .ajs-message.ajs-error { | |
61 | + color: #fff; | |
62 | + background: rgba(217, 92, 92, 0.95); | |
63 | + text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5); | |
64 | +} | |
65 | +.alertify-notifier .ajs-message.ajs-warning { | |
66 | + background: rgba(252, 248, 215, 0.95); | |
67 | + border-color: #999; | |
68 | +} | ... | ... |
core/static/css/vendor/alertifyjs/themes/default.min.css
0 → 100644
... | ... | @@ -0,0 +1,6 @@ |
1 | +/** | |
2 | + * alertifyjs 1.8.0 http://alertifyjs.com | |
3 | + * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. | |
4 | + * Copyright 2016 Mohammad Younes <Mohammad@alertifyjs.com> (http://alertifyjs.com) | |
5 | + * Licensed under GPL 3 <https://opensource.org/licenses/gpl-3.0>*/ | |
6 | +.alertify .ajs-dialog{background-color:#fff;box-shadow:0 15px 20px 0 rgba(0,0,0,.25);border-radius:2px}.alertify .ajs-header{color:#000;font-weight:700;background:#fafafa;border-bottom:#eee 1px solid;border-radius:2px 2px 0 0}.alertify .ajs-body{color:#000}.alertify .ajs-body .ajs-content .ajs-input{display:block;width:100%;padding:8px;margin:4px;border-radius:2px;border:1px solid #CCC}.alertify .ajs-body .ajs-content p{margin:0}.alertify .ajs-footer{background:#fbfbfb;border-top:#eee 1px solid;border-radius:0 0 2px 2px}.alertify .ajs-footer .ajs-buttons .ajs-button{background-color:transparent;color:#000;border:0;font-size:14px;font-weight:700;text-transform:uppercase}.alertify .ajs-footer .ajs-buttons .ajs-button.ajs-ok{color:#3593D2}.alertify-notifier .ajs-message{background:rgba(255,255,255,.95);color:#000;text-align:center;border:1px solid #ddd;border-radius:2px}.alertify-notifier .ajs-message.ajs-success{color:#fff;background:rgba(91,189,114,.95);text-shadow:-1px -1px 0 rgba(0,0,0,.5)}.alertify-notifier .ajs-message.ajs-error{color:#fff;background:rgba(217,92,92,.95);text-shadow:-1px -1px 0 rgba(0,0,0,.5)}.alertify-notifier .ajs-message.ajs-warning{background:rgba(252,248,215,.95);border-color:#999} | |
0 | 7 | \ No newline at end of file | ... | ... |
core/static/css/vendor/alertifyjs/themes/default.rtl.css
0 → 100644
... | ... | @@ -0,0 +1,68 @@ |
1 | +/** | |
2 | + * alertifyjs 1.8.0 http://alertifyjs.com | |
3 | + * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. | |
4 | + * Copyright 2016 Mohammad Younes <Mohammad@alertifyjs.com> (http://alertifyjs.com) | |
5 | + * Licensed under GPL 3 <https://opensource.org/licenses/gpl-3.0>*/ | |
6 | +.alertify .ajs-dialog { | |
7 | + background-color: white; | |
8 | + box-shadow: 0px 15px 20px 0px rgba(0, 0, 0, 0.25); | |
9 | + border-radius: 2px; | |
10 | +} | |
11 | +.alertify .ajs-header { | |
12 | + color: black; | |
13 | + font-weight: bold; | |
14 | + background: #fafafa; | |
15 | + border-bottom: #eee 1px solid; | |
16 | + border-radius: 2px 2px 0 0; | |
17 | +} | |
18 | +.alertify .ajs-body { | |
19 | + color: black; | |
20 | +} | |
21 | +.alertify .ajs-body .ajs-content .ajs-input { | |
22 | + display: block; | |
23 | + width: 100%; | |
24 | + padding: 8px; | |
25 | + margin: 4px; | |
26 | + border-radius: 2px; | |
27 | + border: 1px solid #CCC; | |
28 | +} | |
29 | +.alertify .ajs-body .ajs-content p { | |
30 | + margin: 0; | |
31 | +} | |
32 | +.alertify .ajs-footer { | |
33 | + background: #fbfbfb; | |
34 | + border-top: #eee 1px solid; | |
35 | + border-radius: 0 0 2px 2px; | |
36 | +} | |
37 | +.alertify .ajs-footer .ajs-buttons .ajs-button { | |
38 | + background-color: transparent; | |
39 | + color: #000; | |
40 | + border: 0; | |
41 | + font-size: 14px; | |
42 | + font-weight: bold; | |
43 | + text-transform: uppercase; | |
44 | +} | |
45 | +.alertify .ajs-footer .ajs-buttons .ajs-button.ajs-ok { | |
46 | + color: #3593D2; | |
47 | +} | |
48 | +.alertify-notifier .ajs-message { | |
49 | + background: rgba(255, 255, 255, 0.95); | |
50 | + color: #000; | |
51 | + text-align: center; | |
52 | + border: solid 1px #ddd; | |
53 | + border-radius: 2px; | |
54 | +} | |
55 | +.alertify-notifier .ajs-message.ajs-success { | |
56 | + color: #fff; | |
57 | + background: rgba(91, 189, 114, 0.95); | |
58 | + text-shadow: 1px -1px 0 rgba(0, 0, 0, 0.5); | |
59 | +} | |
60 | +.alertify-notifier .ajs-message.ajs-error { | |
61 | + color: #fff; | |
62 | + background: rgba(217, 92, 92, 0.95); | |
63 | + text-shadow: 1px -1px 0 rgba(0, 0, 0, 0.5); | |
64 | +} | |
65 | +.alertify-notifier .ajs-message.ajs-warning { | |
66 | + background: rgba(252, 248, 215, 0.95); | |
67 | + border-color: #999; | |
68 | +} | ... | ... |
core/static/css/vendor/alertifyjs/themes/default.rtl.min.css
0 → 100644
... | ... | @@ -0,0 +1,6 @@ |
1 | +/** | |
2 | + * alertifyjs 1.8.0 http://alertifyjs.com | |
3 | + * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. | |
4 | + * Copyright 2016 Mohammad Younes <Mohammad@alertifyjs.com> (http://alertifyjs.com) | |
5 | + * Licensed under GPL 3 <https://opensource.org/licenses/gpl-3.0>*/ | |
6 | +.alertify .ajs-dialog{background-color:#fff;box-shadow:0 15px 20px 0 rgba(0,0,0,.25);border-radius:2px}.alertify .ajs-header{color:#000;font-weight:700;background:#fafafa;border-bottom:#eee 1px solid;border-radius:2px 2px 0 0}.alertify .ajs-body{color:#000}.alertify .ajs-body .ajs-content .ajs-input{display:block;width:100%;padding:8px;margin:4px;border-radius:2px;border:1px solid #CCC}.alertify .ajs-body .ajs-content p{margin:0}.alertify .ajs-footer{background:#fbfbfb;border-top:#eee 1px solid;border-radius:0 0 2px 2px}.alertify .ajs-footer .ajs-buttons .ajs-button{background-color:transparent;color:#000;border:0;font-size:14px;font-weight:700;text-transform:uppercase}.alertify .ajs-footer .ajs-buttons .ajs-button.ajs-ok{color:#3593D2}.alertify-notifier .ajs-message{background:rgba(255,255,255,.95);color:#000;text-align:center;border:1px solid #ddd;border-radius:2px}.alertify-notifier .ajs-message.ajs-success{color:#fff;background:rgba(91,189,114,.95);text-shadow:1px -1px 0 rgba(0,0,0,.5)}.alertify-notifier .ajs-message.ajs-error{color:#fff;background:rgba(217,92,92,.95);text-shadow:1px -1px 0 rgba(0,0,0,.5)}.alertify-notifier .ajs-message.ajs-warning{background:rgba(252,248,215,.95);border-color:#999} | |
0 | 7 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,84 @@ |
1 | +/** | |
2 | + * alertifyjs 1.8.0 http://alertifyjs.com | |
3 | + * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. | |
4 | + * Copyright 2016 Mohammad Younes <Mohammad@alertifyjs.com> (http://alertifyjs.com) | |
5 | + * Licensed under GPL 3 <https://opensource.org/licenses/gpl-3.0>*/ | |
6 | +.alertify .ajs-dimmer { | |
7 | + background-color: rgba(0, 0, 0, 0.85); | |
8 | + opacity: 1; | |
9 | +} | |
10 | +.alertify .ajs-dialog { | |
11 | + max-width: 50%; | |
12 | + min-height: 137px; | |
13 | + background-color: #F4F4F4; | |
14 | + border: 1px solid #DDD; | |
15 | + box-shadow: none; | |
16 | + border-radius: 5px; | |
17 | +} | |
18 | +.alertify .ajs-header { | |
19 | + padding: 1.5rem 2rem; | |
20 | + border-bottom: none; | |
21 | + border-radius: 5px 5px 0 0; | |
22 | + color: #555; | |
23 | + background-color: #fff; | |
24 | + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
25 | + font-size: 1.6em; | |
26 | + font-weight: 700; | |
27 | +} | |
28 | +.alertify .ajs-body { | |
29 | + font-family: 'Roboto', sans-serif; | |
30 | + color: #555; | |
31 | +} | |
32 | +.alertify .ajs-body .ajs-content .ajs-input { | |
33 | + width: 100%; | |
34 | + margin: 0; | |
35 | + padding: .65em 1em; | |
36 | + font-size: 1em; | |
37 | + background-color: #FFF; | |
38 | + border: 1px solid rgba(0, 0, 0, 0.15); | |
39 | + outline: 0; | |
40 | + color: rgba(0, 0, 0, 0.7); | |
41 | + border-radius: .3125em; | |
42 | + transition: background-color 0.3s ease-out, box-shadow 0.2s ease, border-color 0.2s ease; | |
43 | + box-sizing: border-box; | |
44 | +} | |
45 | +.alertify .ajs-body .ajs-content .ajs-input:active { | |
46 | + border-color: rgba(0, 0, 0, 0.3); | |
47 | + background-color: #FAFAFA; | |
48 | +} | |
49 | +.alertify .ajs-body .ajs-content .ajs-input:focus { | |
50 | + border-color: rgba(0, 0, 0, 0.2); | |
51 | + color: rgba(0, 0, 0, 0.85); | |
52 | +} | |
53 | +.alertify.ajs-resizable .ajs-content, | |
54 | +.alertify.ajs-maximized:not(.ajs-resizable) .ajs-content { | |
55 | + top: 64px; | |
56 | + bottom: 74px; | |
57 | +} | |
58 | +.alertify .ajs-footer { | |
59 | + background-color: #fff; | |
60 | + padding: 1rem 2rem; | |
61 | + border-top: none; | |
62 | + border-radius: 0 0 5px 5px; | |
63 | +} | |
64 | +.alertify-notifier .ajs-message { | |
65 | + background: rgba(255, 255, 255, 0.95); | |
66 | + color: #000; | |
67 | + text-align: center; | |
68 | + border: solid 1px #ddd; | |
69 | + border-radius: 2px; | |
70 | +} | |
71 | +.alertify-notifier .ajs-message.ajs-success { | |
72 | + color: #fff; | |
73 | + background: rgba(91, 189, 114, 0.95); | |
74 | + text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5); | |
75 | +} | |
76 | +.alertify-notifier .ajs-message.ajs-error { | |
77 | + color: #fff; | |
78 | + background: rgba(217, 92, 92, 0.95); | |
79 | + text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5); | |
80 | +} | |
81 | +.alertify-notifier .ajs-message.ajs-warning { | |
82 | + background: rgba(252, 248, 215, 0.95); | |
83 | + border-color: #999; | |
84 | +} | ... | ... |
core/static/css/vendor/alertifyjs/themes/semantic.min.css
0 → 100644
... | ... | @@ -0,0 +1,6 @@ |
1 | +/** | |
2 | + * alertifyjs 1.8.0 http://alertifyjs.com | |
3 | + * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. | |
4 | + * Copyright 2016 Mohammad Younes <Mohammad@alertifyjs.com> (http://alertifyjs.com) | |
5 | + * Licensed under GPL 3 <https://opensource.org/licenses/gpl-3.0>*/ | |
6 | +.alertify .ajs-dimmer{background-color:rgba(0,0,0,.85);opacity:1}.alertify .ajs-dialog{max-width:50%;min-height:137px;background-color:#F4F4F4;border:1px solid #DDD;box-shadow:none;border-radius:5px}.alertify .ajs-header{padding:1.5rem 2rem;border-bottom:none;border-radius:5px 5px 0 0;color:#555;background-color:#fff;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:1.6em;font-weight:700}.alertify .ajs-body{font-family:Roboto,sans-serif;color:#555}.alertify .ajs-body .ajs-content .ajs-input{width:100%;margin:0;padding:.65em 1em;font-size:1em;background-color:#FFF;border:1px solid rgba(0,0,0,.15);outline:0;color:rgba(0,0,0,.7);border-radius:.3125em;transition:background-color .3s ease-out,box-shadow .2s ease,border-color .2s ease;box-sizing:border-box}.alertify .ajs-body .ajs-content .ajs-input:active{border-color:rgba(0,0,0,.3);background-color:#FAFAFA}.alertify .ajs-body .ajs-content .ajs-input:focus{border-color:rgba(0,0,0,.2);color:rgba(0,0,0,.85)}.alertify.ajs-maximized:not(.ajs-resizable) .ajs-content,.alertify.ajs-resizable .ajs-content{top:64px;bottom:74px}.alertify .ajs-footer{background-color:#fff;padding:1rem 2rem;border-top:none;border-radius:0 0 5px 5px}.alertify-notifier .ajs-message{background:rgba(255,255,255,.95);color:#000;text-align:center;border:1px solid #ddd;border-radius:2px}.alertify-notifier .ajs-message.ajs-success{color:#fff;background:rgba(91,189,114,.95);text-shadow:-1px -1px 0 rgba(0,0,0,.5)}.alertify-notifier .ajs-message.ajs-error{color:#fff;background:rgba(217,92,92,.95);text-shadow:-1px -1px 0 rgba(0,0,0,.5)}.alertify-notifier .ajs-message.ajs-warning{background:rgba(252,248,215,.95);border-color:#999} | |
0 | 7 | \ No newline at end of file | ... | ... |
core/static/css/vendor/alertifyjs/themes/semantic.rtl.css
0 → 100644
... | ... | @@ -0,0 +1,84 @@ |
1 | +/** | |
2 | + * alertifyjs 1.8.0 http://alertifyjs.com | |
3 | + * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. | |
4 | + * Copyright 2016 Mohammad Younes <Mohammad@alertifyjs.com> (http://alertifyjs.com) | |
5 | + * Licensed under GPL 3 <https://opensource.org/licenses/gpl-3.0>*/ | |
6 | +.alertify .ajs-dimmer { | |
7 | + background-color: rgba(0, 0, 0, 0.85); | |
8 | + opacity: 1; | |
9 | +} | |
10 | +.alertify .ajs-dialog { | |
11 | + max-width: 50%; | |
12 | + min-height: 137px; | |
13 | + background-color: #F4F4F4; | |
14 | + border: 1px solid #DDD; | |
15 | + box-shadow: none; | |
16 | + border-radius: 5px; | |
17 | +} | |
18 | +.alertify .ajs-header { | |
19 | + padding: 1.5rem 2rem; | |
20 | + border-bottom: none; | |
21 | + border-radius: 5px 5px 0 0; | |
22 | + color: #555; | |
23 | + background-color: #fff; | |
24 | + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
25 | + font-size: 1.6em; | |
26 | + font-weight: 700; | |
27 | +} | |
28 | +.alertify .ajs-body { | |
29 | + font-family: 'Roboto', sans-serif; | |
30 | + color: #555; | |
31 | +} | |
32 | +.alertify .ajs-body .ajs-content .ajs-input { | |
33 | + width: 100%; | |
34 | + margin: 0; | |
35 | + padding: .65em 1em; | |
36 | + font-size: 1em; | |
37 | + background-color: #FFF; | |
38 | + border: 1px solid rgba(0, 0, 0, 0.15); | |
39 | + outline: 0; | |
40 | + color: rgba(0, 0, 0, 0.7); | |
41 | + border-radius: .3125em; | |
42 | + transition: background-color 0.3s ease-out, box-shadow 0.2s ease, border-color 0.2s ease; | |
43 | + box-sizing: border-box; | |
44 | +} | |
45 | +.alertify .ajs-body .ajs-content .ajs-input:active { | |
46 | + border-color: rgba(0, 0, 0, 0.3); | |
47 | + background-color: #FAFAFA; | |
48 | +} | |
49 | +.alertify .ajs-body .ajs-content .ajs-input:focus { | |
50 | + border-color: rgba(0, 0, 0, 0.2); | |
51 | + color: rgba(0, 0, 0, 0.85); | |
52 | +} | |
53 | +.alertify.ajs-resizable .ajs-content, | |
54 | +.alertify.ajs-maximized:not(.ajs-resizable) .ajs-content { | |
55 | + top: 64px; | |
56 | + bottom: 74px; | |
57 | +} | |
58 | +.alertify .ajs-footer { | |
59 | + background-color: #fff; | |
60 | + padding: 1rem 2rem; | |
61 | + border-top: none; | |
62 | + border-radius: 0 0 5px 5px; | |
63 | +} | |
64 | +.alertify-notifier .ajs-message { | |
65 | + background: rgba(255, 255, 255, 0.95); | |
66 | + color: #000; | |
67 | + text-align: center; | |
68 | + border: solid 1px #ddd; | |
69 | + border-radius: 2px; | |
70 | +} | |
71 | +.alertify-notifier .ajs-message.ajs-success { | |
72 | + color: #fff; | |
73 | + background: rgba(91, 189, 114, 0.95); | |
74 | + text-shadow: 1px -1px 0 rgba(0, 0, 0, 0.5); | |
75 | +} | |
76 | +.alertify-notifier .ajs-message.ajs-error { | |
77 | + color: #fff; | |
78 | + background: rgba(217, 92, 92, 0.95); | |
79 | + text-shadow: 1px -1px 0 rgba(0, 0, 0, 0.5); | |
80 | +} | |
81 | +.alertify-notifier .ajs-message.ajs-warning { | |
82 | + background: rgba(252, 248, 215, 0.95); | |
83 | + border-color: #999; | |
84 | +} | ... | ... |
core/static/css/vendor/alertifyjs/themes/semantic.rtl.min.css
0 → 100644
... | ... | @@ -0,0 +1,6 @@ |
1 | +/** | |
2 | + * alertifyjs 1.8.0 http://alertifyjs.com | |
3 | + * AlertifyJS is a javascript framework for developing pretty browser dialogs and notifications. | |
4 | + * Copyright 2016 Mohammad Younes <Mohammad@alertifyjs.com> (http://alertifyjs.com) | |
5 | + * Licensed under GPL 3 <https://opensource.org/licenses/gpl-3.0>*/ | |
6 | +.alertify .ajs-dimmer{background-color:rgba(0,0,0,.85);opacity:1}.alertify .ajs-dialog{max-width:50%;min-height:137px;background-color:#F4F4F4;border:1px solid #DDD;box-shadow:none;border-radius:5px}.alertify .ajs-header{padding:1.5rem 2rem;border-bottom:none;border-radius:5px 5px 0 0;color:#555;background-color:#fff;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:1.6em;font-weight:700}.alertify .ajs-body{font-family:Roboto,sans-serif;color:#555}.alertify .ajs-body .ajs-content .ajs-input{width:100%;margin:0;padding:.65em 1em;font-size:1em;background-color:#FFF;border:1px solid rgba(0,0,0,.15);outline:0;color:rgba(0,0,0,.7);border-radius:.3125em;transition:background-color .3s ease-out,box-shadow .2s ease,border-color .2s ease;box-sizing:border-box}.alertify .ajs-body .ajs-content .ajs-input:active{border-color:rgba(0,0,0,.3);background-color:#FAFAFA}.alertify .ajs-body .ajs-content .ajs-input:focus{border-color:rgba(0,0,0,.2);color:rgba(0,0,0,.85)}.alertify.ajs-maximized:not(.ajs-resizable) .ajs-content,.alertify.ajs-resizable .ajs-content{top:64px;bottom:74px}.alertify .ajs-footer{background-color:#fff;padding:1rem 2rem;border-top:none;border-radius:0 0 5px 5px}.alertify-notifier .ajs-message{background:rgba(255,255,255,.95);color:#000;text-align:center;border:1px solid #ddd;border-radius:2px}.alertify-notifier .ajs-message.ajs-success{color:#fff;background:rgba(91,189,114,.95);text-shadow:1px -1px 0 rgba(0,0,0,.5)}.alertify-notifier .ajs-message.ajs-error{color:#fff;background:rgba(217,92,92,.95);text-shadow:1px -1px 0 rgba(0,0,0,.5)}.alertify-notifier .ajs-message.ajs-warning{background:rgba(252,248,215,.95);border-color:#999} | |
0 | 7 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,3 @@ |
1 | +/*! alertifyjs - v1.8.0 - Mohammad Younes <Mohammad@alertifyjs.com> (http://alertifyjs.com) */ | |
2 | +!function(a){"use strict";function b(a,b){a.className+=" "+b}function c(a,b){for(var c=a.className.split(" "),d=b.split(" "),e=0;e<d.length;e+=1){var f=c.indexOf(d[e]);f>-1&&c.splice(f,1)}a.className=c.join(" ")}function d(){return"rtl"===a.getComputedStyle(document.body).direction}function e(){return document.documentElement&&document.documentElement.scrollTop||document.body.scrollTop}function f(){return document.documentElement&&document.documentElement.scrollLeft||document.body.scrollLeft}function g(a){for(;a.lastChild;)a.removeChild(a.lastChild)}function h(a){if(null===a)return a;var b;if(Array.isArray(a)){b=[];for(var c=0;c<a.length;c+=1)b.push(h(a[c]));return b}if(a instanceof Date)return new Date(a.getTime());if(a instanceof RegExp)return b=new RegExp(a.source),b.global=a.global,b.ignoreCase=a.ignoreCase,b.multiline=a.multiline,b.lastIndex=a.lastIndex,b;if("object"==typeof a){b={};for(var d in a)a.hasOwnProperty(d)&&(b[d]=h(a[d]));return b}return a}function i(a,b){var c=a.elements.root;c.parentNode.removeChild(c),delete a.elements,a.settings=h(a.__settings),a.__init=b,delete a.__internal}function j(a,b){return function(){if(arguments.length>0){for(var c=[],d=0;d<arguments.length;d+=1)c.push(arguments[d]);return c.push(a),b.apply(a,c)}return b.apply(a,[null,a])}}function k(a,b){return{index:a,button:b,cancel:!1}}function l(a,b){"function"==typeof b.get(a)&&b.get(a).call(b)}function m(){function a(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a}function b(a){var b=d[a].dialog;return b&&"function"==typeof b.__init&&b.__init(b),b}function c(b,c,e,f){var g={dialog:null,factory:c};return void 0!==f&&(g.factory=function(){return a(new d[f].factory,new c)}),e||(g.dialog=a(new g.factory,t)),d[b]=g}var d={};return{defaults:o,dialog:function(d,e,f,g){if("function"!=typeof e)return b(d);if(this.hasOwnProperty(d))throw new Error("alertify.dialog: name already exists");var h=c(d,e,f,g);f?this[d]=function(){if(0===arguments.length)return h.dialog;var b=a(new h.factory,t);return b&&"function"==typeof b.__init&&b.__init(b),b.main.apply(b,arguments),b.show.apply(b)}:this[d]=function(){if(h.dialog&&"function"==typeof h.dialog.__init&&h.dialog.__init(h.dialog),0===arguments.length)return h.dialog;var a=h.dialog;return a.main.apply(h.dialog,arguments),a.show.apply(h.dialog)}},closeAll:function(a){for(var b=p.slice(0),c=0;c<b.length;c+=1){var d=b[c];(void 0===a||a!==d)&&d.close()}},setting:function(a,c,d){if("notifier"===a)return u.setting(c,d);var e=b(a);return e?e.setting(c,d):void 0},set:function(a,b,c){return this.setting(a,b,c)},get:function(a,b){return this.setting(a,b)},notify:function(a,b,c,d){return u.create(b,d).push(a,c)},message:function(a,b,c){return u.create(null,c).push(a,b)},success:function(a,b,c){return u.create("success",c).push(a,b)},error:function(a,b,c){return u.create("error",c).push(a,b)},warning:function(a,b,c){return u.create("warning",c).push(a,b)},dismissAll:function(){u.dismissAll()}}}var n={ENTER:13,ESC:27,F1:112,F12:123,LEFT:37,RIGHT:39},o={autoReset:!0,basic:!1,closable:!0,closableByDimmer:!0,frameless:!1,maintainFocus:!0,maximizable:!0,modal:!0,movable:!0,moveBounded:!1,overflow:!0,padding:!0,pinnable:!0,pinned:!0,preventBodyShift:!1,resizable:!0,startMaximized:!1,transition:"pulse",notifier:{delay:5,position:"bottom-right"},glossary:{title:"AlertifyJS",ok:"OK",cancel:"Cancel",acccpt:"Accept",deny:"Deny",confirm:"Confirm",decline:"Decline",close:"Close",maximize:"Maximize",restore:"Restore"},theme:{input:"ajs-input",ok:"ajs-ok",cancel:"ajs-cancel"}},p=[],q=function(){return document.addEventListener?function(a,b,c,d){a.addEventListener(b,c,d===!0)}:document.attachEvent?function(a,b,c){a.attachEvent("on"+b,c)}:void 0}(),r=function(){return document.removeEventListener?function(a,b,c,d){a.removeEventListener(b,c,d===!0)}:document.detachEvent?function(a,b,c){a.detachEvent("on"+b,c)}:void 0}(),s=function(){var a,b,c=!1,d={animation:"animationend",OAnimation:"oAnimationEnd oanimationend",msAnimation:"MSAnimationEnd",MozAnimation:"animationend",WebkitAnimation:"webkitAnimationEnd"};for(a in d)if(void 0!==document.documentElement.style[a]){b=d[a],c=!0;break}return{type:b,supported:c}}(),t=function(){function m(a){if(!a.__internal){delete a.__init,a.__settings||(a.__settings=h(a.settings)),null===za&&document.body.setAttribute("tabindex","0");var c;"function"==typeof a.setup?(c=a.setup(),c.options=c.options||{},c.focus=c.focus||{}):c={buttons:[],focus:{element:null,select:!1},options:{}},"object"!=typeof a.hooks&&(a.hooks={});var d=[];if(Array.isArray(c.buttons))for(var e=0;e<c.buttons.length;e+=1){var f=c.buttons[e],g={};for(var i in f)f.hasOwnProperty(i)&&(g[i]=f[i]);d.push(g)}var k=a.__internal={isOpen:!1,activeElement:document.body,timerIn:void 0,timerOut:void 0,buttons:d,focus:c.focus,options:{title:void 0,modal:void 0,basic:void 0,frameless:void 0,pinned:void 0,movable:void 0,moveBounded:void 0,resizable:void 0,autoReset:void 0,closable:void 0,closableByDimmer:void 0,maximizable:void 0,startMaximized:void 0,pinnable:void 0,transition:void 0,padding:void 0,overflow:void 0,onshow:void 0,onclose:void 0,onfocus:void 0,onmove:void 0,onmoved:void 0,onresize:void 0,onresized:void 0,onmaximize:void 0,onmaximized:void 0,onrestore:void 0,onrestored:void 0},resetHandler:void 0,beginMoveHandler:void 0,beginResizeHandler:void 0,bringToFrontHandler:void 0,modalClickHandler:void 0,buttonsClickHandler:void 0,commandsClickHandler:void 0,transitionInHandler:void 0,transitionOutHandler:void 0,destroy:void 0},l={};l.root=document.createElement("div"),l.root.className=Ca.base+" "+Ca.hidden+" ",l.root.innerHTML=Ba.dimmer+Ba.modal,l.dimmer=l.root.firstChild,l.modal=l.root.lastChild,l.modal.innerHTML=Ba.dialog,l.dialog=l.modal.firstChild,l.dialog.innerHTML=Ba.reset+Ba.commands+Ba.header+Ba.body+Ba.footer+Ba.resizeHandle+Ba.reset,l.reset=[],l.reset.push(l.dialog.firstChild),l.reset.push(l.dialog.lastChild),l.commands={},l.commands.container=l.reset[0].nextSibling,l.commands.pin=l.commands.container.firstChild,l.commands.maximize=l.commands.pin.nextSibling,l.commands.close=l.commands.maximize.nextSibling,l.header=l.commands.container.nextSibling,l.body=l.header.nextSibling,l.body.innerHTML=Ba.content,l.content=l.body.firstChild,l.footer=l.body.nextSibling,l.footer.innerHTML=Ba.buttons.auxiliary+Ba.buttons.primary,l.resizeHandle=l.footer.nextSibling,l.buttons={},l.buttons.auxiliary=l.footer.firstChild,l.buttons.primary=l.buttons.auxiliary.nextSibling,l.buttons.primary.innerHTML=Ba.button,l.buttonTemplate=l.buttons.primary.firstChild,l.buttons.primary.removeChild(l.buttonTemplate);for(var m=0;m<a.__internal.buttons.length;m+=1){var n=a.__internal.buttons[m];ya.indexOf(n.key)<0&&ya.push(n.key),n.element=l.buttonTemplate.cloneNode(),n.element.innerHTML=n.text,"string"==typeof n.className&&""!==n.className&&b(n.element,n.className);for(var o in n.attrs)"className"!==o&&n.attrs.hasOwnProperty(o)&&n.element.setAttribute(o,n.attrs[o]);"auxiliary"===n.scope?l.buttons.auxiliary.appendChild(n.element):l.buttons.primary.appendChild(n.element)}a.elements=l,k.resetHandler=j(a,X),k.beginMoveHandler=j(a,aa),k.beginResizeHandler=j(a,ga),k.bringToFrontHandler=j(a,B),k.modalClickHandler=j(a,R),k.buttonsClickHandler=j(a,T),k.commandsClickHandler=j(a,F),k.transitionInHandler=j(a,Y),k.transitionOutHandler=j(a,Z);for(var p in k.options)void 0!==c.options[p]?a.set(p,c.options[p]):v.defaults.hasOwnProperty(p)?a.set(p,v.defaults[p]):"title"===p&&a.set(p,v.defaults.glossary[p]);"function"==typeof a.build&&a.build()}document.body.appendChild(a.elements.root)}function o(){wa=f(),xa=e()}function t(){a.scrollTo(wa,xa)}function u(){for(var a=0,d=0;d<p.length;d+=1){var e=p[d];(e.isModal()||e.isMaximized())&&(a+=1)}0===a&&document.body.className.indexOf(Ca.noOverflow)>=0?(c(document.body,Ca.noOverflow),w(!1)):a>0&&document.body.className.indexOf(Ca.noOverflow)<0&&(w(!0),b(document.body,Ca.noOverflow))}function w(d){v.defaults.preventBodyShift&&document.documentElement.scrollHeight>document.documentElement.clientHeight&&(d?(Ea=xa,Da=a.getComputedStyle(document.body).top,b(document.body,Ca.fixed),document.body.style.top=-xa+"px"):(xa=Ea,document.body.style.top=Da,c(document.body,Ca.fixed),t()))}function x(a,d,e){"string"==typeof e&&c(a.elements.root,Ca.prefix+e),b(a.elements.root,Ca.prefix+d),za=a.elements.root.offsetWidth}function y(a){a.get("modal")?(c(a.elements.root,Ca.modeless),a.isOpen()&&(pa(a),N(a),u())):(b(a.elements.root,Ca.modeless),a.isOpen()&&(oa(a),N(a),u()))}function z(a){a.get("basic")?b(a.elements.root,Ca.basic):c(a.elements.root,Ca.basic)}function A(a){a.get("frameless")?b(a.elements.root,Ca.frameless):c(a.elements.root,Ca.frameless)}function B(a,b){for(var c=p.indexOf(b),d=c+1;d<p.length;d+=1)if(p[d].isModal())return;return document.body.lastChild!==b.elements.root&&(document.body.appendChild(b.elements.root),p.splice(p.indexOf(b),1),p.push(b),W(b)),!1}function C(a,d,e,f){switch(d){case"title":a.setHeader(f);break;case"modal":y(a);break;case"basic":z(a);break;case"frameless":A(a);break;case"pinned":O(a);break;case"closable":Q(a);break;case"maximizable":P(a);break;case"pinnable":K(a);break;case"movable":ea(a);break;case"resizable":ka(a);break;case"transition":x(a,f,e);break;case"padding":f?c(a.elements.root,Ca.noPadding):a.elements.root.className.indexOf(Ca.noPadding)<0&&b(a.elements.root,Ca.noPadding);break;case"overflow":f?c(a.elements.root,Ca.noOverflow):a.elements.root.className.indexOf(Ca.noOverflow)<0&&b(a.elements.root,Ca.noOverflow);break;case"transition":x(a,f,e)}"function"==typeof a.hooks.onupdate&&a.hooks.onupdate.call(a,d,e,f)}function D(a,b,c,d,e){var f={op:void 0,items:[]};if("undefined"==typeof e&&"string"==typeof d)f.op="get",b.hasOwnProperty(d)?(f.found=!0,f.value=b[d]):(f.found=!1,f.value=void 0);else{var g;if(f.op="set","object"==typeof d){var h=d;for(var i in h)b.hasOwnProperty(i)?(b[i]!==h[i]&&(g=b[i],b[i]=h[i],c.call(a,i,g,h[i])),f.items.push({key:i,value:h[i],found:!0})):f.items.push({key:i,value:h[i],found:!1})}else{if("string"!=typeof d)throw new Error("args must be a string or object");b.hasOwnProperty(d)?(b[d]!==e&&(g=b[d],b[d]=e,c.call(a,d,g,e)),f.items.push({key:d,value:e,found:!0})):f.items.push({key:d,value:e,found:!1})}}return f}function E(a){var b;S(a,function(a){return b=a.invokeOnClose===!0}),!b&&a.isOpen()&&a.close()}function F(a,b){var c=a.srcElement||a.target;switch(c){case b.elements.commands.pin:b.isPinned()?H(b):G(b);break;case b.elements.commands.maximize:b.isMaximized()?J(b):I(b);break;case b.elements.commands.close:E(b)}return!1}function G(a){a.set("pinned",!0)}function H(a){a.set("pinned",!1)}function I(a){l("onmaximize",a),b(a.elements.root,Ca.maximized),a.isOpen()&&u(),l("onmaximized",a)}function J(a){l("onrestore",a),c(a.elements.root,Ca.maximized),a.isOpen()&&u(),l("onrestored",a)}function K(a){a.get("pinnable")?b(a.elements.root,Ca.pinnable):c(a.elements.root,Ca.pinnable)}function L(a){var b=f();a.elements.modal.style.marginTop=e()+"px",a.elements.modal.style.marginLeft=b+"px",a.elements.modal.style.marginRight=-b+"px"}function M(a){var b=parseInt(a.elements.modal.style.marginTop,10),c=parseInt(a.elements.modal.style.marginLeft,10);if(a.elements.modal.style.marginTop="",a.elements.modal.style.marginLeft="",a.elements.modal.style.marginRight="",a.isOpen()){var d=0,g=0;""!==a.elements.dialog.style.top&&(d=parseInt(a.elements.dialog.style.top,10)),a.elements.dialog.style.top=d+(b-e())+"px",""!==a.elements.dialog.style.left&&(g=parseInt(a.elements.dialog.style.left,10)),a.elements.dialog.style.left=g+(c-f())+"px"}}function N(a){a.get("modal")||a.get("pinned")?M(a):L(a)}function O(a){a.get("pinned")?(c(a.elements.root,Ca.unpinned),a.isOpen()&&M(a)):(b(a.elements.root,Ca.unpinned),a.isOpen()&&!a.isModal()&&L(a))}function P(a){a.get("maximizable")?b(a.elements.root,Ca.maximizable):c(a.elements.root,Ca.maximizable)}function Q(a){a.get("closable")?(b(a.elements.root,Ca.closable),ua(a)):(c(a.elements.root,Ca.closable),va(a))}function R(a,b){var c=a.srcElement||a.target;return Fa||c!==b.elements.modal||b.get("closableByDimmer")!==!0||E(b),Fa=!1,!1}function S(a,b){for(var c=0;c<a.__internal.buttons.length;c+=1){var d=a.__internal.buttons[c];if(!d.element.disabled&&b(d)){var e=k(c,d);"function"==typeof a.callback&&a.callback.apply(a,[e]),e.cancel===!1&&a.close();break}}}function T(a,b){var c=a.srcElement||a.target;S(b,function(a){return a.element===c&&(Ga=!0)})}function U(a){if(Ga)return void(Ga=!1);var b=p[p.length-1],c=a.keyCode;return 0===b.__internal.buttons.length&&c===n.ESC&&b.get("closable")===!0?(E(b),!1):ya.indexOf(c)>-1?(S(b,function(a){return a.key===c}),!1):void 0}function V(a){var b=p[p.length-1],c=a.keyCode;if(c===n.LEFT||c===n.RIGHT){for(var d=b.__internal.buttons,e=0;e<d.length;e+=1)if(document.activeElement===d[e].element)switch(c){case n.LEFT:return void d[(e||d.length)-1].element.focus();case n.RIGHT:return void d[(e+1)%d.length].element.focus()}}else if(c<n.F12+1&&c>n.F1-1&&ya.indexOf(c)>-1)return a.preventDefault(),a.stopPropagation(),S(b,function(a){return a.key===c}),!1}function W(a,b){if(b)b.focus();else{var c=a.__internal.focus,d=c.element;switch(typeof c.element){case"number":a.__internal.buttons.length>c.element&&(d=a.get("basic")===!0?a.elements.reset[0]:a.__internal.buttons[c.element].element);break;case"string":d=a.elements.body.querySelector(c.element);break;case"function":d=c.element.call(a)}"undefined"!=typeof d&&null!==d||0!==a.__internal.buttons.length||(d=a.elements.reset[0]),d&&d.focus&&(d.focus(),c.select&&d.select&&d.select())}}function X(a,b){if(!b)for(var c=p.length-1;c>-1;c-=1)if(p[c].isModal()){b=p[c];break}if(b&&b.isModal()){var d,e=a.srcElement||a.target,f=e===b.elements.reset[1]||0===b.__internal.buttons.length&&e===document.body;f&&(b.get("maximizable")?d=b.elements.commands.maximize:b.get("closable")&&(d=b.elements.commands.close)),void 0===d&&("number"==typeof b.__internal.focus.element?e===b.elements.reset[0]?d=b.elements.buttons.auxiliary.firstChild||b.elements.buttons.primary.firstChild:f&&(d=b.elements.reset[0]):e===b.elements.reset[0]&&(d=b.elements.buttons.primary.lastChild||b.elements.buttons.auxiliary.lastChild)),W(b,d)}}function Y(a,b){clearTimeout(b.__internal.timerIn),W(b),t(),Ga=!1,l("onfocus",b),r(b.elements.dialog,s.type,b.__internal.transitionInHandler),c(b.elements.root,Ca.animationIn)}function Z(a,b){clearTimeout(b.__internal.timerOut),r(b.elements.dialog,s.type,b.__internal.transitionOutHandler),da(b),ja(b),b.isMaximized()&&!b.get("startMaximized")&&J(b),v.defaults.maintainFocus&&b.__internal.activeElement&&(b.__internal.activeElement.focus(),b.__internal.activeElement=null),"function"==typeof b.__internal.destroy&&b.__internal.destroy.apply(b)}function $(a,b){var c=a[Ka]-Ia,d=a[La]-Ja;Na&&(d-=document.body.scrollTop),b.style.left=c+"px",b.style.top=d+"px"}function _(a,b){var c=a[Ka]-Ia,d=a[La]-Ja;Na&&(d-=document.body.scrollTop),b.style.left=Math.min(Ma.maxLeft,Math.max(Ma.minLeft,c))+"px",Na?b.style.top=Math.min(Ma.maxTop,Math.max(Ma.minTop,d))+"px":b.style.top=Math.max(Ma.minTop,d)+"px"}function aa(a,c){if(null===Pa&&!c.isMaximized()&&c.get("movable")){var d,e=0,f=0;if("touchstart"===a.type?(a.preventDefault(),d=a.targetTouches[0],Ka="clientX",La="clientY"):0===a.button&&(d=a),d){var g=c.elements.dialog;if(b(g,Ca.capture),g.style.left&&(e=parseInt(g.style.left,10)),g.style.top&&(f=parseInt(g.style.top,10)),Ia=d[Ka]-e,Ja=d[La]-f,c.isModal()?Ja+=c.elements.modal.scrollTop:c.isPinned()&&(Ja-=document.body.scrollTop),c.get("moveBounded")){var h=g,i=-e,j=-f;do i+=h.offsetLeft,j+=h.offsetTop;while(h=h.offsetParent);Ma={maxLeft:i,minLeft:-i,maxTop:document.documentElement.clientHeight-g.clientHeight-j,minTop:-j},Oa=_}else Ma=null,Oa=$;return l("onmove",c),Na=!c.isModal()&&c.isPinned(),Ha=c,Oa(d,g),b(document.body,Ca.noSelection),!1}}}function ba(a){if(Ha){var b;"touchmove"===a.type?(a.preventDefault(),b=a.targetTouches[0]):0===a.button&&(b=a),b&&Oa(b,Ha.elements.dialog)}}function ca(){if(Ha){var a=Ha;Ha=Ma=null,c(document.body,Ca.noSelection),c(a.elements.dialog,Ca.capture),l("onmoved",a)}}function da(a){Ha=null;var b=a.elements.dialog;b.style.left=b.style.top=""}function ea(a){a.get("movable")?(b(a.elements.root,Ca.movable),a.isOpen()&&qa(a)):(da(a),c(a.elements.root,Ca.movable),a.isOpen()&&ra(a))}function fa(a,b,c){var e=b,f=0,g=0;do f+=e.offsetLeft,g+=e.offsetTop;while(e=e.offsetParent);var h,i;c===!0?(h=a.pageX,i=a.pageY):(h=a.clientX,i=a.clientY);var j=d();if(j&&(h=document.body.offsetWidth-h,isNaN(Qa)||(f=document.body.offsetWidth-f-b.offsetWidth)),b.style.height=i-g+Ta+"px",b.style.width=h-f+Ta+"px",!isNaN(Qa)){var k=.5*Math.abs(b.offsetWidth-Ra);j&&(k*=-1),b.offsetWidth>Ra?b.style.left=Qa+k+"px":b.offsetWidth>=Sa&&(b.style.left=Qa-k+"px")}}function ga(a,c){if(!c.isMaximized()){var d;if("touchstart"===a.type?(a.preventDefault(),d=a.targetTouches[0]):0===a.button&&(d=a),d){l("onresize",c),Pa=c,Ta=c.elements.resizeHandle.offsetHeight/2;var e=c.elements.dialog;return b(e,Ca.capture),Qa=parseInt(e.style.left,10),e.style.height=e.offsetHeight+"px",e.style.minHeight=c.elements.header.offsetHeight+c.elements.footer.offsetHeight+"px",e.style.width=(Ra=e.offsetWidth)+"px","none"!==e.style.maxWidth&&(e.style.minWidth=(Sa=e.offsetWidth)+"px"),e.style.maxWidth="none",b(document.body,Ca.noSelection),!1}}}function ha(a){if(Pa){var b;"touchmove"===a.type?(a.preventDefault(),b=a.targetTouches[0]):0===a.button&&(b=a),b&&fa(b,Pa.elements.dialog,!Pa.get("modal")&&!Pa.get("pinned"))}}function ia(){if(Pa){var a=Pa;Pa=null,c(document.body,Ca.noSelection),c(a.elements.dialog,Ca.capture),Fa=!0,l("onresized",a)}}function ja(a){Pa=null;var b=a.elements.dialog;"none"===b.style.maxWidth&&(b.style.maxWidth=b.style.minWidth=b.style.width=b.style.height=b.style.minHeight=b.style.left="",Qa=Number.Nan,Ra=Sa=Ta=0)}function ka(a){a.get("resizable")?(b(a.elements.root,Ca.resizable),a.isOpen()&&sa(a)):(ja(a),c(a.elements.root,Ca.resizable),a.isOpen()&&ta(a))}function la(){for(var a=0;a<p.length;a+=1){var b=p[a];b.get("autoReset")&&(da(b),ja(b))}}function ma(b){1===p.length&&(q(a,"resize",la),q(document.body,"keyup",U),q(document.body,"keydown",V),q(document.body,"focus",X),q(document.documentElement,"mousemove",ba),q(document.documentElement,"touchmove",ba),q(document.documentElement,"mouseup",ca),q(document.documentElement,"touchend",ca),q(document.documentElement,"mousemove",ha),q(document.documentElement,"touchmove",ha),q(document.documentElement,"mouseup",ia),q(document.documentElement,"touchend",ia)),q(b.elements.commands.container,"click",b.__internal.commandsClickHandler),q(b.elements.footer,"click",b.__internal.buttonsClickHandler),q(b.elements.reset[0],"focus",b.__internal.resetHandler),q(b.elements.reset[1],"focus",b.__internal.resetHandler),Ga=!0,q(b.elements.dialog,s.type,b.__internal.transitionInHandler),b.get("modal")||oa(b),b.get("resizable")&&sa(b),b.get("movable")&&qa(b)}function na(b){1===p.length&&(r(a,"resize",la),r(document.body,"keyup",U),r(document.body,"keydown",V),r(document.body,"focus",X),r(document.documentElement,"mousemove",ba),r(document.documentElement,"mouseup",ca),r(document.documentElement,"mousemove",ha),r(document.documentElement,"mouseup",ia)),r(b.elements.commands.container,"click",b.__internal.commandsClickHandler),r(b.elements.footer,"click",b.__internal.buttonsClickHandler),r(b.elements.reset[0],"focus",b.__internal.resetHandler),r(b.elements.reset[1],"focus",b.__internal.resetHandler),q(b.elements.dialog,s.type,b.__internal.transitionOutHandler),b.get("modal")||pa(b),b.get("movable")&&ra(b),b.get("resizable")&&ta(b)}function oa(a){q(a.elements.dialog,"focus",a.__internal.bringToFrontHandler,!0)}function pa(a){r(a.elements.dialog,"focus",a.__internal.bringToFrontHandler,!0)}function qa(a){q(a.elements.header,"mousedown",a.__internal.beginMoveHandler),q(a.elements.header,"touchstart",a.__internal.beginMoveHandler)}function ra(a){r(a.elements.header,"mousedown",a.__internal.beginMoveHandler),r(a.elements.header,"touchstart",a.__internal.beginMoveHandler)}function sa(a){q(a.elements.resizeHandle,"mousedown",a.__internal.beginResizeHandler),q(a.elements.resizeHandle,"touchstart",a.__internal.beginResizeHandler)}function ta(a){r(a.elements.resizeHandle,"mousedown",a.__internal.beginResizeHandler),r(a.elements.resizeHandle,"touchstart",a.__internal.beginResizeHandler)}function ua(a){q(a.elements.modal,"click",a.__internal.modalClickHandler)}function va(a){r(a.elements.modal,"click",a.__internal.modalClickHandler)}var wa,xa,ya=[],za=null,Aa=a.navigator.userAgent.indexOf("Safari")>-1&&a.navigator.userAgent.indexOf("Chrome")<0,Ba={dimmer:'<div class="ajs-dimmer"></div>',modal:'<div class="ajs-modal" tabindex="0"></div>',dialog:'<div class="ajs-dialog" tabindex="0"></div>',reset:'<button class="ajs-reset"></button>',commands:'<div class="ajs-commands"><button class="ajs-pin"></button><button class="ajs-maximize"></button><button class="ajs-close"></button></div>',header:'<div class="ajs-header"></div>',body:'<div class="ajs-body"></div>',content:'<div class="ajs-content"></div>',footer:'<div class="ajs-footer"></div>',buttons:{primary:'<div class="ajs-primary ajs-buttons"></div>',auxiliary:'<div class="ajs-auxiliary ajs-buttons"></div>'},button:'<button class="ajs-button"></button>',resizeHandle:'<div class="ajs-handle"></div>'},Ca={animationIn:"ajs-in",animationOut:"ajs-out",base:"alertify",basic:"ajs-basic",capture:"ajs-capture",closable:"ajs-closable",fixed:"ajs-fixed",frameless:"ajs-frameless",hidden:"ajs-hidden",maximize:"ajs-maximize",maximized:"ajs-maximized",maximizable:"ajs-maximizable",modeless:"ajs-modeless",movable:"ajs-movable",noSelection:"ajs-no-selection",noOverflow:"ajs-no-overflow",noPadding:"ajs-no-padding",pin:"ajs-pin",pinnable:"ajs-pinnable",prefix:"ajs-",resizable:"ajs-resizable",restore:"ajs-restore",shake:"ajs-shake",unpinned:"ajs-unpinned"},Da="",Ea=0,Fa=!1,Ga=!1,Ha=null,Ia=0,Ja=0,Ka="pageX",La="pageY",Ma=null,Na=!1,Oa=null,Pa=null,Qa=Number.Nan,Ra=0,Sa=0,Ta=0;return{__init:m,isOpen:function(){return this.__internal.isOpen},isModal:function(){return this.elements.root.className.indexOf(Ca.modeless)<0},isMaximized:function(){return this.elements.root.className.indexOf(Ca.maximized)>-1},isPinned:function(){return this.elements.root.className.indexOf(Ca.unpinned)<0},maximize:function(){return this.isMaximized()||I(this),this},restore:function(){return this.isMaximized()&&J(this),this},pin:function(){return this.isPinned()||G(this),this},unpin:function(){return this.isPinned()&&H(this),this},bringToFront:function(){return B(null,this),this},moveTo:function(a,b){if(!isNaN(a)&&!isNaN(b)){l("onmove",this);var c=this.elements.dialog,e=c,f=0,g=0;c.style.left&&(f-=parseInt(c.style.left,10)),c.style.top&&(g-=parseInt(c.style.top,10));do f+=e.offsetLeft,g+=e.offsetTop;while(e=e.offsetParent);var h=a-f,i=b-g;d()&&(h*=-1),c.style.left=h+"px",c.style.top=i+"px",l("onmoved",this)}return this},resizeTo:function(a,b){var c=parseFloat(a),d=parseFloat(b),e=/(\d*\.\d+|\d+)%/;if(!isNaN(c)&&!isNaN(d)&&this.get("resizable")===!0){l("onresize",this),(""+a).match(e)&&(c=c/100*document.documentElement.clientWidth),(""+b).match(e)&&(d=d/100*document.documentElement.clientHeight);var f=this.elements.dialog;"none"!==f.style.maxWidth&&(f.style.minWidth=(Sa=f.offsetWidth)+"px"),f.style.maxWidth="none",f.style.minHeight=this.elements.header.offsetHeight+this.elements.footer.offsetHeight+"px",f.style.width=c+"px",f.style.height=d+"px",l("onresized",this)}return this},setting:function(a,b){var c=this,d=D(this,this.__internal.options,function(a,b,d){C(c,a,b,d)},a,b);if("get"===d.op)return d.found?d.value:"undefined"!=typeof this.settings?D(this,this.settings,this.settingUpdated||function(){},a,b).value:void 0;if("set"===d.op){if(d.items.length>0)for(var e=this.settingUpdated||function(){},f=0;f<d.items.length;f+=1){var g=d.items[f];g.found||"undefined"==typeof this.settings||D(this,this.settings,e,g.key,g.value)}return this}},set:function(a,b){return this.setting(a,b),this},get:function(a){return this.setting(a)},setHeader:function(b){return"string"==typeof b?(g(this.elements.header),this.elements.header.innerHTML=b):b instanceof a.HTMLElement&&this.elements.header.firstChild!==b&&(g(this.elements.header),this.elements.header.appendChild(b)),this},setContent:function(b){return"string"==typeof b?(g(this.elements.content),this.elements.content.innerHTML=b):b instanceof a.HTMLElement&&this.elements.content.firstChild!==b&&(g(this.elements.content),this.elements.content.appendChild(b)),this},showModal:function(a){return this.show(!0,a)},show:function(a,d){if(m(this),this.__internal.isOpen){da(this),ja(this),b(this.elements.dialog,Ca.shake);var e=this;setTimeout(function(){c(e.elements.dialog,Ca.shake)},200)}else{if(this.__internal.isOpen=!0,p.push(this),v.defaults.maintainFocus&&(this.__internal.activeElement=document.activeElement),"function"==typeof this.prepare&&this.prepare(),ma(this),void 0!==a&&this.set("modal",a),o(),u(),"string"==typeof d&&""!==d&&(this.__internal.className=d,b(this.elements.root,d)),this.get("startMaximized")?this.maximize():this.isMaximized()&&J(this),N(this),c(this.elements.root,Ca.animationOut),b(this.elements.root,Ca.animationIn),clearTimeout(this.__internal.timerIn),this.__internal.timerIn=setTimeout(this.__internal.transitionInHandler,s.supported?1e3:100),Aa){var f=this.elements.root;f.style.display="none",setTimeout(function(){f.style.display="block"},0)}za=this.elements.root.offsetWidth,c(this.elements.root,Ca.hidden),"function"==typeof this.hooks.onshow&&this.hooks.onshow.call(this),l("onshow",this)}return this},close:function(){return this.__internal.isOpen&&(na(this),c(this.elements.root,Ca.animationIn),b(this.elements.root,Ca.animationOut),clearTimeout(this.__internal.timerOut),this.__internal.timerOut=setTimeout(this.__internal.transitionOutHandler,s.supported?1e3:100),b(this.elements.root,Ca.hidden),za=this.elements.modal.offsetWidth,"undefined"!=typeof this.__internal.className&&""!==this.__internal.className&&c(this.elements.root,this.__internal.className),"function"==typeof this.hooks.onclose&&this.hooks.onclose.call(this),l("onclose",this),p.splice(p.indexOf(this),1),this.__internal.isOpen=!1,u()),this},closeOthers:function(){return v.closeAll(this),this},destroy:function(){return this.__internal.isOpen?(this.__internal.destroy=function(){i(this,m)},this.close()):i(this,m),this}}}(),u=function(){function d(a){a.__internal||(a.__internal={position:v.defaults.notifier.position,delay:v.defaults.notifier.delay},l=document.createElement("DIV"),h(a)),l.parentNode!==document.body&&document.body.appendChild(l)}function e(a){a.__internal.pushed=!0,m.push(a)}function f(a){m.splice(m.indexOf(a),1),a.__internal.pushed=!1}function h(a){switch(l.className=n.base,a.__internal.position){case"top-right":b(l,n.top+" "+n.right);break;case"top-left":b(l,n.top+" "+n.left);break;case"bottom-left":b(l,n.bottom+" "+n.left);break;default:case"bottom-right":b(l,n.bottom+" "+n.right)}}function i(d,h){function i(a,b){b.dismiss(!0)}function m(a,b){r(b.element,s.type,m),l.removeChild(b.element)}function o(a){return a.__internal||(a.__internal={pushed:!1,delay:void 0,timer:void 0,clickHandler:void 0,transitionEndHandler:void 0,transitionTimeout:void 0},a.__internal.clickHandler=j(a,i),a.__internal.transitionEndHandler=j(a,m)),a}function p(a){clearTimeout(a.__internal.timer),clearTimeout(a.__internal.transitionTimeout)}return o({element:d,push:function(a,c){if(!this.__internal.pushed){e(this),p(this);var d,f;switch(arguments.length){case 0:f=this.__internal.delay;break;case 1:"number"==typeof a?f=a:(d=a,f=this.__internal.delay);break;case 2:d=a,f=c}return"undefined"!=typeof d&&this.setContent(d),u.__internal.position.indexOf("top")<0?l.appendChild(this.element):l.insertBefore(this.element,l.firstChild),k=this.element.offsetWidth,b(this.element,n.visible),q(this.element,"click",this.__internal.clickHandler),this.delay(f)}return this},ondismiss:function(){},callback:h,dismiss:function(a){return this.__internal.pushed&&(p(this),("function"!=typeof this.ondismiss||this.ondismiss.call(this)!==!1)&&(r(this.element,"click",this.__internal.clickHandler),"undefined"!=typeof this.element&&this.element.parentNode===l&&(this.__internal.transitionTimeout=setTimeout(this.__internal.transitionEndHandler,s.supported?1e3:100),c(this.element,n.visible),"function"==typeof this.callback&&this.callback.call(this,a)),f(this))),this},delay:function(a){if(p(this),this.__internal.delay="undefined"==typeof a||isNaN(+a)?u.__internal.delay:+a,this.__internal.delay>0){var b=this;this.__internal.timer=setTimeout(function(){b.dismiss()},1e3*this.__internal.delay)}return this},setContent:function(b){return"string"==typeof b?(g(this.element),this.element.innerHTML=b):b instanceof a.HTMLElement&&this.element.firstChild!==b&&(g(this.element),this.element.appendChild(b)),this},dismissOthers:function(){return u.dismissAll(this),this}})}var k,l,m=[],n={base:"alertify-notifier",message:"ajs-message",top:"ajs-top",right:"ajs-right",bottom:"ajs-bottom",left:"ajs-left",visible:"ajs-visible",hidden:"ajs-hidden"};return{setting:function(a,b){if(d(this),"undefined"==typeof b)return this.__internal[a];switch(a){case"position":this.__internal.position=b,h(this);break;case"delay":this.__internal.delay=b}return this},set:function(a,b){return this.setting(a,b),this},get:function(a){return this.setting(a)},create:function(a,b){d(this);var c=document.createElement("div");return c.className=n.message+("string"==typeof a&&""!==a?" ajs-"+a:""),i(c,b)},dismissAll:function(a){for(var b=m.slice(0),c=0;c<b.length;c+=1){var d=b[c];(void 0===a||a!==d)&&d.dismiss()}}}}(),v=new m;v.dialog("alert",function(){return{main:function(a,b,c){var d,e,f;switch(arguments.length){case 1:e=a;break;case 2:"function"==typeof b?(e=a,f=b):(d=a,e=b);break;case 3:d=a,e=b,f=c}return this.set("title",d),this.set("message",e),this.set("onok",f),this},setup:function(){return{buttons:[{text:v.defaults.glossary.ok,key:n.ESC,invokeOnClose:!0,className:v.defaults.theme.ok}],focus:{element:0,select:!1},options:{maximizable:!1,resizable:!1}}},build:function(){},prepare:function(){},setMessage:function(a){this.setContent(a)},settings:{message:void 0,onok:void 0,label:void 0},settingUpdated:function(a,b,c){switch(a){case"message":this.setMessage(c);break;case"label":this.__internal.buttons[0].element&&(this.__internal.buttons[0].element.innerHTML=c)}},callback:function(a){if("function"==typeof this.get("onok")){var b=this.get("onok").call(this,a);"undefined"!=typeof b&&(a.cancel=!b)}}}}),v.dialog("confirm",function(){function a(a){null!==c.timer&&(clearInterval(c.timer),c.timer=null,a.__internal.buttons[c.index].element.innerHTML=c.text)}function b(b,d,e){a(b),c.duration=e,c.index=d,c.text=b.__internal.buttons[d].element.innerHTML,c.timer=setInterval(j(b,c.task),1e3),c.task(null,b)}var c={timer:null,index:null,text:null,duration:null,task:function(b,d){if(d.isOpen()){if(d.__internal.buttons[c.index].element.innerHTML=c.text+" (‏"+c.duration+"‏) ",c.duration-=1,-1===c.duration){a(d);var e=d.__internal.buttons[c.index],f=k(c.index,e);"function"==typeof d.callback&&d.callback.apply(d,[f]),f.close!==!1&&d.close()}}else a(d)}};return{main:function(a,b,c,d){var e,f,g,h;switch(arguments.length){case 1:f=a;break;case 2:f=a,g=b;break;case 3:f=a,g=b,h=c;break;case 4:e=a,f=b,g=c,h=d}return this.set("title",e),this.set("message",f),this.set("onok",g),this.set("oncancel",h),this},setup:function(){return{buttons:[{text:v.defaults.glossary.ok,key:n.ENTER,className:v.defaults.theme.ok},{text:v.defaults.glossary.cancel,key:n.ESC,invokeOnClose:!0,className:v.defaults.theme.cancel}],focus:{element:0,select:!1},options:{maximizable:!1,resizable:!1}}},build:function(){},prepare:function(){},setMessage:function(a){this.setContent(a)},settings:{message:null,labels:null,onok:null,oncancel:null,defaultFocus:null,reverseButtons:null},settingUpdated:function(a,b,c){switch(a){case"message":this.setMessage(c); | |
3 | +break;case"labels":"ok"in c&&this.__internal.buttons[0].element&&(this.__internal.buttons[0].text=c.ok,this.__internal.buttons[0].element.innerHTML=c.ok),"cancel"in c&&this.__internal.buttons[1].element&&(this.__internal.buttons[1].text=c.cancel,this.__internal.buttons[1].element.innerHTML=c.cancel);break;case"reverseButtons":c===!0?this.elements.buttons.primary.appendChild(this.__internal.buttons[0].element):this.elements.buttons.primary.appendChild(this.__internal.buttons[1].element);break;case"defaultFocus":this.__internal.focus.element="ok"===c?0:1}},callback:function(b){a(this);var c;switch(b.index){case 0:"function"==typeof this.get("onok")&&(c=this.get("onok").call(this,b),"undefined"!=typeof c&&(b.cancel=!c));break;case 1:"function"==typeof this.get("oncancel")&&(c=this.get("oncancel").call(this,b),"undefined"!=typeof c&&(b.cancel=!c))}},autoOk:function(a){return b(this,0,a),this},autoCancel:function(a){return b(this,1,a),this}}}),v.dialog("prompt",function(){var b=document.createElement("INPUT"),c=document.createElement("P");return{main:function(a,b,c,d,e){var f,g,h,i,j;switch(arguments.length){case 1:g=a;break;case 2:g=a,h=b;break;case 3:g=a,h=b,i=c;break;case 4:g=a,h=b,i=c,j=d;break;case 5:f=a,g=b,h=c,i=d,j=e}return this.set("title",f),this.set("message",g),this.set("value",h),this.set("onok",i),this.set("oncancel",j),this},setup:function(){return{buttons:[{text:v.defaults.glossary.ok,key:n.ENTER,className:v.defaults.theme.ok},{text:v.defaults.glossary.cancel,key:n.ESC,invokeOnClose:!0,className:v.defaults.theme.cancel}],focus:{element:b,select:!0},options:{maximizable:!1,resizable:!1}}},build:function(){b.className=v.defaults.theme.input,b.setAttribute("type","text"),b.value=this.get("value"),this.elements.content.appendChild(c),this.elements.content.appendChild(b)},prepare:function(){},setMessage:function(b){"string"==typeof b?(g(c),c.innerHTML=b):b instanceof a.HTMLElement&&c.firstChild!==b&&(g(c),c.appendChild(b))},settings:{message:void 0,labels:void 0,onok:void 0,oncancel:void 0,value:"",type:"text",reverseButtons:void 0},settingUpdated:function(a,c,d){switch(a){case"message":this.setMessage(d);break;case"value":b.value=d;break;case"type":switch(d){case"text":case"color":case"date":case"datetime-local":case"email":case"month":case"number":case"password":case"search":case"tel":case"time":case"week":b.type=d;break;default:b.type="text"}break;case"labels":d.ok&&this.__internal.buttons[0].element&&(this.__internal.buttons[0].element.innerHTML=d.ok),d.cancel&&this.__internal.buttons[1].element&&(this.__internal.buttons[1].element.innerHTML=d.cancel);break;case"reverseButtons":d===!0?this.elements.buttons.primary.appendChild(this.__internal.buttons[0].element):this.elements.buttons.primary.appendChild(this.__internal.buttons[1].element)}},callback:function(a){var c;switch(a.index){case 0:this.settings.value=b.value,"function"==typeof this.get("onok")&&(c=this.get("onok").call(this,a,this.settings.value),"undefined"!=typeof c&&(a.cancel=!c));break;case 1:"function"==typeof this.get("oncancel")&&(c=this.get("oncancel").call(this,a),"undefined"!=typeof c&&(a.cancel=!c)),a.cancel||(b.value=this.settings.value)}}}}),"object"==typeof module&&"object"==typeof module.exports?module.exports=v:"function"==typeof define&&define.amd?define([],function(){return v}):a.alertify||(a.alertify=v)}("undefined"!=typeof window?window:this); | |
0 | 4 | \ No newline at end of file | ... | ... |
courses/templates/topic/list_topic_foruns.html
1 | 1 | {% for forum in foruns %} |
2 | - <a href="javascript:showForum('{% url 'forum:index' %}', '{{forum.id}}')">{{ forum }}</a><br /> | |
2 | + <a id="forum_{{ forum.id }}" href="javascript:showForum('{% url 'forum:index' %}', '{{forum.id}}')">{{ forum }}</a><br /> | |
3 | 3 | {% endfor %} |
4 | 4 | \ No newline at end of file | ... | ... |
forum/static/js/forum.js
... | ... | @@ -14,6 +14,11 @@ function getCookie(name) { |
14 | 14 | return cookieValue; |
15 | 15 | } |
16 | 16 | |
17 | +/* | |
18 | +* | |
19 | +* Function to load create forum's form and set the submit function | |
20 | +* | |
21 | +*/ | |
17 | 22 | function createForum(url, topic) { |
18 | 23 | $.ajax({ |
19 | 24 | url: url, |
... | ... | @@ -22,10 +27,7 @@ function createForum(url, topic) { |
22 | 27 | $(".forum_form").html(data); |
23 | 28 | $("#id_topic").val(topic); |
24 | 29 | |
25 | - $('.date-picker').datepicker({ | |
26 | - orientation: 'auto' | |
27 | - }); | |
28 | - | |
30 | + $('.date-picker').datepicker(); | |
29 | 31 | |
30 | 32 | var frm = $('#forum_create'); |
31 | 33 | frm.submit(function () { |
... | ... | @@ -34,16 +36,17 @@ function createForum(url, topic) { |
34 | 36 | url: frm.attr('action'), |
35 | 37 | data: frm.serialize(), |
36 | 38 | success: function (data) { |
39 | + console.log(data); | |
37 | 40 | data = data.split('-'); |
38 | 41 | |
39 | - $('.foruns_list').append("<a href='javascript:"+showForum(data[0], data[1])+"'>"+data[2]+"</a><br />"); | |
42 | + $('.foruns_list').append("<a id='forum_"+data[1]+"' href='javascript:"+showForum(data[0], data[1])+"'>"+data[2]+"</a><br />"); | |
40 | 43 | |
41 | 44 | $("#createForum").modal('hide'); |
42 | 45 | |
43 | 46 | showForum(data[0], data[1]); |
44 | 47 | }, |
45 | 48 | error: function(data) { |
46 | - console.log('Error'); | |
49 | + $(".forum_form").html(data.responseText); | |
47 | 50 | } |
48 | 51 | }); |
49 | 52 | return false; |
... | ... | @@ -90,6 +93,7 @@ function showForum(url, forum_id) { |
90 | 93 | $('#forumModal').modal(); |
91 | 94 | } |
92 | 95 | |
96 | + | |
93 | 97 | /* |
94 | 98 | * |
95 | 99 | * Function to load form to edit post | ... | ... |
forum/templates/forum/forum_list.html
... | ... | @@ -3,7 +3,23 @@ |
3 | 3 | |
4 | 4 | <div class="comments-list"> |
5 | 5 | <div class="section-heading"> |
6 | - <h1>{{ forum }}</h1> | |
6 | + <h1> | |
7 | + {{ forum }} | |
8 | + <div class="pull-right"> | |
9 | + {% if request.user|has_role:'system_admin' or request.user|has_role:'professor' and request.user == post.user %} | |
10 | + {% csrf_token %} | |
11 | + <div class="btn-group icon-more-horiz"> | |
12 | + <a class="btn btn-default btn-xs dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | |
13 | + <i class="material-icons">more_horiz</i> | |
14 | + </a> | |
15 | + <ul class="dropdown-menu" aria-labelledby="dropdownMenu1"> | |
16 | + <li><a href="javascript:edit_forum('{% url 'forum:index' %}', '{{ forum.id }}')"><i class="material-icons">create</i> {% trans 'Edit' %}</a></li> | |
17 | + | |
18 | + </ul> | |
19 | + </div> | |
20 | + {% endif %} | |
21 | + </div> | |
22 | + </h1> | |
7 | 23 | <h4><b>{% trans 'Description' %}:</b> {{ forum.description }}</h4> |
8 | 24 | <h4><b>{% trans 'Opened in' %}:</b> {{ forum.create_date }}</h4> |
9 | 25 | </div> | ... | ... |
forum/templates/post/post_list.html
... | ... | @@ -10,7 +10,7 @@ |
10 | 10 | <a href="javascript:answer('{{ post.id }}', '{% url 'forum:reply_post' %}');"> |
11 | 11 | <i class="material-icons">reply</i> |
12 | 12 | </a> |
13 | - {% if request.user|has_role:'system_admin' or request.user|has_role:'professor' and request.user == post.user %} | |
13 | + {% if request.user|has_role:'system_admin' or request.user == post.user %} | |
14 | 14 | {% csrf_token %} |
15 | 15 | <div class="btn-group icon-more-horiz"> |
16 | 16 | <a class="btn btn-default btn-xs dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | ... | ... |
forum/urls.py
... | ... | @@ -6,7 +6,9 @@ from . import views |
6 | 6 | urlpatterns = [ |
7 | 7 | url(r'^$', views.ForumIndex.as_view(), name='index'), |
8 | 8 | url(r'^create/$', views.CreateForumView.as_view(), name='create'), |
9 | + url(r'^delete/(?P<pk>[\w_-]+)/$', views.ForumDeleteView.as_view(), name='delete'), | |
9 | 10 | url(r'^render_forum/([\w_-]+)/$', views.render_forum, name='render_forum'), |
11 | + url(r'^forum_deleted/$', views.forum_deleted, name='deleted_forum'), | |
10 | 12 | url(r'^create_post/$', views.CreatePostView.as_view(), name='create_post'), |
11 | 13 | url(r'^update_post/(?P<pk>[\w_-]+)/$', views.PostUpdateView.as_view(), name='update_post'), |
12 | 14 | url(r'^delete_post/(?P<pk>[\w_-]+)/$', views.PostDeleteView.as_view(), name='delete_post'), | ... | ... |
forum/views.py
... | ... | @@ -37,7 +37,11 @@ class CreateForumView(LoginRequiredMixin, generic.edit.CreateView): |
37 | 37 | template_name = 'forum/forum_form.html' |
38 | 38 | form_class = ForumForm |
39 | 39 | |
40 | + def form_invalid(self, form): | |
41 | + return self.render_to_response(self.get_context_data(form = form), status = 400) | |
42 | + | |
40 | 43 | def get_success_url(self): |
44 | + print("Pass") | |
41 | 45 | self.success_url = reverse('forum:render_forum', args = (self.object.id, )) |
42 | 46 | |
43 | 47 | return self.success_url |
... | ... | @@ -47,6 +51,17 @@ def render_forum(request, forum): |
47 | 51 | |
48 | 52 | return HttpResponse(str(reverse_lazy('forum:index')) + '-' + str(forum) + '-' + str(last_forum.name)) |
49 | 53 | |
54 | +class ForumDeleteView(LoginRequiredMixin, generic.DeleteView): | |
55 | + login_url = reverse_lazy("core:home") | |
56 | + redirect_field_name = 'next' | |
57 | + | |
58 | + model = Forum | |
59 | + pk_url_kwarg = 'pk' | |
60 | + success_url = reverse_lazy('forum:deleted_forum') | |
61 | + | |
62 | +def forum_deleted(request): | |
63 | + return HttpResponse(_("Forum deleted successfully.")) | |
64 | + | |
50 | 65 | class CreatePostView(LoginRequiredMixin, generic.edit.CreateView): |
51 | 66 | login_url = reverse_lazy("core:home") |
52 | 67 | redirect_field_name = 'next' | ... | ... |