@cloudscape-design/components-themeable 3.0.537 → 3.0.538
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/lib/internal/manifest.json +1 -1
- package/lib/internal/scss/alert/styles.scss +23 -15
- package/lib/internal/scss/anchor-navigation/styles.scss +21 -12
- package/lib/internal/scss/annotation-context/annotation/arrow.scss +20 -15
- package/lib/internal/scss/annotation-context/annotation/styles.scss +9 -7
- package/lib/internal/scss/app-layout/constants.scss +2 -3
- package/lib/internal/scss/app-layout/content-wrapper/styles.scss +7 -7
- package/lib/internal/scss/app-layout/drawer/styles.scss +9 -10
- package/lib/internal/scss/app-layout/mobile-toolbar/styles.scss +10 -9
- package/lib/internal/scss/app-layout/notifications/styles.scss +1 -1
- package/lib/internal/scss/app-layout/split-panel/styles.scss +1 -1
- package/lib/internal/scss/app-layout/styles.scss +7 -7
- package/lib/internal/scss/app-layout/toggles/styles.scss +6 -4
- package/lib/internal/scss/app-layout/visual-refresh/background.scss +3 -3
- package/lib/internal/scss/app-layout/visual-refresh/drawers.scss +21 -20
- package/lib/internal/scss/app-layout/visual-refresh/layout.scss +2 -2
- package/lib/internal/scss/app-layout/visual-refresh/main.scss +4 -3
- package/lib/internal/scss/app-layout/visual-refresh/mobile-toolbar.scss +7 -6
- package/lib/internal/scss/app-layout/visual-refresh/navigation.scss +15 -14
- package/lib/internal/scss/app-layout/visual-refresh/notifications.scss +1 -1
- package/lib/internal/scss/app-layout/visual-refresh/split-panel.scss +11 -12
- package/lib/internal/scss/app-layout/visual-refresh/tools.scss +16 -16
- package/lib/internal/scss/app-layout/visual-refresh/trigger-button.scss +22 -13
- package/lib/internal/scss/area-chart/styles.scss +3 -2
- package/lib/internal/scss/attribute-editor/styles.scss +6 -5
- package/lib/internal/scss/autosuggest/styles.scss +2 -2
- package/lib/internal/scss/badge/styles.scss +6 -2
- package/lib/internal/scss/box/base-styles.scss +4 -2
- package/lib/internal/scss/box/layout.scss +2 -0
- package/lib/internal/scss/box/text.scss +3 -3
- package/lib/internal/scss/breadcrumb-group/item/styles.scss +3 -2
- package/lib/internal/scss/breadcrumb-group/styles.scss +16 -9
- package/lib/internal/scss/button/styles.scss +2 -1
- package/lib/internal/scss/button-dropdown/category-elements/styles.scss +38 -27
- package/lib/internal/scss/button-dropdown/item-element/styles.scss +20 -15
- package/lib/internal/scss/button-dropdown/mobile-expandable-group/styles.scss +3 -3
- package/lib/internal/scss/button-dropdown/styles.scss +17 -14
- package/lib/internal/scss/calendar/styles.scss +36 -21
- package/lib/internal/scss/cards/styles.scss +57 -30
- package/lib/internal/scss/code-editor/ace-editor.scss +12 -12
- package/lib/internal/scss/code-editor/pane.scss +23 -21
- package/lib/internal/scss/code-editor/resizable-box/styles.scss +5 -5
- package/lib/internal/scss/code-editor/styles.scss +38 -30
- package/lib/internal/scss/collection-preferences/content-display/content-display-option.scss +18 -10
- package/lib/internal/scss/collection-preferences/content-display/styles.scss +5 -3
- package/lib/internal/scss/collection-preferences/styles.scss +1 -1
- package/lib/internal/scss/collection-preferences/visible-content.scss +11 -8
- package/lib/internal/scss/column-layout/flexible-column-layout/styles.scss +4 -5
- package/lib/internal/scss/column-layout/styles.scss +15 -9
- package/lib/internal/scss/container/shared.scss +1 -3
- package/lib/internal/scss/container/styles.scss +62 -50
- package/lib/internal/scss/content-layout/styles.scss +4 -4
- package/lib/internal/scss/date-picker/styles.scss +3 -3
- package/lib/internal/scss/date-range-picker/calendar/grids/styles.scss +29 -18
- package/lib/internal/scss/date-range-picker/relative-range/styles.scss +8 -8
- package/lib/internal/scss/date-range-picker/styles.scss +26 -21
- package/lib/internal/scss/drawer/styles.scss +13 -10
- package/lib/internal/scss/expandable-section/styles.scss +41 -36
- package/lib/internal/scss/file-upload/dropzone/styles.scss +6 -2
- package/lib/internal/scss/file-upload/file-option/styles.scss +7 -7
- package/lib/internal/scss/file-upload/styles.scss +1 -1
- package/lib/internal/scss/flashbar/collapsible.scss +25 -25
- package/lib/internal/scss/flashbar/styles.scss +29 -19
- package/lib/internal/scss/form/styles.scss +10 -10
- package/lib/internal/scss/form-field/styles.scss +5 -5
- package/lib/internal/template/alert/styles.css.js +25 -25
- package/lib/internal/template/alert/styles.scoped.css +61 -54
- package/lib/internal/template/alert/styles.selectors.js +25 -25
- package/lib/internal/template/anchor-navigation/styles.css.js +8 -8
- package/lib/internal/template/anchor-navigation/styles.scoped.css +39 -30
- package/lib/internal/template/anchor-navigation/styles.selectors.js +8 -8
- package/lib/internal/template/annotation-context/annotation/styles.css.js +24 -24
- package/lib/internal/template/annotation-context/annotation/styles.scoped.css +57 -49
- package/lib/internal/template/annotation-context/annotation/styles.selectors.js +24 -24
- package/lib/internal/template/app-layout/content-wrapper/styles.css.js +3 -3
- package/lib/internal/template/app-layout/content-wrapper/styles.scoped.css +15 -15
- package/lib/internal/template/app-layout/content-wrapper/styles.selectors.js +3 -3
- package/lib/internal/template/app-layout/drawer/styles.css.js +12 -12
- package/lib/internal/template/app-layout/drawer/styles.scoped.css +29 -30
- package/lib/internal/template/app-layout/drawer/styles.selectors.js +12 -12
- package/lib/internal/template/app-layout/mobile-toolbar/styles.css.js +8 -8
- package/lib/internal/template/app-layout/mobile-toolbar/styles.scoped.css +18 -17
- package/lib/internal/template/app-layout/mobile-toolbar/styles.selectors.js +8 -8
- package/lib/internal/template/app-layout/notifications/styles.css.js +3 -3
- package/lib/internal/template/app-layout/notifications/styles.scoped.css +6 -6
- package/lib/internal/template/app-layout/notifications/styles.selectors.js +3 -3
- package/lib/internal/template/app-layout/split-panel/styles.css.js +2 -2
- package/lib/internal/template/app-layout/split-panel/styles.scoped.css +3 -3
- package/lib/internal/template/app-layout/split-panel/styles.selectors.js +2 -2
- package/lib/internal/template/app-layout/styles.css.js +16 -16
- package/lib/internal/template/app-layout/styles.scoped.css +26 -26
- package/lib/internal/template/app-layout/styles.selectors.js +16 -16
- package/lib/internal/template/app-layout/toggles/styles.css.js +2 -2
- package/lib/internal/template/app-layout/toggles/styles.scoped.css +12 -10
- package/lib/internal/template/app-layout/toggles/styles.selectors.js +2 -2
- package/lib/internal/template/app-layout/visual-refresh/styles.css.js +81 -81
- package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +279 -261
- package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +81 -81
- package/lib/internal/template/area-chart/styles.css.js +6 -6
- package/lib/internal/template/area-chart/styles.scoped.css +12 -11
- package/lib/internal/template/area-chart/styles.selectors.js +6 -6
- package/lib/internal/template/attribute-editor/styles.css.js +14 -14
- package/lib/internal/template/attribute-editor/styles.scoped.css +30 -29
- package/lib/internal/template/attribute-editor/styles.selectors.js +14 -14
- package/lib/internal/template/autosuggest/styles.css.js +3 -3
- package/lib/internal/template/autosuggest/styles.scoped.css +5 -5
- package/lib/internal/template/autosuggest/styles.selectors.js +3 -3
- package/lib/internal/template/badge/styles.css.js +5 -5
- package/lib/internal/template/badge/styles.scoped.css +11 -7
- package/lib/internal/template/badge/styles.selectors.js +5 -5
- package/lib/internal/template/box/styles.css.js +190 -190
- package/lib/internal/template/box/styles.scoped.css +244 -240
- package/lib/internal/template/box/styles.selectors.js +190 -190
- package/lib/internal/template/breadcrumb-group/item/styles.css.js +9 -9
- package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +20 -19
- package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +9 -9
- package/lib/internal/template/breadcrumb-group/styles.css.js +7 -7
- package/lib/internal/template/breadcrumb-group/styles.scoped.css +28 -21
- package/lib/internal/template/breadcrumb-group/styles.selectors.js +7 -7
- package/lib/internal/template/button/styles.css.js +20 -20
- package/lib/internal/template/button/styles.scoped.css +155 -153
- package/lib/internal/template/button/styles.selectors.js +20 -20
- package/lib/internal/template/button-dropdown/category-elements/styles.css.js +13 -13
- package/lib/internal/template/button-dropdown/category-elements/styles.scoped.css +61 -50
- package/lib/internal/template/button-dropdown/category-elements/styles.selectors.js +13 -13
- package/lib/internal/template/button-dropdown/item-element/styles.css.js +15 -15
- package/lib/internal/template/button-dropdown/item-element/styles.scoped.css +38 -33
- package/lib/internal/template/button-dropdown/item-element/styles.selectors.js +15 -15
- package/lib/internal/template/button-dropdown/mobile-expandable-group/styles.css.js +5 -5
- package/lib/internal/template/button-dropdown/mobile-expandable-group/styles.scoped.css +8 -8
- package/lib/internal/template/button-dropdown/mobile-expandable-group/styles.selectors.js +5 -5
- package/lib/internal/template/button-dropdown/styles.css.js +15 -15
- package/lib/internal/template/button-dropdown/styles.scoped.css +39 -36
- package/lib/internal/template/button-dropdown/styles.selectors.js +15 -15
- package/lib/internal/template/calendar/grid/index.js +1 -1
- package/lib/internal/template/calendar/grid/index.js.map +1 -1
- package/lib/internal/template/calendar/styles.css.js +18 -18
- package/lib/internal/template/calendar/styles.scoped.css +75 -59
- package/lib/internal/template/calendar/styles.selectors.js +18 -18
- package/lib/internal/template/cards/styles.css.js +40 -40
- package/lib/internal/template/cards/styles.scoped.css +126 -99
- package/lib/internal/template/cards/styles.selectors.js +40 -40
- package/lib/internal/template/code-editor/resizable-box/styles.css.js +3 -3
- package/lib/internal/template/code-editor/resizable-box/styles.scoped.css +13 -13
- package/lib/internal/template/code-editor/resizable-box/styles.selectors.js +3 -3
- package/lib/internal/template/code-editor/styles.css.js +32 -32
- package/lib/internal/template/code-editor/styles.scoped.css +258 -246
- package/lib/internal/template/code-editor/styles.selectors.js +32 -32
- package/lib/internal/template/collection-preferences/content-display/styles.css.js +11 -11
- package/lib/internal/template/collection-preferences/content-display/styles.scoped.css +40 -30
- package/lib/internal/template/collection-preferences/content-display/styles.selectors.js +11 -11
- package/lib/internal/template/collection-preferences/styles.css.js +37 -37
- package/lib/internal/template/collection-preferences/styles.scoped.css +79 -66
- package/lib/internal/template/collection-preferences/styles.selectors.js +37 -37
- package/lib/internal/template/column-layout/flexible-column-layout/styles.css.js +5 -5
- package/lib/internal/template/column-layout/flexible-column-layout/styles.scoped.css +8 -9
- package/lib/internal/template/column-layout/flexible-column-layout/styles.selectors.js +5 -5
- package/lib/internal/template/column-layout/styles.css.js +13 -13
- package/lib/internal/template/column-layout/styles.scoped.css +70 -64
- package/lib/internal/template/column-layout/styles.selectors.js +13 -13
- package/lib/internal/template/container/styles.css.js +30 -30
- package/lib/internal/template/container/styles.scoped.css +114 -106
- package/lib/internal/template/container/styles.selectors.js +30 -30
- package/lib/internal/template/content-layout/styles.css.js +7 -7
- package/lib/internal/template/content-layout/styles.scoped.css +15 -15
- package/lib/internal/template/content-layout/styles.selectors.js +7 -7
- package/lib/internal/template/date-picker/styles.css.js +7 -7
- package/lib/internal/template/date-picker/styles.scoped.css +12 -12
- package/lib/internal/template/date-picker/styles.selectors.js +7 -7
- package/lib/internal/template/date-range-picker/calendar/grids/styles.css.js +25 -25
- package/lib/internal/template/date-range-picker/calendar/grids/styles.scoped.css +71 -60
- package/lib/internal/template/date-range-picker/calendar/grids/styles.selectors.js +25 -25
- package/lib/internal/template/date-range-picker/relative-range/styles.css.js +9 -9
- package/lib/internal/template/date-range-picker/relative-range/styles.scoped.css +21 -21
- package/lib/internal/template/date-range-picker/relative-range/styles.selectors.js +9 -9
- package/lib/internal/template/date-range-picker/styles.css.js +38 -38
- package/lib/internal/template/date-range-picker/styles.scoped.css +72 -67
- package/lib/internal/template/date-range-picker/styles.selectors.js +38 -38
- package/lib/internal/template/drawer/styles.css.js +3 -3
- package/lib/internal/template/drawer/styles.scoped.css +21 -18
- package/lib/internal/template/drawer/styles.selectors.js +3 -3
- package/lib/internal/template/expandable-section/styles.css.js +32 -32
- package/lib/internal/template/expandable-section/styles.scoped.css +103 -98
- package/lib/internal/template/expandable-section/styles.selectors.js +32 -32
- package/lib/internal/template/file-upload/dropzone/styles.css.js +2 -2
- package/lib/internal/template/file-upload/dropzone/styles.scoped.css +8 -4
- package/lib/internal/template/file-upload/dropzone/styles.selectors.js +2 -2
- package/lib/internal/template/file-upload/file-option/styles.css.js +7 -7
- package/lib/internal/template/file-upload/file-option/styles.scoped.css +15 -15
- package/lib/internal/template/file-upload/file-option/styles.selectors.js +7 -7
- package/lib/internal/template/file-upload/styles.css.js +2 -2
- package/lib/internal/template/file-upload/styles.scoped.css +4 -4
- package/lib/internal/template/file-upload/styles.selectors.js +2 -2
- package/lib/internal/template/flashbar/styles.css.js +47 -47
- package/lib/internal/template/flashbar/styles.scoped.css +220 -215
- package/lib/internal/template/flashbar/styles.selectors.js +47 -47
- package/lib/internal/template/form/styles.css.js +9 -9
- package/lib/internal/template/form/styles.scoped.css +18 -18
- package/lib/internal/template/form/styles.selectors.js +9 -9
- package/lib/internal/template/form-field/styles.css.js +19 -19
- package/lib/internal/template/form-field/styles.scoped.css +34 -34
- package/lib/internal/template/form-field/styles.selectors.js +19 -19
- package/lib/internal/template/internal/environment.js +1 -1
- package/lib/internal/template/internal/environment.json +1 -1
- package/lib/internal/template/modal/styles.css.js +23 -23
- package/lib/internal/template/modal/styles.scoped.css +39 -39
- package/lib/internal/template/modal/styles.selectors.js +23 -23
- package/lib/internal/template/tiles/styles.css.js +29 -29
- package/lib/internal/template/tiles/styles.scoped.css +97 -91
- package/lib/internal/template/tiles/styles.selectors.js +29 -29
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
.container {
|
|
11
11
|
grid-area: main;
|
|
12
|
-
padding-
|
|
12
|
+
padding-block-end: awsui.$space-layout-content-bottom;
|
|
13
13
|
|
|
14
14
|
/*
|
|
15
15
|
If the split panel is in the bottom position additional padding will need to be
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
sticky position of the split panel.
|
|
19
19
|
*/
|
|
20
20
|
&.has-split-panel.split-panel-position-bottom {
|
|
21
|
-
padding-
|
|
21
|
+
padding-block-end: calc(var(#{custom-props.$splitPanelHeight}) + #{awsui.$space-layout-content-bottom});
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
/*
|
|
@@ -30,7 +30,8 @@
|
|
|
30
30
|
*/
|
|
31
31
|
&.disable-content-paddings {
|
|
32
32
|
grid-column: 1 / 6;
|
|
33
|
-
padding: 0;
|
|
33
|
+
padding-block: 0;
|
|
34
|
+
padding-inline: 0;
|
|
34
35
|
|
|
35
36
|
@include styles.media-breakpoint-up(styles.$breakpoint-x-small) {
|
|
36
37
|
&.is-navigation-open {
|
|
@@ -10,17 +10,18 @@
|
|
|
10
10
|
section.mobile-toolbar {
|
|
11
11
|
align-items: center;
|
|
12
12
|
background-color: awsui.$color-background-layout-main;
|
|
13
|
-
border-
|
|
13
|
+
border-block-end: 1px solid awsui.$color-border-divider-default;
|
|
14
14
|
box-shadow: awsui.$shadow-sticky;
|
|
15
15
|
box-sizing: border-box;
|
|
16
|
-
|
|
16
|
+
block-size: var(#{custom-props.$mobileBarHeight});
|
|
17
17
|
display: grid;
|
|
18
18
|
grid-area: mobileToolbar;
|
|
19
19
|
grid-column: 1 / span 5;
|
|
20
20
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
21
|
-
padding: 0
|
|
21
|
+
padding-block: 0;
|
|
22
|
+
padding-inline: awsui.$space-m;
|
|
22
23
|
position: sticky;
|
|
23
|
-
|
|
24
|
+
inset-block-start: var(#{custom-props.$offsetTop});
|
|
24
25
|
z-index: 1000;
|
|
25
26
|
&:not(.remove-high-contrast-header) {
|
|
26
27
|
background-color: awsui.$color-background-layout-main;
|
|
@@ -29,7 +30,7 @@ section.mobile-toolbar {
|
|
|
29
30
|
|
|
30
31
|
> .mobile-toolbar-nav {
|
|
31
32
|
grid-column: 1;
|
|
32
|
-
margin-
|
|
33
|
+
margin-inline-end: awsui.$space-m;
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
> .mobile-toolbar-breadcrumbs {
|
|
@@ -39,6 +40,6 @@ section.mobile-toolbar {
|
|
|
39
40
|
|
|
40
41
|
> .mobile-toolbar-tools {
|
|
41
42
|
grid-column: 3;
|
|
42
|
-
margin-
|
|
43
|
+
margin-inline-start: awsui.$space-m;
|
|
43
44
|
}
|
|
44
45
|
}
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
display: flex;
|
|
13
13
|
grid-column: 1;
|
|
14
14
|
grid-row: 1 / span 10;
|
|
15
|
-
|
|
15
|
+
block-size: var(#{custom-props.$contentHeight});
|
|
16
16
|
position: sticky;
|
|
17
|
-
|
|
17
|
+
inset-block-start: var(#{custom-props.$offsetTop});
|
|
18
18
|
z-index: 830;
|
|
19
19
|
|
|
20
20
|
/*
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
@include styles.media-breakpoint-down(styles.$breakpoint-x-small) {
|
|
37
|
-
|
|
37
|
+
inset-inline-start: 0;
|
|
38
38
|
position: fixed;
|
|
39
39
|
z-index: 1001;
|
|
40
40
|
|
|
@@ -46,13 +46,14 @@
|
|
|
46
46
|
relative to the body.
|
|
47
47
|
*/
|
|
48
48
|
&.disable-body-scroll {
|
|
49
|
-
|
|
49
|
+
inset-block-start: var(#{custom-props.$headerHeight});
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
nav.show-navigation {
|
|
55
|
-
padding: awsui.$space-scaled-s
|
|
55
|
+
padding-block: awsui.$space-scaled-s;
|
|
56
|
+
padding-inline: awsui.$space-layout-toggle-padding;
|
|
56
57
|
|
|
57
58
|
// Animation for the buttons when they are added to the DOM
|
|
58
59
|
@keyframes showButtons {
|
|
@@ -87,8 +88,8 @@ nav.show-navigation {
|
|
|
87
88
|
|
|
88
89
|
nav.navigation {
|
|
89
90
|
background-color: awsui.$color-background-container-content;
|
|
90
|
-
|
|
91
|
-
|
|
91
|
+
inset-block-end: 0;
|
|
92
|
+
block-size: 100%;
|
|
92
93
|
overflow-x: hidden;
|
|
93
94
|
overflow-y: auto;
|
|
94
95
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
@@ -96,24 +97,24 @@ nav.navigation {
|
|
|
96
97
|
position: relative;
|
|
97
98
|
word-wrap: break-word;
|
|
98
99
|
pointer-events: auto;
|
|
99
|
-
border-
|
|
100
|
+
border-inline-end: solid awsui.$border-divider-section-width awsui.$color-border-divider-default;
|
|
100
101
|
|
|
101
102
|
// Animation for the Navigation opacity and width when it is added to the DOM
|
|
102
103
|
@keyframes openNavigation {
|
|
103
104
|
from {
|
|
104
105
|
opacity: 0;
|
|
105
|
-
|
|
106
|
+
inline-size: calc(#{awsui.$space-layout-toggle-padding} * 2 + #{awsui.$space-layout-toggle-diameter});
|
|
106
107
|
}
|
|
107
108
|
|
|
108
109
|
to {
|
|
109
110
|
opacity: 1;
|
|
110
|
-
|
|
111
|
+
inline-size: var(#{custom-props.$navigationWidth});
|
|
111
112
|
}
|
|
112
113
|
}
|
|
113
114
|
|
|
114
115
|
// All content is hidden by the overflow-x property
|
|
115
116
|
&:not(.is-navigation-open) {
|
|
116
|
-
|
|
117
|
+
inline-size: 0;
|
|
117
118
|
// We need to hide the closed panel to make containing focusable elements not focusable anymore.
|
|
118
119
|
display: none;
|
|
119
120
|
}
|
|
@@ -133,7 +134,7 @@ nav.navigation {
|
|
|
133
134
|
prevent unwanted text wrapping.
|
|
134
135
|
*/
|
|
135
136
|
> .animated-content {
|
|
136
|
-
|
|
137
|
+
inline-size: var(#{custom-props.$navigationWidth});
|
|
137
138
|
}
|
|
138
139
|
|
|
139
140
|
// The Navigation drawer will take up the entire viewport on mobile
|
|
@@ -144,6 +145,6 @@ nav.navigation {
|
|
|
144
145
|
|
|
145
146
|
.hide-navigation {
|
|
146
147
|
position: absolute;
|
|
147
|
-
|
|
148
|
-
|
|
148
|
+
inset-inline-end: awsui.$space-m;
|
|
149
|
+
inset-block-start: awsui.$size-vertical-panel-icon-offset;
|
|
149
150
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
&.sticky-notifications {
|
|
17
17
|
#{custom-props.$flashbarStickyBottomMargin}: #{awsui.$space-xxl};
|
|
18
18
|
position: sticky;
|
|
19
|
-
|
|
19
|
+
inset-block-start: calc(var(#{custom-props.$offsetTop}) + #{awsui.$space-xs});
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -19,11 +19,11 @@ section.split-panel-bottom {
|
|
|
19
19
|
This could be off the viewport if the content area has enough content to be scrollable.
|
|
20
20
|
*/
|
|
21
21
|
align-self: end;
|
|
22
|
-
|
|
22
|
+
inset-block-end: var(#{custom-props.$footerHeight});
|
|
23
23
|
display: none;
|
|
24
24
|
grid-column: 1 / 6;
|
|
25
25
|
grid-row: 10;
|
|
26
|
-
|
|
26
|
+
block-size: auto;
|
|
27
27
|
overflow-y: hidden;
|
|
28
28
|
|
|
29
29
|
/*
|
|
@@ -37,17 +37,17 @@ section.split-panel-bottom {
|
|
|
37
37
|
// Animation for the height when opening the split panel
|
|
38
38
|
@keyframes openSplitPanelBottom {
|
|
39
39
|
from {
|
|
40
|
-
|
|
40
|
+
block-size: var(#{custom-props.$splitPanelReportedHeaderSize}, 0);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
to {
|
|
44
|
-
|
|
44
|
+
block-size: var(#{custom-props.$splitPanelReportedSize});
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
// If the Layout is the scrollable element then the footer height is not relevant
|
|
49
49
|
&.disable-body-scroll {
|
|
50
|
-
|
|
50
|
+
inset-block-end: 0;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
&.is-navigation-open.position-bottom {
|
|
@@ -84,7 +84,6 @@ section.split-panel-bottom {
|
|
|
84
84
|
*/
|
|
85
85
|
&.is-split-panel-open.position-bottom {
|
|
86
86
|
box-shadow: awsui.$shadow-split-bottom;
|
|
87
|
-
|
|
88
87
|
&.animating {
|
|
89
88
|
@include styles.with-motion {
|
|
90
89
|
animation: openSplitPanelBottom awsui.$motion-duration-refresh-only-fast;
|
|
@@ -94,13 +93,13 @@ section.split-panel-bottom {
|
|
|
94
93
|
}
|
|
95
94
|
|
|
96
95
|
section.split-panel-side {
|
|
97
|
-
|
|
96
|
+
block-size: 100%;
|
|
98
97
|
overflow-x: hidden;
|
|
99
98
|
pointer-events: auto;
|
|
100
99
|
|
|
101
100
|
&:not(.is-split-panel-open),
|
|
102
101
|
&.position-bottom {
|
|
103
|
-
|
|
102
|
+
inline-size: 0;
|
|
104
103
|
}
|
|
105
104
|
|
|
106
105
|
/*
|
|
@@ -109,12 +108,12 @@ section.split-panel-side {
|
|
|
109
108
|
be persistent in the DOM when closed.
|
|
110
109
|
*/
|
|
111
110
|
&.is-split-panel-open.position-side {
|
|
112
|
-
max-
|
|
113
|
-
min-
|
|
114
|
-
border-
|
|
111
|
+
max-inline-size: var(#{custom-props.$splitPanelMaxWidth}, 280px);
|
|
112
|
+
min-inline-size: var(#{custom-props.$splitPanelMinWidth}, 280px);
|
|
113
|
+
border-inline-start: solid awsui.$border-divider-section-width awsui.$color-border-divider-default;
|
|
115
114
|
|
|
116
115
|
&:not(.has-open-drawer) {
|
|
117
|
-
border-
|
|
116
|
+
border-inline-end: awsui.$border-divider-section-width solid awsui.$color-border-divider-panel-side;
|
|
118
117
|
}
|
|
119
118
|
}
|
|
120
119
|
}
|
|
@@ -27,10 +27,10 @@ viewport size and state of the Tools drawer.
|
|
|
27
27
|
display: flex;
|
|
28
28
|
grid-column: 5;
|
|
29
29
|
grid-row: 1 / span 10;
|
|
30
|
-
|
|
31
|
-
max-
|
|
30
|
+
block-size: var(#{custom-props.$contentHeight});
|
|
31
|
+
max-inline-size: var(#{custom-props.$toolsMaxWidth});
|
|
32
32
|
position: sticky;
|
|
33
|
-
|
|
33
|
+
inset-block-start: var(#{custom-props.$offsetTop});
|
|
34
34
|
z-index: 830;
|
|
35
35
|
|
|
36
36
|
pointer-events: none;
|
|
@@ -43,7 +43,7 @@ viewport size and state of the Tools drawer.
|
|
|
43
43
|
#{custom-props.$toolsMaxWidth}: none;
|
|
44
44
|
#{custom-props.$toolsWidth}: auto;
|
|
45
45
|
position: fixed;
|
|
46
|
-
|
|
46
|
+
inset-inline-end: 0;
|
|
47
47
|
z-index: 1001;
|
|
48
48
|
|
|
49
49
|
/*
|
|
@@ -54,7 +54,7 @@ viewport size and state of the Tools drawer.
|
|
|
54
54
|
relative to the body.
|
|
55
55
|
*/
|
|
56
56
|
&.disable-body-scroll {
|
|
57
|
-
|
|
57
|
+
inset-block-start: var(#{custom-props.$headerHeight});
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -62,7 +62,7 @@ viewport size and state of the Tools drawer.
|
|
|
62
62
|
.tools {
|
|
63
63
|
background-color: awsui.$color-background-container-content;
|
|
64
64
|
flex-shrink: 0;
|
|
65
|
-
|
|
65
|
+
block-size: 100%;
|
|
66
66
|
overflow-y: auto;
|
|
67
67
|
overflow-x: hidden;
|
|
68
68
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
@@ -75,24 +75,24 @@ viewport size and state of the Tools drawer.
|
|
|
75
75
|
@keyframes openTools {
|
|
76
76
|
from {
|
|
77
77
|
opacity: var(#{custom-props.$toolsAnimationStartingOpacity}, 0);
|
|
78
|
-
|
|
78
|
+
inline-size: calc(#{awsui.$space-layout-toggle-padding} * 2 + #{awsui.$space-layout-toggle-diameter});
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
to {
|
|
82
82
|
opacity: 1;
|
|
83
|
-
|
|
83
|
+
inline-size: var(#{custom-props.$toolsWidth});
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
&:not(.is-tools-open) {
|
|
88
|
-
|
|
88
|
+
inline-size: 0;
|
|
89
89
|
// We need to hide the closed panel to make containing focusable elements not focusable anymore.
|
|
90
90
|
display: none;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
// Apply the animation when the Tools is opened
|
|
94
94
|
&.is-tools-open {
|
|
95
|
-
border-
|
|
95
|
+
border-inline-start: solid awsui.$border-divider-section-width awsui.$color-border-divider-default;
|
|
96
96
|
|
|
97
97
|
&.animating {
|
|
98
98
|
@include styles.with-motion {
|
|
@@ -107,7 +107,7 @@ viewport size and state of the Tools drawer.
|
|
|
107
107
|
prevent unwanted text wrapping.
|
|
108
108
|
*/
|
|
109
109
|
> .animated-content {
|
|
110
|
-
|
|
110
|
+
inline-size: var(#{custom-props.$toolsWidth});
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
/*
|
|
@@ -118,7 +118,7 @@ viewport size and state of the Tools drawer.
|
|
|
118
118
|
*/
|
|
119
119
|
@include styles.media-breakpoint-up(styles.$breakpoint-x-small) {
|
|
120
120
|
&.is-tools-open.has-tools-form-persistence {
|
|
121
|
-
border-
|
|
121
|
+
border-inline-end: awsui.$border-divider-section-width solid awsui.$color-border-divider-default;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
@@ -130,8 +130,8 @@ viewport size and state of the Tools drawer.
|
|
|
130
130
|
|
|
131
131
|
.hide-tools {
|
|
132
132
|
position: absolute;
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
inset-inline-end: awsui.$space-m;
|
|
134
|
+
inset-block-start: awsui.$size-vertical-panel-icon-offset;
|
|
135
135
|
z-index: 1;
|
|
136
136
|
}
|
|
137
137
|
|
|
@@ -143,7 +143,8 @@ handleSplitPanelMaxWidth function in the context.
|
|
|
143
143
|
.show-tools {
|
|
144
144
|
@include styles.styles-reset;
|
|
145
145
|
box-sizing: border-box;
|
|
146
|
-
padding: awsui.$space-scaled-s
|
|
146
|
+
padding-block: awsui.$space-scaled-s;
|
|
147
|
+
padding-inline: awsui.$space-layout-toggle-padding;
|
|
147
148
|
|
|
148
149
|
// Animation for the buttons when they are added to the DOM
|
|
149
150
|
@keyframes showButtons {
|
|
@@ -169,7 +170,6 @@ handleSplitPanelMaxWidth function in the context.
|
|
|
169
170
|
display: flex;
|
|
170
171
|
flex-direction: column;
|
|
171
172
|
gap: awsui.$space-xs;
|
|
172
|
-
|
|
173
173
|
&.animating {
|
|
174
174
|
@include styles.with-motion {
|
|
175
175
|
animation: showButtons awsui.$motion-duration-refresh-only-fast;
|
|
@@ -21,9 +21,12 @@
|
|
|
21
21
|
|
|
22
22
|
@mixin trigger-button-styles {
|
|
23
23
|
background: awsui.$color-background-layout-toggle-default;
|
|
24
|
-
border-radius: 50%;
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
border-start-start-radius: 50%;
|
|
25
|
+
border-start-end-radius: 50%;
|
|
26
|
+
border-end-start-radius: 50%;
|
|
27
|
+
border-end-end-radius: 50%;
|
|
28
|
+
block-size: awsui.$space-layout-toggle-diameter;
|
|
29
|
+
inline-size: awsui.$space-layout-toggle-diameter;
|
|
27
30
|
|
|
28
31
|
&:hover {
|
|
29
32
|
background: awsui.$color-background-layout-toggle-hover;
|
|
@@ -38,8 +41,8 @@
|
|
|
38
41
|
@include trigger-button-styles();
|
|
39
42
|
|
|
40
43
|
position: absolute;
|
|
41
|
-
|
|
42
|
-
|
|
44
|
+
inset-block-start: 0;
|
|
45
|
+
inset-inline-start: 0;
|
|
43
46
|
display: flex;
|
|
44
47
|
justify-content: center;
|
|
45
48
|
align-items: center;
|
|
@@ -56,8 +59,8 @@ handleSplitPanelMaxWidth function in the context.
|
|
|
56
59
|
*/
|
|
57
60
|
.trigger {
|
|
58
61
|
@include trigger-button-styles();
|
|
59
|
-
|
|
60
|
-
border: none;
|
|
62
|
+
border-block: none;
|
|
63
|
+
border-inline: none;
|
|
61
64
|
color: awsui.$color-text-layout-toggle;
|
|
62
65
|
cursor: pointer;
|
|
63
66
|
pointer-events: auto;
|
|
@@ -88,7 +91,10 @@ handleSplitPanelMaxWidth function in the context.
|
|
|
88
91
|
|
|
89
92
|
.trigger-wrapper {
|
|
90
93
|
position: relative;
|
|
91
|
-
border-radius: 50%;
|
|
94
|
+
border-start-start-radius: 50%;
|
|
95
|
+
border-start-end-radius: 50%;
|
|
96
|
+
border-end-start-radius: 50%;
|
|
97
|
+
border-end-end-radius: 50%;
|
|
92
98
|
|
|
93
99
|
&:not(.remove-high-contrast-header) {
|
|
94
100
|
box-shadow: awsui.$shadow-panel-toggle;
|
|
@@ -97,10 +103,13 @@ handleSplitPanelMaxWidth function in the context.
|
|
|
97
103
|
|
|
98
104
|
.dot {
|
|
99
105
|
position: absolute;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
border-radius: 8px;
|
|
106
|
+
inline-size: 9px;
|
|
107
|
+
block-size: 9px;
|
|
108
|
+
border-start-start-radius: 8px;
|
|
109
|
+
border-start-end-radius: 8px;
|
|
110
|
+
border-end-start-radius: 8px;
|
|
111
|
+
border-end-end-radius: 8px;
|
|
103
112
|
background-color: awsui.$color-background-badge-icon;
|
|
104
|
-
|
|
105
|
-
|
|
113
|
+
inset-block-start: 0;
|
|
114
|
+
inset-inline-end: 0;
|
|
106
115
|
}
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.popover-divider {
|
|
35
|
-
margin: awsui.$space-xs
|
|
36
|
-
|
|
35
|
+
margin-block: awsui.$space-xs;
|
|
36
|
+
margin-inline: 0;
|
|
37
|
+
border-block-end: awsui.$border-divider-section-width solid awsui.$color-border-divider-default;
|
|
37
38
|
}
|
|
@@ -42,22 +42,22 @@
|
|
|
42
42
|
// The value is calculated as follows:
|
|
43
43
|
// padding-top = awsui-form-field-controls: 4px +
|
|
44
44
|
// line height (also applies to icon size) awsui-form-field-label: 22px
|
|
45
|
-
padding-
|
|
45
|
+
padding-block-start: calc(#{awsui.$space-xxs} + #{awsui.$line-height-body-m});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.button-container-nolabel {
|
|
49
|
-
padding-
|
|
49
|
+
padding-block-start: #{awsui.$space-xxs};
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.divider {
|
|
53
|
-
border-
|
|
53
|
+
border-block-end: awsui.$border-divider-section-width solid awsui.$color-border-divider-default;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.additional-info {
|
|
57
57
|
@include styles.form-control-description;
|
|
58
58
|
display: block;
|
|
59
59
|
word-wrap: break-word;
|
|
60
|
-
margin-
|
|
60
|
+
margin-block-start: awsui.$space-xxs;
|
|
61
61
|
|
|
62
62
|
/* stylelint-disable-next-line selector-max-type */
|
|
63
63
|
> a {
|
|
@@ -66,5 +66,6 @@
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.right-align {
|
|
69
|
-
|
|
69
|
+
display: flex;
|
|
70
|
+
justify-content: flex-end;
|
|
70
71
|
}
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
.root {
|
|
7
|
-
|
|
7
|
+
inline-size: 100%;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.layout-strut {
|
|
11
|
-
|
|
11
|
+
inline-size: 100%;
|
|
12
12
|
position: relative;
|
|
13
13
|
// Prevent incorrect layer ordering in Safari by making sure
|
|
14
14
|
// this element is also offloaded to the GPU along with the virtual items
|
|
@@ -12,8 +12,12 @@
|
|
|
12
12
|
@include styles.font-body-s;
|
|
13
13
|
line-height: awsui.$line-height-body-m;
|
|
14
14
|
display: inline-block;
|
|
15
|
-
border-radius: awsui.$border-radius-badge;
|
|
16
|
-
|
|
15
|
+
border-start-start-radius: awsui.$border-radius-badge;
|
|
16
|
+
border-start-end-radius: awsui.$border-radius-badge;
|
|
17
|
+
border-end-start-radius: awsui.$border-radius-badge;
|
|
18
|
+
border-end-end-radius: awsui.$border-radius-badge;
|
|
19
|
+
padding-block: 0;
|
|
20
|
+
padding-inline: awsui.$space-xs;
|
|
17
21
|
color: awsui.$color-text-notification-default;
|
|
18
22
|
|
|
19
23
|
&.badge-color-grey {
|
|
@@ -129,9 +129,11 @@ $font-styles: (
|
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
@mixin headings-paragraphs-extra-defaults {
|
|
132
|
-
margin: 0;
|
|
132
|
+
margin-block: 0;
|
|
133
|
+
margin-inline: 0;
|
|
133
134
|
text-decoration: none;
|
|
134
|
-
padding: awsui.$space-xxs
|
|
135
|
+
padding-block: awsui.$space-xxs;
|
|
136
|
+
padding-inline: 0;
|
|
135
137
|
}
|
|
136
138
|
|
|
137
139
|
@mixin code-extra-defaults {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
&.key-label-variant {
|
|
42
42
|
@include styles.font-label;
|
|
43
43
|
color: awsui.$color-text-label;
|
|
44
|
-
margin-
|
|
44
|
+
margin-block-end: awsui.$space-key-value-gap;
|
|
45
45
|
}
|
|
46
46
|
&.value-large-variant {
|
|
47
47
|
@include styles.font-display-l;
|
|
@@ -90,10 +90,10 @@
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
.t-left {
|
|
93
|
-
text-align:
|
|
93
|
+
text-align: start;
|
|
94
94
|
}
|
|
95
95
|
.t-right {
|
|
96
|
-
text-align:
|
|
96
|
+
text-align: end;
|
|
97
97
|
}
|
|
98
98
|
.t-center {
|
|
99
99
|
text-align: center;
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
display: flex;
|
|
16
16
|
|
|
17
17
|
> .icon {
|
|
18
|
-
margin: 0
|
|
18
|
+
margin-block: 0;
|
|
19
|
+
margin-inline: awsui.$space-xs;
|
|
19
20
|
color: awsui.$color-text-breadcrumb-icon;
|
|
20
21
|
}
|
|
21
22
|
|
|
@@ -40,7 +41,7 @@
|
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
43
|
.compressed {
|
|
43
|
-
min-
|
|
44
|
+
min-inline-size: 0;
|
|
44
45
|
overflow: hidden;
|
|
45
46
|
> .text {
|
|
46
47
|
overflow: hidden;
|
|
@@ -8,8 +8,10 @@
|
|
|
8
8
|
|
|
9
9
|
.breadcrumb-group {
|
|
10
10
|
@include styles.styles-reset;
|
|
11
|
-
margin: 0;
|
|
12
|
-
|
|
11
|
+
margin-block: 0;
|
|
12
|
+
margin-inline: 0;
|
|
13
|
+
padding-block: awsui.$space-xxs;
|
|
14
|
+
padding-inline: 0;
|
|
13
15
|
|
|
14
16
|
> .item {
|
|
15
17
|
@include styles.styles-reset;
|
|
@@ -19,24 +21,29 @@
|
|
|
19
21
|
> .breadcrumb-group-list {
|
|
20
22
|
display: flex;
|
|
21
23
|
align-items: center;
|
|
22
|
-
padding: 0;
|
|
23
|
-
|
|
24
|
+
padding-block: 0;
|
|
25
|
+
padding-inline: 0;
|
|
26
|
+
margin-block: 0;
|
|
27
|
+
margin-inline: 0;
|
|
24
28
|
list-style: none;
|
|
25
|
-
|
|
29
|
+
inline-size: 100%;
|
|
26
30
|
flex-wrap: wrap;
|
|
27
31
|
|
|
28
32
|
> .item,
|
|
29
33
|
> .ellipsis {
|
|
30
34
|
display: inline-block;
|
|
31
|
-
padding: 0;
|
|
32
|
-
|
|
35
|
+
padding-block: 0;
|
|
36
|
+
padding-inline: 0;
|
|
37
|
+
margin-block: 0;
|
|
38
|
+
margin-inline: 0;
|
|
33
39
|
}
|
|
34
40
|
|
|
35
41
|
> .ellipsis {
|
|
36
42
|
display: none;
|
|
37
43
|
|
|
38
44
|
> .icon {
|
|
39
|
-
margin: 0
|
|
45
|
+
margin-block: 0;
|
|
46
|
+
margin-inline: styles.$base-size;
|
|
40
47
|
color: awsui.$color-text-breadcrumb-icon;
|
|
41
48
|
}
|
|
42
49
|
}
|
|
@@ -54,7 +61,7 @@
|
|
|
54
61
|
flex-shrink: 0;
|
|
55
62
|
}
|
|
56
63
|
> .item {
|
|
57
|
-
min-
|
|
64
|
+
min-inline-size: 0;
|
|
58
65
|
&:not(:first-child):not(:last-child) {
|
|
59
66
|
display: none;
|
|
60
67
|
}
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
background: map.get($variant, 'default-background');
|
|
14
14
|
color: map.get($variant, 'default-color');
|
|
15
15
|
border-color: map.get($variant, 'default-border-color');
|
|
16
|
-
border-width: map.get($variant, 'border-width');
|
|
16
|
+
border-block-width: map.get($variant, 'border-width');
|
|
17
|
+
border-inline-width: map.get($variant, 'border-width');
|
|
17
18
|
position: relative;
|
|
18
19
|
text-decoration: none;
|
|
19
20
|
padding-block: map.get($variant, 'padding');
|