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-basic {
|
231 | border: 1px solid var(--sw-border-color);
|
232 | }
|
233 |
|
234 | .sw-theme-basic > .nav {
|
235 | box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1) !important;
|
236 | }
|
237 |
|
238 | .sw-theme-basic > .nav .nav-link {
|
239 | position: relative;
|
240 | height: 100%;
|
241 | min-height: 100%;
|
242 | margin-right: 5px;
|
243 | }
|
244 |
|
245 | .sw-theme-basic > .nav .nav-link::after {
|
246 | content: "";
|
247 | position: absolute;
|
248 | pointer-events: none;
|
249 | height: 2px;
|
250 | width: 0;
|
251 | left: 0px;
|
252 | bottom: -1px;
|
253 | transition: all 0.35s ease 0.15s;
|
254 | width: 100%;
|
255 | }
|
256 |
|
257 | .sw-theme-basic > .nav .nav-link.default {
|
258 | color: var(--sw-anchor-default-secondary-color);
|
259 | cursor: not-allowed;
|
260 | }
|
261 |
|
262 | .sw-theme-basic > .nav .nav-link.default::after {
|
263 | background-color: var(--sw-anchor-default-secondary-color);
|
264 | }
|
265 |
|
266 | .sw-theme-basic > .nav .nav-link.active {
|
267 | color: var(--sw-anchor-active-primary-color) !important;
|
268 | cursor: pointer;
|
269 | }
|
270 |
|
271 | .sw-theme-basic > .nav .nav-link.active::after {
|
272 | background: var(--sw-anchor-active-primary-color) !important;
|
273 | }
|
274 |
|
275 | .sw-theme-basic > .nav .nav-link.done {
|
276 | color: var(--sw-anchor-done-primary-color);
|
277 | cursor: pointer;
|
278 | }
|
279 |
|
280 | .sw-theme-basic > .nav .nav-link.done::after {
|
281 | background: var(--sw-anchor-done-primary-color);
|
282 | }
|
283 |
|
284 | .sw-theme-basic > .nav .nav-link.disabled {
|
285 | color: var(--sw-anchor-disabled-primary-color) !important;
|
286 | }
|
287 |
|
288 | .sw-theme-basic > .nav .nav-link.disabled::after {
|
289 | background: var(--sw-anchor-disabled-primary-color);
|
290 | }
|
291 |
|
292 | .sw-theme-basic > .nav .nav-link.error {
|
293 | color: var(--sw-anchor-error-primary-color) !important;
|
294 | cursor: pointer;
|
295 | }
|
296 |
|
297 | .sw-theme-basic > .nav .nav-link.error::after {
|
298 | background: var(--sw-anchor-error-primary-color) !important;
|
299 | }
|
300 |
|
301 | .sw-theme-basic > .nav .nav-link.warning {
|
302 | color: var(--sw-anchor-warning-primary-color) !important;
|
303 | cursor: pointer;
|
304 | }
|
305 |
|
306 | .sw-theme-basic > .nav .nav-link.warning::after {
|
307 | background: var(--sw-anchor-warning-primary-color) !important;
|
308 | } |
\ | No newline at end of file |