@itwin/itwinui-css 0.42.0 → 0.44.1
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/alert.css +46 -61
- package/css/all.css +739 -697
- package/css/breadcrumbs.css +7 -20
- package/css/button.css +165 -181
- package/css/code.css +6 -9
- package/css/color-picker.css +14 -14
- package/css/date-picker.css +91 -85
- package/css/expandable-block.css +13 -9
- package/css/file-upload.css +4 -3
- package/css/footer.css +7 -20
- package/css/global.css +7 -9
- package/css/header.css +4 -24
- package/css/inputs.css +121 -89
- package/css/side-navigation.css +1 -16
- package/css/slider.css +7 -10
- package/css/table.css +170 -34
- package/css/tabs.css +8 -3
- package/css/tag.css +17 -18
- package/css/tile.css +0 -14
- package/css/time-picker.css +26 -18
- package/css/toast-notification.css +12 -49
- package/css/toggle-switch.css +7 -4
- package/css/tree.css +2 -3
- package/css/wizard.css +4 -4
- package/package.json +10 -9
- package/scss/alert/alert.scss +4 -2
- package/scss/button/borderless.scss +10 -26
- package/scss/button/button-group.scss +22 -7
- package/scss/button/cta.scss +10 -25
- package/scss/button/default.scss +22 -32
- package/scss/button/high-visibility.scss +10 -25
- package/scss/color-picker/color-picker.scss +2 -25
- package/scss/date-picker/classes.scss +20 -0
- package/scss/date-picker/date-picker.scss +88 -100
- package/scss/expandable-block/block.scss +1 -0
- package/scss/file-upload/file-upload.scss +2 -2
- package/scss/footer/footer.scss +0 -2
- package/scss/header/header.scss +1 -15
- package/scss/inputs/checkbox-radio.scss +28 -18
- package/scss/inputs/checkbox.scss +9 -8
- package/scss/inputs/input.scss +1 -14
- package/scss/inputs/labeled-inputs.scss +2 -1
- package/scss/inputs/radio-tile.scss +9 -4
- package/scss/inputs/select.scss +2 -1
- package/scss/side-navigation/side-navigation.scss +1 -33
- package/scss/slider/slider.scss +1 -2
- package/scss/style/mixins.scss +15 -17
- package/scss/table/classes.scss +12 -0
- package/scss/table/paginator.scss +39 -37
- package/scss/table/table.scss +11 -2
- package/scss/tabs/default.scss +5 -0
- package/scss/tabs/tabs.scss +1 -8
- package/scss/tag/tag.scss +9 -1
- package/scss/time-picker/time-picker.scss +1 -0
- package/scss/toast-notification/categories.scss +5 -2
- package/scss/toast-notification/toast.scss +0 -1
- package/scss/toggle-switch/toggle-switch.scss +7 -3
- package/scss/tree/tree.scss +2 -2
- package/scss/wizard/wizard.scss +3 -3
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
user-select: none;
|
|
12
12
|
position: relative;
|
|
13
13
|
cursor: pointer;
|
|
14
|
-
|
|
15
14
|
@include themed {
|
|
16
15
|
color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-2));
|
|
17
16
|
}
|
|
@@ -30,37 +29,52 @@
|
|
|
30
29
|
|
|
31
30
|
.iui-checkbox-checkmark,
|
|
32
31
|
.iui-radio-dot {
|
|
33
|
-
box-sizing: border-box;
|
|
34
32
|
width: $iui-icons-default;
|
|
35
33
|
height: $iui-icons-default;
|
|
36
34
|
margin: 0;
|
|
37
35
|
display: flex;
|
|
36
|
+
flex-shrink: 0;
|
|
38
37
|
justify-content: center;
|
|
39
38
|
align-items: center;
|
|
40
|
-
|
|
39
|
+
position: relative;
|
|
40
|
+
isolation: isolate;
|
|
41
41
|
@include themed {
|
|
42
|
-
border:
|
|
42
|
+
border-color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-4));
|
|
43
43
|
background-color: t(iui-color-background-1);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
&::after {
|
|
47
|
+
content: '';
|
|
48
|
+
position: absolute;
|
|
49
|
+
inset: 0;
|
|
50
|
+
z-index: -1;
|
|
51
|
+
transition: border-color $iui-speed-fast ease-out;
|
|
52
|
+
border-radius: inherit;
|
|
53
|
+
border-style: solid;
|
|
54
|
+
border-width: 1px;
|
|
55
|
+
border-color: inherit;
|
|
56
|
+
}
|
|
57
|
+
|
|
46
58
|
svg:not(.iui-radial) {
|
|
47
|
-
width:
|
|
48
|
-
height:
|
|
59
|
+
width: 100%;
|
|
60
|
+
height: 100%;
|
|
61
|
+
@include themed {
|
|
62
|
+
fill: t(iui-icons-color-primary);
|
|
63
|
+
}
|
|
49
64
|
|
|
50
65
|
> * {
|
|
51
66
|
opacity: 0;
|
|
52
67
|
@media (prefers-reduced-motion: no-preference) {
|
|
53
68
|
transition: opacity $iui-speed-fast ease;
|
|
54
69
|
}
|
|
55
|
-
@include themed {
|
|
56
|
-
fill: t(iui-icons-color-primary);
|
|
57
|
-
}
|
|
58
70
|
}
|
|
59
71
|
}
|
|
60
72
|
}
|
|
61
73
|
|
|
62
74
|
> .iui-label {
|
|
63
75
|
margin-right: $iui-s;
|
|
76
|
+
display: flex;
|
|
77
|
+
align-items: center;
|
|
64
78
|
|
|
65
79
|
svg {
|
|
66
80
|
width: $iui-icons-default;
|
|
@@ -85,9 +99,6 @@
|
|
|
85
99
|
@include themed {
|
|
86
100
|
border-color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-2));
|
|
87
101
|
}
|
|
88
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
89
|
-
transition: all $iui-speed-fast ease-out;
|
|
90
|
-
}
|
|
91
102
|
}
|
|
92
103
|
|
|
93
104
|
// Selected checkboxes & radios border opacity increase
|
|
@@ -115,15 +126,16 @@
|
|
|
115
126
|
~ .iui-checkbox-checkmark,
|
|
116
127
|
~ .iui-radio-dot {
|
|
117
128
|
@include themed {
|
|
118
|
-
|
|
129
|
+
outline: 2px solid t(iui-color-foreground-primary);
|
|
119
130
|
}
|
|
131
|
+
outline-offset: -1px;
|
|
120
132
|
}
|
|
121
133
|
}
|
|
122
134
|
|
|
123
135
|
&:focus:not(:focus-visible) {
|
|
124
136
|
~ .iui-checkbox-checkmark,
|
|
125
137
|
~ .iui-radio-dot {
|
|
126
|
-
|
|
138
|
+
outline: none;
|
|
127
139
|
}
|
|
128
140
|
}
|
|
129
141
|
}
|
|
@@ -132,7 +144,6 @@
|
|
|
132
144
|
input:disabled ~ .iui-checkbox-checkmark,
|
|
133
145
|
input:disabled ~ .iui-radio-dot {
|
|
134
146
|
cursor: not-allowed;
|
|
135
|
-
|
|
136
147
|
@include themed {
|
|
137
148
|
background-color: t(iui-color-background-disabled);
|
|
138
149
|
border-color: t(iui-color-background-disabled);
|
|
@@ -140,9 +151,8 @@
|
|
|
140
151
|
}
|
|
141
152
|
|
|
142
153
|
// Styles disabled checks
|
|
143
|
-
input:disabled ~ .iui-checkbox-checkmark
|
|
144
|
-
input:disabled ~ .iui-
|
|
145
|
-
input:disabled ~ .iui-radio-dot circle {
|
|
154
|
+
input:disabled ~ .iui-checkbox-checkmark svg,
|
|
155
|
+
input:disabled ~ .iui-radio-dot svg {
|
|
146
156
|
@include themed {
|
|
147
157
|
fill: t(iui-icons-color-actionable-disabled);
|
|
148
158
|
}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
cursor: wait;
|
|
15
15
|
|
|
16
16
|
input ~ .iui-checkbox-checkmark {
|
|
17
|
-
border:
|
|
17
|
+
border-color: transparent;
|
|
18
18
|
background-color: transparent;
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
input ~ .iui-checkbox-checkmark,
|
|
39
|
-
&:hover > input:enabled ~ .iui-checkbox-checkmark {
|
|
38
|
+
input ~ .iui-checkbox-checkmark::after,
|
|
39
|
+
&:hover > input:enabled ~ .iui-checkbox-checkmark::after {
|
|
40
40
|
border: none;
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -44,11 +44,6 @@
|
|
|
44
44
|
background-color: transparent;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
.iui-checkbox-checkmark svg:not(.iui-radial) {
|
|
48
|
-
width: $iui-icons-default;
|
|
49
|
-
height: $iui-icons-default;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
47
|
input:checked ~ .iui-checkbox-checkmark .iui-uncheck,
|
|
53
48
|
input:indeterminate ~ .iui-checkbox-checkmark .iui-uncheck {
|
|
54
49
|
opacity: 0;
|
|
@@ -61,5 +56,11 @@
|
|
|
61
56
|
fill: t(iui-icons-color-actionable);
|
|
62
57
|
}
|
|
63
58
|
}
|
|
59
|
+
|
|
60
|
+
input:disabled ~ .iui-checkbox-checkmark .iui-uncheck {
|
|
61
|
+
@include themed {
|
|
62
|
+
fill: t(iui-icons-color-actionable-disabled);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
64
65
|
}
|
|
65
66
|
}
|
package/scss/inputs/input.scss
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
@mixin iui-input {
|
|
6
6
|
@include iui-reset;
|
|
7
|
+
@include iui-focus($offset: -2px, $thickness: 2px);
|
|
7
8
|
width: 100%;
|
|
8
9
|
font-family: inherit;
|
|
9
10
|
font-size: $iui-font-size;
|
|
@@ -43,11 +44,6 @@
|
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
46
|
|
|
46
|
-
&:-webkit-autofill {
|
|
47
|
-
@include iui-input-autofill;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// stylelint-disable-next-line selector-pseudo-class-no-unknown
|
|
51
47
|
&:autofill {
|
|
52
48
|
@include iui-input-autofill;
|
|
53
49
|
}
|
|
@@ -68,15 +64,6 @@
|
|
|
68
64
|
}
|
|
69
65
|
cursor: not-allowed;
|
|
70
66
|
}
|
|
71
|
-
|
|
72
|
-
&:focus {
|
|
73
|
-
outline: 0;
|
|
74
|
-
|
|
75
|
-
@include themed {
|
|
76
|
-
border-color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-4));
|
|
77
|
-
box-shadow: t(iui-focus-box-shadow);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
67
|
}
|
|
81
68
|
|
|
82
69
|
@mixin iui-input-autofill {
|
|
@@ -339,7 +339,8 @@
|
|
|
339
339
|
&:focus {
|
|
340
340
|
@include themed {
|
|
341
341
|
border-bottom: $iui-xxs solid t(iui-color-foreground-#{$status});
|
|
342
|
-
|
|
342
|
+
outline: 2px solid t(iui-color-foreground-#{$status});
|
|
343
|
+
outline-offset: -2px;
|
|
343
344
|
}
|
|
344
345
|
}
|
|
345
346
|
}
|
|
@@ -105,11 +105,16 @@
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
// Adds focus to enabled radio tiles
|
|
108
|
-
input:enabled
|
|
109
|
-
|
|
108
|
+
input:enabled {
|
|
109
|
+
&:focus ~ .iui-radio-tile {
|
|
110
|
+
@include themed {
|
|
111
|
+
outline: 2px solid t(iui-color-foreground-primary);
|
|
112
|
+
outline-offset: -4px;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
110
115
|
|
|
111
|
-
|
|
112
|
-
|
|
116
|
+
&:focus:not(:focus-visible) ~ .iui-radio-tile {
|
|
117
|
+
outline: none;
|
|
113
118
|
}
|
|
114
119
|
}
|
|
115
120
|
|
package/scss/inputs/select.scss
CHANGED
|
@@ -11,10 +11,11 @@ $iui-after-border: 5px solid;
|
|
|
11
11
|
flex-direction: column;
|
|
12
12
|
position: relative;
|
|
13
13
|
width: 100%;
|
|
14
|
+
min-width: 0;
|
|
14
15
|
|
|
15
16
|
> .iui-select-button {
|
|
16
17
|
@include iui-input;
|
|
17
|
-
@include iui-focus;
|
|
18
|
+
@include iui-focus($offset: -2px, $thickness: 2px);
|
|
18
19
|
display: flex;
|
|
19
20
|
align-items: center;
|
|
20
21
|
min-height: $iui-component-height;
|
|
@@ -100,15 +100,7 @@
|
|
|
100
100
|
|
|
101
101
|
&,
|
|
102
102
|
&:hover,
|
|
103
|
-
&[disabled]
|
|
104
|
-
&:focus {
|
|
105
|
-
@include themed {
|
|
106
|
-
border-color: t(iui-color-background-5);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
// Overriding border from default button
|
|
111
|
-
&:focus:not(:focus-visible) {
|
|
103
|
+
&[disabled] {
|
|
112
104
|
@include themed {
|
|
113
105
|
border-color: t(iui-color-background-5);
|
|
114
106
|
}
|
|
@@ -130,19 +122,6 @@
|
|
|
130
122
|
@include themed {
|
|
131
123
|
box-shadow: inset $iui-xxs 0 0 0 t(iui-icons-color-primary);
|
|
132
124
|
}
|
|
133
|
-
|
|
134
|
-
&:focus {
|
|
135
|
-
@include themed {
|
|
136
|
-
box-shadow: inset 0 0 $iui-xs rgba(t(iui-color-foreground-primary-rgb), t(iui-opacity-3)),
|
|
137
|
-
inset $iui-xxs 0 0 0 t(iui-icons-color-primary);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
&:focus:not(:focus-visible) {
|
|
142
|
-
@include themed {
|
|
143
|
-
box-shadow: inset $iui-xxs 0 0 0 t(iui-icons-color-primary);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
125
|
}
|
|
147
126
|
|
|
148
127
|
&[disabled],
|
|
@@ -152,17 +131,6 @@
|
|
|
152
131
|
}
|
|
153
132
|
}
|
|
154
133
|
|
|
155
|
-
&:focus {
|
|
156
|
-
outline: 0;
|
|
157
|
-
@include themed {
|
|
158
|
-
box-shadow: inset 0 0 $iui-xs rgba(t(iui-color-foreground-primary-rgb), t(iui-opacity-3));
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
&:focus:not(:focus-visible) {
|
|
163
|
-
box-shadow: none;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
134
|
&.iui-expand {
|
|
167
135
|
height: $iui-line-height;
|
|
168
136
|
justify-content: center;
|
package/scss/slider/slider.scss
CHANGED
|
@@ -68,6 +68,7 @@ $tick-height: $iui-baseline; // 11px
|
|
|
68
68
|
); // Adjust the left (set in code) by radius of thumb so thumb center is at value position
|
|
69
69
|
z-index: 1;
|
|
70
70
|
cursor: grab;
|
|
71
|
+
@include iui-focus($thickness: 2px);
|
|
71
72
|
@include themed {
|
|
72
73
|
background: t(iui-color-background-1);
|
|
73
74
|
border: 1px solid t(iui-color-background-5);
|
|
@@ -76,8 +77,6 @@ $tick-height: $iui-baseline; // 11px
|
|
|
76
77
|
&:active {
|
|
77
78
|
cursor: grabbing;
|
|
78
79
|
}
|
|
79
|
-
|
|
80
|
-
@include iui-focus();
|
|
81
80
|
}
|
|
82
81
|
|
|
83
82
|
@mixin iui-slider-track {
|
package/scss/style/mixins.scss
CHANGED
|
@@ -20,25 +20,22 @@
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
@mixin
|
|
24
|
-
&:focus {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
@include themed {
|
|
28
|
-
box-shadow: t($box-shadow-value);
|
|
29
|
-
}
|
|
23
|
+
@mixin focus-visible {
|
|
24
|
+
&:focus-visible {
|
|
25
|
+
@content;
|
|
30
26
|
}
|
|
31
27
|
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
@supports #{'not selector(*:focus-visible)'} {
|
|
29
|
+
&:focus {
|
|
30
|
+
@content;
|
|
31
|
+
}
|
|
34
32
|
}
|
|
33
|
+
}
|
|
35
34
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
box-shadow: t($box-shadow-value);
|
|
41
|
-
}
|
|
35
|
+
@mixin iui-focus($color: var(--iui-color-foreground-primary), $offset: -1px, $thickness: 1px) {
|
|
36
|
+
@include focus-visible {
|
|
37
|
+
outline: $thickness solid $color;
|
|
38
|
+
outline-offset: $offset;
|
|
42
39
|
}
|
|
43
40
|
}
|
|
44
41
|
|
|
@@ -50,7 +47,8 @@
|
|
|
50
47
|
}
|
|
51
48
|
|
|
52
49
|
@mixin iui-anchor {
|
|
53
|
-
@include iui-focus;
|
|
50
|
+
@include iui-focus($offset: 2px);
|
|
51
|
+
border-radius: $iui-border-radius;
|
|
54
52
|
text-decoration: none;
|
|
55
53
|
cursor: pointer;
|
|
56
54
|
@include themed {
|
|
@@ -167,7 +165,7 @@
|
|
|
167
165
|
scroll-snap-type: y mandatory;
|
|
168
166
|
|
|
169
167
|
#{$selector} {
|
|
170
|
-
scroll-snap-align: start;
|
|
168
|
+
scroll-snap-align: start none;
|
|
171
169
|
}
|
|
172
170
|
}
|
|
173
171
|
}
|
package/scss/table/classes.scss
CHANGED
|
@@ -30,6 +30,18 @@
|
|
|
30
30
|
@include iui-paginator;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
.iui-paginator-ellipsis {
|
|
34
|
+
@include iui-paginator-ellipsis;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.iui-paginator-pages-group {
|
|
38
|
+
@include iui-paginator-pages-group;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.iui-paginator-page-button {
|
|
42
|
+
@include iui-paginator-page-button;
|
|
43
|
+
}
|
|
44
|
+
|
|
33
45
|
.iui-column-filter {
|
|
34
46
|
@include iui-column-filter;
|
|
35
47
|
}
|
|
@@ -34,43 +34,6 @@
|
|
|
34
34
|
@include themed {
|
|
35
35
|
color: t(iui-text-color);
|
|
36
36
|
}
|
|
37
|
-
|
|
38
|
-
.iui-button-group {
|
|
39
|
-
margin: 0 $iui-s;
|
|
40
|
-
|
|
41
|
-
> * {
|
|
42
|
-
margin-right: 0; // unset negative margin from button-group
|
|
43
|
-
display: flex; // for vertically aligning svgs
|
|
44
|
-
|
|
45
|
-
> .iui-button,
|
|
46
|
-
> .iui-ellipsis {
|
|
47
|
-
width: $iui-component-height;
|
|
48
|
-
|
|
49
|
-
&.iui-small {
|
|
50
|
-
width: $iui-component-height-small;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
> .iui-button {
|
|
55
|
-
// Animation looks odd when switching pages
|
|
56
|
-
transition: none;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
> .iui-ellipsis {
|
|
60
|
-
display: flex;
|
|
61
|
-
justify-content: center;
|
|
62
|
-
align-items: center;
|
|
63
|
-
@include themed {
|
|
64
|
-
color: t(iui-text-color-muted);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
> .iui-active::after {
|
|
69
|
-
top: auto;
|
|
70
|
-
bottom: $iui-xxs;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
37
|
}
|
|
75
38
|
|
|
76
39
|
> .iui-right {
|
|
@@ -84,3 +47,42 @@
|
|
|
84
47
|
text-overflow: ellipsis;
|
|
85
48
|
}
|
|
86
49
|
}
|
|
50
|
+
|
|
51
|
+
@mixin iui-paginator-ellipsis {
|
|
52
|
+
display: flex;
|
|
53
|
+
justify-content: center;
|
|
54
|
+
align-items: center;
|
|
55
|
+
width: $iui-component-height;
|
|
56
|
+
@include themed {
|
|
57
|
+
color: t(iui-text-color-muted);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&-small {
|
|
61
|
+
width: $iui-component-height-small;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@mixin iui-paginator-pages-group {
|
|
66
|
+
@include iui-button-group;
|
|
67
|
+
margin: 0 $iui-s;
|
|
68
|
+
|
|
69
|
+
> * + * {
|
|
70
|
+
margin-left: 0; // unset negative margin from button-group
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
button.iui-active::after {
|
|
74
|
+
top: auto;
|
|
75
|
+
bottom: $iui-xxs;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@mixin iui-paginator-page-button {
|
|
80
|
+
@include iui-button;
|
|
81
|
+
@include iui-button-borderless;
|
|
82
|
+
width: $iui-component-height;
|
|
83
|
+
|
|
84
|
+
&-small {
|
|
85
|
+
@include iui-button-size(small);
|
|
86
|
+
width: $iui-component-height-small;
|
|
87
|
+
}
|
|
88
|
+
}
|
package/scss/table/table.scss
CHANGED
|
@@ -18,6 +18,12 @@
|
|
|
18
18
|
|
|
19
19
|
@mixin iui-table-header {
|
|
20
20
|
user-select: none;
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
// Fix for Firefox columns misalignment
|
|
23
|
+
@supports not (overflow: overlay) {
|
|
24
|
+
overflow-y: scroll;
|
|
25
|
+
}
|
|
26
|
+
flex-shrink: 0;
|
|
21
27
|
@include themed {
|
|
22
28
|
background-color: t(iui-color-background-3);
|
|
23
29
|
}
|
|
@@ -117,12 +123,13 @@
|
|
|
117
123
|
}
|
|
118
124
|
|
|
119
125
|
@mixin iui-table-body {
|
|
120
|
-
overflow-x: hidden;
|
|
121
126
|
overflow-y: scroll;
|
|
122
|
-
overflow
|
|
127
|
+
overflow: overlay;
|
|
123
128
|
display: flex;
|
|
124
129
|
flex-direction: column;
|
|
125
130
|
flex-grow: 1;
|
|
131
|
+
// Allows columns with static width to take more space than the table width
|
|
132
|
+
align-items: flex-start;
|
|
126
133
|
@include iui-scroll-snapping('.iui-row');
|
|
127
134
|
@include themed {
|
|
128
135
|
background-color: t(iui-color-background-1);
|
|
@@ -135,6 +142,7 @@
|
|
|
135
142
|
}
|
|
136
143
|
|
|
137
144
|
.iui-row {
|
|
145
|
+
min-width: 100%;
|
|
138
146
|
display: flex;
|
|
139
147
|
border: solid 1px transparent;
|
|
140
148
|
@media (prefers-reduced-motion: no-preference) {
|
|
@@ -296,6 +304,7 @@
|
|
|
296
304
|
justify-content: center;
|
|
297
305
|
align-items: center;
|
|
298
306
|
flex-grow: 1;
|
|
307
|
+
align-self: center;
|
|
299
308
|
@include themed {
|
|
300
309
|
color: t(iui-text-color-muted);
|
|
301
310
|
background-color: t(iui-color-background-1);
|
package/scss/tabs/default.scss
CHANGED
package/scss/tabs/tabs.scss
CHANGED
package/scss/tag/tag.scss
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
@mixin iui-tag {
|
|
8
8
|
@include iui-reset;
|
|
9
|
-
@include iui-focus;
|
|
9
|
+
@include iui-focus($offset: -2px, $thickness: 2px);
|
|
10
10
|
user-select: all;
|
|
11
11
|
text-transform: lowercase;
|
|
12
12
|
display: inline-flex;
|
|
@@ -58,6 +58,10 @@
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
+
|
|
62
|
+
&.iui-basic {
|
|
63
|
+
outline-offset: 1px;
|
|
64
|
+
}
|
|
61
65
|
}
|
|
62
66
|
|
|
63
67
|
@mixin iui-tag-container {
|
|
@@ -65,6 +69,10 @@
|
|
|
65
69
|
color: t(iui-text-color-muted);
|
|
66
70
|
}
|
|
67
71
|
|
|
72
|
+
> a.iui-basic {
|
|
73
|
+
margin: $iui-xxs;
|
|
74
|
+
}
|
|
75
|
+
|
|
68
76
|
> .iui-tag:not(:last-child) {
|
|
69
77
|
margin-right: $iui-xs;
|
|
70
78
|
}
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
&.iui-selected {
|
|
57
57
|
font-weight: $iui-font-weight-semibold;
|
|
58
58
|
cursor: default;
|
|
59
|
+
@include iui-focus($color: var(--iui-color-foreground-accessory), $offset: -3px);
|
|
59
60
|
@include themed {
|
|
60
61
|
background-color: t(iui-color-background-primary);
|
|
61
62
|
color: t(iui-color-foreground-accessory);
|
|
@@ -36,9 +36,12 @@
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
> .iui-anchor
|
|
39
|
+
> .iui-anchor {
|
|
40
|
+
outline-color: var(--iui-color-foreground-#{$category});
|
|
41
|
+
}
|
|
42
|
+
|
|
40
43
|
> .iui-button {
|
|
41
|
-
|
|
44
|
+
outline-color: var(--iui-color-foreground-#{$category});
|
|
42
45
|
}
|
|
43
46
|
}
|
|
44
47
|
}
|
|
@@ -109,8 +109,7 @@
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
&:hover:not(:disabled)
|
|
113
|
-
&:focus {
|
|
112
|
+
&:hover:not(:disabled) {
|
|
114
113
|
~ .iui-toggle {
|
|
115
114
|
@include themed {
|
|
116
115
|
border-color: t(iui-color-background-primary);
|
|
@@ -168,8 +167,13 @@
|
|
|
168
167
|
// Focus on non-disabled toggle switch
|
|
169
168
|
&:enabled:focus ~ .iui-toggle {
|
|
170
169
|
@include themed {
|
|
171
|
-
|
|
170
|
+
outline: 1px solid t(iui-color-foreground-primary);
|
|
172
171
|
}
|
|
172
|
+
outline-offset: 1px;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
&:enabled:focus:not(:focus-visible) ~ .iui-toggle {
|
|
176
|
+
outline: none;
|
|
173
177
|
}
|
|
174
178
|
}
|
|
175
179
|
|
package/scss/tree/tree.scss
CHANGED
|
@@ -85,9 +85,9 @@ $iui-expander-button-width: ($iui-icons-default) + ($iui-expander-inline-padding
|
|
|
85
85
|
|
|
86
86
|
&:focus {
|
|
87
87
|
@include themed {
|
|
88
|
-
outline:
|
|
89
|
-
outline-offset: -1px;
|
|
88
|
+
outline: 1px solid t(iui-color-foreground-primary);
|
|
90
89
|
}
|
|
90
|
+
outline-offset: -1px;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
&:focus:not(:focus-visible) {
|
package/scss/wizard/wizard.scss
CHANGED
|
@@ -115,16 +115,16 @@
|
|
|
115
115
|
outline: 0;
|
|
116
116
|
|
|
117
117
|
.iui-wizard-circle {
|
|
118
|
-
outline: 0;
|
|
119
118
|
@include themed {
|
|
120
|
-
|
|
119
|
+
outline: 2px solid t(iui-color-foreground-positive);
|
|
121
120
|
}
|
|
121
|
+
outline-offset: -1px;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
&:focus:not(:focus-visible) {
|
|
126
126
|
.iui-wizard-circle {
|
|
127
|
-
|
|
127
|
+
outline: none;
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
}
|