@carbon/styles 1.33.1 → 1.34.0-rc.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/styles.css +10074 -9792
- package/css/styles.min.css +1 -1
- package/package.json +8 -8
- package/scss/components/accordion/_accordion.scss +1 -0
- package/scss/components/breadcrumb/_breadcrumb.scss +4 -1
- package/scss/components/button/_button.scss +9 -2
- package/scss/components/button/_mixins.scss +8 -2
- package/scss/components/checkbox/_checkbox.scss +2 -1
- package/scss/components/code-snippet/_code-snippet.scss +6 -2
- package/scss/components/combo-button/_combo-button.scss +2 -0
- package/scss/components/contained-list/_contained-list.scss +2 -0
- package/scss/components/content-switcher/_content-switcher.scss +1 -0
- package/scss/components/copy-button/_copy-button.scss +5 -0
- package/scss/components/data-table/_data-table.scss +3 -0
- package/scss/components/data-table/action/_data-table-action.scss +3 -0
- package/scss/components/data-table/expandable/_data-table-expandable.scss +1 -0
- package/scss/components/date-picker/_date-picker.scss +2 -2
- package/scss/components/dropdown/_dropdown.scss +1 -0
- package/scss/components/fluid-multiselect/_fluid-multiselect.scss +1 -1
- package/scss/components/fluid-text-area/_fluid-text-area.scss +1 -0
- package/scss/components/form/_form.scss +3 -1
- package/scss/components/inline-loading/_inline-loading.scss +1 -0
- package/scss/components/list-box/_list-box.scss +3 -0
- package/scss/components/loading/_loading.scss +4 -3
- package/scss/components/menu/_menu.scss +9 -1
- package/scss/components/menu-button/_menu-button.scss +2 -0
- package/scss/components/modal/_modal.scss +4 -3
- package/scss/components/multiselect/_multiselect.scss +5 -0
- package/scss/components/notification/_actionable-notification.scss +1 -0
- package/scss/components/number-input/_number-input.scss +1 -0
- package/scss/components/overflow-menu/_overflow-menu.scss +8 -4
- package/scss/components/pagination/_pagination.scss +3 -1
- package/scss/components/pagination-nav/_pagination-nav.scss +2 -1
- package/scss/components/popover/_popover.scss +8 -0
- package/scss/components/progress-bar/_progress-bar.scss +1 -0
- package/scss/components/radio-button/_radio-button.scss +4 -5
- package/scss/components/search/_search.scss +7 -0
- package/scss/components/select/_select.scss +1 -1
- package/scss/components/slider/_slider.scss +2 -4
- package/scss/components/structured-list/_structured-list.scss +7 -5
- package/scss/components/tabs/_tabs.scss +34 -29
- package/scss/components/text-area/_text-area.scss +2 -1
- package/scss/components/text-input/_text-input.scss +2 -5
- package/scss/components/tile/_tile.scss +9 -5
- package/scss/components/time-picker/_time-picker.scss +6 -0
- package/scss/components/toggletip/_toggletip.scss +5 -0
- package/scss/components/tooltip/_tooltip.scss +2 -0
- package/scss/components/treeview/_treeview.scss +23 -3
- package/scss/components/ui-shell/header/_header.scss +7 -0
- package/scss/components/ui-shell/header-panel/_header-panel.scss +1 -0
- package/scss/components/ui-shell/side-nav/_side-nav.scss +9 -0
- package/scss/components/ui-shell/switcher/_switcher.scss +3 -0
|
@@ -9,19 +9,18 @@
|
|
|
9
9
|
// Radio
|
|
10
10
|
//-----------------------------
|
|
11
11
|
|
|
12
|
+
@use '../form';
|
|
13
|
+
@use '../button/tokens' as *;
|
|
14
|
+
@use '../../config' as *;
|
|
15
|
+
@use '../../spacing' as *;
|
|
12
16
|
@use '../../theme' as *;
|
|
13
17
|
@use '../../type';
|
|
14
|
-
@use '../form';
|
|
15
18
|
@use '../../utilities/focus-outline' as *;
|
|
16
19
|
@use '../../utilities/component-reset' as *;
|
|
17
20
|
@use '../../utilities/visually-hidden' as *;
|
|
18
21
|
@use '../../utilities/high-contrast-mode' as *;
|
|
19
22
|
@use '../../utilities/skeleton' as *;
|
|
20
23
|
@use '../../utilities/convert' as *;
|
|
21
|
-
@use '../../config' as *;
|
|
22
|
-
@use '../../spacing' as *;
|
|
23
|
-
|
|
24
|
-
@use '../button/tokens' as *;
|
|
25
24
|
|
|
26
25
|
/// @type Number
|
|
27
26
|
/// @access public
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
// Search
|
|
10
10
|
//-----------------------------
|
|
11
11
|
|
|
12
|
+
@use '../text-input';
|
|
12
13
|
@use '../../theme' as *;
|
|
13
14
|
@use '../../config' as *;
|
|
14
15
|
@use '../../type';
|
|
@@ -122,6 +123,8 @@
|
|
|
122
123
|
}
|
|
123
124
|
|
|
124
125
|
.#{$prefix}--search-magnifier-icon {
|
|
126
|
+
@include reset;
|
|
127
|
+
|
|
125
128
|
position: absolute;
|
|
126
129
|
z-index: 2;
|
|
127
130
|
top: 50%;
|
|
@@ -347,6 +350,10 @@
|
|
|
347
350
|
.#{$prefix}--search--expandable .#{$prefix}--search-magnifier {
|
|
348
351
|
position: absolute;
|
|
349
352
|
cursor: pointer;
|
|
353
|
+
|
|
354
|
+
&:focus {
|
|
355
|
+
outline: 2px solid $focus;
|
|
356
|
+
}
|
|
350
357
|
}
|
|
351
358
|
|
|
352
359
|
.#{$prefix}--search--expandable .#{$prefix}--search-magnifier:hover {
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
6
6
|
//
|
|
7
7
|
|
|
8
|
+
@use '../form';
|
|
8
9
|
@use '../../config' as *;
|
|
9
10
|
@use '../../spacing' as *;
|
|
10
11
|
@use '../../motion' as *;
|
|
@@ -16,7 +17,6 @@
|
|
|
16
17
|
@use '../../utilities/focus-outline' as *;
|
|
17
18
|
@use '../../utilities/high-contrast-mode' as *;
|
|
18
19
|
@use '../../utilities/skeleton' as *;
|
|
19
|
-
@use '../form';
|
|
20
20
|
|
|
21
21
|
/// Select styles
|
|
22
22
|
/// @access public
|
|
@@ -9,21 +9,19 @@
|
|
|
9
9
|
// Slider
|
|
10
10
|
//-----------------------------
|
|
11
11
|
|
|
12
|
+
@use '../form';
|
|
13
|
+
@use '../text-input';
|
|
12
14
|
@use '../../config' as *;
|
|
13
15
|
@use '../../colors' as *;
|
|
14
16
|
@use '../../motion' as *;
|
|
15
17
|
@use '../../spacing' as *;
|
|
16
18
|
@use '../../theme' as *;
|
|
17
19
|
@use '../../type' as *;
|
|
18
|
-
|
|
19
20
|
@use '../../utilities/focus-outline' as *;
|
|
20
21
|
@use '../../utilities/skeleton' as *;
|
|
21
22
|
@use '../../utilities/high-contrast-mode' as *;
|
|
22
23
|
@use '../../utilities/convert' as *;
|
|
23
24
|
|
|
24
|
-
@use '../form';
|
|
25
|
-
@use '../text-input';
|
|
26
|
-
|
|
27
25
|
/// Slider styles
|
|
28
26
|
/// @access public
|
|
29
27
|
/// @group slider
|
|
@@ -5,16 +5,18 @@
|
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
6
6
|
//
|
|
7
7
|
|
|
8
|
+
@use 'mixins' as *;
|
|
8
9
|
@use '../../config' as *;
|
|
9
10
|
@use '../../feature-flags' as *;
|
|
10
|
-
@use '../../
|
|
11
|
+
@use '../../layer' as *;
|
|
11
12
|
@use '../../motion';
|
|
12
13
|
@use '../../theme' as *;
|
|
14
|
+
@use '../../type' as *;
|
|
13
15
|
@use '../../utilities/focus-outline' as *;
|
|
14
16
|
@use '../../utilities/skeleton' as *;
|
|
15
17
|
@use '../../utilities/high-contrast-mode' as *;
|
|
16
18
|
@use '../../utilities/convert' as *;
|
|
17
|
-
@use '
|
|
19
|
+
@use '../../utilities/component-reset';
|
|
18
20
|
|
|
19
21
|
@mixin structured-list {
|
|
20
22
|
.#{$prefix}--structured-list--selection .#{$prefix}--structured-list-td,
|
|
@@ -26,7 +28,7 @@
|
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
.#{$prefix}--structured-list {
|
|
29
|
-
@include reset;
|
|
31
|
+
@include component-reset.reset;
|
|
30
32
|
|
|
31
33
|
display: table;
|
|
32
34
|
width: 100%;
|
|
@@ -142,7 +144,7 @@
|
|
|
142
144
|
}
|
|
143
145
|
|
|
144
146
|
.#{$prefix}--structured-list-th {
|
|
145
|
-
@include reset;
|
|
147
|
+
@include component-reset.reset;
|
|
146
148
|
@include padding-th;
|
|
147
149
|
@include type-style('heading-compact-01');
|
|
148
150
|
|
|
@@ -161,7 +163,7 @@
|
|
|
161
163
|
}
|
|
162
164
|
|
|
163
165
|
.#{$prefix}--structured-list-td {
|
|
164
|
-
@include reset;
|
|
166
|
+
@include component-reset.reset;
|
|
165
167
|
@include type-style('body-01');
|
|
166
168
|
@include padding-td;
|
|
167
169
|
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
//-----------------------------
|
|
11
11
|
|
|
12
12
|
@use 'vars' as *;
|
|
13
|
-
|
|
13
|
+
@use '../button/tokens' as button;
|
|
14
|
+
@use '../tooltip';
|
|
14
15
|
@use '../../config' as *;
|
|
15
16
|
@use '../../theme' as *;
|
|
16
17
|
@use '../../colors' as *;
|
|
@@ -18,10 +19,11 @@
|
|
|
18
19
|
@use '../../breakpoint' as *;
|
|
19
20
|
@use '../../spacing' as *;
|
|
20
21
|
@use '../../motion' as *;
|
|
21
|
-
@use '
|
|
22
|
+
@use '../../layer' as *;
|
|
22
23
|
@use '../../utilities/focus-outline' as *;
|
|
23
24
|
@use '../../utilities/rotate' as *;
|
|
24
25
|
@use '../../utilities/box-shadow' as *;
|
|
26
|
+
@use '../../utilities/component-reset';
|
|
25
27
|
@use '../../utilities/component-tokens' as *;
|
|
26
28
|
@use '../../utilities/custom-property';
|
|
27
29
|
@use '../../utilities/skeleton' as *;
|
|
@@ -29,27 +31,37 @@
|
|
|
29
31
|
@use '../../utilities/button-reset';
|
|
30
32
|
@use '../../utilities/high-contrast-mode' as *;
|
|
31
33
|
@use '../../utilities/convert' as *;
|
|
32
|
-
|
|
33
|
-
$icon-tab-size: custom-property.get-var('icon-tab-size', rem(40px));
|
|
34
|
+
@use '../../utilities/layout';
|
|
34
35
|
|
|
35
36
|
/// Tabs styles
|
|
36
37
|
/// @access public
|
|
37
38
|
/// @group tabs
|
|
38
39
|
@mixin tabs {
|
|
40
|
+
.#{$prefix}--tabs,
|
|
41
|
+
.#{$prefix}--tab-content {
|
|
42
|
+
@include layout.use('density', $default: 'normal');
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.#{$prefix}--tabs.#{$prefix}--tabs--tall,
|
|
46
|
+
.#{$prefix}--tabs.#{$prefix}--tabs--contained.#{$prefix}--tabs--tall {
|
|
47
|
+
@include layout.use('size', $min: 'lg', $max: 'xl', $default: 'xl');
|
|
48
|
+
}
|
|
49
|
+
|
|
39
50
|
.#{$prefix}--tabs {
|
|
40
51
|
@include reset;
|
|
41
52
|
@include type-style('body-compact-01');
|
|
53
|
+
@include layout.use('size', $min: 'sm', $max: 'lg', $default: 'md');
|
|
42
54
|
|
|
43
55
|
position: relative;
|
|
44
56
|
display: flex;
|
|
45
57
|
width: 100%;
|
|
46
58
|
height: auto;
|
|
47
|
-
min-height:
|
|
48
|
-
max-height:
|
|
59
|
+
min-height: layout.size('height');
|
|
60
|
+
max-height: custom-property.get-var('layout-size-height-xl');
|
|
49
61
|
color: $text-primary;
|
|
50
62
|
|
|
51
63
|
&.#{$prefix}--tabs--contained {
|
|
52
|
-
min
|
|
64
|
+
@include layout.use('size', $min: 'sm', $max: 'xl', $default: 'lg');
|
|
53
65
|
}
|
|
54
66
|
|
|
55
67
|
.#{$prefix}--tab--list {
|
|
@@ -66,6 +78,8 @@ $icon-tab-size: custom-property.get-var('icon-tab-size', rem(40px));
|
|
|
66
78
|
}
|
|
67
79
|
|
|
68
80
|
.#{$prefix}--tabs__nav {
|
|
81
|
+
@include component-reset.reset;
|
|
82
|
+
|
|
69
83
|
display: flex;
|
|
70
84
|
}
|
|
71
85
|
|
|
@@ -237,6 +251,12 @@ $icon-tab-size: custom-property.get-var('icon-tab-size', rem(40px));
|
|
|
237
251
|
display: flex;
|
|
238
252
|
}
|
|
239
253
|
|
|
254
|
+
&:not(.#{$prefix}--tabs--contained)
|
|
255
|
+
.#{$prefix}--tabs__nav-item-label-wrapper {
|
|
256
|
+
position: relative;
|
|
257
|
+
top: rem(1px);
|
|
258
|
+
}
|
|
259
|
+
|
|
240
260
|
//-----------------------------
|
|
241
261
|
// Item
|
|
242
262
|
//-----------------------------
|
|
@@ -281,11 +301,6 @@ $icon-tab-size: custom-property.get-var('icon-tab-size', rem(40px));
|
|
|
281
301
|
.#{$prefix}--tabs__nav-item:not(.#{$prefix}--tabs__nav-item--disabled)
|
|
282
302
|
.#{$prefix}--tabs__nav-item--icon
|
|
283
303
|
.#{$prefix}--tabs__nav-item--close-icon {
|
|
284
|
-
padding: $spacing-05;
|
|
285
|
-
margin-top: -$spacing-03;
|
|
286
|
-
margin-right: -$spacing-05;
|
|
287
|
-
margin-left: -$spacing-05;
|
|
288
|
-
|
|
289
304
|
&:hover {
|
|
290
305
|
background-color: inherit;
|
|
291
306
|
}
|
|
@@ -339,7 +354,7 @@ $icon-tab-size: custom-property.get-var('icon-tab-size', rem(40px));
|
|
|
339
354
|
}
|
|
340
355
|
|
|
341
356
|
&.#{$prefix}--tabs--contained .#{$prefix}--tabs__nav-item--icon {
|
|
342
|
-
padding-
|
|
357
|
+
padding-inline-start: layout.density('padding-inline');
|
|
343
358
|
}
|
|
344
359
|
|
|
345
360
|
//-----------------------------
|
|
@@ -351,9 +366,9 @@ $icon-tab-size: custom-property.get-var('icon-tab-size', rem(40px));
|
|
|
351
366
|
@include type-style('body-compact-01');
|
|
352
367
|
|
|
353
368
|
overflow: hidden;
|
|
354
|
-
padding: $spacing-04 $spacing-05 $spacing-03;
|
|
355
369
|
border-bottom: $tab-underline-color;
|
|
356
370
|
color: $text-secondary;
|
|
371
|
+
padding-inline: layout.density('padding-inline');
|
|
357
372
|
text-align: left;
|
|
358
373
|
text-decoration: none;
|
|
359
374
|
text-overflow: ellipsis;
|
|
@@ -368,9 +383,8 @@ $icon-tab-size: custom-property.get-var('icon-tab-size', rem(40px));
|
|
|
368
383
|
}
|
|
369
384
|
|
|
370
385
|
&.#{$prefix}--tabs--contained .#{$prefix}--tabs__nav-link {
|
|
371
|
-
height: rem(48px);
|
|
372
|
-
padding: $spacing-03 $spacing-05;
|
|
373
386
|
border-bottom: 0;
|
|
387
|
+
padding-inline: layout.density('padding-inline');
|
|
374
388
|
}
|
|
375
389
|
|
|
376
390
|
&.#{$prefix}--tabs--contained:not(.#{$prefix}--tabs--tall)
|
|
@@ -385,11 +399,6 @@ $icon-tab-size: custom-property.get-var('icon-tab-size', rem(40px));
|
|
|
385
399
|
min-height: rem(16px);
|
|
386
400
|
}
|
|
387
401
|
|
|
388
|
-
&.#{$prefix}--tabs--contained.#{$prefix}--tabs--tall
|
|
389
|
-
.#{$prefix}--tabs__nav-link {
|
|
390
|
-
height: rem(64px);
|
|
391
|
-
}
|
|
392
|
-
|
|
393
402
|
//-----------------------------
|
|
394
403
|
// Icon Item
|
|
395
404
|
//-----------------------------
|
|
@@ -401,8 +410,8 @@ $icon-tab-size: custom-property.get-var('icon-tab-size', rem(40px));
|
|
|
401
410
|
.#{$prefix}--tabs__nav-item--icon-only,
|
|
402
411
|
&.#{$prefix}--tabs--contained .#{$prefix}--tabs__nav-item--icon-only {
|
|
403
412
|
display: flex;
|
|
404
|
-
width:
|
|
405
|
-
height:
|
|
413
|
+
width: layout.size('height');
|
|
414
|
+
height: layout.size('height');
|
|
406
415
|
align-items: center;
|
|
407
416
|
justify-content: center;
|
|
408
417
|
padding: 0;
|
|
@@ -412,10 +421,6 @@ $icon-tab-size: custom-property.get-var('icon-tab-size', rem(40px));
|
|
|
412
421
|
}
|
|
413
422
|
}
|
|
414
423
|
|
|
415
|
-
&.#{$prefix}--tabs__icon--lg {
|
|
416
|
-
@include custom-property.declaration('icon-tab-size', rem(48px));
|
|
417
|
-
}
|
|
418
|
-
|
|
419
424
|
//-----------------------------
|
|
420
425
|
// Item Hover
|
|
421
426
|
//-----------------------------
|
|
@@ -554,7 +559,7 @@ $icon-tab-size: custom-property.get-var('icon-tab-size', rem(40px));
|
|
|
554
559
|
// Tab Content Container
|
|
555
560
|
//-----------------------------
|
|
556
561
|
.#{$prefix}--tab-content {
|
|
557
|
-
padding:
|
|
562
|
+
padding: layout.density('padding-inline');
|
|
558
563
|
|
|
559
564
|
&:focus {
|
|
560
565
|
@include focus-outline('outline');
|
|
@@ -585,7 +590,7 @@ $icon-tab-size: custom-property.get-var('icon-tab-size', rem(40px));
|
|
|
585
590
|
width: 10rem;
|
|
586
591
|
height: 100%;
|
|
587
592
|
align-items: center;
|
|
588
|
-
padding: 0
|
|
593
|
+
padding: 0 layout.density('padding-inline');
|
|
589
594
|
}
|
|
590
595
|
|
|
591
596
|
.#{$prefix}--tabs.#{$prefix}--skeleton .#{$prefix}--tabs__nav-link span {
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
@use '../../spacing' as *;
|
|
13
13
|
@use '../../theme' as *;
|
|
14
14
|
@use '../../type' as *;
|
|
15
|
+
@use '../../utilities/component-reset';
|
|
15
16
|
@use '../../utilities/convert' as *;
|
|
16
17
|
@use '../../utilities/focus-outline' as *;
|
|
17
18
|
@use '../../utilities/placeholder-colors' as *;
|
|
@@ -22,7 +23,7 @@
|
|
|
22
23
|
/// @group text-area
|
|
23
24
|
@mixin text-area {
|
|
24
25
|
.#{$prefix}--text-area {
|
|
25
|
-
@include reset;
|
|
26
|
+
@include component-reset.reset;
|
|
26
27
|
@include type-style('body-01');
|
|
27
28
|
@include focus-outline('reset');
|
|
28
29
|
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
//-----------------------------
|
|
9
9
|
// Text
|
|
10
10
|
//-----------------------------
|
|
11
|
+
@use '../form';
|
|
11
12
|
@use '../../config' as *;
|
|
12
13
|
@use '../../colors' as *;
|
|
13
14
|
@use '../../theme' as *;
|
|
14
15
|
@use '../../type' as *;
|
|
15
16
|
@use '../../spacing' as *;
|
|
16
17
|
@use '../../motion' as *;
|
|
17
|
-
|
|
18
18
|
@use '../../utilities/component-reset';
|
|
19
19
|
@use '../../utilities/placeholder-colors' as *;
|
|
20
20
|
@use '../../utilities/tooltip' as *;
|
|
@@ -22,10 +22,8 @@
|
|
|
22
22
|
@use '../../utilities/high-contrast-mode' as *;
|
|
23
23
|
@use '../../utilities/convert' as *;
|
|
24
24
|
@use '../../utilities/layout';
|
|
25
|
-
|
|
26
25
|
@use '../../utilities/focus-outline' as *;
|
|
27
26
|
@use '../../utilities/button-reset';
|
|
28
|
-
@use '../form';
|
|
29
27
|
|
|
30
28
|
/// Text input styles
|
|
31
29
|
/// @access public
|
|
@@ -34,8 +32,7 @@
|
|
|
34
32
|
.#{$prefix}--text-input {
|
|
35
33
|
@include layout.use('size', $default: 'md', $min: 'sm', $max: 'lg');
|
|
36
34
|
@include layout.use('density', $default: 'normal');
|
|
37
|
-
|
|
38
|
-
@include reset;
|
|
35
|
+
@include component-reset.reset;
|
|
39
36
|
@include type-style('body-compact-01');
|
|
40
37
|
@include focus-outline('reset');
|
|
41
38
|
|
|
@@ -5,14 +5,16 @@
|
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
6
6
|
//
|
|
7
7
|
|
|
8
|
+
@use '../button/tokens' as button;
|
|
8
9
|
@use '../../config' as *;
|
|
9
10
|
@use '../../feature-flags' as *;
|
|
11
|
+
@use '../../layer' as *;
|
|
10
12
|
@use '../../motion' as *;
|
|
11
13
|
@use '../../spacing' as *;
|
|
12
14
|
@use '../../theme' as *;
|
|
13
15
|
@use '../../type' as *;
|
|
14
|
-
@use '../button/tokens' as button;
|
|
15
16
|
@use '../../utilities/button-reset';
|
|
17
|
+
@use '../../utilities/component-reset';
|
|
16
18
|
@use '../../utilities/focus-outline' as *;
|
|
17
19
|
@use '../../utilities/high-contrast-mode' as *;
|
|
18
20
|
@use '../../utilities/visually-hidden' as *;
|
|
@@ -30,6 +32,7 @@ $-icon-container-size: calc(#{layout.density('padding-inline')} * 2 + 1rem);
|
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
.#{$prefix}--tile {
|
|
35
|
+
@include type-style('body-compact-01');
|
|
33
36
|
@include layout.use('density', $default: 'normal');
|
|
34
37
|
|
|
35
38
|
position: relative;
|
|
@@ -41,8 +44,6 @@ $-icon-container-size: calc(#{layout.density('padding-inline')} * 2 + 1rem);
|
|
|
41
44
|
outline: 2px solid transparent;
|
|
42
45
|
outline-offset: -2px;
|
|
43
46
|
|
|
44
|
-
@include type-style('body-compact-01');
|
|
45
|
-
|
|
46
47
|
&:focus {
|
|
47
48
|
@include focus-outline('outline');
|
|
48
49
|
}
|
|
@@ -55,6 +56,10 @@ $-icon-container-size: calc(#{layout.density('padding-inline')} * 2 + 1rem);
|
|
|
55
56
|
|
|
56
57
|
.#{$prefix}--tile--clickable,
|
|
57
58
|
.#{$prefix}--tile--selectable {
|
|
59
|
+
@include component-reset.reset;
|
|
60
|
+
@include type-style('body-compact-01');
|
|
61
|
+
|
|
62
|
+
padding: layout.density('padding-inline');
|
|
58
63
|
cursor: pointer;
|
|
59
64
|
transition: $duration-moderate-01 motion(standard, productive);
|
|
60
65
|
|
|
@@ -64,8 +69,6 @@ $-icon-container-size: calc(#{layout.density('padding-inline')} * 2 + 1rem);
|
|
|
64
69
|
}
|
|
65
70
|
|
|
66
71
|
.#{$prefix}--tile--clickable {
|
|
67
|
-
@include reset;
|
|
68
|
-
|
|
69
72
|
color: $text-primary;
|
|
70
73
|
text-decoration: none;
|
|
71
74
|
|
|
@@ -105,6 +108,7 @@ $-icon-container-size: calc(#{layout.density('padding-inline')} * 2 + 1rem);
|
|
|
105
108
|
.#{$prefix}--tile--clickable.#{$prefix}--link--disabled,
|
|
106
109
|
.#{$prefix}--tile--clickable:hover.#{$prefix}--link--disabled {
|
|
107
110
|
display: block;
|
|
111
|
+
padding: layout.density('padding-inline');
|
|
108
112
|
background-color: $layer;
|
|
109
113
|
color: $text-disabled;
|
|
110
114
|
cursor: not-allowed;
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
6
6
|
//
|
|
7
7
|
|
|
8
|
+
@use '../text-input';
|
|
9
|
+
@use '../select';
|
|
8
10
|
@use '../../config' as *;
|
|
9
11
|
@use '../../motion' as *;
|
|
10
12
|
@use '../../spacing' as *;
|
|
@@ -48,6 +50,10 @@
|
|
|
48
50
|
transform: translateY(-50%);
|
|
49
51
|
}
|
|
50
52
|
|
|
53
|
+
.#{$prefix}--time-picker__error__icon .#{$prefix}--checkbox__invalid-icon {
|
|
54
|
+
fill: $support-error;
|
|
55
|
+
}
|
|
56
|
+
|
|
51
57
|
.#{$prefix}--time-picker .#{$prefix}--select-input {
|
|
52
58
|
width: auto;
|
|
53
59
|
min-width: auto;
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
6
6
|
//
|
|
7
7
|
|
|
8
|
+
@use '../button';
|
|
8
9
|
@use '../../config' as *;
|
|
9
10
|
@use '../../spacing';
|
|
10
11
|
@use '../../theme';
|
|
@@ -71,6 +72,10 @@
|
|
|
71
72
|
row-gap: spacing.$spacing-05;
|
|
72
73
|
}
|
|
73
74
|
|
|
75
|
+
.#{$prefix}--toggletip-content p {
|
|
76
|
+
@include type.type-style('body-01');
|
|
77
|
+
}
|
|
78
|
+
|
|
74
79
|
.#{$prefix}--toggletip-actions {
|
|
75
80
|
display: flex;
|
|
76
81
|
align-items: center;
|
|
@@ -5,10 +5,12 @@
|
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
6
6
|
//
|
|
7
7
|
|
|
8
|
+
@use '../popover';
|
|
8
9
|
@use '../../config' as *;
|
|
9
10
|
@use '../../spacing';
|
|
10
11
|
@use '../../theme';
|
|
11
12
|
@use '../../type';
|
|
13
|
+
@use '../../layer' as *;
|
|
12
14
|
@use '../../utilities/custom-property';
|
|
13
15
|
@use '../../utilities/convert';
|
|
14
16
|
@use '../../utilities/button-reset';
|
|
@@ -5,12 +5,14 @@
|
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
6
6
|
//
|
|
7
7
|
|
|
8
|
+
@use '../form';
|
|
8
9
|
@use '../../config' as *;
|
|
9
10
|
@use '../../motion' as *;
|
|
10
11
|
@use '../../spacing' as *;
|
|
11
12
|
@use '../../theme' as *;
|
|
12
13
|
@use '../../type' as *;
|
|
13
14
|
@use '../../utilities/convert' as *;
|
|
15
|
+
@use '../../utilities/component-reset';
|
|
14
16
|
@use '../../utilities/focus-outline' as *;
|
|
15
17
|
@use '../../utilities/skeleton' as *;
|
|
16
18
|
|
|
@@ -19,6 +21,8 @@
|
|
|
19
21
|
/// @group treeview
|
|
20
22
|
@mixin treeview {
|
|
21
23
|
.#{$prefix}--tree {
|
|
24
|
+
@include component-reset.reset;
|
|
25
|
+
|
|
22
26
|
overflow: hidden;
|
|
23
27
|
}
|
|
24
28
|
|
|
@@ -36,6 +40,12 @@
|
|
|
36
40
|
}
|
|
37
41
|
}
|
|
38
42
|
|
|
43
|
+
.#{$prefix}--tree-node__children {
|
|
44
|
+
@include component-reset.reset;
|
|
45
|
+
|
|
46
|
+
list-style-type: none;
|
|
47
|
+
}
|
|
48
|
+
|
|
39
49
|
.#{$prefix}--tree-node--with-icon .#{$prefix}--tree-node {
|
|
40
50
|
margin-left: $spacing-03;
|
|
41
51
|
}
|
|
@@ -88,7 +98,8 @@
|
|
|
88
98
|
}
|
|
89
99
|
}
|
|
90
100
|
|
|
91
|
-
|
|
101
|
+
.#{$prefix}--tree-node:not(.#{$prefix}--tree-parent-node)
|
|
102
|
+
.#{$prefix}--tree-node__label {
|
|
92
103
|
// (min-height 32px - single line text height 18px) / 2 = 7px
|
|
93
104
|
padding-top: rem(7px);
|
|
94
105
|
padding-bottom: rem(7px);
|
|
@@ -206,9 +217,18 @@
|
|
|
206
217
|
}
|
|
207
218
|
}
|
|
208
219
|
|
|
220
|
+
// xs size variant
|
|
209
221
|
.#{$prefix}--tree--xs .#{$prefix}--tree-node__label {
|
|
210
222
|
min-height: rem(24px);
|
|
211
|
-
|
|
212
|
-
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.#{$prefix}--tree--xs
|
|
226
|
+
.#{$prefix}--tree-node:not(.#{$prefix}--tree-parent-node)
|
|
227
|
+
.#{$prefix}--tree-node__label {
|
|
228
|
+
padding: 0;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.#{$prefix}--tree--xs .#{$prefix}--tree-parent-node__toggle {
|
|
232
|
+
margin-top: 0;
|
|
213
233
|
}
|
|
214
234
|
}
|
|
@@ -5,15 +5,18 @@
|
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
6
6
|
//
|
|
7
7
|
|
|
8
|
+
@use '../../button';
|
|
8
9
|
@use '../mixins' as *;
|
|
9
10
|
@use '../functions' as *;
|
|
10
11
|
@use '../../../breakpoint' as *;
|
|
11
12
|
@use '../../../config' as *;
|
|
13
|
+
@use '../../../layer' as *;
|
|
12
14
|
@use '../../../motion' as *;
|
|
13
15
|
@use '../../../spacing' as *;
|
|
14
16
|
@use '../../../theme' as *;
|
|
15
17
|
@use '../../../type' as *;
|
|
16
18
|
@use '../../../utilities/button-reset';
|
|
19
|
+
@use '../../../utilities/component-reset';
|
|
17
20
|
@use '../../../utilities/convert' as *;
|
|
18
21
|
@use '../../../utilities/z-index' as *;
|
|
19
22
|
|
|
@@ -22,6 +25,8 @@
|
|
|
22
25
|
/// @group ui-shell
|
|
23
26
|
@mixin header {
|
|
24
27
|
.#{$prefix}--header {
|
|
28
|
+
@include component-reset.reset;
|
|
29
|
+
|
|
25
30
|
position: fixed;
|
|
26
31
|
z-index: z('header');
|
|
27
32
|
top: 0;
|
|
@@ -201,6 +206,8 @@
|
|
|
201
206
|
}
|
|
202
207
|
|
|
203
208
|
.#{$prefix}--header__menu-bar {
|
|
209
|
+
@include component-reset.reset;
|
|
210
|
+
|
|
204
211
|
display: flex;
|
|
205
212
|
height: 100%;
|
|
206
213
|
padding: 0;
|
|
@@ -9,11 +9,13 @@
|
|
|
9
9
|
@use '../functions' as *;
|
|
10
10
|
@use '../../../breakpoint' as *;
|
|
11
11
|
@use '../../../config' as *;
|
|
12
|
+
@use '../../../layer' as *;
|
|
12
13
|
@use '../../../motion' as *;
|
|
13
14
|
@use '../../../spacing' as *;
|
|
14
15
|
@use '../../../theme' as *;
|
|
15
16
|
@use '../../../type' as *;
|
|
16
17
|
@use '../../../utilities/button-reset';
|
|
18
|
+
@use '../../../utilities/component-reset';
|
|
17
19
|
@use '../../../utilities/convert' as *;
|
|
18
20
|
@use '../../../utilities/focus-outline' as *;
|
|
19
21
|
@use '../../../utilities/high-contrast-mode' as *;
|
|
@@ -124,6 +126,8 @@
|
|
|
124
126
|
// Side-nav > Navigation > Item(s)
|
|
125
127
|
//----------------------------------------------------------------------------
|
|
126
128
|
.#{$prefix}--side-nav__items {
|
|
129
|
+
@include component-reset.reset;
|
|
130
|
+
|
|
127
131
|
overflow: hidden;
|
|
128
132
|
flex: 1 1 0%;
|
|
129
133
|
padding: 1rem 0 0;
|
|
@@ -186,6 +190,7 @@
|
|
|
186
190
|
height: 1px;
|
|
187
191
|
margin: $spacing-03 $spacing-05;
|
|
188
192
|
background-color: $border-subtle;
|
|
193
|
+
list-style-type: none;
|
|
189
194
|
}
|
|
190
195
|
|
|
191
196
|
//----------------------------------------------------------------------------
|
|
@@ -277,6 +282,8 @@
|
|
|
277
282
|
}
|
|
278
283
|
|
|
279
284
|
.#{$prefix}--side-nav__menu {
|
|
285
|
+
@include component-reset.reset;
|
|
286
|
+
|
|
280
287
|
display: block;
|
|
281
288
|
max-height: 0;
|
|
282
289
|
visibility: hidden;
|
|
@@ -439,6 +446,8 @@
|
|
|
439
446
|
}
|
|
440
447
|
|
|
441
448
|
.#{$prefix}--side-nav__header-navigation {
|
|
449
|
+
@include component-reset.reset;
|
|
450
|
+
|
|
442
451
|
display: none;
|
|
443
452
|
|
|
444
453
|
@include breakpoint-down('lg') {
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
@use '../../../spacing' as *;
|
|
10
10
|
@use '../../../theme' as *;
|
|
11
11
|
@use '../../../type' as *;
|
|
12
|
+
@use '../../../utilities/component-reset';
|
|
12
13
|
@use '../../../utilities/convert' as *;
|
|
13
14
|
|
|
14
15
|
/// UI shell side nav
|
|
@@ -19,6 +20,8 @@
|
|
|
19
20
|
// Header Switcher
|
|
20
21
|
//----------------------------------------------------------------------------
|
|
21
22
|
.#{$prefix}--switcher {
|
|
23
|
+
@include component-reset.reset;
|
|
24
|
+
|
|
22
25
|
display: flex;
|
|
23
26
|
flex-direction: column;
|
|
24
27
|
align-items: center;
|