@itwin/itwinui-css 0.63.1 → 1.0.0-dev.2
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 +291 -173
- package/css/all.css +4355 -6315
- package/css/anchor.css +3 -7
- package/css/avatar.css +226 -0
- package/css/backdrop.css +6 -4
- package/css/badge.css +8 -8
- package/css/blockquote.css +6 -9
- package/css/breadcrumbs.css +94 -156
- package/css/button.css +258 -365
- package/css/carousel.css +20 -26
- package/css/checkbox.css +152 -0
- package/css/code.css +14 -23
- package/css/color-picker.css +36 -77
- package/css/date-picker.css +59 -147
- package/css/dialog.css +25 -29
- package/css/expandable-block.css +36 -80
- package/css/fieldset.css +7 -12
- package/css/file-upload.css +15 -44
- package/css/footer.css +11 -19
- package/css/global.css +49 -671
- package/css/header.css +324 -408
- package/css/information-panel.css +39 -47
- package/css/input.css +170 -0
- package/css/keyboard.css +6 -10
- package/css/location-marker.css +32 -29
- package/css/menu.css +41 -43
- package/css/non-ideal-state.css +12 -12
- package/css/progress-indicator.css +37 -127
- package/css/radio-tile.css +70 -88
- package/css/radio.css +159 -0
- package/css/select.css +239 -0
- package/css/side-navigation.css +33 -57
- package/css/skip-to-content.css +11 -14
- package/css/slider.css +35 -67
- package/css/stepper.css +141 -0
- package/css/surface.css +2 -3
- package/css/table.css +362 -431
- package/css/tabs.css +58 -93
- package/css/tag.css +27 -46
- package/css/text.css +24 -26
- package/css/tile.css +200 -293
- package/css/time-picker.css +16 -26
- package/css/{toast-notification.css → toast.css} +50 -90
- package/css/toggle-switch.css +33 -80
- package/css/tooltip.css +6 -9
- package/css/tree.css +25 -49
- package/css/utils.css +683 -0
- package/css/workflow-diagram.css +67 -0
- package/package.json +7 -10
- package/css/icon.css +0 -177
- 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/user-icon.css +0 -246
- package/css/wizard.css +0 -190
- package/scss/alert/alert.scss +0 -83
- package/scss/alert/classes.scss +0 -13
- package/scss/alert/index.scss +0 -3
- package/scss/anchor/anchor.scss +0 -3
- package/scss/anchor/classes.scss +0 -11
- package/scss/anchor/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 -32
- package/scss/badge/classes.scss +0 -7
- package/scss/badge/index.scss +0 -3
- package/scss/blockquote/blockquote.scss +0 -31
- package/scss/blockquote/classes.scss +0 -7
- package/scss/blockquote/index.scss +0 -3
- package/scss/breadcrumbs/breadcrumbs.scss +0 -124
- package/scss/breadcrumbs/classes.scss +0 -31
- package/scss/breadcrumbs/index.scss +0 -3
- package/scss/button/borderless.scss +0 -48
- package/scss/button/button-group.scss +0 -110
- package/scss/button/button-icon.scss +0 -12
- package/scss/button/button.scss +0 -97
- package/scss/button/classes.scss +0 -70
- package/scss/button/cta.scss +0 -31
- package/scss/button/default.scss +0 -59
- package/scss/button/disabled.scss +0 -13
- package/scss/button/high-visibility.scss +0 -31
- package/scss/button/idea.scss +0 -10
- package/scss/button/index.scss +0 -12
- package/scss/button/split-menu.scss +0 -66
- package/scss/carousel/carousel.scss +0 -124
- package/scss/carousel/classes.scss +0 -15
- package/scss/carousel/index.scss +0 -3
- package/scss/classes.scss +0 -48
- package/scss/code/classes.scss +0 -11
- package/scss/code/code.scss +0 -18
- package/scss/code/codeblock.scss +0 -74
- package/scss/code/index.scss +0 -4
- package/scss/color-picker/classes.scss +0 -43
- package/scss/color-picker/color-picker.scss +0 -274
- package/scss/color-picker/index.scss +0 -3
- package/scss/date-picker/classes.scss +0 -47
- package/scss/date-picker/date-picker.scss +0 -280
- package/scss/date-picker/index.scss +0 -3
- package/scss/dialog/classes.scss +0 -48
- package/scss/dialog/dialog.scss +0 -185
- package/scss/dialog/index.scss +0 -3
- package/scss/expandable-block/block.scss +0 -193
- 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 -35
- package/scss/fieldset/index.scss +0 -3
- package/scss/file-upload/classes.scss +0 -7
- package/scss/file-upload/file-upload.scss +0 -90
- package/scss/file-upload/index.scss +0 -3
- package/scss/footer/classes.scss +0 -23
- package/scss/footer/footer.scss +0 -62
- package/scss/footer/index.scss +0 -3
- package/scss/header/classes.scss +0 -11
- package/scss/header/header.scss +0 -443
- package/scss/header/index.scss +0 -3
- package/scss/icon/classes.scss +0 -27
- package/scss/icon/index.scss +0 -4
- package/scss/icon/mixins.scss +0 -78
- package/scss/icon/variables.scss +0 -14
- package/scss/index.scss +0 -46
- package/scss/information-panel/classes.scss +0 -27
- package/scss/information-panel/index.scss +0 -3
- package/scss/information-panel/information-panel.scss +0 -233
- package/scss/inputs/checkbox-radio.scss +0 -73
- package/scss/inputs/checkbox.scss +0 -106
- package/scss/inputs/classes.scss +0 -87
- package/scss/inputs/index.scss +0 -10
- package/scss/inputs/input-with-icon.scss +0 -36
- package/scss/inputs/input.scss +0 -80
- package/scss/inputs/labeled-inputs.scss +0 -382
- package/scss/inputs/radio.scss +0 -18
- package/scss/inputs/select.scss +0 -132
- package/scss/inputs/textarea.scss +0 -14
- package/scss/keyboard/classes.scss +0 -7
- package/scss/keyboard/index.scss +0 -3
- package/scss/keyboard/keyboard.scss +0 -33
- package/scss/location-marker/classes.scss +0 -15
- package/scss/location-marker/data-rich.scss +0 -58
- package/scss/location-marker/default.scss +0 -21
- package/scss/location-marker/index.scss +0 -6
- package/scss/location-marker/location-marker.scss +0 -13
- package/scss/location-marker/me.scss +0 -36
- package/scss/menu/classes.scss +0 -21
- package/scss/menu/index.scss +0 -3
- package/scss/menu/menu.scss +0 -205
- 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 -55
- package/scss/notification-marker/classes.scss +0 -9
- package/scss/notification-marker/index.scss +0 -3
- package/scss/notification-marker/notification-marker.scss +0 -63
- package/scss/popover/classes.scss +0 -7
- package/scss/popover/index.scss +0 -3
- package/scss/popover/popover.scss +0 -22
- package/scss/progress-indicator/classes.scss +0 -35
- package/scss/progress-indicator/index.scss +0 -5
- package/scss/progress-indicator/linear.scss +0 -126
- package/scss/progress-indicator/overlay.scss +0 -57
- package/scss/progress-indicator/radial.scss +0 -243
- package/scss/radio-tile/classes.scss +0 -31
- package/scss/radio-tile/index.scss +0 -3
- package/scss/radio-tile/radio-tile.scss +0 -209
- package/scss/reset-global-styles.scss +0 -33
- package/scss/side-navigation/classes.scss +0 -15
- package/scss/side-navigation/index.scss +0 -3
- package/scss/side-navigation/side-navigation.scss +0 -210
- 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 -41
- package/scss/slider/classes.scss +0 -40
- package/scss/slider/index.scss +0 -3
- package/scss/slider/slider.scss +0 -256
- package/scss/style/anchor.scss +0 -82
- 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.scss +0 -70
- package/scss/style/index.scss +0 -11
- package/scss/style/mixins.scss +0 -188
- package/scss/style/ripple.scss +0 -18
- package/scss/style/space.scss +0 -11
- package/scss/style/speed.scss +0 -8
- package/scss/style/theme.scss +0 -482
- package/scss/style/typography.scss +0 -54
- package/scss/style/variables.scss +0 -21
- package/scss/surface/classes.scss +0 -7
- package/scss/surface/index.scss +0 -3
- package/scss/surface/surface.scss +0 -18
- package/scss/table/classes.scss +0 -63
- package/scss/table/column-filter.scss +0 -37
- package/scss/table/condensed.scss +0 -15
- package/scss/table/extra-condensed.scss +0 -19
- package/scss/table/index.scss +0 -7
- package/scss/table/paginator.scss +0 -87
- package/scss/table/table.scss +0 -558
- package/scss/table/variables.scss +0 -10
- package/scss/tabs/borderless.scss +0 -71
- package/scss/tabs/classes.scss +0 -44
- package/scss/tabs/default.scss +0 -110
- package/scss/tabs/index.scss +0 -6
- package/scss/tabs/pill.scss +0 -48
- package/scss/tabs/tabs.scss +0 -220
- package/scss/tag/classes.scss +0 -29
- package/scss/tag/index.scss +0 -3
- package/scss/tag/tag.scss +0 -99
- package/scss/text/classes.scss +0 -40
- package/scss/text/index.scss +0 -5
- package/scss/text/mixins.scss +0 -42
- package/scss/text/muted.scss +0 -9
- package/scss/text/skeleton.scss +0 -46
- package/scss/tile/classes.scss +0 -51
- package/scss/tile/index.scss +0 -3
- package/scss/tile/tile.scss +0 -370
- package/scss/time-picker/classes.scss +0 -16
- package/scss/time-picker/index.scss +0 -3
- package/scss/time-picker/time-picker.scss +0 -72
- package/scss/toast-notification/categories.scss +0 -26
- package/scss/toast-notification/classes.scss +0 -98
- package/scss/toast-notification/index.scss +0 -4
- package/scss/toast-notification/toast.scss +0 -79
- package/scss/toggle-switch/classes.scss +0 -11
- package/scss/toggle-switch/index.scss +0 -3
- package/scss/toggle-switch/toggle-switch.scss +0 -222
- package/scss/tooltip/classes.scss +0 -24
- package/scss/tooltip/index.scss +0 -3
- package/scss/tooltip/tooltip.scss +0 -41
- package/scss/tree/classes.scss +0 -19
- package/scss/tree/index.scss +0 -3
- package/scss/tree/tree.scss +0 -138
- package/scss/user-icon/classes.scss +0 -27
- package/scss/user-icon/index.scss +0 -4
- package/scss/user-icon/sizes.scss +0 -22
- package/scss/user-icon/user-icon.scss +0 -250
- package/scss/variables.scss +0 -3
- 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/src/index.scss +0 -46
|
@@ -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
|
-
|
|
5
|
-
@mixin iui-keyboard {
|
|
6
|
-
@include iui-reset;
|
|
7
|
-
border-radius: $iui-border-radius;
|
|
8
|
-
display: inline-block;
|
|
9
|
-
font-size: $iui-font-size-small;
|
|
10
|
-
font-weight: $iui-font-weight-semibold;
|
|
11
|
-
font-family: $iui-monospace;
|
|
12
|
-
line-height: 1;
|
|
13
|
-
padding: round($iui-baseline * 0.33) $iui-s;
|
|
14
|
-
white-space: nowrap;
|
|
15
|
-
text-transform: uppercase;
|
|
16
|
-
user-select: none;
|
|
17
|
-
cursor: default;
|
|
18
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
19
|
-
transition: box-shadow $iui-speed-fast ease-out;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@include themed {
|
|
23
|
-
background-color: t(iui-color-background-1);
|
|
24
|
-
border: 1px solid t(iui-color-background-5);
|
|
25
|
-
box-shadow: 0 1px 1px t(iui-color-background-5), 0 1px 0 0 rgba(255, 255, 255, t(iui-opacity-5)) inset;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&:hover {
|
|
29
|
-
@include themed {
|
|
30
|
-
box-shadow: 0 0 0 t(iui-color-background-5), 0 0 0 0 rgba(255, 255, 255, t(iui-opacity-5)) inset;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
@@ -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 './index';
|
|
4
|
-
|
|
5
|
-
.iui-location-marker-default {
|
|
6
|
-
@include iui-location-marker-default;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.iui-location-marker-data-rich {
|
|
10
|
-
@include iui-location-marker-data-rich;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.iui-location-marker-me {
|
|
14
|
-
@include iui-location-marker-me;
|
|
15
|
-
}
|
|
@@ -1,58 +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 './location-marker';
|
|
5
|
-
|
|
6
|
-
@mixin iui-location-marker-data-rich {
|
|
7
|
-
@include iui-location-marker;
|
|
8
|
-
cursor: pointer;
|
|
9
|
-
|
|
10
|
-
> .iui-location-marker-data-rich-body {
|
|
11
|
-
min-width: $iui-icons-xl;
|
|
12
|
-
border-radius: $iui-border-radius;
|
|
13
|
-
text-align: center;
|
|
14
|
-
font-size: $iui-font-size-leading;
|
|
15
|
-
padding: round($iui-baseline * 0.25) $iui-s;
|
|
16
|
-
filter: drop-shadow($iui-elevation-2);
|
|
17
|
-
box-sizing: border-box;
|
|
18
|
-
position: relative;
|
|
19
|
-
|
|
20
|
-
@include themed {
|
|
21
|
-
border: solid 1px t(iui-color-foreground-accessory);
|
|
22
|
-
background-color: t(iui-color-foreground-accessory);
|
|
23
|
-
color: t(iui-color-foreground-accessory);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&::before {
|
|
27
|
-
content: '';
|
|
28
|
-
position: absolute;
|
|
29
|
-
display: block;
|
|
30
|
-
width: 0;
|
|
31
|
-
height: 0;
|
|
32
|
-
bottom: -9px;
|
|
33
|
-
left: 0;
|
|
34
|
-
right: 0;
|
|
35
|
-
margin: auto;
|
|
36
|
-
border-width: $iui-xs;
|
|
37
|
-
border-style: solid;
|
|
38
|
-
|
|
39
|
-
@include themed {
|
|
40
|
-
border-color: t(iui-color-foreground-accessory) transparent transparent transparent;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
> .iui-location-marker-data-rich-icon {
|
|
45
|
-
display: inline-block;
|
|
46
|
-
width: $iui-icons-default;
|
|
47
|
-
height: $iui-icons-default;
|
|
48
|
-
font-size: inherit;
|
|
49
|
-
vertical-align: -2px;
|
|
50
|
-
|
|
51
|
-
&.iui-location-marker-data-rich-icon-monochrome {
|
|
52
|
-
@include themed {
|
|
53
|
-
fill: t(iui-color-foreground-accessory);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
@@ -1,21 +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 './location-marker';
|
|
5
|
-
|
|
6
|
-
@mixin iui-location-marker-default {
|
|
7
|
-
@include iui-location-marker;
|
|
8
|
-
width: $iui-icons-large;
|
|
9
|
-
height: $iui-icons-large;
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
|
|
12
|
-
> .iui-location-marker-default-pin {
|
|
13
|
-
filter: drop-shadow($iui-elevation-2);
|
|
14
|
-
|
|
15
|
-
> .iui-location-marker-default-pin-dot {
|
|
16
|
-
@include themed {
|
|
17
|
-
fill: t(iui-color-foreground-accessory);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,13 +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
|
-
@import '../icon/index';
|
|
6
|
-
|
|
7
|
-
@mixin iui-location-marker {
|
|
8
|
-
@include iui-reset;
|
|
9
|
-
|
|
10
|
-
display: inline-block;
|
|
11
|
-
user-select: none;
|
|
12
|
-
position: relative;
|
|
13
|
-
}
|
|
@@ -1,36 +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 './location-marker';
|
|
5
|
-
|
|
6
|
-
@mixin iui-location-marker-me {
|
|
7
|
-
@include iui-location-marker;
|
|
8
|
-
position: relative;
|
|
9
|
-
width: $iui-icons-large;
|
|
10
|
-
height: $iui-icons-large;
|
|
11
|
-
border-radius: 50%;
|
|
12
|
-
cursor: default;
|
|
13
|
-
|
|
14
|
-
@include themed {
|
|
15
|
-
background: radial-gradient(
|
|
16
|
-
circle at center,
|
|
17
|
-
rgba(t(iui-color-foreground-primary-rgb), 0),
|
|
18
|
-
rgba(t(iui-color-foreground-primary-rgb), t(iui-opacity-5))
|
|
19
|
-
);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
> .iui-location-marker-me-dot {
|
|
23
|
-
width: $iui-icons-large * 0.5;
|
|
24
|
-
height: $iui-icons-large * 0.5;
|
|
25
|
-
position: absolute;
|
|
26
|
-
top: $iui-icons-large * 0.25;
|
|
27
|
-
left: $iui-icons-large * 0.25;
|
|
28
|
-
border-radius: 50%;
|
|
29
|
-
box-sizing: border-box;
|
|
30
|
-
|
|
31
|
-
@include themed {
|
|
32
|
-
border: 1px solid t(iui-color-foreground-accessory);
|
|
33
|
-
background-color: t(iui-color-background-primary);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
package/scss/menu/classes.scss
DELETED
|
@@ -1,21 +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 '../surface/index';
|
|
5
|
-
|
|
6
|
-
.iui-menu {
|
|
7
|
-
@include iui-surface;
|
|
8
|
-
@include iui-list-menu;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.iui-menu-item {
|
|
12
|
-
@include iui-menu-item;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.iui-menu-content {
|
|
16
|
-
@include iui-menu-content;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.iui-menu-divider {
|
|
20
|
-
@include iui-menu-divider;
|
|
21
|
-
}
|
package/scss/menu/index.scss
DELETED
package/scss/menu/menu.scss
DELETED
|
@@ -1,205 +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 '../text/index';
|
|
6
|
-
|
|
7
|
-
$iui-active-outline: thin solid t(iui-color-foreground-primary);
|
|
8
|
-
|
|
9
|
-
@mixin iui-list-menu {
|
|
10
|
-
@include iui-reset;
|
|
11
|
-
list-style-type: none;
|
|
12
|
-
user-select: none;
|
|
13
|
-
width: 100%;
|
|
14
|
-
margin: 0;
|
|
15
|
-
padding: 0;
|
|
16
|
-
|
|
17
|
-
.iui-header-menu-icon {
|
|
18
|
-
margin: 0 $iui-xs;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
div.iui-header-menu-icon {
|
|
22
|
-
margin: 0;
|
|
23
|
-
width: $iui-icons-large;
|
|
24
|
-
height: $iui-icons-large;
|
|
25
|
-
border-radius: $iui-border-radius;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&.iui-scroll {
|
|
29
|
-
overflow-y: auto;
|
|
30
|
-
overflow-y: overlay;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@mixin iui-menu-item {
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
font-size: $iui-font-size;
|
|
38
|
-
padding: 0 ($iui-component-padding-horizontal + 1px);
|
|
39
|
-
height: $iui-component-height;
|
|
40
|
-
cursor: pointer;
|
|
41
|
-
box-sizing: border-box;
|
|
42
|
-
line-height: normal;
|
|
43
|
-
|
|
44
|
-
+ #{&} {
|
|
45
|
-
margin-top: -1px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.iui-content,
|
|
49
|
-
.iui-menu-label,
|
|
50
|
-
.iui-menu-description {
|
|
51
|
-
white-space: nowrap;
|
|
52
|
-
overflow: hidden;
|
|
53
|
-
text-overflow: ellipsis;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.iui-content {
|
|
57
|
-
flex: 1 1 auto;
|
|
58
|
-
|
|
59
|
-
+ .iui-icon {
|
|
60
|
-
margin-right: 0;
|
|
61
|
-
margin-left: $iui-s;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.iui-menu-description {
|
|
66
|
-
display: none;
|
|
67
|
-
font-size: $iui-font-size-small;
|
|
68
|
-
@include themed {
|
|
69
|
-
opacity: t(iui-opacity-3);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
> .iui-icon {
|
|
74
|
-
@include iui-menu-icon;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&:hover {
|
|
78
|
-
@include themed {
|
|
79
|
-
background-color: rgba(t(iui-color-foreground-primary-rgb), t(iui-opacity-6));
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
&:focus,
|
|
84
|
-
&.iui-focused {
|
|
85
|
-
@include themed {
|
|
86
|
-
outline: $iui-active-outline;
|
|
87
|
-
outline-offset: -1px;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
&:focus:not(:focus-visible) {
|
|
92
|
-
outline: none;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
&.iui-large {
|
|
96
|
-
height: $iui-component-height-large;
|
|
97
|
-
|
|
98
|
-
.iui-menu-description {
|
|
99
|
-
display: block;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&.iui-active {
|
|
104
|
-
&,
|
|
105
|
-
&:hover {
|
|
106
|
-
@include themed {
|
|
107
|
-
background-color: rgba(t(iui-color-foreground-primary-rgb), t(iui-opacity-6));
|
|
108
|
-
color: t(iui-color-foreground-primary);
|
|
109
|
-
outline: $iui-active-outline;
|
|
110
|
-
outline-offset: -1px;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.iui-menu-description {
|
|
115
|
-
opacity: 1;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
> .iui-icon {
|
|
119
|
-
@include themed {
|
|
120
|
-
fill: t(iui-icons-color-primary);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
&:focus,
|
|
125
|
-
&.iui-focused {
|
|
126
|
-
outline-width: $iui-xxs;
|
|
127
|
-
outline-offset: -2px;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
&:focus:not(:focus-visible) {
|
|
131
|
-
outline: $iui-active-outline;
|
|
132
|
-
outline-offset: -1px;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
&.iui-disabled {
|
|
137
|
-
&,
|
|
138
|
-
&:hover {
|
|
139
|
-
cursor: not-allowed;
|
|
140
|
-
outline: none;
|
|
141
|
-
@include themed {
|
|
142
|
-
background-color: t(iui-color-background-1);
|
|
143
|
-
color: t(iui-text-color-placeholder);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
> .iui-icon {
|
|
147
|
-
@include themed {
|
|
148
|
-
fill: t(iui-icons-color-actionable-disabled);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
&-skeleton {
|
|
155
|
-
--iui-menu-item-content-skeleton-max-width: 30%;
|
|
156
|
-
cursor: auto;
|
|
157
|
-
|
|
158
|
-
.iui-content {
|
|
159
|
-
max-width: var(--iui-menu-item-content-skeleton-max-width);
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.iui-menu-label {
|
|
163
|
-
width: 100%;
|
|
164
|
-
height: $iui-font-size;
|
|
165
|
-
vertical-align: middle;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.iui-menu-description {
|
|
169
|
-
width: 70%;
|
|
170
|
-
height: $iui-font-size-small;
|
|
171
|
-
vertical-align: middle;
|
|
172
|
-
margin-top: $iui-xs;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
&:hover {
|
|
176
|
-
background-color: unset;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
@mixin iui-menu-content {
|
|
182
|
-
padding: $iui-baseline ($iui-component-padding-horizontal + 1px);
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
@mixin iui-menu-divider {
|
|
186
|
-
height: 1px;
|
|
187
|
-
width: calc(100% - #{$iui-l});
|
|
188
|
-
margin: 1px auto;
|
|
189
|
-
@include themed {
|
|
190
|
-
background-color: t(iui-color-background-border);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
@mixin iui-menu-icon {
|
|
195
|
-
width: $iui-icons-default;
|
|
196
|
-
height: $iui-icons-default;
|
|
197
|
-
flex: 0 0 auto;
|
|
198
|
-
@include themed {
|
|
199
|
-
fill: t(iui-icons-color-actionable);
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
+ .iui-content {
|
|
203
|
-
margin-left: $iui-s;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
@@ -1,55 +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-non-ideal-state {
|
|
7
|
-
@include iui-reset;
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
align-items: center;
|
|
11
|
-
justify-content: center;
|
|
12
|
-
text-align: center;
|
|
13
|
-
position: absolute;
|
|
14
|
-
left: 50%;
|
|
15
|
-
top: 40%;
|
|
16
|
-
min-width: 220px;
|
|
17
|
-
transform: translate(-50%, -40%);
|
|
18
|
-
|
|
19
|
-
> .iui-non-ideal-state-illustration {
|
|
20
|
-
max-width: 220px;
|
|
21
|
-
max-height: 242px;
|
|
22
|
-
margin-bottom: $iui-line-height;
|
|
23
|
-
text-align: center;
|
|
24
|
-
display: flex;
|
|
25
|
-
justify-content: center;
|
|
26
|
-
align-items: center;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
> .iui-non-ideal-state-title {
|
|
30
|
-
@include iui-text(headline);
|
|
31
|
-
@include iui-text-block-spacing;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
> .iui-non-ideal-state-description {
|
|
35
|
-
@include iui-text(body);
|
|
36
|
-
@include iui-text-block-spacing;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
> .iui-non-ideal-state-actions {
|
|
40
|
-
display: flex;
|
|
41
|
-
align-items: center;
|
|
42
|
-
margin-bottom: $iui-s;
|
|
43
|
-
|
|
44
|
-
> .iui-input-container {
|
|
45
|
-
display: inline-block;
|
|
46
|
-
width: 200px;
|
|
47
|
-
text-align: left;
|
|
48
|
-
margin: 0 $iui-xs 0 0;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
> .iui-button {
|
|
52
|
-
margin: 0 $iui-xs;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
@@ -1,9 +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
|
-
@each $status in primary, positive, warning, negative, accessory {
|
|
6
|
-
.iui-notification-#{$status} {
|
|
7
|
-
@include iui-notification-marker($status: $status);
|
|
8
|
-
}
|
|
9
|
-
}
|
|
@@ -1,63 +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-notification-marker($status: primary) {
|
|
6
|
-
position: relative;
|
|
7
|
-
|
|
8
|
-
&::before {
|
|
9
|
-
content: '';
|
|
10
|
-
position: absolute;
|
|
11
|
-
width: $iui-s;
|
|
12
|
-
height: $iui-s;
|
|
13
|
-
top: $iui-sm * -0.5;
|
|
14
|
-
right: $iui-sm * -0.5;
|
|
15
|
-
border-radius: 100%;
|
|
16
|
-
@include themed {
|
|
17
|
-
background-color: t(iui-color-foreground-#{$status});
|
|
18
|
-
border: 2px solid t(iui-color-background-1);
|
|
19
|
-
}
|
|
20
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
21
|
-
transition: background-color $iui-speed-fast ease-out, border-color $iui-speed-fast ease-out;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&.iui-urgent::before {
|
|
26
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
27
|
-
animation: pulse-#{$status} 2s infinite;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
32
|
-
@keyframes pulse-#{$status} {
|
|
33
|
-
0% {
|
|
34
|
-
@include themed {
|
|
35
|
-
box-shadow: 0 0 0 0 rgba(t(iui-color-foreground-#{$status}-rgb), t(iui-opacity-1));
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
70% {
|
|
40
|
-
@include themed {
|
|
41
|
-
box-shadow: 0 0 0 7px rgba(t(iui-color-foreground-#{$status}-rgb), 0);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
100% {
|
|
46
|
-
@include themed {
|
|
47
|
-
box-shadow: 0 0 0 0 rgba(t(iui-color-foreground-#{$status}-rgb), 0);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@mixin iui-notification-marker-hover {
|
|
55
|
-
.iui-notification-primary::before,
|
|
56
|
-
.iui-notification-positive::before,
|
|
57
|
-
.iui-notification-warning::before,
|
|
58
|
-
.iui-notification-negative::before {
|
|
59
|
-
@include themed {
|
|
60
|
-
border-color: t(iui-color-background-1-overlay);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
package/scss/popover/index.scss
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/* stylelint-disable selector-class-pattern */
|
|
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
|
-
@import '../style/index';
|
|
5
|
-
|
|
6
|
-
// tippy.js helper class to hide Popover when it is scrolled out of view
|
|
7
|
-
@mixin iui-popover {
|
|
8
|
-
&.tippy-box {
|
|
9
|
-
&[data-reference-hidden] {
|
|
10
|
-
visibility: hidden;
|
|
11
|
-
pointer-events: none;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// Resets tippy.js default stylings that interfere with our own
|
|
15
|
-
all: revert;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
// Resets tippy.js default stylings that interfere with our own
|
|
19
|
-
.tippy-content {
|
|
20
|
-
all: revert;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,35 +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-progress-indicator-linear {
|
|
6
|
-
@include iui-progress-indicator-linear;
|
|
7
|
-
|
|
8
|
-
> .iui-track > .iui-determinate {
|
|
9
|
-
@include iui-progress-indicator-linear-determinate;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&:not(.iui-negative):not(.iui-positive) > .iui-track > .iui-indeterminate {
|
|
13
|
-
@include iui-progress-indicator-linear-indeterminate;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.iui-progress-indicator-radial-ie {
|
|
18
|
-
@include iui-progress-indicator-radial-ie;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.iui-progress-indicator-radial {
|
|
22
|
-
@include iui-progress-indicator-radial;
|
|
23
|
-
|
|
24
|
-
&.iui-determinate:not(.iui-positive) {
|
|
25
|
-
@include iui-progress-indicator-radial-determinate;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&.iui-indeterminate:not(.iui-negative):not(.iui-positive) {
|
|
29
|
-
@include iui-progress-indicator-radial-indeterminate;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.iui-progress-indicator-overlay {
|
|
34
|
-
@include iui-progress-indicator-overlay;
|
|
35
|
-
}
|