1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 | :root {
|
14 | --sw-border-color: #eeeeee;
|
15 | --sw-toolbar-btn-color: #ffffff;
|
16 | --sw-toolbar-btn-background-color: #009EF7;
|
17 | --sw-anchor-default-primary-color: #f8f9fa;
|
18 | --sw-anchor-default-secondary-color: #b0b0b1;
|
19 | --sw-anchor-active-primary-color: #009EF7;
|
20 | --sw-anchor-active-secondary-color: #ffffff;
|
21 | --sw-anchor-done-primary-color: #90d4fa;
|
22 | --sw-anchor-done-secondary-color: #fefefe;
|
23 | --sw-anchor-disabled-primary-color: #f8f9fa;
|
24 | --sw-anchor-disabled-secondary-color: #dbe0e5;
|
25 | --sw-anchor-error-primary-color: #dc3545;
|
26 | --sw-anchor-error-secondary-color: #ffffff;
|
27 | --sw-anchor-warning-primary-color: #ffc107;
|
28 | --sw-anchor-warning-secondary-color: #ffffff;
|
29 | --sw-progress-color: #009EF7;
|
30 | --sw-progress-background-color: #f8f9fa;
|
31 | --sw-loader-color: #009EF7;
|
32 | --sw-loader-background-color: #f8f9fa;
|
33 | --sw-loader-background-wrapper-color: rgba(255, 255, 255, 0.7);
|
34 | }
|
35 |
|
36 |
|
37 | .sw {
|
38 | position: relative;
|
39 | }
|
40 |
|
41 | .sw *,
|
42 | .sw *::before,
|
43 | .sw *::after {
|
44 | box-sizing: border-box;
|
45 | }
|
46 |
|
47 | .sw > .tab-content {
|
48 | position: relative;
|
49 | overflow: hidden;
|
50 | }
|
51 |
|
52 | .sw > .tab-content > .tab-pane {
|
53 | padding: 0.8rem;
|
54 | }
|
55 |
|
56 | .sw .toolbar {
|
57 | padding: 0.8rem;
|
58 | text-align: right;
|
59 | }
|
60 |
|
61 | .sw .toolbar > .sw-btn {
|
62 | display: inline-block;
|
63 | text-decoration: none;
|
64 | text-align: center;
|
65 | text-transform: none;
|
66 | vertical-align: middle;
|
67 | -webkit-user-select: none;
|
68 | -moz-user-select: none;
|
69 | user-select: none;
|
70 | margin-left: 0.2rem;
|
71 | margin-right: 0.2rem;
|
72 | cursor: pointer;
|
73 | padding: 0.375rem 0.75rem;
|
74 | border-radius: 0.25rem;
|
75 | font-weight: 400;
|
76 | color: var(--sw-toolbar-btn-color);
|
77 | background-color: var(--sw-toolbar-btn-background-color);
|
78 | border: 1px solid var(--sw-toolbar-btn-background-color);
|
79 | }
|
80 |
|
81 | .sw .toolbar > .sw-btn.disabled, .sw .toolbar > .sw-btn:disabled {
|
82 | opacity: 0.65;
|
83 | }
|
84 |
|
85 | .sw[dir=rtl] > .toolbar {
|
86 | text-align: left;
|
87 | }
|
88 |
|
89 | .sw > .nav {
|
90 | display: flex;
|
91 | flex-wrap: wrap;
|
92 | list-style: none;
|
93 | padding-left: 0;
|
94 | margin-top: 0;
|
95 | margin-bottom: 0;
|
96 | }
|
97 |
|
98 | @media screen and (max-width: 640px) {
|
99 | .sw > .nav {
|
100 | flex-direction: column !important;
|
101 | flex: 1 auto;
|
102 | }
|
103 | }
|
104 |
|
105 | .sw > .nav .nav-link {
|
106 | display: block;
|
107 | padding: 0.5rem 1rem;
|
108 | text-decoration: none;
|
109 | }
|
110 |
|
111 | .sw > .nav .nav-link:hover, .sw > .nav .nav-link:active, .sw > .nav .nav-link:focus {
|
112 | text-decoration: none;
|
113 | }
|
114 |
|
115 | .sw > .nav .nav-link::-moz-focus-inner {
|
116 | border: 0;
|
117 | }
|
118 |
|
119 | .sw > .nav .nav-link.disabled {
|
120 | pointer-events: none;
|
121 | cursor: not-allowed;
|
122 | }
|
123 |
|
124 | .sw > .nav .nav-link.hidden {
|
125 | display: none;
|
126 | visibility: none;
|
127 | }
|
128 |
|
129 | .sw > .nav .nav-link > .num {
|
130 | display: flex;
|
131 | justify-content: center;
|
132 | align-items: center;
|
133 | float: left;
|
134 | pointer-events: none;
|
135 | height: 100%;
|
136 | padding-left: 0.5rem;
|
137 | padding-right: 0.5rem;
|
138 | border-radius: 10em;
|
139 | text-align: center;
|
140 | font-size: 2em;
|
141 | font-weight: 800;
|
142 | clear: both;
|
143 | line-height: 1;
|
144 | text-decoration: none;
|
145 | }
|
146 |
|
147 | .sw[dir=rtl] > .nav .nav-link > .num {
|
148 | float: right;
|
149 | }
|
150 |
|
151 | .sw > .progress {
|
152 | padding: 0;
|
153 | margin: 0;
|
154 | border: 0;
|
155 | width: 100%;
|
156 | height: 5px;
|
157 | background: var(--sw-progress-background-color);
|
158 | overflow: hidden;
|
159 | }
|
160 |
|
161 | .sw > .progress > .progress-bar {
|
162 | height: 5px;
|
163 | width: 0%;
|
164 | background-color: var(--sw-progress-color);
|
165 | transition: width 0.5s ease-in-out;
|
166 | }
|
167 |
|
168 | .sw.sw-justified > .nav > li, .sw.sw-justified > .nav .nav-link {
|
169 | flex-basis: 0;
|
170 | flex-grow: 1;
|
171 | text-align: center;
|
172 | }
|
173 |
|
174 | .sw.sw-loading {
|
175 | -webkit-user-select: none;
|
176 | -moz-user-select: none;
|
177 | user-select: none;
|
178 | }
|
179 |
|
180 | .sw.sw-loading::after {
|
181 | content: "";
|
182 | display: block;
|
183 | position: absolute;
|
184 | opacity: 1;
|
185 | top: 0;
|
186 | left: 0;
|
187 | height: 100%;
|
188 | width: 100%;
|
189 | background: var(--sw-loader-background-wrapper-color);
|
190 | z-index: 2;
|
191 | }
|
192 |
|
193 | .sw.sw-loading::before {
|
194 | content: "";
|
195 | display: inline-block;
|
196 | position: absolute;
|
197 | top: 45%;
|
198 | left: 45%;
|
199 | width: 2rem;
|
200 | height: 2rem;
|
201 | border: 10px solid var(--sw-loader-color);
|
202 | border-top: 10px solid var(--sw-loader-background-color);
|
203 | border-radius: 50%;
|
204 | z-index: 10;
|
205 | -webkit-animation: spin 1s linear infinite;
|
206 | animation: spin 1s linear infinite;
|
207 | }
|
208 |
|
209 | @-webkit-keyframes spin {
|
210 | 0% {
|
211 | transform: rotate(0deg);
|
212 | }
|
213 |
|
214 | 100% {
|
215 | transform: rotate(360deg);
|
216 | }
|
217 | }
|
218 |
|
219 | @keyframes spin {
|
220 | 0% {
|
221 | transform: rotate(0deg);
|
222 | }
|
223 |
|
224 | 100% {
|
225 | transform: rotate(360deg);
|
226 | }
|
227 | }
|
228 |
|
229 |
|
230 | .sw-theme-dots > .nav {
|
231 | position: relative;
|
232 | margin-bottom: 10px;
|
233 | }
|
234 |
|
235 | .sw-theme-dots > .nav::before {
|
236 | content: " ";
|
237 | position: absolute;
|
238 | top: 18px;
|
239 | left: 0;
|
240 | width: 100%;
|
241 | height: 5px;
|
242 | background-color: var(--sw-border-color);
|
243 | border-radius: 3px;
|
244 | z-index: 1;
|
245 | }
|
246 |
|
247 | @media screen and (max-width: 640px) {
|
248 | .sw-theme-dots > .nav::before {
|
249 | top: 0;
|
250 | left: 20.5px;
|
251 | width: 5px;
|
252 | height: 100%;
|
253 | }
|
254 | }
|
255 |
|
256 | @media screen and (max-width: 640px) {
|
257 | .sw-theme-dots > .nav .nav-item:last-child .nav-link {
|
258 | margin-bottom: 0;
|
259 | }
|
260 | }
|
261 |
|
262 | .sw-theme-dots > .nav .nav-link {
|
263 | position: relative;
|
264 | margin-top: 40px;
|
265 | }
|
266 |
|
267 | @media screen and (max-width: 640px) {
|
268 | .sw-theme-dots > .nav .nav-link {
|
269 | margin-top: unset;
|
270 | margin-bottom: 20px;
|
271 | padding-left: 55px;
|
272 | text-align: left !important;
|
273 | }
|
274 | }
|
275 |
|
276 | .sw-theme-dots > .nav .nav-link::after {
|
277 | content: " ";
|
278 | position: absolute;
|
279 | display: block;
|
280 | left: 0;
|
281 | right: 0;
|
282 | margin-left: auto;
|
283 | margin-right: auto;
|
284 | border-radius: 50%;
|
285 | top: -42px;
|
286 | width: 46px;
|
287 | height: 46px;
|
288 | z-index: 99;
|
289 | border: 8px solid var(--sw-border-color);
|
290 | transition: all 0.5s ease-in-out;
|
291 | }
|
292 |
|
293 | @media screen and (max-width: 640px) {
|
294 | .sw-theme-dots > .nav .nav-link::after {
|
295 | top: 0;
|
296 | right: unset;
|
297 | }
|
298 | }
|
299 |
|
300 | .sw-theme-dots > .nav .nav-link > .num {
|
301 | font-size: 1.5em;
|
302 | position: absolute;
|
303 | display: block;
|
304 | left: 0;
|
305 | right: 0;
|
306 | top: -31px;
|
307 | margin-left: auto;
|
308 | margin-right: auto;
|
309 | z-index: 100;
|
310 | transition: all 0.5s ease-in-out;
|
311 | }
|
312 |
|
313 | @media screen and (max-width: 640px) {
|
314 | .sw-theme-dots > .nav .nav-link > .num {
|
315 | top: 0;
|
316 | right: unset;
|
317 | width: 46px;
|
318 | padding-top: 10px;
|
319 | }
|
320 | }
|
321 |
|
322 | .sw-theme-dots > .nav .nav-link.default {
|
323 | color: var(--sw-anchor-default-secondary-color);
|
324 | cursor: not-allowed;
|
325 | }
|
326 |
|
327 | .sw-theme-dots > .nav .nav-link.default > .num {
|
328 | color: var(--sw-anchor-default-primary-color) !important;
|
329 | }
|
330 |
|
331 | .sw-theme-dots > .nav .nav-link.default::after {
|
332 | background-color: var(--sw-anchor-default-secondary-color);
|
333 | }
|
334 |
|
335 | .sw-theme-dots > .nav .nav-link.active {
|
336 | color: var(--sw-anchor-active-primary-color) !important;
|
337 | cursor: pointer;
|
338 | }
|
339 |
|
340 | .sw-theme-dots > .nav .nav-link.active > .num {
|
341 | color: var(--sw-anchor-active-secondary-color) !important;
|
342 | }
|
343 |
|
344 | .sw-theme-dots > .nav .nav-link.active::after {
|
345 | background-color: var(--sw-anchor-active-primary-color) !important;
|
346 | box-shadow: 0px 1px 7px 1px rgba(0, 0, 0, 0.3);
|
347 | }
|
348 |
|
349 | .sw-theme-dots > .nav .nav-link.done {
|
350 | color: var(--sw-anchor-done-primary-color);
|
351 | cursor: pointer;
|
352 | }
|
353 |
|
354 | .sw-theme-dots > .nav .nav-link.done > .num {
|
355 | color: var(--sw-anchor-done-secondary-color) !important;
|
356 | }
|
357 |
|
358 | .sw-theme-dots > .nav .nav-link.done::after {
|
359 | background-color: var(--sw-anchor-done-primary-color);
|
360 | }
|
361 |
|
362 | .sw-theme-dots > .nav .nav-link.disabled {
|
363 | color: var(--sw-anchor-disabled-primary-color);
|
364 | }
|
365 |
|
366 | .sw-theme-dots > .nav .nav-link.disabled > .num {
|
367 | color: var(--sw-anchor-disabled-secondary-color) !important;
|
368 | }
|
369 |
|
370 | .sw-theme-dots > .nav .nav-link.disabled::after {
|
371 | background-color: var(--sw-anchor-disabled-primary-color);
|
372 | }
|
373 |
|
374 | .sw-theme-dots > .nav .nav-link.error {
|
375 | color: var(--sw-anchor-error-primary-color) !important;
|
376 | cursor: pointer;
|
377 | }
|
378 |
|
379 | .sw-theme-dots > .nav .nav-link.error > .num {
|
380 | color: var(--sw-anchor-error-secondary-color) !important;
|
381 | }
|
382 |
|
383 | .sw-theme-dots > .nav .nav-link.error::after {
|
384 | background-color: var(--sw-anchor-error-primary-color) !important;
|
385 | }
|
386 |
|
387 | .sw-theme-dots > .nav .nav-link.warning {
|
388 | color: var(--sw-anchor-warning-primary-color) !important;
|
389 | cursor: pointer;
|
390 | }
|
391 |
|
392 | .sw-theme-dots > .nav .nav-link.warning > .num {
|
393 | color: var(--sw-anchor-warning-secondary-color) !important;
|
394 | }
|
395 |
|
396 | .sw-theme-dots > .nav .nav-link.warning::after {
|
397 | background-color: var(--sw-anchor-warning-primary-color) !important;
|
398 | }
|
399 |
|
400 | .sw-theme-dots > .nav-progress::after {
|
401 | content: " ";
|
402 | position: absolute;
|
403 | top: 18px;
|
404 | left: 0;
|
405 | width: var(--sw-progress-width);
|
406 | height: 5px;
|
407 | background-color: var(--sw-progress-color);
|
408 | border-radius: 3px;
|
409 | z-index: 2;
|
410 | transition: width 0.5s ease-in-out;
|
411 | }
|
412 |
|
413 | @media screen and (max-width: 640px) {
|
414 | .sw-theme-dots > .nav-progress::after {
|
415 | top: 0;
|
416 | left: 20.5px;
|
417 | width: 5px;
|
418 | height: var(--sw-progress-width);
|
419 | }
|
420 | }
|
421 |
|
422 | .sw-theme-dots[dir=rtl] > .nav-progress::after {
|
423 | left: unset;
|
424 | right: 0;
|
425 | } |
\ | No newline at end of file |