@idds/styles 1.0.57 → 1.0.59
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/package.json
CHANGED
package/src/components/card.css
CHANGED
|
@@ -354,6 +354,28 @@
|
|
|
354
354
|
.ina-card--variant-horizontal .ina-card__media {
|
|
355
355
|
width: 100%;
|
|
356
356
|
aspect-ratio: 16 / 9;
|
|
357
|
+
min-width: 100%;
|
|
358
|
+
max-width: 100%;
|
|
359
|
+
max-height: 202px;
|
|
360
|
+
height: auto;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
/* Horizontal Card - Media Position: Left → menjadi Top di mobile */
|
|
364
|
+
.ina-card--variant-horizontal.ina-card--media-left .ina-card__media {
|
|
365
|
+
order: 1 !important;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.ina-card--variant-horizontal.ina-card--media-left .ina-card__content {
|
|
369
|
+
order: 2 !important;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
/* Horizontal Card - Media Position: Right → menjadi Bottom di mobile */
|
|
373
|
+
.ina-card--variant-horizontal.ina-card--media-right .ina-card__content {
|
|
374
|
+
order: 1 !important;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.ina-card--variant-horizontal.ina-card--media-right .ina-card__media {
|
|
378
|
+
order: 2 !important;
|
|
357
379
|
}
|
|
358
380
|
|
|
359
381
|
.ina-card--variant-horizontal .ina-card__avatar {
|
|
@@ -434,6 +456,28 @@
|
|
|
434
456
|
.ina-card--variant-horizontal .ina-card__media {
|
|
435
457
|
width: 100%;
|
|
436
458
|
aspect-ratio: 16 / 9;
|
|
459
|
+
min-width: 100%;
|
|
460
|
+
max-width: 100%;
|
|
461
|
+
max-height: 202px;
|
|
462
|
+
height: auto;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
/* Horizontal Card - Media Position: Left → menjadi Top di mobile */
|
|
466
|
+
.ina-card--variant-horizontal.ina-card--media-left .ina-card__media {
|
|
467
|
+
order: 1 !important;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.ina-card--variant-horizontal.ina-card--media-left .ina-card__content {
|
|
471
|
+
order: 2 !important;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
/* Horizontal Card - Media Position: Right → menjadi Bottom di mobile */
|
|
475
|
+
.ina-card--variant-horizontal.ina-card--media-right .ina-card__content {
|
|
476
|
+
order: 1 !important;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.ina-card--variant-horizontal.ina-card--media-right .ina-card__media {
|
|
480
|
+
order: 2 !important;
|
|
437
481
|
}
|
|
438
482
|
|
|
439
483
|
.ina-card--variant-horizontal .ina-card__avatar {
|
|
@@ -108,11 +108,11 @@
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
.ina-file-upload__button:hover:not(:disabled) {
|
|
111
|
-
background-color: var(--ina-
|
|
111
|
+
background-color: var(--ina-background-secondary);
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
.ina-file-upload__button:disabled {
|
|
115
|
-
opacity: 0.
|
|
115
|
+
opacity: 0.8;
|
|
116
116
|
cursor: not-allowed;
|
|
117
117
|
}
|
|
118
118
|
|
|
@@ -42,7 +42,6 @@
|
|
|
42
42
|
|
|
43
43
|
.ina-radio-input__option--disabled {
|
|
44
44
|
cursor: not-allowed;
|
|
45
|
-
opacity: 0.6;
|
|
46
45
|
}
|
|
47
46
|
|
|
48
47
|
.ina-radio-input__option--disabled:hover {
|
|
@@ -211,7 +210,6 @@
|
|
|
211
210
|
|
|
212
211
|
/* Loading state */
|
|
213
212
|
.ina-radio-input--loading .ina-radio-input__option {
|
|
214
|
-
opacity: 0.6;
|
|
215
213
|
cursor: not-allowed;
|
|
216
214
|
}
|
|
217
215
|
|
package/src/components/table.css
CHANGED
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
font-size: var(--ina-font-xs);
|
|
185
185
|
font-weight: var(--ina-font-medium);
|
|
186
186
|
color: var(--ina-content-primary);
|
|
187
|
-
vertical-align:
|
|
187
|
+
vertical-align: middle;
|
|
188
188
|
/* Prevent cell content from being cut off */
|
|
189
189
|
white-space: nowrap;
|
|
190
190
|
min-width: fit-content;
|
|
@@ -12,8 +12,6 @@
|
|
|
12
12
|
|
|
13
13
|
.ina-toggle--disabled {
|
|
14
14
|
cursor: not-allowed;
|
|
15
|
-
opacity: 0.6;
|
|
16
|
-
background-color: var(--ina-background-tertiary) !important;
|
|
17
15
|
}
|
|
18
16
|
|
|
19
17
|
/* Hide the actual input */
|
|
@@ -62,6 +60,8 @@
|
|
|
62
60
|
transition: all var(--ina-transition-duration-200) ease-in-out;
|
|
63
61
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
|
|
64
62
|
transform: translateX(0);
|
|
63
|
+
filter: drop-shadow(0 1px 2px rgba(10, 13, 18, 0.06))
|
|
64
|
+
drop-shadow(0 1px 3px rgba(10, 13, 18, 0.1));
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.ina-toggle__thumb--checked {
|
|
@@ -110,17 +110,11 @@
|
|
|
110
110
|
|
|
111
111
|
/* Hover states */
|
|
112
112
|
.ina-toggle:not(.ina-toggle--disabled):hover .ina-toggle__track {
|
|
113
|
-
background-color: var(--ina-background-secondary);
|
|
114
113
|
box-shadow: 0 0 6px 0 rgba(31, 31, 31, 0.1),
|
|
115
114
|
0 0 4px 6px rgba(31, 31, 31, 0.04);
|
|
116
115
|
}
|
|
117
116
|
|
|
118
|
-
.ina-toggle:not(.ina-toggle--disabled):hover .ina-toggle__track--checked {
|
|
119
|
-
background-color: var(--ina-primary-600);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
117
|
.ina-toggle:not(.ina-toggle--disabled):hover .ina-toggle__thumb {
|
|
123
|
-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
|
|
124
118
|
box-shadow: 0 0 6px 0 rgba(31, 31, 31, 0.1),
|
|
125
119
|
0 0 4px 6px rgba(31, 31, 31, 0.04);
|
|
126
120
|
}
|
|
@@ -129,6 +123,8 @@
|
|
|
129
123
|
.ina-toggle__input:focus + .ina-toggle__track {
|
|
130
124
|
outline: 2px solid var(--ina-positive-500);
|
|
131
125
|
outline-offset: 2px;
|
|
126
|
+
box-shadow: 0 0 6px 0 rgba(31, 31, 31, 0.1),
|
|
127
|
+
0 0 4px 6px rgba(31, 31, 31, 0.04);
|
|
132
128
|
}
|
|
133
129
|
|
|
134
130
|
.ina-toggle__input:focus:not(:focus-visible) + .ina-toggle__track {
|
|
@@ -178,26 +174,16 @@
|
|
|
178
174
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
|
|
179
175
|
}
|
|
180
176
|
|
|
181
|
-
[data-theme='dark']
|
|
182
|
-
.ina-toggle:not(.ina-toggle--disabled):hover
|
|
183
|
-
.ina-toggle__track {
|
|
184
|
-
background-color: var(--ina-background-secondary);
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
[data-theme='dark']
|
|
188
|
-
.ina-toggle:not(.ina-toggle--disabled):hover
|
|
189
|
-
.ina-toggle__track--checked {
|
|
190
|
-
background-color: var(--ina-primary-600);
|
|
191
|
-
}
|
|
192
|
-
|
|
193
177
|
[data-theme='dark']
|
|
194
178
|
.ina-toggle:not(.ina-toggle--disabled):hover
|
|
195
179
|
.ina-toggle__thumb {
|
|
196
|
-
box-shadow: 0
|
|
180
|
+
box-shadow: 0 0 6px 0 rgba(31, 31, 31, 0.1),
|
|
181
|
+
0 0 4px 6px rgba(31, 31, 31, 0.04);
|
|
197
182
|
}
|
|
198
183
|
|
|
199
184
|
[data-theme='dark'] .ina-toggle__input:focus + .ina-toggle__track {
|
|
200
|
-
|
|
185
|
+
box-shadow: 0 0 6px 0 rgba(31, 31, 31, 0.1),
|
|
186
|
+
0 0 4px 6px rgba(31, 31, 31, 0.04);
|
|
201
187
|
}
|
|
202
188
|
|
|
203
189
|
/* Reduced motion */
|