@itwin/itwinui-css 0.54.0 → 0.56.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/global.css CHANGED
@@ -582,6 +582,84 @@ html.iui-theme-dark-hc{
582
582
  font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
583
583
  }
584
584
 
585
+ .iui-anchor{
586
+ --_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>");
587
+ color:#008ae0;
588
+ -webkit-tap-highlight-color:rgba(0, 138, 224, 0.2);
589
+ color:var(--iui-color-foreground-primary);
590
+ -webkit-tap-highlight-color:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-5));
591
+ border-radius:3px;
592
+ cursor:pointer;
593
+ text-decoration:none;
594
+ }
595
+ .iui-anchor:focus-visible{
596
+ outline:1px solid var(--iui-color-foreground-primary);
597
+ outline-offset:1px;
598
+ }
599
+ @supports not selector(*:focus-visible){
600
+ .iui-anchor:focus{
601
+ outline:1px solid var(--iui-color-foreground-primary);
602
+ outline-offset:1px;
603
+ }
604
+ }
605
+ .iui-anchor:hover{
606
+ color:#006bad;
607
+ color:var(--iui-color-foreground-primary-overlay);
608
+ }
609
+ .iui-anchor-external::after{
610
+ content:"";
611
+ display:inline-block;
612
+ width:1.5ch;
613
+ height:1.5ch;
614
+ margin-left:0.5ch;
615
+ vertical-align:-0.1ch;
616
+ background-color:currentColor;
617
+ -webkit-mask:var(--_iui-anchor-external-svg);
618
+ mask:var(--_iui-anchor-external-svg);
619
+ }
620
+ @media (forced-colors: active){
621
+ .iui-anchor-external::after{
622
+ background-color:LinkText;
623
+ }
624
+ }
625
+ .iui-anchor:hover{
626
+ text-decoration:underline;
627
+ }
628
+ @media (prefers-contrast: more){
629
+ .iui-anchor{
630
+ text-decoration:underline;
631
+ }
632
+ .iui-anchor:hover{
633
+ text-decoration:none;
634
+ }
635
+ }
636
+ .iui-theme-light .iui-anchor, .iui-theme-dark .iui-anchor{
637
+ text-decoration:none;
638
+ }
639
+ .iui-theme-light .iui-anchor:hover, .iui-theme-dark .iui-anchor:hover{
640
+ text-decoration:underline;
641
+ }
642
+
643
+ .iui-theme-light-hc .iui-anchor, .iui-theme-dark-hc .iui-anchor{
644
+ text-decoration:underline;
645
+ }
646
+ .iui-theme-light-hc .iui-anchor:hover, .iui-theme-dark-hc .iui-anchor:hover{
647
+ text-decoration:none;
648
+ }
649
+
650
+ .iui-visually-hidden{
651
+ -webkit-clip-path:inset(50%);
652
+ clip-path:inset(50%);
653
+ overflow:hidden;
654
+ position:absolute;
655
+ white-space:nowrap;
656
+ height:1px;
657
+ width:1px;
658
+ padding:0;
659
+ margin:-1px;
660
+ border-width:0;
661
+ }
662
+
585
663
  [class*=iui-],
586
664
  [class*=iui-] *{
587
665
  scrollbar-color:rgba(0, 0, 0, 0.4) transparent;
package/css/header.css CHANGED
@@ -56,7 +56,6 @@
56
56
  height:100%;
57
57
  border-radius:0;
58
58
  overflow:hidden;
59
- padding-right:8px;
60
59
  }
61
60
  .iui-page-header .iui-header-button.iui-header-button:focus{
62
61
  box-shadow:none;
@@ -167,6 +166,9 @@
167
166
  padding:0;
168
167
  }
169
168
 
169
+ .iui-page-header .iui-header-dropdown-button.iui-header-dropdown-button{
170
+ padding-right:8px;
171
+ }
170
172
  .iui-page-header .iui-header-split-button{
171
173
  max-width:25vw;
172
174
  }
@@ -186,7 +188,6 @@
186
188
  height:100%;
187
189
  border-radius:0;
188
190
  overflow:hidden;
189
- padding-right:8px;
190
191
  padding:0 4px;
191
192
  }
192
193
  .iui-page-header .iui-header-split-button .iui-button:focus{
package/css/inputs.css CHANGED
@@ -203,8 +203,8 @@ div.iui-input-container.iui-inline-label{
203
203
  transition:background 0s;
204
204
  }
205
205
  .iui-input-container.iui-inline-icon > .iui-input-icon.iui-actionable svg{
206
- fill:rgba(0, 0, 0, 0.4);
207
- fill:var(--iui-icons-color);
206
+ fill:rgba(0, 0, 0, 0.8);
207
+ fill:var(--iui-icons-color-actionable);
208
208
  transition:transform 0.2s ease-out;
209
209
  }
210
210
  .iui-input-container.iui-inline-icon > .iui-input-icon.iui-actionable.iui-open svg{
@@ -804,8 +804,8 @@ label.iui-input-label.iui-disabled{
804
804
  transition:background 0s;
805
805
  }
806
806
  .iui-end-icon.iui-actionable svg{
807
- fill:rgba(0, 0, 0, 0.4);
808
- fill:var(--iui-icons-color);
807
+ fill:rgba(0, 0, 0, 0.8);
808
+ fill:var(--iui-icons-color-actionable);
809
809
  transition:transform 0.2s ease-out;
810
810
  }
811
811
  .iui-end-icon.iui-actionable.iui-open svg{
@@ -945,6 +945,12 @@ label.iui-input-label.iui-disabled{
945
945
  outline-offset:-1px;
946
946
  }
947
947
  }
948
+ .iui-checkbox:disabled{
949
+ --_iui-checkbox-svg-color:var(--iui-icons-color-actionable-disabled);
950
+ --_iui-checkbox-border-color:var(--iui-color-background-border);
951
+ --_iui-checkbox-background-color:var(--iui-color-background-disabled);
952
+ cursor:not-allowed;
953
+ }
948
954
  .iui-checkbox.iui-checkbox-visibility{
949
955
  --_iui-checkbox-checkmark-svg:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m8 2.99051a8.81883 8.81883 0 0 0 -8 4.95062 8.74664 8.74664 0 0 0 8 5.06836 8.63266 8.63266 0 0 0 8-5.06836 8.83631 8.83631 0 0 0 -8-4.95062zm-1.31445 1.86981a1.47663 1.47663 0 1 1 -1.47663 1.47668 1.47665 1.47665 0 0 1 1.47663-1.47668zm1.31445 6.64917a7.17486 7.17486 0 0 1 -6.30475-3.55237 7.4952 7.4952 0 0 1 2.81475-2.6336 3.83956 3.83956 0 1 0 6.98126.00244 7.522 7.522 0 0 1 2.81774 2.63916 7.09785 7.09785 0 0 1 -6.309 3.54437z" /></svg>');
950
956
  --_iui-checkbox-indeterminate-svg:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m8 3v7.9a4.01179 4.01179 0 0 0 4-4 6.7509 6.7509 0 0 0 -.2-1.4l.1.1a6.89429 6.89429 0 0 1 2.4 2.4 8.39088 8.39088 0 0 1 -2.3 2.3 6.89412 6.89412 0 0 1 -3.9 1.2c-.03345 0-.06653-.00677-.1-.0072v1.5072a8.90686 8.90686 0 0 0 8-5 8.90686 8.90686 0 0 0 -8-5z" opacity=".33" /><path d="m8 0a1 1 0 0 0 -1 1v2.07135a8.91637 8.91637 0 0 0 -7 4.92865 8.91637 8.91637 0 0 0 7 4.92865v2.07135a1 1 0 0 0 2 0v-14a1 1 0 0 0 -1-1zm-1.5 4.9a1.55426 1.55426 0 0 1 .5.087v2.81451a1.40746 1.40746 0 0 1 -.5.09849 1.538 1.538 0 0 1 -1.5-1.5 1.53794 1.53794 0 0 1 1.5-1.5zm-2.3 5.4a6.97279 6.97279 0 0 1 -2.5-2.3 6.89429 6.89429 0 0 1 2.4-2.4c.1 0 .1-.1.2-.1a3.194 3.194 0 0 0 -.3 1.4 4.0047 4.0047 0 0 0 3 3.857v.65289a6.37491 6.37491 0 0 1 -2.8-1.10989z" /></svg>');
@@ -959,11 +965,9 @@ label.iui-input-label.iui-disabled{
959
965
  --_iui-checkbox-border-color:transparent;
960
966
  --_iui-checkbox-background-color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-6));
961
967
  }
962
- .iui-checkbox:disabled{
968
+ .iui-checkbox.iui-checkbox-visibility:where(:disabled){
963
969
  --_iui-checkbox-svg-color:var(--iui-icons-color-actionable-disabled);
964
- --_iui-checkbox-border-color:var(--iui-color-background-disabled);
965
970
  --_iui-checkbox-background-color:var(--iui-color-background-disabled);
966
- cursor:not-allowed;
967
971
  }
968
972
  .iui-checkbox.iui-loading{
969
973
  --_iui-checkbox-border-color:transparent;
@@ -1100,6 +1104,12 @@ label.iui-input-label.iui-disabled{
1100
1104
  outline-offset:-1px;
1101
1105
  }
1102
1106
  }
1107
+ .iui-radio:disabled{
1108
+ --_iui-checkbox-svg-color:var(--iui-icons-color-actionable-disabled);
1109
+ --_iui-checkbox-border-color:var(--iui-color-background-border);
1110
+ --_iui-checkbox-background-color:var(--iui-color-background-disabled);
1111
+ cursor:not-allowed;
1112
+ }
1103
1113
  .iui-radio.iui-checkbox-visibility{
1104
1114
  --_iui-checkbox-checkmark-svg:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m8 2.99051a8.81883 8.81883 0 0 0 -8 4.95062 8.74664 8.74664 0 0 0 8 5.06836 8.63266 8.63266 0 0 0 8-5.06836 8.83631 8.83631 0 0 0 -8-4.95062zm-1.31445 1.86981a1.47663 1.47663 0 1 1 -1.47663 1.47668 1.47665 1.47665 0 0 1 1.47663-1.47668zm1.31445 6.64917a7.17486 7.17486 0 0 1 -6.30475-3.55237 7.4952 7.4952 0 0 1 2.81475-2.6336 3.83956 3.83956 0 1 0 6.98126.00244 7.522 7.522 0 0 1 2.81774 2.63916 7.09785 7.09785 0 0 1 -6.309 3.54437z" /></svg>');
1105
1115
  --_iui-checkbox-indeterminate-svg:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m8 3v7.9a4.01179 4.01179 0 0 0 4-4 6.7509 6.7509 0 0 0 -.2-1.4l.1.1a6.89429 6.89429 0 0 1 2.4 2.4 8.39088 8.39088 0 0 1 -2.3 2.3 6.89412 6.89412 0 0 1 -3.9 1.2c-.03345 0-.06653-.00677-.1-.0072v1.5072a8.90686 8.90686 0 0 0 8-5 8.90686 8.90686 0 0 0 -8-5z" opacity=".33" /><path d="m8 0a1 1 0 0 0 -1 1v2.07135a8.91637 8.91637 0 0 0 -7 4.92865 8.91637 8.91637 0 0 0 7 4.92865v2.07135a1 1 0 0 0 2 0v-14a1 1 0 0 0 -1-1zm-1.5 4.9a1.55426 1.55426 0 0 1 .5.087v2.81451a1.40746 1.40746 0 0 1 -.5.09849 1.538 1.538 0 0 1 -1.5-1.5 1.53794 1.53794 0 0 1 1.5-1.5zm-2.3 5.4a6.97279 6.97279 0 0 1 -2.5-2.3 6.89429 6.89429 0 0 1 2.4-2.4c.1 0 .1-.1.2-.1a3.194 3.194 0 0 0 -.3 1.4 4.0047 4.0047 0 0 0 3 3.857v.65289a6.37491 6.37491 0 0 1 -2.8-1.10989z" /></svg>');
@@ -1114,11 +1124,9 @@ label.iui-input-label.iui-disabled{
1114
1124
  --_iui-checkbox-border-color:transparent;
1115
1125
  --_iui-checkbox-background-color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-6));
1116
1126
  }
1117
- .iui-radio:disabled{
1127
+ .iui-radio.iui-checkbox-visibility:where(:disabled){
1118
1128
  --_iui-checkbox-svg-color:var(--iui-icons-color-actionable-disabled);
1119
- --_iui-checkbox-border-color:var(--iui-color-background-disabled);
1120
1129
  --_iui-checkbox-background-color:var(--iui-color-background-disabled);
1121
- cursor:not-allowed;
1122
1130
  }
1123
1131
  .iui-radio.iui-loading{
1124
1132
  --_iui-checkbox-border-color:transparent;
@@ -1132,162 +1140,4 @@ label.iui-input-label.iui-disabled{
1132
1140
  }
1133
1141
  .iui-radio:not(:checked), .iui-radio:indeterminate{
1134
1142
  --_iui-checkbox-mask-image:var(--_iui-checkbox-unchecked-svg);
1135
- }
1136
-
1137
- .iui-radio-tile-container{
1138
- display:inline-flex;
1139
- flex-wrap:wrap;
1140
- width:-webkit-fit-content;
1141
- width:-moz-fit-content;
1142
- width:fit-content;
1143
- -webkit-user-select:none;
1144
- -moz-user-select:none;
1145
- -ms-user-select:none;
1146
- user-select:none;
1147
- position:relative;
1148
- z-index:0;
1149
- }
1150
- .iui-radio-tile-container > label{
1151
- cursor:pointer;
1152
- }
1153
- .iui-radio-tile-container > label > input{
1154
- width:0;
1155
- height:0;
1156
- -webkit-appearance:none;
1157
- -moz-appearance:none;
1158
- appearance:none;
1159
- opacity:0;
1160
- position:absolute;
1161
- }
1162
- .iui-radio-tile-container > label > .iui-radio-tile{
1163
- width:160px;
1164
- height:100%;
1165
- box-sizing:border-box;
1166
- padding:8px;
1167
- position:relative;
1168
- z-index:1;
1169
- border:1px solid rgba(0, 0, 0, 0.4);
1170
- background-color:white;
1171
- border:1px solid rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-4));
1172
- background-color:var(--iui-color-background-1);
1173
- }
1174
- @media (prefers-reduced-motion: no-preference){
1175
- .iui-radio-tile-container > label > .iui-radio-tile{
1176
- transition:border-color 0.2s ease-out;
1177
- }
1178
- }
1179
- .iui-radio-tile-container > label > .iui-radio-tile > .iui-icon{
1180
- width:32px;
1181
- height:32px;
1182
- display:block;
1183
- margin:0 auto;
1184
- margin-top:6px;
1185
- margin-bottom:11px;
1186
- fill:rgba(0, 0, 0, 0.4);
1187
- fill:var(--iui-icons-color);
1188
- }
1189
- @media (prefers-reduced-motion: no-preference){
1190
- .iui-radio-tile-container > label > .iui-radio-tile > .iui-icon{
1191
- transition:fill 0.2s ease-out;
1192
- }
1193
- }
1194
- .iui-radio-tile-container > label > .iui-radio-tile > .iui-checkmark{
1195
- display:none;
1196
- width:16px;
1197
- height:16px;
1198
- position:absolute;
1199
- right:8px;
1200
- fill:#008ae0;
1201
- fill:var(--iui-icons-color-primary);
1202
- }
1203
- .iui-radio-tile-container > label > .iui-radio-tile > .iui-label{
1204
- font-size:14px;
1205
- font-weight:600;
1206
- line-height:22px;
1207
- text-align:center;
1208
- color:rgba(0, 0, 0, 0.8);
1209
- color:var(--iui-text-color);
1210
- }
1211
- .iui-radio-tile-container > label > .iui-radio-tile > .iui-description{
1212
- font-size:12px;
1213
- line-height:15px;
1214
- text-align:center;
1215
- color:rgba(0, 0, 0, 0.4);
1216
- color:var(--iui-text-color-muted);
1217
- }
1218
- .iui-radio-tile-container > label:first-child > .iui-radio-tile{
1219
- border-radius:3px 0 0 3px;
1220
- }
1221
- .iui-radio-tile-container > label:last-child > .iui-radio-tile{
1222
- border-radius:0 3px 3px 0;
1223
- }
1224
- .iui-radio-tile-container > label:not(:first-child) > .iui-radio-tile{
1225
- margin-left:-1px;
1226
- }
1227
- .iui-radio-tile-container > label input:enabled:focus ~ .iui-radio-tile{
1228
- outline:2px solid #008ae0;
1229
- outline-offset:-4px;
1230
- outline:2px solid var(--iui-color-foreground-primary);
1231
- outline-offset:-4px;
1232
- }
1233
- .iui-radio-tile-container > label input:enabled:focus:not(:focus-visible) ~ .iui-radio-tile{
1234
- outline:none;
1235
- }
1236
- .iui-radio-tile-container > label:hover > input:enabled:not(:checked) ~ .iui-radio-tile{
1237
- z-index:2;
1238
- border-color:rgba(0, 0, 0, 0.8);
1239
- border-color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-2));
1240
- }
1241
- @media (prefers-reduced-motion: no-preference){
1242
- .iui-radio-tile-container > label:hover > input:enabled:not(:checked) ~ .iui-radio-tile{
1243
- transition:border-color 0.2s ease-out;
1244
- }
1245
- }
1246
- .iui-radio-tile-container > label:hover > input:enabled:not(:checked) ~ .iui-radio-tile > .iui-icon{
1247
- fill:rgba(0, 0, 0, 0.8);
1248
- fill:var(--iui-icons-color-actionable);
1249
- }
1250
- @media (prefers-reduced-motion: no-preference){
1251
- .iui-radio-tile-container > label:hover > input:enabled:not(:checked) ~ .iui-radio-tile > .iui-icon{
1252
- transition:fill 0.2s ease-out;
1253
- }
1254
- }
1255
- .iui-radio-tile-container > label input:checked ~ .iui-radio-tile{
1256
- padding:7px;
1257
- z-index:3;
1258
- border:2px solid #008ae0;
1259
- border:2px solid var(--iui-color-foreground-primary);
1260
- }
1261
- .iui-radio-tile-container > label input:checked ~ .iui-radio-tile > .iui-icon{
1262
- fill:#008ae0;
1263
- fill:var(--iui-icons-color-primary);
1264
- }
1265
- .iui-radio-tile-container > label input:checked ~ .iui-radio-tile > .iui-checkmark{
1266
- display:inline-block;
1267
- }
1268
- .iui-radio-tile-container > label input:disabled ~ .iui-radio-tile{
1269
- cursor:not-allowed;
1270
- z-index:0;
1271
- border-color:#edeff2;
1272
- background-color:#edeff2;
1273
- border-color:var(--iui-color-background-disabled);
1274
- background-color:var(--iui-color-background-disabled);
1275
- }
1276
- .iui-radio-tile-container > label input:disabled ~ .iui-radio-tile > .iui-checkmark{
1277
- fill:rgba(0, 0, 0, 0.2);
1278
- fill:var(--iui-icons-color-actionable-disabled);
1279
- }
1280
- .iui-radio-tile-container > label input:disabled ~ .iui-radio-tile > .iui-icon{
1281
- fill:rgba(0, 0, 0, 0.2);
1282
- fill:var(--iui-icons-color-actionable-disabled);
1283
- filter:grayscale(100%);
1284
- }
1285
- .iui-radio-tile-container > label input:disabled ~ .iui-radio-tile > .iui-label{
1286
- color:rgba(0, 0, 0, 0.4);
1287
- color:var(--iui-text-color-muted);
1288
- }
1289
- .iui-radio-tile-container > label input:disabled:checked ~ .iui-radio-tile{
1290
- z-index:3;
1291
- border:2px solid rgba(0, 0, 0, 0.4);
1292
- border:2px solid rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-4));
1293
1143
  }
package/css/menu.css CHANGED
@@ -142,6 +142,27 @@
142
142
  fill:rgba(0, 0, 0, 0.2);
143
143
  fill:var(--iui-icons-color-actionable-disabled);
144
144
  }
145
+ .iui-menu-item-skeleton{
146
+ --iui-menu-item-content-skeleton-max-width:30%;
147
+ cursor:auto;
148
+ }
149
+ .iui-menu-item-skeleton .iui-content{
150
+ max-width:var(--iui-menu-item-content-skeleton-max-width);
151
+ }
152
+ .iui-menu-item-skeleton .iui-menu-label{
153
+ width:100%;
154
+ height:14px;
155
+ vertical-align:middle;
156
+ }
157
+ .iui-menu-item-skeleton .iui-menu-description{
158
+ width:70%;
159
+ height:12px;
160
+ vertical-align:middle;
161
+ margin-top:4px;
162
+ }
163
+ .iui-menu-item-skeleton:hover{
164
+ background-color:unset;
165
+ }
145
166
 
146
167
  .iui-menu-content{
147
168
  padding:11px 13px;
package/css/popover.css CHANGED
@@ -6,8 +6,8 @@
6
6
  all:revert;
7
7
  }
8
8
  .iui-popover.tippy-box[data-reference-hidden]{
9
- visibility:visible;
10
- pointer-events:auto;
9
+ visibility:hidden;
10
+ pointer-events:none;
11
11
  }
12
12
  .iui-popover .tippy-content{
13
13
  all:revert;
@@ -0,0 +1,221 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ .iui-radio-tile{
6
+ cursor:pointer;
7
+ -webkit-tap-highlight-color:rgba(0, 138, 224, 0.1);
8
+ -webkit-tap-highlight-color:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-6));
9
+ }
10
+ .iui-radio-tile:first-of-type > .iui-radio-tile-content{
11
+ border-radius:3px 0 0 3px;
12
+ }
13
+ .iui-radio-tile:last-of-type > .iui-radio-tile-content{
14
+ border-radius:0 3px 3px 0;
15
+ }
16
+ .iui-radio-tile:not(:first-of-type) > .iui-radio-tile-content{
17
+ margin-left:-1px;
18
+ }
19
+
20
+ .iui-radio-tile-content{
21
+ width:160px;
22
+ height:100%;
23
+ box-sizing:border-box;
24
+ padding:8px;
25
+ position:relative;
26
+ z-index:1;
27
+ border:1px solid rgba(0, 0, 0, 0.4);
28
+ background-color:white;
29
+ border:1px solid rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-4));
30
+ background-color:var(--iui-color-background-1);
31
+ }
32
+ @media (prefers-reduced-motion: no-preference){
33
+ .iui-radio-tile-content{
34
+ transition:border-color 0.2s ease-out;
35
+ }
36
+ }
37
+ .iui-radio-tile-content:hover{
38
+ z-index:2;
39
+ border-color:rgba(0, 0, 0, 0.8);
40
+ border-color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-2));
41
+ }
42
+ .iui-radio-tile-content:hover svg{
43
+ fill:rgba(0, 0, 0, 0.8);
44
+ fill:var(--iui-icons-color-actionable);
45
+ }
46
+ @media (forced-colors: active){
47
+ .iui-radio-tile-content:hover svg{
48
+ fill:CanvasText;
49
+ }
50
+ }
51
+
52
+ .iui-radio-tile-container{
53
+ display:inline-flex;
54
+ flex-wrap:wrap;
55
+ -webkit-user-select:none;
56
+ -moz-user-select:none;
57
+ -ms-user-select:none;
58
+ user-select:none;
59
+ position:relative;
60
+ z-index:0;
61
+ }
62
+
63
+ .iui-radio-tile-input{
64
+ width:0;
65
+ height:0;
66
+ -webkit-appearance:none;
67
+ -moz-appearance:none;
68
+ appearance:none;
69
+ opacity:0;
70
+ position:absolute;
71
+ }
72
+ .iui-radio-tile-input:focus-visible + *{
73
+ outline-offset:-4px;
74
+ outline:2px solid #008ae0;
75
+ outline:2px solid var(--iui-color-foreground-primary);
76
+ }
77
+ @media (forced-colors: active){
78
+ .iui-radio-tile-input:focus-visible + *{
79
+ outline-color:Highlight;
80
+ }
81
+ }
82
+ @supports not selector(*:focus-visible){
83
+ .iui-radio-tile-input:focus + *{
84
+ outline-offset:-4px;
85
+ outline:2px solid #008ae0;
86
+ outline:2px solid var(--iui-color-foreground-primary);
87
+ }
88
+ @media (forced-colors: active){
89
+ .iui-radio-tile-input:focus + *{
90
+ outline-color:Highlight;
91
+ }
92
+ }
93
+ }
94
+ .iui-radio-tile-input:checked + *{
95
+ padding:7px;
96
+ z-index:3;
97
+ border:2px solid #008ae0;
98
+ border:2px solid var(--iui-color-foreground-primary);
99
+ }
100
+ @media (forced-colors: active){
101
+ .iui-radio-tile-input:checked + *{
102
+ border-color:Highlight;
103
+ }
104
+ }
105
+ .iui-radio-tile-input:checked + * svg{
106
+ fill:#008ae0;
107
+ fill:var(--iui-icons-color-primary);
108
+ }
109
+ @media (forced-colors: active){
110
+ .iui-radio-tile-input:checked + * svg{
111
+ fill:Highlight;
112
+ }
113
+ }
114
+ .iui-radio-tile-input:checked + *::after{
115
+ content:"";
116
+ width:16px;
117
+ height:16px;
118
+ position:absolute;
119
+ top:8px;
120
+ right:8px;
121
+ -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6,14L0,8l2-2l4,4l8-8l2,2L6,14z" /></svg>');
122
+ mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6,14L0,8l2-2l4,4l8-8l2,2L6,14z" /></svg>');
123
+ background-color:#008ae0;
124
+ background-color:var(--iui-color-foreground-primary);
125
+ }
126
+ @media (forced-colors: active){
127
+ .iui-radio-tile-input:checked + *::after{
128
+ background-color:Highlight;
129
+ }
130
+ }
131
+ .iui-radio-tile-input:disabled + *{
132
+ cursor:not-allowed;
133
+ z-index:0;
134
+ border-color:#edeff2;
135
+ background-color:#edeff2;
136
+ border-color:var(--iui-color-background-disabled);
137
+ background-color:var(--iui-color-background-disabled);
138
+ }
139
+ .iui-radio-tile-input:disabled + *::after{
140
+ background-color:rgba(0, 0, 0, 0.2);
141
+ background-color:var(--iui-icons-color-actionable-disabled);
142
+ }
143
+ @media (forced-colors: active){
144
+ .iui-radio-tile-input:disabled + *::after{
145
+ background-color:GrayText;
146
+ }
147
+ }
148
+ .iui-radio-tile-input:disabled + * svg{
149
+ fill:rgba(0, 0, 0, 0.2);
150
+ fill:var(--iui-icons-color-actionable-disabled);
151
+ }
152
+ @media (forced-colors: active){
153
+ .iui-radio-tile-input:disabled + * svg{
154
+ fill:GrayText;
155
+ }
156
+ }
157
+ .iui-radio-tile-input:disabled + * .iui-radio-tile-icon{
158
+ filter:grayscale(100%);
159
+ }
160
+ @media (forced-colors: active){
161
+ .iui-radio-tile-input:disabled + * .iui-radio-tile-label,
162
+ .iui-radio-tile-input:disabled + * .iui-radio-tile-sublabel{
163
+ color:GrayText;
164
+ }
165
+ }
166
+ .iui-radio-tile-input:disabled + * .iui-radio-tile-label{
167
+ color:rgba(0, 0, 0, 0.4);
168
+ color:var(--iui-text-color-muted);
169
+ }
170
+ .iui-radio-tile-input:disabled:checked + *{
171
+ z-index:3;
172
+ border:2px solid rgba(0, 0, 0, 0.4);
173
+ border:2px solid rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-4));
174
+ }
175
+ @media (forced-colors: active){
176
+ .iui-radio-tile-input:disabled:checked + *{
177
+ border-color:GrayText;
178
+ }
179
+ }
180
+
181
+ .iui-radio-tile-icon{
182
+ width:32px;
183
+ height:32px;
184
+ display:block;
185
+ margin:0 auto;
186
+ padding-top:6px;
187
+ padding-bottom:11px;
188
+ }
189
+ .iui-radio-tile-icon svg{
190
+ fill:rgba(0, 0, 0, 0.4);
191
+ fill:var(--iui-icons-color);
192
+ }
193
+ @media (prefers-reduced-motion: no-preference){
194
+ .iui-radio-tile-icon svg{
195
+ transition:fill 0.2s ease-out;
196
+ }
197
+ }
198
+ @media (forced-colors: active){
199
+ .iui-radio-tile-icon svg{
200
+ fill:CanvasText;
201
+ }
202
+ }
203
+
204
+ .iui-radio-tile-label{
205
+ font-size:14px;
206
+ font-weight:600;
207
+ line-height:22px;
208
+ text-align:center;
209
+ word-break:break-word;
210
+ color:rgba(0, 0, 0, 0.8);
211
+ color:var(--iui-text-color);
212
+ }
213
+
214
+ .iui-radio-tile-sublabel{
215
+ font-size:12px;
216
+ line-height:15px;
217
+ text-align:center;
218
+ word-break:break-word;
219
+ color:rgba(0, 0, 0, 0.4);
220
+ color:var(--iui-text-color-muted);
221
+ }
package/css/tabs.css CHANGED
@@ -78,6 +78,10 @@
78
78
  fill:#008ae0;
79
79
  fill:var(--iui-icons-color-primary);
80
80
  }
81
+ .iui-tabs .iui-tab.iui-active .iui-tab-description{
82
+ opacity:1;
83
+ opacity:var(--iui-opacity-1);
84
+ }
81
85
  .iui-tabs .iui-tab[disabled]{
82
86
  cursor:not-allowed;
83
87
  color:rgba(0, 0, 0, 0.4);