|
1 /* |
|
2 * JQuery-UI for Bootstrap |
|
3 */ |
|
4 |
|
5 |
|
6 .slider { |
|
7 margin-top: 0; |
|
8 margin-bottom: 30px; |
|
9 |
|
10 &.slider-vertical { |
|
11 margin-bottom: 0; |
|
12 margin-right: 5px; |
|
13 } |
|
14 } |
|
15 |
|
16 .ui-helper { |
|
17 &-hidden { |
|
18 display: none; |
|
19 |
|
20 &-accessible { |
|
21 border: 0; |
|
22 clip: rect(0 0 0 0); |
|
23 height: 1px; |
|
24 margin: -1px; |
|
25 overflow: hidden; |
|
26 padding: 0; |
|
27 position: absolute; |
|
28 width: 1px; |
|
29 } |
|
30 } |
|
31 &-reset { |
|
32 margin: 0; |
|
33 padding: 0; |
|
34 border: 0; |
|
35 outline: 0; |
|
36 line-height: 1.3; |
|
37 text-decoration: none; |
|
38 font-size: 100%; |
|
39 list-style: none; |
|
40 } |
|
41 &-clearfix { |
|
42 display: block; |
|
43 min-height: 0; |
|
44 |
|
45 &:after, |
|
46 &:before { |
|
47 content: ""; |
|
48 display: table; |
|
49 border-collapse: collapse; |
|
50 } |
|
51 &:after { |
|
52 content: "."; |
|
53 display: block; |
|
54 height: 0; |
|
55 clear: both; |
|
56 visibility: hidden; |
|
57 } |
|
58 * html & { |
|
59 height: 1%; |
|
60 } |
|
61 } |
|
62 &-zfix { |
|
63 width: 100%; |
|
64 height: 100%; |
|
65 top: 0; |
|
66 left: 0; |
|
67 position: absolute; |
|
68 opacity: 0; |
|
69 filter: alpha(opacity=0); |
|
70 } |
|
71 } |
|
72 |
|
73 .ui-front { |
|
74 z-index: 100; |
|
75 } |
|
76 |
|
77 .ui-state-disabled { |
|
78 cursor: default !important; |
|
79 } |
|
80 |
|
81 .ui-icon { |
|
82 display: block; |
|
83 width: 16px; |
|
84 height: 16px; |
|
85 text-indent: -99999px; |
|
86 overflow: hidden; |
|
87 background-repeat: no-repeat; |
|
88 } |
|
89 |
|
90 |
|
91 /* |
|
92 * UI widget |
|
93 */ |
|
94 |
|
95 .ui-widget { |
|
96 font-family: Ubuntu, Helvetica, Arial, sans-serif; |
|
97 font-size: 13px; |
|
98 |
|
99 :active { |
|
100 outline: 0; |
|
101 } |
|
102 .ui-widget { |
|
103 font-size: 13px; |
|
104 } |
|
105 button, |
|
106 input, |
|
107 select, |
|
108 textarea { |
|
109 font-family: Ubuntu, Helvetica, Arial, sans-serif; |
|
110 font-size: inherit; |
|
111 } |
|
112 &-content { |
|
113 border: 1px solid #aaa; |
|
114 background: #fff; |
|
115 color: #404040; |
|
116 |
|
117 .ui-icon { |
|
118 background: none!important; |
|
119 } |
|
120 } |
|
121 &-header { |
|
122 font-weight: 700; |
|
123 background-color: #F5F5F5; |
|
124 border-color: #DDD; |
|
125 color: #333; |
|
126 |
|
127 a { |
|
128 color: #222; |
|
129 } |
|
130 } |
|
131 &-overlay { |
|
132 position: fixed; |
|
133 background: #AAA; |
|
134 width: 100%; |
|
135 height: 200%; |
|
136 top: 0; |
|
137 left: 0; |
|
138 z-index: 999; |
|
139 opacity: .3; |
|
140 filter: alpha(opacity=30); |
|
141 } |
|
142 &-shadow { |
|
143 margin: -8px 0 0 -8px; |
|
144 padding: 8px; |
|
145 background: #aaa; |
|
146 opacity: .3; |
|
147 filter: alpha(opacity=30); |
|
148 border-radius: 8px; |
|
149 } |
|
150 } |
|
151 |
|
152 .ui-state { |
|
153 &-default, |
|
154 .ui-widget-content &-default, |
|
155 .ui-widget-header &-default { |
|
156 color: #333; |
|
157 background-color: #fff; |
|
158 font-weight: 400; |
|
159 border: 1px solid #ccc; |
|
160 } |
|
161 &-default { |
|
162 a, |
|
163 a:link, |
|
164 a:visited { |
|
165 color: #555; |
|
166 text-decoration: none; |
|
167 } |
|
168 &, |
|
169 .ui-widget-content &, |
|
170 .ui-widget-header & { |
|
171 text-shadow: none; |
|
172 } |
|
173 } |
|
174 &-default, |
|
175 &-error, |
|
176 &-highlight { |
|
177 position: relative; |
|
178 border-width: 1px; |
|
179 border-style: solid; |
|
180 |
|
181 p { |
|
182 font-size: 13px; |
|
183 font-weight: 400; |
|
184 line-height: 18px; |
|
185 margin: 7px 15px; |
|
186 } |
|
187 } |
|
188 &-highlight, { |
|
189 &, |
|
190 .ui-widget-content &, |
|
191 .ui-widget-header & { |
|
192 color: #3a87ad; |
|
193 background-color: #d9edf7; |
|
194 border-color: #bce8f1; |
|
195 } |
|
196 a, |
|
197 .ui-widget-content & a, |
|
198 .ui-widget-header & a { |
|
199 color: #2d6987; |
|
200 } |
|
201 } |
|
202 &-error { |
|
203 &, |
|
204 .ui-widget-content &, |
|
205 .ui-widget-header & { |
|
206 color: #b94a48; |
|
207 background-color: #f2dede; |
|
208 border-color: #eed3d7; |
|
209 } |
|
210 a, |
|
211 &-text, |
|
212 .ui-widget-content & a, |
|
213 .ui-widget-content &-text, |
|
214 .ui-widget-header & a, |
|
215 .ui-widget-header &-text { |
|
216 color: #953b39; |
|
217 } |
|
218 } |
|
219 &-focus, |
|
220 &-hover, |
|
221 .ui-widget-content &-focus, |
|
222 .ui-widget-content &-hover, |
|
223 .ui-widget-header &-focus, |
|
224 .ui-widget-header &-hover { |
|
225 color: #333; |
|
226 background-color: #ebebeb; |
|
227 border-color: #adadad; |
|
228 text-decoration: none; |
|
229 } |
|
230 &-hover a { |
|
231 &:hover, |
|
232 &:link, |
|
233 &:visited { |
|
234 color: #333; |
|
235 text-decoration: none; |
|
236 } |
|
237 } |
|
238 &-active { |
|
239 .ui-widget-content &, |
|
240 .ui-widget-header & { |
|
241 border: 1px solid #adadad; |
|
242 font-weight: 400; |
|
243 color: #333; |
|
244 } |
|
245 a, |
|
246 a:link, |
|
247 a:visited { |
|
248 color: #333; |
|
249 text-decoration: none; |
|
250 } |
|
251 } |
|
252 &-disabled, |
|
253 .ui-widget-content &-disabled, |
|
254 .ui-widget-header &-disabled { |
|
255 opacity: .35; |
|
256 filter: alpha(opacity=35); |
|
257 background-image: none; |
|
258 |
|
259 .ui-icon { |
|
260 filter: alpha(opacity=35); |
|
261 } |
|
262 } |
|
263 } |
|
264 |
|
265 .ui-priority { |
|
266 &-primary, |
|
267 .ui-widget-content &-primary, |
|
268 .ui-widget-header &-primary { |
|
269 font-weight: 700; |
|
270 } |
|
271 &-secondary, |
|
272 .ui-widget-content &-secondary, |
|
273 .ui-widget-header &-secondary { |
|
274 opacity: .7; |
|
275 filter: alpha(opacity=70); |
|
276 font-weight: 400; |
|
277 } |
|
278 } |
|
279 |
|
280 |
|
281 .ui-corner { |
|
282 &-all { |
|
283 border-radius: 0; |
|
284 } |
|
285 &-left, |
|
286 &-tl, |
|
287 &-top { |
|
288 border-top-left-radius: 4px; |
|
289 } |
|
290 &-right, |
|
291 &-top, |
|
292 &-tr { |
|
293 border-top-right-radius: 4px; |
|
294 } |
|
295 &-bl, |
|
296 &-bottom, |
|
297 &-left { |
|
298 border-bottom-left-radius: 4px; |
|
299 } |
|
300 &-bottom, |
|
301 &-br, |
|
302 &-right { |
|
303 border-bottom-right-radius: 4px; |
|
304 } |
|
305 } |
|
306 |
|
307 |
|
308 .ui-autocomplete { |
|
309 position: absolute; |
|
310 top: 0; |
|
311 left: 0; |
|
312 cursor: default; |
|
313 } |
|
314 |
|
315 .ui-autocomplete-loading { |
|
316 input[type=color]&, |
|
317 input[type=date]&, |
|
318 input[type=datetime-local]&, |
|
319 input[type=datetime]&, |
|
320 input[type=email]&, |
|
321 input[type=month]&, |
|
322 input[type=number]&, |
|
323 input[type=password]&, |
|
324 input[type=search]&, |
|
325 input[type=tel]&, |
|
326 input[type=text]&, |
|
327 input[type=time]&, |
|
328 input[type=url]&, |
|
329 input[type=week]& { |
|
330 background-image: url(../img/select2-spinner.gif)!important; |
|
331 background-repeat: no-repeat; |
|
332 background-position: 99% 50%; |
|
333 padding-right: 27px; |
|
334 } |
|
335 } |
|
336 |
|
337 /* |
|
338 * UI buttons |
|
339 */ |
|
340 |
|
341 .ui-btn { |
|
342 &-lg { |
|
343 padding: 10px 16px; |
|
344 font-size: 18px; |
|
345 line-height: 1.33; |
|
346 border-radius: 6px; |
|
347 } |
|
348 &-sm, |
|
349 &-xs { |
|
350 padding: 5px 10px; |
|
351 font-size: 12px; |
|
352 line-height: 1.5; |
|
353 border-radius: 3px; |
|
354 } |
|
355 &-xs { |
|
356 padding: 1px 5px; |
|
357 } |
|
358 &-block { |
|
359 display: block; |
|
360 width: 100%; |
|
361 padding-right: 0; |
|
362 padding-left: 0; |
|
363 } |
|
364 &-block+&-block { |
|
365 margin-top: 5px; |
|
366 } |
|
367 input[type=button]&-block, |
|
368 input[type=reset]&-block, |
|
369 input[type=submit]&-block { |
|
370 width: 100%; |
|
371 } |
|
372 } |
|
373 |
|
374 |
|
375 .ui-button { |
|
376 display: inline-block; |
|
377 padding: 6px 12px; |
|
378 margin-bottom: 0; |
|
379 font-size: 14px; |
|
380 font-weight: 400; |
|
381 line-height: 1.428571429; |
|
382 text-align: center; |
|
383 white-space: nowrap; |
|
384 vertical-align: middle; |
|
385 cursor: pointer; |
|
386 border: 1px solid #ccc; |
|
387 -webkit-user-select: none; |
|
388 -moz-user-select: none; |
|
389 -ms-user-select: none; |
|
390 -o-user-select: none; |
|
391 user-select: none; |
|
392 |
|
393 &:focus { |
|
394 outline: thin dotted #333; |
|
395 outline: 5px auto -webkit-focus-ring-color; |
|
396 outline-offset: -2px; |
|
397 } |
|
398 &:focus, |
|
399 &:hover { |
|
400 color: #333; |
|
401 background-color: #ebebeb; |
|
402 border-color: #adadad; |
|
403 text-decoration: none; |
|
404 } |
|
405 fieldset[disabled] &, |
|
406 fieldset[disabled] &.ui-state-active, |
|
407 fieldset[disabled] &:active, |
|
408 fieldset[disabled] &:focus, |
|
409 fieldset[disabled] &:hover, |
|
410 &.disabled, |
|
411 &.disabled.active, |
|
412 &.disabled:active, |
|
413 &.disabled:focus, |
|
414 &.disabled:hover, |
|
415 &[disabled], |
|
416 &[disabled].active, |
|
417 &[disabled]:active, |
|
418 &[disabled]:focus, |
|
419 &[disabled]:hover { |
|
420 background-color: #fff; |
|
421 border-color: #ccc; |
|
422 } |
|
423 &-text-icon-primary &-icon-primary { |
|
424 float: left; |
|
425 } |
|
426 &-text-icon-primary { |
|
427 padding: 2px 7px 3px; |
|
428 } |
|
429 &-primary { |
|
430 color: #fff; |
|
431 background-color: #428bca; |
|
432 border-color: #357ebd; |
|
433 } |
|
434 &-warning { |
|
435 color: #fff; |
|
436 background-color: #f0ad4e; |
|
437 border-color: #eea236; |
|
438 } |
|
439 &-info { |
|
440 color: #fff; |
|
441 background-color: #5bc0de; |
|
442 border-color: #46b8da; |
|
443 } |
|
444 &-danger { |
|
445 color: #fff; |
|
446 background-color: #d9534f; |
|
447 border-color: #d43f3a; |
|
448 } |
|
449 &-inverse { |
|
450 color: #fff; |
|
451 background-color: #222; |
|
452 border-color: #080808; |
|
453 } |
|
454 &-success { |
|
455 color: #fff; |
|
456 background-color: #5cb85c; |
|
457 border-color: #4cae4c; |
|
458 } |
|
459 &-error { |
|
460 color: #fff; |
|
461 background-color: #c43c35; |
|
462 border-color: #882a25; |
|
463 } |
|
464 &-danger:hover, |
|
465 &-info:hover, |
|
466 &-inverse:hover, |
|
467 &-primary:hover, |
|
468 &-success:hover, |
|
469 &-warning:hover { |
|
470 text-decoration: none; |
|
471 } |
|
472 &-primary:focus, |
|
473 &-primary:hover { |
|
474 color: #fff; |
|
475 background-color: #3276b1; |
|
476 border-color: #285e8e; |
|
477 } |
|
478 &-success:hover { |
|
479 color: #fff; |
|
480 background-color: #47a447; |
|
481 border-color: #398439; |
|
482 } |
|
483 &-info:hover { |
|
484 color: #fff; |
|
485 background-color: #39b3d7; |
|
486 border-color: #269abc; |
|
487 } |
|
488 &-danger:hover { |
|
489 color: #fff; |
|
490 background-color: #d2322d; |
|
491 border-color: #ac2925; |
|
492 } |
|
493 &-warning:hover { |
|
494 color: #fff; |
|
495 background-color: #ed9c28; |
|
496 border-color: #d58512; |
|
497 } |
|
498 &-inverse:hover { |
|
499 color: #fff; |
|
500 background-color: #363636; |
|
501 border-color: #000; |
|
502 } |
|
503 &-icon-only { |
|
504 width: 2.2em; |
|
505 } |
|
506 &-icons-only { |
|
507 width: 3.4em; |
|
508 } |
|
509 button&-icons-only { |
|
510 width: 3.7em; |
|
511 } |
|
512 &-text-icon-primary &-icon-primary.ui-icon { |
|
513 margin-top: 5px; |
|
514 } |
|
515 & &-text { |
|
516 display: block; |
|
517 line-height: normal; |
|
518 } |
|
519 &-icon-only &-text, |
|
520 &-icons-only &-text { |
|
521 padding: .4em; |
|
522 text-indent: -9999px; |
|
523 display: none; |
|
524 } |
|
525 &-text-icon-primary &-text, |
|
526 &-text-icons &-text { |
|
527 padding: .4em 1em .4em 2.1em; |
|
528 } |
|
529 &-text-icon-secondary &-text, |
|
530 &-text-icons &-text { |
|
531 padding: .4em 2.1em .4em 1em; |
|
532 } |
|
533 &-text-icons &-text { |
|
534 padding-left: 2.1em; |
|
535 padding-right: 2.1em; |
|
536 } |
|
537 input& { |
|
538 padding: .4em 1em; |
|
539 } |
|
540 &-icon-only .ui-icon, |
|
541 &-icons-only .ui-icon, |
|
542 &-text-icon-primary .ui-icon, |
|
543 &-text-icon-secondary .ui-icon, |
|
544 &-text-icons .ui-icon { |
|
545 margin-bottom: 0; |
|
546 margin-top: 0; |
|
547 top: 50%; |
|
548 } |
|
549 &-icon-only .ui-icon { |
|
550 left: 50%; |
|
551 margin-left: -8px; |
|
552 margin-right: -6px; |
|
553 } |
|
554 &-icons-only &-icon-primary, |
|
555 &-text-icon-primary &-icon-primary, |
|
556 &-text-icons &-icon-primary { |
|
557 left: .5em; |
|
558 } |
|
559 &-icons-only &-icon-secondary, |
|
560 &-text-icon-secondary &-icon-secondary, |
|
561 &-text-icons &-icon-secondary { |
|
562 right: .5em; |
|
563 } |
|
564 &set { |
|
565 margin-right: 7px; |
|
566 |
|
567 .ui-state-active { |
|
568 color: #fff; |
|
569 background-color: #428bca; |
|
570 border-color: #357ebd; |
|
571 |
|
572 &.ui-state-hover { |
|
573 color: #fff; |
|
574 background-color: #3276b1; |
|
575 border-color: #285e8e; |
|
576 } |
|
577 } |
|
578 .ui-button { |
|
579 margin-left: 0; |
|
580 margin-right: -.4em; |
|
581 } |
|
582 } |
|
583 button&::-moz-focus-inner { |
|
584 border: 0; |
|
585 padding: 0; |
|
586 } |
|
587 } |
|
588 |
|
589 |
|
590 /* |
|
591 * UI slider |
|
592 */ |
|
593 |
|
594 .ui-slider { |
|
595 position: relative; |
|
596 text-align: left; |
|
597 |
|
598 &.ui-state-disabled &-handle, |
|
599 &.ui-state-disabled &-range { |
|
600 -webkit-filter: inherit; |
|
601 filter: inherit; |
|
602 } |
|
603 .ui-slider-handle { |
|
604 position: absolute; |
|
605 z-index: 2; |
|
606 width: 16px; |
|
607 height: 18px; |
|
608 cursor: default; |
|
609 } |
|
610 .ui-slider-range { |
|
611 position: absolute; |
|
612 z-index: 1; |
|
613 font-size: .7em; |
|
614 display: block; |
|
615 border: 0; |
|
616 background-position: 0 0; |
|
617 color: #fff; |
|
618 background-color: #0e90d2; |
|
619 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be)); |
|
620 background-image: -webkit-linear-gradient(top, #149bdf, #0480be); |
|
621 background-image: -webkit-gradient(linear, top left, bottom left, from(#149bdf), to(#0480be)); |
|
622 background-image: -webkit-linear-gradient(top, #149bdf, #0480be); |
|
623 background-image: linear-gradient(to bottom, #149bdf, #0480be); |
|
624 background-repeat: repeat-x; |
|
625 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0); |
|
626 -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15); |
|
627 box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15); |
|
628 -webkit-box-sizing: border-box; |
|
629 -moz-box-sizing: border-box; |
|
630 box-sizing: border-box; |
|
631 -webkit-transition: width .6s ease; |
|
632 transition: width .6s ease; |
|
633 } |
|
634 &-horizontal { |
|
635 height: 10px; |
|
636 background: #D5D5D5; |
|
637 border: 0; |
|
638 |
|
639 .ui-slider-handle { |
|
640 top: -.2em; |
|
641 margin-left: -.5em; |
|
642 background-color: #fff; |
|
643 border-color: #CCC; |
|
644 |
|
645 &:focus { |
|
646 background-color: #fff; |
|
647 border-color: #357EBD; |
|
648 } |
|
649 &:hover { |
|
650 background-color: #fff; |
|
651 border-color: #285E8E; |
|
652 outline: 0; |
|
653 } |
|
654 &:active { |
|
655 background-color: #428BCA; |
|
656 border-color: #3276B1; |
|
657 } |
|
658 } |
|
659 .ui-slider-range { |
|
660 top: 0; |
|
661 height: 100%; |
|
662 |
|
663 &-min { |
|
664 left: 0; |
|
665 } |
|
666 &-max { |
|
667 right: 0; |
|
668 } |
|
669 } |
|
670 } |
|
671 &-vertical { |
|
672 width: .8em; |
|
673 height: 100px; |
|
674 |
|
675 .ui-slider-handle { |
|
676 left: -.3em; |
|
677 margin-left: 0; |
|
678 margin-bottom: -.6em; |
|
679 } |
|
680 .ui-slider-range { |
|
681 left: 0; |
|
682 width: 100%; |
|
683 |
|
684 &-min { |
|
685 bottom: 0; |
|
686 } |
|
687 &-max { |
|
688 top: 0; |
|
689 } |
|
690 } |
|
691 } |
|
692 } |
|
693 |
|
694 |
|
695 /* |
|
696 * UI tabs |
|
697 */ |
|
698 |
|
699 .ui-tabs { |
|
700 position: relative; |
|
701 border: 0; |
|
702 border-radius: 0; |
|
703 |
|
704 .ui-tabs-panel { |
|
705 display: block; |
|
706 border-radius: 0; |
|
707 background: 0 0; |
|
708 } |
|
709 .ui-tabs-nav { |
|
710 margin-bottom: 0; |
|
711 border: solid #ddd; |
|
712 border-width: 0 0 1px; |
|
713 border-radius: 0; |
|
714 background: 0 0; |
|
715 |
|
716 li { |
|
717 position: relative; |
|
718 top: 0; |
|
719 float: left; |
|
720 margin-bottom: -1px; |
|
721 margin-right: 3px; |
|
722 border: 0; |
|
723 list-style: none; |
|
724 white-space: nowrap; |
|
725 background: 0 0; |
|
726 -webkit-filter: none; |
|
727 filter: none; |
|
728 |
|
729 &.ui-tabs-active { |
|
730 &:hover { |
|
731 background: #fff; |
|
732 cursor: text; |
|
733 } |
|
734 a { |
|
735 border: 1px solid #ddd; |
|
736 border-bottom: 1px solid #fff; |
|
737 background-color: #fff; |
|
738 color: #555; |
|
739 font-weight: 700; |
|
740 border-top-width: 0!important; |
|
741 margin-top: 1px!important; |
|
742 -webkit-box-shadow: 0 -2px 0 #57889c; |
|
743 box-shadow: 0 -2px 0 #57889c; |
|
744 } |
|
745 } |
|
746 a { |
|
747 float: left; |
|
748 padding: 8px 12px; |
|
749 font-weight: 400; |
|
750 text-decoration: none; |
|
751 outline: 0; |
|
752 background: 0 0; |
|
753 border-radius: 0; |
|
754 background-color: #F5F5F5; |
|
755 border: 1px solid #F5F5F5; |
|
756 border-bottom: 1px solid #ddd; |
|
757 color: #838383; |
|
758 |
|
759 &:hover { |
|
760 border: 1px solid #f5f5f5; |
|
761 border-bottom: 1px solid #ddd; |
|
762 background-color: #f5f5f5; |
|
763 } |
|
764 } |
|
765 &.ui-state-disabled a, |
|
766 &.ui-tabs-active a, |
|
767 &.ui-tabs-loading a { |
|
768 cursor: text; |
|
769 } |
|
770 } |
|
771 .ui-state-default { |
|
772 border: 0; |
|
773 -webkit-box-shadow: none; |
|
774 box-shadow: none; |
|
775 } |
|
776 } |
|
777 .ui-tabs-panel { |
|
778 border: 1px solid #ddd; |
|
779 margin: 0; |
|
780 padding: 10px 13px; |
|
781 border-top: 0; |
|
782 } |
|
783 .ui-tabs-hide { |
|
784 display: none!important; |
|
785 } |
|
786 } |
|
787 |
|
788 |
|
789 /* |
|
790 * UI tooltip |
|
791 */ |
|
792 |
|
793 .ui-tooltip { |
|
794 display: block; |
|
795 font-size: 11px; |
|
796 opacity: .8; |
|
797 position: absolute; |
|
798 visibility: visible; |
|
799 z-index: 1024; |
|
800 max-width: 200px; |
|
801 background: #000; |
|
802 border: 1px solid #000; |
|
803 color: #FFF; |
|
804 padding: 3px 8px; |
|
805 text-align: center; |
|
806 text-decoration: none; |
|
807 -webkit-box-shadow: inset 0 1px 0 #000; |
|
808 box-shadow: inset 0 1px 0 #000; |
|
809 border-radius: 4px; |
|
810 |
|
811 body & { |
|
812 border-width: 1px; |
|
813 } |
|
814 } |
|
815 |
|
816 |
|
817 /* |
|
818 * UI spinner |
|
819 */ |
|
820 |
|
821 .ui-spinner { |
|
822 position: relative; |
|
823 display: inline-block; |
|
824 overflow: hidden; |
|
825 width: 100%; |
|
826 padding: 0; |
|
827 vertical-align: middle; |
|
828 |
|
829 &-input { |
|
830 margin: 0!important; |
|
831 height: 30px; |
|
832 padding: 6px 24px 6px 12px; |
|
833 border: 0; |
|
834 background: 0 0; |
|
835 vertical-align: middle; |
|
836 |
|
837 &.spinner-left { |
|
838 padding: 6px 12px 6px 24px; |
|
839 |
|
840 +.ui-spinner-button, |
|
841 +.ui-spinner-button+.ui-spinner-button { |
|
842 right: auto; |
|
843 left: 0; |
|
844 } |
|
845 } |
|
846 &.spinner-both { |
|
847 padding: 6px 30px; |
|
848 |
|
849 +.ui-spinner-button+.ui-spinner-button { |
|
850 left: 0; |
|
851 right: auto; |
|
852 } |
|
853 +.ui-spinner-button, |
|
854 +.ui-spinner-button+.ui-spinner-button { |
|
855 height: 30px; |
|
856 width: 25px; |
|
857 } |
|
858 +.ui-spinner-up+.ui-spinner-down:before, |
|
859 +.ui-spinner-up:before { |
|
860 margin-top: 8px; |
|
861 } |
|
862 } |
|
863 } |
|
864 &-button { |
|
865 width: 19px; |
|
866 height: 50%; |
|
867 font-size: .5em; |
|
868 padding: 0; |
|
869 margin: 0; |
|
870 text-align: center; |
|
871 position: absolute; |
|
872 cursor: default; |
|
873 display: block; |
|
874 overflow: hidden; |
|
875 right: 0; |
|
876 } |
|
877 a.ui-spinner-button { |
|
878 border-top: 0; |
|
879 border-bottom: 0; |
|
880 border-right: 0; |
|
881 } |
|
882 .ui-icon { |
|
883 position: absolute; |
|
884 margin-top: -8px; |
|
885 top: 50%; |
|
886 left: 0; |
|
887 } |
|
888 &-down, |
|
889 &-up { |
|
890 background: #739e73; |
|
891 border-radius: 0; |
|
892 |
|
893 &:before { |
|
894 display: inline-block; |
|
895 font-family: FontAwesome; |
|
896 font-style: normal; |
|
897 font-weight: 400; |
|
898 line-height: 1; |
|
899 -webkit-font-smoothing: antialiased; |
|
900 -moz-osx-font-smoothing: grayscale; |
|
901 content: "\f067"; |
|
902 color: #fff; |
|
903 font-size: 14px; |
|
904 margin-top: 1px; |
|
905 } |
|
906 >:first-child { |
|
907 display: none; |
|
908 } |
|
909 } |
|
910 &-up { |
|
911 top: 0; |
|
912 |
|
913 &:active, |
|
914 &:focus, |
|
915 &:hover { |
|
916 background: #5b835b; |
|
917 } |
|
918 } |
|
919 &-down { |
|
920 bottom: 0; |
|
921 background: #c2032f; |
|
922 |
|
923 &:before { |
|
924 content: "\f068"; |
|
925 } |
|
926 &:active, |
|
927 &:focus, |
|
928 &:hover { |
|
929 background: #77021d; |
|
930 } |
|
931 } |
|
932 .ui-icon-triangle-1-s { |
|
933 background-position: -65px -16px; |
|
934 } |
|
935 } |
|
936 |
|
937 |
|
938 /* |
|
939 * UI date picker |
|
940 */ |
|
941 |
|
942 .ui-datepicker { |
|
943 width: 20em; |
|
944 padding: .2em .2em 0; |
|
945 display: none; |
|
946 |
|
947 &-inline { |
|
948 z-index: 9000!important; |
|
949 } |
|
950 &-header { |
|
951 position: relative; |
|
952 border: 0; |
|
953 font-weight: 700; |
|
954 width: 100%; |
|
955 padding: 4px 0; |
|
956 background-color: #f5f5f5; |
|
957 color: gray; |
|
958 } |
|
959 &-next, |
|
960 &-prev { |
|
961 position: absolute; |
|
962 top: 2px; |
|
963 width: 5.6em; |
|
964 height: 1.8em; |
|
965 text-align: center; |
|
966 margin-top: 2px; |
|
967 cursor: pointer; |
|
968 |
|
969 >:first-child { |
|
970 text-indent: 0!important; |
|
971 } |
|
972 span { |
|
973 display: block; |
|
974 position: absolute; |
|
975 text-align: center; |
|
976 top: 50%; |
|
977 margin-top: -8px; |
|
978 width: 5.8em; |
|
979 } |
|
980 } |
|
981 &-prev { |
|
982 left: 2px; |
|
983 } |
|
984 &-next { |
|
985 right: 2px; |
|
986 } |
|
987 &-title { |
|
988 margin: 0 5.8em; |
|
989 line-height: 1.8em; |
|
990 text-align: center; |
|
991 |
|
992 select { |
|
993 font-size: 1em; |
|
994 margin: 1px 0; |
|
995 } |
|
996 } |
|
997 select.ui-datepicker-month-year { |
|
998 width: 100%; |
|
999 } |
|
1000 select.ui-datepicker-month, |
|
1001 select.ui-datepicker-year { |
|
1002 width: 49%; |
|
1003 } |
|
1004 table { |
|
1005 width: 100%; |
|
1006 font-size: .9em; |
|
1007 border-collapse: collapse; |
|
1008 margin: 0 0 .4em; |
|
1009 } |
|
1010 th { |
|
1011 padding: .7em .3em; |
|
1012 text-align: center; |
|
1013 border: 0; |
|
1014 font-weight: 700; |
|
1015 color: gray; |
|
1016 } |
|
1017 td { |
|
1018 border: 0; |
|
1019 padding: 1px; |
|
1020 |
|
1021 &:hover { |
|
1022 color: #fff; |
|
1023 } |
|
1024 a { |
|
1025 margin-bottom: 0; |
|
1026 border: 0; |
|
1027 } |
|
1028 a, |
|
1029 span { |
|
1030 display: block; |
|
1031 padding: .2em; |
|
1032 text-align: right; |
|
1033 text-decoration: none; |
|
1034 } |
|
1035 .ui-state-default { |
|
1036 border: 0; |
|
1037 background: 0 0; |
|
1038 margin-bottom: 0; |
|
1039 padding: 5px; |
|
1040 color: gray; |
|
1041 text-align: center; |
|
1042 -webkit-filter: none; |
|
1043 filter: none; |
|
1044 } |
|
1045 .ui-state-highlight { |
|
1046 color: #fff; |
|
1047 background-color: #A90329; |
|
1048 text-shadow: 0 -1px 0 rgba(0, 0, 0, .25); |
|
1049 border-color: rgba(0, 0, 0, .1) rgba(0, 0, 0, .1) rgba(0, 0, 0, .25); |
|
1050 border-radius: 0; |
|
1051 } |
|
1052 .ui-state-active { |
|
1053 color: #333; |
|
1054 background-color: #ebebeb; |
|
1055 margin-bottom: 0; |
|
1056 font-size: normal; |
|
1057 text-shadow: 0; |
|
1058 border-color: rgba(0, 0, 0, .1) rgba(0, 0, 0, .1) rgba(0, 0, 0, .25); |
|
1059 border-radius: 0; |
|
1060 } |
|
1061 .ui-state-hover { |
|
1062 color: #fff; |
|
1063 background: #428bca; |
|
1064 background-color: #428bca; |
|
1065 text-shadow: 0 -1px 0 rgba(0, 0, 0, .25); |
|
1066 border-color: #357ebd; |
|
1067 border-color: rgba(0, 0, 0, .1) rgba(0, 0, 0, .1) rgba(0, 0, 0, .25); |
|
1068 border-radius: 0; |
|
1069 } |
|
1070 } |
|
1071 &-buttonpane { |
|
1072 background-image: none; |
|
1073 margin: .7em 0 0; |
|
1074 padding: 0 .2em; |
|
1075 border-left: 0; |
|
1076 border-right: 0; |
|
1077 border-bottom: 0; |
|
1078 |
|
1079 button { |
|
1080 float: right; |
|
1081 margin: .5em .2em .4em; |
|
1082 cursor: pointer; |
|
1083 padding: .2em .6em .3em; |
|
1084 width: auto; |
|
1085 overflow: visible; |
|
1086 |
|
1087 &.ui-datepicker-current { |
|
1088 float: left; |
|
1089 } |
|
1090 } |
|
1091 } |
|
1092 &-multi { |
|
1093 width: auto; |
|
1094 |
|
1095 .ui-datepicker-group { |
|
1096 float: left; |
|
1097 } |
|
1098 .ui-datepicker-group table { |
|
1099 width: 95%; |
|
1100 margin: 0 auto .4em; |
|
1101 } |
|
1102 &-2 .ui-datepicker-group { |
|
1103 width: 50%; |
|
1104 } |
|
1105 &-3 .ui-datepicker-group { |
|
1106 width: 33.3%; |
|
1107 } |
|
1108 &-4 .ui-datepicker-group { |
|
1109 width: 25%; |
|
1110 } |
|
1111 .ui-detepicker-group-last .ui-datepicker-header, |
|
1112 .ui-datepicket-group-middle .ui-datepicker-header { |
|
1113 border-left-width: 0; |
|
1114 } |
|
1115 .ui-datepicker-buttonpane { |
|
1116 clear: left; |
|
1117 } |
|
1118 } |
|
1119 &-row-break { |
|
1120 clear: both; |
|
1121 width: 100%; |
|
1122 font-size: 0; |
|
1123 } |
|
1124 &-rtl { |
|
1125 direction: rtl; |
|
1126 |
|
1127 .ui-datepicker-prev { |
|
1128 right: 2px; |
|
1129 left: auto; |
|
1130 } |
|
1131 .ui-datepicker-next { |
|
1132 left: 2px; |
|
1133 right: auto; |
|
1134 } |
|
1135 .ui-datepicker-prev:hover { |
|
1136 right: 1px; |
|
1137 left: auto; |
|
1138 } |
|
1139 .ui-datepicker-next:hover { |
|
1140 left: 1px; |
|
1141 right: auto; |
|
1142 } |
|
1143 .ui-datepicker-buttonpane { |
|
1144 clear: right; |
|
1145 } |
|
1146 .ui-datepicker-buttonpane button { |
|
1147 float: left; |
|
1148 } |
|
1149 .ui-datepicker-buttonpane button.ui-datepicker-current, |
|
1150 .ui-datepicker-group { |
|
1151 float: right; |
|
1152 } |
|
1153 .ui-datepicker-group-last .ui-datepicker-header, |
|
1154 .ui-datepicker-group-middle .ui-datepicker-header { |
|
1155 border-right-width: 0; |
|
1156 border-left-width: 1px; |
|
1157 } |
|
1158 } |
|
1159 &-cover { |
|
1160 display: none; |
|
1161 display: block; |
|
1162 position: absolute; |
|
1163 z-index: -1; |
|
1164 -webkit-filter: mask(); |
|
1165 filter: mask(); |
|
1166 top: -4px; |
|
1167 left: -4px; |
|
1168 width: 200px; |
|
1169 height: 200px; |
|
1170 } |
|
1171 &-today { |
|
1172 a { |
|
1173 background-color: #BFBFBF; |
|
1174 cursor: pointer; |
|
1175 padding: 0 4px; |
|
1176 margin-bottom: 0; |
|
1177 |
|
1178 &:hover { |
|
1179 background-color: gray; |
|
1180 color: #fff; |
|
1181 } |
|
1182 } |
|
1183 } |
|
1184 } |
|
1185 |
|
1186 |
|
1187 /* |
|
1188 * UI progressbar |
|
1189 */ |
|
1190 |
|
1191 .ui-progressbar { |
|
1192 height: 2em; |
|
1193 margin-bottom: 20px; |
|
1194 border: 0; |
|
1195 overflow: hidden; |
|
1196 background-color: #f7f7f7; |
|
1197 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9)); |
|
1198 background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9); |
|
1199 background-image: -webkit-gradient(linear, top left, bottom left, from(#f5f5f5), to(#f9f9f9)); |
|
1200 background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9); |
|
1201 background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9); |
|
1202 background-repeat: repeat-x; |
|
1203 border-radius: 0; |
|
1204 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0); |
|
1205 -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); |
|
1206 box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); |
|
1207 |
|
1208 .ui-progressbar-value { |
|
1209 margin: 0; |
|
1210 height: 100%; |
|
1211 color: #fff; |
|
1212 background-color: #428BCA; |
|
1213 -webkit-box-sizing: border-box; |
|
1214 -moz-box-sizing: border-box; |
|
1215 box-sizing: border-box; |
|
1216 -webkit-transition: width .6s ease; |
|
1217 transition: width .6s ease; |
|
1218 } |
|
1219 .ui-progressbar-overlay { |
|
1220 background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(255, 255, 255, .15)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255, 255, 255, .15)), color-stop(.75, rgba(255, 255, 255, .15)), color-stop(.75, transparent), to(transparent)); |
|
1221 background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); |
|
1222 background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); |
|
1223 background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); |
|
1224 -webkit-background-size: 40px 40px; |
|
1225 background-size: 40px 40px; |
|
1226 -webkit-animation: progress-bar-stripes 2s linear infinite; |
|
1227 -ms-animation: progress-bar-stripes 2s linear infinite; |
|
1228 animation: progress-bar-stripes 2s linear infinite; |
|
1229 } |
|
1230 &-indeterminate &-value { |
|
1231 background-image: none; |
|
1232 } |
|
1233 } |
|
1234 |
|
1235 |
|
1236 /* |
|
1237 * UI resizable |
|
1238 */ |
|
1239 |
|
1240 .ui-resizable { |
|
1241 position: relative; |
|
1242 |
|
1243 &-handle { |
|
1244 position: absolute; |
|
1245 font-size: .1px; |
|
1246 z-index: 99999; |
|
1247 display: block; |
|
1248 } |
|
1249 &-autohide &-handle, |
|
1250 &-disabled &-handle { |
|
1251 display: none; |
|
1252 } |
|
1253 &-n { |
|
1254 cursor: n-resize; |
|
1255 height: 7px; |
|
1256 width: 100%; |
|
1257 top: -5px; |
|
1258 left: 0; |
|
1259 } |
|
1260 &-s { |
|
1261 cursor: s-resize; |
|
1262 height: 7px; |
|
1263 width: 100%; |
|
1264 bottom: -5px; |
|
1265 left: 0; |
|
1266 } |
|
1267 &-e { |
|
1268 cursor: e-resize; |
|
1269 width: 7px; |
|
1270 right: -5px; |
|
1271 top: 0; |
|
1272 height: 100%; |
|
1273 } |
|
1274 &-w { |
|
1275 cursor: w-resize; |
|
1276 width: 7px; |
|
1277 left: -5px; |
|
1278 top: 0; |
|
1279 height: 100%; |
|
1280 } |
|
1281 &-se { |
|
1282 cursor: se-resize; |
|
1283 width: 12px; |
|
1284 height: 12px; |
|
1285 right: 1px; |
|
1286 bottom: 1px; |
|
1287 } |
|
1288 &-sw { |
|
1289 cursor: sw-resize; |
|
1290 width: 9px; |
|
1291 height: 9px; |
|
1292 left: -5px; |
|
1293 bottom: -5px; |
|
1294 } |
|
1295 &-nw { |
|
1296 cursor: nw-resize; |
|
1297 width: 9px; |
|
1298 height: 9px; |
|
1299 left: -5px; |
|
1300 top: -5px; |
|
1301 } |
|
1302 &-ne { |
|
1303 cursor: ne-resize; |
|
1304 width: 9px; |
|
1305 height: 9px; |
|
1306 right: -5px; |
|
1307 top: -5px; |
|
1308 } |
|
1309 } |
|
1310 |
|
1311 |
|
1312 /* |
|
1313 * UI selectable |
|
1314 */ |
|
1315 |
|
1316 .ui-selectable { |
|
1317 &-helper { |
|
1318 position: absolute; |
|
1319 z-index: 100; |
|
1320 border: 1px dotted #000; |
|
1321 } |
|
1322 } |
|
1323 |
|
1324 |
|
1325 /* |
|
1326 * UI accordion |
|
1327 */ |
|
1328 |
|
1329 .ui-accordion { |
|
1330 width: 100%; |
|
1331 |
|
1332 .ui-accordion-li-fix { |
|
1333 display: inline; |
|
1334 } |
|
1335 .ui-accordion-header { |
|
1336 display: block; |
|
1337 position: relative; |
|
1338 margin-top: -2px; |
|
1339 border-color: #ddd!important; |
|
1340 padding: 10px 15px 10px 36px!important; |
|
1341 cursor: pointer; |
|
1342 min-height: 0; |
|
1343 background-color: #fbfbfb; |
|
1344 border-radius: 0; |
|
1345 font-size: 15px; |
|
1346 |
|
1347 &-active { |
|
1348 border-bottom: 0!important; |
|
1349 } |
|
1350 } |
|
1351 .ui-accordion-icons { |
|
1352 padding-left: 2.2em; |
|
1353 } |
|
1354 .ui-accordion-noicons { |
|
1355 padding-left: .7em; |
|
1356 } |
|
1357 .ui-accordion-icons .ui-accordion-icons { |
|
1358 padding-left: 2.2em; |
|
1359 } |
|
1360 .ui-accordion-header .ui-accordion-header-icon { |
|
1361 position: absolute; |
|
1362 left: .5em; |
|
1363 top: 50%; |
|
1364 margin-top: -8px; |
|
1365 text-indent: 0!important; |
|
1366 background-image: none!important; |
|
1367 text-align: center; |
|
1368 line-height: normal; |
|
1369 left: 12px!important; |
|
1370 margin-top: -6px!important; |
|
1371 font-size: 14px!important; |
|
1372 } |
|
1373 .ui-accordion-content { |
|
1374 margin-top: -3px; |
|
1375 border-radius: 0; |
|
1376 border-top: 0 none; |
|
1377 border-color: #ddd!important; |
|
1378 padding: 15px; |
|
1379 position: relative; |
|
1380 top: 1px; |
|
1381 margin-bottom: 2px; |
|
1382 overflow: auto; |
|
1383 display: none; |
|
1384 } |
|
1385 .ui-accordion-content-active { |
|
1386 display: block; |
|
1387 } |
|
1388 &-header-active+.ui-accordion-content { |
|
1389 border-top: 1px solid #ddd; |
|
1390 } |
|
1391 } |
|
1392 |
|
1393 .noUi { |
|
1394 &-target * { |
|
1395 -webkit-box-sizing: border-box; |
|
1396 -moz-box-sizing: border-box; |
|
1397 box-sizing: border-box; |
|
1398 -webkit-touch-callout: none; |
|
1399 -ms-touch-action: none; |
|
1400 -webkit-user-select: none; |
|
1401 -moz-user-select: none; |
|
1402 -ms-user-select: none; |
|
1403 cursor: default; |
|
1404 |
|
1405 &[disabled] { |
|
1406 .noUi-base { |
|
1407 background: #999; |
|
1408 } |
|
1409 .noUi-connect { |
|
1410 background: #BBB; |
|
1411 } |
|
1412 } |
|
1413 } |
|
1414 &-base { |
|
1415 width: 100%; |
|
1416 height: 14px; |
|
1417 position: relative; |
|
1418 max-width: 100%; |
|
1419 max-height: 100%; |
|
1420 border: 1px solid #bfbfbf; |
|
1421 z-index: 1; |
|
1422 } |
|
1423 &-origin-lower { |
|
1424 background: #72a8d7; |
|
1425 } |
|
1426 &-handle { |
|
1427 background: #858585; |
|
1428 height: 30px; |
|
1429 width: 16px; |
|
1430 border: 1px solid #fff; |
|
1431 margin: -8px 0 0 -8px; |
|
1432 cursor: default; |
|
1433 |
|
1434 &:hover { |
|
1435 background: #6c6c6c; |
|
1436 } |
|
1437 } |
|
1438 &-active { |
|
1439 cursor: default; |
|
1440 -webkit-box-shadow: rgba(0, 0, 0, .1) 1px 1px 1px 0; |
|
1441 box-shadow: rgba(0, 0, 0, .1) 1px 1px 1px 0; |
|
1442 background: #686868; |
|
1443 height: 32px; |
|
1444 width: 18px; |
|
1445 margin: -9px 0 0 -8px; |
|
1446 border: 0; |
|
1447 |
|
1448 &:after { |
|
1449 -webkit-box-sizing: border-box; |
|
1450 -moz-box-sizing: border-box; |
|
1451 box-sizing: border-box; |
|
1452 content: ""; |
|
1453 display: block; |
|
1454 height: 100%; |
|
1455 border: 1px solid #ddd; |
|
1456 } |
|
1457 } |
|
1458 &-connect { |
|
1459 background: #3276b1; |
|
1460 } |
|
1461 &-background { |
|
1462 background: #eee; |
|
1463 border: 0; |
|
1464 } |
|
1465 &-origin { |
|
1466 position: absolute; |
|
1467 right: 0; |
|
1468 top: 0; |
|
1469 bottom: 0; |
|
1470 z-index: 0; |
|
1471 |
|
1472 &-upper { |
|
1473 background: inherit!important; |
|
1474 } |
|
1475 } |
|
1476 &-z-index { |
|
1477 z-index: 10; |
|
1478 } |
|
1479 &-vertical { |
|
1480 width: 10px; |
|
1481 height: 100%; |
|
1482 |
|
1483 .noUi-origin { |
|
1484 bottom: 0; |
|
1485 left: 0; |
|
1486 } |
|
1487 .noUi-handle { |
|
1488 margin: -8px 0 0 -3px; |
|
1489 } |
|
1490 } |
|
1491 &-state-tap .noUi-origin { |
|
1492 -webkit-transition: left .3s, top .3s; |
|
1493 transition: left .3s, top .3s; |
|
1494 } |
|
1495 } |