@itwin/itwinui-css 0.35.0 → 0.36.1

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 CHANGED
@@ -661,6 +661,7 @@ html.iui-theme-dark{
661
661
  padding:0;
662
662
  border:none;
663
663
  vertical-align:baseline;
664
+ font-family:inherit;
664
665
  display:inline-flex;
665
666
  align-items:center;
666
667
  vertical-align:middle;
@@ -1097,8 +1098,6 @@ html.iui-theme-dark{
1097
1098
  box-shadow:0 1px 5px rgba(0, 0, 0, 0.25);
1098
1099
  background-color:#FFF;
1099
1100
  background-color:var(--iui-color-background-1);
1100
- max-width:336px;
1101
- max-height:334px;
1102
1101
  box-sizing:border-box;
1103
1102
  border-radius:3px;
1104
1103
  display:inline-flex;
@@ -1107,17 +1106,28 @@ html.iui-theme-dark{
1107
1106
  -moz-user-select:none;
1108
1107
  -ms-user-select:none;
1109
1108
  user-select:none;
1110
- overflow-y:auto; }
1109
+ overflow-y:auto;
1110
+ flex-direction:column;
1111
+ max-width:336px;
1112
+ max-height:495px; }
1111
1113
  @supports (overflow-y: overlay){
1112
1114
  .iui-color-picker{
1113
1115
  overflow-y:overlay; } }
1114
- .iui-color-picker.iui-advanced{
1115
- max-width:261px;
1116
- flex-direction:column; }
1116
+ @supports (row-gap: 11px){
1117
+ .iui-color-picker{
1118
+ row-gap:11px; } }
1119
+ .iui-color-picker > div:not(:last-child){
1120
+ margin-bottom:11px; }
1121
+ @supports (row-gap: 11px){
1122
+ .iui-color-picker > div:not(:last-child){
1123
+ margin-bottom:0; } }
1117
1124
 
1118
1125
  .iui-color-palette{
1119
1126
  display:flex;
1120
- flex-wrap:wrap; }
1127
+ flex-wrap:wrap;
1128
+ align-content:flex-start;
1129
+ min-height:24px;
1130
+ min-width:24px; }
1121
1131
  @supports (gap: 8px){
1122
1132
  .iui-color-palette{
1123
1133
  gap:8px; } }
@@ -1126,6 +1136,27 @@ html.iui-theme-dark{
1126
1136
  width:24px;
1127
1137
  padding:0; }
1128
1138
 
1139
+ .iui-color-input{
1140
+ display:flex;
1141
+ align-items:center; }
1142
+ .iui-color-input .iui-button{
1143
+ margin-right:4px; }
1144
+ .iui-color-input-fields{
1145
+ display:flex;
1146
+ width:100%; }
1147
+ .iui-color-input-fields .iui-input:not(:last-child){
1148
+ margin-right:2px; }
1149
+ .iui-color-input-fields input{
1150
+ text-transform:uppercase; }
1151
+ .iui-color-input-fields input[type=number]{
1152
+ -webkit-appearance:textfield;
1153
+ -moz-appearance:textfield;
1154
+ appearance:textfield;
1155
+ text-align:right; }
1156
+ .iui-color-input-fields input[type=number]::-webkit-inner-spin-button{
1157
+ -webkit-appearance:none;
1158
+ appearance:none; }
1159
+
1129
1160
  .iui-color-swatch{
1130
1161
  height:24px;
1131
1162
  width:24px;
@@ -1160,32 +1191,51 @@ html.iui-theme-dark{
1160
1191
  box-shadow:inset 0 0 0 1px rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-5)), 0 0 0 2px rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-3));
1161
1192
  box-shadow:inset 0 0 0 1px rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-5)), 0 0 0 2px rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-3)); }
1162
1193
 
1163
- .iui-saved-colors{
1164
- margin-top:11px;
1194
+ .iui-color-picker-section-label{
1165
1195
  margin-bottom:5.5px;
1166
1196
  overflow:hidden;
1167
1197
  text-overflow:ellipsis;
1198
+ white-space:nowrap;
1168
1199
  flex-shrink:0; }
1169
1200
 
1170
1201
  .iui-color-selection-wrapper{
1171
- display:flex; }
1202
+ display:flex;
1203
+ flex-direction:column; }
1172
1204
 
1173
1205
  .iui-color-field{
1174
1206
  position:relative;
1175
1207
  cursor:crosshair;
1176
- width:209px;
1177
- height:209px;
1178
- background-image:linear-gradient(0deg, black, transparent), linear-gradient(90deg, white, var(--color));
1179
- background-image:linear-gradient(0deg, black, transparent), linear-gradient(90deg, white, var(--color)); }
1208
+ width:100%;
1209
+ min-width:312px;
1210
+ height:242px;
1211
+ background-image:linear-gradient(0deg, black, transparent), linear-gradient(90deg, white, var(--hue));
1212
+ background-image:linear-gradient(0deg, black, transparent), linear-gradient(90deg, white, var(--hue)); }
1180
1213
 
1181
- .iui-color-slider{
1182
- margin-left:12px;
1183
- margin-right:8px;
1184
- position:relative;
1185
- width:8px;
1186
- border-radius:3px;
1187
- background:linear-gradient(#F00 0%, #FF0 17%, lime 33%, cyan 50%, #03F 67%, #C3F 83%, #F00 100%);
1188
- background:linear-gradient(#F00 0%, #FF0 17%, lime 33%, cyan 50%, #03F 67%, #C3F 83%, #F00 100%); }
1214
+ .iui-hue-slider .iui-slider-rail{
1215
+ height:8px;
1216
+ background:linear-gradient(to right, #F00 0%, #FF0 17%, lime 33%, cyan 50%, #03F 67%, #C3F 83%, #F00 100%);
1217
+ background:linear-gradient(to right, #F00 0%, #FF0 17%, lime 33%, cyan 50%, #03F 67%, #C3F 83%, #F00 100%); }
1218
+
1219
+ .iui-hue-slider .iui-slider-thumb{
1220
+ top:7px; }
1221
+
1222
+ .iui-opacity-slider .iui-slider-rail{
1223
+ height:8px;
1224
+ background-image:repeating-linear-gradient(45deg, #EEF0F3 25%, transparent 25%, transparent 75%, #EEF0F3 75%, #EEF0F3), repeating-linear-gradient(45deg, #EEF0F3 25%, #C7CCD1 25%, #C7CCD1 75%, #EEF0F3 75%, #EEF0F3);
1225
+ background-position:0 0, 4px 4px;
1226
+ background-size:8px 8px;
1227
+ background-image:repeating-linear-gradient(45deg, var(--iui-color-background-3) 25%, transparent 25%, transparent 75%, var(--iui-color-background-3) 75%, var(--iui-color-background-3)), repeating-linear-gradient(45deg, var(--iui-color-background-3) 25%, var(--iui-color-background-5) 25%, var(--iui-color-background-5) 75%, var(--iui-color-background-3) 75%, var(--iui-color-background-3));
1228
+ background-position:0 0, 4px 4px;
1229
+ background-size:8px 8px; }
1230
+ .iui-opacity-slider .iui-slider-rail::before{
1231
+ display:block;
1232
+ content:'';
1233
+ width:100%;
1234
+ height:100%;
1235
+ background-image:linear-gradient(to right, transparent 0%, var(--selected-color) 100%); }
1236
+
1237
+ .iui-opacity-slider .iui-slider-thumb{
1238
+ top:7px; }
1189
1239
 
1190
1240
  .iui-color-dot{
1191
1241
  position:absolute;
@@ -1195,21 +1245,11 @@ html.iui-theme-dark{
1195
1245
  height:16px;
1196
1246
  border-radius:50%;
1197
1247
  transform:translate(-8px, -8px);
1198
- cursor:-webkit-grab;
1199
- cursor:grab;
1248
+ cursor:crosshair;
1200
1249
  box-shadow:white 0 0 0 1px, inset 0 0 0 1px rgba(255, 255, 255, 0.1);
1201
1250
  background-color:var(--selected-color);
1202
1251
  box-shadow:rgba(var(--iui-color-foreground-accessory-rgb), var(--iui-opacity-1)) 0 0 0 1px, inset 0 0 0 1px rgba(var(--iui-color-foreground-accessory-rgb), var(--iui-opacity-6));
1203
1252
  background-color:var(--selected-color); }
1204
- .iui-color-dot:active{
1205
- cursor:-webkit-grabbing;
1206
- cursor:grabbing; }
1207
- .iui-color-dot.iui-white{
1208
- transform:translate(-4px, -9px);
1209
- box-shadow:0 1px 5px rgba(0, 0, 0, 0.25);
1210
- background-color:#FFF;
1211
- box-shadow:0 1px 5px rgba(0, 0, 0, 0.25);
1212
- background-color:#FFF; }
1213
1253
  .iui-color-dot:hover{
1214
1254
  box-shadow:0 0 1px 3px rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-5));
1215
1255
  box-shadow:0 0 1px 3px rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-5)); }
@@ -1423,13 +1463,20 @@ html.iui-theme-dark{
1423
1463
  border-bottom:1px solid var(--iui-color-background-4);
1424
1464
  border-right:1px solid var(--iui-color-background-4);
1425
1465
  border-left:1px solid var(--iui-color-background-4); }
1426
- .iui-expandable-block .iui-expandable-content.iui-enter, .iui-expandable-block .iui-expandable-content.iui-exit-active{
1466
+ .iui-expandable-block .iui-expandable-content.iui-enter{
1427
1467
  opacity:0; }
1428
- .iui-expandable-block .iui-expandable-content.iui-exit, .iui-expandable-block .iui-expandable-content.iui-enter-active{
1468
+ .iui-expandable-block .iui-expandable-content.iui-enter-active{
1429
1469
  opacity:1; }
1430
- @media (prefers-reduced-motion: no-preference){
1431
- .iui-expandable-block .iui-expandable-content.iui-enter-active, .iui-expandable-block .iui-expandable-content.iui-exit-active{
1432
- transition:opacity 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out; } }
1470
+ @media (prefers-reduced-motion: no-preference){
1471
+ .iui-expandable-block .iui-expandable-content.iui-enter-active{
1472
+ transition:opacity 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out; } }
1473
+ .iui-expandable-block .iui-expandable-content.iui-exit{
1474
+ opacity:1; }
1475
+ .iui-expandable-block .iui-expandable-content.iui-exit-active{
1476
+ opacity:0; }
1477
+ @media (prefers-reduced-motion: no-preference){
1478
+ .iui-expandable-block .iui-expandable-content.iui-exit-active{
1479
+ transition:opacity 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out; } }
1433
1480
  .iui-expandable-block .iui-expandable-content > div{
1434
1481
  padding:11px 12px; }
1435
1482
  .iui-expandable-block:hover > .iui-header{
@@ -4313,11 +4360,9 @@ html.iui-theme-dark{
4313
4360
 
4314
4361
  .iui-side-navigation-submenu{
4315
4362
  min-width:192px;
4316
- width:384px;
4317
4363
  max-width:50vw;
4318
4364
  height:100%;
4319
4365
  box-sizing:border-box;
4320
- padding:0 12px 11px;
4321
4366
  overflow-x:hidden;
4322
4367
  overflow-y:auto;
4323
4368
  overflow-y:overlay;
@@ -4326,13 +4371,26 @@ html.iui-theme-dark{
4326
4371
  border-right:1px solid #C7CCD1;
4327
4372
  background-color:var(--iui-color-background-1);
4328
4373
  border-right:1px solid var(--iui-color-background-5); }
4329
- .iui-side-navigation-submenu.iui-enter, .iui-side-navigation-submenu.iui-exit-active{
4374
+ .iui-side-navigation-submenu.iui-enter{
4330
4375
  opacity:0; }
4331
- .iui-side-navigation-submenu.iui-exit, .iui-side-navigation-submenu.iui-enter-active{
4376
+ .iui-side-navigation-submenu.iui-enter-active{
4332
4377
  opacity:1; }
4333
- @media (prefers-reduced-motion: no-preference){
4334
- .iui-side-navigation-submenu.iui-enter-active, .iui-side-navigation-submenu.iui-exit-active{
4335
- transition:opacity 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out; } }
4378
+ @media (prefers-reduced-motion: no-preference){
4379
+ .iui-side-navigation-submenu.iui-enter-active{
4380
+ transition:opacity 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out; } }
4381
+ .iui-side-navigation-submenu.iui-exit{
4382
+ opacity:1; }
4383
+ .iui-side-navigation-submenu.iui-exit-active{
4384
+ opacity:0; }
4385
+ @media (prefers-reduced-motion: no-preference){
4386
+ .iui-side-navigation-submenu.iui-exit-active{
4387
+ transition:opacity 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out; } }
4388
+ .iui-side-navigation-submenu.iui-enter-active, .iui-side-navigation-submenu.iui-exit-active{
4389
+ display:flex; }
4390
+ .iui-side-navigation-submenu-content{
4391
+ padding:0 12px 11px;
4392
+ flex-shrink:0;
4393
+ box-sizing:border-box; }
4336
4394
  .iui-side-navigation-submenu-header{
4337
4395
  height:55px;
4338
4396
  display:flex;
@@ -4355,9 +4413,9 @@ html.iui-theme-dark{
4355
4413
  white-space:nowrap;
4356
4414
  overflow:hidden;
4357
4415
  text-overflow:ellipsis; }
4358
- .iui-side-navigation-submenu-header-label-actions{
4359
- flex-shrink:0;
4360
- margin-left:8px; }
4416
+ .iui-side-navigation-submenu-header-actions{
4417
+ flex-shrink:0;
4418
+ margin-left:8px; }
4361
4419
 
4362
4420
  .iui-side-navigation-wrapper{
4363
4421
  display:flex;
@@ -4365,7 +4423,8 @@ html.iui-theme-dark{
4365
4423
  height:100%; }
4366
4424
 
4367
4425
  .iui-slider-component-container{
4368
- display:flex; }
4426
+ display:flex;
4427
+ min-height:22px; }
4369
4428
  .iui-slider-component-container .iui-slider-min,
4370
4429
  .iui-slider-component-container .iui-slider-max{
4371
4430
  -webkit-user-select:all;
@@ -4617,11 +4676,13 @@ html.iui-theme-dark{
4617
4676
  overflow-x:hidden;
4618
4677
  overflow-y:scroll;
4619
4678
  overflow-y:overlay;
4679
+ display:flex;
4680
+ flex-direction:column;
4681
+ flex-grow:1;
4620
4682
  background-color:#FFF;
4621
4683
  background-color:var(--iui-color-background-1); }
4622
4684
  .iui-table-body .iui-row{
4623
4685
  display:flex;
4624
- flex-grow:1;
4625
4686
  border:solid 1px transparent;
4626
4687
  border-bottom-color:#DCE0E3;
4627
4688
  border-bottom-color:var(--iui-color-background-4); }
@@ -4657,13 +4718,20 @@ html.iui-theme-dark{
4657
4718
  border-right-color:var(--iui-color-background-4); }
4658
4719
  .iui-table-body .iui-row.iui-expanded-content{
4659
4720
  overflow:hidden; }
4660
- .iui-table-body .iui-row.iui-expanded-content.iui-enter, .iui-table-body .iui-row.iui-expanded-content.iui-exit-active{
4721
+ .iui-table-body .iui-row.iui-expanded-content.iui-enter{
4661
4722
  opacity:0; }
4662
- .iui-table-body .iui-row.iui-expanded-content.iui-exit, .iui-table-body .iui-row.iui-expanded-content.iui-enter-active{
4723
+ .iui-table-body .iui-row.iui-expanded-content.iui-enter-active{
4663
4724
  opacity:1; }
4664
- @media (prefers-reduced-motion: no-preference){
4665
- .iui-table-body .iui-row.iui-expanded-content.iui-enter-active, .iui-table-body .iui-row.iui-expanded-content.iui-exit-active{
4666
- transition:opacity 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out; } }
4725
+ @media (prefers-reduced-motion: no-preference){
4726
+ .iui-table-body .iui-row.iui-expanded-content.iui-enter-active{
4727
+ transition:opacity 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out; } }
4728
+ .iui-table-body .iui-row.iui-expanded-content.iui-exit{
4729
+ opacity:1; }
4730
+ .iui-table-body .iui-row.iui-expanded-content.iui-exit-active{
4731
+ opacity:0; }
4732
+ @media (prefers-reduced-motion: no-preference){
4733
+ .iui-table-body .iui-row.iui-expanded-content.iui-exit-active{
4734
+ transition:opacity 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out; } }
4667
4735
  .iui-table-body .iui-row:not(.iui-selected) + .iui-selected, .iui-table-body .iui-row.iui-selected:first-child{
4668
4736
  border-bottom-color:transparent; }
4669
4737
  .iui-table-body .iui-row.iui-selected{
@@ -4759,6 +4827,11 @@ html.iui-theme-dark{
4759
4827
  .iui-table-body > .iui-table-empty{
4760
4828
  text-align:center;
4761
4829
  padding:32px;
4830
+ display:flex;
4831
+ flex-direction:column;
4832
+ justify-content:center;
4833
+ align-items:center;
4834
+ flex-grow:1;
4762
4835
  color:rgba(0, 0, 0, 0.4);
4763
4836
  background-color:#FFF;
4764
4837
  color:var(--iui-text-color-muted);
@@ -4825,7 +4898,6 @@ html.iui-theme-dark{
4825
4898
  border:none;
4826
4899
  vertical-align:baseline;
4827
4900
  display:flex;
4828
- flex:1;
4829
4901
  justify-content:space-around;
4830
4902
  align-items:center;
4831
4903
  min-height:55px;
package/css/button.css CHANGED
@@ -7,6 +7,7 @@
7
7
  padding:0;
8
8
  border:none;
9
9
  vertical-align:baseline;
10
+ font-family:inherit;
10
11
  display:inline-flex;
11
12
  align-items:center;
12
13
  vertical-align:middle;
@@ -10,8 +10,6 @@
10
10
  box-shadow:0 1px 5px rgba(0, 0, 0, 0.25);
11
11
  background-color:#FFF;
12
12
  background-color:var(--iui-color-background-1);
13
- max-width:336px;
14
- max-height:334px;
15
13
  box-sizing:border-box;
16
14
  border-radius:3px;
17
15
  display:inline-flex;
@@ -20,17 +18,28 @@
20
18
  -moz-user-select:none;
21
19
  -ms-user-select:none;
22
20
  user-select:none;
23
- overflow-y:auto; }
21
+ overflow-y:auto;
22
+ flex-direction:column;
23
+ max-width:336px;
24
+ max-height:495px; }
24
25
  @supports (overflow-y: overlay){
25
26
  .iui-color-picker{
26
27
  overflow-y:overlay; } }
27
- .iui-color-picker.iui-advanced{
28
- max-width:261px;
29
- flex-direction:column; }
28
+ @supports (row-gap: 11px){
29
+ .iui-color-picker{
30
+ row-gap:11px; } }
31
+ .iui-color-picker > div:not(:last-child){
32
+ margin-bottom:11px; }
33
+ @supports (row-gap: 11px){
34
+ .iui-color-picker > div:not(:last-child){
35
+ margin-bottom:0; } }
30
36
 
31
37
  .iui-color-palette{
32
38
  display:flex;
33
- flex-wrap:wrap; }
39
+ flex-wrap:wrap;
40
+ align-content:flex-start;
41
+ min-height:24px;
42
+ min-width:24px; }
34
43
  @supports (gap: 8px){
35
44
  .iui-color-palette{
36
45
  gap:8px; } }
@@ -39,6 +48,27 @@
39
48
  width:24px;
40
49
  padding:0; }
41
50
 
51
+ .iui-color-input{
52
+ display:flex;
53
+ align-items:center; }
54
+ .iui-color-input .iui-button{
55
+ margin-right:4px; }
56
+ .iui-color-input-fields{
57
+ display:flex;
58
+ width:100%; }
59
+ .iui-color-input-fields .iui-input:not(:last-child){
60
+ margin-right:2px; }
61
+ .iui-color-input-fields input{
62
+ text-transform:uppercase; }
63
+ .iui-color-input-fields input[type=number]{
64
+ -webkit-appearance:textfield;
65
+ -moz-appearance:textfield;
66
+ appearance:textfield;
67
+ text-align:right; }
68
+ .iui-color-input-fields input[type=number]::-webkit-inner-spin-button{
69
+ -webkit-appearance:none;
70
+ appearance:none; }
71
+
42
72
  .iui-color-swatch{
43
73
  height:24px;
44
74
  width:24px;
@@ -73,32 +103,51 @@
73
103
  box-shadow:inset 0 0 0 1px rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-5)), 0 0 0 2px rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-3));
74
104
  box-shadow:inset 0 0 0 1px rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-5)), 0 0 0 2px rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-3)); }
75
105
 
76
- .iui-saved-colors{
77
- margin-top:11px;
106
+ .iui-color-picker-section-label{
78
107
  margin-bottom:5.5px;
79
108
  overflow:hidden;
80
109
  text-overflow:ellipsis;
110
+ white-space:nowrap;
81
111
  flex-shrink:0; }
82
112
 
83
113
  .iui-color-selection-wrapper{
84
- display:flex; }
114
+ display:flex;
115
+ flex-direction:column; }
85
116
 
86
117
  .iui-color-field{
87
118
  position:relative;
88
119
  cursor:crosshair;
89
- width:209px;
90
- height:209px;
91
- background-image:linear-gradient(0deg, black, transparent), linear-gradient(90deg, white, var(--color));
92
- background-image:linear-gradient(0deg, black, transparent), linear-gradient(90deg, white, var(--color)); }
120
+ width:100%;
121
+ min-width:312px;
122
+ height:242px;
123
+ background-image:linear-gradient(0deg, black, transparent), linear-gradient(90deg, white, var(--hue));
124
+ background-image:linear-gradient(0deg, black, transparent), linear-gradient(90deg, white, var(--hue)); }
93
125
 
94
- .iui-color-slider{
95
- margin-left:12px;
96
- margin-right:8px;
97
- position:relative;
98
- width:8px;
99
- border-radius:3px;
100
- background:linear-gradient(#F00 0%, #FF0 17%, lime 33%, cyan 50%, #03F 67%, #C3F 83%, #F00 100%);
101
- background:linear-gradient(#F00 0%, #FF0 17%, lime 33%, cyan 50%, #03F 67%, #C3F 83%, #F00 100%); }
126
+ .iui-hue-slider .iui-slider-rail{
127
+ height:8px;
128
+ background:linear-gradient(to right, #F00 0%, #FF0 17%, lime 33%, cyan 50%, #03F 67%, #C3F 83%, #F00 100%);
129
+ background:linear-gradient(to right, #F00 0%, #FF0 17%, lime 33%, cyan 50%, #03F 67%, #C3F 83%, #F00 100%); }
130
+
131
+ .iui-hue-slider .iui-slider-thumb{
132
+ top:7px; }
133
+
134
+ .iui-opacity-slider .iui-slider-rail{
135
+ height:8px;
136
+ background-image:repeating-linear-gradient(45deg, #EEF0F3 25%, transparent 25%, transparent 75%, #EEF0F3 75%, #EEF0F3), repeating-linear-gradient(45deg, #EEF0F3 25%, #C7CCD1 25%, #C7CCD1 75%, #EEF0F3 75%, #EEF0F3);
137
+ background-position:0 0, 4px 4px;
138
+ background-size:8px 8px;
139
+ background-image:repeating-linear-gradient(45deg, var(--iui-color-background-3) 25%, transparent 25%, transparent 75%, var(--iui-color-background-3) 75%, var(--iui-color-background-3)), repeating-linear-gradient(45deg, var(--iui-color-background-3) 25%, var(--iui-color-background-5) 25%, var(--iui-color-background-5) 75%, var(--iui-color-background-3) 75%, var(--iui-color-background-3));
140
+ background-position:0 0, 4px 4px;
141
+ background-size:8px 8px; }
142
+ .iui-opacity-slider .iui-slider-rail::before{
143
+ display:block;
144
+ content:'';
145
+ width:100%;
146
+ height:100%;
147
+ background-image:linear-gradient(to right, transparent 0%, var(--selected-color) 100%); }
148
+
149
+ .iui-opacity-slider .iui-slider-thumb{
150
+ top:7px; }
102
151
 
103
152
  .iui-color-dot{
104
153
  position:absolute;
@@ -108,21 +157,11 @@
108
157
  height:16px;
109
158
  border-radius:50%;
110
159
  transform:translate(-8px, -8px);
111
- cursor:-webkit-grab;
112
- cursor:grab;
160
+ cursor:crosshair;
113
161
  box-shadow:white 0 0 0 1px, inset 0 0 0 1px rgba(255, 255, 255, 0.1);
114
162
  background-color:var(--selected-color);
115
163
  box-shadow:rgba(var(--iui-color-foreground-accessory-rgb), var(--iui-opacity-1)) 0 0 0 1px, inset 0 0 0 1px rgba(var(--iui-color-foreground-accessory-rgb), var(--iui-opacity-6));
116
164
  background-color:var(--selected-color); }
117
- .iui-color-dot:active{
118
- cursor:-webkit-grabbing;
119
- cursor:grabbing; }
120
- .iui-color-dot.iui-white{
121
- transform:translate(-4px, -9px);
122
- box-shadow:0 1px 5px rgba(0, 0, 0, 0.25);
123
- background-color:#FFF;
124
- box-shadow:0 1px 5px rgba(0, 0, 0, 0.25);
125
- background-color:#FFF; }
126
165
  .iui-color-dot:hover{
127
166
  box-shadow:0 0 1px 3px rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-5));
128
167
  box-shadow:0 0 1px 3px rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-5)); }
@@ -101,13 +101,20 @@
101
101
  border-bottom:1px solid var(--iui-color-background-4);
102
102
  border-right:1px solid var(--iui-color-background-4);
103
103
  border-left:1px solid var(--iui-color-background-4); }
104
- .iui-expandable-block .iui-expandable-content.iui-enter, .iui-expandable-block .iui-expandable-content.iui-exit-active{
104
+ .iui-expandable-block .iui-expandable-content.iui-enter{
105
105
  opacity:0; }
106
- .iui-expandable-block .iui-expandable-content.iui-exit, .iui-expandable-block .iui-expandable-content.iui-enter-active{
106
+ .iui-expandable-block .iui-expandable-content.iui-enter-active{
107
107
  opacity:1; }
108
- @media (prefers-reduced-motion: no-preference){
109
- .iui-expandable-block .iui-expandable-content.iui-enter-active, .iui-expandable-block .iui-expandable-content.iui-exit-active{
110
- transition:opacity 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out; } }
108
+ @media (prefers-reduced-motion: no-preference){
109
+ .iui-expandable-block .iui-expandable-content.iui-enter-active{
110
+ transition:opacity 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out; } }
111
+ .iui-expandable-block .iui-expandable-content.iui-exit{
112
+ opacity:1; }
113
+ .iui-expandable-block .iui-expandable-content.iui-exit-active{
114
+ opacity:0; }
115
+ @media (prefers-reduced-motion: no-preference){
116
+ .iui-expandable-block .iui-expandable-content.iui-exit-active{
117
+ transition:opacity 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out; } }
111
118
  .iui-expandable-block .iui-expandable-content > div{
112
119
  padding:11px 12px; }
113
120
  .iui-expandable-block:hover > .iui-header{
@@ -120,11 +120,9 @@
120
120
 
121
121
  .iui-side-navigation-submenu{
122
122
  min-width:192px;
123
- width:384px;
124
123
  max-width:50vw;
125
124
  height:100%;
126
125
  box-sizing:border-box;
127
- padding:0 12px 11px;
128
126
  overflow-x:hidden;
129
127
  overflow-y:auto;
130
128
  overflow-y:overlay;
@@ -133,13 +131,26 @@
133
131
  border-right:1px solid #C7CCD1;
134
132
  background-color:var(--iui-color-background-1);
135
133
  border-right:1px solid var(--iui-color-background-5); }
136
- .iui-side-navigation-submenu.iui-enter, .iui-side-navigation-submenu.iui-exit-active{
134
+ .iui-side-navigation-submenu.iui-enter{
137
135
  opacity:0; }
138
- .iui-side-navigation-submenu.iui-exit, .iui-side-navigation-submenu.iui-enter-active{
136
+ .iui-side-navigation-submenu.iui-enter-active{
139
137
  opacity:1; }
140
- @media (prefers-reduced-motion: no-preference){
141
- .iui-side-navigation-submenu.iui-enter-active, .iui-side-navigation-submenu.iui-exit-active{
142
- transition:opacity 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out; } }
138
+ @media (prefers-reduced-motion: no-preference){
139
+ .iui-side-navigation-submenu.iui-enter-active{
140
+ transition:opacity 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out; } }
141
+ .iui-side-navigation-submenu.iui-exit{
142
+ opacity:1; }
143
+ .iui-side-navigation-submenu.iui-exit-active{
144
+ opacity:0; }
145
+ @media (prefers-reduced-motion: no-preference){
146
+ .iui-side-navigation-submenu.iui-exit-active{
147
+ transition:opacity 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out; } }
148
+ .iui-side-navigation-submenu.iui-enter-active, .iui-side-navigation-submenu.iui-exit-active{
149
+ display:flex; }
150
+ .iui-side-navigation-submenu-content{
151
+ padding:0 12px 11px;
152
+ flex-shrink:0;
153
+ box-sizing:border-box; }
143
154
  .iui-side-navigation-submenu-header{
144
155
  height:55px;
145
156
  display:flex;
@@ -162,9 +173,9 @@
162
173
  white-space:nowrap;
163
174
  overflow:hidden;
164
175
  text-overflow:ellipsis; }
165
- .iui-side-navigation-submenu-header-label-actions{
166
- flex-shrink:0;
167
- margin-left:8px; }
176
+ .iui-side-navigation-submenu-header-actions{
177
+ flex-shrink:0;
178
+ margin-left:8px; }
168
179
 
169
180
  .iui-side-navigation-wrapper{
170
181
  display:flex;
package/css/slider.css CHANGED
@@ -3,7 +3,8 @@
3
3
  * See LICENSE.md in the project root for license terms and full copyright notice.
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
  .iui-slider-component-container{
6
- display:flex; }
6
+ display:flex;
7
+ min-height:22px; }
7
8
  .iui-slider-component-container .iui-slider-min,
8
9
  .iui-slider-component-container .iui-slider-max{
9
10
  -webkit-user-select:all;
package/css/table.css CHANGED
@@ -119,11 +119,13 @@
119
119
  overflow-x:hidden;
120
120
  overflow-y:scroll;
121
121
  overflow-y:overlay;
122
+ display:flex;
123
+ flex-direction:column;
124
+ flex-grow:1;
122
125
  background-color:#FFF;
123
126
  background-color:var(--iui-color-background-1); }
124
127
  .iui-table-body .iui-row{
125
128
  display:flex;
126
- flex-grow:1;
127
129
  border:solid 1px transparent;
128
130
  border-bottom-color:#DCE0E3;
129
131
  border-bottom-color:var(--iui-color-background-4); }
@@ -159,13 +161,20 @@
159
161
  border-right-color:var(--iui-color-background-4); }
160
162
  .iui-table-body .iui-row.iui-expanded-content{
161
163
  overflow:hidden; }
162
- .iui-table-body .iui-row.iui-expanded-content.iui-enter, .iui-table-body .iui-row.iui-expanded-content.iui-exit-active{
164
+ .iui-table-body .iui-row.iui-expanded-content.iui-enter{
163
165
  opacity:0; }
164
- .iui-table-body .iui-row.iui-expanded-content.iui-exit, .iui-table-body .iui-row.iui-expanded-content.iui-enter-active{
166
+ .iui-table-body .iui-row.iui-expanded-content.iui-enter-active{
165
167
  opacity:1; }
166
- @media (prefers-reduced-motion: no-preference){
167
- .iui-table-body .iui-row.iui-expanded-content.iui-enter-active, .iui-table-body .iui-row.iui-expanded-content.iui-exit-active{
168
- transition:opacity 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out; } }
168
+ @media (prefers-reduced-motion: no-preference){
169
+ .iui-table-body .iui-row.iui-expanded-content.iui-enter-active{
170
+ transition:opacity 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out; } }
171
+ .iui-table-body .iui-row.iui-expanded-content.iui-exit{
172
+ opacity:1; }
173
+ .iui-table-body .iui-row.iui-expanded-content.iui-exit-active{
174
+ opacity:0; }
175
+ @media (prefers-reduced-motion: no-preference){
176
+ .iui-table-body .iui-row.iui-expanded-content.iui-exit-active{
177
+ transition:opacity 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out; } }
169
178
  .iui-table-body .iui-row:not(.iui-selected) + .iui-selected, .iui-table-body .iui-row.iui-selected:first-child{
170
179
  border-bottom-color:transparent; }
171
180
  .iui-table-body .iui-row.iui-selected{
@@ -261,6 +270,11 @@
261
270
  .iui-table-body > .iui-table-empty{
262
271
  text-align:center;
263
272
  padding:32px;
273
+ display:flex;
274
+ flex-direction:column;
275
+ justify-content:center;
276
+ align-items:center;
277
+ flex-grow:1;
264
278
  color:rgba(0, 0, 0, 0.4);
265
279
  background-color:#FFF;
266
280
  color:var(--iui-text-color-muted);
@@ -327,7 +341,6 @@
327
341
  border:none;
328
342
  vertical-align:baseline;
329
343
  display:flex;
330
- flex:1;
331
344
  justify-content:space-around;
332
345
  align-items:center;
333
346
  min-height:55px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/itwinui-css",
3
- "version": "0.35.0",
3
+ "version": "0.36.1",
4
4
  "author": "Bentley Systems",
5
5
  "license": "MIT",
6
6
  "main": "src/index.scss",
@@ -9,6 +9,7 @@ $iui-button-padding-large: $iui-xs * 6;
9
9
 
10
10
  @mixin iui-button {
11
11
  @include iui-reset;
12
+ font-family: inherit;
12
13
  display: inline-flex;
13
14
  align-items: center;
14
15
  vertical-align: middle;
@@ -10,12 +10,16 @@
10
10
  @include iui-color-palette;
11
11
  }
12
12
 
13
+ .iui-color-input {
14
+ @include iui-color-input;
15
+ }
16
+
13
17
  .iui-color-swatch {
14
18
  @include iui-color-swatch;
15
19
  }
16
20
 
17
- .iui-saved-colors {
18
- @include iui-saved-colors;
21
+ .iui-color-picker-section-label {
22
+ @include iui-color-picker-section-label;
19
23
  }
20
24
 
21
25
  .iui-color-selection-wrapper {
@@ -26,8 +30,12 @@
26
30
  @include iui-color-field;
27
31
  }
28
32
 
29
- .iui-color-slider {
30
- @include iui-color-slider;
33
+ .iui-hue-slider {
34
+ @include iui-hue-slider;
35
+ }
36
+
37
+ .iui-opacity-slider {
38
+ @include iui-opacity-slider;
31
39
  }
32
40
 
33
41
  .iui-color-dot {
@@ -4,7 +4,7 @@
4
4
  @import '../menu/index';
5
5
  @import '../button/borderless';
6
6
 
7
- $iui-color-field-size: $iui-baseline * 19;
7
+ $iui-color-picker-content-width: ($iui-l * 10) + ($iui-s * 9); // (10 swatches per row) + (gaps)
8
8
  $iui-color-swatch-border-radius: 5px;
9
9
  $iui-inset-box-shadow: inset 0 0 0 1px rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-5));
10
10
  $iui-active-box-shadow: 0 0 0 $iui-xxs rgba(t(iui-color-foreground-primary-rgb), t(iui-opacity-3));
@@ -13,24 +13,27 @@ $iui-focus-box-shadow: 0 0 1px $iui-xxs + 1 rgba(t(iui-color-foreground-primary-
13
13
 
14
14
  @mixin iui-color-picker {
15
15
  @include iui-dropdown;
16
- max-width: ($iui-l * 10) + ($iui-s * 9) + ($iui-sm * 2);
17
- // max-width: (10 swatches per row) + (gaps) + (container padding)
18
- max-height: ($iui-l * 10) + ($iui-s * 9) + ($iui-baseline * 2);
19
- // max-height: (10 rows) + (gaps) + (container padding)
20
16
  box-sizing: border-box;
21
17
  border-radius: $iui-border-radius;
22
18
  display: inline-flex;
23
19
  padding: $iui-baseline $iui-sm;
24
20
  user-select: none;
25
21
  overflow-y: auto;
22
+ flex-direction: column;
23
+ max-width: $iui-color-picker-content-width + ($iui-sm * 2);
24
+ max-height: $iui-baseline * 45;
26
25
  @supports (overflow-y: overlay) {
27
26
  overflow-y: overlay;
28
27
  }
28
+ @supports (row-gap: $iui-baseline) {
29
+ row-gap: $iui-baseline;
30
+ }
29
31
 
30
- &.iui-advanced {
31
- max-width: ($iui-color-field-size) + ($iui-sm) + ($iui-s) + ($iui-s) + ($iui-sm * 2);
32
- // max-width: (color field width) + (color slider margins) + (color slider width) + (container padding);
33
- flex-direction: column;
32
+ > div:not(:last-child) {
33
+ margin-bottom: $iui-baseline;
34
+ @supports (row-gap: $iui-baseline) {
35
+ margin-bottom: 0;
36
+ }
34
37
  }
35
38
  }
36
39
 
@@ -94,6 +97,9 @@ $iui-focus-box-shadow: 0 0 1px $iui-xxs + 1 rgba(t(iui-color-foreground-primary-
94
97
  //Contains the color swatches
95
98
  display: flex;
96
99
  flex-wrap: wrap;
100
+ align-content: flex-start;
101
+ min-height: $iui-l;
102
+ min-width: $iui-l;
97
103
  @supports (gap: $iui-s) {
98
104
  gap: $iui-s;
99
105
  }
@@ -105,39 +111,67 @@ $iui-focus-box-shadow: 0 0 1px $iui-xxs + 1 rgba(t(iui-color-foreground-primary-
105
111
  }
106
112
  }
107
113
 
108
- @mixin iui-saved-colors {
109
- margin-top: $iui-baseline;
114
+ @mixin iui-color-input {
115
+ display: flex;
116
+ align-items: center;
117
+
118
+ .iui-button {
119
+ margin-right: $iui-xs;
120
+ }
121
+
122
+ &-fields {
123
+ display: flex;
124
+ width: 100%;
125
+
126
+ .iui-input:not(:last-child) {
127
+ margin-right: $iui-xxs;
128
+ }
129
+
130
+ input {
131
+ text-transform: uppercase;
132
+ }
133
+
134
+ input[type=number] {
135
+ appearance: textfield;
136
+ text-align: right;
137
+
138
+ &::-webkit-inner-spin-button {
139
+ appearance: none;
140
+ }
141
+ }
142
+ }
143
+ }
144
+
145
+ @mixin iui-color-picker-section-label {
110
146
  margin-bottom: $iui-baseline * 0.5;
111
147
  overflow: hidden;
112
148
  text-overflow: ellipsis;
149
+ white-space: nowrap;
113
150
  flex-shrink: 0;
114
151
  }
115
152
 
116
153
  @mixin iui-color-selection-wrapper {
117
154
  display: flex;
155
+ flex-direction: column;
118
156
  }
119
157
 
120
158
  @mixin iui-color-field {
121
159
  position: relative;
122
160
  cursor: crosshair;
123
- width: $iui-color-field-size;
124
- height: $iui-color-field-size;
125
-
161
+ width: 100%;
162
+ min-width: $iui-color-picker-content-width;
163
+ height: $iui-baseline * 22;
126
164
  @include themed {
127
165
  background-image: linear-gradient(0deg, rgb(0, 0, 0), transparent),
128
- linear-gradient(90deg, rgb(255, 255, 255), var(--color));
166
+ linear-gradient(90deg, rgb(255, 255, 255), var(--hue));
129
167
  }
130
168
  }
131
169
 
132
- @mixin iui-color-slider {
133
- margin-left: $iui-sm;
134
- margin-right: $iui-s;
135
- position: relative;
136
- width: $iui-s;
137
- border-radius: $iui-border-radius;
138
-
139
- @include themed {
140
- background: linear-gradient(
170
+ @mixin iui-hue-slider {
171
+ .iui-slider-rail {
172
+ height: $iui-s;
173
+ @include themed {
174
+ background: linear-gradient(to right,
141
175
  $iui-color-system-red 0%,
142
176
  $iui-color-system-yellow 17%,
143
177
  rgb(0, 255, 0) 33%,
@@ -146,6 +180,39 @@ $iui-focus-box-shadow: 0 0 1px $iui-xxs + 1 rgba(t(iui-color-foreground-primary-
146
180
  $iui-color-system-magenta 83%,
147
181
  $iui-color-system-red 100%
148
182
  );
183
+ }
184
+ }
185
+
186
+ .iui-slider-thumb {
187
+ top: 7px;
188
+ }
189
+ }
190
+
191
+ @mixin iui-opacity-slider {
192
+ .iui-slider-rail {
193
+ height: $iui-s;
194
+ @include themed {
195
+ // Checkered transparency background pattern.
196
+ background-image: repeating-linear-gradient(45deg, t(iui-color-background-3) 25%, transparent 25%, transparent 75%, t(iui-color-background-3) 75%, t(iui-color-background-3)), repeating-linear-gradient(45deg, t(iui-color-background-3) 25%, t(iui-color-background-5) 25%, t(iui-color-background-5) 75%, t(iui-color-background-3) 75%, t(iui-color-background-3));
197
+ background-position: 0 0, ($iui-s * 0.5) ($iui-s * 0.5);
198
+ background-size: $iui-s $iui-s;
199
+ }
200
+
201
+ &::before {
202
+ display: block;
203
+ content: '';
204
+ width: 100%;
205
+ height: 100%;
206
+ background-image:
207
+ linear-gradient(to right,
208
+ transparent 0%,
209
+ var(--selected-color) 100%
210
+ );
211
+ }
212
+ }
213
+
214
+ .iui-slider-thumb {
215
+ top: 7px;
149
216
  }
150
217
  }
151
218
 
@@ -157,25 +224,13 @@ $iui-focus-box-shadow: 0 0 1px $iui-xxs + 1 rgba(t(iui-color-foreground-primary-
157
224
  height: $iui-m;
158
225
  border-radius: 50%;
159
226
  transform: translate(-$iui-s, -$iui-s);
160
- cursor: grab;
227
+ cursor: crosshair;
161
228
  @include themed {
162
229
  box-shadow: rgba(t(iui-color-foreground-accessory-rgb), t(iui-opacity-1)) 0 0 0 $iui-xxs - 1,
163
230
  inset 0 0 0 $iui-xxs - 1 rgba(t(iui-color-foreground-accessory-rgb), t(iui-opacity-6));
164
231
  background-color: var(--selected-color);
165
232
  }
166
233
 
167
- &:active {
168
- cursor: grabbing;
169
- }
170
-
171
- &.iui-white {
172
- transform: translate(-4px, -9px);
173
- @include themed {
174
- box-shadow: $iui-elevation-2;
175
- background-color: #FFF;
176
- }
177
- }
178
-
179
234
  &:hover {
180
235
  @include themed {
181
236
  box-shadow: $iui-hover-box-shadow;
@@ -174,11 +174,9 @@
174
174
 
175
175
  @mixin iui-side-navigation-submenu {
176
176
  min-width: $iui-3xl * 2;
177
- width: $iui-3xl * 4;
178
177
  max-width: 50vw;
179
178
  height: 100%;
180
179
  box-sizing: border-box;
181
- padding: 0 $iui-sm $iui-baseline;
182
180
  overflow-x: hidden;
183
181
  overflow-y: auto;
184
182
  overflow-y: overlay;
@@ -190,6 +188,17 @@
190
188
 
191
189
  @include iui-transition-group;
192
190
 
191
+ &.iui-enter-active,
192
+ &.iui-exit-active {
193
+ display: flex;
194
+ }
195
+
196
+ &-content {
197
+ padding: 0 $iui-sm $iui-baseline;
198
+ flex-shrink: 0;
199
+ box-sizing: border-box;
200
+ }
201
+
193
202
  &-header {
194
203
  height: $iui-baseline * 5;
195
204
  display: flex;
@@ -211,11 +220,11 @@
211
220
  overflow: hidden;
212
221
  text-overflow: ellipsis;
213
222
  }
223
+ }
214
224
 
215
- &-actions {
216
- flex-shrink: 0;
217
- margin-left: $iui-s;
218
- }
225
+ &-actions {
226
+ flex-shrink: 0;
227
+ margin-left: $iui-s;
219
228
  }
220
229
  }
221
230
  }
@@ -9,6 +9,7 @@ $tick-height: $iui-baseline; // 11px
9
9
 
10
10
  @mixin iui-slider-component-container {
11
11
  display: flex;
12
+ min-height: $iui-baseline * 2;
12
13
 
13
14
  .iui-slider-min,
14
15
  .iui-slider-max {
@@ -140,22 +140,29 @@
140
140
  }
141
141
 
142
142
  /// Classes for react-transition-group
143
- /// Used for expand/collapse transitions. Needs height to be set in JS.
143
+ /// Used for expand/collapse transitions. Needs height/width to be set in JS.
144
144
  @mixin iui-transition-group {
145
- &.iui-enter,
146
- &.iui-exit-active {
145
+ $transition-rule: opacity $iui-speed-fast ease-out, width $iui-speed-fast ease-out, height $iui-speed-fast ease-out;
146
+
147
+ &.iui-enter {
147
148
  opacity: 0;
148
149
  }
149
150
 
150
- &.iui-exit,
151
151
  &.iui-enter-active {
152
152
  opacity: 1;
153
+ @media (prefers-reduced-motion: no-preference) {
154
+ transition: $transition-rule;
155
+ }
156
+ }
157
+
158
+ &.iui-exit {
159
+ opacity: 1;
153
160
  }
154
161
 
155
- &.iui-enter-active,
156
162
  &.iui-exit-active {
163
+ opacity: 0;
157
164
  @media (prefers-reduced-motion: no-preference) {
158
- transition: opacity $iui-speed-fast ease-out, width $iui-speed-fast ease-out, height $iui-speed-fast ease-out;
165
+ transition: $transition-rule;
159
166
  }
160
167
  }
161
168
  }
@@ -8,7 +8,6 @@
8
8
  @mixin iui-paginator {
9
9
  @include iui-reset;
10
10
  display: flex;
11
- flex: 1;
12
11
  justify-content: space-around;
13
12
  align-items: center;
14
13
  min-height: $iui-baseline * 5;
@@ -126,6 +126,9 @@
126
126
  overflow-x: hidden;
127
127
  overflow-y: scroll;
128
128
  overflow-y: overlay;
129
+ display: flex;
130
+ flex-direction: column;
131
+ flex-grow: 1;
129
132
 
130
133
  @include themed {
131
134
  background-color: t(iui-color-background-1);
@@ -133,7 +136,6 @@
133
136
 
134
137
  .iui-row {
135
138
  display: flex;
136
- flex-grow: 1;
137
139
  border: solid 1px transparent;
138
140
  @media (prefers-reduced-motion: no-preference) {
139
141
  transition: border $iui-speed-fast ease-out;
@@ -292,6 +294,11 @@
292
294
  > .iui-table-empty {
293
295
  text-align: center;
294
296
  padding: $iui-xl;
297
+ display: flex;
298
+ flex-direction: column;
299
+ justify-content: center;
300
+ align-items: center;
301
+ flex-grow: 1;
295
302
  @include themed {
296
303
  color: t(iui-text-color-muted);
297
304
  background-color: t(iui-color-background-1);