UNPKG

13.4 kBCSSView Raw
1/*!
2 * jQuery SmartWizard v5
3 * jQuery Wizard Plugin
4 * http://www.techlaboratory.net/smartwizard
5 *
6 * Created by Dipu Raj
7 * http://dipu.me
8 *
9 * Licensed under the terms of MIT License
10 * https://github.com/techlab/jquery-smartwizard/blob/master/LICENSE
11 */
12/* SmartWizard Base Styles */
13.sw {
14 position: relative;
15}
16
17.sw *,
18.sw *::before,
19.sw *::after {
20 box-sizing: border-box;
21}
22
23.sw > .tab-content {
24 position: relative;
25 overflow: hidden;
26}
27
28.sw .toolbar {
29 padding: .8rem;
30}
31
32.sw .toolbar > .btn {
33 display: inline-block;
34 text-decoration: none;
35 text-align: center;
36 text-transform: none;
37 vertical-align: middle;
38 -webkit-user-select: none;
39 -moz-user-select: none;
40 -ms-user-select: none;
41 user-select: none;
42 margin-left: .2rem;
43 margin-right: .2rem;
44 cursor: pointer;
45}
46
47.sw .toolbar > .btn.disabled, .sw .toolbar > .btn:disabled {
48 opacity: .65;
49}
50
51.sw > .nav {
52 display: flex;
53 flex-wrap: wrap;
54 list-style: none;
55 padding-left: 0;
56 margin-top: 0;
57 margin-bottom: 0;
58}
59
60@media screen and (max-width: 640px) {
61 .sw > .nav {
62 flex-direction: column !important;
63 flex: 1 auto;
64 }
65}
66
67.sw > .nav .nav-link {
68 display: block;
69 padding: .5rem 1rem;
70 text-decoration: none;
71}
72
73.sw > .nav .nav-link:hover, .sw > .nav .nav-link:active, .sw > .nav .nav-link:focus {
74 text-decoration: none;
75}
76
77.sw > .nav .nav-link::-moz-focus-inner {
78 border: 0 !important;
79}
80
81.sw > .nav .nav-link.disabled {
82 color: #ccc !important;
83 pointer-events: none;
84 cursor: default;
85}
86
87.sw > .nav .nav-link.hidden {
88 display: none !important;
89}
90
91.sw.sw-justified > .nav > li, .sw.sw-justified > .nav .nav-link {
92 flex-basis: 0;
93 flex-grow: 1;
94 text-align: center;
95}
96
97.sw.sw-dark {
98 color: rgba(255, 255, 255, 0.95);
99 background: #000;
100}
101
102.sw.sw-loading {
103 -webkit-user-select: none;
104 -moz-user-select: none;
105 -ms-user-select: none;
106 user-select: none;
107}
108
109.sw.sw-loading::after {
110 content: "";
111 display: block;
112 position: absolute;
113 opacity: 1;
114 top: 0;
115 left: 0;
116 height: 100%;
117 width: 100%;
118 background: rgba(255, 255, 255, 0.7);
119 z-index: 2;
120 transition: all .2s ease;
121}
122
123.sw.sw-loading::before {
124 content: '';
125 display: inline-block;
126 position: absolute;
127 top: 45%;
128 left: 45%;
129 width: 2rem;
130 height: 2rem;
131 border: 10px solid #f3f3f3;
132 border-top: 10px solid #3498db;
133 border-radius: 50%;
134 z-index: 10;
135 -webkit-animation: spin 1s linear infinite;
136 animation: spin 1s linear infinite;
137}
138
139@-webkit-keyframes spin {
140 0% {
141 transform: rotate(0deg);
142 }
143
144 100% {
145 transform: rotate(360deg);
146 }
147}
148
149@keyframes spin {
150 0% {
151 transform: rotate(0deg);
152 }
153
154 100% {
155 transform: rotate(360deg);
156 }
157}
158
159/* SmartWizard Theme: Default */
160.sw-theme-default {
161 border: 1px solid #eeeeee;
162}
163
164.sw-theme-default > .tab-content > .tab-pane {
165 padding: 10px;
166}
167
168.sw-theme-default .toolbar > .btn {
169 color: #fff;
170 background-color: #17a2b8;
171 border: 1px solid #17a2b8;
172 padding: .375rem .75rem;
173 border-radius: .25rem;
174 font-weight: 400;
175}
176
177.sw-theme-default > .nav {
178 box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1) !important;
179}
180
181.sw-theme-default > .nav .nav-link {
182 position: relative;
183 height: 100%;
184 min-height: 100%;
185}
186
187.sw-theme-default > .nav .nav-link::after {
188 content: "";
189 position: absolute;
190 height: 2px;
191 width: 0;
192 left: 0px;
193 bottom: -1px;
194 background: #999999;
195 transition: all .35s ease .15s;
196}
197
198.sw-theme-default > .nav .nav-link.inactive {
199 color: #999999;
200 cursor: not-allowed;
201}
202
203.sw-theme-default > .nav .nav-link.active {
204 color: #17a2b8 !important;
205 cursor: pointer;
206}
207
208.sw-theme-default > .nav .nav-link.active::after {
209 background: #17a2b8 !important;
210 width: 100%;
211}
212
213.sw-theme-default > .nav .nav-link.done {
214 color: #5cb85c !important;
215 cursor: pointer;
216}
217
218.sw-theme-default > .nav .nav-link.done::after {
219 background: #5cb85c;
220 width: 100%;
221}
222
223.sw-theme-default > .nav .nav-link.disabled {
224 color: #dddddd !important;
225 cursor: not-allowed;
226}
227
228.sw-theme-default > .nav .nav-link.disabled::after {
229 background: #dddddd;
230 width: 100%;
231}
232
233.sw-theme-default > .nav .nav-link.danger {
234 color: #d9534f !important;
235 cursor: pointer;
236}
237
238.sw-theme-default > .nav .nav-link.danger::after {
239 background: #d9534f;
240 width: 100%;
241}
242
243/* SmartWizard Theme: Arrows */
244.sw-theme-arrows {
245 border: 1px solid #eeeeee;
246}
247
248.sw-theme-arrows > .tab-content > .tab-pane {
249 padding: 10px;
250}
251
252.sw-theme-arrows .toolbar > .btn {
253 color: #ffffff;
254 background-color: #17a2b8;
255 border: 1px solid #17a2b8;
256 padding: .375rem .75rem;
257 border-radius: .25rem;
258 font-weight: 400;
259}
260
261.sw-theme-arrows > .nav {
262 overflow: hidden;
263 border-bottom: 1px solid #eeeeee;
264}
265
266.sw-theme-arrows > .nav .nav-link {
267 position: relative;
268 height: 100%;
269 min-height: 100%;
270 margin-right: 30px;
271 margin-left: -30px;
272 padding-left: 40px;
273}
274
275@media screen and (max-width: 640px) {
276 .sw-theme-arrows > .nav .nav-link {
277 overflow: hidden;
278 margin-bottom: 1px;
279 margin-right: unset;
280 }
281}
282
283.sw-theme-arrows > .nav .nav-link::after {
284 content: "";
285 position: absolute;
286 display: block;
287 width: 0;
288 height: 0;
289 top: 50%;
290 left: 100%;
291 margin-top: -50px;
292 border-top: 50px solid transparent;
293 border-bottom: 50px solid transparent;
294 border-left: 30px solid #f8f8f8;
295 z-index: 2;
296}
297
298.sw-theme-arrows > .nav .nav-link::before {
299 content: " ";
300 position: absolute;
301 display: block;
302 width: 0;
303 height: 0;
304 top: 50%;
305 left: 100%;
306 margin-top: -50px;
307 margin-left: 1px;
308 border-top: 50px solid transparent;
309 border-bottom: 50px solid transparent;
310 border-left: 30px solid #eeeeee;
311 z-index: 1;
312}
313
314.sw-theme-arrows > .nav .nav-link.inactive {
315 color: #999999;
316 border-color: #f8f8f8;
317 background: #f8f8f8;
318 cursor: not-allowed;
319}
320
321.sw-theme-arrows > .nav .nav-link.active {
322 color: #ffffff;
323 border-color: #5bc0de;
324 background: #5bc0de;
325 cursor: pointer;
326}
327
328.sw-theme-arrows > .nav .nav-link.active::after {
329 border-left-color: #5bc0de;
330}
331
332.sw-theme-arrows > .nav .nav-link.done {
333 color: #ffffff;
334 border-color: #5cb85c;
335 background: #5cb85c;
336 cursor: pointer;
337}
338
339.sw-theme-arrows > .nav .nav-link.done::after {
340 border-left-color: #5cb85c;
341}
342
343.sw-theme-arrows > .nav .nav-link.disabled {
344 color: #eeeeee;
345 border-color: #f9f9f9;
346 background: #f9f9f9;
347 cursor: not-allowed;
348}
349
350.sw-theme-arrows > .nav .nav-link.disabled::after {
351 border-left-color: #f9f9f9;
352}
353
354.sw-theme-arrows > .nav .nav-link.danger {
355 color: #ffffff;
356 border-color: #d9534f;
357 background: #d9534f;
358 cursor: pointer;
359}
360
361.sw-theme-arrows > .nav .nav-link.danger::after {
362 border-left-color: #d9534f;
363}
364
365.sw-theme-arrows.sw-dark {
366 color: rgba(255, 255, 255, 0.95);
367 background: #000;
368}
369
370.sw-theme-arrows.sw-dark > .nav {
371 border-bottom: 1px solid #555555;
372}
373
374.sw-theme-arrows.sw-dark > .nav .nav-link::after {
375 border-left: 30px solid #5f5f5f;
376}
377
378.sw-theme-arrows.sw-dark > .nav .nav-link::before {
379 border-left: 30px solid #555555;
380}
381
382.sw-theme-arrows.sw-dark > .nav .nav-link.inactive {
383 color: white;
384 border-color: #5f5f5f;
385 background: #5f5f5f;
386}
387
388.sw-theme-arrows.sw-dark > .nav .nav-link.inactive::after {
389 border-left-color: #5f5f5f;
390}
391
392.sw-theme-arrows.sw-dark > .nav .nav-link.active {
393 color: white;
394 border-color: #010506;
395 background: #0a2730;
396}
397
398.sw-theme-arrows.sw-dark > .nav .nav-link.active::after {
399 border-left-color: #0a2730;
400}
401
402.sw-theme-arrows.sw-dark > .nav .nav-link.done {
403 color: white;
404 border-color: black;
405 background: black;
406}
407
408.sw-theme-arrows.sw-dark > .nav .nav-link.done::after {
409 border-left-color: black;
410}
411
412.sw-theme-arrows.sw-dark > .nav .nav-link.disabled {
413 color: #555555 !important;
414 border-color: #f9f9f9;
415 background: #474747;
416}
417
418.sw-theme-arrows.sw-dark > .nav .nav-link.disabled::after {
419 border-left-color: #474747;
420}
421
422.sw-theme-arrows.sw-dark > .nav .nav-link.danger {
423 color: #ffffff;
424 border-color: #d9534f;
425 background: #d9534f;
426}
427
428.sw-theme-arrows.sw-dark > .nav .nav-link.danger::after {
429 border-left-color: #d9534f;
430}
431
432/* SmartWizard Theme: Dots */
433.sw-theme-dots > .tab-content > .tab-pane {
434 padding: 10px;
435}
436
437.sw-theme-dots .toolbar > .btn {
438 color: #ffffff;
439 background-color: #17a2b8;
440 border: 1px solid #17a2b8;
441 padding: .375rem .75rem;
442 border-radius: .25rem;
443 font-weight: 400;
444}
445
446.sw-theme-dots > .nav {
447 position: relative;
448 margin-bottom: 10px;
449}
450
451.sw-theme-dots > .nav::before {
452 content: " ";
453 position: absolute;
454 top: 18px;
455 left: 0;
456 width: 100%;
457 height: 5px;
458 background-color: #eeeeee;
459 border-radius: 3px;
460 z-index: 1;
461}
462
463.sw-theme-dots > .nav .nav-link {
464 position: relative;
465 margin-top: 40px;
466}
467
468.sw-theme-dots > .nav .nav-link::before {
469 content: " ";
470 position: absolute;
471 display: block;
472 top: -36px;
473 left: 0;
474 right: 0;
475 margin-left: auto;
476 margin-right: auto;
477 width: 32px;
478 height: 32px;
479 border-radius: 50%;
480 border: none;
481 background: #f5f5f5;
482 color: #428bca;
483 text-decoration: none;
484 z-index: 98;
485}
486
487.sw-theme-dots > .nav .nav-link::after {
488 content: " ";
489 position: absolute;
490 display: block;
491 top: -28px;
492 left: 0;
493 right: 0;
494 margin-left: auto;
495 margin-right: auto;
496 width: 16px;
497 height: 16px;
498 border-radius: 50%;
499 z-index: 99;
500}
501
502.sw-theme-dots > .nav .nav-link.inactive {
503 color: #999999;
504 cursor: not-allowed;
505}
506
507.sw-theme-dots > .nav .nav-link.inactive::after {
508 background-color: #999999;
509}
510
511.sw-theme-dots > .nav .nav-link.active {
512 color: #5bc0de !important;
513 cursor: pointer;
514}
515
516.sw-theme-dots > .nav .nav-link.active::after {
517 background-color: #5bc0de !important;
518}
519
520.sw-theme-dots > .nav .nav-link.done {
521 color: #5cb85c;
522 cursor: pointer;
523}
524
525.sw-theme-dots > .nav .nav-link.done::after {
526 background-color: #5cb85c;
527}
528
529.sw-theme-dots > .nav .nav-link.disabled {
530 color: #f9f9f9;
531 cursor: not-allowed;
532}
533
534.sw-theme-dots > .nav .nav-link.disabled::after {
535 background-color: #f9f9f9;
536}
537
538.sw-theme-dots > .nav .nav-link.danger {
539 color: #d9534f;
540 cursor: pointer;
541}
542
543.sw-theme-dots > .nav .nav-link.danger::after {
544 background-color: #d9534f;
545}
546
547.sw-theme-dots.sw-dark {
548 color: rgba(255, 255, 255, 0.95);
549 background: #000;
550}
551
552.sw-theme-dots.sw-dark > .nav::before {
553 background-color: #3c3c3c;
554}
555
556.sw-theme-dots.sw-dark > .nav .nav-link::before {
557 background: #434343;
558 color: black;
559}
560
561/* SmartWizard Theme: Progress */
562.sw-theme-progress {
563 border: 1px solid #eeeeee;
564}
565
566.sw-theme-progress > .tab-content > .tab-pane {
567 padding: 10px;
568}
569
570.sw-theme-progress .toolbar > .btn {
571 color: #ffffff;
572 background-color: #17a2b8;
573 border: 1px solid #17a2b8;
574 padding: .375rem .75rem;
575 border-radius: .25rem;
576 font-weight: 400;
577}
578
579.sw-theme-progress > .nav {
580 box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1) !important;
581}
582
583.sw-theme-progress > .nav .nav-link {
584 position: relative;
585 height: 100%;
586 min-height: 100%;
587 background: transparent;
588 overflow: hidden;
589 z-index: 2;
590}
591
592.sw-theme-progress > .nav .nav-link::after {
593 content: "";
594 position: absolute;
595 height: 150%;
596 width: 0;
597 left: 0;
598 top: 0;
599 background: #ffffff;
600 z-index: -1;
601 transition: all .35s ease .10s;
602}
603
604.sw-theme-progress > .nav .nav-link.inactive {
605 color: #999999;
606 cursor: not-allowed;
607}
608
609.sw-theme-progress > .nav .nav-link.active {
610 color: #ffffff !important;
611 cursor: pointer;
612}
613
614.sw-theme-progress > .nav .nav-link.active::after {
615 background-color: #5cb85c;
616 width: 100%;
617}
618
619.sw-theme-progress > .nav .nav-link.done {
620 color: #ffffff !important;
621 cursor: pointer;
622}
623
624.sw-theme-progress > .nav .nav-link.done::after {
625 background: #5cb85c;
626 width: 100%;
627}
628
629.sw-theme-progress > .nav .nav-link.disabled {
630 color: #dddddd !important;
631 cursor: not-allowed;
632}
633
634.sw-theme-progress > .nav .nav-link.disabled::after {
635 background: #f9f9f9;
636 width: 100%;
637}
638
639.sw-theme-progress > .nav .nav-link.danger {
640 color: #ffffff !important;
641 cursor: pointer;
642}
643
644.sw-theme-progress > .nav .nav-link.danger::after {
645 background: #d9534f;
646 width: 100%;
647}
648
649.sw-theme-progress.sw-dark {
650 color: rgba(255, 255, 255, 0.95);
651}
652
653.sw-theme-progress.sw-dark > .nav .nav-link.active {
654 color: white;
655}
656
657.sw-theme-progress.sw-dark > .nav .nav-link.active::after {
658 background-color: #333;
659}
660
661.sw-theme-progress.sw-dark > .nav .nav-link.done {
662 color: #ffffff !important;
663}
664
665.sw-theme-progress.sw-dark > .nav .nav-link.done::after {
666 background: #333;
667}
668
669.sw-theme-progress.sw-dark > .nav .nav-link.disabled {
670 color: #2b2b2b !important;
671}
672
673.sw-theme-progress.sw-dark > .nav .nav-link.disabled::after {
674 background: #474747;
675}
676
677.sw-theme-progress.sw-dark > .nav .nav-link.danger {
678 color: #ffffff !important;
679}
680
681.sw-theme-progress.sw-dark > .nav .nav-link.danger::after {
682 background: #d9534f;
683}