@itwin/itwinui-css 0.55.0 → 0.58.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/css/all.css +1116 -689
- package/css/anchor.css +21 -17
- package/css/breadcrumbs.css +312 -57
- package/css/button.css +9 -12
- package/css/dialog.css +201 -0
- package/css/footer.css +1 -17
- package/css/global.css +1 -17
- package/css/inputs.css +18 -168
- package/css/radio-tile.css +217 -0
- package/css/table.css +25 -14
- package/css/tabs.css +4 -0
- package/css/tag.css +1 -17
- package/css/text.css +9 -3
- package/css/toast-notification.css +1 -1
- package/css/toggle-switch.css +65 -0
- package/package.json +1 -1
- package/scss/anchor/classes.scss +4 -0
- package/scss/breadcrumbs/breadcrumbs.scss +77 -18
- package/scss/breadcrumbs/classes.scss +12 -0
- package/scss/button/button.scss +17 -16
- package/scss/button/classes.scss +4 -0
- package/scss/button/cta.scss +3 -1
- package/scss/button/default.scss +0 -2
- package/scss/button/high-visibility.scss +3 -1
- package/scss/classes.scss +4 -3
- package/scss/dialog/classes.scss +47 -0
- package/scss/dialog/dialog.scss +213 -0
- package/scss/{modal → dialog}/index.scss +1 -1
- package/scss/index.scss +4 -3
- package/scss/inputs/checkbox.scss +11 -6
- package/scss/inputs/classes.scss +0 -4
- package/scss/inputs/index.scss +0 -1
- package/scss/inputs/labeled-inputs.scss +1 -1
- package/scss/radio-tile/classes.scss +31 -0
- package/scss/radio-tile/index.scss +3 -0
- package/scss/radio-tile/radio-tile.scss +209 -0
- package/scss/style/anchor.scss +19 -16
- package/scss/table/classes.scss +4 -0
- package/scss/table/paginator.scss +4 -0
- package/scss/table/table.scss +9 -2
- package/scss/tabs/tabs.scss +6 -0
- package/scss/text/skeleton.scss +13 -7
- package/scss/toast-notification/classes.scss +1 -1
- package/scss/toggle-switch/toggle-switch.scss +50 -2
- package/css/modal.css +0 -132
- package/scss/inputs/radio-tile.scss +0 -200
- package/scss/modal/classes.scss +0 -15
- package/scss/modal/modal.scss +0 -155
package/scss/button/button.scss
CHANGED
|
@@ -11,6 +11,7 @@ $iui-button-padding-large: $iui-xs * 6;
|
|
|
11
11
|
|
|
12
12
|
@mixin iui-button {
|
|
13
13
|
--_iui-button-active-stripe-inset: initial;
|
|
14
|
+
--_iui-button-text-color: rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-2));
|
|
14
15
|
|
|
15
16
|
@include iui-reset;
|
|
16
17
|
font-family: inherit;
|
|
@@ -38,12 +39,12 @@ $iui-button-padding-large: $iui-xs * 6;
|
|
|
38
39
|
@include themed {
|
|
39
40
|
color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-2));
|
|
40
41
|
}
|
|
42
|
+
color: var(--_iui-button-text-color);
|
|
41
43
|
|
|
42
44
|
&:hover {
|
|
45
|
+
--_iui-button-text-color: rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-1));
|
|
46
|
+
|
|
43
47
|
text-decoration: none;
|
|
44
|
-
@include themed {
|
|
45
|
-
color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-1));
|
|
46
|
-
}
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
@include iui-focus;
|
|
@@ -52,21 +53,21 @@ $iui-button-padding-large: $iui-xs * 6;
|
|
|
52
53
|
&:disabled {
|
|
53
54
|
@include iui-button-disabled;
|
|
54
55
|
}
|
|
56
|
+
}
|
|
55
57
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
58
|
+
@mixin iui-button-active {
|
|
59
|
+
// Shows active stripe only if --_iui-button-active-stripe-inset is set (from outside)
|
|
60
|
+
&::after {
|
|
61
|
+
content: '';
|
|
62
|
+
position: absolute;
|
|
63
|
+
inset: var(--_iui-button-active-stripe-inset);
|
|
64
|
+
background-color: var(--iui-color-foreground-primary);
|
|
65
|
+
}
|
|
64
66
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
67
|
+
&[disabled],
|
|
68
|
+
&:disabled {
|
|
69
|
+
&::after {
|
|
70
|
+
background-color: rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-5));
|
|
70
71
|
}
|
|
71
72
|
}
|
|
72
73
|
}
|
package/scss/button/classes.scss
CHANGED
package/scss/button/cta.scss
CHANGED
|
@@ -6,11 +6,14 @@
|
|
|
6
6
|
@import './disabled';
|
|
7
7
|
|
|
8
8
|
@mixin iui-button-cta {
|
|
9
|
+
--_iui-button-text-color: var(--iui-color-foreground-accessory);
|
|
10
|
+
|
|
9
11
|
@include themed {
|
|
10
12
|
background-color: t(iui-color-background-positive);
|
|
11
13
|
border-color: t(iui-color-background-positive);
|
|
12
14
|
color: t(iui-color-foreground-accessory);
|
|
13
15
|
}
|
|
16
|
+
color: var(--_iui-button-text-color);
|
|
14
17
|
@include iui-focus($color: var(--iui-color-foreground-accessory), $offset: -3px, $thickness: 1px);
|
|
15
18
|
|
|
16
19
|
&:hover,
|
|
@@ -18,7 +21,6 @@
|
|
|
18
21
|
@include themed {
|
|
19
22
|
background-color: t(iui-color-background-positive-overlay);
|
|
20
23
|
border-color: t(iui-color-background-positive-overlay);
|
|
21
|
-
color: t(iui-color-foreground-accessory);
|
|
22
24
|
}
|
|
23
25
|
}
|
|
24
26
|
|
package/scss/button/default.scss
CHANGED
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
@include themed {
|
|
11
11
|
background-color: t(iui-color-background-1);
|
|
12
12
|
border-color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-4));
|
|
13
|
-
color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-2));
|
|
14
13
|
}
|
|
15
14
|
@include iui-focus($offset: -2px, $thickness: 2px);
|
|
16
15
|
|
|
@@ -19,7 +18,6 @@
|
|
|
19
18
|
@include themed {
|
|
20
19
|
background-color: t(iui-color-background-1-overlay);
|
|
21
20
|
border-color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-1));
|
|
22
|
-
color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-1));
|
|
23
21
|
}
|
|
24
22
|
@include iui-notification-marker-hover;
|
|
25
23
|
}
|
|
@@ -6,11 +6,14 @@
|
|
|
6
6
|
@import './button-icon';
|
|
7
7
|
|
|
8
8
|
@mixin iui-button-high-visibility {
|
|
9
|
+
--_iui-button-text-color: var(--iui-color-foreground-accessory);
|
|
10
|
+
|
|
9
11
|
@include themed {
|
|
10
12
|
background-color: t(iui-color-background-primary);
|
|
11
13
|
border-color: t(iui-color-background-primary);
|
|
12
14
|
color: t(iui-color-foreground-accessory);
|
|
13
15
|
}
|
|
16
|
+
color: var(--_iui-button-text-color);
|
|
14
17
|
@include iui-focus($color: var(--iui-color-foreground-accessory), $offset: -3px, $thickness: 1px);
|
|
15
18
|
|
|
16
19
|
&:hover,
|
|
@@ -18,7 +21,6 @@
|
|
|
18
21
|
@include themed {
|
|
19
22
|
background-color: t(iui-color-background-primary-overlay);
|
|
20
23
|
border-color: t(iui-color-background-primary-overlay);
|
|
21
|
-
color: t(iui-color-foreground-accessory);
|
|
22
24
|
}
|
|
23
25
|
}
|
|
24
26
|
|
package/scss/classes.scss
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
@import './code/classes';
|
|
13
13
|
@import './color-picker/classes';
|
|
14
14
|
@import './date-picker/classes';
|
|
15
|
+
@import './dialog/classes';
|
|
15
16
|
@import './expandable-block/classes';
|
|
16
17
|
@import './fieldset/classes';
|
|
17
18
|
@import './file-upload/classes';
|
|
@@ -23,13 +24,15 @@
|
|
|
23
24
|
@import './keyboard/classes';
|
|
24
25
|
@import './location-marker/classes';
|
|
25
26
|
@import './menu/classes';
|
|
26
|
-
@import './modal/classes';
|
|
27
27
|
@import './non-ideal-state/classes';
|
|
28
28
|
@import './notification-marker/classes';
|
|
29
29
|
@import './popover/classes';
|
|
30
30
|
@import './progress-indicator/classes';
|
|
31
|
+
@import './radio-tile/classes';
|
|
31
32
|
@import './side-navigation/classes';
|
|
33
|
+
@import './skip-to-content/classes';
|
|
32
34
|
@import './slider/classes';
|
|
35
|
+
@import './surface/classes';
|
|
33
36
|
@import './table/classes';
|
|
34
37
|
@import './tabs/classes';
|
|
35
38
|
@import './tag/classes';
|
|
@@ -42,5 +45,3 @@
|
|
|
42
45
|
@import './tree/classes';
|
|
43
46
|
@import './user-icon/classes';
|
|
44
47
|
@import './wizard/classes';
|
|
45
|
-
@import './skip-to-content/classes';
|
|
46
|
-
@import './surface/classes';
|
|
@@ -0,0 +1,47 @@
|
|
|
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-dialog-backdrop {
|
|
6
|
+
@include iui-dialog-backdrop;
|
|
7
|
+
|
|
8
|
+
&.iui-dialog-backdrop-relative {
|
|
9
|
+
@include iui-dialog-backdrop-relative;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.iui-dialog {
|
|
14
|
+
@include iui-dialog;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.iui-dialog-default {
|
|
18
|
+
@include iui-dialog-default;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.iui-dialog-full-page {
|
|
22
|
+
@include iui-dialog-full-page;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.iui-dialog-draggable {
|
|
26
|
+
@include iui-dialog-draggable;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.iui-dialog-title {
|
|
30
|
+
@include iui-dialog-title;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.iui-dialog-title-bar {
|
|
34
|
+
@include iui-dialog-title-bar;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.iui-dialog-content {
|
|
38
|
+
@include iui-dialog-content;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.iui-dialog-button-bar {
|
|
42
|
+
@include iui-dialog-button-bar;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.iui-dialog-animation {
|
|
46
|
+
@include iui-dialog-animation;
|
|
47
|
+
}
|
|
@@ -0,0 +1,213 @@
|
|
|
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
|
+
|
|
6
|
+
@mixin iui-dialog-backdrop {
|
|
7
|
+
@include iui-reset;
|
|
8
|
+
z-index: 999;
|
|
9
|
+
isolation: isolate;
|
|
10
|
+
position: fixed;
|
|
11
|
+
top: 0;
|
|
12
|
+
left: 0;
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: 100%;
|
|
15
|
+
@include themed {
|
|
16
|
+
background-color: rgba(0, 0, 0, t(iui-opacity-4));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// Small/Resizable Dialog Animations for CSS
|
|
20
|
+
visibility: hidden;
|
|
21
|
+
opacity: 0;
|
|
22
|
+
transition: visibility $iui-speed-instant linear $iui-speed-fast, opacity $iui-speed-fast ease-out;
|
|
23
|
+
|
|
24
|
+
&.iui-dialog-visible {
|
|
25
|
+
visibility: visible;
|
|
26
|
+
opacity: 1;
|
|
27
|
+
// remove delay for entry animation so dialog is instantly visible
|
|
28
|
+
transition-delay: $iui-speed-instant;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@mixin iui-dialog-backdrop-relative {
|
|
33
|
+
position: relative;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@mixin iui-dialog {
|
|
38
|
+
border-radius: $iui-border-radius;
|
|
39
|
+
box-shadow: $iui-elevation-24;
|
|
40
|
+
box-sizing: border-box;
|
|
41
|
+
position: absolute;
|
|
42
|
+
padding: $iui-baseline $iui-m;
|
|
43
|
+
box-sizing: border-box;
|
|
44
|
+
padding: $iui-baseline $iui-m;
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
@include themed {
|
|
47
|
+
background-color: t(iui-color-background-1);
|
|
48
|
+
}
|
|
49
|
+
@media (forced-colors: active) {
|
|
50
|
+
border: 1px solid;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@mixin iui-dialog-default {
|
|
55
|
+
.iui-dialog {
|
|
56
|
+
left: 50%;
|
|
57
|
+
top: 33%;
|
|
58
|
+
transform: translate(-50%, -33%);
|
|
59
|
+
max-width: 50%;
|
|
60
|
+
min-width: 380px;
|
|
61
|
+
max-height: 100vh;
|
|
62
|
+
|
|
63
|
+
@media screen and (max-width: 400px) {
|
|
64
|
+
max-width: 95%;
|
|
65
|
+
width: 95%;
|
|
66
|
+
min-width: 95%;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@mixin iui-dialog-full-page {
|
|
72
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
73
|
+
transition: visibility $iui-speed-instant linear $iui-speed-slow, opacity $iui-speed ease-out $iui-speed-fast;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.iui-dialog {
|
|
77
|
+
border-radius: 0;
|
|
78
|
+
height: 100vh;
|
|
79
|
+
width: 100vw;
|
|
80
|
+
top: 0;
|
|
81
|
+
left: 0;
|
|
82
|
+
max-width: initial;
|
|
83
|
+
min-width: initial;
|
|
84
|
+
display: flex;
|
|
85
|
+
flex-direction: column;
|
|
86
|
+
will-change: transform;
|
|
87
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
88
|
+
transform: translateY(100%);
|
|
89
|
+
transition: visibility $iui-speed-instant linear $iui-speed, opacity $iui-speed-instant linear $iui-speed,
|
|
90
|
+
transform $iui-speed-fast ease-in;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&.iui-dialog-visible .iui-dialog {
|
|
95
|
+
transform: translateY(0);
|
|
96
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
97
|
+
transition: transform $iui-speed ease-out;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@mixin iui-dialog-draggable {
|
|
103
|
+
background-color: transparent;
|
|
104
|
+
pointer-events: none;
|
|
105
|
+
z-index: 998;
|
|
106
|
+
|
|
107
|
+
.iui-dialog {
|
|
108
|
+
pointer-events: initial;
|
|
109
|
+
max-width: 100vw;
|
|
110
|
+
max-height: 100vh;
|
|
111
|
+
min-width: 380px;
|
|
112
|
+
min-height: 144px;
|
|
113
|
+
display: flex;
|
|
114
|
+
flex-direction: column;
|
|
115
|
+
padding: 0;
|
|
116
|
+
@include themed {
|
|
117
|
+
border: 1px solid t(iui-color-background-border);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@mixin iui-dialog-animation {
|
|
123
|
+
// Full Page Dialog Animations for React
|
|
124
|
+
&-enter .iui-dialog-full-page .iui-dialog {
|
|
125
|
+
transform: translateY(100%);
|
|
126
|
+
opacity: 0;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&-enter-active .iui-dialog-full-page .iui-dialog {
|
|
130
|
+
transform: translateY(0);
|
|
131
|
+
opacity: 1;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// Small Dialog Animations for React
|
|
135
|
+
&-enter .iui-dialog-backdrop {
|
|
136
|
+
visibility: hidden;
|
|
137
|
+
opacity: 0;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
&-enter-active .iui-dialog-backdrop {
|
|
141
|
+
visibility: visible;
|
|
142
|
+
opacity: 1;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@mixin iui-dialog-title {
|
|
147
|
+
font-size: inherit;
|
|
148
|
+
white-space: nowrap;
|
|
149
|
+
overflow: hidden;
|
|
150
|
+
text-overflow: ellipsis;
|
|
151
|
+
line-height: 1.5;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@mixin iui-dialog-title-bar {
|
|
155
|
+
display: flex;
|
|
156
|
+
align-items: center;
|
|
157
|
+
margin-bottom: $iui-baseline;
|
|
158
|
+
justify-content: space-between;
|
|
159
|
+
box-sizing: border-box;
|
|
160
|
+
font-size: $iui-font-size-subheading;
|
|
161
|
+
|
|
162
|
+
@at-root .iui-dialog-draggable & {
|
|
163
|
+
user-select: none;
|
|
164
|
+
font-size: $iui-font-size-leading;
|
|
165
|
+
padding: round($iui-baseline * 0.5) $iui-m;
|
|
166
|
+
cursor: grab;
|
|
167
|
+
@include themed {
|
|
168
|
+
background-color: t(iui-color-background-3);
|
|
169
|
+
border-bottom: 1px solid t(iui-color-background-border);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
&:active {
|
|
173
|
+
cursor: grabbing;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
@mixin iui-dialog-content {
|
|
179
|
+
flex-grow: 2;
|
|
180
|
+
margin: 0 -#{$iui-m};
|
|
181
|
+
padding: 0 $iui-m;
|
|
182
|
+
overflow-y: auto;
|
|
183
|
+
overflow-y: overlay;
|
|
184
|
+
|
|
185
|
+
@at-root .iui-dialog-draggable & {
|
|
186
|
+
margin: 0;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
@mixin iui-dialog-button-bar {
|
|
191
|
+
margin-top: $iui-baseline;
|
|
192
|
+
display: flex;
|
|
193
|
+
align-items: center;
|
|
194
|
+
justify-content: flex-end;
|
|
195
|
+
|
|
196
|
+
@at-root .iui-dialog-draggable & {
|
|
197
|
+
padding: 0 $iui-m $iui-baseline $iui-m;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
// #region IE support
|
|
201
|
+
> .iui-button:not(:last-child) {
|
|
202
|
+
margin-right: $iui-s;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
@supports (column-gap: $iui-s) {
|
|
206
|
+
column-gap: $iui-s;
|
|
207
|
+
|
|
208
|
+
> .iui-button:not(:last-child) {
|
|
209
|
+
margin-right: 0;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
// #endregion IE support
|
|
213
|
+
}
|
package/scss/index.scss
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
@import './code/index';
|
|
12
12
|
@import './color-picker/index';
|
|
13
13
|
@import './date-picker/index';
|
|
14
|
+
@import './dialog/index';
|
|
14
15
|
@import './expandable-block/index';
|
|
15
16
|
@import './file-upload/index';
|
|
16
17
|
@import './footer/index';
|
|
@@ -21,13 +22,15 @@
|
|
|
21
22
|
@import './keyboard/index';
|
|
22
23
|
@import './location-marker/index';
|
|
23
24
|
@import './menu/index';
|
|
24
|
-
@import './modal/index';
|
|
25
25
|
@import './non-ideal-state/index';
|
|
26
26
|
@import './notification-marker/index';
|
|
27
27
|
@import './popover/index';
|
|
28
28
|
@import './progress-indicator/index';
|
|
29
|
+
@import './radio-tile/index';
|
|
29
30
|
@import './side-navigation/index';
|
|
31
|
+
@import './skip-to-content/index';
|
|
30
32
|
@import './slider/index';
|
|
33
|
+
@import './surface/index';
|
|
31
34
|
@import './table/index';
|
|
32
35
|
@import './tabs/index';
|
|
33
36
|
@import './tag/index';
|
|
@@ -40,5 +43,3 @@
|
|
|
40
43
|
@import './tree/index';
|
|
41
44
|
@import './user-icon/index';
|
|
42
45
|
@import './wizard/index';
|
|
43
|
-
@import './skip-to-content/index';
|
|
44
|
-
@import './surface/index';
|
|
@@ -66,6 +66,13 @@
|
|
|
66
66
|
|
|
67
67
|
@include iui-focus($thickness: 2px);
|
|
68
68
|
|
|
69
|
+
&:disabled {
|
|
70
|
+
--_iui-checkbox-svg-color: var(--iui-icons-color-actionable-disabled);
|
|
71
|
+
--_iui-checkbox-border-color: var(--iui-color-background-border);
|
|
72
|
+
--_iui-checkbox-background-color: var(--iui-color-background-disabled);
|
|
73
|
+
cursor: not-allowed;
|
|
74
|
+
}
|
|
75
|
+
|
|
69
76
|
&.iui-checkbox-visibility {
|
|
70
77
|
--_iui-checkbox-checkmark-svg: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m8 2.99051a8.81883 8.81883 0 0 0 -8 4.95062 8.74664 8.74664 0 0 0 8 5.06836 8.63266 8.63266 0 0 0 8-5.06836 8.83631 8.83631 0 0 0 -8-4.95062zm-1.31445 1.86981a1.47663 1.47663 0 1 1 -1.47663 1.47668 1.47665 1.47665 0 0 1 1.47663-1.47668zm1.31445 6.64917a7.17486 7.17486 0 0 1 -6.30475-3.55237 7.4952 7.4952 0 0 1 2.81475-2.6336 3.83956 3.83956 0 1 0 6.98126.00244 7.522 7.522 0 0 1 2.81774 2.63916 7.09785 7.09785 0 0 1 -6.309 3.54437z" /></svg>');
|
|
71
78
|
--_iui-checkbox-indeterminate-svg: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m8 3v7.9a4.01179 4.01179 0 0 0 4-4 6.7509 6.7509 0 0 0 -.2-1.4l.1.1a6.89429 6.89429 0 0 1 2.4 2.4 8.39088 8.39088 0 0 1 -2.3 2.3 6.89412 6.89412 0 0 1 -3.9 1.2c-.03345 0-.06653-.00677-.1-.0072v1.5072a8.90686 8.90686 0 0 0 8-5 8.90686 8.90686 0 0 0 -8-5z" opacity=".33" /><path d="m8 0a1 1 0 0 0 -1 1v2.07135a8.91637 8.91637 0 0 0 -7 4.92865 8.91637 8.91637 0 0 0 7 4.92865v2.07135a1 1 0 0 0 2 0v-14a1 1 0 0 0 -1-1zm-1.5 4.9a1.55426 1.55426 0 0 1 .5.087v2.81451a1.40746 1.40746 0 0 1 -.5.09849 1.538 1.538 0 0 1 -1.5-1.5 1.53794 1.53794 0 0 1 1.5-1.5zm-2.3 5.4a6.97279 6.97279 0 0 1 -2.5-2.3 6.89429 6.89429 0 0 1 2.4-2.4c.1 0 .1-.1.2-.1a3.194 3.194 0 0 0 -.3 1.4 4.0047 4.0047 0 0 0 3 3.857v.65289a6.37491 6.37491 0 0 1 -2.8-1.10989z" /></svg>');
|
|
@@ -82,13 +89,11 @@
|
|
|
82
89
|
--_iui-checkbox-border-color: transparent;
|
|
83
90
|
--_iui-checkbox-background-color: rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-6));
|
|
84
91
|
}
|
|
85
|
-
}
|
|
86
92
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
cursor: not-allowed;
|
|
93
|
+
&:where(:disabled) {
|
|
94
|
+
--_iui-checkbox-svg-color: var(--iui-icons-color-actionable-disabled);
|
|
95
|
+
--_iui-checkbox-background-color: var(--iui-color-background-disabled);
|
|
96
|
+
}
|
|
92
97
|
}
|
|
93
98
|
|
|
94
99
|
&.iui-loading {
|
package/scss/inputs/classes.scss
CHANGED
package/scss/inputs/index.scss
CHANGED
|
@@ -0,0 +1,31 @@
|
|
|
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-radio-tile {
|
|
6
|
+
@include iui-radio-tile;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.iui-radio-tile-content {
|
|
10
|
+
@include iui-radio-tile-content;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.iui-radio-tile-container {
|
|
14
|
+
@include iui-radio-tile-container;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.iui-radio-tile-input {
|
|
18
|
+
@include iui-radio-tile-input;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.iui-radio-tile-icon {
|
|
22
|
+
@include iui-radio-tile-icon;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.iui-radio-tile-label {
|
|
26
|
+
@include iui-radio-tile-label;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.iui-radio-tile-sublabel {
|
|
30
|
+
@include iui-radio-tile-sublabel;
|
|
31
|
+
}
|