UNPKG

6.79 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: Arrows */
160.sw-theme-arrows {
161 border: 1px solid #eeeeee;
162}
163
164.sw-theme-arrows > .tab-content > .tab-pane {
165 padding: 10px;
166}
167
168.sw-theme-arrows .toolbar > .btn {
169 color: #ffffff;
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-arrows > .nav {
178 overflow: hidden;
179 border-bottom: 1px solid #eeeeee;
180}
181
182.sw-theme-arrows > .nav .nav-link {
183 position: relative;
184 height: 100%;
185 min-height: 100%;
186 margin-right: 30px;
187 margin-left: -30px;
188 padding-left: 40px;
189}
190
191@media screen and (max-width: 640px) {
192 .sw-theme-arrows > .nav .nav-link {
193 overflow: hidden;
194 margin-bottom: 1px;
195 margin-right: unset;
196 }
197}
198
199.sw-theme-arrows > .nav .nav-link::after {
200 content: "";
201 position: absolute;
202 display: block;
203 width: 0;
204 height: 0;
205 top: 50%;
206 left: 100%;
207 margin-top: -50px;
208 border-top: 50px solid transparent;
209 border-bottom: 50px solid transparent;
210 border-left: 30px solid #f8f8f8;
211 z-index: 2;
212}
213
214.sw-theme-arrows > .nav .nav-link::before {
215 content: " ";
216 position: absolute;
217 display: block;
218 width: 0;
219 height: 0;
220 top: 50%;
221 left: 100%;
222 margin-top: -50px;
223 margin-left: 1px;
224 border-top: 50px solid transparent;
225 border-bottom: 50px solid transparent;
226 border-left: 30px solid #eeeeee;
227 z-index: 1;
228}
229
230.sw-theme-arrows > .nav .nav-link.inactive {
231 color: #999999;
232 border-color: #f8f8f8;
233 background: #f8f8f8;
234 cursor: not-allowed;
235}
236
237.sw-theme-arrows > .nav .nav-link.active {
238 color: #ffffff;
239 border-color: #5bc0de;
240 background: #5bc0de;
241 cursor: pointer;
242}
243
244.sw-theme-arrows > .nav .nav-link.active::after {
245 border-left-color: #5bc0de;
246}
247
248.sw-theme-arrows > .nav .nav-link.done {
249 color: #ffffff;
250 border-color: #5cb85c;
251 background: #5cb85c;
252 cursor: pointer;
253}
254
255.sw-theme-arrows > .nav .nav-link.done::after {
256 border-left-color: #5cb85c;
257}
258
259.sw-theme-arrows > .nav .nav-link.disabled {
260 color: #eeeeee;
261 border-color: #f9f9f9;
262 background: #f9f9f9;
263 cursor: not-allowed;
264}
265
266.sw-theme-arrows > .nav .nav-link.disabled::after {
267 border-left-color: #f9f9f9;
268}
269
270.sw-theme-arrows > .nav .nav-link.danger {
271 color: #ffffff;
272 border-color: #d9534f;
273 background: #d9534f;
274 cursor: pointer;
275}
276
277.sw-theme-arrows > .nav .nav-link.danger::after {
278 border-left-color: #d9534f;
279}
280
281.sw-theme-arrows.sw-dark {
282 color: rgba(255, 255, 255, 0.95);
283 background: #000;
284}
285
286.sw-theme-arrows.sw-dark > .nav {
287 border-bottom: 1px solid #555555;
288}
289
290.sw-theme-arrows.sw-dark > .nav .nav-link::after {
291 border-left: 30px solid #5f5f5f;
292}
293
294.sw-theme-arrows.sw-dark > .nav .nav-link::before {
295 border-left: 30px solid #555555;
296}
297
298.sw-theme-arrows.sw-dark > .nav .nav-link.inactive {
299 color: white;
300 border-color: #5f5f5f;
301 background: #5f5f5f;
302}
303
304.sw-theme-arrows.sw-dark > .nav .nav-link.inactive::after {
305 border-left-color: #5f5f5f;
306}
307
308.sw-theme-arrows.sw-dark > .nav .nav-link.active {
309 color: white;
310 border-color: #010506;
311 background: #0a2730;
312}
313
314.sw-theme-arrows.sw-dark > .nav .nav-link.active::after {
315 border-left-color: #0a2730;
316}
317
318.sw-theme-arrows.sw-dark > .nav .nav-link.done {
319 color: white;
320 border-color: black;
321 background: black;
322}
323
324.sw-theme-arrows.sw-dark > .nav .nav-link.done::after {
325 border-left-color: black;
326}
327
328.sw-theme-arrows.sw-dark > .nav .nav-link.disabled {
329 color: #555555 !important;
330 border-color: #f9f9f9;
331 background: #474747;
332}
333
334.sw-theme-arrows.sw-dark > .nav .nav-link.disabled::after {
335 border-left-color: #474747;
336}
337
338.sw-theme-arrows.sw-dark > .nav .nav-link.danger {
339 color: #ffffff;
340 border-color: #d9534f;
341 background: #d9534f;
342}
343
344.sw-theme-arrows.sw-dark > .nav .nav-link.danger::after {
345 border-left-color: #d9534f;
346}