@itwin/itwinui-css 0.53.0 → 0.53.3
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 +35 -23
- package/css/button.css +3 -2
- package/css/color-picker.css +4 -0
- package/css/date-picker.css +2 -2
- package/css/header.css +1 -0
- package/css/modal.css +13 -13
- package/css/skip-to-content.css +4 -2
- package/css/tree.css +2 -2
- package/css/user-icon.css +6 -2
- package/package.json +1 -1
- package/scss/button/button-group.scss +5 -3
- package/scss/button/classes.scss +4 -0
- package/scss/color-picker/color-picker.scss +4 -0
- package/scss/date-picker/date-picker.scss +1 -1
- package/scss/modal/classes.scss +4 -0
- package/scss/modal/modal.scss +22 -19
- package/scss/skip-to-content/skip-to-content.scss +6 -3
- package/scss/tree/tree.scss +2 -2
- package/scss/user-icon/sizes.scss +8 -0
- package/scss/user-icon/user-icon.scss +2 -2
package/css/all.css
CHANGED
|
@@ -1399,7 +1399,6 @@ html.iui-theme-dark-hc{
|
|
|
1399
1399
|
display:inline-flex;
|
|
1400
1400
|
align-items:center;
|
|
1401
1401
|
isolation:isolate;
|
|
1402
|
-
max-width:100%;
|
|
1403
1402
|
}
|
|
1404
1403
|
.iui-button-group > *{
|
|
1405
1404
|
display:flex;
|
|
@@ -1482,12 +1481,14 @@ html.iui-theme-dark-hc{
|
|
|
1482
1481
|
.iui-button-group-vertical > *:not(:first-child) :where(.iui-button.iui-default):disabled, .iui-button-group-vertical > *:not(:first-child) :where(.iui-button.iui-default).iui-disabled, .iui-button-group-vertical > *:not(:first-child) :where(.iui-button.iui-default)[aria-disabled=true]{
|
|
1483
1482
|
border-top-color:var(--iui-color-background-4);
|
|
1484
1483
|
}
|
|
1484
|
+
.iui-button-group-overflow-x{
|
|
1485
|
+
width:100%;
|
|
1486
|
+
}
|
|
1485
1487
|
|
|
1486
1488
|
.iui-button-split-menu{
|
|
1487
1489
|
display:inline-flex;
|
|
1488
1490
|
align-items:center;
|
|
1489
1491
|
isolation:isolate;
|
|
1490
|
-
max-width:100%;
|
|
1491
1492
|
}
|
|
1492
1493
|
.iui-button-split-menu > *{
|
|
1493
1494
|
display:flex;
|
|
@@ -1914,6 +1915,7 @@ html.iui-theme-dark-hc{
|
|
|
1914
1915
|
margin-right:4px;
|
|
1915
1916
|
position:relative;
|
|
1916
1917
|
background-color:var(--iui-color-swatch-background);
|
|
1918
|
+
forced-color-adjust:none;
|
|
1917
1919
|
background-position:0 0, 8px 8px;
|
|
1918
1920
|
background-size:16px 16px;
|
|
1919
1921
|
background-image:repeating-linear-gradient(45deg, #edeff2 25%, transparent 25%, transparent 75%, #edeff2 75%, #edeff2), repeating-linear-gradient(45deg, #edeff2 25%, #c7ccd1 25%, #c7ccd1 75%, #edeff2 75%, #edeff2);
|
|
@@ -1976,6 +1978,7 @@ html.iui-theme-dark-hc{
|
|
|
1976
1978
|
cursor:crosshair;
|
|
1977
1979
|
width:100%;
|
|
1978
1980
|
height:209px;
|
|
1981
|
+
forced-color-adjust:none;
|
|
1979
1982
|
background-image:linear-gradient(0deg, black, transparent), linear-gradient(90deg, white, var(--iui-color-field-hue));
|
|
1980
1983
|
}
|
|
1981
1984
|
.iui-color-field:not(:last-child){
|
|
@@ -1984,6 +1987,7 @@ html.iui-theme-dark-hc{
|
|
|
1984
1987
|
|
|
1985
1988
|
.iui-hue-slider .iui-slider-rail{
|
|
1986
1989
|
height:8px;
|
|
1990
|
+
forced-color-adjust:none;
|
|
1987
1991
|
background:linear-gradient(to right, #F00 0%, #FF0 17%, lime 33%, aqua 50%, #03F 67%, #C3F 83%, #F00 100%);
|
|
1988
1992
|
background:linear-gradient(to right, #F00 0%, #FF0 17%, lime 33%, aqua 50%, #03F 67%, #C3F 83%, #F00 100%);
|
|
1989
1993
|
}
|
|
@@ -1993,6 +1997,7 @@ html.iui-theme-dark-hc{
|
|
|
1993
1997
|
|
|
1994
1998
|
.iui-opacity-slider .iui-slider-rail{
|
|
1995
1999
|
height:8px;
|
|
2000
|
+
forced-color-adjust:none;
|
|
1996
2001
|
background-position:0 0, 4px 4px;
|
|
1997
2002
|
background-size:8px 8px;
|
|
1998
2003
|
background-image:repeating-linear-gradient(45deg, #edeff2 25%, transparent 25%, transparent 75%, #edeff2 75%, #edeff2), repeating-linear-gradient(45deg, #edeff2 25%, #c7ccd1 25%, #c7ccd1 75%, #edeff2 75%, #edeff2);
|
|
@@ -2048,8 +2053,8 @@ html.iui-theme-dark-hc{
|
|
|
2048
2053
|
-moz-user-select:none;
|
|
2049
2054
|
-ms-user-select:none;
|
|
2050
2055
|
user-select:none;
|
|
2051
|
-
display:-ms-grid;
|
|
2052
|
-
display:grid;
|
|
2056
|
+
display:-ms-inline-grid;
|
|
2057
|
+
display:inline-grid;
|
|
2053
2058
|
-ms-grid-columns:1fr auto;
|
|
2054
2059
|
grid-template-columns:1fr auto;
|
|
2055
2060
|
}
|
|
@@ -3388,6 +3393,7 @@ html.iui-theme-dark-hc{
|
|
|
3388
3393
|
.iui-page-header.iui-slim > .iui-right .iui-user-icon{
|
|
3389
3394
|
width:24px;
|
|
3390
3395
|
height:24px;
|
|
3396
|
+
--_iui-user-icon-status-size:12px;
|
|
3391
3397
|
}
|
|
3392
3398
|
.iui-page-header.iui-slim > .iui-right .iui-user-icon > .iui-initials{
|
|
3393
3399
|
line-height:24px;
|
|
@@ -5424,14 +5430,6 @@ label.iui-input-label.iui-disabled{
|
|
|
5424
5430
|
opacity:1;
|
|
5425
5431
|
transition-delay:0s;
|
|
5426
5432
|
}
|
|
5427
|
-
.iui-modal.iui-modal-animation-enter{
|
|
5428
|
-
visibility:hidden;
|
|
5429
|
-
opacity:0;
|
|
5430
|
-
}
|
|
5431
|
-
.iui-modal.iui-modal-animation-enter-active{
|
|
5432
|
-
visibility:visible;
|
|
5433
|
-
opacity:1;
|
|
5434
|
-
}
|
|
5435
5433
|
.iui-modal > .iui-modal-dialog{
|
|
5436
5434
|
position:absolute;
|
|
5437
5435
|
left:50%;
|
|
@@ -5499,7 +5497,7 @@ label.iui-input-label.iui-disabled{
|
|
|
5499
5497
|
}
|
|
5500
5498
|
@media (prefers-reduced-motion: no-preference){
|
|
5501
5499
|
.iui-modal-full-page{
|
|
5502
|
-
transition:visibility 0s linear 0.
|
|
5500
|
+
transition:visibility 0s linear 0.8s, opacity 0.4s ease-out 0.2s;
|
|
5503
5501
|
}
|
|
5504
5502
|
}
|
|
5505
5503
|
.iui-modal-full-page > .iui-modal-dialog{
|
|
@@ -5507,7 +5505,7 @@ label.iui-input-label.iui-disabled{
|
|
|
5507
5505
|
}
|
|
5508
5506
|
@media (prefers-reduced-motion: no-preference){
|
|
5509
5507
|
.iui-modal-full-page > .iui-modal-dialog{
|
|
5510
|
-
transition:visibility 0s linear 0.4s, opacity 0s linear 0.4s, transform 0.
|
|
5508
|
+
transition:visibility 0s linear 0.4s, opacity 0s linear 0.4s, transform 0.25s ease-in;
|
|
5511
5509
|
}
|
|
5512
5510
|
}
|
|
5513
5511
|
.iui-modal-full-page.iui-modal-visible > .iui-modal-dialog{
|
|
@@ -5515,17 +5513,25 @@ label.iui-input-label.iui-disabled{
|
|
|
5515
5513
|
}
|
|
5516
5514
|
@media (prefers-reduced-motion: no-preference){
|
|
5517
5515
|
.iui-modal-full-page.iui-modal-visible > .iui-modal-dialog{
|
|
5518
|
-
transition:transform 0.
|
|
5516
|
+
transition:transform 0.3s ease-out;
|
|
5519
5517
|
}
|
|
5520
5518
|
}
|
|
5521
|
-
.iui-modal-
|
|
5519
|
+
.iui-modal-animation-enter .iui-modal-full-page .iui-modal-dialog{
|
|
5522
5520
|
transform:translateY(100%);
|
|
5523
5521
|
opacity:0;
|
|
5524
5522
|
}
|
|
5525
|
-
.iui-modal-
|
|
5523
|
+
.iui-modal-animation-enter-active .iui-modal-full-page .iui-modal-dialog{
|
|
5526
5524
|
transform:translateY(0);
|
|
5527
5525
|
opacity:1;
|
|
5528
5526
|
}
|
|
5527
|
+
.iui-modal-animation-enter .iui-modal{
|
|
5528
|
+
visibility:hidden;
|
|
5529
|
+
opacity:0;
|
|
5530
|
+
}
|
|
5531
|
+
.iui-modal-animation-enter-active .iui-modal{
|
|
5532
|
+
visibility:visible;
|
|
5533
|
+
opacity:1;
|
|
5534
|
+
}
|
|
5529
5535
|
|
|
5530
5536
|
.iui-non-ideal-state{
|
|
5531
5537
|
margin:0;
|
|
@@ -9091,7 +9097,7 @@ div.iui-tile-thumbnail-picture{
|
|
|
9091
9097
|
display:inline-flex;
|
|
9092
9098
|
width:16px;
|
|
9093
9099
|
height:16px;
|
|
9094
|
-
|
|
9100
|
+
margin:0 6px;
|
|
9095
9101
|
flex-shrink:0;
|
|
9096
9102
|
}
|
|
9097
9103
|
.iui-tree-node-content-icon.iui-informational{
|
|
@@ -9111,7 +9117,7 @@ div.iui-tile-thumbnail-picture{
|
|
|
9111
9117
|
fill:var(--iui-icons-color-negative);
|
|
9112
9118
|
}
|
|
9113
9119
|
.iui-tree-node-content-icon:first-child{
|
|
9114
|
-
margin-left:
|
|
9120
|
+
margin-left:34px;
|
|
9115
9121
|
}
|
|
9116
9122
|
@media (prefers-reduced-motion: no-preference){
|
|
9117
9123
|
.iui-tree-node-content-expander-icon{
|
|
@@ -9258,8 +9264,8 @@ div.iui-tile-thumbnail-picture{
|
|
|
9258
9264
|
}
|
|
9259
9265
|
.iui-user-icon > .iui-status::after{
|
|
9260
9266
|
content:"";
|
|
9261
|
-
width:
|
|
9262
|
-
height:
|
|
9267
|
+
width:var(--_iui-user-icon-status-size, 8px);
|
|
9268
|
+
height:var(--_iui-user-icon-status-size, 8px);
|
|
9263
9269
|
}
|
|
9264
9270
|
.iui-user-icon > .iui-status.iui-online{
|
|
9265
9271
|
background-color:#53a21a;
|
|
@@ -9325,6 +9331,7 @@ div.iui-tile-thumbnail-picture{
|
|
|
9325
9331
|
.iui-user-icon.iui-user-icon{
|
|
9326
9332
|
width:32px;
|
|
9327
9333
|
height:32px;
|
|
9334
|
+
--_iui-user-icon-status-size:6px;
|
|
9328
9335
|
}
|
|
9329
9336
|
.iui-user-icon.iui-user-icon > .iui-initials{
|
|
9330
9337
|
line-height:32px;
|
|
@@ -9333,6 +9340,7 @@ div.iui-tile-thumbnail-picture{
|
|
|
9333
9340
|
.iui-user-icon.iui-small{
|
|
9334
9341
|
width:24px;
|
|
9335
9342
|
height:24px;
|
|
9343
|
+
--_iui-user-icon-status-size:12px;
|
|
9336
9344
|
}
|
|
9337
9345
|
.iui-user-icon.iui-small > .iui-initials{
|
|
9338
9346
|
line-height:24px;
|
|
@@ -9341,6 +9349,7 @@ div.iui-tile-thumbnail-picture{
|
|
|
9341
9349
|
.iui-user-icon.iui-large{
|
|
9342
9350
|
width:48px;
|
|
9343
9351
|
height:48px;
|
|
9352
|
+
--_iui-user-icon-status-size:8px;
|
|
9344
9353
|
}
|
|
9345
9354
|
.iui-user-icon.iui-large > .iui-initials{
|
|
9346
9355
|
line-height:48px;
|
|
@@ -9349,6 +9358,7 @@ div.iui-tile-thumbnail-picture{
|
|
|
9349
9358
|
.iui-user-icon.iui-x-large{
|
|
9350
9359
|
width:64px;
|
|
9351
9360
|
height:64px;
|
|
9361
|
+
--_iui-user-icon-status-size:12px;
|
|
9352
9362
|
}
|
|
9353
9363
|
.iui-user-icon.iui-x-large > .iui-initials{
|
|
9354
9364
|
line-height:64px;
|
|
@@ -9611,6 +9621,7 @@ div.iui-tile-thumbnail-picture{
|
|
|
9611
9621
|
position:fixed;
|
|
9612
9622
|
text-align:center;
|
|
9613
9623
|
left:50%;
|
|
9624
|
+
opacity:0;
|
|
9614
9625
|
top:22px;
|
|
9615
9626
|
transform:translateX(-50%) translateY(-170%);
|
|
9616
9627
|
transition:background-color 0.2s ease-in-out;
|
|
@@ -9634,7 +9645,7 @@ div.iui-tile-thumbnail-picture{
|
|
|
9634
9645
|
}
|
|
9635
9646
|
@media (prefers-reduced-motion: no-preference){
|
|
9636
9647
|
.iui-skip-to-content-link{
|
|
9637
|
-
transition:background-color 0.
|
|
9648
|
+
transition:opacity 0.8s ease-in-out, background-color 0.8s ease-in-out, transform 0.8s ease-in-out, box-shadow 0.8s ease-in-out;
|
|
9638
9649
|
}
|
|
9639
9650
|
}
|
|
9640
9651
|
.iui-skip-to-content-link:hover{
|
|
@@ -9649,12 +9660,13 @@ div.iui-tile-thumbnail-picture{
|
|
|
9649
9660
|
}
|
|
9650
9661
|
}
|
|
9651
9662
|
.iui-skip-to-content-link:focus{
|
|
9663
|
+
opacity:1;
|
|
9652
9664
|
transform:translateX(-50%) translateY(0);
|
|
9653
9665
|
box-shadow:0 6px 30px rgba(0, 0, 0, 0.25);
|
|
9654
9666
|
}
|
|
9655
9667
|
@media (prefers-reduced-motion: no-preference){
|
|
9656
9668
|
.iui-skip-to-content-link:focus{
|
|
9657
|
-
transition:transform 0.2s ease-in-out;
|
|
9669
|
+
transition:opacity 0s ease-in-out, background-color 0.2s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
9658
9670
|
}
|
|
9659
9671
|
}
|
|
9660
9672
|
|
package/css/button.css
CHANGED
|
@@ -319,7 +319,6 @@
|
|
|
319
319
|
display:inline-flex;
|
|
320
320
|
align-items:center;
|
|
321
321
|
isolation:isolate;
|
|
322
|
-
max-width:100%;
|
|
323
322
|
}
|
|
324
323
|
.iui-button-group > *{
|
|
325
324
|
display:flex;
|
|
@@ -402,12 +401,14 @@
|
|
|
402
401
|
.iui-button-group-vertical > *:not(:first-child) :where(.iui-button.iui-default):disabled, .iui-button-group-vertical > *:not(:first-child) :where(.iui-button.iui-default).iui-disabled, .iui-button-group-vertical > *:not(:first-child) :where(.iui-button.iui-default)[aria-disabled=true]{
|
|
403
402
|
border-top-color:var(--iui-color-background-4);
|
|
404
403
|
}
|
|
404
|
+
.iui-button-group-overflow-x{
|
|
405
|
+
width:100%;
|
|
406
|
+
}
|
|
405
407
|
|
|
406
408
|
.iui-button-split-menu{
|
|
407
409
|
display:inline-flex;
|
|
408
410
|
align-items:center;
|
|
409
411
|
isolation:isolate;
|
|
410
|
-
max-width:100%;
|
|
411
412
|
}
|
|
412
413
|
.iui-button-split-menu > *{
|
|
413
414
|
display:flex;
|
package/css/color-picker.css
CHANGED
|
@@ -122,6 +122,7 @@
|
|
|
122
122
|
margin-right:4px;
|
|
123
123
|
position:relative;
|
|
124
124
|
background-color:var(--iui-color-swatch-background);
|
|
125
|
+
forced-color-adjust:none;
|
|
125
126
|
background-position:0 0, 8px 8px;
|
|
126
127
|
background-size:16px 16px;
|
|
127
128
|
background-image:repeating-linear-gradient(45deg, #edeff2 25%, transparent 25%, transparent 75%, #edeff2 75%, #edeff2), repeating-linear-gradient(45deg, #edeff2 25%, #c7ccd1 25%, #c7ccd1 75%, #edeff2 75%, #edeff2);
|
|
@@ -184,6 +185,7 @@
|
|
|
184
185
|
cursor:crosshair;
|
|
185
186
|
width:100%;
|
|
186
187
|
height:209px;
|
|
188
|
+
forced-color-adjust:none;
|
|
187
189
|
background-image:linear-gradient(0deg, black, transparent), linear-gradient(90deg, white, var(--iui-color-field-hue));
|
|
188
190
|
}
|
|
189
191
|
.iui-color-field:not(:last-child){
|
|
@@ -192,6 +194,7 @@
|
|
|
192
194
|
|
|
193
195
|
.iui-hue-slider .iui-slider-rail{
|
|
194
196
|
height:8px;
|
|
197
|
+
forced-color-adjust:none;
|
|
195
198
|
background:linear-gradient(to right, #F00 0%, #FF0 17%, lime 33%, aqua 50%, #03F 67%, #C3F 83%, #F00 100%);
|
|
196
199
|
background:linear-gradient(to right, #F00 0%, #FF0 17%, lime 33%, aqua 50%, #03F 67%, #C3F 83%, #F00 100%);
|
|
197
200
|
}
|
|
@@ -201,6 +204,7 @@
|
|
|
201
204
|
|
|
202
205
|
.iui-opacity-slider .iui-slider-rail{
|
|
203
206
|
height:8px;
|
|
207
|
+
forced-color-adjust:none;
|
|
204
208
|
background-position:0 0, 4px 4px;
|
|
205
209
|
background-size:8px 8px;
|
|
206
210
|
background-image:repeating-linear-gradient(45deg, #edeff2 25%, transparent 25%, transparent 75%, #edeff2 75%, #edeff2), repeating-linear-gradient(45deg, #edeff2 25%, #c7ccd1 25%, #c7ccd1 75%, #edeff2 75%, #edeff2);
|
package/css/date-picker.css
CHANGED
package/css/header.css
CHANGED
package/css/modal.css
CHANGED
|
@@ -28,14 +28,6 @@
|
|
|
28
28
|
opacity:1;
|
|
29
29
|
transition-delay:0s;
|
|
30
30
|
}
|
|
31
|
-
.iui-modal.iui-modal-animation-enter{
|
|
32
|
-
visibility:hidden;
|
|
33
|
-
opacity:0;
|
|
34
|
-
}
|
|
35
|
-
.iui-modal.iui-modal-animation-enter-active{
|
|
36
|
-
visibility:visible;
|
|
37
|
-
opacity:1;
|
|
38
|
-
}
|
|
39
31
|
.iui-modal > .iui-modal-dialog{
|
|
40
32
|
position:absolute;
|
|
41
33
|
left:50%;
|
|
@@ -103,7 +95,7 @@
|
|
|
103
95
|
}
|
|
104
96
|
@media (prefers-reduced-motion: no-preference){
|
|
105
97
|
.iui-modal-full-page{
|
|
106
|
-
transition:visibility 0s linear 0.
|
|
98
|
+
transition:visibility 0s linear 0.8s, opacity 0.4s ease-out 0.2s;
|
|
107
99
|
}
|
|
108
100
|
}
|
|
109
101
|
.iui-modal-full-page > .iui-modal-dialog{
|
|
@@ -111,7 +103,7 @@
|
|
|
111
103
|
}
|
|
112
104
|
@media (prefers-reduced-motion: no-preference){
|
|
113
105
|
.iui-modal-full-page > .iui-modal-dialog{
|
|
114
|
-
transition:visibility 0s linear 0.4s, opacity 0s linear 0.4s, transform 0.
|
|
106
|
+
transition:visibility 0s linear 0.4s, opacity 0s linear 0.4s, transform 0.25s ease-in;
|
|
115
107
|
}
|
|
116
108
|
}
|
|
117
109
|
.iui-modal-full-page.iui-modal-visible > .iui-modal-dialog{
|
|
@@ -119,14 +111,22 @@
|
|
|
119
111
|
}
|
|
120
112
|
@media (prefers-reduced-motion: no-preference){
|
|
121
113
|
.iui-modal-full-page.iui-modal-visible > .iui-modal-dialog{
|
|
122
|
-
transition:transform 0.
|
|
114
|
+
transition:transform 0.3s ease-out;
|
|
123
115
|
}
|
|
124
116
|
}
|
|
125
|
-
.iui-modal-
|
|
117
|
+
.iui-modal-animation-enter .iui-modal-full-page .iui-modal-dialog{
|
|
126
118
|
transform:translateY(100%);
|
|
127
119
|
opacity:0;
|
|
128
120
|
}
|
|
129
|
-
.iui-modal-
|
|
121
|
+
.iui-modal-animation-enter-active .iui-modal-full-page .iui-modal-dialog{
|
|
130
122
|
transform:translateY(0);
|
|
131
123
|
opacity:1;
|
|
124
|
+
}
|
|
125
|
+
.iui-modal-animation-enter .iui-modal{
|
|
126
|
+
visibility:hidden;
|
|
127
|
+
opacity:0;
|
|
128
|
+
}
|
|
129
|
+
.iui-modal-animation-enter-active .iui-modal{
|
|
130
|
+
visibility:visible;
|
|
131
|
+
opacity:1;
|
|
132
132
|
}
|
package/css/skip-to-content.css
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
position:fixed;
|
|
18
18
|
text-align:center;
|
|
19
19
|
left:50%;
|
|
20
|
+
opacity:0;
|
|
20
21
|
top:22px;
|
|
21
22
|
transform:translateX(-50%) translateY(-170%);
|
|
22
23
|
transition:background-color 0.2s ease-in-out;
|
|
@@ -40,7 +41,7 @@
|
|
|
40
41
|
}
|
|
41
42
|
@media (prefers-reduced-motion: no-preference){
|
|
42
43
|
.iui-skip-to-content-link{
|
|
43
|
-
transition:background-color 0.
|
|
44
|
+
transition:opacity 0.8s ease-in-out, background-color 0.8s ease-in-out, transform 0.8s ease-in-out, box-shadow 0.8s ease-in-out;
|
|
44
45
|
}
|
|
45
46
|
}
|
|
46
47
|
.iui-skip-to-content-link:hover{
|
|
@@ -55,11 +56,12 @@
|
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
58
|
.iui-skip-to-content-link:focus{
|
|
59
|
+
opacity:1;
|
|
58
60
|
transform:translateX(-50%) translateY(0);
|
|
59
61
|
box-shadow:0 6px 30px rgba(0, 0, 0, 0.25);
|
|
60
62
|
}
|
|
61
63
|
@media (prefers-reduced-motion: no-preference){
|
|
62
64
|
.iui-skip-to-content-link:focus{
|
|
63
|
-
transition:transform 0.2s ease-in-out;
|
|
65
|
+
transition:opacity 0s ease-in-out, background-color 0.2s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
64
66
|
}
|
|
65
67
|
}
|
package/css/tree.css
CHANGED
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
display:inline-flex;
|
|
68
68
|
width:16px;
|
|
69
69
|
height:16px;
|
|
70
|
-
|
|
70
|
+
margin:0 6px;
|
|
71
71
|
flex-shrink:0;
|
|
72
72
|
}
|
|
73
73
|
.iui-tree-node-content-icon.iui-informational{
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
fill:var(--iui-icons-color-negative);
|
|
88
88
|
}
|
|
89
89
|
.iui-tree-node-content-icon:first-child{
|
|
90
|
-
margin-left:
|
|
90
|
+
margin-left:34px;
|
|
91
91
|
}
|
|
92
92
|
@media (prefers-reduced-motion: no-preference){
|
|
93
93
|
.iui-tree-node-content-expander-icon{
|
package/css/user-icon.css
CHANGED
|
@@ -90,8 +90,8 @@
|
|
|
90
90
|
}
|
|
91
91
|
.iui-user-icon > .iui-status::after{
|
|
92
92
|
content:"";
|
|
93
|
-
width:
|
|
94
|
-
height:
|
|
93
|
+
width:var(--_iui-user-icon-status-size, 8px);
|
|
94
|
+
height:var(--_iui-user-icon-status-size, 8px);
|
|
95
95
|
}
|
|
96
96
|
.iui-user-icon > .iui-status.iui-online{
|
|
97
97
|
background-color:#53a21a;
|
|
@@ -157,6 +157,7 @@
|
|
|
157
157
|
.iui-user-icon.iui-user-icon{
|
|
158
158
|
width:32px;
|
|
159
159
|
height:32px;
|
|
160
|
+
--_iui-user-icon-status-size:6px;
|
|
160
161
|
}
|
|
161
162
|
.iui-user-icon.iui-user-icon > .iui-initials{
|
|
162
163
|
line-height:32px;
|
|
@@ -165,6 +166,7 @@
|
|
|
165
166
|
.iui-user-icon.iui-small{
|
|
166
167
|
width:24px;
|
|
167
168
|
height:24px;
|
|
169
|
+
--_iui-user-icon-status-size:12px;
|
|
168
170
|
}
|
|
169
171
|
.iui-user-icon.iui-small > .iui-initials{
|
|
170
172
|
line-height:24px;
|
|
@@ -173,6 +175,7 @@
|
|
|
173
175
|
.iui-user-icon.iui-large{
|
|
174
176
|
width:48px;
|
|
175
177
|
height:48px;
|
|
178
|
+
--_iui-user-icon-status-size:8px;
|
|
176
179
|
}
|
|
177
180
|
.iui-user-icon.iui-large > .iui-initials{
|
|
178
181
|
line-height:48px;
|
|
@@ -181,6 +184,7 @@
|
|
|
181
184
|
.iui-user-icon.iui-x-large{
|
|
182
185
|
width:64px;
|
|
183
186
|
height:64px;
|
|
187
|
+
--_iui-user-icon-status-size:12px;
|
|
184
188
|
}
|
|
185
189
|
.iui-user-icon.iui-x-large > .iui-initials{
|
|
186
190
|
line-height:64px;
|
package/package.json
CHANGED
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
align-items: center;
|
|
11
11
|
isolation: isolate;
|
|
12
12
|
|
|
13
|
-
@if $orientation
|
|
14
|
-
max-width: 100%;
|
|
15
|
-
} @else {
|
|
13
|
+
@if $orientation != 'horizontal' {
|
|
16
14
|
flex-direction: column;
|
|
17
15
|
max-height: 100%;
|
|
18
16
|
}
|
|
@@ -106,3 +104,7 @@
|
|
|
106
104
|
}
|
|
107
105
|
}
|
|
108
106
|
}
|
|
107
|
+
|
|
108
|
+
@mixin iui-button-group-overflow-x {
|
|
109
|
+
width: 100%;
|
|
110
|
+
}
|
package/scss/button/classes.scss
CHANGED
|
@@ -49,6 +49,7 @@ $iui-hover-box-shadow: 0 0 1px $iui-xxs + 1 rgba(var(--iui-color-foreground-body
|
|
|
49
49
|
margin-right: $iui-xs;
|
|
50
50
|
position: relative;
|
|
51
51
|
background-color: var(--iui-color-swatch-background);
|
|
52
|
+
forced-color-adjust: none;
|
|
52
53
|
@include iui-transparent-background;
|
|
53
54
|
@supports (gap: $iui-s) {
|
|
54
55
|
margin-bottom: 0;
|
|
@@ -172,6 +173,7 @@ $iui-hover-box-shadow: 0 0 1px $iui-xxs + 1 rgba(var(--iui-color-foreground-body
|
|
|
172
173
|
cursor: crosshair;
|
|
173
174
|
width: 100%;
|
|
174
175
|
height: $iui-baseline * 19;
|
|
176
|
+
forced-color-adjust: none;
|
|
175
177
|
background-image: linear-gradient(0deg, rgb(0, 0, 0), transparent),
|
|
176
178
|
linear-gradient(90deg, rgb(255, 255, 255), var(--iui-color-field-hue));
|
|
177
179
|
|
|
@@ -183,6 +185,7 @@ $iui-hover-box-shadow: 0 0 1px $iui-xxs + 1 rgba(var(--iui-color-foreground-body
|
|
|
183
185
|
@mixin iui-hue-slider {
|
|
184
186
|
.iui-slider-rail {
|
|
185
187
|
height: $iui-s;
|
|
188
|
+
forced-color-adjust: none;
|
|
186
189
|
@include themed {
|
|
187
190
|
background: linear-gradient(
|
|
188
191
|
to right,
|
|
@@ -205,6 +208,7 @@ $iui-hover-box-shadow: 0 0 1px $iui-xxs + 1 rgba(var(--iui-color-foreground-body
|
|
|
205
208
|
@mixin iui-opacity-slider {
|
|
206
209
|
.iui-slider-rail {
|
|
207
210
|
height: $iui-s;
|
|
211
|
+
forced-color-adjust: none;
|
|
208
212
|
@include iui-transparent-background($size: $iui-s);
|
|
209
213
|
|
|
210
214
|
&::before {
|
package/scss/modal/classes.scss
CHANGED
package/scss/modal/modal.scss
CHANGED
|
@@ -30,18 +30,6 @@
|
|
|
30
30
|
}
|
|
31
31
|
// #endregion Small Modal Animations for CSS
|
|
32
32
|
|
|
33
|
-
// #region Small Modal Animations for React
|
|
34
|
-
&.iui-modal-animation-enter {
|
|
35
|
-
visibility: hidden;
|
|
36
|
-
opacity: 0;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&.iui-modal-animation-enter-active {
|
|
40
|
-
visibility: visible;
|
|
41
|
-
opacity: 1;
|
|
42
|
-
}
|
|
43
|
-
// #endregion Full Page Modal Animations for React
|
|
44
|
-
|
|
45
33
|
> .iui-modal-dialog {
|
|
46
34
|
position: absolute;
|
|
47
35
|
left: 50%;
|
|
@@ -103,6 +91,9 @@
|
|
|
103
91
|
}
|
|
104
92
|
|
|
105
93
|
@mixin iui-modal-full-page {
|
|
94
|
+
$iui-full-page-modal-slide-in-speed: 0.3s;
|
|
95
|
+
$iui-full-page-modal-slide-out-speed: 0.25s;
|
|
96
|
+
|
|
106
97
|
> .iui-modal-dialog {
|
|
107
98
|
display: flex;
|
|
108
99
|
flex-direction: column;
|
|
@@ -119,34 +110,46 @@
|
|
|
119
110
|
|
|
120
111
|
// #region Full Page Modal Animations for CSS
|
|
121
112
|
@media (prefers-reduced-motion: no-preference) {
|
|
122
|
-
transition: visibility $iui-speed-instant linear $iui-speed, opacity $iui-speed ease-out $iui-speed-fast;
|
|
113
|
+
transition: visibility $iui-speed-instant linear $iui-speed-slow, opacity $iui-speed ease-out $iui-speed-fast;
|
|
123
114
|
}
|
|
124
115
|
|
|
125
116
|
> .iui-modal-dialog {
|
|
126
117
|
transform: translateY(100%);
|
|
127
118
|
@media (prefers-reduced-motion: no-preference) {
|
|
128
119
|
transition: visibility $iui-speed-instant linear $iui-speed, opacity $iui-speed-instant linear $iui-speed,
|
|
129
|
-
transform $iui-speed ease-in;
|
|
120
|
+
transform $iui-full-page-modal-slide-out-speed ease-in;
|
|
130
121
|
}
|
|
131
122
|
}
|
|
132
123
|
|
|
133
124
|
&.iui-modal-visible > .iui-modal-dialog {
|
|
134
125
|
transform: translateY(0);
|
|
135
126
|
@media (prefers-reduced-motion: no-preference) {
|
|
136
|
-
transition: transform $iui-speed ease-out;
|
|
127
|
+
transition: transform $iui-full-page-modal-slide-in-speed ease-out;
|
|
137
128
|
}
|
|
138
129
|
}
|
|
139
130
|
// #endregion Full Page Modal Animations for CSS
|
|
131
|
+
}
|
|
140
132
|
|
|
141
|
-
|
|
142
|
-
|
|
133
|
+
@mixin iui-modal-animation {
|
|
134
|
+
// Full Page Modal Animations for React
|
|
135
|
+
&-enter .iui-modal-full-page .iui-modal-dialog {
|
|
143
136
|
transform: translateY(100%);
|
|
144
137
|
opacity: 0;
|
|
145
138
|
}
|
|
146
139
|
|
|
147
|
-
|
|
140
|
+
&-enter-active .iui-modal-full-page .iui-modal-dialog {
|
|
148
141
|
transform: translateY(0);
|
|
149
142
|
opacity: 1;
|
|
150
143
|
}
|
|
151
|
-
|
|
144
|
+
|
|
145
|
+
// Small Modal Animations for React
|
|
146
|
+
&-enter .iui-modal {
|
|
147
|
+
visibility: hidden;
|
|
148
|
+
opacity: 0;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&-enter-active .iui-modal {
|
|
152
|
+
visibility: visible;
|
|
153
|
+
opacity: 1;
|
|
154
|
+
}
|
|
152
155
|
}
|
|
@@ -15,12 +15,13 @@
|
|
|
15
15
|
position: fixed;
|
|
16
16
|
text-align: center;
|
|
17
17
|
left: 50%;
|
|
18
|
+
opacity: 0;
|
|
18
19
|
top: $iui-baseline * 2;
|
|
19
20
|
transform: translateX(-50%) translateY(-170%);
|
|
20
21
|
transition: background-color $iui-speed-fast ease-in-out;
|
|
21
22
|
@media (prefers-reduced-motion: no-preference) {
|
|
22
|
-
transition:
|
|
23
|
-
box-shadow $iui-speed-
|
|
23
|
+
transition: opacity $iui-speed-slow ease-in-out, background-color $iui-speed-slow ease-in-out,
|
|
24
|
+
transform $iui-speed-slow ease-in-out, box-shadow $iui-speed-slow ease-in-out;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
&:hover {
|
|
@@ -28,10 +29,12 @@
|
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
&:focus {
|
|
32
|
+
opacity: 1;
|
|
31
33
|
transform: translateX(-50%) translateY(0);
|
|
32
34
|
box-shadow: $iui-elevation-16;
|
|
33
35
|
@media (prefers-reduced-motion: no-preference) {
|
|
34
|
-
transition:
|
|
36
|
+
transition: opacity $iui-speed-instant ease-in-out, background-color $iui-speed-fast ease-in-out,
|
|
37
|
+
transform $iui-speed-fast ease-in-out, box-shadow $iui-speed-fast ease-in-out;
|
|
35
38
|
}
|
|
36
39
|
}
|
|
37
40
|
}
|
package/scss/tree/tree.scss
CHANGED
|
@@ -54,11 +54,11 @@ $iui-expander-button-width: ($iui-icons-default) + ($iui-expander-inline-padding
|
|
|
54
54
|
|
|
55
55
|
&-icon {
|
|
56
56
|
@include iui-icons-default;
|
|
57
|
-
|
|
57
|
+
margin: 0 $iui-expander-inline-padding;
|
|
58
58
|
flex-shrink: 0;
|
|
59
59
|
|
|
60
60
|
&:first-child {
|
|
61
|
-
margin-left: $iui-expander-button-width;
|
|
61
|
+
margin-left: $iui-expander-button-width + $iui-expander-inline-padding;
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -7,6 +7,14 @@
|
|
|
7
7
|
width: $size;
|
|
8
8
|
height: $size;
|
|
9
9
|
|
|
10
|
+
@if ($size == $iui-icons-xl) {
|
|
11
|
+
--_iui-user-icon-status-size: #{$iui-xs * 1.5};
|
|
12
|
+
} @else if ($size == $iui-icons-xxl) {
|
|
13
|
+
--_iui-user-icon-status-size: #{$iui-s};
|
|
14
|
+
} @else {
|
|
15
|
+
--_iui-user-icon-status-size: #{$iui-sm};
|
|
16
|
+
}
|
|
17
|
+
|
|
10
18
|
> .iui-initials {
|
|
11
19
|
line-height: $size;
|
|
12
20
|
font-size: $font-size;
|