@itwin/itwinui-css 0.39.1 → 0.42.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 +607 -362
- package/css/breadcrumbs.css +31 -15
- package/css/button.css +279 -189
- package/css/code.css +2 -0
- package/css/header.css +50 -30
- package/css/inputs.css +26 -40
- package/css/side-navigation.css +27 -24
- package/css/table.css +34 -23
- package/css/tile.css +51 -40
- package/css/tree.css +107 -0
- package/css/user-icon.css +3 -1
- package/package.json +1 -1
- package/scss/breadcrumbs/breadcrumbs.scss +1 -1
- package/scss/button/borderless.scss +37 -39
- package/scss/button/button-group.scss +54 -47
- package/scss/button/button-icon.scss +12 -0
- package/scss/button/button.scss +27 -32
- package/scss/button/classes.scss +25 -3
- package/scss/button/cta.scss +31 -21
- package/scss/button/default.scss +40 -45
- package/scss/button/disabled.scss +3 -14
- package/scss/button/high-visibility.scss +31 -21
- package/scss/button/index.scss +1 -0
- package/scss/button/split-menu.scss +39 -20
- package/scss/classes.scss +1 -0
- package/scss/code/codeblock.scss +4 -0
- package/scss/header/header.scss +38 -18
- package/scss/index.scss +1 -0
- package/scss/inputs/checkbox-radio.scss +1 -3
- package/scss/inputs/checkbox.scss +5 -2
- package/scss/inputs/classes.scss +2 -2
- package/scss/inputs/labeled-inputs.scss +3 -3
- package/scss/side-navigation/side-navigation.scss +27 -22
- package/scss/table/paginator.scss +34 -21
- package/scss/table/table.scss +12 -8
- package/scss/tile/tile.scss +4 -2
- package/scss/tree/classes.scss +15 -0
- package/scss/tree/index.scss +3 -0
- package/scss/tree/tree.scss +137 -0
- package/scss/user-icon/user-icon.scss +3 -0
package/scss/button/cta.scss
CHANGED
|
@@ -2,33 +2,43 @@
|
|
|
2
2
|
// See LICENSE.md in the project root for license terms and full copyright notice.
|
|
3
3
|
@import '../style/index';
|
|
4
4
|
@import './button';
|
|
5
|
+
@import './button-icon';
|
|
6
|
+
@import './disabled';
|
|
5
7
|
|
|
6
8
|
@mixin iui-button-cta {
|
|
7
|
-
@include
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
9
|
+
@include iui-button-cta-base;
|
|
10
|
+
|
|
11
|
+
&:focus {
|
|
12
|
+
@include iui-button-cta-hover-focus;
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
fill: t(iui-color-foreground-accessory);
|
|
14
|
+
&:where(:not(:focus-visible)) {
|
|
15
|
+
@include iui-button-cta-base;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
&:
|
|
20
|
-
&:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
background-color: t(iui-color-background-positive-overlay);
|
|
24
|
-
border-color: t(iui-color-background-positive-overlay);
|
|
25
|
-
color: t(iui-color-foreground-accessory);
|
|
26
|
-
}
|
|
19
|
+
&:hover,
|
|
20
|
+
&:active {
|
|
21
|
+
@include iui-button-cta-hover-focus;
|
|
22
|
+
}
|
|
27
23
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
24
|
+
&[disabled],
|
|
25
|
+
&:disabled {
|
|
26
|
+
@include iui-button-disabled;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@mixin iui-button-cta-hover-focus {
|
|
31
|
+
@include themed {
|
|
32
|
+
background-color: t(iui-color-background-positive-overlay);
|
|
33
|
+
border-color: t(iui-color-background-positive-overlay);
|
|
34
|
+
color: t(iui-color-foreground-accessory);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@mixin iui-button-cta-base {
|
|
39
|
+
@include themed {
|
|
40
|
+
background-color: t(iui-color-background-positive);
|
|
41
|
+
border-color: t(iui-color-background-positive);
|
|
42
|
+
color: t(iui-color-foreground-accessory);
|
|
33
43
|
}
|
|
34
44
|
}
|
package/scss/button/default.scss
CHANGED
|
@@ -2,36 +2,24 @@
|
|
|
2
2
|
// See LICENSE.md in the project root for license terms and full copyright notice.
|
|
3
3
|
@import '../style/index';
|
|
4
4
|
@import './button';
|
|
5
|
+
@import './button-icon';
|
|
5
6
|
@import '../notification-marker/index';
|
|
7
|
+
@import './disabled';
|
|
6
8
|
|
|
7
9
|
@mixin iui-button-default {
|
|
8
|
-
@include
|
|
9
|
-
background-color: t(iui-color-background-1);
|
|
10
|
-
border-color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-4));
|
|
11
|
-
color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-2));
|
|
12
|
-
}
|
|
10
|
+
@include iui-button-default-base;
|
|
13
11
|
|
|
14
|
-
|
|
15
|
-
@include
|
|
16
|
-
fill: t(iui-icons-color-actionable);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
12
|
+
&:focus {
|
|
13
|
+
@include iui-button-default-hover-focus;
|
|
19
14
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
&:focus-visible {
|
|
23
|
-
@include themed {
|
|
24
|
-
background-color: t(iui-color-background-1-overlay);
|
|
25
|
-
border-color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-1));
|
|
26
|
-
color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-1));
|
|
15
|
+
&:where(:not(:focus-visible)) {
|
|
16
|
+
@include iui-button-default-base;
|
|
27
17
|
}
|
|
28
|
-
|
|
18
|
+
}
|
|
29
19
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
}
|
|
20
|
+
&:hover,
|
|
21
|
+
&:active {
|
|
22
|
+
@include iui-button-default-hover-focus;
|
|
35
23
|
}
|
|
36
24
|
|
|
37
25
|
&.iui-dropdown {
|
|
@@ -47,29 +35,36 @@
|
|
|
47
35
|
}
|
|
48
36
|
}
|
|
49
37
|
|
|
50
|
-
&.iui-active
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
38
|
+
&.iui-active {
|
|
39
|
+
@include themed {
|
|
40
|
+
background: linear-gradient(
|
|
41
|
+
rgba(t(iui-color-foreground-primary-rgb), t(iui-opacity-6)),
|
|
42
|
+
rgba(t(iui-color-foreground-primary-rgb), t(iui-opacity-6))
|
|
43
|
+
),
|
|
44
|
+
linear-gradient(t(iui-color-background-1), t(iui-color-background-1));
|
|
45
|
+
color: t(iui-color-foreground-primary);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
61
48
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
49
|
+
&[disabled],
|
|
50
|
+
&:disabled {
|
|
51
|
+
@include iui-button-disabled;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
67
54
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
55
|
+
@mixin iui-button-default-hover-focus {
|
|
56
|
+
@include themed {
|
|
57
|
+
background-color: t(iui-color-background-1-overlay);
|
|
58
|
+
border-color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-1));
|
|
59
|
+
color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-1));
|
|
60
|
+
}
|
|
61
|
+
@include iui-notification-marker-hover;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@mixin iui-button-default-base {
|
|
65
|
+
@include themed {
|
|
66
|
+
background-color: t(iui-color-background-1);
|
|
67
|
+
border-color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-4));
|
|
68
|
+
color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-2));
|
|
74
69
|
}
|
|
75
70
|
}
|
|
@@ -1,24 +1,13 @@
|
|
|
1
1
|
// Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2
2
|
// See LICENSE.md in the project root for license terms and full copyright notice.
|
|
3
3
|
@import '../style/index';
|
|
4
|
-
@import './button';
|
|
4
|
+
@import './button-icon';
|
|
5
5
|
|
|
6
6
|
@mixin iui-button-disabled {
|
|
7
7
|
cursor: not-allowed;
|
|
8
8
|
@include themed {
|
|
9
|
-
background
|
|
9
|
+
background: t(iui-color-background-disabled);
|
|
10
10
|
border-color: t(iui-color-background-disabled);
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
> .iui-label {
|
|
14
|
-
@include themed {
|
|
15
|
-
color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-5));
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
> .iui-icon {
|
|
20
|
-
@include themed {
|
|
21
|
-
fill: t(iui-icons-color-actionable-disabled);
|
|
22
|
-
}
|
|
11
|
+
color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-5));
|
|
23
12
|
}
|
|
24
13
|
}
|
|
@@ -2,33 +2,43 @@
|
|
|
2
2
|
// See LICENSE.md in the project root for license terms and full copyright notice.
|
|
3
3
|
@import '../style/index';
|
|
4
4
|
@import './button';
|
|
5
|
+
@import './disabled';
|
|
6
|
+
@import './button-icon';
|
|
5
7
|
|
|
6
8
|
@mixin iui-button-high-visibility {
|
|
7
|
-
@include
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
9
|
+
@include iui-button-high-visibility-base;
|
|
10
|
+
|
|
11
|
+
&:focus {
|
|
12
|
+
@include iui-button-high-visibility-hover-focus;
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
fill: t(iui-color-foreground-accessory);
|
|
14
|
+
&:where(:not(:focus-visible)) {
|
|
15
|
+
@include iui-button-high-visibility-base;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
&:
|
|
20
|
-
&:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
background-color: t(iui-color-background-primary-overlay);
|
|
24
|
-
border-color: t(iui-color-background-primary-overlay);
|
|
25
|
-
color: t(iui-color-foreground-accessory);
|
|
26
|
-
}
|
|
19
|
+
&:hover,
|
|
20
|
+
&:active {
|
|
21
|
+
@include iui-button-high-visibility-hover-focus;
|
|
22
|
+
}
|
|
27
23
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
24
|
+
&[disabled],
|
|
25
|
+
&:disabled {
|
|
26
|
+
@include iui-button-disabled;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@mixin iui-button-high-visibility-hover-focus {
|
|
31
|
+
@include themed {
|
|
32
|
+
background-color: t(iui-color-background-primary-overlay);
|
|
33
|
+
border-color: t(iui-color-background-primary-overlay);
|
|
34
|
+
color: t(iui-color-foreground-accessory);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@mixin iui-button-high-visibility-base {
|
|
39
|
+
@include themed {
|
|
40
|
+
background-color: t(iui-color-background-primary);
|
|
41
|
+
border-color: t(iui-color-background-primary);
|
|
42
|
+
color: t(iui-color-foreground-accessory);
|
|
33
43
|
}
|
|
34
44
|
}
|
package/scss/button/index.scss
CHANGED
|
@@ -11,31 +11,45 @@
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
> * {
|
|
15
|
+
&:first-child {
|
|
16
|
+
> .iui-borderless:hover {
|
|
17
|
+
background-color: transparent;
|
|
18
|
+
}
|
|
17
19
|
}
|
|
18
|
-
}
|
|
19
20
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
// Sizes
|
|
22
|
+
&:last-child {
|
|
23
|
+
> .iui-button {
|
|
24
|
+
padding: $iui-xs;
|
|
25
|
+
}
|
|
24
26
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
> .iui-small {
|
|
28
|
+
padding: $iui-xxs;
|
|
29
|
+
}
|
|
28
30
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
> .iui-large {
|
|
32
|
+
padding: $iui-s;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
32
35
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
// Border between buttons for high-visibility and cta
|
|
37
|
+
&:first-child {
|
|
38
|
+
> .iui-high-visibility,
|
|
39
|
+
> .iui-cta {
|
|
40
|
+
@include themed {
|
|
41
|
+
border-right-color: rgba(t(iui-color-foreground-accessory-rgb), t(iui-opacity-4));
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:last-child {
|
|
47
|
+
> .iui-high-visibility,
|
|
48
|
+
> .iui-cta {
|
|
49
|
+
@include themed {
|
|
50
|
+
border-left-color: rgba(t(iui-color-foreground-accessory-rgb), t(iui-opacity-4));
|
|
51
|
+
}
|
|
52
|
+
}
|
|
39
53
|
}
|
|
40
54
|
}
|
|
41
55
|
|
|
@@ -44,4 +58,9 @@
|
|
|
44
58
|
background-color: transparent;
|
|
45
59
|
}
|
|
46
60
|
}
|
|
61
|
+
|
|
62
|
+
&[disabled],
|
|
63
|
+
&:disabled {
|
|
64
|
+
@include iui-button-disabled;
|
|
65
|
+
}
|
|
47
66
|
}
|
package/scss/classes.scss
CHANGED
package/scss/code/codeblock.scss
CHANGED
package/scss/header/header.scss
CHANGED
|
@@ -3,9 +3,11 @@
|
|
|
3
3
|
@import '../style/index';
|
|
4
4
|
@import '../user-icon/index';
|
|
5
5
|
@import '../icon/index';
|
|
6
|
+
@import '../button/index';
|
|
6
7
|
|
|
7
8
|
@mixin iui-page-header {
|
|
8
9
|
@include iui-reset;
|
|
10
|
+
|
|
9
11
|
display: flex;
|
|
10
12
|
justify-content: space-between;
|
|
11
13
|
width: 100%;
|
|
@@ -123,7 +125,7 @@
|
|
|
123
125
|
@include iui-display-none;
|
|
124
126
|
}
|
|
125
127
|
|
|
126
|
-
.iui-header-button-icon + .iui-label {
|
|
128
|
+
.iui-header-button-icon + .iui-button-label {
|
|
127
129
|
margin-left: 0;
|
|
128
130
|
}
|
|
129
131
|
}
|
|
@@ -154,7 +156,8 @@
|
|
|
154
156
|
@include iui-header-button-icon;
|
|
155
157
|
}
|
|
156
158
|
|
|
157
|
-
|
|
159
|
+
// boost specificity
|
|
160
|
+
.iui-header-button.iui-header-button {
|
|
158
161
|
@include iui-header-button;
|
|
159
162
|
}
|
|
160
163
|
|
|
@@ -172,7 +175,7 @@
|
|
|
172
175
|
@at-root {
|
|
173
176
|
a#{&}, // rendered as anchor element
|
|
174
177
|
button#{&}, // rendered as button element
|
|
175
|
-
&[role='button'] {
|
|
178
|
+
&[role='button'] {
|
|
176
179
|
@include iui-header-button-focus;
|
|
177
180
|
cursor: pointer;
|
|
178
181
|
|
|
@@ -230,13 +233,18 @@
|
|
|
230
233
|
}
|
|
231
234
|
|
|
232
235
|
@mixin iui-header-button {
|
|
236
|
+
@include iui-button-size(large, borderless);
|
|
237
|
+
|
|
238
|
+
gap: 0;
|
|
233
239
|
max-width: 25vw;
|
|
240
|
+
height: 100%;
|
|
241
|
+
border-radius: 0;
|
|
234
242
|
overflow: hidden;
|
|
235
243
|
padding-right: $iui-s;
|
|
236
244
|
|
|
237
245
|
@include iui-header-button-focus;
|
|
238
246
|
|
|
239
|
-
> .iui-label {
|
|
247
|
+
> .iui-button-label {
|
|
240
248
|
text-align: left;
|
|
241
249
|
font-size: $iui-font-size;
|
|
242
250
|
overflow: hidden;
|
|
@@ -257,10 +265,14 @@
|
|
|
257
265
|
}
|
|
258
266
|
}
|
|
259
267
|
|
|
260
|
-
> .iui-icon {
|
|
268
|
+
> .iui-button-icon {
|
|
261
269
|
flex-shrink: 0;
|
|
262
270
|
}
|
|
263
271
|
|
|
272
|
+
> * + * {
|
|
273
|
+
margin-left: $iui-sm;
|
|
274
|
+
}
|
|
275
|
+
|
|
264
276
|
.iui-header-button-icon {
|
|
265
277
|
padding: $iui-xs;
|
|
266
278
|
@include iui-header-button-icon($iui-icons-default, $iui-border-radius);
|
|
@@ -289,11 +301,11 @@
|
|
|
289
301
|
height: $iui-icons-small;
|
|
290
302
|
padding: $iui-xxs;
|
|
291
303
|
}
|
|
304
|
+
}
|
|
292
305
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
}
|
|
306
|
+
.iui-button-label {
|
|
307
|
+
.iui-description {
|
|
308
|
+
@include iui-display-none;
|
|
297
309
|
}
|
|
298
310
|
}
|
|
299
311
|
}
|
|
@@ -302,9 +314,13 @@
|
|
|
302
314
|
}
|
|
303
315
|
|
|
304
316
|
@mixin iui-header-split-button {
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
317
|
+
&,
|
|
318
|
+
> * {
|
|
319
|
+
height: 100%;
|
|
320
|
+
display: flex;
|
|
321
|
+
overflow: hidden;
|
|
322
|
+
}
|
|
323
|
+
|
|
308
324
|
max-width: 25vw;
|
|
309
325
|
|
|
310
326
|
.iui-button {
|
|
@@ -312,8 +328,10 @@
|
|
|
312
328
|
padding: 0 $iui-xs;
|
|
313
329
|
}
|
|
314
330
|
|
|
315
|
-
|
|
316
|
-
|
|
331
|
+
> *:first-child {
|
|
332
|
+
.iui-button {
|
|
333
|
+
padding-left: $iui-sm;
|
|
334
|
+
}
|
|
317
335
|
}
|
|
318
336
|
|
|
319
337
|
&.iui-active {
|
|
@@ -331,8 +349,10 @@
|
|
|
331
349
|
display: none;
|
|
332
350
|
}
|
|
333
351
|
}
|
|
352
|
+
}
|
|
334
353
|
|
|
335
|
-
|
|
354
|
+
> *:last-child {
|
|
355
|
+
> .iui-button:hover {
|
|
336
356
|
@include themed {
|
|
337
357
|
background-color: rgba(t(iui-color-foreground-primary-rgb), t(iui-opacity-6));
|
|
338
358
|
}
|
|
@@ -376,7 +396,7 @@
|
|
|
376
396
|
}
|
|
377
397
|
|
|
378
398
|
// Blue text
|
|
379
|
-
.iui-label {
|
|
399
|
+
.iui-button-label {
|
|
380
400
|
@include themed {
|
|
381
401
|
color: t(iui-color-foreground-primary);
|
|
382
402
|
}
|
|
@@ -403,13 +423,13 @@
|
|
|
403
423
|
box-shadow: 0 $iui-xxs 0 0 rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-4));
|
|
404
424
|
}
|
|
405
425
|
|
|
406
|
-
.iui-label {
|
|
426
|
+
.iui-button-label {
|
|
407
427
|
@include themed {
|
|
408
428
|
color: t(iui-icons-color-actionable-disabled);
|
|
409
429
|
}
|
|
410
430
|
}
|
|
411
431
|
|
|
412
|
-
.iui-icon,
|
|
432
|
+
.iui-button-icon,
|
|
413
433
|
svg {
|
|
414
434
|
@include themed {
|
|
415
435
|
fill: t(iui-icons-color-actionable-disabled);
|
package/scss/index.scss
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
// Adds hover to everything that is not disabled
|
|
32
32
|
&:hover > input:enabled ~ .iui-checkbox-checkmark {
|
|
33
33
|
@include themed {
|
|
34
|
-
background-color: t(iui-color-
|
|
34
|
+
background-color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-6));
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -54,9 +54,12 @@
|
|
|
54
54
|
opacity: 0;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
input ~ .iui-checkbox-checkmark
|
|
57
|
+
input ~ .iui-checkbox-checkmark .iui-uncheck {
|
|
58
58
|
opacity: 1;
|
|
59
59
|
transition: opacity $iui-speed-fast ease;
|
|
60
|
+
@include themed {
|
|
61
|
+
fill: t(iui-icons-color-actionable);
|
|
62
|
+
}
|
|
60
63
|
}
|
|
61
64
|
}
|
|
62
65
|
}
|
package/scss/inputs/classes.scss
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
@include iui-input-container-label;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
.iui-input-icon {
|
|
12
|
+
> .iui-input-icon {
|
|
13
13
|
@include iui-input-icon;
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
&.iui-inline-icon {
|
|
27
|
-
.iui-input-icon {
|
|
27
|
+
> .iui-input-icon {
|
|
28
28
|
@include iui-input-icon-inline;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
'label label'
|
|
14
14
|
'inputs inputs' / auto 1fr;
|
|
15
15
|
|
|
16
|
-
&.iui-inline-icon:not(.iui-inline-label) .iui-input-icon {
|
|
16
|
+
&.iui-inline-icon:not(.iui-inline-label) > .iui-input-icon {
|
|
17
17
|
// stylelint-disable -- fix position in IE
|
|
18
18
|
-ms-grid-row: 2;
|
|
19
19
|
-ms-grid-column: 2;
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
'icon message' / auto 1fr;
|
|
39
39
|
|
|
40
40
|
// add margin to the icon if it is below input
|
|
41
|
-
&:not(.iui-inline-icon) .iui-input-icon {
|
|
41
|
+
&:not(.iui-inline-icon) > .iui-input-icon {
|
|
42
42
|
margin-top: $iui-component-offset;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
'label inputs inputs'
|
|
106
106
|
'. icon message' / auto auto 1fr;
|
|
107
107
|
|
|
108
|
-
&:not(.iui-inline-icon) .iui-input-icon {
|
|
108
|
+
&:not(.iui-inline-icon) > .iui-input-icon {
|
|
109
109
|
// stylelint-disable -- fix position in IE
|
|
110
110
|
-ms-grid-row: 2;
|
|
111
111
|
-ms-grid-column: 2;
|