@idds/styles 1.0.40 → 1.0.42
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 +1 -1
- package/src/components/drawer.css +12 -13
- package/src/components/password-input.css +15 -10
- package/src/components/radio-input.css +32 -13
- package/src/components/text-area.css +11 -7
- package/src/components/text-field.css +10 -7
- package/src/components/toggle.css +11 -25
- package/src/components/tooltip.css +12 -10
package/package.json
CHANGED
|
@@ -268,16 +268,15 @@
|
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
/* Width variants for desktop - Side panels (left/right) */
|
|
271
|
-
.ina-drawer--position-left .ina-drawer__panel--width-sm,
|
|
271
|
+
/* .ina-drawer--position-left .ina-drawer__panel--width-sm,
|
|
272
272
|
.ina-drawer--position-right .ina-drawer__panel--width-sm {
|
|
273
|
-
width: 320px !important;
|
|
274
273
|
min-width: 320px !important;
|
|
275
274
|
max-width: 400px !important;
|
|
276
275
|
height: 100vh !important;
|
|
277
276
|
max-height: 100vh !important;
|
|
278
|
-
}
|
|
277
|
+
} */
|
|
279
278
|
|
|
280
|
-
.ina-drawer--position-left .ina-drawer__panel--width-md,
|
|
279
|
+
/* .ina-drawer--position-left .ina-drawer__panel--width-md,
|
|
281
280
|
.ina-drawer--position-right .ina-drawer__panel--width-md {
|
|
282
281
|
width: 400px !important;
|
|
283
282
|
min-width: 400px !important;
|
|
@@ -311,16 +310,16 @@
|
|
|
311
310
|
max-width: 800px !important;
|
|
312
311
|
height: 100vh !important;
|
|
313
312
|
max-height: 100vh !important;
|
|
314
|
-
}
|
|
313
|
+
} */
|
|
315
314
|
|
|
316
|
-
.ina-drawer--position-left .ina-drawer__panel--width-full,
|
|
315
|
+
/* .ina-drawer--position-left .ina-drawer__panel--width-full,
|
|
317
316
|
.ina-drawer--position-right .ina-drawer__panel--width-full {
|
|
318
317
|
width: 80vw !important;
|
|
319
318
|
min-width: 80vw !important;
|
|
320
319
|
max-width: 80vw !important;
|
|
321
320
|
height: 100vh !important;
|
|
322
321
|
max-height: 100vh !important;
|
|
323
|
-
}
|
|
322
|
+
} */
|
|
324
323
|
|
|
325
324
|
/* Width variants for desktop - Top/Bottom panels (always 100vw) */
|
|
326
325
|
.ina-drawer--position-top .ina-drawer__panel--width-sm,
|
|
@@ -343,7 +342,7 @@
|
|
|
343
342
|
}
|
|
344
343
|
|
|
345
344
|
/* Custom width support - for values like '40vw', '500px', etc. - Side panels */
|
|
346
|
-
.ina-drawer--position-left .ina-drawer__panel--width-40vw,
|
|
345
|
+
/* .ina-drawer--position-left .ina-drawer__panel--width-40vw,
|
|
347
346
|
.ina-drawer--position-right .ina-drawer__panel--width-40vw {
|
|
348
347
|
width: 40vw !important;
|
|
349
348
|
min-width: 40vw;
|
|
@@ -377,19 +376,19 @@
|
|
|
377
376
|
max-width: 70vw;
|
|
378
377
|
height: 100vh !important;
|
|
379
378
|
max-height: 100vh !important;
|
|
380
|
-
}
|
|
379
|
+
} */
|
|
381
380
|
|
|
382
|
-
.ina-drawer--position-left .ina-drawer__panel--width-80vw,
|
|
381
|
+
/* .ina-drawer--position-left .ina-drawer__panel--width-80vw,
|
|
383
382
|
.ina-drawer--position-right .ina-drawer__panel--width-80vw {
|
|
384
383
|
width: 80vw !important;
|
|
385
384
|
min-width: 80vw;
|
|
386
385
|
max-width: 80vw;
|
|
387
386
|
height: 100vh !important;
|
|
388
387
|
max-height: 100vh !important;
|
|
389
|
-
}
|
|
388
|
+
} */
|
|
390
389
|
|
|
391
390
|
/* Custom width support - Top/Bottom panels (always 100vw) */
|
|
392
|
-
.ina-drawer--position-top .ina-drawer__panel--width-40vw,
|
|
391
|
+
/* .ina-drawer--position-top .ina-drawer__panel--width-40vw,
|
|
393
392
|
.ina-drawer--position-top .ina-drawer__panel--width-50vw,
|
|
394
393
|
.ina-drawer--position-top .ina-drawer__panel--width-60vw,
|
|
395
394
|
.ina-drawer--position-top .ina-drawer__panel--width-70vw,
|
|
@@ -404,7 +403,7 @@
|
|
|
404
403
|
max-width: 100vw !important;
|
|
405
404
|
height: 60vh !important;
|
|
406
405
|
max-height: 60vh !important;
|
|
407
|
-
}
|
|
406
|
+
} */
|
|
408
407
|
}
|
|
409
408
|
|
|
410
409
|
/* Header */
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.ina-password-input__wrapper--error:focus-within {
|
|
98
|
-
border-color: var(--ina-negative-
|
|
98
|
+
border-color: var(--ina-negative-500);
|
|
99
99
|
box-shadow: 0 1px 2px 0 rgba(31, 31, 31, 0.1),
|
|
100
100
|
0 0 0 3px var(--ina-negative-50) !important;
|
|
101
101
|
}
|
|
@@ -105,12 +105,12 @@
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
.ina-password-input__wrapper--warning:focus-within {
|
|
108
|
-
border-color: var(--ina-warning-
|
|
108
|
+
border-color: var(--ina-warning-500);
|
|
109
109
|
box-shadow: 0 1px 2px 0 rgba(31, 31, 31, 0.1), 0 0 0 3px var(--ina-warning-50) !important;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.ina-password-input__wrapper--success {
|
|
113
|
-
border-color: var(--ina-positive-
|
|
113
|
+
border-color: var(--ina-positive-600);
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
.ina-password-input__wrapper--success:focus-within {
|
|
@@ -208,11 +208,11 @@
|
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
.ina-password-input__status-message--error {
|
|
211
|
-
color: var(--ina-negative-
|
|
211
|
+
color: var(--ina-negative-500);
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
.ina-password-input__status-message--warning {
|
|
215
|
-
color: var(--ina-warning-
|
|
215
|
+
color: var(--ina-warning-500);
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
.ina-password-input__status-message--success {
|
|
@@ -228,11 +228,11 @@
|
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
.ina-password-input__character-count--warning {
|
|
231
|
-
color: var(--ina-warning-
|
|
231
|
+
color: var(--ina-warning-500);
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
.ina-password-input__character-count--error {
|
|
235
|
-
color: var(--ina-negative-
|
|
235
|
+
color: var(--ina-negative-500);
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
/* Size variants */
|
|
@@ -299,11 +299,16 @@
|
|
|
299
299
|
|
|
300
300
|
/* Disabled state */
|
|
301
301
|
.ina-password-input__wrapper--disabled {
|
|
302
|
-
background-color: var(--ina-
|
|
303
|
-
border-color: var(--ina-stroke-
|
|
302
|
+
background-color: var(--ina-background-tertiary);
|
|
303
|
+
border-color: var(--ina-stroke-primary) !important;
|
|
304
304
|
cursor: not-allowed;
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
+
.ina-password-input__wrapper--disabled
|
|
308
|
+
> .ina-password-input__input::placeholder {
|
|
309
|
+
color: var(--ina-content-tertiary) !important;
|
|
310
|
+
}
|
|
311
|
+
|
|
307
312
|
.ina-password-input__wrapper--disabled .ina-password-input__input {
|
|
308
313
|
cursor: not-allowed;
|
|
309
314
|
opacity: 0.6;
|
|
@@ -361,7 +366,7 @@
|
|
|
361
366
|
}
|
|
362
367
|
|
|
363
368
|
.ina-password-input__strength-bar--good {
|
|
364
|
-
background-color: var(--ina-positive-
|
|
369
|
+
background-color: var(--ina-positive-600);
|
|
365
370
|
}
|
|
366
371
|
|
|
367
372
|
.ina-password-input__strength-bar--strong {
|
|
@@ -60,24 +60,34 @@
|
|
|
60
60
|
appearance: none;
|
|
61
61
|
width: 20px;
|
|
62
62
|
height: 20px;
|
|
63
|
-
border: 1px solid var(--ina-
|
|
63
|
+
border: 1px solid var(--ina-stroke-tertiary, #141414);
|
|
64
64
|
border-radius: 50%;
|
|
65
|
-
background-color:
|
|
65
|
+
background-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
66
66
|
cursor: pointer;
|
|
67
67
|
position: relative;
|
|
68
68
|
transition: all var(--ina-transition-base);
|
|
69
69
|
flex-shrink: 0;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
/* Hover state */
|
|
72
|
+
/* Hover state - Add drop shadow */
|
|
73
73
|
.ina-radio-input__field:hover:not(:disabled) {
|
|
74
|
-
|
|
74
|
+
filter: drop-shadow(0 0 3px #737373);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/* Focus state - Add drop shadow */
|
|
78
|
+
.ina-radio-input__field:focus-visible:not(:disabled) {
|
|
79
|
+
filter: drop-shadow(0 0 3px #737373);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* Active state - Add drop shadow */
|
|
83
|
+
.ina-radio-input__field:active:not(:disabled) {
|
|
84
|
+
filter: drop-shadow(0 0 3px #737373);
|
|
75
85
|
}
|
|
76
86
|
|
|
77
87
|
/* Selected state */
|
|
78
88
|
.ina-radio-input__field:checked {
|
|
79
|
-
border-color: #
|
|
80
|
-
background-color:
|
|
89
|
+
border-color: var(--ina-stroke-tertiary, #141414);
|
|
90
|
+
background-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
81
91
|
}
|
|
82
92
|
|
|
83
93
|
.ina-radio-input__field:checked::after {
|
|
@@ -89,21 +99,30 @@
|
|
|
89
99
|
width: 8px;
|
|
90
100
|
height: 8px;
|
|
91
101
|
border-radius: 50%;
|
|
92
|
-
background-color: #
|
|
102
|
+
background-color: var(--ina-stroke-tertiary, #141414);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/* Checked + Hover/Focus/Active - Keep drop shadow */
|
|
106
|
+
.ina-radio-input__field:checked:hover:not(:disabled),
|
|
107
|
+
.ina-radio-input__field:checked:focus-visible:not(:disabled),
|
|
108
|
+
.ina-radio-input__field:checked:active:not(:disabled) {
|
|
109
|
+
filter: drop-shadow(0 0 3px #737373);
|
|
93
110
|
}
|
|
94
111
|
|
|
95
112
|
/* Disabled states */
|
|
96
113
|
.ina-radio-input__field:disabled {
|
|
97
|
-
border-color: #
|
|
98
|
-
background-color:
|
|
114
|
+
border-color: var(--ina-neutral-200, #E5E5E5);
|
|
115
|
+
background-color: var(--ina-background-secondary, var(--ina-neutral-50));
|
|
99
116
|
cursor: not-allowed;
|
|
100
117
|
opacity: 1;
|
|
118
|
+
filter: none;
|
|
101
119
|
}
|
|
102
120
|
|
|
103
121
|
/* Disabled + Checked state - Higher specificity */
|
|
104
122
|
.ina-radio-input__field:disabled:checked {
|
|
105
|
-
border-color: #
|
|
106
|
-
background-color:
|
|
123
|
+
border-color: var(--ina-neutral-200, #E5E5E5) !important;
|
|
124
|
+
background-color: var(--ina-background-secondary, var(--ina-neutral-50)) !important;
|
|
125
|
+
filter: none;
|
|
107
126
|
}
|
|
108
127
|
|
|
109
128
|
.ina-radio-input__field:disabled:checked::after {
|
|
@@ -115,7 +134,7 @@
|
|
|
115
134
|
width: 8px;
|
|
116
135
|
height: 8px;
|
|
117
136
|
border-radius: 50%;
|
|
118
|
-
background-color: #
|
|
137
|
+
background-color: var(--ina-neutral-200, #E5E5E5);
|
|
119
138
|
}
|
|
120
139
|
|
|
121
140
|
/* Radio option label */
|
|
@@ -176,7 +195,7 @@
|
|
|
176
195
|
|
|
177
196
|
/* Focus indicators */
|
|
178
197
|
.ina-radio-input__field:focus-visible {
|
|
179
|
-
outline: 2px solid #
|
|
198
|
+
outline: 2px solid var(--ina-stroke-tertiary, #141414);
|
|
180
199
|
outline-offset: 2px;
|
|
181
200
|
}
|
|
182
201
|
|
|
@@ -89,11 +89,11 @@
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
.ina-text-area__helper-text--error {
|
|
92
|
-
color: var(--ina-negative-
|
|
92
|
+
color: var(--ina-negative-500);
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
.ina-text-area__helper-text--warning {
|
|
96
|
-
color: var(--ina-warning-
|
|
96
|
+
color: var(--ina-warning-500);
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
.ina-text-area__helper-text--success {
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
.ina-text-area__wrapper.ina-text-area__wrapper--status-error:focus-within {
|
|
124
|
-
border-color: var(--ina-negative-
|
|
124
|
+
border-color: var(--ina-negative-500);
|
|
125
125
|
box-shadow: 0 1px 2px 0 rgba(31, 31, 31, 0.1),
|
|
126
126
|
0 0 0 3px var(--ina-negative-50);
|
|
127
127
|
}
|
|
@@ -131,12 +131,12 @@
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
.ina-text-area__wrapper.ina-text-area__wrapper--status-warning:focus-within {
|
|
134
|
-
border-color: var(--ina-warning-
|
|
134
|
+
border-color: var(--ina-warning-500);
|
|
135
135
|
box-shadow: 0 1px 2px 0 rgba(31, 31, 31, 0.1), 0 0 0 3px var(--ina-warning-50);
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
.ina-text-area__wrapper--status-success {
|
|
139
|
-
border-color: var(--ina-positive-
|
|
139
|
+
border-color: var(--ina-positive-600);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
.ina-text-area__wrapper.ina-text-area__wrapper--status-success:focus-within {
|
|
@@ -147,11 +147,15 @@
|
|
|
147
147
|
|
|
148
148
|
/* Disabled state */
|
|
149
149
|
.ina-text-area__wrapper--disabled {
|
|
150
|
-
background-color: var(--ina-
|
|
151
|
-
border-color: var(--ina-stroke-
|
|
150
|
+
background-color: var(--ina-background-tertiary);
|
|
151
|
+
border-color: var(--ina-stroke-primary) !important;
|
|
152
152
|
cursor: not-allowed;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
+
.ina-text-area__wrapper--disabled > .ina-text-area__input::placeholder {
|
|
156
|
+
color: var(--ina-content-tertiary) !important;
|
|
157
|
+
}
|
|
158
|
+
|
|
155
159
|
.ina-text-area__input:disabled {
|
|
156
160
|
cursor: not-allowed;
|
|
157
161
|
opacity: 0.6;
|
|
@@ -138,11 +138,11 @@
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
.ina-text-field__helper-text--error {
|
|
141
|
-
color: var(--ina-negative-
|
|
141
|
+
color: var(--ina-negative-500);
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
.ina-text-field__helper-text--warning {
|
|
145
|
-
color: var(--ina-warning-
|
|
145
|
+
color: var(--ina-warning-500);
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
.ina-text-field__helper-text--success {
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
.ina-text-field__wrapper.ina-text-field__wrapper--status-error:focus-within {
|
|
172
|
-
border-color: var(--ina-negative-
|
|
172
|
+
border-color: var(--ina-negative-500);
|
|
173
173
|
box-shadow: 0 1px 2px 0 rgba(31, 31, 31, 0.1),
|
|
174
174
|
0 0 0 3px var(--ina-negative-50) !important;
|
|
175
175
|
}
|
|
@@ -179,12 +179,12 @@
|
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
.ina-text-field__wrapper.ina-text-field__wrapper--status-warning:focus-within {
|
|
182
|
-
border-color: var(--ina-warning-
|
|
182
|
+
border-color: var(--ina-warning-500);
|
|
183
183
|
box-shadow: 0 1px 2px 0 rgba(31, 31, 31, 0.1), 0 0 0 3px var(--ina-warning-50) !important;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
.ina-text-field__wrapper--status-success {
|
|
187
|
-
border-color: var(--ina-positive-
|
|
187
|
+
border-color: var(--ina-positive-600);
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
.ina-text-field__wrapper.ina-text-field__wrapper--status-success:focus-within {
|
|
@@ -195,10 +195,13 @@
|
|
|
195
195
|
|
|
196
196
|
/* Disabled state */
|
|
197
197
|
.ina-text-field__wrapper--disabled {
|
|
198
|
-
background-color: var(--ina-
|
|
199
|
-
border-color: var(--ina-stroke-
|
|
198
|
+
background-color: var(--ina-background-tertiary);
|
|
199
|
+
border-color: var(--ina-stroke-primary) !important;
|
|
200
200
|
cursor: not-allowed;
|
|
201
201
|
}
|
|
202
|
+
.ina-text-field__wrapper--disabled > .ina-text-field__input::placeholder {
|
|
203
|
+
color: var(--ina-content-tertiary) !important;
|
|
204
|
+
}
|
|
202
205
|
|
|
203
206
|
.ina-text-field__input:disabled {
|
|
204
207
|
cursor: not-allowed;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
.ina-toggle--disabled {
|
|
14
14
|
cursor: not-allowed;
|
|
15
15
|
opacity: 0.6;
|
|
16
|
+
background-color: var(--ina-background-tertiary) !important;
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
/* Hide the actual input */
|
|
@@ -32,7 +33,7 @@
|
|
|
32
33
|
position: relative;
|
|
33
34
|
display: flex;
|
|
34
35
|
align-items: center;
|
|
35
|
-
background-color: var(--ina-
|
|
36
|
+
background-color: var(--ina-background-secondary);
|
|
36
37
|
border-radius: 9999px;
|
|
37
38
|
transition: all var(--ina-transition-duration-200) ease-in-out;
|
|
38
39
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
@@ -40,7 +41,7 @@
|
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
.ina-toggle__track--checked {
|
|
43
|
-
background-color: var(--ina-
|
|
44
|
+
background-color: var(--ina-positive-500);
|
|
44
45
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
45
46
|
}
|
|
46
47
|
|
|
@@ -73,6 +74,7 @@
|
|
|
73
74
|
}
|
|
74
75
|
|
|
75
76
|
/* Size variants */
|
|
77
|
+
/* Small: 36px x 20px */
|
|
76
78
|
.ina-toggle--size-sm .ina-toggle__track {
|
|
77
79
|
width: 36px;
|
|
78
80
|
height: 20px;
|
|
@@ -89,6 +91,7 @@
|
|
|
89
91
|
transform: translateX(16px);
|
|
90
92
|
}
|
|
91
93
|
|
|
94
|
+
/* Medium: 44px x 24px */
|
|
92
95
|
.ina-toggle--size-md .ina-toggle__track {
|
|
93
96
|
width: 44px;
|
|
94
97
|
height: 24px;
|
|
@@ -105,25 +108,11 @@
|
|
|
105
108
|
transform: translateX(20px);
|
|
106
109
|
}
|
|
107
110
|
|
|
108
|
-
.ina-toggle--size-lg .ina-toggle__track {
|
|
109
|
-
width: 52px;
|
|
110
|
-
height: 28px;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.ina-toggle--size-lg .ina-toggle__thumb {
|
|
114
|
-
width: 24px;
|
|
115
|
-
height: 24px;
|
|
116
|
-
top: 2px;
|
|
117
|
-
left: 2px;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.ina-toggle--size-lg .ina-toggle__thumb--checked {
|
|
121
|
-
transform: translateX(24px);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
111
|
/* Hover states */
|
|
125
112
|
.ina-toggle:not(.ina-toggle--disabled):hover .ina-toggle__track {
|
|
126
113
|
background-color: var(--ina-stroke-primary);
|
|
114
|
+
box-shadow: 0 0 6px 0 rgba(31, 31, 31, 0.1),
|
|
115
|
+
0 0 4px 6px rgba(31, 31, 31, 0.04);
|
|
127
116
|
}
|
|
128
117
|
|
|
129
118
|
.ina-toggle:not(.ina-toggle--disabled):hover .ina-toggle__track--checked {
|
|
@@ -132,11 +121,13 @@
|
|
|
132
121
|
|
|
133
122
|
.ina-toggle:not(.ina-toggle--disabled):hover .ina-toggle__thumb {
|
|
134
123
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
|
|
124
|
+
box-shadow: 0 0 6px 0 rgba(31, 31, 31, 0.1),
|
|
125
|
+
0 0 4px 6px rgba(31, 31, 31, 0.04);
|
|
135
126
|
}
|
|
136
127
|
|
|
137
128
|
/* Focus states */
|
|
138
129
|
.ina-toggle__input:focus + .ina-toggle__track {
|
|
139
|
-
outline: 2px solid var(--ina-
|
|
130
|
+
outline: 2px solid var(--ina-positive-500);
|
|
140
131
|
outline-offset: 2px;
|
|
141
132
|
}
|
|
142
133
|
|
|
@@ -158,11 +149,6 @@
|
|
|
158
149
|
transform: translateX(16px) scale(0.95);
|
|
159
150
|
}
|
|
160
151
|
|
|
161
|
-
.ina-toggle--size-lg:not(.ina-toggle--disabled):active
|
|
162
|
-
.ina-toggle__thumb--checked {
|
|
163
|
-
transform: translateX(24px) scale(0.95);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
152
|
/* Dark mode */
|
|
167
153
|
[data-theme='dark'] .ina-toggle__track {
|
|
168
154
|
background-color: var(--ina-stroke-secondary);
|
|
@@ -170,7 +156,7 @@
|
|
|
170
156
|
}
|
|
171
157
|
|
|
172
158
|
[data-theme='dark'] .ina-toggle__track--checked {
|
|
173
|
-
background-color: var(--ina-
|
|
159
|
+
background-color: var(--ina-positive-500);
|
|
174
160
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
|
|
175
161
|
}
|
|
176
162
|
|
|
@@ -13,8 +13,9 @@
|
|
|
13
13
|
/* Support force :hover state in developer tools */
|
|
14
14
|
.ina-tooltip:hover .ina-tooltip__content,
|
|
15
15
|
.ina-tooltip[data-hover='true'] .ina-tooltip__content {
|
|
16
|
-
opacity: 1;
|
|
17
|
-
visibility: visible;
|
|
16
|
+
opacity: 1 !important;
|
|
17
|
+
visibility: visible !important;
|
|
18
|
+
display: block !important;
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
.ina-tooltip__trigger {
|
|
@@ -33,6 +34,7 @@
|
|
|
33
34
|
/* Hidden by default, shown via JavaScript or :hover */
|
|
34
35
|
opacity: 0;
|
|
35
36
|
visibility: hidden;
|
|
37
|
+
display: block;
|
|
36
38
|
}
|
|
37
39
|
|
|
38
40
|
/* Basic Tooltip Bubble */
|
|
@@ -352,10 +354,10 @@
|
|
|
352
354
|
border-color: transparent transparent transparent transparent;
|
|
353
355
|
}
|
|
354
356
|
|
|
355
|
-
/* Left arrows (pointing right to trigger) - arrow at right of tooltip */
|
|
357
|
+
/* Left arrows (pointing right to trigger) - arrow at right edge of tooltip */
|
|
356
358
|
.ina-tooltip__content--show-arrow.ina-tooltip--placement-left::after {
|
|
357
359
|
top: 50%;
|
|
358
|
-
right:
|
|
360
|
+
right: -5px; /* Positioned at right edge, pointing right */
|
|
359
361
|
margin-top: -5px;
|
|
360
362
|
border-width: 5px;
|
|
361
363
|
border-color: transparent transparent transparent transparent;
|
|
@@ -363,7 +365,7 @@
|
|
|
363
365
|
|
|
364
366
|
.ina-tooltip__content--show-arrow.ina-tooltip--placement-left-start::after {
|
|
365
367
|
top: 16px;
|
|
366
|
-
right:
|
|
368
|
+
right: -5px;
|
|
367
369
|
margin-top: -5px;
|
|
368
370
|
border-width: 5px;
|
|
369
371
|
border-color: transparent transparent transparent transparent;
|
|
@@ -371,16 +373,16 @@
|
|
|
371
373
|
|
|
372
374
|
.ina-tooltip__content--show-arrow.ina-tooltip--placement-left-end::after {
|
|
373
375
|
bottom: 16px;
|
|
374
|
-
right:
|
|
376
|
+
right: -5px;
|
|
375
377
|
margin-top: -5px;
|
|
376
378
|
border-width: 5px;
|
|
377
379
|
border-color: transparent transparent transparent transparent;
|
|
378
380
|
}
|
|
379
381
|
|
|
380
|
-
/* Right arrows (pointing left to trigger) - arrow at left of tooltip */
|
|
382
|
+
/* Right arrows (pointing left to trigger) - arrow at left edge of tooltip */
|
|
381
383
|
.ina-tooltip__content--show-arrow.ina-tooltip--placement-right::after {
|
|
382
384
|
top: 50%;
|
|
383
|
-
left:
|
|
385
|
+
left: -5px; /* Positioned at left edge, pointing left */
|
|
384
386
|
margin-top: -5px;
|
|
385
387
|
border-width: 5px;
|
|
386
388
|
border-color: transparent transparent transparent transparent;
|
|
@@ -388,7 +390,7 @@
|
|
|
388
390
|
|
|
389
391
|
.ina-tooltip__content--show-arrow.ina-tooltip--placement-right-start::after {
|
|
390
392
|
top: 16px;
|
|
391
|
-
left:
|
|
393
|
+
left: -5px;
|
|
392
394
|
margin-top: -5px;
|
|
393
395
|
border-width: 5px;
|
|
394
396
|
border-color: transparent transparent transparent transparent;
|
|
@@ -396,7 +398,7 @@
|
|
|
396
398
|
|
|
397
399
|
.ina-tooltip__content--show-arrow.ina-tooltip--placement-right-end::after {
|
|
398
400
|
bottom: 16px;
|
|
399
|
-
left:
|
|
401
|
+
left: -5px;
|
|
400
402
|
margin-top: -5px;
|
|
401
403
|
border-width: 5px;
|
|
402
404
|
border-color: transparent transparent transparent transparent;
|