@itwin/itwinui-css 1.0.0-dev.0 → 1.0.0-dev.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/CHANGELOG.md +26 -0
- package/css/alert.css +81 -92
- package/css/all.css +2079 -2678
- package/css/anchor.css +3 -3
- package/css/avatar.css +46 -46
- package/css/backdrop.css +6 -4
- package/css/badge.css +8 -8
- package/css/blockquote.css +6 -6
- package/css/breadcrumbs.css +63 -52
- package/css/button.css +113 -135
- package/css/carousel.css +17 -15
- package/css/checkbox.css +24 -21
- package/css/code.css +15 -14
- package/css/color-picker.css +41 -44
- package/css/date-picker.css +59 -88
- package/css/dialog.css +28 -26
- package/css/expandable-block.css +36 -57
- package/css/fieldset.css +7 -7
- package/css/file-upload.css +20 -28
- package/css/footer.css +35 -35
- package/css/global.css +50 -617
- package/css/header.css +58 -51
- package/css/information-panel.css +38 -32
- package/css/input.css +64 -56
- package/css/keyboard.css +6 -10
- package/css/location-marker.css +32 -18
- package/css/menu.css +41 -27
- package/css/non-ideal-state.css +12 -12
- package/css/progress-indicator.css +37 -35
- package/css/radio-tile.css +39 -38
- package/css/radio.css +24 -21
- package/css/select.css +89 -80
- package/css/side-navigation.css +34 -38
- package/css/skip-to-content.css +11 -11
- package/css/slider.css +155 -55
- package/css/stepper.css +17 -17
- package/css/surface.css +2 -2
- package/css/table.css +152 -134
- package/css/tabs.css +61 -47
- package/css/tag.css +24 -25
- package/css/text.css +24 -24
- package/css/tile.css +145 -154
- package/css/time-picker.css +16 -14
- package/css/toast.css +49 -47
- package/css/toggle-switch.css +26 -26
- package/css/tooltip.css +6 -10
- package/css/tree.css +30 -35
- package/css/utils.css +228 -154
- package/css/workflow-diagram.css +8 -8
- package/package.json +8 -11
- package/css/icon.css +0 -117
- package/css/textarea.css +0 -96
- package/scss/alert/alert.scss +0 -89
- package/scss/alert/classes.scss +0 -33
- package/scss/alert/index.scss +0 -3
- package/scss/anchor/anchor.scss +0 -78
- package/scss/anchor/classes.scss +0 -11
- package/scss/anchor/index.scss +0 -3
- package/scss/avatar/avatar-sizes.scss +0 -23
- package/scss/avatar/avatar.scss +0 -215
- package/scss/avatar/classes.scss +0 -27
- package/scss/avatar/index.scss +0 -3
- package/scss/backdrop/backdrop.scss +0 -27
- package/scss/backdrop/classes.scss +0 -7
- package/scss/backdrop/index.scss +0 -3
- package/scss/badge/badge.scss +0 -34
- package/scss/badge/classes.scss +0 -7
- package/scss/badge/index.scss +0 -3
- package/scss/blockquote/blockquote.scss +0 -26
- package/scss/blockquote/classes.scss +0 -7
- package/scss/blockquote/index.scss +0 -3
- package/scss/breadcrumbs/breadcrumbs.scss +0 -119
- package/scss/breadcrumbs/classes.scss +0 -31
- package/scss/breadcrumbs/index.scss +0 -3
- package/scss/button/borderless.scss +0 -36
- package/scss/button/button-group.scss +0 -118
- package/scss/button/button.scss +0 -119
- package/scss/button/classes.scss +0 -80
- package/scss/button/default.scss +0 -51
- package/scss/button/idea.scss +0 -12
- package/scss/button/index.scss +0 -9
- package/scss/button/split-button.scss +0 -45
- package/scss/button/variant.scss +0 -44
- package/scss/carousel/carousel.scss +0 -113
- package/scss/carousel/classes.scss +0 -15
- package/scss/carousel/index.scss +0 -3
- package/scss/checkbox/checkbox.scss +0 -154
- package/scss/checkbox/classes.scss +0 -7
- package/scss/checkbox/index.scss +0 -3
- package/scss/classes.scss +0 -52
- package/scss/code/classes.scss +0 -11
- package/scss/code/code.scss +0 -16
- package/scss/code/codeblock.scss +0 -59
- package/scss/code/index.scss +0 -4
- package/scss/color-picker/classes.scss +0 -43
- package/scss/color-picker/color-picker.scss +0 -241
- package/scss/color-picker/index.scss +0 -3
- package/scss/date-picker/classes.scss +0 -47
- package/scss/date-picker/date-picker.scss +0 -246
- package/scss/date-picker/index.scss +0 -3
- package/scss/dialog/classes.scss +0 -48
- package/scss/dialog/dialog.scss +0 -178
- package/scss/dialog/index.scss +0 -3
- package/scss/expandable-block/block.scss +0 -165
- package/scss/expandable-block/classes.scss +0 -7
- package/scss/expandable-block/index.scss +0 -3
- package/scss/fieldset/classes.scss +0 -7
- package/scss/fieldset/fieldset.scss +0 -29
- package/scss/fieldset/index.scss +0 -3
- package/scss/file-upload/classes.scss +0 -7
- package/scss/file-upload/file-upload.scss +0 -80
- package/scss/file-upload/index.scss +0 -3
- package/scss/footer/classes.scss +0 -7
- package/scss/footer/footer.scss +0 -55
- package/scss/footer/index.scss +0 -3
- package/scss/header/classes.scss +0 -79
- package/scss/header/header-buttons.scss +0 -316
- package/scss/header/header.scss +0 -75
- package/scss/header/index.scss +0 -4
- package/scss/icon/classes.scss +0 -27
- package/scss/icon/icon.scss +0 -65
- package/scss/icon/index.scss +0 -3
- package/scss/index.scss +0 -50
- package/scss/information-panel/classes.scss +0 -27
- package/scss/information-panel/index.scss +0 -3
- package/scss/information-panel/information-panel.scss +0 -215
- package/scss/input/classes.scss +0 -15
- package/scss/input/index.scss +0 -4
- package/scss/input/input-with-icon.scss +0 -37
- package/scss/input/input.scss +0 -70
- package/scss/keyboard/classes.scss +0 -7
- package/scss/keyboard/index.scss +0 -3
- package/scss/keyboard/keyboard.scss +0 -29
- package/scss/location-marker/classes.scss +0 -15
- package/scss/location-marker/data-rich.scss +0 -49
- package/scss/location-marker/default.scss +0 -19
- package/scss/location-marker/index.scss +0 -6
- package/scss/location-marker/location-marker.scss +0 -11
- package/scss/location-marker/me.scss +0 -29
- package/scss/menu/classes.scss +0 -21
- package/scss/menu/index.scss +0 -3
- package/scss/menu/menu.scss +0 -185
- package/scss/non-ideal-state/classes.scss +0 -7
- package/scss/non-ideal-state/index.scss +0 -3
- package/scss/non-ideal-state/non-ideal-state.scss +0 -56
- package/scss/progress-indicator/classes.scss +0 -31
- package/scss/progress-indicator/index.scss +0 -5
- package/scss/progress-indicator/linear.scss +0 -108
- package/scss/progress-indicator/overlay.scss +0 -51
- package/scss/progress-indicator/radial.scss +0 -155
- package/scss/radio/classes.scss +0 -7
- package/scss/radio/index.scss +0 -3
- package/scss/radio/radio.scss +0 -18
- package/scss/radio-tile/classes.scss +0 -31
- package/scss/radio-tile/index.scss +0 -3
- package/scss/radio-tile/radio-tile.scss +0 -167
- package/scss/select/classes.scss +0 -27
- package/scss/select/index.scss +0 -3
- package/scss/select/select.scss +0 -124
- package/scss/side-navigation/classes.scss +0 -15
- package/scss/side-navigation/index.scss +0 -3
- package/scss/side-navigation/side-navigation.scss +0 -202
- package/scss/skip-to-content/classes.scss +0 -7
- package/scss/skip-to-content/index.scss +0 -3
- package/scss/skip-to-content/skip-to-content.scss +0 -40
- package/scss/slider/classes.scss +0 -27
- package/scss/slider/index.scss +0 -3
- package/scss/slider/slider.scss +0 -135
- package/scss/stepper/classes.scss +0 -32
- package/scss/stepper/index.scss +0 -3
- package/scss/stepper/stepper.scss +0 -151
- package/scss/style/baseline.scss +0 -4
- package/scss/style/color.scss +0 -39
- package/scss/style/elevation.scss +0 -11
- package/scss/style/global-variables.scss +0 -23
- package/scss/style/global.scss +0 -69
- package/scss/style/icon-sizes.scss +0 -14
- package/scss/style/index.scss +0 -11
- package/scss/style/space.scss +0 -11
- package/scss/style/speed.scss +0 -8
- package/scss/style/theme.scss +0 -443
- package/scss/style/typography.scss +0 -55
- package/scss/surface/classes.scss +0 -7
- package/scss/surface/index.scss +0 -3
- package/scss/surface/surface.scss +0 -17
- package/scss/table/classes.scss +0 -64
- package/scss/table/column-filter.scss +0 -34
- package/scss/table/index.scss +0 -6
- package/scss/table/paginator.scss +0 -79
- package/scss/table/sizes.scss +0 -31
- package/scss/table/table-densities.scss +0 -11
- package/scss/table/table.scss +0 -482
- package/scss/tabs/borderless.scss +0 -59
- package/scss/tabs/classes.scss +0 -44
- package/scss/tabs/default.scss +0 -89
- package/scss/tabs/index.scss +0 -6
- package/scss/tabs/pill.scss +0 -38
- package/scss/tabs/tabs.scss +0 -192
- package/scss/tag/classes.scss +0 -30
- package/scss/tag/index.scss +0 -3
- package/scss/tag/tag.scss +0 -89
- package/scss/text/classes.scss +0 -40
- package/scss/text/index.scss +0 -5
- package/scss/text/mixins.scss +0 -43
- package/scss/text/muted.scss +0 -7
- package/scss/text/skeleton.scss +0 -43
- package/scss/textarea/classes.scss +0 -7
- package/scss/textarea/index.scss +0 -3
- package/scss/textarea/textarea.scss +0 -15
- package/scss/tile/classes.scss +0 -51
- package/scss/tile/index.scss +0 -3
- package/scss/tile/tile.scss +0 -340
- package/scss/time-picker/classes.scss +0 -16
- package/scss/time-picker/index.scss +0 -3
- package/scss/time-picker/time-picker.scss +0 -63
- package/scss/toast/categories.scss +0 -22
- package/scss/toast/classes.scss +0 -98
- package/scss/toast/index.scss +0 -4
- package/scss/toast/toast.scss +0 -70
- package/scss/toggle-switch/classes.scss +0 -11
- package/scss/toggle-switch/index.scss +0 -3
- package/scss/toggle-switch/toggle-switch.scss +0 -203
- package/scss/tooltip/classes.scss +0 -24
- package/scss/tooltip/index.scss +0 -3
- package/scss/tooltip/tooltip.scss +0 -40
- package/scss/tree/classes.scss +0 -19
- package/scss/tree/index.scss +0 -3
- package/scss/tree/tree.scss +0 -126
- package/scss/utils/classes.scss +0 -6
- package/scss/utils/index.scss +0 -6
- package/scss/utils/input-container/classes.scss +0 -39
- package/scss/utils/input-container/index.scss +0 -3
- package/scss/utils/input-container/input-container.scss +0 -285
- package/scss/utils/mixins.scss +0 -171
- package/scss/utils/notification-marker/classes.scss +0 -9
- package/scss/utils/notification-marker/index.scss +0 -3
- package/scss/utils/notification-marker/notification-marker.scss +0 -55
- package/scss/utils/popover/classes.scss +0 -7
- package/scss/utils/popover/index.scss +0 -3
- package/scss/utils/popover/popover.scss +0 -21
- package/scss/variables.scss +0 -3
- package/scss/workflow-diagram/classes.scss +0 -15
- package/scss/workflow-diagram/index.scss +0 -3
- package/scss/workflow-diagram/workflow-diagram.scss +0 -64
- package/src/index.scss +0 -50
package/scss/slider/slider.scss
DELETED
|
@@ -1,135 +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 '../icon/index';
|
|
5
|
-
@import '../utils/index';
|
|
6
|
-
|
|
7
|
-
$thumb-height: $iui-m; // 16px
|
|
8
|
-
$track-height: $iui-xs; // 4px
|
|
9
|
-
$tick-height: $iui-baseline; // 11px
|
|
10
|
-
|
|
11
|
-
@mixin iui-slider-component-container {
|
|
12
|
-
display: flex;
|
|
13
|
-
min-height: $iui-baseline * 2;
|
|
14
|
-
|
|
15
|
-
.iui-slider-min,
|
|
16
|
-
.iui-slider-max {
|
|
17
|
-
user-select: all;
|
|
18
|
-
margin-top: $iui-xxs;
|
|
19
|
-
|
|
20
|
-
svg {
|
|
21
|
-
@include iui-icons-default;
|
|
22
|
-
margin-top: $iui-xs;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.iui-slider-min {
|
|
27
|
-
margin-right: $iui-sm;
|
|
28
|
-
text-align: right;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.iui-slider-max {
|
|
32
|
-
margin-left: $iui-sm;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&.iui-disabled {
|
|
36
|
-
@include iui-slider-disabled;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
@mixin iui-slider-container {
|
|
41
|
-
position: relative;
|
|
42
|
-
flex-grow: 1;
|
|
43
|
-
cursor: pointer;
|
|
44
|
-
touch-action: pan-y;
|
|
45
|
-
isolation: isolate;
|
|
46
|
-
|
|
47
|
-
&.iui-grabbing {
|
|
48
|
-
cursor: grabbing;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
@mixin iui-slider-rail {
|
|
53
|
-
position: absolute;
|
|
54
|
-
width: 100%;
|
|
55
|
-
height: $track-height;
|
|
56
|
-
top: $iui-sm;
|
|
57
|
-
background-color: var(--iui-color-background-border);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
@mixin iui-slider-thumb {
|
|
61
|
-
box-sizing: content-box;
|
|
62
|
-
position: absolute;
|
|
63
|
-
height: $thumb-height;
|
|
64
|
-
width: $thumb-height;
|
|
65
|
-
border-radius: 100%;
|
|
66
|
-
top: $track-height + 1; // position center of thumb in center of track
|
|
67
|
-
transform: translateX(
|
|
68
|
-
(-$thumb-height - 2) * 0.5
|
|
69
|
-
); // Adjust the left (set in code) by radius of thumb so thumb center is at value position
|
|
70
|
-
z-index: 1;
|
|
71
|
-
cursor: grab;
|
|
72
|
-
@include iui-focus($thickness: 2px);
|
|
73
|
-
background: var(--iui-color-background-1);
|
|
74
|
-
border: 1px solid var(--iui-color-background-border);
|
|
75
|
-
|
|
76
|
-
&:active {
|
|
77
|
-
cursor: grabbing;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
@mixin iui-slider-track {
|
|
82
|
-
pointer-events: none;
|
|
83
|
-
position: absolute;
|
|
84
|
-
height: $track-height;
|
|
85
|
-
left: 0;
|
|
86
|
-
top: $iui-sm;
|
|
87
|
-
background-color: var(--iui-color-foreground-primary);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
@mixin iui-slider-ticks {
|
|
91
|
-
position: relative;
|
|
92
|
-
padding-top: $iui-m;
|
|
93
|
-
display: flex;
|
|
94
|
-
pointer-events: none;
|
|
95
|
-
justify-content: space-between;
|
|
96
|
-
user-select: none;
|
|
97
|
-
|
|
98
|
-
.iui-slider-tick {
|
|
99
|
-
position: relative;
|
|
100
|
-
display: flex;
|
|
101
|
-
pointer-events: none;
|
|
102
|
-
justify-content: center;
|
|
103
|
-
width: 1px;
|
|
104
|
-
height: $tick-height;
|
|
105
|
-
line-height: $tick-height * 4;
|
|
106
|
-
margin-bottom: $tick-height * 2;
|
|
107
|
-
background-color: var(--iui-color-background-4);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
@mixin iui-slider-disabled {
|
|
112
|
-
cursor: not-allowed;
|
|
113
|
-
|
|
114
|
-
.iui-slider-container {
|
|
115
|
-
cursor: not-allowed;
|
|
116
|
-
pointer-events: none;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.iui-slider-thumb {
|
|
120
|
-
cursor: not-allowed;
|
|
121
|
-
background-color: var(--iui-color-background-4);
|
|
122
|
-
border-color: var(--iui-color-background-4);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.iui-slider-track {
|
|
126
|
-
background-color: rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-4));
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.iui-slider-min,
|
|
130
|
-
.iui-slider-max,
|
|
131
|
-
.iui-slider-tick {
|
|
132
|
-
user-select: none;
|
|
133
|
-
color: var(--iui-text-color-muted);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
@@ -1,32 +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-stepper {
|
|
6
|
-
@include iui-stepper;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.iui-stepper-step {
|
|
10
|
-
@include iui-stepper-step;
|
|
11
|
-
@include iui-stepper-step-modifiers;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.iui-stepper-circle {
|
|
15
|
-
@include iui-stepper-circle;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.iui-stepper-track-content {
|
|
19
|
-
@include iui-stepper-track-content;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.iui-stepper-step-name {
|
|
23
|
-
@include iui-stepper-step-name;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.iui-stepper-steps-label {
|
|
27
|
-
@include iui-stepper-steps-label;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.iui-stepper-steps-label-count {
|
|
31
|
-
@include iui-stepper-steps-label-count;
|
|
32
|
-
}
|
package/scss/stepper/index.scss
DELETED
|
@@ -1,151 +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 '../utils/index';
|
|
5
|
-
@import '../text/mixins';
|
|
6
|
-
|
|
7
|
-
@mixin iui-stepper {
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
row-gap: $iui-baseline * 0.5;
|
|
11
|
-
|
|
12
|
-
> ol {
|
|
13
|
-
@include iui-stepper-list;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@mixin iui-stepper-list {
|
|
18
|
-
@include iui-reset;
|
|
19
|
-
display: flex;
|
|
20
|
-
justify-content: space-around;
|
|
21
|
-
align-items: flex-start;
|
|
22
|
-
width: 100%;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@mixin iui-stepper-step {
|
|
26
|
-
--_iui-stepper-step-background-color: var(--iui-color-background-1);
|
|
27
|
-
--_iui-stepper-step-border-color: var(--iui-color-foreground-positive);
|
|
28
|
-
--_iui-stepper-step-number-color: var(--iui-color-foreground-positive);
|
|
29
|
-
--_iui-stepper-step-text-color: var(--iui-color-foreground-positive);
|
|
30
|
-
--_iui-stepper-step-track-before-color: var(--iui-color-foreground-positive);
|
|
31
|
-
--_iui-stepper-step-track-after-color: var(--iui-color-foreground-positive);
|
|
32
|
-
|
|
33
|
-
flex: 1;
|
|
34
|
-
align-items: center;
|
|
35
|
-
display: flex;
|
|
36
|
-
flex-direction: column;
|
|
37
|
-
@include iui-text(small);
|
|
38
|
-
color: var(--_iui-stepper-step-text-color);
|
|
39
|
-
|
|
40
|
-
&:first-of-type {
|
|
41
|
-
--_iui-stepper-step-track-before-color: transparent;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&:last-of-type {
|
|
45
|
-
--_iui-stepper-step-track-after-color: transparent;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
@mixin iui-stepper-step-modifiers {
|
|
50
|
-
// Current step
|
|
51
|
-
&.iui-current {
|
|
52
|
-
--_iui-stepper-step-background-color: var(--iui-color-background-positive);
|
|
53
|
-
--_iui-stepper-step-border-color: var(--iui-color-background-positive);
|
|
54
|
-
--_iui-stepper-step-number-color: var(--iui-color-foreground-accessory);
|
|
55
|
-
--_iui-stepper-step-track-after-color: var(--iui-color-background-border);
|
|
56
|
-
|
|
57
|
-
font-weight: $iui-font-weight-semibold;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
// Future steps
|
|
61
|
-
&.iui-current ~ & {
|
|
62
|
-
--_iui-stepper-step-background-color: var(--iui-color-background-1);
|
|
63
|
-
--_iui-stepper-step-border-color: var(--iui-color-background-border);
|
|
64
|
-
--_iui-stepper-step-number-color: var(--iui-text-color-muted);
|
|
65
|
-
--_iui-stepper-step-text-color: var(--iui-text-color-muted);
|
|
66
|
-
--_iui-stepper-step-track-before-color: var(--iui-color-background-5);
|
|
67
|
-
|
|
68
|
-
&:not(:last-of-type) {
|
|
69
|
-
--_iui-stepper-step-track-after-color: var(--iui-color-background-5);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// Clickable steps
|
|
74
|
-
&.iui-clickable:focus {
|
|
75
|
-
outline: 0;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
@mixin iui-stepper-circle {
|
|
80
|
-
align-items: center;
|
|
81
|
-
border-radius: $iui-border-radius-round;
|
|
82
|
-
display: flex;
|
|
83
|
-
width: $iui-l;
|
|
84
|
-
height: $iui-l;
|
|
85
|
-
justify-content: center;
|
|
86
|
-
overflow-wrap: break-word;
|
|
87
|
-
user-select: none;
|
|
88
|
-
border: 1px solid var(--_iui-stepper-step-border-color);
|
|
89
|
-
background-color: var(--_iui-stepper-step-background-color);
|
|
90
|
-
color: var(--_iui-stepper-step-number-color);
|
|
91
|
-
|
|
92
|
-
@at-root .iui-clickable & {
|
|
93
|
-
cursor: pointer;
|
|
94
|
-
transition: background-color $iui-speed-fast ease-out, border-color $iui-speed-fast ease-out,
|
|
95
|
-
color $iui-speed-fast ease-out;
|
|
96
|
-
|
|
97
|
-
&:hover {
|
|
98
|
-
--_iui-stepper-step-background-color: var(--iui-color-background-positive);
|
|
99
|
-
--_iui-stepper-step-border-color: var(--iui-color-background-positive);
|
|
100
|
-
--_iui-stepper-step-number-color: var(--iui-color-foreground-accessory);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
@at-root .iui-clickable:focus & {
|
|
105
|
-
outline: 2px solid var(--iui-color-foreground-positive);
|
|
106
|
-
outline-offset: -1px;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
@at-root .iui-clickable:focus:not(:focus-visible) & {
|
|
110
|
-
outline: none;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
@mixin iui-stepper-track-content {
|
|
115
|
-
display: flex;
|
|
116
|
-
align-items: center;
|
|
117
|
-
width: 100%;
|
|
118
|
-
|
|
119
|
-
&::before,
|
|
120
|
-
&::after {
|
|
121
|
-
content: '';
|
|
122
|
-
height: $iui-xxs;
|
|
123
|
-
flex: 1 2 auto;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
&::before {
|
|
127
|
-
background-color: var(--_iui-stepper-step-track-before-color);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
&::after {
|
|
131
|
-
background-color: var(--_iui-stepper-step-track-after-color);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
@mixin iui-stepper-step-name {
|
|
136
|
-
text-align: center;
|
|
137
|
-
user-select: all;
|
|
138
|
-
color: var(--_iui-stepper-step-text-color);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
@mixin iui-stepper-steps-label {
|
|
142
|
-
display: block;
|
|
143
|
-
font-size: $iui-font-size-subheading;
|
|
144
|
-
text-align: center;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
@mixin iui-stepper-steps-label-count {
|
|
148
|
-
user-select: none;
|
|
149
|
-
margin-right: $iui-s;
|
|
150
|
-
color: var(--iui-text-color-muted);
|
|
151
|
-
}
|
package/scss/style/baseline.scss
DELETED
package/scss/style/color.scss
DELETED
|
@@ -1,39 +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
|
-
/// Data visualization colors:
|
|
4
|
-
$iui-color-dataviz-skyblue: hsl(204, 77%, 67%);
|
|
5
|
-
$iui-color-dataviz-celery: hsl(72, 51%, 56%);
|
|
6
|
-
$iui-color-dataviz-froly: hsl(2, 90%, 70%);
|
|
7
|
-
$iui-color-dataviz-steelblue: hsl(200, 41%, 46%);
|
|
8
|
-
$iui-color-dataviz-sunglow: hsl(42, 100%, 60%);
|
|
9
|
-
$iui-color-dataviz-seabuckthorn: hsl(29, 92%, 61%);
|
|
10
|
-
$iui-color-dataviz-montecarlo: hsl(176, 43%, 62%);
|
|
11
|
-
$iui-color-dataviz-poloblue: hsl(211, 44%, 67%);
|
|
12
|
-
$iui-color-dataviz-bouquet: hsl(305, 19%, 55%);
|
|
13
|
-
$iui-color-dataviz-ash: hsl(42, 15%, 75%);
|
|
14
|
-
$iui-color-dataviz-oak: hsl(27, 32%, 49%);
|
|
15
|
-
|
|
16
|
-
/// Soft background colors generated from dataviz colors:
|
|
17
|
-
$iui-color-background-skyblue: hsl(197, 71%, 83%);
|
|
18
|
-
$iui-color-background-celery: hsl(72, 51%, 66%);
|
|
19
|
-
$iui-color-background-froly: hsl(2, 90%, 83%);
|
|
20
|
-
$iui-color-background-steelblue: hsl(207, 44%, 73%);
|
|
21
|
-
$iui-color-background-sunglow: hsl(42, 100%, 70%);
|
|
22
|
-
$iui-color-background-seabuckthorn: hsl(29, 92%, 71%);
|
|
23
|
-
$iui-color-background-montecarlo: hsl(176, 43%, 72%);
|
|
24
|
-
$iui-color-background-poloblue: hsl(211, 44%, 77%);
|
|
25
|
-
$iui-color-background-bouquet: hsl(305, 19%, 75%);
|
|
26
|
-
$iui-color-background-ash: hsl(42, 15%, 85%);
|
|
27
|
-
$iui-color-background-oak: hsl(27, 32%, 72%);
|
|
28
|
-
|
|
29
|
-
/// System provided colors:
|
|
30
|
-
$iui-color-system-red: #F00;
|
|
31
|
-
$iui-color-system-burgundi: #900;
|
|
32
|
-
$iui-color-system-orange: #F90;
|
|
33
|
-
$iui-color-system-yellow: #FF0;
|
|
34
|
-
$iui-color-system-green: #6C0;
|
|
35
|
-
$iui-color-system-cyan: #0CF;
|
|
36
|
-
$iui-color-system-blue: #03F;
|
|
37
|
-
$iui-color-system-magenta: #C3F;
|
|
38
|
-
$iui-color-system-turquoise: #6FC;
|
|
39
|
-
$iui-color-system-gray: #999;
|
|
@@ -1,11 +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
|
-
/// Elevations:
|
|
4
|
-
$iui-elevation-color: hsla(200, 12%, 0%, 0.25);
|
|
5
|
-
|
|
6
|
-
$iui-elevation-0: 0;
|
|
7
|
-
$iui-elevation-2: 0 1px 5px $iui-elevation-color;
|
|
8
|
-
$iui-elevation-4: 0 1px 10px $iui-elevation-color;
|
|
9
|
-
$iui-elevation-8: 0 3px 14px $iui-elevation-color;
|
|
10
|
-
$iui-elevation-16: 0 6px 30px $iui-elevation-color;
|
|
11
|
-
$iui-elevation-24: 0 9px 46px $iui-elevation-color;
|
|
@@ -1,23 +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 './space';
|
|
4
|
-
@import './baseline';
|
|
5
|
-
@import './icon-sizes';
|
|
6
|
-
|
|
7
|
-
$iui-border-radius: 4px;
|
|
8
|
-
$iui-border-radius-round: 9999px;
|
|
9
|
-
$iui-blur-filter: blur(5px);
|
|
10
|
-
|
|
11
|
-
$iui-component-offset: 3px;
|
|
12
|
-
|
|
13
|
-
$iui-component-height: $iui-baseline * 4 - $iui-component-offset * 2; // 38px
|
|
14
|
-
$iui-component-height-small: $iui-baseline * 3 - $iui-component-offset * 2; // 27px
|
|
15
|
-
$iui-component-height-large: $iui-baseline * 5 - $iui-component-offset * 2; // 49px
|
|
16
|
-
|
|
17
|
-
$iui-component-padding-horizontal: $iui-sm; // 12px
|
|
18
|
-
|
|
19
|
-
$iui-component-padding-vertical: (($iui-component-height - $iui-line-height) * 0.5) - 1; // 12.5px
|
|
20
|
-
$iui-component-padding-vertical-small: (($iui-component-height-small - $iui-line-height) * 0.5) - 1; // 7px
|
|
21
|
-
$iui-component-padding-vertical-large: (($iui-component-height-large - $iui-line-height) * 0.5) - 1; // 18px
|
|
22
|
-
|
|
23
|
-
$iui-side-navigation-icon-margins: $iui-icons-large; // Used to align header brand button & side navigation spacing
|
package/scss/style/global.scss
DELETED
|
@@ -1,69 +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
|
-
@import '../utils/index';
|
|
5
|
-
|
|
6
|
-
html {
|
|
7
|
-
@include theme-variables(light);
|
|
8
|
-
|
|
9
|
-
@media (prefers-color-scheme: dark) {
|
|
10
|
-
@include theme-variables(dark);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@media (prefers-color-scheme: light) and (prefers-contrast: more) {
|
|
14
|
-
@include theme-variables(light-hc);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@media (prefers-color-scheme: dark) and (prefers-contrast: more) {
|
|
18
|
-
@include theme-variables(dark-hc);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&.iui-theme-light {
|
|
22
|
-
@include theme-variables(light);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&.iui-theme-dark {
|
|
26
|
-
@include theme-variables(dark);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&.iui-theme-light-hc {
|
|
30
|
-
@include theme-variables(light-hc);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&.iui-theme-dark-hc {
|
|
34
|
-
@include theme-variables(dark-hc);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.iui-body {
|
|
39
|
-
background-color: var(--iui-color-background-2);
|
|
40
|
-
color: var(--iui-text-color);
|
|
41
|
-
font-size: $iui-font-size;
|
|
42
|
-
line-height: $iui-line-height;
|
|
43
|
-
|
|
44
|
-
@include iui-scrollbar;
|
|
45
|
-
@include iui-font-family;
|
|
46
|
-
|
|
47
|
-
&.iui-no-webfonts {
|
|
48
|
-
font-family: $iui-sans-fallback;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.iui-visually-hidden {
|
|
53
|
-
@include visually-hidden;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
[class*='iui-'],
|
|
57
|
-
[class*='iui-'] * {
|
|
58
|
-
// Text highlight
|
|
59
|
-
@include iui-text-selection;
|
|
60
|
-
|
|
61
|
-
// Scrollbar
|
|
62
|
-
@include iui-scrollbar;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
[class*=iui-]:where(:not(.iui-body)),
|
|
66
|
-
[class*=iui-]:where(:not(.iui-body))::before,
|
|
67
|
-
[class*=iui-]:where(:not(.iui-body))::after {
|
|
68
|
-
box-sizing: border-box;
|
|
69
|
-
}
|
|
@@ -1,14 +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
|
-
|
|
4
|
-
/// Icon sizes
|
|
5
|
-
|
|
6
|
-
$iui-icons-default: 16px;
|
|
7
|
-
|
|
8
|
-
$iui-icons-small: 0.75 * $iui-icons-default; // 12px
|
|
9
|
-
$iui-icons-large: 1.5 * $iui-icons-default; // 24px
|
|
10
|
-
$iui-icons-xl: 2 * $iui-icons-default; // 32px
|
|
11
|
-
$iui-icons-xxl: 3 * $iui-icons-default; // 48px
|
|
12
|
-
$iui-icons-3xl: 4 * $iui-icons-default; // 64px
|
|
13
|
-
|
|
14
|
-
$iui-icons-color-multicolor-disabled: grayscale(100%);
|
package/scss/style/index.scss
DELETED
|
@@ -1,11 +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 './baseline';
|
|
4
|
-
@import './color';
|
|
5
|
-
@import './elevation';
|
|
6
|
-
@import './global-variables';
|
|
7
|
-
@import './icon-sizes';
|
|
8
|
-
@import './space';
|
|
9
|
-
@import './speed';
|
|
10
|
-
@import './theme';
|
|
11
|
-
@import './typography';
|
package/scss/style/space.scss
DELETED
|
@@ -1,11 +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
|
-
$iui-xxs: 2px;
|
|
4
|
-
$iui-xs: 4px;
|
|
5
|
-
$iui-s: 8px;
|
|
6
|
-
$iui-sm: 12px;
|
|
7
|
-
$iui-m: 16px;
|
|
8
|
-
$iui-l: 24px;
|
|
9
|
-
$iui-xl: 32px;
|
|
10
|
-
$iui-xxl: 64px;
|
|
11
|
-
$iui-3xl: 96px;
|
package/scss/style/speed.scss
DELETED
|
@@ -1,8 +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
|
-
/// Animation speed:
|
|
4
|
-
|
|
5
|
-
$iui-speed-instant: 0s;
|
|
6
|
-
$iui-speed-fast: 0.2s;
|
|
7
|
-
$iui-speed: 0.4s;
|
|
8
|
-
$iui-speed-slow: 0.8s;
|