@itwin/itwinui-css 0.43.0 → 0.45.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/alert.css +46 -61
- package/css/all.css +1065 -907
- package/css/breadcrumbs.css +7 -20
- package/css/button.css +48 -91
- package/css/carousel.css +97 -0
- package/css/code.css +6 -9
- package/css/color-picker.css +14 -14
- package/css/date-picker.css +91 -85
- package/css/expandable-block.css +13 -9
- package/css/file-upload.css +4 -3
- package/css/footer.css +7 -20
- package/css/global.css +7 -9
- package/css/header.css +4 -24
- package/css/inputs.css +121 -89
- package/css/popover.css +12 -0
- package/css/side-navigation.css +1 -16
- package/css/slider.css +7 -10
- package/css/table.css +160 -29
- package/css/tabs.css +8 -3
- package/css/tag.css +17 -18
- package/css/tile.css +340 -314
- package/css/time-picker.css +26 -18
- package/css/toast-notification.css +12 -49
- package/css/toggle-switch.css +7 -4
- package/css/tree.css +12 -8
- package/css/wizard.css +4 -4
- package/package.json +10 -9
- package/scss/alert/alert.scss +4 -2
- package/scss/button/borderless.scss +10 -26
- package/scss/button/button-group.scss +2 -2
- package/scss/button/cta.scss +10 -25
- package/scss/button/default.scss +22 -32
- package/scss/button/high-visibility.scss +10 -25
- package/scss/carousel/carousel.scss +119 -0
- package/scss/carousel/classes.scss +15 -0
- package/scss/carousel/index.scss +3 -0
- package/scss/classes.scss +2 -0
- package/scss/color-picker/color-picker.scss +2 -25
- package/scss/date-picker/classes.scss +20 -0
- package/scss/date-picker/date-picker.scss +88 -100
- package/scss/expandable-block/block.scss +1 -0
- package/scss/file-upload/file-upload.scss +2 -2
- package/scss/footer/footer.scss +0 -2
- package/scss/header/header.scss +1 -15
- package/scss/index.scss +2 -0
- package/scss/inputs/checkbox-radio.scss +28 -18
- package/scss/inputs/checkbox.scss +9 -8
- package/scss/inputs/input.scss +1 -14
- package/scss/inputs/labeled-inputs.scss +2 -1
- package/scss/inputs/radio-tile.scss +9 -4
- package/scss/inputs/select.scss +2 -1
- package/scss/popover/classes.scss +7 -0
- package/scss/popover/index.scss +3 -0
- package/scss/popover/popover.scss +22 -0
- package/scss/side-navigation/side-navigation.scss +1 -33
- package/scss/slider/slider.scss +1 -2
- package/scss/style/mixins.scss +14 -16
- package/scss/table/classes.scss +12 -0
- package/scss/table/paginator.scss +39 -31
- package/scss/table/table.scss +1 -1
- package/scss/tabs/default.scss +5 -0
- package/scss/tabs/tabs.scss +1 -8
- package/scss/tag/tag.scss +9 -1
- package/scss/tile/classes.scss +28 -0
- package/scss/tile/tile.scss +230 -235
- package/scss/time-picker/time-picker.scss +1 -0
- package/scss/toast-notification/categories.scss +5 -2
- package/scss/toast-notification/toast.scss +0 -1
- package/scss/toggle-switch/toggle-switch.scss +7 -3
- package/scss/tree/tree.scss +2 -14
- package/scss/wizard/wizard.scss +3 -3
package/css/table.css
CHANGED
|
@@ -54,16 +54,13 @@
|
|
|
54
54
|
.iui-table-header .iui-row{
|
|
55
55
|
display:flex;
|
|
56
56
|
flex-grow:1; }
|
|
57
|
-
.iui-table-header .iui-cell:not(.iui-slot):focus{
|
|
58
|
-
outline:0;
|
|
59
|
-
box-shadow:rgba(0, 139, 225, 0.2) 0 0 0 2px;
|
|
60
|
-
box-shadow:var(--iui-focus-box-shadow); }
|
|
61
|
-
.iui-table-header .iui-cell:not(.iui-slot):focus:not(:focus-visible){
|
|
62
|
-
box-shadow:none; }
|
|
63
57
|
.iui-table-header .iui-cell:not(.iui-slot):focus-visible{
|
|
64
|
-
outline:
|
|
65
|
-
|
|
66
|
-
|
|
58
|
+
outline:1px solid var(--iui-color-foreground-primary);
|
|
59
|
+
outline-offset:-1px; }
|
|
60
|
+
@supports not selector(*:focus-visible){
|
|
61
|
+
.iui-table-header .iui-cell:not(.iui-slot):focus{
|
|
62
|
+
outline:1px solid var(--iui-color-foreground-primary);
|
|
63
|
+
outline-offset:-1px; } }
|
|
67
64
|
.iui-table-header .iui-cell:not(.iui-slot).iui-actionable{
|
|
68
65
|
cursor:pointer; }
|
|
69
66
|
.iui-table-header .iui-cell:not(.iui-slot) > .iui-filter-button{
|
|
@@ -131,7 +128,7 @@
|
|
|
131
128
|
scroll-snap-type:y mandatory; }
|
|
132
129
|
.iui-table-body.iui-scroll-snapping .iui-row{
|
|
133
130
|
scroll-snap-align:start none; }
|
|
134
|
-
.iui-table-body.iui-zebra-striping
|
|
131
|
+
.iui-table-body.iui-zebra-striping .iui-row:nth-child(even):not(.iui-selected){
|
|
135
132
|
background-color:rgba(0, 0, 0, 0.02);
|
|
136
133
|
background-color:rgba(var(--iui-color-foreground-body-rgb), 0.02); }
|
|
137
134
|
.iui-table-body .iui-row{
|
|
@@ -379,25 +376,6 @@
|
|
|
379
376
|
flex:2 1;
|
|
380
377
|
color:rgba(0, 0, 0, 0.8);
|
|
381
378
|
color:var(--iui-text-color); }
|
|
382
|
-
.iui-paginator > .iui-center .iui-button-group{
|
|
383
|
-
margin:0 8px; }
|
|
384
|
-
.iui-paginator > .iui-center .iui-button-group > *{
|
|
385
|
-
margin-right:0; }
|
|
386
|
-
.iui-paginator > .iui-center .iui-button-group > * > .iui-button,
|
|
387
|
-
.iui-paginator > .iui-center .iui-button-group > * > .iui-ellipsis{
|
|
388
|
-
width:38px; }
|
|
389
|
-
.iui-paginator > .iui-center .iui-button-group > * > .iui-button.iui-small,
|
|
390
|
-
.iui-paginator > .iui-center .iui-button-group > * > .iui-ellipsis.iui-small{
|
|
391
|
-
width:27px; }
|
|
392
|
-
.iui-paginator > .iui-center .iui-button-group > * > .iui-ellipsis{
|
|
393
|
-
display:flex;
|
|
394
|
-
justify-content:center;
|
|
395
|
-
align-items:center;
|
|
396
|
-
color:rgba(0, 0, 0, 0.4);
|
|
397
|
-
color:var(--iui-text-color-muted); }
|
|
398
|
-
.iui-paginator > .iui-center .iui-button-group > * > .iui-active::after{
|
|
399
|
-
top:auto;
|
|
400
|
-
bottom:2px; }
|
|
401
379
|
.iui-paginator > .iui-right{
|
|
402
380
|
justify-content:flex-end; }
|
|
403
381
|
.iui-paginator-page-size-label{
|
|
@@ -407,6 +385,159 @@
|
|
|
407
385
|
overflow:hidden;
|
|
408
386
|
text-overflow:ellipsis; }
|
|
409
387
|
|
|
388
|
+
.iui-paginator-ellipsis{
|
|
389
|
+
display:flex;
|
|
390
|
+
justify-content:center;
|
|
391
|
+
align-items:center;
|
|
392
|
+
width:38px;
|
|
393
|
+
color:rgba(0, 0, 0, 0.4);
|
|
394
|
+
color:var(--iui-text-color-muted); }
|
|
395
|
+
.iui-paginator-ellipsis-small{
|
|
396
|
+
width:27px; }
|
|
397
|
+
|
|
398
|
+
.iui-paginator-pages-group{
|
|
399
|
+
display:inline-flex;
|
|
400
|
+
align-items:center;
|
|
401
|
+
isolation:isolate;
|
|
402
|
+
margin:0 8px; }
|
|
403
|
+
.iui-paginator-pages-group > *{
|
|
404
|
+
display:flex; }
|
|
405
|
+
.iui-paginator-pages-group > * input, .iui-paginator-pages-group > * button{
|
|
406
|
+
position:relative;
|
|
407
|
+
transition-duration:0ms; }
|
|
408
|
+
.iui-paginator-pages-group > * input:hover, .iui-paginator-pages-group > * button:hover{
|
|
409
|
+
z-index:1; }
|
|
410
|
+
.iui-paginator-pages-group > * input:focus, .iui-paginator-pages-group > * button:focus{
|
|
411
|
+
z-index:2; }
|
|
412
|
+
.iui-paginator-pages-group > * input:focus:where(:not(:focus-visible):not(:hover)), .iui-paginator-pages-group > * button:focus:where(:not(:focus-visible):not(:hover)){
|
|
413
|
+
z-index:revert; }
|
|
414
|
+
.iui-paginator-pages-group > * input:disabled, .iui-paginator-pages-group > * button:disabled{
|
|
415
|
+
z-index:-1; }
|
|
416
|
+
.iui-paginator-pages-group > * input:hover, .iui-paginator-pages-group > * input:focus, .iui-paginator-pages-group > * button:hover, .iui-paginator-pages-group > * button:focus{
|
|
417
|
+
transition-duration:0.2s; }
|
|
418
|
+
.iui-paginator-pages-group > * input.iui-active::after, .iui-paginator-pages-group > * button.iui-active::after{
|
|
419
|
+
content:'';
|
|
420
|
+
position:absolute;
|
|
421
|
+
height:2px;
|
|
422
|
+
opacity:1;
|
|
423
|
+
top:2px;
|
|
424
|
+
left:2px;
|
|
425
|
+
width:calc(100% - 4px);
|
|
426
|
+
background-color:#008BE1;
|
|
427
|
+
background-color:var(--iui-color-foreground-primary); }
|
|
428
|
+
.iui-paginator-pages-group > * input.iui-active:disabled::after, .iui-paginator-pages-group > * button.iui-active:disabled::after{
|
|
429
|
+
background-color:rgba(0, 0, 0, 0.2);
|
|
430
|
+
background-color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-5)); }
|
|
431
|
+
.iui-paginator-pages-group > * input:not(.iui-borderless), .iui-paginator-pages-group > * button:not(.iui-borderless){
|
|
432
|
+
border-radius:0; }
|
|
433
|
+
.iui-paginator-pages-group > *:first-child input, .iui-paginator-pages-group > *:first-child button:not(.iui-borderless){
|
|
434
|
+
border-top-left-radius:3px;
|
|
435
|
+
border-bottom-left-radius:3px; }
|
|
436
|
+
.iui-paginator-pages-group > *:last-child input, .iui-paginator-pages-group > *:last-child button:not(.iui-borderless){
|
|
437
|
+
border-top-right-radius:3px;
|
|
438
|
+
border-bottom-right-radius:3px; }
|
|
439
|
+
.iui-paginator-pages-group > * + *{
|
|
440
|
+
margin-left:-1px; }
|
|
441
|
+
.iui-paginator-pages-group > *:not(:first-child) .iui-default:disabled{
|
|
442
|
+
border-left-color:#DCE0E3;
|
|
443
|
+
border-left-color:var(--iui-color-background-4); }
|
|
444
|
+
.iui-paginator-pages-group > * + *{
|
|
445
|
+
margin-left:0; }
|
|
446
|
+
.iui-paginator-pages-group button.iui-active::after{
|
|
447
|
+
top:auto;
|
|
448
|
+
bottom:2px; }
|
|
449
|
+
|
|
450
|
+
.iui-paginator-page-button{
|
|
451
|
+
margin:0;
|
|
452
|
+
padding:0;
|
|
453
|
+
border:none;
|
|
454
|
+
vertical-align:baseline;
|
|
455
|
+
font-family:inherit;
|
|
456
|
+
display:inline-flex;
|
|
457
|
+
align-items:center;
|
|
458
|
+
vertical-align:middle;
|
|
459
|
+
justify-content:center;
|
|
460
|
+
position:relative;
|
|
461
|
+
box-sizing:border-box;
|
|
462
|
+
border-radius:3px;
|
|
463
|
+
line-height:22px;
|
|
464
|
+
outline:none;
|
|
465
|
+
box-shadow:none;
|
|
466
|
+
font-size:14px;
|
|
467
|
+
font-weight:400;
|
|
468
|
+
text-decoration:none;
|
|
469
|
+
-webkit-user-select:none;
|
|
470
|
+
-moz-user-select:none;
|
|
471
|
+
-ms-user-select:none;
|
|
472
|
+
user-select:none;
|
|
473
|
+
cursor:pointer;
|
|
474
|
+
white-space:nowrap;
|
|
475
|
+
border:1px solid transparent;
|
|
476
|
+
color:rgba(0, 0, 0, 0.8);
|
|
477
|
+
color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-2));
|
|
478
|
+
border-color:transparent;
|
|
479
|
+
background-color:transparent;
|
|
480
|
+
padding:0 8px;
|
|
481
|
+
height:38px;
|
|
482
|
+
gap:8px;
|
|
483
|
+
width:38px; }
|
|
484
|
+
@media (prefers-reduced-motion: no-preference){
|
|
485
|
+
.iui-paginator-page-button{
|
|
486
|
+
transition:color 0.2s ease-out, background-color 0.2s ease-out, border-color 0.2s ease-out; } }
|
|
487
|
+
.iui-paginator-page-button:hover{
|
|
488
|
+
text-decoration:none;
|
|
489
|
+
color:black;
|
|
490
|
+
color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-1)); }
|
|
491
|
+
.iui-paginator-page-button:focus-visible{
|
|
492
|
+
outline:1px solid var(--iui-color-foreground-primary);
|
|
493
|
+
outline-offset:-1px; }
|
|
494
|
+
@supports not selector(*:focus-visible){
|
|
495
|
+
.iui-paginator-page-button:focus{
|
|
496
|
+
outline:1px solid var(--iui-color-foreground-primary);
|
|
497
|
+
outline-offset:-1px; } }
|
|
498
|
+
.iui-paginator-page-button[disabled], .iui-paginator-page-button:disabled{
|
|
499
|
+
cursor:not-allowed;
|
|
500
|
+
background:#EEF0F3;
|
|
501
|
+
border-color:#EEF0F3;
|
|
502
|
+
color:rgba(0, 0, 0, 0.2);
|
|
503
|
+
background:var(--iui-color-background-disabled);
|
|
504
|
+
border-color:var(--iui-color-background-disabled);
|
|
505
|
+
color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-5)); }
|
|
506
|
+
.iui-paginator-page-button > .iui-button-icon:only-child{
|
|
507
|
+
margin-left:3px;
|
|
508
|
+
margin-right:3px; }
|
|
509
|
+
.iui-paginator-page-button:hover{
|
|
510
|
+
background-color:rgba(0, 0, 0, 0.1);
|
|
511
|
+
border-color:transparent;
|
|
512
|
+
background-color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-6));
|
|
513
|
+
border-color:transparent; }
|
|
514
|
+
.iui-paginator-page-button.iui-active{
|
|
515
|
+
background-color:rgba(0, 139, 225, 0.1);
|
|
516
|
+
color:#008BE1;
|
|
517
|
+
background-color:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-6));
|
|
518
|
+
color:var(--iui-color-foreground-primary);
|
|
519
|
+
border-color:transparent; }
|
|
520
|
+
.iui-paginator-page-button[disabled], .iui-paginator-page-button:disabled{
|
|
521
|
+
cursor:not-allowed;
|
|
522
|
+
background:#EEF0F3;
|
|
523
|
+
border-color:#EEF0F3;
|
|
524
|
+
color:rgba(0, 0, 0, 0.2);
|
|
525
|
+
background:var(--iui-color-background-disabled);
|
|
526
|
+
border-color:var(--iui-color-background-disabled);
|
|
527
|
+
color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-5));
|
|
528
|
+
background-color:transparent;
|
|
529
|
+
border-color:transparent;
|
|
530
|
+
background-color:transparent;
|
|
531
|
+
border-color:transparent; }
|
|
532
|
+
.iui-paginator-page-button[disabled].iui-active, .iui-paginator-page-button:disabled.iui-active{
|
|
533
|
+
background-color:rgba(0, 0, 0, 0.05);
|
|
534
|
+
background-color:rgba(var(--iui-color-foreground-body-rgb), 0.05); }
|
|
535
|
+
.iui-paginator-page-button-small{
|
|
536
|
+
padding:0 8px;
|
|
537
|
+
height:27px;
|
|
538
|
+
gap:4px;
|
|
539
|
+
width:27px; }
|
|
540
|
+
|
|
410
541
|
.iui-column-filter{
|
|
411
542
|
margin:0;
|
|
412
543
|
padding:0;
|
package/css/tabs.css
CHANGED
|
@@ -69,11 +69,13 @@
|
|
|
69
69
|
.iui-tabs .iui-tab[disabled] .iui-tab-icon{
|
|
70
70
|
fill:rgba(0, 0, 0, 0.2);
|
|
71
71
|
fill:var(--iui-icons-color-actionable-disabled); }
|
|
72
|
-
.iui-tabs .iui-tab:focus{
|
|
72
|
+
.iui-tabs .iui-tab:focus-visible{
|
|
73
73
|
outline:1px solid var(--iui-color-foreground-primary);
|
|
74
74
|
outline-offset:-1px; }
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
@supports not selector(*:focus-visible){
|
|
76
|
+
.iui-tabs .iui-tab:focus{
|
|
77
|
+
outline:1px solid var(--iui-color-foreground-primary);
|
|
78
|
+
outline-offset:-1px; } }
|
|
77
79
|
.iui-tabs .iui-tab-icon{
|
|
78
80
|
width:16px;
|
|
79
81
|
height:16px;
|
|
@@ -134,6 +136,9 @@
|
|
|
134
136
|
.iui-tabs.iui-default .iui-tab[disabled]{
|
|
135
137
|
background-color:#EEF0F3;
|
|
136
138
|
background-color:var(--iui-color-background-3); }
|
|
139
|
+
.iui-tabs.iui-default .iui-tab:focus{
|
|
140
|
+
outline-width:2px;
|
|
141
|
+
outline-offset:-2px; }
|
|
137
142
|
.iui-horizontal .iui-tabs.iui-default .iui-tab.iui-active{
|
|
138
143
|
border-bottom-color:transparent; }
|
|
139
144
|
.iui-horizontal .iui-tabs.iui-default :not(:first-child) .iui-tab{
|
package/css/tag.css
CHANGED
|
@@ -12,16 +12,13 @@
|
|
|
12
12
|
user-select:all;
|
|
13
13
|
text-transform:lowercase;
|
|
14
14
|
display:inline-flex; }
|
|
15
|
-
.iui-tag:focus{
|
|
16
|
-
outline:0;
|
|
17
|
-
box-shadow:rgba(0, 139, 225, 0.2) 0 0 0 2px;
|
|
18
|
-
box-shadow:var(--iui-focus-box-shadow); }
|
|
19
|
-
.iui-tag:focus:not(:focus-visible){
|
|
20
|
-
box-shadow:none; }
|
|
21
15
|
.iui-tag:focus-visible{
|
|
22
|
-
outline:
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
outline:2px solid var(--iui-color-foreground-primary);
|
|
17
|
+
outline-offset:-2px; }
|
|
18
|
+
@supports not selector(*:focus-visible){
|
|
19
|
+
.iui-tag:focus{
|
|
20
|
+
outline:2px solid var(--iui-color-foreground-primary);
|
|
21
|
+
outline-offset:-2px; } }
|
|
25
22
|
.iui-tag:not(a){
|
|
26
23
|
color:rgba(0, 0, 0, 0.4);
|
|
27
24
|
color:var(--iui-text-color-muted); }
|
|
@@ -63,22 +60,22 @@
|
|
|
63
60
|
.iui-tag:not(.iui-basic):hover{
|
|
64
61
|
border-color:black;
|
|
65
62
|
border-color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-1)); }
|
|
63
|
+
.iui-tag.iui-basic{
|
|
64
|
+
outline-offset:1px; }
|
|
66
65
|
|
|
67
66
|
a.iui-tag{
|
|
67
|
+
border-radius:3px;
|
|
68
68
|
text-decoration:none;
|
|
69
69
|
cursor:pointer;
|
|
70
70
|
color:#008BE1;
|
|
71
71
|
color:var(--iui-color-foreground-primary); }
|
|
72
|
-
a.iui-tag:focus{
|
|
73
|
-
outline:0;
|
|
74
|
-
box-shadow:rgba(0, 139, 225, 0.2) 0 0 0 2px;
|
|
75
|
-
box-shadow:var(--iui-focus-box-shadow); }
|
|
76
|
-
a.iui-tag:focus:not(:focus-visible){
|
|
77
|
-
box-shadow:none; }
|
|
78
72
|
a.iui-tag:focus-visible{
|
|
79
|
-
outline:
|
|
80
|
-
|
|
81
|
-
|
|
73
|
+
outline:1px solid var(--iui-color-foreground-primary);
|
|
74
|
+
outline-offset:2px; }
|
|
75
|
+
@supports not selector(*:focus-visible){
|
|
76
|
+
a.iui-tag:focus{
|
|
77
|
+
outline:1px solid var(--iui-color-foreground-primary);
|
|
78
|
+
outline-offset:2px; } }
|
|
82
79
|
a.iui-tag:hover{
|
|
83
80
|
color:#006bae;
|
|
84
81
|
color:var(--iui-color-foreground-primary-overlay);
|
|
@@ -87,6 +84,8 @@ a.iui-tag{
|
|
|
87
84
|
.iui-tag-container{
|
|
88
85
|
color:rgba(0, 0, 0, 0.4);
|
|
89
86
|
color:var(--iui-text-color-muted); }
|
|
87
|
+
.iui-tag-container > a.iui-basic{
|
|
88
|
+
margin:2px; }
|
|
90
89
|
.iui-tag-container > .iui-tag:not(:last-child){
|
|
91
90
|
margin-right:4px; }
|
|
92
91
|
.iui-tag-container > .iui-basic:not(:last-child)::after{
|