@itwin/itwinui-css 0.56.0 → 0.59.0
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/css/all.css +706 -346
- package/css/anchor.css +21 -17
- package/css/breadcrumbs.css +312 -57
- package/css/button.css +9 -12
- package/css/dialog.css +201 -0
- package/css/footer.css +1 -17
- package/css/global.css +1 -17
- package/css/information-panel.css +2 -2
- package/css/radio-tile.css +9 -13
- package/css/side-navigation.css +1 -1
- package/css/table.css +148 -61
- package/css/tag.css +1 -17
- package/package.json +1 -1
- package/scss/anchor/classes.scss +4 -0
- package/scss/breadcrumbs/breadcrumbs.scss +77 -18
- package/scss/breadcrumbs/classes.scss +12 -0
- package/scss/button/button.scss +17 -16
- package/scss/button/classes.scss +4 -0
- package/scss/button/cta.scss +3 -1
- package/scss/button/default.scss +0 -2
- package/scss/button/high-visibility.scss +3 -1
- package/scss/classes.scss +1 -1
- package/scss/dialog/classes.scss +47 -0
- package/scss/dialog/dialog.scss +213 -0
- package/scss/{modal → dialog}/index.scss +1 -1
- package/scss/index.scss +1 -1
- package/scss/information-panel/information-panel.scss +2 -2
- package/scss/radio-tile/radio-tile.scss +12 -17
- package/scss/side-navigation/side-navigation.scss +2 -2
- package/scss/style/anchor.scss +19 -16
- package/scss/style/elevation.scss +6 -5
- package/scss/table/classes.scss +16 -0
- package/scss/table/condensed.scss +4 -1
- package/scss/table/extra-condensed.scss +8 -1
- package/scss/table/paginator.scss +4 -0
- package/scss/table/table.scss +137 -37
- package/css/modal.css +0 -132
- package/scss/modal/classes.scss +0 -15
- package/scss/modal/modal.scss +0 -155
package/css/table.css
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
vertical-align:baseline;
|
|
11
11
|
display:flex;
|
|
12
12
|
flex-direction:column;
|
|
13
|
+
isolation:isolate;
|
|
13
14
|
}
|
|
14
15
|
.iui-table *{
|
|
15
16
|
box-sizing:border-box;
|
|
@@ -37,36 +38,57 @@
|
|
|
37
38
|
margin-left:auto;
|
|
38
39
|
}
|
|
39
40
|
.iui-table.iui-condensed .iui-table-header .iui-cell,
|
|
40
|
-
.iui-table.iui-condensed .iui-row .iui-cell,
|
|
41
41
|
.iui-table.iui-condensed .iui-paginator{
|
|
42
42
|
min-height:44px;
|
|
43
43
|
}
|
|
44
|
+
.iui-table.iui-condensed .iui-row .iui-cell{
|
|
45
|
+
min-height:46px;
|
|
46
|
+
}
|
|
44
47
|
.iui-table.iui-extra-condensed .iui-table-header .iui-cell,
|
|
45
|
-
.iui-table.iui-extra-condensed .iui-row .iui-cell,
|
|
46
48
|
.iui-table.iui-extra-condensed .iui-paginator{
|
|
47
49
|
min-height:33px;
|
|
48
50
|
}
|
|
51
|
+
.iui-table.iui-extra-condensed .iui-row .iui-cell{
|
|
52
|
+
min-height:35px;
|
|
53
|
+
}
|
|
54
|
+
.iui-table.iui-extra-condensed .iui-table-header .iui-cell{
|
|
55
|
+
padding-block:2.75px;
|
|
56
|
+
}
|
|
49
57
|
|
|
50
|
-
.iui-table-header{
|
|
51
|
-
-webkit-user-select:none;
|
|
52
|
-
-moz-user-select:none;
|
|
53
|
-
-ms-user-select:none;
|
|
54
|
-
user-select:none;
|
|
58
|
+
.iui-table-header-wrapper{
|
|
55
59
|
overflow:hidden;
|
|
60
|
+
display:flex;
|
|
56
61
|
flex-shrink:0;
|
|
57
|
-
background-color:#edeff2;
|
|
58
|
-
background-color:var(--iui-color-background-3);
|
|
59
62
|
}
|
|
60
63
|
@supports not (overflow: overlay){
|
|
61
|
-
.iui-table-header{
|
|
64
|
+
.iui-table-header-wrapper{
|
|
62
65
|
overflow-y:scroll;
|
|
63
66
|
}
|
|
64
67
|
}
|
|
68
|
+
|
|
69
|
+
.iui-table-header{
|
|
70
|
+
display:flex;
|
|
71
|
+
-webkit-user-select:none;
|
|
72
|
+
-moz-user-select:none;
|
|
73
|
+
-ms-user-select:none;
|
|
74
|
+
user-select:none;
|
|
75
|
+
min-width:100%;
|
|
76
|
+
flex-shrink:0;
|
|
77
|
+
}
|
|
65
78
|
.iui-table-header .iui-row{
|
|
66
79
|
display:flex;
|
|
67
80
|
flex-grow:1;
|
|
68
|
-
|
|
69
|
-
|
|
81
|
+
min-width:100%;
|
|
82
|
+
}
|
|
83
|
+
.iui-table-header .iui-cell{
|
|
84
|
+
min-height:55px;
|
|
85
|
+
background-color:#edeff2;
|
|
86
|
+
background-color:var(--iui-color-background-3);
|
|
87
|
+
}
|
|
88
|
+
.iui-table-header .iui-cell:not(.iui-slot){
|
|
89
|
+
-moz-column-gap:4px;
|
|
90
|
+
column-gap:4px;
|
|
91
|
+
padding-block:5.5px;
|
|
70
92
|
}
|
|
71
93
|
.iui-table-header .iui-cell:not(.iui-slot):focus-visible{
|
|
72
94
|
outline:1px solid var(--iui-color-foreground-primary);
|
|
@@ -85,11 +107,7 @@
|
|
|
85
107
|
cursor:-webkit-grabbing;
|
|
86
108
|
cursor:grabbing;
|
|
87
109
|
}
|
|
88
|
-
.iui-table-header .iui-cell:not(.iui-slot)
|
|
89
|
-
margin-left:4px;
|
|
90
|
-
margin-right:8px;
|
|
91
|
-
}
|
|
92
|
-
.iui-table-header .iui-cell:not(.iui-slot) > .iui-filter-button:not(.iui-active){
|
|
110
|
+
.iui-table-header .iui-cell:not(.iui-slot) .iui-filter-button:not(.iui-active){
|
|
93
111
|
visibility:hidden;
|
|
94
112
|
}
|
|
95
113
|
.iui-table-header .iui-cell:not(.iui-slot) > .iui-resizer{
|
|
@@ -165,6 +183,21 @@
|
|
|
165
183
|
fill:var(--iui-icons-color-actionable);
|
|
166
184
|
}
|
|
167
185
|
|
|
186
|
+
.iui-table-header-actions-container{
|
|
187
|
+
display:flex;
|
|
188
|
+
flex-grow:1;
|
|
189
|
+
align-items:center;
|
|
190
|
+
flex-wrap:wrap;
|
|
191
|
+
justify-content:flex-end;
|
|
192
|
+
margin-right:12px;
|
|
193
|
+
}
|
|
194
|
+
.iui-table-header-actions-container .iui-cell-end-icon{
|
|
195
|
+
width:28px;
|
|
196
|
+
height:28px;
|
|
197
|
+
margin-right:initial;
|
|
198
|
+
margin-left:auto;
|
|
199
|
+
}
|
|
200
|
+
|
|
168
201
|
.iui-table-body{
|
|
169
202
|
overflow-y:scroll;
|
|
170
203
|
overflow:overlay;
|
|
@@ -189,21 +222,26 @@
|
|
|
189
222
|
.iui-table-body .iui-row{
|
|
190
223
|
min-width:100%;
|
|
191
224
|
display:flex;
|
|
192
|
-
|
|
225
|
+
}
|
|
226
|
+
.iui-table-body .iui-row .iui-cell{
|
|
227
|
+
border-top:solid 1px transparent;
|
|
228
|
+
border-bottom:solid 1px transparent;
|
|
193
229
|
border-bottom-color:#c7ccd1;
|
|
194
230
|
border-bottom-color:var(--iui-color-background-border);
|
|
231
|
+
background-color:white;
|
|
232
|
+
background-color:var(--iui-color-background-1);
|
|
195
233
|
}
|
|
196
234
|
@media (prefers-reduced-motion: no-preference){
|
|
197
|
-
.iui-table-body .iui-row{
|
|
235
|
+
.iui-table-body .iui-row .iui-cell{
|
|
198
236
|
transition:border 0.2s ease-out;
|
|
199
237
|
}
|
|
200
238
|
}
|
|
201
239
|
.iui-table-body .iui-row > .iui-slot > .iui-more-options{
|
|
202
240
|
visibility:hidden;
|
|
203
241
|
}
|
|
204
|
-
.iui-table-body .iui-row:hover:not(.iui-disabled)
|
|
205
|
-
background-
|
|
206
|
-
background-color
|
|
242
|
+
.iui-table-body .iui-row:hover:not(.iui-disabled) .iui-cell{
|
|
243
|
+
background:linear-gradient(rgba(0, 138, 224, 0.1), rgba(0, 138, 224, 0.1)), linear-gradient(white, white);
|
|
244
|
+
background:linear-gradient(rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-6)), rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-6))), linear-gradient(var(--iui-color-background-1), var(--iui-color-background-1));
|
|
207
245
|
}
|
|
208
246
|
.iui-table-body .iui-row:hover:not(.iui-disabled) > .iui-slot:not(.iui-disabled) > .iui-more-options{
|
|
209
247
|
visibility:visible;
|
|
@@ -218,9 +256,10 @@
|
|
|
218
256
|
}
|
|
219
257
|
.iui-table-body .iui-row.iui-row-expanded{
|
|
220
258
|
overflow:hidden;
|
|
259
|
+
}
|
|
260
|
+
.iui-table-body .iui-row.iui-row-expanded .iui-cell{
|
|
221
261
|
border-left-color:#dde1e4;
|
|
222
262
|
border-right-color:#dde1e4;
|
|
223
|
-
border-bottom-color:transparent;
|
|
224
263
|
border-left-color:var(--iui-color-background-4);
|
|
225
264
|
border-right-color:var(--iui-color-background-4);
|
|
226
265
|
border-bottom-color:transparent;
|
|
@@ -236,6 +275,10 @@
|
|
|
236
275
|
}
|
|
237
276
|
.iui-table-body .iui-row.iui-expanded-content{
|
|
238
277
|
overflow:hidden;
|
|
278
|
+
border-left:1px solid transparent;
|
|
279
|
+
border-right:1px solid transparent;
|
|
280
|
+
border-bottom:1px solid #c7ccd1;
|
|
281
|
+
border-bottom:1px solid var(--iui-color-background-border);
|
|
239
282
|
}
|
|
240
283
|
.iui-table-body .iui-row.iui-expanded-content.iui-enter{
|
|
241
284
|
opacity:0;
|
|
@@ -259,26 +302,26 @@
|
|
|
259
302
|
transition:opacity 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out;
|
|
260
303
|
}
|
|
261
304
|
}
|
|
262
|
-
.iui-table-body .iui-row:not(.iui-selected) + .iui-selected, .iui-table-body .iui-row.iui-selected:first-child{
|
|
305
|
+
.iui-table-body .iui-row:not(.iui-selected) + .iui-selected .iui-cell, .iui-table-body .iui-row.iui-selected:first-child .iui-cell{
|
|
263
306
|
border-bottom-color:transparent;
|
|
264
307
|
}
|
|
265
|
-
.iui-table-body .iui-row.iui-selected{
|
|
308
|
+
.iui-table-body .iui-row.iui-selected .iui-cell{
|
|
266
309
|
border-color:#008ae0;
|
|
267
|
-
background:rgba(0, 138, 224, 0.1);
|
|
310
|
+
background:linear-gradient(rgba(0, 138, 224, 0.1), rgba(0, 138, 224, 0.1)), linear-gradient(white, white);
|
|
268
311
|
border-color:var(--iui-color-foreground-primary);
|
|
269
|
-
background:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-6));
|
|
312
|
+
background:linear-gradient(rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-6)), rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-6))), linear-gradient(var(--iui-color-background-1), var(--iui-color-background-1));
|
|
270
313
|
}
|
|
271
|
-
.iui-table-body .iui-row.iui-selected + .iui-selected{
|
|
314
|
+
.iui-table-body .iui-row.iui-selected + .iui-selected .iui-cell{
|
|
272
315
|
border-bottom-color:transparent;
|
|
273
316
|
border-top-color:rgba(0, 138, 224, 0.4);
|
|
274
317
|
border-top-color:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-4));
|
|
275
318
|
}
|
|
276
|
-
.iui-table-body .iui-row.iui-selected:last-child{
|
|
319
|
+
.iui-table-body .iui-row.iui-selected:last-child .iui-cell{
|
|
277
320
|
border-bottom-color:#008ae0;
|
|
278
321
|
border-bottom-color:var(--iui-color-foreground-primary);
|
|
279
322
|
}
|
|
280
|
-
.iui-table-body .iui-row.iui-selected + :not(.iui-selected),
|
|
281
|
-
.iui-table-body .iui-row.iui-selected + .iui-expanded-content + :not(.iui-selected){
|
|
323
|
+
.iui-table-body .iui-row.iui-selected + :not(.iui-selected) .iui-cell,
|
|
324
|
+
.iui-table-body .iui-row.iui-selected + .iui-expanded-content + .iui-row:not(.iui-selected) .iui-cell{
|
|
282
325
|
border-top-color:#008ae0;
|
|
283
326
|
border-top-color:var(--iui-color-foreground-primary);
|
|
284
327
|
}
|
|
@@ -319,17 +362,17 @@
|
|
|
319
362
|
.iui-table-body .iui-row.iui-expanded-content.iui-disabled .iui-user-icon{
|
|
320
363
|
filter:grayscale(100%);
|
|
321
364
|
}
|
|
322
|
-
.iui-table-body .iui-row.iui-positive,
|
|
365
|
+
.iui-table-body .iui-row.iui-positive .iui-cell:first-of-type,
|
|
323
366
|
.iui-table-body .iui-row.iui-positive + .iui-expanded-content{
|
|
324
367
|
box-shadow:inset 2px 0 0 0 #53a21a;
|
|
325
368
|
box-shadow:inset 2px 0 0 0 var(--iui-icons-color-positive);
|
|
326
369
|
}
|
|
327
|
-
.iui-table-body .iui-row.iui-positive::-moz-selection, .iui-table-body .iui-row.iui-positive *::-moz-selection, .iui-table-body .iui-row.iui-positive + .iui-expanded-content::-moz-selection, .iui-table-body .iui-row.iui-positive + .iui-expanded-content *::-moz-selection{
|
|
370
|
+
.iui-table-body .iui-row.iui-positive .iui-cell:first-of-type::-moz-selection, .iui-table-body .iui-row.iui-positive .iui-cell:first-of-type *::-moz-selection, .iui-table-body .iui-row.iui-positive + .iui-expanded-content::-moz-selection, .iui-table-body .iui-row.iui-positive + .iui-expanded-content *::-moz-selection{
|
|
328
371
|
background-color:rgba(83, 162, 26, 0.2);
|
|
329
372
|
background-color:rgba(var(--iui-color-foreground-positive-rgb), var(--iui-opacity-5));
|
|
330
373
|
}
|
|
331
|
-
.iui-table-body .iui-row.iui-positive::selection,
|
|
332
|
-
.iui-table-body .iui-row.iui-positive *::selection,
|
|
374
|
+
.iui-table-body .iui-row.iui-positive .iui-cell:first-of-type::selection,
|
|
375
|
+
.iui-table-body .iui-row.iui-positive .iui-cell:first-of-type *::selection,
|
|
333
376
|
.iui-table-body .iui-row.iui-positive + .iui-expanded-content::selection,
|
|
334
377
|
.iui-table-body .iui-row.iui-positive + .iui-expanded-content *::selection{
|
|
335
378
|
background-color:rgba(83, 162, 26, 0.2);
|
|
@@ -339,17 +382,17 @@
|
|
|
339
382
|
fill:#53a21a;
|
|
340
383
|
fill:var(--iui-icons-color-positive);
|
|
341
384
|
}
|
|
342
|
-
.iui-table-body .iui-row.iui-warning,
|
|
385
|
+
.iui-table-body .iui-row.iui-warning .iui-cell:first-of-type,
|
|
343
386
|
.iui-table-body .iui-row.iui-warning + .iui-expanded-content{
|
|
344
387
|
box-shadow:inset 2px 0 0 0 #f18d13;
|
|
345
388
|
box-shadow:inset 2px 0 0 0 var(--iui-icons-color-warning);
|
|
346
389
|
}
|
|
347
|
-
.iui-table-body .iui-row.iui-warning::-moz-selection, .iui-table-body .iui-row.iui-warning *::-moz-selection, .iui-table-body .iui-row.iui-warning + .iui-expanded-content::-moz-selection, .iui-table-body .iui-row.iui-warning + .iui-expanded-content *::-moz-selection{
|
|
390
|
+
.iui-table-body .iui-row.iui-warning .iui-cell:first-of-type::-moz-selection, .iui-table-body .iui-row.iui-warning .iui-cell:first-of-type *::-moz-selection, .iui-table-body .iui-row.iui-warning + .iui-expanded-content::-moz-selection, .iui-table-body .iui-row.iui-warning + .iui-expanded-content *::-moz-selection{
|
|
348
391
|
background-color:rgba(241, 141, 19, 0.2);
|
|
349
392
|
background-color:rgba(var(--iui-color-foreground-warning-rgb), var(--iui-opacity-5));
|
|
350
393
|
}
|
|
351
|
-
.iui-table-body .iui-row.iui-warning::selection,
|
|
352
|
-
.iui-table-body .iui-row.iui-warning *::selection,
|
|
394
|
+
.iui-table-body .iui-row.iui-warning .iui-cell:first-of-type::selection,
|
|
395
|
+
.iui-table-body .iui-row.iui-warning .iui-cell:first-of-type *::selection,
|
|
353
396
|
.iui-table-body .iui-row.iui-warning + .iui-expanded-content::selection,
|
|
354
397
|
.iui-table-body .iui-row.iui-warning + .iui-expanded-content *::selection{
|
|
355
398
|
background-color:rgba(241, 141, 19, 0.2);
|
|
@@ -359,17 +402,17 @@
|
|
|
359
402
|
fill:#f18d13;
|
|
360
403
|
fill:var(--iui-icons-color-warning);
|
|
361
404
|
}
|
|
362
|
-
.iui-table-body .iui-row.iui-negative,
|
|
405
|
+
.iui-table-body .iui-row.iui-negative .iui-cell:first-of-type,
|
|
363
406
|
.iui-table-body .iui-row.iui-negative + .iui-expanded-content{
|
|
364
407
|
box-shadow:inset 2px 0 0 0 #d10a0a;
|
|
365
408
|
box-shadow:inset 2px 0 0 0 var(--iui-icons-color-negative);
|
|
366
409
|
}
|
|
367
|
-
.iui-table-body .iui-row.iui-negative::-moz-selection, .iui-table-body .iui-row.iui-negative *::-moz-selection, .iui-table-body .iui-row.iui-negative + .iui-expanded-content::-moz-selection, .iui-table-body .iui-row.iui-negative + .iui-expanded-content *::-moz-selection{
|
|
410
|
+
.iui-table-body .iui-row.iui-negative .iui-cell:first-of-type::-moz-selection, .iui-table-body .iui-row.iui-negative .iui-cell:first-of-type *::-moz-selection, .iui-table-body .iui-row.iui-negative + .iui-expanded-content::-moz-selection, .iui-table-body .iui-row.iui-negative + .iui-expanded-content *::-moz-selection{
|
|
368
411
|
background-color:rgba(209, 10, 10, 0.2);
|
|
369
412
|
background-color:rgba(var(--iui-color-foreground-negative-rgb), var(--iui-opacity-5));
|
|
370
413
|
}
|
|
371
|
-
.iui-table-body .iui-row.iui-negative::selection,
|
|
372
|
-
.iui-table-body .iui-row.iui-negative *::selection,
|
|
414
|
+
.iui-table-body .iui-row.iui-negative .iui-cell:first-of-type::selection,
|
|
415
|
+
.iui-table-body .iui-row.iui-negative .iui-cell:first-of-type *::selection,
|
|
373
416
|
.iui-table-body .iui-row.iui-negative + .iui-expanded-content::selection,
|
|
374
417
|
.iui-table-body .iui-row.iui-negative + .iui-expanded-content *::selection{
|
|
375
418
|
background-color:rgba(209, 10, 10, 0.2);
|
|
@@ -400,12 +443,18 @@
|
|
|
400
443
|
display:flex;
|
|
401
444
|
flex-grow:1;
|
|
402
445
|
min-width:64px;
|
|
403
|
-
min-height:
|
|
446
|
+
min-height:57px;
|
|
404
447
|
padding-left:16px;
|
|
405
448
|
flex-basis:64px;
|
|
406
449
|
position:relative;
|
|
407
450
|
word-break:break-word;
|
|
408
451
|
}
|
|
452
|
+
.iui-cell:first-of-type{
|
|
453
|
+
border-left:solid 1px transparent;
|
|
454
|
+
}
|
|
455
|
+
.iui-cell:last-of-type{
|
|
456
|
+
border-right:solid 1px transparent;
|
|
457
|
+
}
|
|
409
458
|
.iui-cell.iui-slot{
|
|
410
459
|
width:48px;
|
|
411
460
|
padding:0;
|
|
@@ -416,12 +465,19 @@
|
|
|
416
465
|
align-items:center;
|
|
417
466
|
flex-basis:48px;
|
|
418
467
|
}
|
|
468
|
+
.iui-cell.iui-cell-sticky{
|
|
469
|
+
position:-webkit-sticky;
|
|
470
|
+
position:sticky;
|
|
471
|
+
z-index:1;
|
|
472
|
+
left:var(--iui-table-sticky-left, initial);
|
|
473
|
+
right:var(--iui-table-sticky-right, initial);
|
|
474
|
+
}
|
|
419
475
|
.iui-cell:not(.iui-slot):last-child{
|
|
420
476
|
padding-right:16px;
|
|
421
477
|
}
|
|
422
478
|
.iui-cell.iui-positive{
|
|
423
|
-
background-
|
|
424
|
-
background-color
|
|
479
|
+
background:linear-gradient(rgba(83, 162, 26, 0.1), rgba(83, 162, 26, 0.1)), linear-gradient(white, white);
|
|
480
|
+
background:linear-gradient(rgba(var(--iui-color-foreground-positive-rgb), var(--iui-opacity-6)), rgba(var(--iui-color-foreground-positive-rgb), var(--iui-opacity-6))), linear-gradient(var(--iui-color-background-1), var(--iui-color-background-1));
|
|
425
481
|
}
|
|
426
482
|
.iui-cell.iui-positive::-moz-selection, .iui-cell.iui-positive *::-moz-selection{
|
|
427
483
|
background-color:rgba(83, 162, 26, 0.2);
|
|
@@ -433,8 +489,8 @@
|
|
|
433
489
|
background-color:rgba(var(--iui-color-foreground-positive-rgb), var(--iui-opacity-5));
|
|
434
490
|
}
|
|
435
491
|
.iui-cell.iui-warning{
|
|
436
|
-
background-
|
|
437
|
-
background-color
|
|
492
|
+
background:linear-gradient(rgba(241, 141, 19, 0.1), rgba(241, 141, 19, 0.1)), linear-gradient(white, white);
|
|
493
|
+
background:linear-gradient(rgba(var(--iui-color-foreground-warning-rgb), var(--iui-opacity-6)), rgba(var(--iui-color-foreground-warning-rgb), var(--iui-opacity-6))), linear-gradient(var(--iui-color-background-1), var(--iui-color-background-1));
|
|
438
494
|
}
|
|
439
495
|
.iui-cell.iui-warning::-moz-selection, .iui-cell.iui-warning *::-moz-selection{
|
|
440
496
|
background-color:rgba(241, 141, 19, 0.2);
|
|
@@ -446,8 +502,8 @@
|
|
|
446
502
|
background-color:rgba(var(--iui-color-foreground-warning-rgb), var(--iui-opacity-5));
|
|
447
503
|
}
|
|
448
504
|
.iui-cell.iui-negative{
|
|
449
|
-
background-
|
|
450
|
-
background-color
|
|
505
|
+
background:linear-gradient(rgba(209, 10, 10, 0.1), rgba(209, 10, 10, 0.1)), linear-gradient(white, white);
|
|
506
|
+
background:linear-gradient(rgba(var(--iui-color-foreground-negative-rgb), var(--iui-opacity-6)), rgba(var(--iui-color-foreground-negative-rgb), var(--iui-opacity-6))), linear-gradient(var(--iui-color-background-1), var(--iui-color-background-1));
|
|
451
507
|
}
|
|
452
508
|
.iui-cell.iui-negative::-moz-selection, .iui-cell.iui-negative *::-moz-selection{
|
|
453
509
|
background-color:rgba(209, 10, 10, 0.2);
|
|
@@ -470,6 +526,36 @@
|
|
|
470
526
|
background-color:var(--iui-color-background-1);
|
|
471
527
|
}
|
|
472
528
|
|
|
529
|
+
.iui-cell-shadow-left{
|
|
530
|
+
position:absolute;
|
|
531
|
+
top:-1px;
|
|
532
|
+
bottom:-1px;
|
|
533
|
+
width:24px;
|
|
534
|
+
pointer-events:none;
|
|
535
|
+
left:0;
|
|
536
|
+
transform:translate(-100%);
|
|
537
|
+
box-shadow:inset -10px 0 5px -10px rgba(0, 0, 0, 0.25);
|
|
538
|
+
}
|
|
539
|
+
.iui-table-header .iui-cell-shadow-left{
|
|
540
|
+
top:0;
|
|
541
|
+
bottom:0;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.iui-cell-shadow-right{
|
|
545
|
+
position:absolute;
|
|
546
|
+
top:-1px;
|
|
547
|
+
bottom:-1px;
|
|
548
|
+
width:24px;
|
|
549
|
+
pointer-events:none;
|
|
550
|
+
right:0;
|
|
551
|
+
transform:translate(100%);
|
|
552
|
+
box-shadow:inset 10px 0 5px -10px rgba(0, 0, 0, 0.25);
|
|
553
|
+
}
|
|
554
|
+
.iui-table-header .iui-cell-shadow-right{
|
|
555
|
+
top:0;
|
|
556
|
+
bottom:0;
|
|
557
|
+
}
|
|
558
|
+
|
|
473
559
|
.iui-paginator{
|
|
474
560
|
margin:0;
|
|
475
561
|
padding:0;
|
|
@@ -533,6 +619,7 @@
|
|
|
533
619
|
|
|
534
620
|
.iui-paginator-page-button{
|
|
535
621
|
--_iui-button-active-stripe-inset:initial;
|
|
622
|
+
--_iui-button-text-color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-2));
|
|
536
623
|
margin:0;
|
|
537
624
|
padding:0;
|
|
538
625
|
border:none;
|
|
@@ -559,6 +646,7 @@
|
|
|
559
646
|
border:1px solid transparent;
|
|
560
647
|
color:rgba(0, 0, 0, 0.8);
|
|
561
648
|
color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-2));
|
|
649
|
+
color:var(--_iui-button-text-color);
|
|
562
650
|
border-color:transparent;
|
|
563
651
|
background-color:transparent;
|
|
564
652
|
padding:0 8px;
|
|
@@ -573,9 +661,8 @@
|
|
|
573
661
|
}
|
|
574
662
|
}
|
|
575
663
|
.iui-paginator-page-button:hover{
|
|
664
|
+
--_iui-button-text-color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-1));
|
|
576
665
|
text-decoration:none;
|
|
577
|
-
color:black;
|
|
578
|
-
color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-1));
|
|
579
666
|
}
|
|
580
667
|
.iui-paginator-page-button:focus-visible{
|
|
581
668
|
outline:1px solid var(--iui-color-foreground-primary);
|
|
@@ -596,15 +683,6 @@
|
|
|
596
683
|
border-color:var(--iui-color-background-disabled);
|
|
597
684
|
color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-5));
|
|
598
685
|
}
|
|
599
|
-
.iui-paginator-page-button.iui-active::after{
|
|
600
|
-
content:"";
|
|
601
|
-
position:absolute;
|
|
602
|
-
inset:var(--_iui-button-active-stripe-inset);
|
|
603
|
-
background-color:var(--iui-color-foreground-primary);
|
|
604
|
-
}
|
|
605
|
-
.iui-paginator-page-button.iui-active[disabled]::after, .iui-paginator-page-button.iui-active:disabled::after{
|
|
606
|
-
background-color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-5));
|
|
607
|
-
}
|
|
608
686
|
.iui-paginator-page-button > .iui-button-icon:only-child{
|
|
609
687
|
margin-left:3px;
|
|
610
688
|
margin-right:3px;
|
|
@@ -639,6 +717,15 @@
|
|
|
639
717
|
background-color:rgba(0, 0, 0, 0.05);
|
|
640
718
|
background-color:rgba(var(--iui-color-foreground-body-rgb), 0.05);
|
|
641
719
|
}
|
|
720
|
+
.iui-paginator-page-button.iui-active::after{
|
|
721
|
+
content:"";
|
|
722
|
+
position:absolute;
|
|
723
|
+
inset:var(--_iui-button-active-stripe-inset);
|
|
724
|
+
background-color:var(--iui-color-foreground-primary);
|
|
725
|
+
}
|
|
726
|
+
.iui-paginator-page-button.iui-active[disabled]::after, .iui-paginator-page-button.iui-active:disabled::after{
|
|
727
|
+
background-color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-5));
|
|
728
|
+
}
|
|
642
729
|
.iui-paginator-page-button-small{
|
|
643
730
|
padding:0 8px;
|
|
644
731
|
height:27px;
|
package/css/tag.css
CHANGED
|
@@ -73,12 +73,12 @@
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
a.iui-tag-basic{
|
|
76
|
-
--_iui-anchor-external-svg:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='m16 0v5.4l-1.9-2-8.4 8.4-1.5-1.5 8.3-8.4-1.9-1.9m5.4 16v-9h-1v8h-14v-14h8v-1h-9v16z' /></svg>");
|
|
77
76
|
color:#008ae0;
|
|
78
77
|
-webkit-tap-highlight-color:rgba(0, 138, 224, 0.2);
|
|
79
78
|
color:var(--iui-color-foreground-primary);
|
|
80
79
|
-webkit-tap-highlight-color:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-5));
|
|
81
80
|
border-radius:3px;
|
|
81
|
+
box-sizing:border-box;
|
|
82
82
|
cursor:pointer;
|
|
83
83
|
text-decoration:none;
|
|
84
84
|
}
|
|
@@ -96,22 +96,6 @@ a.iui-tag-basic:hover{
|
|
|
96
96
|
color:#006bad;
|
|
97
97
|
color:var(--iui-color-foreground-primary-overlay);
|
|
98
98
|
}
|
|
99
|
-
a.iui-tag-basic-external::after{
|
|
100
|
-
content:"";
|
|
101
|
-
display:inline-block;
|
|
102
|
-
width:1.5ch;
|
|
103
|
-
height:1.5ch;
|
|
104
|
-
margin-left:0.5ch;
|
|
105
|
-
vertical-align:-0.1ch;
|
|
106
|
-
background-color:currentColor;
|
|
107
|
-
-webkit-mask:var(--_iui-anchor-external-svg);
|
|
108
|
-
mask:var(--_iui-anchor-external-svg);
|
|
109
|
-
}
|
|
110
|
-
@media (forced-colors: active){
|
|
111
|
-
a.iui-tag-basic-external::after{
|
|
112
|
-
background-color:LinkText;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
99
|
a.iui-tag-basic:hover{
|
|
116
100
|
text-decoration:underline;
|
|
117
101
|
}
|
package/package.json
CHANGED
package/scss/anchor/classes.scss
CHANGED
|
@@ -21,45 +21,104 @@
|
|
|
21
21
|
|
|
22
22
|
@mixin iui-breadcrumbs-item {
|
|
23
23
|
display: flex;
|
|
24
|
+
align-items: center;
|
|
24
25
|
line-height: $iui-component-height;
|
|
25
26
|
height: $iui-component-height;
|
|
26
|
-
max-width: $iui-3xl * 2;
|
|
27
|
-
margin: 0 $iui-sm;
|
|
28
27
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.iui-button {
|
|
34
|
-
@include iui-button-borderless;
|
|
35
|
-
margin: 0 (-$iui-s - 1);
|
|
28
|
+
> * {
|
|
29
|
+
max-width: 26ch;
|
|
36
30
|
}
|
|
31
|
+
}
|
|
37
32
|
|
|
38
|
-
|
|
39
|
-
|
|
33
|
+
@mixin iui-breadcrumbs-item-overrides {
|
|
34
|
+
> * {
|
|
35
|
+
padding: 0 $iui-s;
|
|
40
36
|
overflow: hidden;
|
|
41
37
|
white-space: nowrap;
|
|
42
38
|
text-overflow: ellipsis;
|
|
39
|
+
|
|
40
|
+
&:not(.iui-button) {
|
|
41
|
+
@include themed {
|
|
42
|
+
color: t(iui-text-color);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
43
45
|
}
|
|
44
46
|
|
|
45
|
-
|
|
46
|
-
@include
|
|
47
|
-
|
|
47
|
+
> :any-link {
|
|
48
|
+
@include iui-anchor;
|
|
49
|
+
|
|
50
|
+
&:focus {
|
|
51
|
+
outline-offset: -1px;
|
|
48
52
|
}
|
|
53
|
+
}
|
|
49
54
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
55
|
+
.iui-button {
|
|
56
|
+
&.iui-button {
|
|
57
|
+
@include iui-button-borderless;
|
|
58
|
+
@include iui-focus;
|
|
59
|
+
border: none;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&-label {
|
|
63
|
+
overflow: hidden;
|
|
64
|
+
white-space: nowrap;
|
|
65
|
+
text-overflow: ellipsis;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&:not([aria-current]) {
|
|
69
|
+
&,
|
|
70
|
+
&:hover,
|
|
71
|
+
&:active {
|
|
72
|
+
--_iui-button-text-color: var(--iui-color-foreground-primary);
|
|
53
73
|
}
|
|
54
74
|
}
|
|
55
75
|
}
|
|
56
76
|
}
|
|
57
77
|
|
|
78
|
+
@mixin iui-breadcrumbs-text {
|
|
79
|
+
padding: 0 $iui-s;
|
|
80
|
+
overflow: hidden;
|
|
81
|
+
white-space: nowrap;
|
|
82
|
+
text-overflow: ellipsis;
|
|
83
|
+
|
|
84
|
+
@at-root a#{&} {
|
|
85
|
+
@include iui-anchor;
|
|
86
|
+
|
|
87
|
+
&:focus {
|
|
88
|
+
outline-offset: -1px;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@mixin iui-breadcrumbs-button {
|
|
94
|
+
@include iui-button;
|
|
95
|
+
@include iui-button-borderless;
|
|
96
|
+
padding: 0;
|
|
97
|
+
border: none;
|
|
98
|
+
@include themed {
|
|
99
|
+
color: t(iui-color-foreground-primary);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&[aria-current] {
|
|
103
|
+
@include themed {
|
|
104
|
+
color: t(iui-text-color);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
58
109
|
@mixin iui-breadcrumbs-separator {
|
|
59
110
|
display: flex;
|
|
111
|
+
margin: 0 $iui-xxs;
|
|
60
112
|
|
|
61
113
|
svg {
|
|
62
|
-
|
|
114
|
+
width: $iui-icons-small;
|
|
115
|
+
height: $iui-icons-small;
|
|
63
116
|
display: flex; // needed for vertical alignment of webcomponents
|
|
117
|
+
@include themed {
|
|
118
|
+
fill: t(iui-icons-color);
|
|
119
|
+
}
|
|
120
|
+
@media (forced-colors: active) {
|
|
121
|
+
fill: CanvasText;
|
|
122
|
+
}
|
|
64
123
|
}
|
|
65
124
|
}
|
|
@@ -14,6 +14,18 @@
|
|
|
14
14
|
@include iui-breadcrumbs-item;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
.iui-breadcrumbs-item-overrides {
|
|
18
|
+
@include iui-breadcrumbs-item-overrides;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.iui-breadcrumbs-text {
|
|
22
|
+
@include iui-breadcrumbs-text;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.iui-breadcrumbs-button {
|
|
26
|
+
@include iui-breadcrumbs-button;
|
|
27
|
+
}
|
|
28
|
+
|
|
17
29
|
.iui-breadcrumbs-separator {
|
|
18
30
|
@include iui-breadcrumbs-separator;
|
|
19
31
|
}
|
package/scss/button/button.scss
CHANGED
|
@@ -11,6 +11,7 @@ $iui-button-padding-large: $iui-xs * 6;
|
|
|
11
11
|
|
|
12
12
|
@mixin iui-button {
|
|
13
13
|
--_iui-button-active-stripe-inset: initial;
|
|
14
|
+
--_iui-button-text-color: rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-2));
|
|
14
15
|
|
|
15
16
|
@include iui-reset;
|
|
16
17
|
font-family: inherit;
|
|
@@ -38,12 +39,12 @@ $iui-button-padding-large: $iui-xs * 6;
|
|
|
38
39
|
@include themed {
|
|
39
40
|
color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-2));
|
|
40
41
|
}
|
|
42
|
+
color: var(--_iui-button-text-color);
|
|
41
43
|
|
|
42
44
|
&:hover {
|
|
45
|
+
--_iui-button-text-color: rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-1));
|
|
46
|
+
|
|
43
47
|
text-decoration: none;
|
|
44
|
-
@include themed {
|
|
45
|
-
color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-1));
|
|
46
|
-
}
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
@include iui-focus;
|
|
@@ -52,21 +53,21 @@ $iui-button-padding-large: $iui-xs * 6;
|
|
|
52
53
|
&:disabled {
|
|
53
54
|
@include iui-button-disabled;
|
|
54
55
|
}
|
|
56
|
+
}
|
|
55
57
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
58
|
+
@mixin iui-button-active {
|
|
59
|
+
// Shows active stripe only if --_iui-button-active-stripe-inset is set (from outside)
|
|
60
|
+
&::after {
|
|
61
|
+
content: '';
|
|
62
|
+
position: absolute;
|
|
63
|
+
inset: var(--_iui-button-active-stripe-inset);
|
|
64
|
+
background-color: var(--iui-color-foreground-primary);
|
|
65
|
+
}
|
|
64
66
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
67
|
+
&[disabled],
|
|
68
|
+
&:disabled {
|
|
69
|
+
&::after {
|
|
70
|
+
background-color: rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-5));
|
|
70
71
|
}
|
|
71
72
|
}
|
|
72
73
|
}
|