@idds/styles 1.2.11 → 1.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +178 -42
- package/dist/base.css +1071 -0
- package/dist/base.min.css +1 -0
- package/dist/index.css +14801 -0
- package/dist/index.min.css +15 -0
- package/dist/tailwind/css/bgn.min.css +1 -0
- package/dist/tailwind/css/bkn.min.css +1 -0
- package/dist/tailwind/css/idds.min.css +1 -0
- package/dist/tailwind/css/inagov.min.css +1 -0
- package/dist/tailwind/css/inaku.min.css +1 -0
- package/dist/tailwind/css/inapas.min.css +1 -0
- package/dist/tailwind/css/lan.min.css +1 -0
- package/dist/tailwind/css/pan-rb.min.css +1 -0
- package/package.json +31 -21
- package/src/colors/brands/bgn.css +0 -30
- package/src/colors/brands/bkn.css +0 -33
- package/src/colors/brands/inagov.css +0 -40
- package/src/colors/brands/inaku.css +0 -29
- package/src/colors/brands/inapas.css +0 -29
- package/src/colors/brands/lan.css +0 -39
- package/src/colors/brands/pan-rb.css +0 -31
- package/src/colors/index.css +0 -11
- package/src/colors/primitives/index.css +0 -175
- package/src/colors/product/index.css +0 -205
- package/src/colors/utilities/index.css +0 -77
- package/src/components/accordion-card.css +0 -99
- package/src/components/accordion.css +0 -120
- package/src/components/action-dropdown.css +0 -140
- package/src/components/alert.css +0 -180
- package/src/components/avatar.css +0 -182
- package/src/components/badge.css +0 -247
- package/src/components/bottom-sheet.css +0 -61
- package/src/components/breadcrumb.css +0 -97
- package/src/components/button-group.css +0 -130
- package/src/components/button.css +0 -241
- package/src/components/card.css +0 -576
- package/src/components/carousel.css +0 -100
- package/src/components/chart.css +0 -81
- package/src/components/checkbox.css +0 -211
- package/src/components/chip.css +0 -245
- package/src/components/collapse.css +0 -84
- package/src/components/confirmation.css +0 -131
- package/src/components/date-picker.css +0 -1059
- package/src/components/divider.css +0 -174
- package/src/components/drawer.css +0 -752
- package/src/components/dropdown.css +0 -370
- package/src/components/field-input-table.css +0 -347
- package/src/components/file-upload.css +0 -333
- package/src/components/input-search.css +0 -428
- package/src/components/linear-progress-indicator.css +0 -34
- package/src/components/modal.css +0 -507
- package/src/components/month-picker.css +0 -326
- package/src/components/multiple-choice-grid.css +0 -383
- package/src/components/one-time-password.css +0 -119
- package/src/components/pagination.css +0 -429
- package/src/components/password-input.css +0 -477
- package/src/components/phone-input.css +0 -412
- package/src/components/progress-bar.css +0 -447
- package/src/components/radio-input.css +0 -277
- package/src/components/reset.css +0 -431
- package/src/components/select-dropdown.css +0 -663
- package/src/components/select-option.css +0 -217
- package/src/components/single-file-upload.css +0 -186
- package/src/components/skeleton.css +0 -488
- package/src/components/spinner.css +0 -450
- package/src/components/stepper.css +0 -260
- package/src/components/tab-horizontal.css +0 -278
- package/src/components/tab-vertical.css +0 -261
- package/src/components/table-progress-bar.css +0 -48
- package/src/components/table.css +0 -538
- package/src/components/text-area.css +0 -220
- package/src/components/text-field.css +0 -278
- package/src/components/theme-toggle.css +0 -259
- package/src/components/time-picker.css +0 -436
- package/src/components/toast.css +0 -265
- package/src/components/toggle.css +0 -195
- package/src/components/tooltip.css +0 -343
- package/src/components/year-picker.css +0 -424
- package/src/index.css +0 -3
- /package/{src → dist}/tailwind/css/bgn.css +0 -0
- /package/{src → dist}/tailwind/css/bkn.css +0 -0
- /package/{src → dist}/tailwind/css/idds.css +0 -0
- /package/{src → dist}/tailwind/css/inagov.css +0 -0
- /package/{src → dist}/tailwind/css/inaku.css +0 -0
- /package/{src → dist}/tailwind/css/inapas.css +0 -0
- /package/{src → dist}/tailwind/css/lan.css +0 -0
- /package/{src → dist}/tailwind/css/pan-rb.css +0 -0
- /package/{src → dist}/tailwind/ts/bgn.ts +0 -0
- /package/{src → dist}/tailwind/ts/bkn.ts +0 -0
- /package/{src → dist}/tailwind/ts/default.ts +0 -0
- /package/{src → dist}/tailwind/ts/idds.ts +0 -0
- /package/{src → dist}/tailwind/ts/inagov.ts +0 -0
- /package/{src → dist}/tailwind/ts/inaku.ts +0 -0
- /package/{src → dist}/tailwind/ts/inapas.ts +0 -0
- /package/{src → dist}/tailwind/ts/lan.ts +0 -0
- /package/{src → dist}/tailwind/ts/pan-rb.ts +0 -0
|
@@ -1,450 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Spinner Component Styles
|
|
3
|
-
* Menggunakan BEM naming convention dengan prefix "ina-"
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
.ina-spinner {
|
|
7
|
-
/* Base container styling */
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
align-items: center;
|
|
11
|
-
justify-content: center;
|
|
12
|
-
text-align: center;
|
|
13
|
-
gap: var(--ina-spacing-2);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/* Spinner element */
|
|
17
|
-
.ina-spinner__element {
|
|
18
|
-
border-radius: var(--ina-radius-full);
|
|
19
|
-
animation: spinnerSpin 1s linear infinite;
|
|
20
|
-
border-style: solid;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/* Default sizes */
|
|
24
|
-
.ina-spinner__element--size-xs {
|
|
25
|
-
width: 16px;
|
|
26
|
-
height: 16px;
|
|
27
|
-
border-width: 2px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.ina-spinner__element--size-sm {
|
|
31
|
-
width: 24px;
|
|
32
|
-
height: 24px;
|
|
33
|
-
border-width: 2px;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.ina-spinner__element--size-md {
|
|
37
|
-
width: 32px;
|
|
38
|
-
height: 32px;
|
|
39
|
-
border-width: 4px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.ina-spinner__element--size-lg {
|
|
43
|
-
width: 48px;
|
|
44
|
-
height: 48px;
|
|
45
|
-
border-width: 4px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.ina-spinner__element--size-xl {
|
|
49
|
-
width: 64px;
|
|
50
|
-
height: 64px;
|
|
51
|
-
border-width: 6px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@keyframes spinnerSpin {
|
|
55
|
-
to {
|
|
56
|
-
transform: rotate(360deg);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/* Color variants */
|
|
61
|
-
.ina-spinner__element--color-primary {
|
|
62
|
-
border-color: var(--ina-neutral-300) !important;
|
|
63
|
-
border-top-color: var(--ina-primary-500) !important;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.ina-spinner__element--color-secondary {
|
|
67
|
-
border-color: var(--ina-neutral-300);
|
|
68
|
-
border-top-color: var(--ina-neutral-500);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.ina-spinner__element--color-success {
|
|
72
|
-
border-color: var(--ina-neutral-300);
|
|
73
|
-
border-top-color: var(--ina-positive-500);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.ina-spinner__element--color-error {
|
|
77
|
-
border-color: var(--ina-neutral-300);
|
|
78
|
-
border-top-color: var(--ina-negative-500);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.ina-spinner__element--color-warning {
|
|
82
|
-
border-color: var(--ina-neutral-300);
|
|
83
|
-
border-top-color: var(--ina-warning-500);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.ina-spinner__element--color-info {
|
|
87
|
-
border-color: var(--ina-neutral-300);
|
|
88
|
-
border-top-color: var(--ina-info-500);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.ina-spinner__element--color-inherit {
|
|
92
|
-
border-color: currentColor;
|
|
93
|
-
border-top-color: transparent;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/* Custom track color */
|
|
97
|
-
.ina-spinner__element--track-gray {
|
|
98
|
-
border-color: var(--ina-neutral-300);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.ina-spinner__element--track-light {
|
|
102
|
-
border-color: var(--ina-neutral-200);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.ina-spinner__element--track-dark {
|
|
106
|
-
border-color: var(--ina-neutral-500);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/* Border width variants */
|
|
110
|
-
.ina-spinner__element--border-thin {
|
|
111
|
-
border-width: 2px;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.ina-spinner__element--border-medium {
|
|
115
|
-
border-width: 3px;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.ina-spinner__element--border-thick {
|
|
119
|
-
border-width: 4px;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.ina-spinner__element--border-heavy {
|
|
123
|
-
border-width: 6px;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
/* Text content */
|
|
127
|
-
.ina-spinner__title {
|
|
128
|
-
font-size: var(--ina-font-base);
|
|
129
|
-
font-weight: var(--ina-font-semibold);
|
|
130
|
-
color: var(--ina-content-primary);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.ina-spinner__subtitle {
|
|
134
|
-
font-size: var(--ina-font-sm);
|
|
135
|
-
color: var(--ina-content-secondary);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
/* Spinner variants */
|
|
139
|
-
.ina-spinner--variant-tail {
|
|
140
|
-
gap: var(--ina-spacing-1);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.ina-spinner--variant-tail .ina-spinner__element {
|
|
144
|
-
animation: spinnerTailSpin 0.8s ease-in-out infinite;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
@keyframes spinnerTailSpin {
|
|
148
|
-
0%,
|
|
149
|
-
100% {
|
|
150
|
-
transform: rotate(0deg);
|
|
151
|
-
opacity: 1;
|
|
152
|
-
}
|
|
153
|
-
50% {
|
|
154
|
-
transform: rotate(180deg);
|
|
155
|
-
opacity: 0.7;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.ina-spinner--variant-dots {
|
|
160
|
-
flex-direction: row;
|
|
161
|
-
gap: var(--ina-spacing-1);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.ina-spinner--variant-dots .ina-spinner__element {
|
|
165
|
-
width: 8px;
|
|
166
|
-
height: 8px;
|
|
167
|
-
border-radius: var(--ina-radius-full);
|
|
168
|
-
animation: spinnerDots 1.4s ease-in-out infinite both;
|
|
169
|
-
border: none;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.ina-spinner--variant-dots .ina-spinner__element:nth-child(1) {
|
|
173
|
-
animation-delay: -0.32s;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.ina-spinner--variant-dots .ina-spinner__element:nth-child(2) {
|
|
177
|
-
animation-delay: -0.16s;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.ina-spinner__element--dot-1 {
|
|
181
|
-
animation-delay: -0.32s;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.ina-spinner__element--dot-2 {
|
|
185
|
-
animation-delay: -0.16s;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.ina-spinner__element--dot-3 {
|
|
189
|
-
animation-delay: 0s;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
@keyframes spinnerDots {
|
|
193
|
-
0%,
|
|
194
|
-
80%,
|
|
195
|
-
100% {
|
|
196
|
-
transform: scale(0);
|
|
197
|
-
}
|
|
198
|
-
40% {
|
|
199
|
-
transform: scale(1);
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.ina-spinner--variant-bars {
|
|
204
|
-
flex-direction: row;
|
|
205
|
-
gap: var(--ina-spacing-1);
|
|
206
|
-
align-items: center;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.ina-spinner--variant-bars .ina-spinner__element {
|
|
210
|
-
width: 4px;
|
|
211
|
-
height: 40px;
|
|
212
|
-
border: none;
|
|
213
|
-
background-color: currentColor;
|
|
214
|
-
animation: spinnerBars 1.2s ease-in-out infinite;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.ina-spinner--variant-bars .ina-spinner__element:nth-child(1) {
|
|
218
|
-
animation-delay: -1.1s;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.ina-spinner--variant-bars .ina-spinner__element:nth-child(2) {
|
|
222
|
-
animation-delay: -1s;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.ina-spinner--variant-bars .ina-spinner__element:nth-child(3) {
|
|
226
|
-
animation-delay: -0.9s;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.ina-spinner--variant-bars .ina-spinner__element:nth-child(4) {
|
|
230
|
-
animation-delay: -0.8s;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
@keyframes spinnerBars {
|
|
234
|
-
0%,
|
|
235
|
-
40%,
|
|
236
|
-
100% {
|
|
237
|
-
transform: scaleY(0.4);
|
|
238
|
-
}
|
|
239
|
-
20% {
|
|
240
|
-
transform: scaleY(1);
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
/* Speed variants */
|
|
245
|
-
.ina-spinner--speed-slow .ina-spinner__element {
|
|
246
|
-
animation-duration: 2s;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
.ina-spinner--speed-normal .ina-spinner__element {
|
|
250
|
-
animation-duration: 1s;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.ina-spinner--speed-fast .ina-spinner__element {
|
|
254
|
-
animation-duration: 0.5s;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
/* Size variants dengan responsive adjustments */
|
|
258
|
-
.ina-spinner--size-responsive .ina-spinner__element {
|
|
259
|
-
width: 32px;
|
|
260
|
-
height: 32px;
|
|
261
|
-
border-width: 4px;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
@media (max-width: 640px) {
|
|
265
|
-
.ina-spinner--size-responsive .ina-spinner__element {
|
|
266
|
-
width: 24px;
|
|
267
|
-
height: 24px;
|
|
268
|
-
border-width: 3px;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
.ina-spinner__title {
|
|
272
|
-
font-size: var(--ina-font-sm); /* Turun dari base ke sm */
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
.ina-spinner__subtitle {
|
|
276
|
-
font-size: var(--ina-font-xs); /* Turun dari sm ke xs */
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
/* Spinner-only mode (no text) */
|
|
281
|
-
.ina-spinner--spinner-only {
|
|
282
|
-
gap: 0;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.ina-spinner--spinner-only .ina-spinner__title,
|
|
286
|
-
.ina-spinner--spinner-only .ina-spinner__subtitle {
|
|
287
|
-
display: none;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
/* Loading state */
|
|
291
|
-
.ina-spinner--loading {
|
|
292
|
-
pointer-events: none;
|
|
293
|
-
user-select: none;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
/* Background variants */
|
|
297
|
-
.ina-spinner--bg-overlay {
|
|
298
|
-
position: fixed;
|
|
299
|
-
inset: 0;
|
|
300
|
-
background-color: rgba(255, 255, 255, 0.8);
|
|
301
|
-
backdrop-filter: blur(4px);
|
|
302
|
-
z-index: 1000;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
.ina-spinner--bg-card {
|
|
306
|
-
background-color: var(--ina-background-primary);
|
|
307
|
-
border: 1px solid var(--ina-stroke-primary);
|
|
308
|
-
border-radius: var(--ina-radius-lg);
|
|
309
|
-
padding: var(--ina-spacing-8);
|
|
310
|
-
box-shadow: var(--ina-shadow-md);
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
/* Custom positioning */
|
|
314
|
-
.ina-spinner--position-center {
|
|
315
|
-
position: absolute;
|
|
316
|
-
top: 50%;
|
|
317
|
-
left: 50%;
|
|
318
|
-
transform: translate(-50%, -50%);
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
.ina-spinner--position-top {
|
|
322
|
-
position: absolute;
|
|
323
|
-
top: var(--ina-spacing-4);
|
|
324
|
-
left: 50%;
|
|
325
|
-
transform: translateX(-50%);
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
.ina-spinner--position-bottom {
|
|
329
|
-
position: absolute;
|
|
330
|
-
bottom: var(--ina-spacing-4);
|
|
331
|
-
left: 50%;
|
|
332
|
-
transform: translateX(-50%);
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
/* Dark mode support */
|
|
336
|
-
/* @media (prefers-color-scheme: dark) {
|
|
337
|
-
.ina-spinner__title {
|
|
338
|
-
color: var(--ina-content-dark-primary);
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
.ina-spinner__subtitle {
|
|
342
|
-
color: var(--ina-content-dark-secondary);
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
.ina-spinner--bg-overlay {
|
|
346
|
-
background-color: rgba(0, 0, 0, 0.8);
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
.ina-spinner--bg-card {
|
|
350
|
-
background-color: var(--ina-background-dark-primary);
|
|
351
|
-
border-color: var(--ina-stroke-primary-dark);
|
|
352
|
-
}
|
|
353
|
-
} */
|
|
354
|
-
|
|
355
|
-
/* Reduced motion */
|
|
356
|
-
@media (prefers-reduced-motion: reduce) {
|
|
357
|
-
.ina-spinner__element,
|
|
358
|
-
.ina-spinner--variant-tail .ina-spinner__element,
|
|
359
|
-
.ina-spinner--variant-dots .ina-spinner__element,
|
|
360
|
-
.ina-spinner--variant-bars .ina-spinner__element {
|
|
361
|
-
animation: none;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
.ina-spinner__element {
|
|
365
|
-
/* Show static spinner */
|
|
366
|
-
opacity: 0.7;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
.ina-spinner--variant-dots .ina-spinner__element {
|
|
370
|
-
/* Show static dots */
|
|
371
|
-
opacity: 0.5;
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
/* High contrast mode */
|
|
376
|
-
@media (prefers-contrast: high) {
|
|
377
|
-
.ina-spinner__element {
|
|
378
|
-
border-width: 3px;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
.ina-spinner__title {
|
|
382
|
-
font-weight: var(--ina-font-bold);
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
/* Accessibility improvements */
|
|
387
|
-
.ina-spinner[aria-hidden='true'] {
|
|
388
|
-
visibility: hidden;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
.ina-spinner__sr-text {
|
|
392
|
-
position: absolute;
|
|
393
|
-
width: 1px;
|
|
394
|
-
height: 1px;
|
|
395
|
-
padding: 0;
|
|
396
|
-
margin: -1px;
|
|
397
|
-
overflow: hidden;
|
|
398
|
-
clip: rect(0, 0, 0, 0);
|
|
399
|
-
white-space: nowrap;
|
|
400
|
-
border: 0;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
/* Print styles */
|
|
404
|
-
@media print {
|
|
405
|
-
.ina-spinner {
|
|
406
|
-
display: none;
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
/* Pulse animation alternative */
|
|
411
|
-
.ina-spinner__element--animation-pulse {
|
|
412
|
-
animation: spinnerPulse 2s ease-in-out infinite;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
@keyframes spinnerPulse {
|
|
416
|
-
0%,
|
|
417
|
-
100% {
|
|
418
|
-
opacity: 1;
|
|
419
|
-
transform: scale(1);
|
|
420
|
-
}
|
|
421
|
-
50% {
|
|
422
|
-
opacity: 0.5;
|
|
423
|
-
transform: scale(0.95);
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
/* Wave animation */
|
|
428
|
-
.ina-spinner__element--animation-wave {
|
|
429
|
-
animation: spinnerWave 2s ease-in-out infinite;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
@keyframes spinnerWave {
|
|
433
|
-
0%,
|
|
434
|
-
100% {
|
|
435
|
-
transform: rotate(0deg);
|
|
436
|
-
opacity: 1;
|
|
437
|
-
}
|
|
438
|
-
25% {
|
|
439
|
-
transform: rotate(90deg);
|
|
440
|
-
opacity: 0.7;
|
|
441
|
-
}
|
|
442
|
-
50% {
|
|
443
|
-
transform: rotate(180deg);
|
|
444
|
-
opacity: 0.9;
|
|
445
|
-
}
|
|
446
|
-
75% {
|
|
447
|
-
transform: rotate(270deg);
|
|
448
|
-
opacity: 0.7;
|
|
449
|
-
}
|
|
450
|
-
}
|
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
.ina-stepper {
|
|
2
|
-
display: flex;
|
|
3
|
-
position: relative;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
/* Horizontal Layout */
|
|
7
|
-
.ina-stepper--horizontal {
|
|
8
|
-
flex-direction: row;
|
|
9
|
-
align-items: center;
|
|
10
|
-
justify-content: space-between;
|
|
11
|
-
width: 100%;
|
|
12
|
-
min-height: 54px;
|
|
13
|
-
}
|
|
14
|
-
.ina-stepper--vertical .ina-stepper__separator {
|
|
15
|
-
position: relative;
|
|
16
|
-
left: 12px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/* Vertical Layout */
|
|
20
|
-
.ina-stepper--vertical {
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
align-items: flex-start;
|
|
23
|
-
height: 100%;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/* Responsive: Horizontal stepper becomes vertical on mobile */
|
|
27
|
-
.ina-stepper--horizontal-responsive {
|
|
28
|
-
flex-direction: row;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@media (max-width: 767px) {
|
|
32
|
-
.ina-stepper--horizontal-responsive {
|
|
33
|
-
flex-direction: column;
|
|
34
|
-
align-items: flex-start;
|
|
35
|
-
height: 100%;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.ina-stepper--horizontal-responsive .ina-stepper__item {
|
|
39
|
-
width: 100%;
|
|
40
|
-
align-items: flex-start;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.ina-stepper--horizontal-responsive .ina-stepper__separator {
|
|
44
|
-
width: 2px;
|
|
45
|
-
min-height: 72px;
|
|
46
|
-
margin: 0;
|
|
47
|
-
flex-grow: 0;
|
|
48
|
-
align-self: flex-start;
|
|
49
|
-
/* Align to center of icon-wrapper: icon-wrapper is 24px, center is at 12px from left */
|
|
50
|
-
/* Separator width is 2px, so margin-left: 12px - 1px = 11px */
|
|
51
|
-
position: relative;
|
|
52
|
-
left: 12px;
|
|
53
|
-
bottom: 0;
|
|
54
|
-
}
|
|
55
|
-
.ina-stepper--horizontal-responsive .ina-stepper__label {
|
|
56
|
-
position: absolute;
|
|
57
|
-
left: 2rem;
|
|
58
|
-
top: 0.125rem;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.ina-stepper--horizontal-responsive .ina-stepper__item:last-child {
|
|
62
|
-
margin-bottom: 0;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/* Step Item */
|
|
67
|
-
.ina-stepper__item {
|
|
68
|
-
display: flex;
|
|
69
|
-
flex-direction: column;
|
|
70
|
-
align-items: center;
|
|
71
|
-
text-align: center;
|
|
72
|
-
position: relative;
|
|
73
|
-
z-index: 1;
|
|
74
|
-
flex-shrink: 0;
|
|
75
|
-
padding: 0;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.ina-stepper--vertical .ina-stepper__item {
|
|
79
|
-
flex-direction: row;
|
|
80
|
-
text-align: left;
|
|
81
|
-
align-items: flex-start;
|
|
82
|
-
padding: 0;
|
|
83
|
-
width: 100%;
|
|
84
|
-
height: 24px;
|
|
85
|
-
min-height: 24px;
|
|
86
|
-
max-height: 24px;
|
|
87
|
-
overflow: visible;
|
|
88
|
-
}
|
|
89
|
-
.ina-stepper--vertical .ina-stepper__separator {
|
|
90
|
-
min-height: 72px;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.ina-stepper--vertical .ina-stepper__item:last-child {
|
|
94
|
-
margin-bottom: 0;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
/* Icon Wrapper */
|
|
98
|
-
.ina-stepper__icon-wrapper {
|
|
99
|
-
width: 24px;
|
|
100
|
-
height: 24px;
|
|
101
|
-
min-width: 24px;
|
|
102
|
-
min-height: 24px;
|
|
103
|
-
border-radius: var(--ina-rounded-lg, 8px);
|
|
104
|
-
display: flex;
|
|
105
|
-
align-items: center;
|
|
106
|
-
justify-content: center;
|
|
107
|
-
font-size: 16px;
|
|
108
|
-
font-weight: 500;
|
|
109
|
-
transition: background-color 0.2s ease, border-color 0.2s ease,
|
|
110
|
-
color 0.2s ease;
|
|
111
|
-
border: 1px solid var(--ina-stroke-primary);
|
|
112
|
-
color: var(--ina-content-tertiary);
|
|
113
|
-
background-color: var(--ina-background-secondary);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.ina-stepper--vertical .ina-stepper__icon-wrapper {
|
|
117
|
-
margin-right: 0.75rem;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.ina-stepper__step-number {
|
|
121
|
-
color: inherit;
|
|
122
|
-
font-size: 16px;
|
|
123
|
-
font-weight: 500;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.ina-stepper__check-icon {
|
|
127
|
-
color: inherit;
|
|
128
|
-
stroke: currentColor;
|
|
129
|
-
width: 16px;
|
|
130
|
-
height: 16px;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
/* Label */
|
|
134
|
-
.ina-stepper__label {
|
|
135
|
-
font-size: var(--ina-font-xs);
|
|
136
|
-
color: var(--ina-content-primary);
|
|
137
|
-
transition: color 0.2s ease;
|
|
138
|
-
white-space: nowrap;
|
|
139
|
-
position: absolute;
|
|
140
|
-
top: 2rem;
|
|
141
|
-
}
|
|
142
|
-
.ina-stepper--vertical .ina-stepper__label {
|
|
143
|
-
position: absolute;
|
|
144
|
-
left: 2rem;
|
|
145
|
-
top: 0.25rem;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.ina-stepper--vertical .ina-stepper__label {
|
|
149
|
-
margin-top: 0;
|
|
150
|
-
flex-grow: 1;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
/* Separator */
|
|
154
|
-
.ina-stepper__separator {
|
|
155
|
-
flex-grow: 1;
|
|
156
|
-
width: 2px;
|
|
157
|
-
height: 2px;
|
|
158
|
-
background-color: var(--ina-stroke-primary);
|
|
159
|
-
/* Align to center of icon-wrapper: icon-wrapper is 24px, center is at 12px */
|
|
160
|
-
/* Separator width/height is 2px, so we need to position it so its center aligns with icon center */
|
|
161
|
-
align-self: center;
|
|
162
|
-
position: relative;
|
|
163
|
-
z-index: 0;
|
|
164
|
-
transition: background-color 0.2s ease;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.ina-stepper--vertical .ina-stepper__separator {
|
|
168
|
-
width: 2px;
|
|
169
|
-
height: 2rem;
|
|
170
|
-
flex-grow: 0;
|
|
171
|
-
align-self: flex-start;
|
|
172
|
-
/* Align to center of icon-wrapper: icon-wrapper is 24px, center is at 12px from left */
|
|
173
|
-
/* Separator width is 2px, so we need to position it so its center aligns with icon center */
|
|
174
|
-
/* margin-left: 12px (icon center) - 1px (half separator) = 11px */
|
|
175
|
-
position: relative;
|
|
176
|
-
left: 12px;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
/* States */
|
|
180
|
-
/* Active State */
|
|
181
|
-
.ina-stepper__item--active .ina-stepper__icon-wrapper {
|
|
182
|
-
border-color: var(--ina-guide-500);
|
|
183
|
-
color: var(--ina-guide-500);
|
|
184
|
-
background-color: var(--ina-guide-50);
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
/* .ina-stepper__item--active .ina-stepper__label {
|
|
188
|
-
color: var(--ina-guide-500);
|
|
189
|
-
font-weight: 500;
|
|
190
|
-
} */
|
|
191
|
-
|
|
192
|
-
/* Done/Completed State */
|
|
193
|
-
.ina-stepper__item--completed .ina-stepper__icon-wrapper {
|
|
194
|
-
border-color: var(--ina-positive-600);
|
|
195
|
-
color: var(--ina-positive-600);
|
|
196
|
-
background-color: var(--ina-positive-50);
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
/* .ina-stepper__item--completed .ina-stepper__label {
|
|
200
|
-
color: var(--ina-positive-600);
|
|
201
|
-
} */
|
|
202
|
-
|
|
203
|
-
/* Inactive State (default) */
|
|
204
|
-
.ina-stepper__item:not(.ina-stepper__item--active):not(
|
|
205
|
-
.ina-stepper__item--completed
|
|
206
|
-
):not(.ina-stepper__item--error)
|
|
207
|
-
.ina-stepper__icon-wrapper {
|
|
208
|
-
border-color: var(--ina-stroke-primary);
|
|
209
|
-
color: var(--ina-content-tertiary);
|
|
210
|
-
background-color: var(--ina-background-secondary);
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.ina-stepper__item:not(.ina-stepper__item--active):not(
|
|
214
|
-
.ina-stepper__item--completed
|
|
215
|
-
):not(.ina-stepper__item--error)
|
|
216
|
-
.ina-stepper__label {
|
|
217
|
-
color: var(--ina-content-tertiary);
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
/* Error State */
|
|
221
|
-
.ina-stepper__item--error .ina-stepper__icon-wrapper {
|
|
222
|
-
border-color: var(--ina-negative-500);
|
|
223
|
-
color: var(--ina-negative-500);
|
|
224
|
-
background-color: var(--ina-negative-50);
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
/* .ina-stepper__item--error .ina-stepper__label {
|
|
228
|
-
color: var(--ina-negative-500);
|
|
229
|
-
} */
|
|
230
|
-
|
|
231
|
-
.ina-stepper__item--clickable {
|
|
232
|
-
cursor: pointer;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.ina-stepper__item--clickable:hover .ina-stepper__icon-wrapper {
|
|
236
|
-
border-color: var(--ina-semantic-info);
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
.ina-stepper__item--disabled {
|
|
240
|
-
opacity: 0.6;
|
|
241
|
-
cursor: not-allowed;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
/* Separator States */
|
|
245
|
-
/* Completed separator - positive-600 */
|
|
246
|
-
.ina-stepper__separator--completed {
|
|
247
|
-
background-color: var(--ina-positive-600);
|
|
248
|
-
width: 2px;
|
|
249
|
-
height: 2px;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.ina-stepper--vertical .ina-stepper__separator--completed {
|
|
253
|
-
width: 2px;
|
|
254
|
-
height: 2rem;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
/* Inactive separator - stroke-primary (default) */
|
|
258
|
-
.ina-stepper__separator:not(.ina-stepper__separator--completed) {
|
|
259
|
-
background-color: var(--ina-stroke-primary);
|
|
260
|
-
}
|