@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,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 '../style/index';
|
|
4
|
-
|
|
5
|
-
$iui-table-density-vertical: $iui-baseline * 1.5;
|
|
6
|
-
$iui-table-density-vertical-condensed: $iui-baseline;
|
|
7
|
-
$iui-table-density-vertical-extra-condensed: $iui-baseline * 0.5;
|
|
8
|
-
$iui-table-density: $iui-table-density-vertical $iui-m;
|
|
9
|
-
$iui-table-density-condensed: $iui-table-density-vertical-condensed $iui-m;
|
|
10
|
-
$iui-table-density-extra-condensed: $iui-table-density-vertical-extra-condensed $iui-m;
|
|
@@ -1,71 +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 './tabs';
|
|
5
|
-
|
|
6
|
-
@mixin iui-tabs-borderless {
|
|
7
|
-
.iui-tab {
|
|
8
|
-
padding: $iui-xs ($iui-component-padding-horizontal * 2);
|
|
9
|
-
background-color: transparent;
|
|
10
|
-
|
|
11
|
-
&::after {
|
|
12
|
-
bottom: 0;
|
|
13
|
-
right: 0;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&:hover {
|
|
17
|
-
@include themed {
|
|
18
|
-
background-color: rgba(t(iui-color-foreground-primary-rgb), t(iui-opacity-6));
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&.iui-active {
|
|
23
|
-
@include themed {
|
|
24
|
-
background-color: rgba(t(iui-color-foreground-primary-rgb), t(iui-opacity-6));
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
@at-root {
|
|
30
|
-
.iui-horizontal & ~ .iui-tabs-content {
|
|
31
|
-
margin-top: -$iui-xxs;
|
|
32
|
-
@include themed {
|
|
33
|
-
border-top: $iui-xxs solid t(iui-color-background-4);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@at-root {
|
|
39
|
-
.iui-vertical & ~ .iui-tabs-content {
|
|
40
|
-
margin-left: -$iui-xxs;
|
|
41
|
-
padding-left: $iui-sm;
|
|
42
|
-
padding-right: $iui-sm;
|
|
43
|
-
@include themed {
|
|
44
|
-
border-left: $iui-xxs solid t(iui-color-background-4);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&.iui-green .iui-active,
|
|
50
|
-
&.iui-green .iui-tab:hover {
|
|
51
|
-
@include themed {
|
|
52
|
-
background-color: rgba(t(iui-color-foreground-positive-rgb), t(iui-opacity-6));
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&.iui-large {
|
|
57
|
-
.iui-tab {
|
|
58
|
-
min-height: $iui-component-height-large;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.iui-tab-description {
|
|
62
|
-
display: -webkit-box; /* stylelint-disable-line */
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.iui-tab[disabled]:hover {
|
|
67
|
-
@include themed {
|
|
68
|
-
background-color: transparent;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
package/scss/tabs/classes.scss
DELETED
|
@@ -1,44 +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-tabs-wrapper {
|
|
6
|
-
display: flex;
|
|
7
|
-
position: relative;
|
|
8
|
-
|
|
9
|
-
&.iui-horizontal {
|
|
10
|
-
@include iui-tabs-horizontal;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&.iui-vertical {
|
|
14
|
-
@include iui-tabs-vertical;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.iui-tabs {
|
|
19
|
-
@include iui-tabs;
|
|
20
|
-
|
|
21
|
-
&.iui-default {
|
|
22
|
-
@include iui-tabs-default;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&.iui-borderless {
|
|
26
|
-
@include iui-tabs-borderless;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&.iui-pill {
|
|
30
|
-
@include iui-tabs-pill;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&.iui-animated {
|
|
34
|
-
@include iui-tab-animated;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&.iui-not-animated {
|
|
38
|
-
@include iui-tab-not-animated;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.iui-tab-label {
|
|
43
|
-
@include iui-tab-label;
|
|
44
|
-
}
|
package/scss/tabs/default.scss
DELETED
|
@@ -1,110 +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 './tabs';
|
|
5
|
-
|
|
6
|
-
@mixin iui-tabs-default {
|
|
7
|
-
@include iui-tab-not-animated;
|
|
8
|
-
|
|
9
|
-
.iui-tab {
|
|
10
|
-
padding: $iui-xs $iui-m;
|
|
11
|
-
box-sizing: border-box;
|
|
12
|
-
@include themed {
|
|
13
|
-
background-color: t(iui-color-background-2);
|
|
14
|
-
border: 1px solid t(iui-color-background-5);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&::after {
|
|
18
|
-
top: 0;
|
|
19
|
-
left: 0;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&:hover {
|
|
23
|
-
@include themed {
|
|
24
|
-
background-color: t(iui-color-background-1);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&.iui-active {
|
|
29
|
-
@include themed {
|
|
30
|
-
background-color: t(iui-color-background-1);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&[disabled] {
|
|
35
|
-
@include themed {
|
|
36
|
-
background-color: t(iui-color-background-3);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&:focus {
|
|
41
|
-
outline-width: 2px;
|
|
42
|
-
outline-offset: -2px;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@at-root {
|
|
47
|
-
.iui-horizontal & {
|
|
48
|
-
.iui-tab.iui-active {
|
|
49
|
-
border-bottom-color: transparent;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
:not(:first-child) .iui-tab {
|
|
53
|
-
border-left: none;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
~ .iui-tabs-content {
|
|
57
|
-
margin-top: -1px;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
:where(.iui-button) {
|
|
61
|
-
height: 100%;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@at-root {
|
|
67
|
-
.iui-vertical & {
|
|
68
|
-
.iui-tab.iui-active {
|
|
69
|
-
border-right-color: transparent;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
:not(:first-child) .iui-tab {
|
|
73
|
-
border-top: none;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
~ .iui-tabs-content {
|
|
77
|
-
margin-left: -1px;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
:where(.iui-button) {
|
|
81
|
-
width: 100%;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&.iui-large {
|
|
87
|
-
.iui-tab {
|
|
88
|
-
min-height: $iui-component-height-large;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.iui-tab-description {
|
|
92
|
-
display: -webkit-box; /* stylelint-disable-line */
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
&.iui-green .iui-tab::after {
|
|
97
|
-
@include themed {
|
|
98
|
-
background-color: t(iui-color-foreground-positive);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
~ .iui-tabs-content {
|
|
103
|
-
padding-left: $iui-m;
|
|
104
|
-
padding-right: $iui-m;
|
|
105
|
-
@include themed {
|
|
106
|
-
background-color: t(iui-color-background-1);
|
|
107
|
-
border: 1px solid t(iui-color-background-5);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
package/scss/tabs/index.scss
DELETED
package/scss/tabs/pill.scss
DELETED
|
@@ -1,48 +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 './tabs';
|
|
6
|
-
|
|
7
|
-
@mixin iui-tabs-pill {
|
|
8
|
-
justify-content: space-evenly;
|
|
9
|
-
|
|
10
|
-
> li {
|
|
11
|
-
flex: 1 1 0;
|
|
12
|
-
|
|
13
|
-
&:not(:last-child) {
|
|
14
|
-
margin-right: $iui-xxs;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&.iui-green .iui-tab:hover {
|
|
19
|
-
@include themed {
|
|
20
|
-
background-color: rgba(t(iui-color-foreground-positive-rgb), t(iui-opacity-6));
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.iui-tab {
|
|
25
|
-
padding: $iui-xs;
|
|
26
|
-
background-color: transparent;
|
|
27
|
-
width: 100%;
|
|
28
|
-
justify-content: center;
|
|
29
|
-
border-radius: $iui-border-radius;
|
|
30
|
-
|
|
31
|
-
&::after {
|
|
32
|
-
bottom: 0;
|
|
33
|
-
left: 0;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&:hover {
|
|
37
|
-
@include themed {
|
|
38
|
-
background-color: rgba(t(iui-color-foreground-primary-rgb), t(iui-opacity-6));
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&[disabled]:hover {
|
|
43
|
-
@include themed {
|
|
44
|
-
background-color: transparent;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
package/scss/tabs/tabs.scss
DELETED
|
@@ -1,220 +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-tabs {
|
|
6
|
-
@include iui-reset;
|
|
7
|
-
position: relative;
|
|
8
|
-
list-style: none;
|
|
9
|
-
user-select: none;
|
|
10
|
-
|
|
11
|
-
.iui-tab {
|
|
12
|
-
@include iui-reset;
|
|
13
|
-
font-family: inherit;
|
|
14
|
-
position: relative;
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
font-size: $iui-font-size;
|
|
18
|
-
min-height: $iui-component-height;
|
|
19
|
-
height: 100%;
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
transition: background-color $iui-speed-fast ease-out;
|
|
22
|
-
@include themed {
|
|
23
|
-
color: t(iui-text-color);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&.iui-active {
|
|
27
|
-
@include themed {
|
|
28
|
-
color: t(iui-color-foreground-primary);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.iui-tab-icon {
|
|
32
|
-
@include themed {
|
|
33
|
-
fill: t(iui-icons-color-primary);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.iui-tab-description {
|
|
38
|
-
@include themed {
|
|
39
|
-
opacity: t(iui-opacity-1);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&[disabled] {
|
|
45
|
-
cursor: not-allowed;
|
|
46
|
-
@include themed {
|
|
47
|
-
color: t(iui-text-color-muted);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.iui-tab-icon {
|
|
51
|
-
@include themed {
|
|
52
|
-
fill: t(iui-icons-color-actionable-disabled);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
@include iui-focus;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.iui-tab-icon {
|
|
61
|
-
width: $iui-icons-default;
|
|
62
|
-
height: $iui-icons-default;
|
|
63
|
-
flex-shrink: 0;
|
|
64
|
-
transition: fill $iui-speed-fast ease-out;
|
|
65
|
-
@include themed {
|
|
66
|
-
fill: t(iui-icons-color-actionable);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
+ .iui-tab-label {
|
|
70
|
-
margin-left: $iui-s;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.iui-tab-description {
|
|
75
|
-
display: none;
|
|
76
|
-
font-size: $iui-font-size-small;
|
|
77
|
-
@include themed {
|
|
78
|
-
opacity: t(iui-opacity-3);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&.iui-green .iui-tab {
|
|
83
|
-
&:focus {
|
|
84
|
-
outline-color: t(iui-color-foreground-positive);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&.iui-active {
|
|
88
|
-
@include themed {
|
|
89
|
-
color: t(iui-color-foreground-positive);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.iui-tab-icon {
|
|
93
|
-
@include themed {
|
|
94
|
-
fill: t(iui-icons-color-positive);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
~ .iui-tabs-content {
|
|
101
|
-
padding-top: $iui-baseline;
|
|
102
|
-
padding-bottom: $iui-baseline;
|
|
103
|
-
box-sizing: border-box;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
@mixin iui-tab-label {
|
|
108
|
-
text-align: left;
|
|
109
|
-
max-width: 60ch;
|
|
110
|
-
|
|
111
|
-
> * {
|
|
112
|
-
@include iui-line-clamp(3);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
@mixin iui-tabs-horizontal {
|
|
117
|
-
flex-direction: column;
|
|
118
|
-
|
|
119
|
-
.iui-tabs {
|
|
120
|
-
display: flex;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.iui-tab {
|
|
124
|
-
&::after {
|
|
125
|
-
width: 100%;
|
|
126
|
-
height: 0;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
&.iui-active::after {
|
|
130
|
-
height: $iui-xxs;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
@mixin iui-tabs-vertical {
|
|
136
|
-
.iui-tabs {
|
|
137
|
-
li,
|
|
138
|
-
.iui-tab {
|
|
139
|
-
width: 100%;
|
|
140
|
-
white-space: nowrap;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
~ .iui-tabs-content {
|
|
144
|
-
flex-grow: 1;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.iui-tab {
|
|
149
|
-
&::after {
|
|
150
|
-
width: 0;
|
|
151
|
-
height: 100%;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
&.iui-active::after {
|
|
155
|
-
width: $iui-xxs;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
@mixin iui-tab-not-animated {
|
|
161
|
-
.iui-tab::after {
|
|
162
|
-
content: '';
|
|
163
|
-
position: absolute;
|
|
164
|
-
@include themed {
|
|
165
|
-
background-color: t(iui-color-foreground-primary);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.iui-active::after {
|
|
170
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
171
|
-
transition: width $iui-speed-fast ease, height $iui-speed-fast ease;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
&.iui-green .iui-tab::after {
|
|
176
|
-
@include themed {
|
|
177
|
-
background-color: t(iui-color-foreground-positive);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
@mixin iui-tab-animated {
|
|
183
|
-
&::after {
|
|
184
|
-
position: absolute;
|
|
185
|
-
content: ' ';
|
|
186
|
-
@include themed {
|
|
187
|
-
background-color: t(iui-color-foreground-primary);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
&.iui-green::after {
|
|
192
|
-
@include themed {
|
|
193
|
-
background-color: t(iui-color-foreground-positive);
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
@at-root {
|
|
198
|
-
.iui-horizontal &::after {
|
|
199
|
-
top: calc(100% - #{$iui-xxs});
|
|
200
|
-
height: $iui-xxs;
|
|
201
|
-
left: var(--stripe-left);
|
|
202
|
-
width: var(--stripe-width);
|
|
203
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
204
|
-
transition: width $iui-speed-fast ease-out, left $iui-speed-fast ease-out;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
@at-root {
|
|
210
|
-
.iui-vertical &::after {
|
|
211
|
-
left: calc(100% - #{$iui-xxs});
|
|
212
|
-
width: $iui-xxs;
|
|
213
|
-
top: var(--stripe-top);
|
|
214
|
-
height: var(--stripe-height);
|
|
215
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
216
|
-
transition: top $iui-speed-fast ease-out;
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
}
|
package/scss/tag/classes.scss
DELETED
|
@@ -1,29 +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 './tag';
|
|
4
|
-
@import '../anchor/index';
|
|
5
|
-
|
|
6
|
-
.iui-tag {
|
|
7
|
-
@include iui-tag;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.iui-tag-basic {
|
|
11
|
-
@include iui-tag-basic;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.iui-tag-label {
|
|
15
|
-
@include iui-tag-label;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.iui-tag-button {
|
|
19
|
-
@include iui-tag-button;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
a.iui-tag-basic {
|
|
23
|
-
@include iui-anchor;
|
|
24
|
-
@include iui-focus($offset: 1px);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.iui-tag-container {
|
|
28
|
-
@include iui-tag-container;
|
|
29
|
-
}
|
package/scss/tag/index.scss
DELETED
package/scss/tag/tag.scss
DELETED
|
@@ -1,99 +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
|
-
@import '../button/index';
|
|
6
|
-
|
|
7
|
-
@mixin iui-tag-base {
|
|
8
|
-
user-select: all;
|
|
9
|
-
text-transform: lowercase;
|
|
10
|
-
display: inline-flex;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@mixin iui-tag-basic {
|
|
14
|
-
@include iui-tag-base;
|
|
15
|
-
|
|
16
|
-
&:not(a) {
|
|
17
|
-
@include themed {
|
|
18
|
-
color: t(iui-text-color-muted);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
@mixin iui-tag {
|
|
24
|
-
@include iui-tag-base;
|
|
25
|
-
height: $iui-baseline * 3;
|
|
26
|
-
margin-top: $iui-component-offset;
|
|
27
|
-
margin-bottom: $iui-component-offset;
|
|
28
|
-
border-radius: $iui-border-radius-round;
|
|
29
|
-
box-sizing: border-box;
|
|
30
|
-
padding: 0 $iui-xxs;
|
|
31
|
-
align-items: center;
|
|
32
|
-
transition: border-color $iui-speed-fast ease-out;
|
|
33
|
-
font-size: $iui-font-size;
|
|
34
|
-
text-transform: none;
|
|
35
|
-
cursor: default;
|
|
36
|
-
-webkit-tap-highlight-color: transparent;
|
|
37
|
-
@include themed {
|
|
38
|
-
border: 1px solid rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-4));
|
|
39
|
-
background-color: t(iui-color-background-1);
|
|
40
|
-
color: t(iui-text-color);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&:hover {
|
|
44
|
-
@include themed {
|
|
45
|
-
border-color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-1));
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
@mixin iui-tag-label {
|
|
51
|
-
@include iui-text;
|
|
52
|
-
white-space: nowrap;
|
|
53
|
-
text-overflow: ellipsis;
|
|
54
|
-
overflow: hidden;
|
|
55
|
-
margin: 0 $iui-xs 0 $iui-s;
|
|
56
|
-
|
|
57
|
-
&:only-child {
|
|
58
|
-
margin: 0 $iui-s;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
@mixin iui-tag-button {
|
|
63
|
-
border-radius: 50%;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@mixin iui-tag-container {
|
|
67
|
-
@include themed {
|
|
68
|
-
color: t(iui-text-color-muted);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
> a.iui-tag-basic {
|
|
72
|
-
margin: $iui-xxs;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
> *:not(last-child) {
|
|
76
|
-
margin-right: $iui-xs;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
> .iui-tag-basic:not(:last-child)::after {
|
|
80
|
-
content: ',';
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
&.iui-truncate {
|
|
84
|
-
@include iui-line-clamp(1);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&.iui-scroll {
|
|
88
|
-
white-space: nowrap;
|
|
89
|
-
overflow-x: scroll;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&.iui-visible {
|
|
93
|
-
border-radius: $iui-border-radius;
|
|
94
|
-
padding: $iui-component-offset $iui-sm;
|
|
95
|
-
@include themed {
|
|
96
|
-
background-color: t(iui-color-background-3);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
package/scss/text/classes.scss
DELETED
|
@@ -1,40 +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 './mixins';
|
|
5
|
-
|
|
6
|
-
.iui-text-headline {
|
|
7
|
-
@include iui-text(headline);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.iui-text-title {
|
|
11
|
-
@include iui-text(title);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.iui-text-subheading {
|
|
15
|
-
@include iui-text(subheading);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.iui-text-leading {
|
|
19
|
-
@include iui-text(leading);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.iui-text-block {
|
|
23
|
-
@include iui-text(body);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.iui-text-small {
|
|
27
|
-
@include iui-text(small);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.iui-text-muted {
|
|
31
|
-
@include iui-text-muted;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.iui-skeleton {
|
|
35
|
-
@include iui-text-skeleton;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.iui-text-spacing {
|
|
39
|
-
@include iui-text-block-spacing;
|
|
40
|
-
}
|