@itwin/itwinui-css 0.61.0 → 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/README.md +1 -4
- package/css/alert.css +272 -138
- package/css/all.css +4070 -5172
- package/css/anchor.css +0 -4
- package/css/{user-icon.css → avatar.css} +51 -71
- package/css/badge.css +1 -1
- package/css/blockquote.css +0 -3
- package/css/breadcrumbs.css +59 -132
- package/css/button.css +255 -340
- package/css/carousel.css +6 -14
- package/css/checkbox.css +149 -0
- package/css/code.css +2 -10
- package/css/color-picker.css +5 -43
- package/css/date-picker.css +0 -59
- package/css/dialog.css +0 -5
- package/css/expandable-block.css +0 -31
- package/css/fieldset.css +0 -5
- package/css/file-upload.css +0 -15
- package/css/footer.css +0 -8
- 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 +1 -5
- package/css/location-marker.css +0 -11
- package/css/menu.css +0 -16
- 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 +251 -338
- package/css/tabs.css +6 -49
- package/css/tag.css +3 -21
- package/css/text.css +0 -2
- package/css/textarea.css +96 -0
- package/css/tile.css +169 -155
- package/css/time-picker.css +0 -12
- package/css/{toast-notification.css → toast.css} +1 -43
- package/css/toggle-switch.css +13 -60
- package/css/tooltip.css +0 -3
- 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/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 +10 -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/dialog.scss +1 -6
- 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 +10 -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/{inputs → select}/select.scss +7 -15
- 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} +3 -1
- 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 +6 -18
- package/scss/tabs/default.scss +8 -21
- package/scss/tabs/pill.scss +4 -14
- package/scss/tabs/tabs.scss +16 -44
- package/scss/tag/classes.scss +1 -0
- package/scss/tag/tag.scss +9 -19
- 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 -48
- 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 +10 -6
- package/css/inputs.css +0 -1339
- 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/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
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2
|
-
// See LICENSE.md in the project root for license terms and full copyright notice.
|
|
3
|
-
@import '../style/index';
|
|
4
|
-
|
|
5
|
-
@mixin iui-inputs-checkbox-radio {
|
|
6
|
-
@include iui-reset;
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
font-size: $iui-font-size;
|
|
10
|
-
width: fit-content;
|
|
11
|
-
user-select: none;
|
|
12
|
-
position: relative;
|
|
13
|
-
cursor: pointer;
|
|
14
|
-
@include themed {
|
|
15
|
-
color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-2));
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
gap: $iui-s;
|
|
19
|
-
|
|
20
|
-
// #region flex gap fallback
|
|
21
|
-
> * + * {
|
|
22
|
-
margin-left: $iui-s;
|
|
23
|
-
@supports (gap: $iui-s) {
|
|
24
|
-
margin-left: 0;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
// #endregion
|
|
28
|
-
|
|
29
|
-
&.iui-loading {
|
|
30
|
-
cursor: wait;
|
|
31
|
-
color: var(--iui-text-color-muted);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
> .iui-checkbox-label,
|
|
35
|
-
> .iui-radio-label {
|
|
36
|
-
display: flex;
|
|
37
|
-
align-items: center;
|
|
38
|
-
|
|
39
|
-
svg {
|
|
40
|
-
width: $iui-icons-default;
|
|
41
|
-
height: $iui-icons-default;
|
|
42
|
-
vertical-align: middle;
|
|
43
|
-
fill: currentColor;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&.iui-disabled {
|
|
48
|
-
cursor: not-allowed;
|
|
49
|
-
color: var(--iui-text-color-muted);
|
|
50
|
-
|
|
51
|
-
svg {
|
|
52
|
-
fill: var(--iui-icons-color-actionable-disabled);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&.iui-positive {
|
|
57
|
-
@include themed {
|
|
58
|
-
color: t(iui-color-foreground-positive);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&.iui-warning {
|
|
63
|
-
@include themed {
|
|
64
|
-
color: t(iui-color-foreground-warning);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&.iui-negative {
|
|
69
|
-
@include themed {
|
|
70
|
-
color: t(iui-color-foreground-negative);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
package/scss/inputs/index.scss
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2
|
-
// See LICENSE.md in the project root for license terms and full copyright notice.
|
|
3
|
-
@import './labeled-inputs';
|
|
4
|
-
@import './input';
|
|
5
|
-
@import './input-with-icon';
|
|
6
|
-
@import './textarea';
|
|
7
|
-
@import './select';
|
|
8
|
-
@import './checkbox-radio';
|
|
9
|
-
@import './checkbox';
|
|
10
|
-
@import './radio';
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2
|
-
// See LICENSE.md in the project root for license terms and full copyright notice.
|
|
3
|
-
@import './style/index';
|
|
4
|
-
@import './text/mixins';
|
|
5
|
-
|
|
6
|
-
html,
|
|
7
|
-
body {
|
|
8
|
-
@include iui-font-family;
|
|
9
|
-
@include iui-text(body);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
b,
|
|
13
|
-
strong {
|
|
14
|
-
font-weight: $iui-font-weight-bold;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
caption,
|
|
18
|
-
small {
|
|
19
|
-
@include iui-text(small);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
p {
|
|
23
|
-
margin-bottom: $iui-line-height;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
h1,
|
|
27
|
-
h2,
|
|
28
|
-
h3,
|
|
29
|
-
h4,
|
|
30
|
-
h5,
|
|
31
|
-
h6 {
|
|
32
|
-
@include iui-text(body);
|
|
33
|
-
}
|
package/scss/style/anchor.scss
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2
|
-
// See LICENSE.md in the project root for license terms and full copyright notice.
|
|
3
|
-
@import './index';
|
|
4
|
-
|
|
5
|
-
@mixin iui-anchor {
|
|
6
|
-
@include iui-anchor-status('primary');
|
|
7
|
-
border-radius: $iui-border-radius;
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
cursor: pointer;
|
|
10
|
-
|
|
11
|
-
@include iui-anchor-underline('on-hover');
|
|
12
|
-
|
|
13
|
-
@media (prefers-contrast: more) {
|
|
14
|
-
@include iui-anchor-underline('on-initial');
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@at-root {
|
|
18
|
-
.iui-theme-light &,
|
|
19
|
-
.iui-theme-dark & {
|
|
20
|
-
@include iui-anchor-underline('on-hover');
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@at-root {
|
|
25
|
-
.iui-theme-light-hc &,
|
|
26
|
-
.iui-theme-dark-hc & {
|
|
27
|
-
@include iui-anchor-underline('on-initial');
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
@mixin iui-anchor-external {
|
|
33
|
-
--_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>");
|
|
34
|
-
|
|
35
|
-
&::after {
|
|
36
|
-
content: '';
|
|
37
|
-
display: inline-block;
|
|
38
|
-
width: 1.5ch;
|
|
39
|
-
height: 1.5ch;
|
|
40
|
-
margin-left: 0.5ch;
|
|
41
|
-
vertical-align: -0.1ch;
|
|
42
|
-
background-color: currentColor;
|
|
43
|
-
mask: var(--_iui-anchor-external-svg);
|
|
44
|
-
@media (forced-colors: active) {
|
|
45
|
-
background-color: LinkText;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
@mixin iui-anchor-status($status: primary) {
|
|
51
|
-
@include iui-focus($color: var(--iui-color-foreground-#{$status}), $offset: 1px);
|
|
52
|
-
@include themed {
|
|
53
|
-
color: t(iui-color-foreground-#{$status});
|
|
54
|
-
-webkit-tap-highlight-color: rgba(t(iui-color-foreground-#{$status}-rgb), t(iui-opacity-5));
|
|
55
|
-
}
|
|
56
|
-
@if $status != primary {
|
|
57
|
-
@include iui-text-selection($status);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&:hover {
|
|
61
|
-
@include themed {
|
|
62
|
-
color: t(iui-color-foreground-#{$status}-overlay);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/// $behavior should be one of: 'on-hover' or 'on-initial'
|
|
68
|
-
@mixin iui-anchor-underline($behavior: 'on-hover') {
|
|
69
|
-
@if $behavior == 'on-hover' {
|
|
70
|
-
text-decoration: none;
|
|
71
|
-
|
|
72
|
-
&:hover {
|
|
73
|
-
text-decoration: underline;
|
|
74
|
-
}
|
|
75
|
-
} @else {
|
|
76
|
-
text-decoration: underline;
|
|
77
|
-
|
|
78
|
-
&:hover {
|
|
79
|
-
text-decoration: none;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
package/scss/style/ripple.scss
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2
|
-
// See LICENSE.md in the project root for license terms and full copyright notice.
|
|
3
|
-
@import './speed';
|
|
4
|
-
|
|
5
|
-
@mixin iui-ripple($hoverColor, $rippleColor) {
|
|
6
|
-
background-position: center;
|
|
7
|
-
transition: background $iui-speed ease-out;
|
|
8
|
-
|
|
9
|
-
&:hover {
|
|
10
|
-
background: $hoverColor radial-gradient(circle, transparent 1%, #{$hoverColor} 1%) center/15000%;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&:active {
|
|
14
|
-
background-color: $rippleColor;
|
|
15
|
-
background-size: 100%;
|
|
16
|
-
transition: background $iui-speed-instant;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2
|
-
// See LICENSE.md in the project root for license terms and full copyright notice.
|
|
3
|
-
@import '../style/index';
|
|
4
|
-
@import './variables';
|
|
5
|
-
|
|
6
|
-
@mixin iui-table-condensed {
|
|
7
|
-
.iui-table-header .iui-cell,
|
|
8
|
-
.iui-paginator {
|
|
9
|
-
min-height: $iui-baseline * 4;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.iui-row .iui-cell {
|
|
13
|
-
min-height: $iui-baseline * 4 + 2px;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2
|
-
// See LICENSE.md in the project root for license terms and full copyright notice.
|
|
3
|
-
@import '../style/index';
|
|
4
|
-
@import './variables';
|
|
5
|
-
|
|
6
|
-
@mixin iui-table-extra-condensed {
|
|
7
|
-
.iui-table-header .iui-cell,
|
|
8
|
-
.iui-paginator {
|
|
9
|
-
min-height: $iui-baseline * 3;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.iui-row .iui-cell {
|
|
13
|
-
min-height: $iui-baseline * 3 + 2px;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.iui-table-header .iui-cell {
|
|
17
|
-
padding-block: $iui-baseline * 0.25;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2
|
-
// See LICENSE.md in the project root for license terms and full copyright notice.
|
|
3
|
-
@import './index';
|
|
4
|
-
|
|
5
|
-
.iui-user-icon {
|
|
6
|
-
@include iui-user-icon;
|
|
7
|
-
|
|
8
|
-
&#{&} {
|
|
9
|
-
@include iui-user-icon-size;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&.iui-small {
|
|
13
|
-
@include iui-user-icon-size($size: $iui-icons-large, $font-size: $iui-font-size-small);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&.iui-large {
|
|
17
|
-
@include iui-user-icon-size($size: $iui-icons-xxl, $font-size: $iui-font-size-subheading);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&.iui-x-large {
|
|
21
|
-
@include iui-user-icon-size($size: $iui-icons-3xl, $font-size: $iui-font-size-title);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.iui-user-icon-list {
|
|
26
|
-
@include iui-user-icon-list;
|
|
27
|
-
}
|
package/scss/wizard/classes.scss
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2
|
-
// See LICENSE.md in the project root for license terms and full copyright notice.
|
|
3
|
-
@import './index';
|
|
4
|
-
|
|
5
|
-
.iui-wizard {
|
|
6
|
-
@include iui-wizard;
|
|
7
|
-
|
|
8
|
-
&.iui-long {
|
|
9
|
-
@include iui-wizard-long;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&.iui-workflow {
|
|
13
|
-
@include iui-wizard-workflow;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.iui-wizard-step {
|
|
18
|
-
@include iui-wizard-step;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.iui-wizard-track-content {
|
|
22
|
-
@include iui-wizard-track-content;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.iui-wizard-step-name {
|
|
26
|
-
@include iui-wizard-step-name;
|
|
27
|
-
}
|
package/scss/wizard/index.scss
DELETED
package/scss/wizard/long.scss
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2
|
-
// See LICENSE.md in the project root for license terms and full copyright notice.
|
|
3
|
-
@import '../style/index';
|
|
4
|
-
|
|
5
|
-
@mixin iui-wizard-long {
|
|
6
|
-
.iui-wizard-steps-label {
|
|
7
|
-
display: block;
|
|
8
|
-
font-size: $iui-font-size-subheading;
|
|
9
|
-
text-align: center;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.iui-steps-count {
|
|
13
|
-
user-select: none;
|
|
14
|
-
margin-right: $iui-s;
|
|
15
|
-
@include themed {
|
|
16
|
-
color: t(iui-text-color-muted);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
package/scss/wizard/wizard.scss
DELETED
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2
|
-
// See LICENSE.md in the project root for license terms and full copyright notice.
|
|
3
|
-
@import '../style/index';
|
|
4
|
-
@import '../text/index';
|
|
5
|
-
|
|
6
|
-
@mixin iui-wizard {
|
|
7
|
-
@include iui-reset;
|
|
8
|
-
|
|
9
|
-
> ol {
|
|
10
|
-
@include iui-reset;
|
|
11
|
-
display: flex;
|
|
12
|
-
justify-content: space-around;
|
|
13
|
-
align-items: flex-start;
|
|
14
|
-
width: 100%;
|
|
15
|
-
margin-bottom: $iui-baseline * 0.5;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@mixin iui-wizard-step {
|
|
20
|
-
flex: 1;
|
|
21
|
-
align-items: center;
|
|
22
|
-
display: flex;
|
|
23
|
-
flex-direction: column;
|
|
24
|
-
@include iui-text(small);
|
|
25
|
-
@include themed {
|
|
26
|
-
color: t(iui-color-background-positive);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// Completed steps
|
|
30
|
-
.iui-wizard-circle {
|
|
31
|
-
align-items: center;
|
|
32
|
-
border-radius: 50%;
|
|
33
|
-
display: flex;
|
|
34
|
-
width: $iui-l;
|
|
35
|
-
height: $iui-l;
|
|
36
|
-
justify-content: center;
|
|
37
|
-
overflow-wrap: break-word;
|
|
38
|
-
user-select: none;
|
|
39
|
-
transition: background-color $iui-speed-fast ease-out, border-color $iui-speed-fast ease-out,
|
|
40
|
-
color $iui-speed-fast ease-out;
|
|
41
|
-
@include themed {
|
|
42
|
-
border: 1px solid t(iui-color-foreground-positive);
|
|
43
|
-
background-color: t(iui-color-background-1);
|
|
44
|
-
color: t(iui-color-foreground-positive);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// Current step
|
|
49
|
-
&.iui-current {
|
|
50
|
-
font-weight: $iui-font-weight-semibold;
|
|
51
|
-
|
|
52
|
-
.iui-wizard-step-name {
|
|
53
|
-
@include themed {
|
|
54
|
-
color: t(iui-color-foreground-positive);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.iui-wizard-circle {
|
|
59
|
-
@include themed {
|
|
60
|
-
color: t(iui-color-foreground-accessory);
|
|
61
|
-
border-color: t(iui-color-background-positive);
|
|
62
|
-
background-color: t(iui-color-background-positive);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.iui-wizard-track-content::after {
|
|
67
|
-
@include themed {
|
|
68
|
-
background-color: t(iui-color-background-5);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// Future steps
|
|
74
|
-
&.iui-current ~ & {
|
|
75
|
-
.iui-wizard-circle {
|
|
76
|
-
@include themed {
|
|
77
|
-
border: 1px solid t(iui-color-background-border);
|
|
78
|
-
background-color: t(iui-color-background-1);
|
|
79
|
-
color: t(iui-text-color-muted);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.iui-wizard-step-name {
|
|
84
|
-
@include themed {
|
|
85
|
-
color: t(iui-text-color-muted);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.iui-wizard-track-content::before,
|
|
90
|
-
&:not(:last-of-type) .iui-wizard-track-content::after {
|
|
91
|
-
@include themed {
|
|
92
|
-
background-color: t(iui-color-background-5);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Clickable steps
|
|
98
|
-
&.iui-clickable {
|
|
99
|
-
.iui-wizard-circle {
|
|
100
|
-
cursor: pointer;
|
|
101
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
102
|
-
transition: background-color $iui-speed-fast ease-out;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&:hover {
|
|
106
|
-
@include themed {
|
|
107
|
-
color: t(iui-color-foreground-accessory);
|
|
108
|
-
border: 1px solid t(iui-color-background-positive);
|
|
109
|
-
background-color: t(iui-color-background-positive);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
&:focus {
|
|
115
|
-
outline: 0;
|
|
116
|
-
|
|
117
|
-
.iui-wizard-circle {
|
|
118
|
-
@include themed {
|
|
119
|
-
outline: 2px solid t(iui-color-foreground-positive);
|
|
120
|
-
}
|
|
121
|
-
outline-offset: -1px;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
&:focus:not(:focus-visible) {
|
|
126
|
-
.iui-wizard-circle {
|
|
127
|
-
outline: none;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
&:first-of-type .iui-wizard-track-content::before,
|
|
133
|
-
&:last-of-type .iui-wizard-track-content::after {
|
|
134
|
-
background-color: transparent;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
@mixin iui-wizard-track-content {
|
|
139
|
-
display: flex;
|
|
140
|
-
align-items: center;
|
|
141
|
-
width: 100%;
|
|
142
|
-
|
|
143
|
-
&::before,
|
|
144
|
-
&::after {
|
|
145
|
-
content: '';
|
|
146
|
-
height: $iui-xxs;
|
|
147
|
-
flex: 1 2 auto;
|
|
148
|
-
@include themed {
|
|
149
|
-
background-color: t(iui-color-foreground-positive);
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
@mixin iui-wizard-step-name {
|
|
155
|
-
text-align: center;
|
|
156
|
-
user-select: all;
|
|
157
|
-
@include themed {
|
|
158
|
-
color: t(iui-color-foreground-positive);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2
|
-
// See LICENSE.md in the project root for license terms and full copyright notice.
|
|
3
|
-
@import '../style/index';
|
|
4
|
-
|
|
5
|
-
@mixin iui-wizard-workflow {
|
|
6
|
-
> ol {
|
|
7
|
-
align-items: center;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.iui-wizard-step {
|
|
11
|
-
.iui-wizard-circle {
|
|
12
|
-
padding-left: $iui-m;
|
|
13
|
-
padding-right: $iui-m;
|
|
14
|
-
height: 100%;
|
|
15
|
-
width: auto;
|
|
16
|
-
border-radius: 0;
|
|
17
|
-
font-weight: $iui-font-weight-normal;
|
|
18
|
-
text-align: center;
|
|
19
|
-
@include themed {
|
|
20
|
-
background-color: t(iui-color-background-positive);
|
|
21
|
-
border-color: t(iui-color-background-positive);
|
|
22
|
-
color: t(iui-color-foreground-accessory);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&:first-of-type .iui-wizard-circle,
|
|
27
|
-
&:last-of-type .iui-wizard-circle {
|
|
28
|
-
border-radius: $iui-sm;
|
|
29
|
-
@include themed {
|
|
30
|
-
background-color: t(iui-color-background-1);
|
|
31
|
-
border-color: t(iui-color-foreground-positive);
|
|
32
|
-
color: t(iui-color-foreground-positive);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.iui-wizard-track-content::before,
|
|
38
|
-
.iui-wizard-track-content::after {
|
|
39
|
-
@include themed {
|
|
40
|
-
background-color: t(iui-color-foreground-positive);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|