@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
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
&.fit-height {
|
|
16
16
|
display: flex;
|
|
17
17
|
flex-direction: column;
|
|
18
|
-
|
|
18
|
+
block-size: 100%;
|
|
19
19
|
&.with-side-media {
|
|
20
20
|
flex-direction: row;
|
|
21
21
|
}
|
|
@@ -28,20 +28,21 @@
|
|
|
28
28
|
// Border and shadows are applied with ::before and ::after elements (respectively)
|
|
29
29
|
@include styles.container-style;
|
|
30
30
|
}
|
|
31
|
+
|
|
31
32
|
// Meld container bottom corners into next adjoining container
|
|
32
33
|
&-stacked:not(:last-child),
|
|
33
34
|
&-stacked:not(:last-child)::before,
|
|
34
35
|
&-stacked:not(:last-child)::after {
|
|
35
|
-
border-
|
|
36
|
-
border-
|
|
37
|
-
border-
|
|
36
|
+
border-end-end-radius: 0;
|
|
37
|
+
border-end-start-radius: 0;
|
|
38
|
+
border-block-end-width: 0;
|
|
38
39
|
}
|
|
39
40
|
// Meld container top corners into preceding container
|
|
40
41
|
&-stacked + &-stacked,
|
|
41
42
|
&-stacked + &-stacked::before,
|
|
42
43
|
&-stacked + &-stacked::after {
|
|
43
|
-
border-
|
|
44
|
-
border-
|
|
44
|
+
border-start-start-radius: 0;
|
|
45
|
+
border-start-end-radius: 0;
|
|
45
46
|
}
|
|
46
47
|
// Replace container border with a divider
|
|
47
48
|
&-stacked + &-stacked:not(.refresh)::before {
|
|
@@ -52,10 +53,10 @@
|
|
|
52
53
|
// To ensure the top border/divider is visible on sticky elements which have a higher z-index
|
|
53
54
|
&.sticky-enabled:not(.refresh) {
|
|
54
55
|
&::before {
|
|
55
|
-
|
|
56
|
+
inset-block-start: calc(-1 * #{awsui.$border-container-top-width});
|
|
56
57
|
}
|
|
57
58
|
&.variant-stacked::before {
|
|
58
|
-
|
|
59
|
+
inset-block-start: calc(-1 * #{awsui.$border-divider-section-width});
|
|
59
60
|
}
|
|
60
61
|
}
|
|
61
62
|
}
|
|
@@ -73,9 +74,9 @@
|
|
|
73
74
|
.content-wrapper {
|
|
74
75
|
display: flex;
|
|
75
76
|
flex-direction: column;
|
|
76
|
-
|
|
77
|
+
inline-size: 100%;
|
|
77
78
|
&-fit-height {
|
|
78
|
-
|
|
79
|
+
block-size: 100%;
|
|
79
80
|
overflow: hidden;
|
|
80
81
|
}
|
|
81
82
|
}
|
|
@@ -88,42 +89,43 @@
|
|
|
88
89
|
img,
|
|
89
90
|
video,
|
|
90
91
|
picture {
|
|
91
|
-
|
|
92
|
-
|
|
92
|
+
inline-size: 100%;
|
|
93
|
+
block-size: 100%;
|
|
93
94
|
object-fit: cover;
|
|
94
95
|
object-position: center;
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
// stylelint-disable-next-line @cloudscape-design/no-implicit-descendant, selector-max-type
|
|
98
99
|
iframe {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
border: 0;
|
|
100
|
+
inline-size: 100%;
|
|
101
|
+
block-size: 100%;
|
|
102
|
+
border-block: 0;
|
|
103
|
+
border-inline: 0;
|
|
102
104
|
}
|
|
103
105
|
|
|
104
106
|
// reduce border-radius size to fill the visual gap between the parent border and image
|
|
105
107
|
&-top {
|
|
106
|
-
max-
|
|
107
|
-
border-
|
|
108
|
-
border-
|
|
108
|
+
max-block-size: 66%;
|
|
109
|
+
border-start-start-radius: calc(awsui.$border-radius-container - 1px);
|
|
110
|
+
border-start-end-radius: calc(awsui.$border-radius-container - 1px);
|
|
109
111
|
}
|
|
110
112
|
|
|
111
113
|
&-side {
|
|
112
|
-
max-
|
|
113
|
-
border-
|
|
114
|
-
border-
|
|
114
|
+
max-inline-size: 66%;
|
|
115
|
+
border-start-start-radius: calc(awsui.$border-radius-container - 1px);
|
|
116
|
+
border-end-start-radius: calc(awsui.$border-radius-container - 1px);
|
|
115
117
|
}
|
|
116
118
|
}
|
|
117
119
|
|
|
118
120
|
.header {
|
|
119
121
|
background-color: awsui.$color-background-container-header;
|
|
120
|
-
border-
|
|
121
|
-
border-
|
|
122
|
+
border-start-start-radius: awsui.$border-radius-container;
|
|
123
|
+
border-start-end-radius: awsui.$border-radius-container;
|
|
122
124
|
|
|
123
125
|
&.header-with-media {
|
|
124
126
|
background: none;
|
|
125
127
|
&:not(:empty) {
|
|
126
|
-
border-
|
|
128
|
+
border-block-end: none;
|
|
127
129
|
}
|
|
128
130
|
}
|
|
129
131
|
|
|
@@ -135,16 +137,21 @@
|
|
|
135
137
|
}
|
|
136
138
|
|
|
137
139
|
&-sticky-enabled {
|
|
138
|
-
|
|
140
|
+
inset-block-start: 0;
|
|
139
141
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
140
142
|
position: sticky;
|
|
141
143
|
z-index: 800;
|
|
142
144
|
}
|
|
143
145
|
|
|
144
146
|
&-stuck {
|
|
145
|
-
border-radius: 0;
|
|
147
|
+
border-start-start-radius: 0;
|
|
148
|
+
border-start-end-radius: 0;
|
|
149
|
+
border-end-start-radius: 0;
|
|
150
|
+
border-end-end-radius: 0;
|
|
151
|
+
|
|
146
152
|
&::before {
|
|
147
|
-
border: 0;
|
|
153
|
+
border-block: 0;
|
|
154
|
+
border-inline: 0;
|
|
148
155
|
}
|
|
149
156
|
&:not(.header-variant-cards) {
|
|
150
157
|
box-shadow: awsui.$shadow-sticky-embedded;
|
|
@@ -153,23 +160,27 @@
|
|
|
153
160
|
|
|
154
161
|
&-dynamic-height.header-stuck {
|
|
155
162
|
// to prevent the block from changing its height when variant dynamically changes
|
|
156
|
-
margin-
|
|
163
|
+
margin-block-end: calc(#{awsui.$line-height-heading-xl} - #{awsui.$line-height-heading-l});
|
|
157
164
|
}
|
|
158
165
|
|
|
159
166
|
&:not(:empty) {
|
|
160
|
-
border-
|
|
167
|
+
border-block-end: awsui.$border-container-sticky-width solid awsui.$color-border-container-divider;
|
|
161
168
|
}
|
|
162
169
|
|
|
163
170
|
&.with-paddings {
|
|
164
|
-
padding:
|
|
171
|
+
padding-block-start: awsui.$space-container-header-top;
|
|
172
|
+
padding-block-end: awsui.$space-container-header-bottom;
|
|
173
|
+
padding-inline: awsui.$space-container-horizontal;
|
|
174
|
+
|
|
165
175
|
&.header-variant-cards {
|
|
166
|
-
padding: awsui.$space-container-header-top
|
|
176
|
+
padding-block: awsui.$space-container-header-top;
|
|
177
|
+
padding-inline: awsui.$space-container-horizontal;
|
|
167
178
|
}
|
|
168
179
|
}
|
|
169
180
|
|
|
170
181
|
&.with-hidden-content {
|
|
171
|
-
border-
|
|
172
|
-
border-
|
|
182
|
+
border-end-start-radius: awsui.$border-radius-container;
|
|
183
|
+
border-end-end-radius: awsui.$border-radius-container;
|
|
173
184
|
}
|
|
174
185
|
|
|
175
186
|
&-variant-cards {
|
|
@@ -178,11 +189,13 @@
|
|
|
178
189
|
&:not(.header-sticky-enabled) {
|
|
179
190
|
position: relative;
|
|
180
191
|
}
|
|
192
|
+
|
|
181
193
|
&.header-stuck::after,
|
|
182
194
|
&.header-stuck::before {
|
|
183
|
-
border: 0;
|
|
184
|
-
border-
|
|
185
|
-
border-
|
|
195
|
+
border-block: 0;
|
|
196
|
+
border-inline: 0;
|
|
197
|
+
border-start-start-radius: 0;
|
|
198
|
+
border-start-end-radius: 0;
|
|
186
199
|
}
|
|
187
200
|
}
|
|
188
201
|
|
|
@@ -194,21 +207,18 @@
|
|
|
194
207
|
|
|
195
208
|
position: absolute;
|
|
196
209
|
pointer-events: none;
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
border-
|
|
210
|
+
inset-inline-end: 0;
|
|
211
|
+
inset-inline-start: 0;
|
|
212
|
+
inset-block-end: 0;
|
|
213
|
+
inset-block-start: 0;
|
|
214
|
+
border-block-end: solid awsui.$border-divider-section-width awsui.$color-border-divider-default;
|
|
202
215
|
}
|
|
203
216
|
|
|
204
217
|
&::after {
|
|
205
218
|
content: '';
|
|
206
219
|
|
|
207
220
|
position: absolute;
|
|
208
|
-
|
|
209
|
-
left: 0;
|
|
210
|
-
bottom: 0;
|
|
211
|
-
top: 0;
|
|
221
|
+
inset: 0;
|
|
212
222
|
|
|
213
223
|
box-shadow: awsui.$shadow-sticky;
|
|
214
224
|
// This polygon only shows the part of the shadow that is lower than the element itself.
|
|
@@ -218,7 +228,7 @@
|
|
|
218
228
|
&:not(.remove-high-contrast-header) {
|
|
219
229
|
&::before {
|
|
220
230
|
content: '';
|
|
221
|
-
border-
|
|
231
|
+
border-block-end: none;
|
|
222
232
|
}
|
|
223
233
|
}
|
|
224
234
|
}
|
|
@@ -239,12 +249,13 @@ the default white background of the container component.
|
|
|
239
249
|
overflow: auto;
|
|
240
250
|
}
|
|
241
251
|
&.with-paddings {
|
|
242
|
-
padding: awsui.$space-scaled-l
|
|
252
|
+
padding-block: awsui.$space-scaled-l;
|
|
253
|
+
padding-inline: awsui.$space-container-horizontal;
|
|
243
254
|
|
|
244
255
|
.header + & {
|
|
245
|
-
padding-
|
|
256
|
+
padding-block-start: awsui.$space-container-content-top;
|
|
246
257
|
&.content-with-media {
|
|
247
|
-
padding-
|
|
258
|
+
padding-block-start: 0;
|
|
248
259
|
}
|
|
249
260
|
}
|
|
250
261
|
}
|
|
@@ -252,7 +263,8 @@ the default white background of the container component.
|
|
|
252
263
|
|
|
253
264
|
.footer {
|
|
254
265
|
&.with-paddings {
|
|
255
|
-
padding:
|
|
266
|
+
padding-block: awsui.$space-scaled-s;
|
|
267
|
+
padding-inline: awsui.$space-container-horizontal;
|
|
256
268
|
}
|
|
257
269
|
|
|
258
270
|
&.with-divider {
|
|
@@ -20,7 +20,7 @@ nodes will directly touch with no gap between them.
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
> .header {
|
|
23
|
-
padding-
|
|
23
|
+
padding-block-end: awsui.$space-content-header-padding-bottom;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -28,7 +28,7 @@ nodes will directly touch with no gap between them.
|
|
|
28
28
|
display: grid;
|
|
29
29
|
grid-template-columns: minmax(0, 1fr);
|
|
30
30
|
grid-template-rows: auto #{awsui.$space-dark-header-overlap-distance} 1fr;
|
|
31
|
-
min-
|
|
31
|
+
min-block-size: 100%;
|
|
32
32
|
|
|
33
33
|
> .background {
|
|
34
34
|
background-color: awsui.$color-background-layout-main;
|
|
@@ -44,7 +44,7 @@ nodes will directly touch with no gap between them.
|
|
|
44
44
|
> .header {
|
|
45
45
|
grid-column: 1;
|
|
46
46
|
grid-row: 1;
|
|
47
|
-
padding-
|
|
47
|
+
padding-block-end: awsui.$space-content-header-padding-bottom;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
> .content {
|
|
@@ -60,7 +60,7 @@ nodes will directly touch with no gap between them.
|
|
|
60
60
|
1fr;
|
|
61
61
|
|
|
62
62
|
> .content {
|
|
63
|
-
padding-
|
|
63
|
+
padding-block-start: var(#{custom-props.$containerFirstGap}, 0px);
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
.date-picker-container {
|
|
31
31
|
position: relative;
|
|
32
|
-
max-
|
|
32
|
+
max-inline-size: 234px;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.date-picker-trigger {
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.date-picker-input {
|
|
40
|
-
padding-
|
|
41
|
-
|
|
40
|
+
padding-inline-end: awsui.$space-xs;
|
|
41
|
+
inline-size: 100%;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.open-calendar-button {
|
|
@@ -31,17 +31,19 @@
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.grid {
|
|
34
|
-
|
|
34
|
+
inline-size: awsui.$size-calendar-grid-width;
|
|
35
35
|
border-spacing: 0;
|
|
36
36
|
}
|
|
37
37
|
.grid-cell {
|
|
38
|
-
|
|
38
|
+
inline-size: calc(100% / 7);
|
|
39
39
|
word-break: break-word;
|
|
40
40
|
text-align: center;
|
|
41
41
|
font-weight: unset;
|
|
42
42
|
}
|
|
43
43
|
.day-header {
|
|
44
|
-
padding: awsui.$space-s
|
|
44
|
+
padding-block-start: awsui.$space-s;
|
|
45
|
+
padding-block-end: awsui.$space-xxs;
|
|
46
|
+
padding-inline: 0;
|
|
45
47
|
color: calendar.$grid-day-name-color;
|
|
46
48
|
@include styles.font-body-s;
|
|
47
49
|
}
|
|
@@ -51,9 +53,10 @@
|
|
|
51
53
|
}
|
|
52
54
|
|
|
53
55
|
.day {
|
|
54
|
-
border-
|
|
55
|
-
border-
|
|
56
|
-
padding: awsui.$space-xxs
|
|
56
|
+
border-block-end: calendar.$grid-border;
|
|
57
|
+
border-inline-end: calendar.$grid-border;
|
|
58
|
+
padding-block: awsui.$space-xxs;
|
|
59
|
+
padding-inline: 0;
|
|
57
60
|
color: calendar.$grid-disabled-day-color;
|
|
58
61
|
position: relative;
|
|
59
62
|
|
|
@@ -65,10 +68,10 @@
|
|
|
65
68
|
content: '';
|
|
66
69
|
position: absolute;
|
|
67
70
|
z-index: 1;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
71
|
+
inset-block-start: calc(-1 * #{awsui.$border-item-width});
|
|
72
|
+
inset-block-end: -1px;
|
|
73
|
+
inset-inline-start: -1px;
|
|
74
|
+
inset-inline-end: calc(-1 * #{awsui.$border-item-width});
|
|
72
75
|
background-color: transparent;
|
|
73
76
|
}
|
|
74
77
|
|
|
@@ -87,11 +90,11 @@
|
|
|
87
90
|
}
|
|
88
91
|
|
|
89
92
|
.in-first-row:not(.in-previous-month) {
|
|
90
|
-
border-
|
|
93
|
+
border-block-start: calendar.$grid-border;
|
|
91
94
|
}
|
|
92
95
|
|
|
93
96
|
.in-previous-month:not(.last-day-of-month) {
|
|
94
|
-
border-
|
|
97
|
+
border-inline-end-color: transparent;
|
|
95
98
|
}
|
|
96
99
|
|
|
97
100
|
.in-next-month {
|
|
@@ -99,10 +102,10 @@
|
|
|
99
102
|
}
|
|
100
103
|
|
|
101
104
|
.in-first-column {
|
|
102
|
-
border-
|
|
105
|
+
border-inline-start: 1px solid transparent;
|
|
103
106
|
|
|
104
107
|
&.in-current-month {
|
|
105
|
-
border-
|
|
108
|
+
border-inline-start: calendar.$grid-border;
|
|
106
109
|
}
|
|
107
110
|
}
|
|
108
111
|
|
|
@@ -116,7 +119,10 @@
|
|
|
116
119
|
&.no-range {
|
|
117
120
|
&,
|
|
118
121
|
&::after {
|
|
119
|
-
border-radius: awsui.$border-radius-item;
|
|
122
|
+
border-start-start-radius: awsui.$border-radius-item;
|
|
123
|
+
border-start-end-radius: awsui.$border-radius-item;
|
|
124
|
+
border-end-start-radius: awsui.$border-radius-item;
|
|
125
|
+
border-end-end-radius: awsui.$border-radius-item;
|
|
120
126
|
}
|
|
121
127
|
}
|
|
122
128
|
&:hover {
|
|
@@ -124,7 +130,8 @@
|
|
|
124
130
|
background-color: calendar.$grid-hover-background-color;
|
|
125
131
|
&:not(.selected) {
|
|
126
132
|
&::after {
|
|
127
|
-
border: awsui.$border-item-width solid calendar.$grid-hover-border-color;
|
|
133
|
+
border-block: awsui.$border-item-width solid calendar.$grid-hover-border-color;
|
|
134
|
+
border-inline: awsui.$border-item-width solid calendar.$grid-hover-border-color;
|
|
128
135
|
}
|
|
129
136
|
}
|
|
130
137
|
}
|
|
@@ -133,7 +140,10 @@
|
|
|
133
140
|
|
|
134
141
|
.today:not(.in-range) {
|
|
135
142
|
background-color: calendar.$grid-today-background-color;
|
|
136
|
-
border-radius: awsui.$border-radius-item;
|
|
143
|
+
border-start-start-radius: awsui.$border-radius-item;
|
|
144
|
+
border-start-end-radius: awsui.$border-radius-item;
|
|
145
|
+
border-end-start-radius: awsui.$border-radius-item;
|
|
146
|
+
border-end-end-radius: awsui.$border-radius-item;
|
|
137
147
|
font-weight: styles.$font-weight-bold;
|
|
138
148
|
}
|
|
139
149
|
|
|
@@ -155,7 +165,8 @@
|
|
|
155
165
|
|
|
156
166
|
&::after {
|
|
157
167
|
background-color: calendar.$grid-selected-background-color;
|
|
158
|
-
border: awsui.$border-item-width solid calendar.$grid-selected-border-color;
|
|
168
|
+
border-block: awsui.$border-item-width solid calendar.$grid-selected-border-color;
|
|
169
|
+
border-inline: awsui.$border-item-width solid calendar.$grid-selected-border-color;
|
|
159
170
|
z-index: 0;
|
|
160
171
|
}
|
|
161
172
|
|
|
@@ -9,26 +9,26 @@
|
|
|
9
9
|
|
|
10
10
|
.custom-range {
|
|
11
11
|
// This padding aligns the custom range selection with the radio labels
|
|
12
|
-
padding-
|
|
12
|
+
padding-inline-start: calc(#{1.4 * styles.$base-size} + #{awsui.$space-xs});
|
|
13
13
|
|
|
14
14
|
display: flex;
|
|
15
|
-
|
|
15
|
+
inline-size: 80%;
|
|
16
16
|
}
|
|
17
17
|
.custom-range--no-padding {
|
|
18
|
-
padding-
|
|
18
|
+
padding-inline-start: 0;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.custom-range-form-controls {
|
|
22
22
|
display: flex;
|
|
23
|
-
|
|
23
|
+
inline-size: 100%;
|
|
24
24
|
|
|
25
25
|
> .custom-range-duration,
|
|
26
26
|
> .custom-range-unit {
|
|
27
|
-
|
|
27
|
+
inline-size: 50%;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
> .custom-range-duration {
|
|
31
|
-
margin-
|
|
31
|
+
margin-inline-end: awsui.$space-xs;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
&.vertical {
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
|
|
37
37
|
> .custom-range-duration,
|
|
38
38
|
> .custom-range-unit {
|
|
39
|
-
|
|
39
|
+
inline-size: 100%;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
> .custom-range-unit {
|
|
43
|
-
margin-
|
|
43
|
+
margin-block-start: awsui.$space-s;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -14,7 +14,7 @@ $calendar-header-color: awsui.$color-text-body-default;
|
|
|
14
14
|
|
|
15
15
|
.root {
|
|
16
16
|
@include styles.styles-reset;
|
|
17
|
-
max-
|
|
17
|
+
max-inline-size: 32em;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.focus-lock {
|
|
@@ -22,7 +22,7 @@ $calendar-header-color: awsui.$color-text-body-default;
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.trigger-wrapper {
|
|
25
|
-
min-
|
|
25
|
+
min-inline-size: calc(#{$calendar-grid-width} + 2 * #{awsui.$space-l});
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.trigger-flexbox {
|
|
@@ -30,10 +30,10 @@ $calendar-header-color: awsui.$color-text-body-default;
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.calendar-container {
|
|
33
|
-
|
|
33
|
+
inline-size: calc(2 * #{$calendar-grid-width} + #{awsui.$space-xs});
|
|
34
34
|
|
|
35
35
|
&.one-grid {
|
|
36
|
-
|
|
36
|
+
inline-size: $calendar-grid-width;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -47,12 +47,10 @@ $calendar-header-color: awsui.$color-text-body-default;
|
|
|
47
47
|
|
|
48
48
|
&-header-months-wrapper {
|
|
49
49
|
position: absolute;
|
|
50
|
-
|
|
51
|
-
left: 0;
|
|
52
|
-
top: 0;
|
|
53
|
-
bottom: 0;
|
|
50
|
+
inset: 0;
|
|
54
51
|
|
|
55
|
-
margin: 0;
|
|
52
|
+
margin-block: 0;
|
|
53
|
+
margin-inline: 0;
|
|
56
54
|
|
|
57
55
|
display: flex;
|
|
58
56
|
justify-content: space-around;
|
|
@@ -92,7 +90,7 @@ $calendar-header-color: awsui.$color-text-body-default;
|
|
|
92
90
|
gap: awsui.$space-xs;
|
|
93
91
|
}
|
|
94
92
|
.date-and-time-wrapper {
|
|
95
|
-
|
|
93
|
+
inline-size: $calendar-grid-width;
|
|
96
94
|
display: grid;
|
|
97
95
|
gap: awsui.$space-xs;
|
|
98
96
|
grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
|
|
@@ -102,29 +100,33 @@ $calendar-header-color: awsui.$color-text-body-default;
|
|
|
102
100
|
display: flex;
|
|
103
101
|
flex-wrap: wrap;
|
|
104
102
|
justify-content: flex-end;
|
|
105
|
-
border-
|
|
106
|
-
padding: 0
|
|
103
|
+
border-block-start: 1px solid #{awsui.$color-border-dropdown-item-default};
|
|
104
|
+
padding-block-start: 0;
|
|
105
|
+
padding-block-end: awsui.$space-s;
|
|
106
|
+
padding-inline: awsui.$space-l;
|
|
107
107
|
|
|
108
108
|
&.has-clear-button {
|
|
109
109
|
justify-content: space-between;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
&.one-grid {
|
|
113
|
-
padding: 0
|
|
113
|
+
padding-block-start: 0;
|
|
114
|
+
padding-block-end: awsui.$space-s;
|
|
115
|
+
padding-inline: awsui.$space-xs;
|
|
114
116
|
}
|
|
115
117
|
}
|
|
116
118
|
|
|
117
119
|
.footer-button-wrapper {
|
|
118
|
-
padding-
|
|
120
|
+
padding-block-start: awsui.$space-s;
|
|
119
121
|
|
|
120
122
|
&:last-child {
|
|
121
|
-
margin-
|
|
123
|
+
margin-inline-start: auto;
|
|
122
124
|
}
|
|
123
125
|
}
|
|
124
126
|
|
|
125
127
|
.icon-wrapper {
|
|
126
128
|
color: awsui.$color-text-interactive-default;
|
|
127
|
-
margin-
|
|
129
|
+
margin-inline-end: awsui.$space-xs;
|
|
128
130
|
}
|
|
129
131
|
|
|
130
132
|
.label {
|
|
@@ -154,9 +156,12 @@ $calendar-header-color: awsui.$color-text-body-default;
|
|
|
154
156
|
// widths.
|
|
155
157
|
overflow: auto;
|
|
156
158
|
|
|
157
|
-
border-
|
|
158
|
-
border-
|
|
159
|
-
border-radius: awsui.$border-radius-dropdown;
|
|
159
|
+
border-block-start: 1px solid #{awsui.$color-border-container-top};
|
|
160
|
+
border-block-end: 1px solid #{awsui.$color-border-container-top};
|
|
161
|
+
border-start-start-radius: awsui.$border-radius-dropdown;
|
|
162
|
+
border-start-end-radius: awsui.$border-radius-dropdown;
|
|
163
|
+
border-end-start-radius: awsui.$border-radius-dropdown;
|
|
164
|
+
border-end-end-radius: awsui.$border-radius-dropdown;
|
|
160
165
|
|
|
161
166
|
&:focus {
|
|
162
167
|
outline: none;
|
|
@@ -169,10 +174,10 @@ $calendar-header-color: awsui.$color-text-body-default;
|
|
|
169
174
|
.dropdown-content {
|
|
170
175
|
user-select: text;
|
|
171
176
|
background-color: awsui.$color-background-container-content;
|
|
172
|
-
|
|
177
|
+
inline-size: calc(2 * #{$calendar-grid-width} + #{awsui.$space-xs} + 2 * #{awsui.$space-l});
|
|
173
178
|
|
|
174
179
|
&.one-grid {
|
|
175
|
-
|
|
180
|
+
inline-size: calc(#{$calendar-grid-width} + 2 * #{awsui.$space-l});
|
|
176
181
|
}
|
|
177
182
|
}
|
|
178
183
|
|
|
@@ -10,18 +10,23 @@
|
|
|
10
10
|
.drawer {
|
|
11
11
|
@include styles.styles-reset;
|
|
12
12
|
word-wrap: break-word;
|
|
13
|
-
padding: awsui.$space-scaled-l
|
|
13
|
+
padding-block-start: awsui.$space-scaled-l;
|
|
14
|
+
padding-block-end: awsui.$space-scaled-xxxl;
|
|
15
|
+
padding-inline-start: awsui.$space-panel-side-left;
|
|
16
|
+
padding-inline-end: awsui.$space-panel-side-right;
|
|
14
17
|
}
|
|
15
18
|
|
|
16
19
|
.header {
|
|
17
20
|
@include styles.font-panel-header;
|
|
18
21
|
color: awsui.$color-text-heading-default;
|
|
19
|
-
padding-
|
|
20
|
-
padding-
|
|
22
|
+
padding-block-end: awsui.$space-scaled-l;
|
|
23
|
+
padding-inline: awsui.$space-panel-side-left calc(#{awsui.$space-xl} + #{awsui.$space-scaled-xxl});
|
|
21
24
|
// padding to make sure the header doesn't overlap with the close icon
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
margin
|
|
25
|
+
border-block-end: awsui.$border-divider-section-width solid awsui.$color-border-divider-default;
|
|
26
|
+
margin-block-start: 0;
|
|
27
|
+
margin-block-end: awsui.$space-scaled-l;
|
|
28
|
+
margin-inline-end: calc(-1 * #{awsui.$space-panel-side-right});
|
|
29
|
+
margin-inline-start: calc(-1 * #{awsui.$space-panel-side-left});
|
|
25
30
|
|
|
26
31
|
h2,
|
|
27
32
|
h3,
|
|
@@ -29,10 +34,8 @@
|
|
|
29
34
|
h5,
|
|
30
35
|
h6 {
|
|
31
36
|
@include styles.font-panel-header;
|
|
32
|
-
padding-
|
|
33
|
-
|
|
34
|
-
margin-top: 0;
|
|
35
|
-
margin-bottom: 0;
|
|
37
|
+
padding-block: 0;
|
|
38
|
+
margin-block: 0;
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
|