@itwin/itwinui-css 0.59.2 → 1.0.0-dev.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/CHANGELOG.md +21 -0
- package/README.md +1 -4
- package/css/alert.css +273 -139
- package/css/all.css +4046 -4967
- package/css/anchor.css +1 -5
- package/css/{user-icon.css → avatar.css} +51 -71
- package/css/backdrop.css +24 -0
- package/css/badge.css +2 -2
- package/css/blockquote.css +1 -4
- package/css/breadcrumbs.css +64 -137
- package/css/button.css +264 -349
- package/css/carousel.css +8 -16
- package/css/checkbox.css +149 -0
- package/css/code.css +5 -13
- package/css/color-picker.css +6 -44
- package/css/date-picker.css +6 -65
- package/css/dialog.css +63 -101
- package/css/expandable-block.css +1 -32
- package/css/fieldset.css +2 -7
- package/css/file-upload.css +0 -15
- package/css/footer.css +1 -9
- package/css/global.css +8 -63
- package/css/header.css +312 -398
- package/css/icon.css +0 -30
- package/css/information-panel.css +1 -15
- package/css/input.css +162 -0
- package/css/keyboard.css +2 -6
- package/css/location-marker.css +1 -12
- package/css/menu.css +1 -17
- package/css/progress-indicator.css +1 -93
- package/css/radio-tile.css +38 -65
- package/css/radio.css +156 -0
- package/css/select.css +230 -0
- package/css/side-navigation.css +5 -20
- package/css/skip-to-content.css +0 -3
- package/css/slider.css +2 -14
- package/css/stepper.css +141 -0
- package/css/surface.css +0 -1
- package/css/table.css +252 -339
- package/css/tabs.css +26 -65
- package/css/tag.css +7 -32
- package/css/text.css +1 -3
- package/css/textarea.css +96 -0
- package/css/tile.css +169 -155
- package/css/time-picker.css +2 -14
- package/css/{toast-notification.css → toast.css} +3 -45
- package/css/toggle-switch.css +13 -60
- package/css/tooltip.css +1 -4
- package/css/tree.css +0 -14
- package/css/utils.css +609 -0
- package/css/workflow-diagram.css +67 -0
- package/package.json +11 -7
- package/scss/alert/alert.scss +50 -44
- package/scss/alert/classes.scss +24 -4
- package/scss/anchor/anchor.scss +76 -1
- package/scss/{user-icon/sizes.scss → avatar/avatar-sizes.scss} +6 -5
- package/scss/{user-icon/user-icon.scss → avatar/avatar.scss} +35 -70
- package/scss/avatar/classes.scss +27 -0
- package/scss/{user-icon → avatar}/index.scss +1 -2
- package/scss/backdrop/backdrop.scss +27 -0
- package/scss/backdrop/classes.scss +7 -0
- package/scss/backdrop/index.scss +3 -0
- package/scss/badge/badge.scss +4 -2
- package/scss/blockquote/blockquote.scss +4 -9
- package/scss/breadcrumbs/breadcrumbs.scss +13 -18
- package/scss/button/borderless.scss +20 -32
- package/scss/button/button-group.scss +15 -7
- package/scss/button/button.scss +64 -42
- package/scss/button/classes.scss +47 -37
- package/scss/button/default.scss +33 -41
- package/scss/button/idea.scss +4 -2
- package/scss/button/index.scss +3 -6
- package/scss/button/split-button.scss +45 -0
- package/scss/button/variant.scss +44 -0
- package/scss/carousel/carousel.scss +12 -23
- package/scss/{inputs → checkbox}/checkbox.scss +50 -2
- package/scss/checkbox/classes.scss +7 -0
- package/scss/checkbox/index.scss +3 -0
- package/scss/classes.scss +11 -6
- package/scss/code/code.scss +3 -5
- package/scss/code/codeblock.scss +7 -21
- package/scss/color-picker/color-picker.scss +32 -61
- package/scss/date-picker/date-picker.scss +21 -55
- package/scss/dialog/classes.scss +7 -6
- package/scss/dialog/dialog.scss +95 -130
- package/scss/expandable-block/block.scss +22 -50
- package/scss/fieldset/fieldset.scss +6 -12
- package/scss/file-upload/file-upload.scss +13 -23
- package/scss/footer/footer.scss +5 -15
- package/scss/header/classes.scss +70 -2
- package/scss/header/header-buttons.scss +316 -0
- package/scss/header/header.scss +40 -408
- package/scss/header/index.scss +1 -0
- package/scss/icon/{mixins.scss → icon.scss} +5 -15
- package/scss/icon/index.scss +1 -2
- package/scss/index.scss +11 -6
- package/scss/information-panel/information-panel.scss +8 -26
- package/scss/input/classes.scss +15 -0
- package/scss/input/index.scss +4 -0
- package/scss/{inputs → input}/input-with-icon.scss +1 -0
- package/scss/{inputs → input}/input.scss +15 -25
- package/scss/keyboard/keyboard.scss +5 -9
- package/scss/location-marker/data-rich.scss +5 -14
- package/scss/location-marker/default.scss +1 -3
- package/scss/location-marker/location-marker.scss +1 -3
- package/scss/location-marker/me.scss +7 -14
- package/scss/menu/menu.scss +16 -36
- package/scss/non-ideal-state/non-ideal-state.scss +2 -1
- package/scss/progress-indicator/classes.scss +0 -4
- package/scss/progress-indicator/linear.scss +9 -27
- package/scss/progress-indicator/overlay.scss +4 -10
- package/scss/progress-indicator/radial.scss +10 -98
- package/scss/radio/classes.scss +7 -0
- package/scss/radio/index.scss +3 -0
- package/scss/{inputs → radio}/radio.scss +1 -1
- package/scss/radio-tile/radio-tile.scss +41 -83
- package/scss/select/classes.scss +27 -0
- package/scss/select/index.scss +3 -0
- package/scss/select/select.scss +124 -0
- package/scss/side-navigation/side-navigation.scss +26 -34
- package/scss/skip-to-content/skip-to-content.scss +2 -3
- package/scss/slider/slider.scss +12 -23
- package/scss/stepper/classes.scss +32 -0
- package/scss/stepper/index.scss +3 -0
- package/scss/stepper/stepper.scss +151 -0
- package/scss/style/{variables.scss → global-variables.scss} +4 -2
- package/scss/style/global.scss +9 -10
- package/scss/{icon/variables.scss → style/icon-sizes.scss} +1 -1
- package/scss/style/index.scss +6 -6
- package/scss/style/theme.scss +0 -39
- package/scss/style/typography.scss +5 -4
- package/scss/surface/surface.scss +0 -1
- package/scss/table/classes.scss +24 -23
- package/scss/table/column-filter.scss +2 -5
- package/scss/table/index.scss +1 -2
- package/scss/table/paginator.scss +22 -30
- package/scss/table/sizes.scss +31 -0
- package/scss/table/{variables.scss → table-densities.scss} +2 -1
- package/scss/table/table.scss +156 -228
- package/scss/tabs/borderless.scss +9 -22
- package/scss/tabs/classes.scss +4 -0
- package/scss/tabs/default.scss +11 -25
- package/scss/tabs/pill.scss +5 -15
- package/scss/tabs/tabs.scss +30 -57
- package/scss/tag/classes.scss +1 -0
- package/scss/tag/tag.scss +11 -21
- package/scss/text/mixins.scss +1 -0
- package/scss/text/muted.scss +2 -4
- package/scss/text/skeleton.scss +8 -11
- package/scss/textarea/classes.scss +7 -0
- package/scss/textarea/index.scss +3 -0
- package/scss/{inputs → textarea}/textarea.scss +2 -1
- package/scss/tile/classes.scss +14 -2
- package/scss/tile/tile.scss +99 -80
- package/scss/time-picker/time-picker.scss +8 -17
- package/scss/{toast-notification → toast}/categories.scss +3 -7
- package/scss/{toast-notification → toast}/classes.scss +0 -0
- package/scss/{toast-notification → toast}/index.scss +0 -0
- package/scss/{toast-notification → toast}/toast.scss +7 -16
- package/scss/toggle-switch/toggle-switch.scss +11 -30
- package/scss/tooltip/tooltip.scss +4 -5
- package/scss/tree/tree.scss +10 -22
- package/scss/utils/classes.scss +6 -0
- package/scss/utils/index.scss +6 -0
- package/scss/{inputs → utils/input-container}/classes.scss +0 -28
- package/scss/utils/input-container/index.scss +3 -0
- package/scss/{inputs/labeled-inputs.scss → utils/input-container/input-container.scss} +16 -113
- package/scss/{style → utils}/mixins.scss +26 -43
- package/scss/{notification-marker → utils/notification-marker}/classes.scss +0 -0
- package/scss/{notification-marker → utils/notification-marker}/index.scss +0 -0
- package/scss/{notification-marker → utils/notification-marker}/notification-marker.scss +11 -19
- package/scss/{popover → utils/popover}/classes.scss +0 -0
- package/scss/{popover → utils/popover}/index.scss +0 -0
- package/scss/{popover → utils/popover}/popover.scss +0 -1
- package/scss/workflow-diagram/classes.scss +15 -0
- package/scss/workflow-diagram/index.scss +3 -0
- package/scss/workflow-diagram/workflow-diagram.scss +64 -0
- package/src/index.scss +11 -6
- package/css/inputs.css +0 -1143
- package/css/notification-marker.css +0 -293
- package/css/popover.css +0 -14
- package/css/reset-global-styles.css +0 -50
- package/css/wizard.css +0 -190
- package/scss/button/button-icon.scss +0 -12
- package/scss/button/cta.scss +0 -31
- package/scss/button/disabled.scss +0 -13
- package/scss/button/high-visibility.scss +0 -31
- package/scss/button/split-menu.scss +0 -66
- package/scss/inputs/checkbox-radio.scss +0 -73
- package/scss/inputs/index.scss +0 -10
- package/scss/inputs/select.scss +0 -66
- package/scss/reset-global-styles.scss +0 -33
- package/scss/style/anchor.scss +0 -82
- package/scss/style/ripple.scss +0 -18
- package/scss/table/condensed.scss +0 -15
- package/scss/table/extra-condensed.scss +0 -19
- package/scss/user-icon/classes.scss +0 -27
- package/scss/wizard/classes.scss +0 -27
- package/scss/wizard/index.scss +0 -5
- package/scss/wizard/long.scss +0 -19
- package/scss/wizard/wizard.scss +0 -160
- package/scss/wizard/workflow.scss +0 -43
package/css/date-picker.css
CHANGED
|
@@ -9,15 +9,12 @@
|
|
|
9
9
|
background-color:var(--iui-surface-background-color);
|
|
10
10
|
border-radius:var(--iui-surface-border-radius);
|
|
11
11
|
box-shadow:var(--iui-surface-elevation);
|
|
12
|
-
box-sizing:border-box;
|
|
13
12
|
color:var(--iui-text-color);
|
|
14
13
|
-webkit-user-select:none;
|
|
15
14
|
-moz-user-select:none;
|
|
16
15
|
-ms-user-select:none;
|
|
17
16
|
user-select:none;
|
|
18
|
-
display:-ms-inline-grid;
|
|
19
17
|
display:inline-grid;
|
|
20
|
-
-ms-grid-columns:1fr auto;
|
|
21
18
|
grid-template-columns:1fr auto;
|
|
22
19
|
}
|
|
23
20
|
@media (forced-colors: active){
|
|
@@ -36,7 +33,6 @@
|
|
|
36
33
|
align-items:center;
|
|
37
34
|
justify-content:space-between;
|
|
38
35
|
padding:0 4px;
|
|
39
|
-
box-sizing:border-box;
|
|
40
36
|
font-weight:700;
|
|
41
37
|
gap:4px;
|
|
42
38
|
}
|
|
@@ -63,7 +59,6 @@
|
|
|
63
59
|
display:flex;
|
|
64
60
|
padding:0 8px;
|
|
65
61
|
font-weight:700;
|
|
66
|
-
background-color:#f9f9fb;
|
|
67
62
|
background-color:var(--iui-color-background-2);
|
|
68
63
|
}
|
|
69
64
|
.iui-calendar-weekdays > div{
|
|
@@ -86,7 +81,7 @@
|
|
|
86
81
|
text-align:center;
|
|
87
82
|
width:40px;
|
|
88
83
|
height:36px;
|
|
89
|
-
border-radius:
|
|
84
|
+
border-radius:4px;
|
|
90
85
|
font-variant-numeric:tabular-nums;
|
|
91
86
|
}
|
|
92
87
|
.iui-calendar-day:focus-visible, .iui-calendar-day-today:focus-visible{
|
|
@@ -101,8 +96,6 @@
|
|
|
101
96
|
}
|
|
102
97
|
.iui-calendar-day:hover, .iui-calendar-day-today:hover{
|
|
103
98
|
font-weight:600;
|
|
104
|
-
color:#008ae0;
|
|
105
|
-
background-color:rgba(0, 138, 224, 0.1);
|
|
106
99
|
color:var(--iui-color-foreground-primary);
|
|
107
100
|
background-color:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-6));
|
|
108
101
|
}
|
|
@@ -117,20 +110,16 @@
|
|
|
117
110
|
width:32px;
|
|
118
111
|
height:32px;
|
|
119
112
|
border-radius:9999px;
|
|
120
|
-
box-sizing:border-box;
|
|
121
113
|
top:50%;
|
|
122
114
|
left:50%;
|
|
123
115
|
transform:translate(-50%, -50%);
|
|
124
|
-
border:2px solid rgba(0, 0, 0, 0.2);
|
|
125
116
|
border:2px solid rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-5));
|
|
126
117
|
}
|
|
127
118
|
.iui-calendar-day-today:hover{
|
|
128
119
|
background-color:initial;
|
|
129
|
-
color:#008ae0;
|
|
130
120
|
color:var(--iui-color-foreground-primary);
|
|
131
121
|
}
|
|
132
122
|
.iui-calendar-day-today:hover::before{
|
|
133
|
-
background-color:rgba(0, 138, 224, 0.1);
|
|
134
123
|
background-color:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-6));
|
|
135
124
|
}
|
|
136
125
|
|
|
@@ -139,11 +128,9 @@
|
|
|
139
128
|
text-align:center;
|
|
140
129
|
width:40px;
|
|
141
130
|
height:36px;
|
|
142
|
-
border-radius:
|
|
131
|
+
border-radius:4px;
|
|
143
132
|
font-variant-numeric:tabular-nums;
|
|
144
133
|
font-weight:600;
|
|
145
|
-
background-color:#008ae0;
|
|
146
|
-
color:white;
|
|
147
134
|
background-color:var(--iui-color-background-primary);
|
|
148
135
|
color:var(--iui-color-foreground-accessory);
|
|
149
136
|
cursor:default;
|
|
@@ -179,34 +166,26 @@
|
|
|
179
166
|
width:32px;
|
|
180
167
|
height:32px;
|
|
181
168
|
border-radius:9999px;
|
|
182
|
-
box-sizing:border-box;
|
|
183
169
|
top:50%;
|
|
184
170
|
left:50%;
|
|
185
171
|
transform:translate(-50%, -50%);
|
|
186
|
-
border:2px solid rgba(0, 0, 0, 0.2);
|
|
187
172
|
border:2px solid rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-5));
|
|
188
173
|
}
|
|
189
174
|
.iui-calendar-day-selected-today:hover{
|
|
190
175
|
background-color:initial;
|
|
191
|
-
color:#008ae0;
|
|
192
176
|
color:var(--iui-color-foreground-primary);
|
|
193
177
|
}
|
|
194
178
|
.iui-calendar-day-selected-today:hover::before{
|
|
195
|
-
background-color:rgba(0, 138, 224, 0.1);
|
|
196
179
|
background-color:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-6));
|
|
197
180
|
}
|
|
198
181
|
.iui-calendar-day-selected-today:hover{
|
|
199
|
-
background-color:#008ae0;
|
|
200
|
-
color:white;
|
|
201
182
|
background-color:var(--iui-color-background-primary);
|
|
202
183
|
color:var(--iui-color-foreground-accessory);
|
|
203
184
|
}
|
|
204
185
|
.iui-calendar-day-selected-today:hover::before{
|
|
205
186
|
background-color:initial;
|
|
206
|
-
background-color:initial;
|
|
207
187
|
}
|
|
208
188
|
.iui-calendar-day-selected-today::before{
|
|
209
|
-
border-color:rgba(255, 255, 255, 0.4);
|
|
210
189
|
border-color:rgba(var(--iui-color-foreground-accessory-rgb), var(--iui-opacity-4));
|
|
211
190
|
}
|
|
212
191
|
|
|
@@ -215,9 +194,8 @@
|
|
|
215
194
|
text-align:center;
|
|
216
195
|
width:40px;
|
|
217
196
|
height:36px;
|
|
218
|
-
border-radius:
|
|
197
|
+
border-radius:4px;
|
|
219
198
|
font-variant-numeric:tabular-nums;
|
|
220
|
-
color:rgba(0, 0, 0, 0.4);
|
|
221
199
|
color:var(--iui-text-color-muted);
|
|
222
200
|
}
|
|
223
201
|
.iui-calendar-day-outside-month:focus-visible, .iui-calendar-day-outside-month-today:focus-visible{
|
|
@@ -232,8 +210,6 @@
|
|
|
232
210
|
}
|
|
233
211
|
.iui-calendar-day-outside-month:hover, .iui-calendar-day-outside-month-today:hover{
|
|
234
212
|
font-weight:600;
|
|
235
|
-
color:#008ae0;
|
|
236
|
-
background-color:rgba(0, 138, 224, 0.1);
|
|
237
213
|
color:var(--iui-color-foreground-primary);
|
|
238
214
|
background-color:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-6));
|
|
239
215
|
}
|
|
@@ -248,20 +224,16 @@
|
|
|
248
224
|
width:32px;
|
|
249
225
|
height:32px;
|
|
250
226
|
border-radius:9999px;
|
|
251
|
-
box-sizing:border-box;
|
|
252
227
|
top:50%;
|
|
253
228
|
left:50%;
|
|
254
229
|
transform:translate(-50%, -50%);
|
|
255
|
-
border:2px solid rgba(0, 0, 0, 0.2);
|
|
256
230
|
border:2px solid rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-5));
|
|
257
231
|
}
|
|
258
232
|
.iui-calendar-day-outside-month-today:hover{
|
|
259
233
|
background-color:initial;
|
|
260
|
-
color:#008ae0;
|
|
261
234
|
color:var(--iui-color-foreground-primary);
|
|
262
235
|
}
|
|
263
236
|
.iui-calendar-day-outside-month-today:hover::before{
|
|
264
|
-
background-color:rgba(0, 138, 224, 0.1);
|
|
265
237
|
background-color:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-6));
|
|
266
238
|
}
|
|
267
239
|
|
|
@@ -270,11 +242,9 @@
|
|
|
270
242
|
text-align:center;
|
|
271
243
|
width:40px;
|
|
272
244
|
height:36px;
|
|
273
|
-
border-radius:
|
|
245
|
+
border-radius:4px;
|
|
274
246
|
font-variant-numeric:tabular-nums;
|
|
275
247
|
font-weight:600;
|
|
276
|
-
background-color:#008ae0;
|
|
277
|
-
color:white;
|
|
278
248
|
background-color:var(--iui-color-background-primary);
|
|
279
249
|
color:var(--iui-color-foreground-accessory);
|
|
280
250
|
border-top-right-radius:0;
|
|
@@ -312,34 +282,26 @@
|
|
|
312
282
|
width:32px;
|
|
313
283
|
height:32px;
|
|
314
284
|
border-radius:9999px;
|
|
315
|
-
box-sizing:border-box;
|
|
316
285
|
top:50%;
|
|
317
286
|
left:50%;
|
|
318
287
|
transform:translate(-50%, -50%);
|
|
319
|
-
border:2px solid rgba(0, 0, 0, 0.2);
|
|
320
288
|
border:2px solid rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-5));
|
|
321
289
|
}
|
|
322
290
|
.iui-calendar-day-range-start-today:hover{
|
|
323
291
|
background-color:initial;
|
|
324
|
-
color:#008ae0;
|
|
325
292
|
color:var(--iui-color-foreground-primary);
|
|
326
293
|
}
|
|
327
294
|
.iui-calendar-day-range-start-today:hover::before{
|
|
328
|
-
background-color:rgba(0, 138, 224, 0.1);
|
|
329
295
|
background-color:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-6));
|
|
330
296
|
}
|
|
331
297
|
.iui-calendar-day-range-start-today:hover{
|
|
332
|
-
background-color:#008ae0;
|
|
333
|
-
color:white;
|
|
334
298
|
background-color:var(--iui-color-background-primary);
|
|
335
299
|
color:var(--iui-color-foreground-accessory);
|
|
336
300
|
}
|
|
337
301
|
.iui-calendar-day-range-start-today:hover::before{
|
|
338
302
|
background-color:initial;
|
|
339
|
-
background-color:initial;
|
|
340
303
|
}
|
|
341
304
|
.iui-calendar-day-range-start-today::before{
|
|
342
|
-
border-color:rgba(255, 255, 255, 0.4);
|
|
343
305
|
border-color:rgba(var(--iui-color-foreground-accessory-rgb), var(--iui-opacity-4));
|
|
344
306
|
}
|
|
345
307
|
|
|
@@ -348,11 +310,9 @@
|
|
|
348
310
|
text-align:center;
|
|
349
311
|
width:40px;
|
|
350
312
|
height:36px;
|
|
351
|
-
border-radius:
|
|
313
|
+
border-radius:4px;
|
|
352
314
|
font-variant-numeric:tabular-nums;
|
|
353
315
|
font-weight:600;
|
|
354
|
-
background-color:#008ae0;
|
|
355
|
-
color:white;
|
|
356
316
|
background-color:var(--iui-color-background-primary);
|
|
357
317
|
color:var(--iui-color-foreground-accessory);
|
|
358
318
|
border-top-left-radius:0;
|
|
@@ -389,34 +349,26 @@
|
|
|
389
349
|
width:32px;
|
|
390
350
|
height:32px;
|
|
391
351
|
border-radius:9999px;
|
|
392
|
-
box-sizing:border-box;
|
|
393
352
|
top:50%;
|
|
394
353
|
left:50%;
|
|
395
354
|
transform:translate(-50%, -50%);
|
|
396
|
-
border:2px solid rgba(0, 0, 0, 0.2);
|
|
397
355
|
border:2px solid rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-5));
|
|
398
356
|
}
|
|
399
357
|
.iui-calendar-day-range-end-today:hover{
|
|
400
358
|
background-color:initial;
|
|
401
|
-
color:#008ae0;
|
|
402
359
|
color:var(--iui-color-foreground-primary);
|
|
403
360
|
}
|
|
404
361
|
.iui-calendar-day-range-end-today:hover::before{
|
|
405
|
-
background-color:rgba(0, 138, 224, 0.1);
|
|
406
362
|
background-color:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-6));
|
|
407
363
|
}
|
|
408
364
|
.iui-calendar-day-range-end-today:hover{
|
|
409
|
-
background-color:#008ae0;
|
|
410
|
-
color:white;
|
|
411
365
|
background-color:var(--iui-color-background-primary);
|
|
412
366
|
color:var(--iui-color-foreground-accessory);
|
|
413
367
|
}
|
|
414
368
|
.iui-calendar-day-range-end-today:hover::before{
|
|
415
369
|
background-color:initial;
|
|
416
|
-
background-color:initial;
|
|
417
370
|
}
|
|
418
371
|
.iui-calendar-day-range-end-today::before{
|
|
419
|
-
border-color:rgba(255, 255, 255, 0.4);
|
|
420
372
|
border-color:rgba(var(--iui-color-foreground-accessory-rgb), var(--iui-opacity-4));
|
|
421
373
|
}
|
|
422
374
|
|
|
@@ -425,11 +377,9 @@
|
|
|
425
377
|
text-align:center;
|
|
426
378
|
width:40px;
|
|
427
379
|
height:36px;
|
|
428
|
-
border-radius:
|
|
380
|
+
border-radius:4px;
|
|
429
381
|
font-variant-numeric:tabular-nums;
|
|
430
382
|
border-radius:0;
|
|
431
|
-
background-color:rgba(0, 138, 224, 0.2);
|
|
432
|
-
color:rgba(0, 0, 0, 0.8);
|
|
433
383
|
background-color:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-5));
|
|
434
384
|
color:var(--iui-text-color);
|
|
435
385
|
}
|
|
@@ -445,7 +395,6 @@
|
|
|
445
395
|
}
|
|
446
396
|
.iui-calendar-day-range:hover, .iui-calendar-day-range-today:hover{
|
|
447
397
|
font-weight:600;
|
|
448
|
-
background-color:rgba(0, 138, 224, 0.4);
|
|
449
398
|
background-color:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-4));
|
|
450
399
|
}
|
|
451
400
|
.iui-calendar-day-range-today{
|
|
@@ -459,33 +408,25 @@
|
|
|
459
408
|
width:32px;
|
|
460
409
|
height:32px;
|
|
461
410
|
border-radius:9999px;
|
|
462
|
-
box-sizing:border-box;
|
|
463
411
|
top:50%;
|
|
464
412
|
left:50%;
|
|
465
413
|
transform:translate(-50%, -50%);
|
|
466
|
-
border:2px solid rgba(0, 0, 0, 0.2);
|
|
467
414
|
border:2px solid rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-5));
|
|
468
415
|
}
|
|
469
416
|
.iui-calendar-day-range-today:hover{
|
|
470
417
|
background-color:initial;
|
|
471
|
-
color:#008ae0;
|
|
472
418
|
color:var(--iui-color-foreground-primary);
|
|
473
419
|
}
|
|
474
420
|
.iui-calendar-day-range-today:hover::before{
|
|
475
|
-
background-color:rgba(0, 138, 224, 0.1);
|
|
476
421
|
background-color:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-6));
|
|
477
422
|
}
|
|
478
423
|
.iui-calendar-day-range-today:hover{
|
|
479
|
-
background-color:rgba(0, 138, 224, 0.2);
|
|
480
|
-
color:rgba(0, 0, 0, 0.8);
|
|
481
424
|
background-color:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-5));
|
|
482
425
|
color:var(--iui-text-color);
|
|
483
426
|
}
|
|
484
427
|
.iui-calendar-day-range-today:hover::before{
|
|
485
|
-
background-color:rgba(0, 138, 224, 0.4);
|
|
486
428
|
background-color:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-4));
|
|
487
429
|
}
|
|
488
430
|
.iui-calendar-day-range-today::before{
|
|
489
|
-
border-color:rgba(0, 138, 224, 0.4);
|
|
490
431
|
border-color:rgba(var(--iui-color-foreground-primary-rgb), var(--iui-opacity-4));
|
|
491
432
|
}
|
package/css/dialog.css
CHANGED
|
@@ -2,115 +2,108 @@
|
|
|
2
2
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
3
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
.iui-dialog-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
border:none;
|
|
9
|
-
vertical-align:baseline;
|
|
10
|
-
z-index:999;
|
|
11
|
-
isolation:isolate;
|
|
12
|
-
position:fixed;
|
|
5
|
+
.iui-dialog-wrapper{
|
|
6
|
+
position:relative;
|
|
7
|
+
overflow:hidden;
|
|
13
8
|
top:0;
|
|
14
9
|
left:0;
|
|
15
10
|
width:100%;
|
|
16
11
|
height:100%;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
visibility:hidden;
|
|
20
|
-
opacity:0;
|
|
21
|
-
transition:visibility 0s linear 0.2s, opacity 0.2s ease-out;
|
|
22
|
-
}
|
|
23
|
-
.iui-dialog-backdrop.iui-dialog-visible{
|
|
24
|
-
visibility:visible;
|
|
25
|
-
opacity:1;
|
|
26
|
-
transition-delay:0s;
|
|
27
|
-
}
|
|
28
|
-
.iui-dialog-backdrop.iui-dialog-backdrop-relative{
|
|
29
|
-
position:relative;
|
|
30
|
-
overflow:hidden;
|
|
12
|
+
pointer-events:none;
|
|
13
|
+
transform:translateX(0);
|
|
31
14
|
}
|
|
32
15
|
|
|
33
16
|
.iui-dialog{
|
|
34
|
-
|
|
17
|
+
z-index:999;
|
|
18
|
+
isolation:isolate;
|
|
19
|
+
border-radius:4px;
|
|
35
20
|
box-shadow:0 9px 46px rgba(0, 0, 0, 0.25);
|
|
36
|
-
|
|
37
|
-
position:absolute;
|
|
38
|
-
padding:11px 16px;
|
|
39
|
-
box-sizing:border-box;
|
|
21
|
+
position:fixed;
|
|
40
22
|
padding:11px 16px;
|
|
41
23
|
overflow:hidden;
|
|
42
|
-
|
|
24
|
+
pointer-events:auto;
|
|
43
25
|
background-color:var(--iui-color-background-1);
|
|
26
|
+
transition:visibility 0s linear, opacity 0.2s ease-out;
|
|
27
|
+
transition-delay:0.2s, 0s;
|
|
44
28
|
}
|
|
45
29
|
@media (forced-colors: active){
|
|
46
30
|
.iui-dialog{
|
|
47
31
|
border:1px solid;
|
|
48
32
|
}
|
|
49
33
|
}
|
|
34
|
+
.iui-dialog:not(.iui-dialog-visible){
|
|
35
|
+
visibility:hidden;
|
|
36
|
+
opacity:0;
|
|
37
|
+
}
|
|
38
|
+
.iui-dialog.iui-dialog-visible{
|
|
39
|
+
transition-delay:0s;
|
|
40
|
+
}
|
|
50
41
|
|
|
51
|
-
.iui-dialog-default
|
|
42
|
+
.iui-dialog-default{
|
|
43
|
+
max-width:max(50%, 380px);
|
|
44
|
+
min-width:380px;
|
|
45
|
+
max-height:100vh;
|
|
46
|
+
}
|
|
47
|
+
.iui-dialog-default:not([data-iui-placement]){
|
|
52
48
|
left:50%;
|
|
53
49
|
top:33%;
|
|
54
50
|
transform:translate(-50%, -33%);
|
|
55
|
-
max-width:50%;
|
|
56
|
-
min-width:380px;
|
|
57
|
-
max-height:100vh;
|
|
58
51
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
52
|
+
.iui-dialog-default[data-iui-placement=top-left]{
|
|
53
|
+
top:0;
|
|
54
|
+
left:0;
|
|
55
|
+
margin-left:11px;
|
|
56
|
+
margin-top:16px;
|
|
65
57
|
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
58
|
+
.iui-dialog-default[data-iui-placement=top-right]{
|
|
59
|
+
top:0;
|
|
60
|
+
right:0;
|
|
61
|
+
margin-right:11px;
|
|
62
|
+
margin-top:16px;
|
|
63
|
+
}
|
|
64
|
+
.iui-dialog-default[data-iui-placement=bottom-left]{
|
|
65
|
+
bottom:0;
|
|
66
|
+
left:0;
|
|
67
|
+
margin-left:11px;
|
|
68
|
+
margin-bottom:16px;
|
|
69
|
+
}
|
|
70
|
+
.iui-dialog-default[data-iui-placement=bottom-right]{
|
|
71
|
+
bottom:0;
|
|
72
|
+
right:0;
|
|
73
|
+
margin-right:11px;
|
|
74
|
+
margin-bottom:16px;
|
|
71
75
|
}
|
|
72
|
-
|
|
76
|
+
|
|
77
|
+
.iui-dialog-full-page{
|
|
73
78
|
border-radius:0;
|
|
74
79
|
height:100vh;
|
|
80
|
+
height:100dvh;
|
|
75
81
|
width:100vw;
|
|
76
82
|
top:0;
|
|
77
83
|
left:0;
|
|
78
|
-
max-width:initial;
|
|
79
|
-
min-width:initial;
|
|
80
84
|
display:flex;
|
|
81
85
|
flex-direction:column;
|
|
82
86
|
will-change:transform;
|
|
83
87
|
}
|
|
88
|
+
.iui-dialog-full-page:not(.iui-dialog-visible){
|
|
89
|
+
transform:translateY(100%);
|
|
90
|
+
}
|
|
84
91
|
@media (prefers-reduced-motion: no-preference){
|
|
85
|
-
.iui-dialog-full-page
|
|
86
|
-
transform:translateY(100%);
|
|
92
|
+
.iui-dialog-full-page{
|
|
87
93
|
transition:visibility 0s linear 0.4s, opacity 0s linear 0.4s, transform 0.2s ease-in;
|
|
88
94
|
}
|
|
89
|
-
|
|
90
|
-
.iui-dialog-full-page.iui-dialog-visible .iui-dialog{
|
|
91
|
-
transform:translateY(0);
|
|
92
|
-
}
|
|
93
|
-
@media (prefers-reduced-motion: no-preference){
|
|
94
|
-
.iui-dialog-full-page.iui-dialog-visible .iui-dialog{
|
|
95
|
+
.iui-dialog-full-page.iui-dialog-visible{
|
|
95
96
|
transition:transform 0.4s ease-out;
|
|
96
97
|
}
|
|
97
98
|
}
|
|
98
99
|
|
|
99
100
|
.iui-dialog-draggable{
|
|
100
|
-
|
|
101
|
-
pointer-events:none;
|
|
102
|
-
z-index:998;
|
|
103
|
-
}
|
|
104
|
-
.iui-dialog-draggable .iui-dialog{
|
|
105
|
-
pointer-events:initial;
|
|
106
|
-
max-width:100vw;
|
|
101
|
+
max-width:100%;
|
|
107
102
|
max-height:100vh;
|
|
108
103
|
min-width:380px;
|
|
109
104
|
min-height:144px;
|
|
110
105
|
display:flex;
|
|
111
106
|
flex-direction:column;
|
|
112
|
-
padding:0;
|
|
113
|
-
border:1px solid #c7ccd1;
|
|
114
107
|
border:1px solid var(--iui-color-background-border);
|
|
115
108
|
}
|
|
116
109
|
|
|
@@ -127,24 +120,19 @@
|
|
|
127
120
|
align-items:center;
|
|
128
121
|
margin-bottom:11px;
|
|
129
122
|
justify-content:space-between;
|
|
130
|
-
box-sizing:border-box;
|
|
131
123
|
font-size:18px;
|
|
132
124
|
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
-moz-user-select:none;
|
|
136
|
-
-ms-user-select:none;
|
|
137
|
-
user-select:none;
|
|
125
|
+
|
|
126
|
+
.iui-dialog-title-bar-filled{
|
|
138
127
|
font-size:16px;
|
|
139
128
|
padding:6px 16px;
|
|
129
|
+
margin:-11px -16px 11px -16px;
|
|
140
130
|
cursor:-webkit-grab;
|
|
141
131
|
cursor:grab;
|
|
142
|
-
background-color:#edeff2;
|
|
143
|
-
border-bottom:1px solid #c7ccd1;
|
|
144
132
|
background-color:var(--iui-color-background-3);
|
|
145
133
|
border-bottom:1px solid var(--iui-color-background-border);
|
|
146
134
|
}
|
|
147
|
-
.iui-dialog-
|
|
135
|
+
.iui-dialog-title-bar-filled:active{
|
|
148
136
|
cursor:-webkit-grabbing;
|
|
149
137
|
cursor:grabbing;
|
|
150
138
|
}
|
|
@@ -156,46 +144,20 @@
|
|
|
156
144
|
overflow-y:auto;
|
|
157
145
|
overflow-y:overlay;
|
|
158
146
|
}
|
|
159
|
-
.iui-dialog-draggable .iui-dialog-content{
|
|
160
|
-
margin:0;
|
|
161
|
-
}
|
|
162
147
|
|
|
163
148
|
.iui-dialog-button-bar{
|
|
164
149
|
margin-top:11px;
|
|
165
150
|
display:flex;
|
|
166
151
|
align-items:center;
|
|
167
152
|
justify-content:flex-end;
|
|
168
|
-
|
|
169
|
-
.iui-dialog-draggable .iui-dialog-button-bar{
|
|
170
|
-
padding:0 16px 11px 16px;
|
|
153
|
+
gap:8px;
|
|
171
154
|
}
|
|
172
155
|
|
|
173
|
-
.iui-dialog-
|
|
174
|
-
margin-right:8px;
|
|
175
|
-
}
|
|
176
|
-
@supports ((-moz-column-gap: 8px) or (column-gap: 8px)){
|
|
177
|
-
.iui-dialog-button-bar{
|
|
178
|
-
-moz-column-gap:8px;
|
|
179
|
-
column-gap:8px;
|
|
180
|
-
}
|
|
181
|
-
.iui-dialog-button-bar > .iui-button:not(:last-child){
|
|
182
|
-
margin-right:0;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.iui-dialog-animation-enter .iui-dialog-full-page .iui-dialog{
|
|
156
|
+
.iui-dialog-animation-enter{
|
|
187
157
|
transform:translateY(100%);
|
|
188
158
|
opacity:0;
|
|
189
159
|
}
|
|
190
|
-
.iui-dialog-animation-enter-active
|
|
160
|
+
.iui-dialog-animation-enter-active{
|
|
191
161
|
transform:translateY(0);
|
|
192
162
|
opacity:1;
|
|
193
|
-
}
|
|
194
|
-
.iui-dialog-animation-enter .iui-dialog-backdrop{
|
|
195
|
-
visibility:hidden;
|
|
196
|
-
opacity:0;
|
|
197
|
-
}
|
|
198
|
-
.iui-dialog-animation-enter-active .iui-dialog-backdrop{
|
|
199
|
-
visibility:visible;
|
|
200
|
-
opacity:1;
|
|
201
163
|
}
|
package/css/expandable-block.css
CHANGED
|
@@ -9,9 +9,7 @@
|
|
|
9
9
|
vertical-align:baseline;
|
|
10
10
|
display:flex;
|
|
11
11
|
flex-direction:column;
|
|
12
|
-
box-sizing:border-box;
|
|
13
12
|
width:100%;
|
|
14
|
-
background-color:white;
|
|
15
13
|
background-color:var(--iui-color-background-1);
|
|
16
14
|
}
|
|
17
15
|
.iui-expandable-block > .iui-header{
|
|
@@ -19,14 +17,10 @@
|
|
|
19
17
|
align-items:center;
|
|
20
18
|
padding:11px 12px;
|
|
21
19
|
cursor:pointer;
|
|
22
|
-
box-sizing:border-box;
|
|
23
20
|
-webkit-user-select:none;
|
|
24
21
|
-moz-user-select:none;
|
|
25
22
|
-ms-user-select:none;
|
|
26
23
|
user-select:none;
|
|
27
|
-
border:1px solid #edeff2;
|
|
28
|
-
border-bottom-color:#dde1e4;
|
|
29
|
-
background-color:#edeff2;
|
|
30
24
|
border:1px solid var(--iui-color-background-3);
|
|
31
25
|
border-bottom-color:var(--iui-color-background-4);
|
|
32
26
|
background-color:var(--iui-color-background-3);
|
|
@@ -54,7 +48,6 @@
|
|
|
54
48
|
height:16px;
|
|
55
49
|
}
|
|
56
50
|
.iui-expandable-block > .iui-header > .iui-icon{
|
|
57
|
-
fill:rgba(0, 0, 0, 0.8);
|
|
58
51
|
fill:var(--iui-icons-color-actionable);
|
|
59
52
|
}
|
|
60
53
|
@media (prefers-reduced-motion: no-preference){
|
|
@@ -64,23 +57,18 @@
|
|
|
64
57
|
}
|
|
65
58
|
.iui-expandable-block > .iui-header > .iui-status-icon{
|
|
66
59
|
margin-left:12px;
|
|
67
|
-
fill:rgba(0, 0, 0, 0.4);
|
|
68
60
|
fill:var(--iui-icons-color);
|
|
69
61
|
}
|
|
70
62
|
.iui-expandable-block > .iui-header > .iui-status-icon.iui-informational{
|
|
71
|
-
fill:#008ae0;
|
|
72
63
|
fill:var(--iui-icons-color-primary);
|
|
73
64
|
}
|
|
74
65
|
.iui-expandable-block > .iui-header > .iui-status-icon.iui-positive{
|
|
75
|
-
fill:#53a21a;
|
|
76
66
|
fill:var(--iui-icons-color-positive);
|
|
77
67
|
}
|
|
78
68
|
.iui-expandable-block > .iui-header > .iui-status-icon.iui-warning{
|
|
79
|
-
fill:#f18d13;
|
|
80
69
|
fill:var(--iui-icons-color-warning);
|
|
81
70
|
}
|
|
82
71
|
.iui-expandable-block > .iui-header > .iui-status-icon.iui-negative{
|
|
83
|
-
fill:#d10a0a;
|
|
84
72
|
fill:var(--iui-icons-color-negative);
|
|
85
73
|
}
|
|
86
74
|
.iui-expandable-block > .iui-header .iui-expandable-block-label{
|
|
@@ -89,7 +77,6 @@
|
|
|
89
77
|
flex:auto;
|
|
90
78
|
min-width:0;
|
|
91
79
|
margin-left:12px;
|
|
92
|
-
color:rgba(0, 0, 0, 0.8);
|
|
93
80
|
color:var(--iui-text-color);
|
|
94
81
|
}
|
|
95
82
|
@media (prefers-reduced-motion: no-preference){
|
|
@@ -108,7 +95,6 @@
|
|
|
108
95
|
}
|
|
109
96
|
.iui-expandable-block > .iui-header .iui-caption{
|
|
110
97
|
font-size:12px;
|
|
111
|
-
color:rgba(0, 0, 0, 0.4);
|
|
112
98
|
color:var(--iui-text-color-muted);
|
|
113
99
|
}
|
|
114
100
|
.iui-expandable-block > .iui-header:focus-visible{
|
|
@@ -123,10 +109,6 @@
|
|
|
123
109
|
}
|
|
124
110
|
.iui-expandable-block .iui-expandable-content{
|
|
125
111
|
overflow:hidden;
|
|
126
|
-
box-sizing:border-box;
|
|
127
|
-
border-bottom:1px solid #dde1e4;
|
|
128
|
-
border-right:1px solid #dde1e4;
|
|
129
|
-
border-left:1px solid #dde1e4;
|
|
130
112
|
border-bottom:1px solid var(--iui-color-background-4);
|
|
131
113
|
border-right:1px solid var(--iui-color-background-4);
|
|
132
114
|
border-left:1px solid var(--iui-color-background-4);
|
|
@@ -157,16 +139,13 @@
|
|
|
157
139
|
padding:11px 12px;
|
|
158
140
|
}
|
|
159
141
|
.iui-expandable-block:hover > .iui-header{
|
|
160
|
-
background-color:#dde1e4;
|
|
161
142
|
background-color:var(--iui-color-background-4);
|
|
162
143
|
}
|
|
163
144
|
.iui-expandable-block:hover > .iui-header > .iui-icon{
|
|
164
|
-
fill:black;
|
|
165
145
|
fill:var(--iui-icons-color-actionable-hover);
|
|
166
146
|
}
|
|
167
147
|
.iui-expandable-block:hover > .iui-header .iui-caption,
|
|
168
148
|
.iui-expandable-block:hover > .iui-header .iui-title{
|
|
169
|
-
color:black;
|
|
170
149
|
color:var(--iui-color-foreground-body);
|
|
171
150
|
}
|
|
172
151
|
@media (prefers-reduced-motion: no-preference){
|
|
@@ -176,21 +155,12 @@
|
|
|
176
155
|
}
|
|
177
156
|
}
|
|
178
157
|
.iui-expandable-block.iui-expanded > .iui-header{
|
|
179
|
-
background-color:#edeff2;
|
|
180
|
-
border-left:1px solid #dde1e4;
|
|
181
|
-
border-top:1px solid #dde1e4;
|
|
182
|
-
border-right:1px solid #dde1e4;
|
|
183
158
|
background-color:var(--iui-color-background-3);
|
|
184
159
|
border-left:1px solid var(--iui-color-background-4);
|
|
185
160
|
border-top:1px solid var(--iui-color-background-4);
|
|
186
161
|
border-right:1px solid var(--iui-color-background-4);
|
|
187
162
|
}
|
|
188
163
|
.iui-expandable-block.iui-expanded > .iui-header:hover{
|
|
189
|
-
background-color:#dde1e4;
|
|
190
|
-
background-color:var(--iui-color-background-4);
|
|
191
|
-
}
|
|
192
|
-
.iui-expandable-block.iui-expanded > .iui-header:hover{
|
|
193
|
-
background-color:#dde1e4;
|
|
194
164
|
background-color:var(--iui-color-background-4);
|
|
195
165
|
}
|
|
196
166
|
.iui-expandable-block.iui-expanded > .iui-header > .iui-icon{
|
|
@@ -216,10 +186,9 @@
|
|
|
216
186
|
border:initial;
|
|
217
187
|
}
|
|
218
188
|
.iui-expandable-block.iui-borderless .iui-header{
|
|
219
|
-
border-radius:
|
|
189
|
+
border-radius:4px;
|
|
220
190
|
}
|
|
221
191
|
.iui-expandable-block.iui-borderless .iui-header:hover{
|
|
222
|
-
background-color:rgba(0, 0, 0, 0.1);
|
|
223
192
|
background-color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-6));
|
|
224
193
|
}
|
|
225
194
|
.iui-expandable-block.iui-borderless .iui-expandable-content > div{
|