@idds/styles 1.0.39 → 1.0.41
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
|
@@ -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 {
|
|
@@ -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
|
|
|
@@ -10,6 +10,14 @@
|
|
|
10
10
|
display: inline-block;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
/* Support force :hover state in developer tools */
|
|
14
|
+
.ina-tooltip:hover .ina-tooltip__content,
|
|
15
|
+
.ina-tooltip[data-hover='true'] .ina-tooltip__content {
|
|
16
|
+
opacity: 1 !important;
|
|
17
|
+
visibility: visible !important;
|
|
18
|
+
display: block !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
13
21
|
.ina-tooltip__trigger {
|
|
14
22
|
display: inline-block;
|
|
15
23
|
}
|
|
@@ -17,12 +25,16 @@
|
|
|
17
25
|
/* Tooltip content container */
|
|
18
26
|
.ina-tooltip__content {
|
|
19
27
|
position: absolute;
|
|
20
|
-
z-index: 999999;
|
|
28
|
+
z-index: 999999 !important;
|
|
21
29
|
/* Ensure tooltip is always on top of everything */
|
|
22
30
|
pointer-events: none;
|
|
23
31
|
/* Prevent clipping by any parent container */
|
|
24
32
|
transform: translateZ(0);
|
|
25
33
|
will-change: transform;
|
|
34
|
+
/* Hidden by default, shown via JavaScript or :hover */
|
|
35
|
+
opacity: 0;
|
|
36
|
+
visibility: hidden;
|
|
37
|
+
display: block;
|
|
26
38
|
}
|
|
27
39
|
|
|
28
40
|
/* Basic Tooltip Bubble */
|
|
@@ -198,14 +210,7 @@
|
|
|
198
210
|
flex-shrink: 0;
|
|
199
211
|
}
|
|
200
212
|
|
|
201
|
-
/*
|
|
202
|
-
.ina-tooltip__content::after {
|
|
203
|
-
content: '';
|
|
204
|
-
position: absolute;
|
|
205
|
-
width: 0;
|
|
206
|
-
height: 0;
|
|
207
|
-
pointer-events: none;
|
|
208
|
-
}
|
|
213
|
+
/* Arrow removed from here - now on .ina-tooltip__content--show-arrow::after */
|
|
209
214
|
|
|
210
215
|
/* Positioning classes */
|
|
211
216
|
/* Reduced margin to eliminate gap and prevent hover area break */
|
|
@@ -285,155 +290,229 @@
|
|
|
285
290
|
margin-left: 0;
|
|
286
291
|
}
|
|
287
292
|
|
|
288
|
-
/* Arrow positioning using ::after pseudo element */
|
|
289
|
-
/*
|
|
290
|
-
/*
|
|
291
|
-
/*
|
|
293
|
+
/* Arrow positioning using ::after pseudo element on content */
|
|
294
|
+
/* Following W3Schools approach with sharper/lancip arrow */
|
|
295
|
+
/* Using 5px border-width for sharper arrow like W3Schools */
|
|
296
|
+
/* Base arrow styles - only show when tooltip is visible */
|
|
297
|
+
.ina-tooltip__content--show-arrow::after {
|
|
298
|
+
content: '';
|
|
299
|
+
position: absolute;
|
|
300
|
+
width: 0;
|
|
301
|
+
height: 0;
|
|
302
|
+
pointer-events: none;
|
|
303
|
+
border-style: solid;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/* Top arrows (pointing down to trigger) - arrow at bottom of tooltip */
|
|
292
307
|
.ina-tooltip__content--show-arrow.ina-tooltip--placement-top::after {
|
|
308
|
+
top: 100%; /* At the bottom of tooltip content */
|
|
293
309
|
left: 50%;
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
border-
|
|
297
|
-
|
|
298
|
-
border-top: 4px solid;
|
|
299
|
-
/* Color will inherit from parent bubble/card background */
|
|
310
|
+
margin-left: -5px; /* Half of border-width to center */
|
|
311
|
+
border-width: 5px;
|
|
312
|
+
border-color: transparent transparent transparent transparent;
|
|
313
|
+
/* Color will be set by variant classes below */
|
|
300
314
|
}
|
|
301
315
|
|
|
302
316
|
.ina-tooltip__content--show-arrow.ina-tooltip--placement-top-start::after {
|
|
317
|
+
top: 100%;
|
|
303
318
|
left: 16px;
|
|
304
|
-
|
|
305
|
-
border-
|
|
306
|
-
border-
|
|
307
|
-
border-top: 4px solid;
|
|
319
|
+
margin-left: -5px;
|
|
320
|
+
border-width: 5px;
|
|
321
|
+
border-color: transparent transparent transparent transparent;
|
|
308
322
|
}
|
|
309
323
|
|
|
310
324
|
.ina-tooltip__content--show-arrow.ina-tooltip--placement-top-end::after {
|
|
325
|
+
top: 100%;
|
|
311
326
|
right: 16px;
|
|
312
|
-
|
|
313
|
-
border-
|
|
314
|
-
border-
|
|
315
|
-
border-top: 4px solid;
|
|
327
|
+
margin-left: -5px;
|
|
328
|
+
border-width: 5px;
|
|
329
|
+
border-color: transparent transparent transparent transparent;
|
|
316
330
|
}
|
|
317
331
|
|
|
318
|
-
/* Bottom arrows (pointing up) */
|
|
332
|
+
/* Bottom arrows (pointing up to trigger) - arrow at top of tooltip */
|
|
319
333
|
.ina-tooltip__content--show-arrow.ina-tooltip--placement-bottom::after {
|
|
334
|
+
bottom: 100%; /* At the top of tooltip content */
|
|
320
335
|
left: 50%;
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
border-
|
|
324
|
-
border-right: 4px solid transparent;
|
|
325
|
-
border-bottom: 4px solid;
|
|
336
|
+
margin-left: -5px;
|
|
337
|
+
border-width: 5px;
|
|
338
|
+
border-color: transparent transparent transparent transparent;
|
|
326
339
|
}
|
|
327
340
|
|
|
328
341
|
.ina-tooltip__content--show-arrow.ina-tooltip--placement-bottom-start::after {
|
|
342
|
+
bottom: 100%;
|
|
329
343
|
left: 16px;
|
|
330
|
-
|
|
331
|
-
border-
|
|
332
|
-
border-
|
|
333
|
-
border-bottom: 4px solid;
|
|
344
|
+
margin-left: -5px;
|
|
345
|
+
border-width: 5px;
|
|
346
|
+
border-color: transparent transparent transparent transparent;
|
|
334
347
|
}
|
|
335
348
|
|
|
336
349
|
.ina-tooltip__content--show-arrow.ina-tooltip--placement-bottom-end::after {
|
|
350
|
+
bottom: 100%;
|
|
337
351
|
right: 16px;
|
|
338
|
-
|
|
339
|
-
border-
|
|
340
|
-
border-
|
|
341
|
-
border-bottom: 4px solid;
|
|
352
|
+
margin-left: -5px;
|
|
353
|
+
border-width: 5px;
|
|
354
|
+
border-color: transparent transparent transparent transparent;
|
|
342
355
|
}
|
|
343
356
|
|
|
344
|
-
/* Left arrows (pointing right) */
|
|
357
|
+
/* Left arrows (pointing right to trigger) - arrow at right of tooltip */
|
|
345
358
|
.ina-tooltip__content--show-arrow.ina-tooltip--placement-left::after {
|
|
346
359
|
top: 50%;
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
border-
|
|
350
|
-
border-
|
|
351
|
-
border-left: 4px solid;
|
|
360
|
+
right: 100%; /* To the left of tooltip content */
|
|
361
|
+
margin-top: -5px;
|
|
362
|
+
border-width: 5px;
|
|
363
|
+
border-color: transparent transparent transparent transparent;
|
|
352
364
|
}
|
|
353
365
|
|
|
354
366
|
.ina-tooltip__content--show-arrow.ina-tooltip--placement-left-start::after {
|
|
355
367
|
top: 16px;
|
|
356
|
-
right:
|
|
357
|
-
|
|
358
|
-
border-
|
|
359
|
-
border-
|
|
368
|
+
right: 100%;
|
|
369
|
+
margin-top: -5px;
|
|
370
|
+
border-width: 5px;
|
|
371
|
+
border-color: transparent transparent transparent transparent;
|
|
360
372
|
}
|
|
361
373
|
|
|
362
374
|
.ina-tooltip__content--show-arrow.ina-tooltip--placement-left-end::after {
|
|
363
375
|
bottom: 16px;
|
|
364
|
-
right:
|
|
365
|
-
|
|
366
|
-
border-
|
|
367
|
-
border-
|
|
376
|
+
right: 100%;
|
|
377
|
+
margin-top: -5px;
|
|
378
|
+
border-width: 5px;
|
|
379
|
+
border-color: transparent transparent transparent transparent;
|
|
368
380
|
}
|
|
369
381
|
|
|
370
|
-
/* Right arrows (pointing left) */
|
|
382
|
+
/* Right arrows (pointing left to trigger) - arrow at left of tooltip */
|
|
371
383
|
.ina-tooltip__content--show-arrow.ina-tooltip--placement-right::after {
|
|
372
384
|
top: 50%;
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
border-
|
|
376
|
-
border-
|
|
377
|
-
border-right: 4px solid;
|
|
385
|
+
left: 100%; /* To the right of tooltip content */
|
|
386
|
+
margin-top: -5px;
|
|
387
|
+
border-width: 5px;
|
|
388
|
+
border-color: transparent transparent transparent transparent;
|
|
378
389
|
}
|
|
379
390
|
|
|
380
391
|
.ina-tooltip__content--show-arrow.ina-tooltip--placement-right-start::after {
|
|
381
392
|
top: 16px;
|
|
382
|
-
left:
|
|
383
|
-
|
|
384
|
-
border-
|
|
385
|
-
border-
|
|
393
|
+
left: 100%;
|
|
394
|
+
margin-top: -5px;
|
|
395
|
+
border-width: 5px;
|
|
396
|
+
border-color: transparent transparent transparent transparent;
|
|
386
397
|
}
|
|
387
398
|
|
|
388
399
|
.ina-tooltip__content--show-arrow.ina-tooltip--placement-right-end::after {
|
|
389
400
|
bottom: 16px;
|
|
390
|
-
left:
|
|
391
|
-
|
|
392
|
-
border-
|
|
393
|
-
border-
|
|
401
|
+
left: 100%;
|
|
402
|
+
margin-top: -5px;
|
|
403
|
+
border-width: 5px;
|
|
404
|
+
border-color: transparent transparent transparent transparent;
|
|
394
405
|
}
|
|
395
406
|
.ina-tooltip__content {
|
|
396
407
|
max-width: 320px;
|
|
397
408
|
min-width: fit-content;
|
|
398
409
|
}
|
|
399
410
|
/* Arrow colors - match parent bubble/card background color */
|
|
400
|
-
/*
|
|
411
|
+
/* Following W3Schools pattern: only the side pointing to trigger has color */
|
|
401
412
|
/* For basic variant - arrow color matches bubble background */
|
|
402
|
-
.ina-tooltip__content--show-arrow.ina-tooltip--variant-basic::after
|
|
413
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-basic.ina-tooltip--placement-top::after,
|
|
414
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-basic.ina-tooltip--placement-top-start::after,
|
|
415
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-basic.ina-tooltip--placement-top-end::after {
|
|
403
416
|
border-top-color: var(--ina-black, var(--ina-neutral-900));
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-basic.ina-tooltip--placement-bottom::after,
|
|
420
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-basic.ina-tooltip--placement-bottom-start::after,
|
|
421
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-basic.ina-tooltip--placement-bottom-end::after {
|
|
404
422
|
border-bottom-color: var(--ina-black, var(--ina-neutral-900));
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-basic.ina-tooltip--placement-left::after,
|
|
426
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-basic.ina-tooltip--placement-left-start::after,
|
|
427
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-basic.ina-tooltip--placement-left-end::after {
|
|
405
428
|
border-left-color: var(--ina-black, var(--ina-neutral-900));
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-basic.ina-tooltip--placement-right::after,
|
|
432
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-basic.ina-tooltip--placement-right-start::after,
|
|
433
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-basic.ina-tooltip--placement-right-end::after {
|
|
406
434
|
border-right-color: var(--ina-black, var(--ina-neutral-900));
|
|
407
435
|
}
|
|
408
436
|
|
|
409
437
|
/* For light variant - arrow color matches card background */
|
|
410
|
-
.ina-tooltip__content--show-arrow.ina-tooltip--variant-light::after
|
|
438
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-light.ina-tooltip--placement-top::after,
|
|
439
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-light.ina-tooltip--placement-top-start::after,
|
|
440
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-light.ina-tooltip--placement-top-end::after {
|
|
411
441
|
border-top-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-light.ina-tooltip--placement-bottom::after,
|
|
445
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-light.ina-tooltip--placement-bottom-start::after,
|
|
446
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-light.ina-tooltip--placement-bottom-end::after {
|
|
412
447
|
border-bottom-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-light.ina-tooltip--placement-left::after,
|
|
451
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-light.ina-tooltip--placement-left-start::after,
|
|
452
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-light.ina-tooltip--placement-left-end::after {
|
|
413
453
|
border-left-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-light.ina-tooltip--placement-right::after,
|
|
457
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-light.ina-tooltip--placement-right-start::after,
|
|
458
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-light.ina-tooltip--placement-right-end::after {
|
|
414
459
|
border-right-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
415
460
|
}
|
|
416
461
|
|
|
417
462
|
/* For dark variant - arrow color matches card background */
|
|
418
|
-
.ina-tooltip__content--show-arrow.ina-tooltip--variant-dark::after
|
|
463
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-dark.ina-tooltip--placement-top::after,
|
|
464
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-dark.ina-tooltip--placement-top-start::after,
|
|
465
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-dark.ina-tooltip--placement-top-end::after {
|
|
419
466
|
border-top-color: var(--ina-neutral-900, var(--ina-neutral-900));
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-dark.ina-tooltip--placement-bottom::after,
|
|
470
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-dark.ina-tooltip--placement-bottom-start::after,
|
|
471
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-dark.ina-tooltip--placement-bottom-end::after {
|
|
420
472
|
border-bottom-color: var(--ina-neutral-900, var(--ina-neutral-900));
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-dark.ina-tooltip--placement-left::after,
|
|
476
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-dark.ina-tooltip--placement-left-start::after,
|
|
477
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-dark.ina-tooltip--placement-left-end::after {
|
|
421
478
|
border-left-color: var(--ina-neutral-900, var(--ina-neutral-900));
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-dark.ina-tooltip--placement-right::after,
|
|
482
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-dark.ina-tooltip--placement-right-start::after,
|
|
483
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-dark.ina-tooltip--placement-right-end::after {
|
|
422
484
|
border-right-color: var(--ina-neutral-900, var(--ina-neutral-900));
|
|
423
485
|
}
|
|
424
486
|
|
|
425
487
|
/* For media variant - arrow color matches card background */
|
|
426
|
-
.ina-tooltip__content--show-arrow.ina-tooltip--variant-media::after
|
|
488
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-media.ina-tooltip--placement-top::after,
|
|
489
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-media.ina-tooltip--placement-top-start::after,
|
|
490
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-media.ina-tooltip--placement-top-end::after {
|
|
427
491
|
border-top-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-media.ina-tooltip--placement-bottom::after,
|
|
495
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-media.ina-tooltip--placement-bottom-start::after,
|
|
496
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-media.ina-tooltip--placement-bottom-end::after {
|
|
428
497
|
border-bottom-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-media.ina-tooltip--placement-left::after,
|
|
501
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-media.ina-tooltip--placement-left-start::after,
|
|
502
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-media.ina-tooltip--placement-left-end::after {
|
|
429
503
|
border-left-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-media.ina-tooltip--placement-right::after,
|
|
507
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-media.ina-tooltip--placement-right-start::after,
|
|
508
|
+
.ina-tooltip__content--show-arrow.ina-tooltip--variant-media.ina-tooltip--placement-right-end::after {
|
|
430
509
|
border-right-color: var(--ina-background-primary, var(--ina-neutral-25));
|
|
431
510
|
}
|
|
432
511
|
|
|
433
512
|
/* Visibility states */
|
|
434
513
|
.ina-tooltip__content--visible {
|
|
435
|
-
opacity: 1;
|
|
436
|
-
visibility: visible;
|
|
514
|
+
opacity: 1 !important;
|
|
515
|
+
visibility: visible !important;
|
|
437
516
|
transition: opacity 0.2s ease, visibility 0.2s ease;
|
|
438
517
|
}
|
|
439
518
|
|