@carbon/ibm-products-styles 2.55.0-rc.0 → 2.56.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/index-full-carbon.css +9105 -9158
- package/css/index-full-carbon.css.map +1 -1
- package/css/index-full-carbon.min.css +1 -1
- package/css/index-full-carbon.min.css.map +1 -1
- package/css/index-without-carbon-released-only.css +1150 -1565
- package/css/index-without-carbon-released-only.css.map +1 -1
- package/css/index-without-carbon-released-only.min.css +1 -1
- package/css/index-without-carbon-released-only.min.css.map +1 -1
- package/css/index-without-carbon.css +2837 -4774
- package/css/index-without-carbon.css.map +1 -1
- package/css/index-without-carbon.min.css +1 -1
- package/css/index-without-carbon.min.css.map +1 -1
- package/css/index.css +2250 -1875
- package/css/index.css.map +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/package.json +14 -14
- package/scss/components/APIKeyModal/_api-key-modal.scss +7 -7
- package/scss/components/APIKeyModal/_carbon-imports.scss +5 -5
- package/scss/components/AboutModal/_about-modal.scss +13 -13
- package/scss/components/AboutModal/_carbon-imports.scss +2 -2
- package/scss/components/ActionBar/_action-bar.scss +2 -2
- package/scss/components/ActionBar/_carbon-imports.scss +2 -2
- package/scss/components/ActionSet/_action-set.scss +9 -10
- package/scss/components/ActionSet/_carbon-imports.scss +2 -2
- package/scss/components/AddSelect/_add-select.scss +43 -40
- package/scss/components/AddSelect/_carbon-imports.scss +10 -10
- package/scss/components/BigNumbers/_big-numbers.scss +26 -20
- package/scss/components/BigNumbers/_carbon-imports.scss +2 -2
- package/scss/components/BreadcrumbWithOverflow/_breadcrumb-with-overflow.scss +8 -6
- package/scss/components/BreadcrumbWithOverflow/_carbon-imports.scss +3 -3
- package/scss/components/ButtonMenu/_button-menu.scss +3 -3
- package/scss/components/ButtonMenu/_carbon-imports.scss +2 -2
- package/scss/components/ButtonSetWithOverflow/_button-set-with-overflow.scss +2 -2
- package/scss/components/ButtonSetWithOverflow/_carbon-imports.scss +1 -1
- package/scss/components/Card/_carbon-imports.scss +2 -2
- package/scss/components/Card/_card.scss +23 -22
- package/scss/components/Carousel/_carousel.scss +5 -6
- package/scss/components/Cascade/_cascade.scss +2 -2
- package/scss/components/Checklist/_carbon-imports.scss +1 -1
- package/scss/components/Checklist/_checklist.scss +23 -24
- package/scss/components/Coachmark/_carbon-imports.scss +1 -1
- package/scss/components/Coachmark/_coachmark-dragbar.scss +1 -1
- package/scss/components/Coachmark/_coachmark-overlay.scss +34 -27
- package/scss/components/Coachmark/_coachmark-tagline.scss +18 -15
- package/scss/components/Coachmark/_coachmark.scss +1 -1
- package/scss/components/CoachmarkBeacon/_coachmark-beacon.scss +17 -17
- package/scss/components/CoachmarkButton/_coachmark-button.scss +1 -1
- package/scss/components/CoachmarkFixed/_coachmark-fixed.scss +1 -1
- package/scss/components/CoachmarkOverlayElement/_coachmark-overlay-element.scss +5 -5
- package/scss/components/CoachmarkOverlayElements/_coachmark-overlay-elements.scss +4 -4
- package/scss/components/CoachmarkStack/_coachmark-stack.scss +11 -11
- package/scss/components/ComboButton/_combo-button.scss +13 -9
- package/scss/components/ConditionBuilder/_condition-builder.scss +11 -12
- package/scss/components/ConditionBuilder/styles/_conditionBuilderCondition.scss +10 -10
- package/scss/components/ConditionBuilder/styles/_conditionBuilderItem.scss +26 -30
- package/scss/components/CreateFullPage/_carbon-imports.scss +6 -6
- package/scss/components/CreateFullPage/_create-full-page.scss +36 -26
- package/scss/components/CreateInfluencer/_carbon-imports.scss +1 -1
- package/scss/components/CreateInfluencer/_create-influencer.scss +5 -2
- package/scss/components/CreateModal/_carbon-imports.scss +3 -3
- package/scss/components/CreateModal/_create-modal.scss +15 -14
- package/scss/components/CreateSidePanel/_carbon-imports.scss +1 -1
- package/scss/components/CreateSidePanel/_create-side-panel.scss +5 -5
- package/scss/components/CreateTearsheet/_carbon-imports.scss +1 -1
- package/scss/components/CreateTearsheet/_create-tearsheet.scss +22 -20
- package/scss/components/CreateTearsheetNarrow/_carbon-imports.scss +1 -1
- package/scss/components/CreateTearsheetNarrow/_create-tearsheet-narrow.scss +8 -8
- package/scss/components/DataSpreadsheet/_data-spreadsheet.scss +33 -32
- package/scss/components/Datagrid/_datagrid.scss +12 -8
- package/scss/components/Datagrid/styles/_datagrid.scss +135 -120
- package/scss/components/Datagrid/styles/_draggableElement.scss +11 -11
- package/scss/components/Datagrid/styles/_useActionsColumn.scss +1 -1
- package/scss/components/Datagrid/styles/_useColumnCenterAlign.scss +2 -3
- package/scss/components/Datagrid/styles/_useColumnRightAlign.scss +7 -7
- package/scss/components/Datagrid/styles/_useExpandedRow.scss +13 -13
- package/scss/components/Datagrid/styles/_useInlineEdit.scss +62 -63
- package/scss/components/Datagrid/styles/_useNestedRows.scss +16 -16
- package/scss/components/Datagrid/styles/_useNestedTable.scss +10 -7
- package/scss/components/Datagrid/styles/_useSelectAllToggle.scss +6 -6
- package/scss/components/Datagrid/styles/_useSortableColumns.scss +6 -6
- package/scss/components/Datagrid/styles/_useStickyColumn.scss +11 -11
- package/scss/components/Datagrid/styles/addons/_CustomizeColumnsTearsheet.scss +9 -9
- package/scss/components/Datagrid/styles/addons/_FilterFlyout.scss +19 -19
- package/scss/components/Datagrid/styles/addons/_FilterPanel.scss +29 -29
- package/scss/components/Datagrid/styles/addons/_RowSizeDropdown.scss +10 -9
- package/scss/components/DecoratorBase/_decorator-base-mixins.scss +6 -8
- package/scss/components/DecoratorBase/_decorator-base.scss +11 -11
- package/scss/components/DelimitedList/_delimited-list.scss +1 -1
- package/scss/components/DescriptionList/_description-list.scss +9 -9
- package/scss/components/EditInPlace/_carbon-imports.scss +2 -2
- package/scss/components/EditInPlace/_edit-in-place.scss +8 -7
- package/scss/components/EditSidePanel/_carbon-imports.scss +1 -1
- package/scss/components/EditSidePanel/_edit-side-panel.scss +4 -4
- package/scss/components/EditTearsheet/_carbon-imports.scss +9 -0
- package/scss/components/EditTearsheet/_edit-tearsheet.scss +20 -21
- package/scss/components/EditTearsheet/_index-with-carbon.scss +9 -0
- package/scss/components/EmptyStates/_carbon-imports.scss +2 -2
- package/scss/components/EmptyStates/_empty-state.scss +12 -10
- package/scss/components/ExampleComponent/_carbon-imports.scss +1 -1
- package/scss/components/ExportModal/_carbon-imports.scss +6 -6
- package/scss/components/ExportModal/_export-modal.scss +6 -6
- package/scss/components/FilterPanel/_carbon-imports.scss +5 -5
- package/scss/components/FilterPanel/_filter-panel-accordion-item.scss +3 -3
- package/scss/components/FilterPanel/_filter-panel-checkbox-with-overflow.scss +5 -5
- package/scss/components/FilterPanel/_filter-panel-checkbox.scss +3 -3
- package/scss/components/FilterPanel/_filter-panel-group.scss +4 -6
- package/scss/components/FilterPanel/_filter-panel-label.scss +1 -1
- package/scss/components/FilterPanel/_filter-panel-search.scss +8 -6
- package/scss/components/FilterPanel/_filter-panel.scss +1 -2
- package/scss/components/FilterSummary/_filter-summary.scss +9 -9
- package/scss/components/FullPageError/_full-page-error.scss +8 -9
- package/scss/components/GetStartedCard/_get-started-card.scss +12 -14
- package/scss/components/Guidebanner/_guidebanner.scss +37 -36
- package/scss/components/HTTPErrors/_carbon-imports.scss +1 -1
- package/scss/components/HTTPErrors/_http-errors.scss +11 -11
- package/scss/components/ImportModal/_carbon-imports.scss +4 -4
- package/scss/components/ImportModal/_import-modal.scss +12 -13
- package/scss/components/InlineTip/_inline-tip.scss +26 -25
- package/scss/components/InterstitialScreen/_interstitial-screen.scss +43 -44
- package/scss/components/InterstitialScreenView/_interstitial-screen-view.scss +2 -2
- package/scss/components/InterstitialScreenViewModule/_interstitial-screen-view-module.scss +2 -2
- package/scss/components/Nav/_nav.scss +32 -37
- package/scss/components/NonLinearReading/_non-linear-reading.scss +11 -7
- package/scss/components/NotificationsPanel/_carbon-imports.scss +3 -3
- package/scss/components/NotificationsPanel/_notifications-panel.scss +50 -40
- package/scss/components/OptionsTile/_carbon-imports.scss +1 -1
- package/scss/components/OptionsTile/_options-tile.scss +23 -25
- package/scss/components/PageHeader/_carbon-imports.scss +4 -4
- package/scss/components/PageHeader/_page-header.scss +109 -105
- package/scss/components/ProductiveCard/_productive-card.scss +11 -12
- package/scss/components/RemoveModal/_carbon-imports.scss +3 -3
- package/scss/components/RemoveModal/_remove-modal.scss +4 -4
- package/scss/components/Saving/_carbon-imports.scss +2 -2
- package/scss/components/Saving/_saving.scss +2 -2
- package/scss/components/ScrollGradient/_scroll-gradient.scss +18 -18
- package/scss/components/SidePanel/_animations.scss +78 -0
- package/scss/components/SidePanel/_carbon-imports.scss +1 -1
- package/scss/components/SidePanel/_side-panel.scss +154 -65
- package/scss/components/SimpleHeader/_simple-header.scss +3 -3
- package/scss/components/StatusIcon/_status-icon.scss +1 -1
- package/scss/components/StatusIndicator/_carbon-imports.scss +2 -2
- package/scss/components/StatusIndicator/_status-indicator.scss +11 -11
- package/scss/components/StringFormatter/_carbon-imports.scss +1 -1
- package/scss/components/StringFormatter/_string-formatter.scss +6 -7
- package/scss/components/TagOverflow/_tag-overflow.scss +14 -15
- package/scss/components/TagSet/_carbon-imports.scss +5 -5
- package/scss/components/TagSet/_tag-set.scss +13 -14
- package/scss/components/Tearsheet/_carbon-imports.scss +2 -2
- package/scss/components/Tearsheet/_tearsheet.scss +55 -41
- package/scss/components/Toolbar/_carbon-imports.scss +1 -1
- package/scss/components/Toolbar/_toolbar.scss +11 -11
- package/scss/components/TooltipTrigger/_tooltip-trigger.scss +2 -2
- package/scss/components/TruncatedList/_truncated-list.scss +8 -2
- package/scss/components/UserAvatar/_carbon-imports.scss +1 -1
- package/scss/components/UserAvatar/_user-avatar.scss +6 -16
- package/scss/components/UserProfileImage/_carbon-imports.scss +1 -1
- package/scss/components/UserProfileImage/_color-map.scss +1 -1
- package/scss/components/UserProfileImage/_user-profile-image.scss +5 -4
- package/scss/components/WebTerminal/_carbon-imports.scss +2 -2
- package/scss/components/WebTerminal/_web-terminal.scss +11 -11
- package/scss/components/_index-released-only-with-carbon.scss +1 -0
- package/scss/components/_index-with-carbon.scss +1 -0
- package/scss/global/decorators/_side-panel-decorator.scss +3 -3
- package/scss/global/styles/_display-box.scss +19 -19
- package/scss/global/styles/_mixins.scss +3 -3
- package/scss/index-full-carbon.scss +1 -1
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
@use '@carbon/styles/scss/theme' as *;
|
|
15
15
|
@use '@carbon/styles/scss/spacing' as *;
|
|
16
16
|
@use '@carbon/styles/scss/breakpoint' as *;
|
|
17
|
-
@use '@carbon/
|
|
17
|
+
@use '@carbon/styles/scss/colors' as *;
|
|
18
18
|
@use '@carbon/styles/scss/type';
|
|
19
19
|
|
|
20
20
|
// InterstitialScreen uses the following Carbon for IBM Products components:
|
|
@@ -31,8 +31,8 @@ $one-grid-column: calc(100% / 16);
|
|
|
31
31
|
|
|
32
32
|
.#{$carousel} {
|
|
33
33
|
display: flex;
|
|
34
|
-
min-height: 100%;
|
|
35
34
|
flex-direction: column;
|
|
35
|
+
min-block-size: 100%;
|
|
36
36
|
|
|
37
37
|
&__elements-container {
|
|
38
38
|
display: flex;
|
|
@@ -47,9 +47,8 @@ $one-grid-column: calc(100% / 16);
|
|
|
47
47
|
|
|
48
48
|
position: fixed;
|
|
49
49
|
z-index: 6001;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
left: 0;
|
|
50
|
+
inset-block-start: 0;
|
|
51
|
+
inset-inline: 0;
|
|
53
52
|
|
|
54
53
|
#{$block}--auto-height-container {
|
|
55
54
|
flex: 1;
|
|
@@ -64,12 +63,12 @@ $one-grid-column: calc(100% / 16);
|
|
|
64
63
|
}
|
|
65
64
|
|
|
66
65
|
&--body-grid {
|
|
67
|
-
height: 100%;
|
|
68
66
|
padding: 0 !important;
|
|
67
|
+
block-size: 100%;
|
|
69
68
|
}
|
|
70
69
|
|
|
71
70
|
&--body-row {
|
|
72
|
-
|
|
71
|
+
block-size: 100%;
|
|
73
72
|
}
|
|
74
73
|
|
|
75
74
|
&--progress {
|
|
@@ -77,7 +76,7 @@ $one-grid-column: calc(100% / 16);
|
|
|
77
76
|
}
|
|
78
77
|
|
|
79
78
|
&__carousel {
|
|
80
|
-
|
|
79
|
+
block-size: 100%;
|
|
81
80
|
.#{$carousel-item} {
|
|
82
81
|
flex: 0 0 100% !important;
|
|
83
82
|
scroll-snap-align: start;
|
|
@@ -85,10 +84,10 @@ $one-grid-column: calc(100% / 16);
|
|
|
85
84
|
}
|
|
86
85
|
|
|
87
86
|
&--container {
|
|
88
|
-
min-width: 47rem;
|
|
89
|
-
max-width: 82rem;
|
|
90
87
|
margin: calc($spacing-10 * 2) auto; // stylelint-disable-line carbon/layout-use
|
|
91
88
|
background-color: $background;
|
|
89
|
+
max-inline-size: 82rem;
|
|
90
|
+
min-inline-size: 47rem;
|
|
92
91
|
}
|
|
93
92
|
|
|
94
93
|
&--media-container {
|
|
@@ -96,18 +95,18 @@ $one-grid-column: calc(100% / 16);
|
|
|
96
95
|
}
|
|
97
96
|
|
|
98
97
|
&--media {
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
block-size: 100%;
|
|
99
|
+
inline-size: 100%;
|
|
101
100
|
|
|
102
|
-
margin-
|
|
101
|
+
margin-inline-end: calc($spacing-08 * -1);
|
|
103
102
|
@include breakpoint-down(xlg) {
|
|
104
|
-
margin-
|
|
103
|
+
margin-inline-end: calc($spacing-07 * -1);
|
|
105
104
|
}
|
|
106
105
|
}
|
|
107
106
|
|
|
108
107
|
&--stepped-animated-media {
|
|
109
108
|
overflow: hidden;
|
|
110
|
-
|
|
109
|
+
block-size: 100%;
|
|
111
110
|
}
|
|
112
111
|
|
|
113
112
|
&--internal-body {
|
|
@@ -118,12 +117,12 @@ $one-grid-column: calc(100% / 16);
|
|
|
118
117
|
// HEADER
|
|
119
118
|
&--internal-header {
|
|
120
119
|
position: relative;
|
|
121
|
-
min-height: $spacing-09;
|
|
122
|
-
margin-bottom: 0 !important;
|
|
123
120
|
background-color: $background;
|
|
121
|
+
margin-block-end: 0 !important;
|
|
122
|
+
min-block-size: $spacing-09;
|
|
124
123
|
|
|
125
124
|
&:empty {
|
|
126
|
-
min-
|
|
125
|
+
min-block-size: 0;
|
|
127
126
|
}
|
|
128
127
|
|
|
129
128
|
h2 {
|
|
@@ -137,43 +136,43 @@ $one-grid-column: calc(100% / 16);
|
|
|
137
136
|
}
|
|
138
137
|
|
|
139
138
|
&--has-title {
|
|
140
|
-
border-bottom: 1px solid $border-subtle-01;
|
|
141
139
|
background: $layer-01;
|
|
140
|
+
border-block-end: 1px solid $border-subtle-01;
|
|
142
141
|
|
|
143
142
|
#{$block}--progress {
|
|
144
|
-
margin-
|
|
143
|
+
margin-block-start: 0;
|
|
145
144
|
}
|
|
146
145
|
}
|
|
147
146
|
> #{$block}--close-icon {
|
|
148
147
|
position: absolute !important;
|
|
149
148
|
z-index: 1;
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
149
|
+
inline-size: $spacing-09;
|
|
150
|
+
inset-block-start: 0;
|
|
151
|
+
inset-inline-end: 0;
|
|
153
152
|
}
|
|
154
153
|
}
|
|
155
154
|
|
|
156
155
|
// FOOTER
|
|
157
156
|
&--footer {
|
|
158
157
|
display: flex;
|
|
159
|
-
width: 100%;
|
|
160
158
|
flex-direction: row;
|
|
161
159
|
justify-content: flex-end;
|
|
162
|
-
border-top: 1px solid $border-subtle-01;
|
|
163
160
|
background: $background;
|
|
161
|
+
border-block-start: 1px solid $border-subtle-01;
|
|
162
|
+
inline-size: 100%;
|
|
164
163
|
|
|
165
164
|
#{$block}--prev-btn,
|
|
166
165
|
#{$block}--next-btn,
|
|
167
166
|
#{$block}--start-btn {
|
|
168
|
-
|
|
169
|
-
min-
|
|
167
|
+
inline-size: calc($one-grid-column * 3);
|
|
168
|
+
min-inline-size: 12.5rem;
|
|
170
169
|
padding-block-end: $spacing-07;
|
|
171
170
|
}
|
|
172
171
|
|
|
173
172
|
#{$block}--skip-btn {
|
|
174
|
-
max-width: none;
|
|
175
173
|
flex-grow: 1 !important;
|
|
176
|
-
|
|
174
|
+
max-inline-size: none;
|
|
175
|
+
padding-inline-start: $spacing-07 !important;
|
|
177
176
|
}
|
|
178
177
|
}
|
|
179
178
|
|
|
@@ -181,23 +180,23 @@ $one-grid-column: calc(100% / 16);
|
|
|
181
180
|
display: flex;
|
|
182
181
|
flex-direction: row;
|
|
183
182
|
// flex: 1;
|
|
184
|
-
margin-
|
|
183
|
+
margin-inline-start: auto;
|
|
185
184
|
}
|
|
186
185
|
|
|
187
186
|
// MODAL (settings exclusive of "FULL SCREEN")
|
|
188
187
|
&--modal {
|
|
189
188
|
#{$block}--content {
|
|
190
|
-
margin-
|
|
189
|
+
margin-block-start: 0;
|
|
191
190
|
}
|
|
192
191
|
|
|
193
192
|
#{$block}--internal-header {
|
|
194
193
|
&:has(> :nth-child(2)) {
|
|
195
|
-
min-
|
|
194
|
+
min-block-size: initial;
|
|
196
195
|
}
|
|
197
196
|
}
|
|
198
197
|
|
|
199
198
|
&:has(> :nth-child(1)) {
|
|
200
|
-
min-
|
|
199
|
+
min-block-size: initial;
|
|
201
200
|
}
|
|
202
201
|
}
|
|
203
202
|
|
|
@@ -205,29 +204,29 @@ $one-grid-column: calc(100% / 16);
|
|
|
205
204
|
&--full-screen {
|
|
206
205
|
#{$block}--container {
|
|
207
206
|
display: flex;
|
|
208
|
-
max-width: 100vw;
|
|
209
|
-
height: 100vh;
|
|
210
207
|
flex-direction: column;
|
|
211
208
|
padding: 0;
|
|
212
209
|
margin: 0;
|
|
210
|
+
block-size: 100vh;
|
|
211
|
+
max-inline-size: 100vw;
|
|
213
212
|
}
|
|
214
213
|
|
|
215
214
|
// e.g. "IBM Cloud Pak | Product"
|
|
216
215
|
// ..."IBM Cloud Pak"
|
|
217
216
|
#{$block}--header {
|
|
218
217
|
@include type.type-style('body-long-01');
|
|
219
|
-
|
|
220
|
-
height: $spacing-09;
|
|
221
|
-
padding-left: $spacing-05;
|
|
222
|
-
border-bottom: 1px solid $border-subtle-01;
|
|
223
218
|
/* stylelint-disable-next-line carbon/theme-use */
|
|
224
219
|
background-color: $gray-100;
|
|
220
|
+
|
|
221
|
+
block-size: $spacing-09;
|
|
222
|
+
border-block-end: 1px solid $border-subtle-01;
|
|
225
223
|
/* stylelint-disable-next-line carbon/theme-use */
|
|
226
224
|
color: $gray-10;
|
|
227
225
|
/* stylelint-disable-next-line carbon/type-use */
|
|
228
226
|
font-weight: normal !important; // overrides type style above
|
|
229
227
|
/* stylelint-disable-next-line carbon/type-use */
|
|
230
228
|
line-height: $spacing-09 !important;
|
|
229
|
+
padding-inline-start: $spacing-05;
|
|
231
230
|
|
|
232
231
|
b {
|
|
233
232
|
/* stylelint-disable-next-line carbon/type-use */
|
|
@@ -244,26 +243,26 @@ $one-grid-column: calc(100% / 16);
|
|
|
244
243
|
margin: $spacing-10 $spacing-08 $spacing-04;
|
|
245
244
|
|
|
246
245
|
@include breakpoint-down(xlg) {
|
|
247
|
-
margin-
|
|
246
|
+
margin-inline-start: $spacing-07;
|
|
248
247
|
}
|
|
249
248
|
}
|
|
250
249
|
|
|
251
250
|
&--has-title {
|
|
252
251
|
#{$block}--progress {
|
|
253
|
-
margin-
|
|
252
|
+
margin-block-start: $spacing-06;
|
|
254
253
|
}
|
|
255
254
|
}
|
|
256
255
|
|
|
257
256
|
&:has(> :nth-child(1)) {
|
|
258
|
-
min-
|
|
257
|
+
min-block-size: initial;
|
|
259
258
|
}
|
|
260
259
|
}
|
|
261
260
|
|
|
262
261
|
#{$block}--footer {
|
|
263
262
|
#{$block}--skip-btn {
|
|
264
|
-
padding-
|
|
263
|
+
padding-inline-start: $spacing-08 !important;
|
|
265
264
|
@include breakpoint-down(xlg) {
|
|
266
|
-
padding-
|
|
265
|
+
padding-inline-start: $spacing-07 !important;
|
|
267
266
|
}
|
|
268
267
|
}
|
|
269
268
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
// Other Carbon settings if needed
|
|
13
13
|
// TODO: @use '@carbon/styles/scss/grid';
|
|
14
14
|
// or
|
|
15
|
-
// TODO: @use '@carbon/
|
|
15
|
+
// TODO: @use '@carbon/styles/scss/grid';
|
|
16
16
|
|
|
17
17
|
// InterstitialScreenView uses the following Carbon for IBM Products components:
|
|
18
18
|
// TODO: @use(s) of IBM Products component styles used by InterstitialScreenView
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
$block-class: #{c4p-settings.$pkg-prefix}--interstitial-screen-view;
|
|
22
22
|
|
|
23
23
|
.#{$block-class} {
|
|
24
|
-
|
|
24
|
+
block-size: 100%;
|
|
25
25
|
}
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
// Other Carbon settings if needed
|
|
18
18
|
// TODO: @use '@carbon/styles/scss/grid';
|
|
19
19
|
// or
|
|
20
|
-
// TODO: @use '@carbon/
|
|
20
|
+
// TODO: @use '@carbon/styles/scss/grid';
|
|
21
21
|
|
|
22
22
|
// InterstitialScreenViewModule uses the following Carbon for IBM Products components:
|
|
23
23
|
// TODO: @use(s) of IBM Products component styles used by InterstitialScreenViewModule
|
|
@@ -33,7 +33,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--interstitial-screen-view-module;
|
|
|
33
33
|
&--heading {
|
|
34
34
|
@include type.type-style('heading-05');
|
|
35
35
|
|
|
36
|
-
margin-
|
|
36
|
+
margin-block-end: $spacing-07;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
&--body {
|
|
@@ -41,31 +41,30 @@ $nav__icon__position: translate3d(-50%, 0, 0);
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.#{$block-class}:not(:first-of-type) {
|
|
44
|
-
padding-
|
|
44
|
+
padding-block-start: $spacing-05;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.#{$block-class}:not(:last-of-type) {
|
|
48
|
-
padding-
|
|
48
|
+
padding-block-end: $spacing-05;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.#{$block-class}:last-of-type {
|
|
52
|
-
padding-
|
|
52
|
+
padding-block-end: $spacing-07;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.#{$block-class} + .#{$block-class} > .#{$nav__heading} {
|
|
56
|
-
padding-
|
|
56
|
+
padding-block-start: $spacing-02;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.#{$block-class}::before {
|
|
60
60
|
position: absolute;
|
|
61
|
-
right: $spacing-07;
|
|
62
|
-
bottom: 0;
|
|
63
|
-
left: $spacing-07;
|
|
64
61
|
display: inline-block;
|
|
65
|
-
width: auto;
|
|
66
62
|
/* stylelint-disable-next-line -- to-rem carbon replacement for rem */
|
|
67
|
-
border-
|
|
63
|
+
border-block-end: to-rem(1px) solid $layer-02;
|
|
68
64
|
content: '';
|
|
65
|
+
inline-size: auto;
|
|
66
|
+
inset-block-end: 0;
|
|
67
|
+
inset-inline: $spacing-07;
|
|
69
68
|
}
|
|
70
69
|
|
|
71
70
|
.#{$block-class}:last-of-type::before {
|
|
@@ -73,13 +72,12 @@ $nav__icon__position: translate3d(-50%, 0, 0);
|
|
|
73
72
|
}
|
|
74
73
|
|
|
75
74
|
.#{$block-class}__wrapper {
|
|
76
|
-
padding-left: initial;
|
|
77
|
-
margin-top: initial;
|
|
78
|
-
margin-bottom: initial;
|
|
79
75
|
list-style: none;
|
|
76
|
+
margin-block: initial;
|
|
77
|
+
padding-inline-start: initial;
|
|
80
78
|
|
|
81
79
|
@include rtl {
|
|
82
|
-
padding-
|
|
80
|
+
padding-inline-end: initial;
|
|
83
81
|
}
|
|
84
82
|
}
|
|
85
83
|
|
|
@@ -87,9 +85,8 @@ $nav__icon__position: translate3d(-50%, 0, 0);
|
|
|
87
85
|
@include type.type-style('caption-01');
|
|
88
86
|
|
|
89
87
|
padding: $spacing-04 $spacing-08;
|
|
90
|
-
margin-top: initial;
|
|
91
|
-
margin-bottom: initial;
|
|
92
88
|
color: $text-secondary;
|
|
89
|
+
margin-block: initial;
|
|
93
90
|
}
|
|
94
91
|
|
|
95
92
|
// Navigation lists.
|
|
@@ -98,8 +95,8 @@ $nav__icon__position: translate3d(-50%, 0, 0);
|
|
|
98
95
|
|
|
99
96
|
display: flex;
|
|
100
97
|
flex-direction: column;
|
|
101
|
-
margin-bottom: $spacing-01;
|
|
102
98
|
list-style: none;
|
|
99
|
+
margin-block-end: $spacing-01;
|
|
103
100
|
}
|
|
104
101
|
|
|
105
102
|
.#{$nav-list-block-class}:focus {
|
|
@@ -112,33 +109,32 @@ $nav__icon__position: translate3d(-50%, 0, 0);
|
|
|
112
109
|
}
|
|
113
110
|
|
|
114
111
|
.#{$nav-list-block-class}__icon {
|
|
115
|
-
margin-
|
|
116
|
-
margin-
|
|
112
|
+
margin-block-start: $spacing-01;
|
|
113
|
+
margin-inline-start: auto;
|
|
117
114
|
transform: $nav__icon__position rotate(0deg);
|
|
118
115
|
transition-duration: $duration-moderate-02;
|
|
119
116
|
transition-property: transform;
|
|
120
117
|
transition-timing-function: $standard-easing;
|
|
121
118
|
@include rtl {
|
|
122
|
-
|
|
119
|
+
inset-inline-end: $spacing-02;
|
|
123
120
|
transform: $nav__icon__position rotate(180deg);
|
|
124
121
|
}
|
|
125
122
|
}
|
|
126
123
|
|
|
127
124
|
.#{$nav-list-block-class}--nested {
|
|
128
125
|
overflow: hidden;
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
margin-bottom: 0;
|
|
126
|
+
margin-block-end: 0;
|
|
127
|
+
max-block-size: 0;
|
|
132
128
|
opacity: 0;
|
|
129
|
+
padding-inline-start: 0;
|
|
133
130
|
transition-duration: $duration-moderate-02;
|
|
134
131
|
$transition-property: (max-height, opacity);
|
|
135
132
|
@include rtl {
|
|
136
|
-
padding-
|
|
137
|
-
padding-left: initial;
|
|
133
|
+
padding-inline: initial 0;
|
|
138
134
|
}
|
|
139
135
|
|
|
140
136
|
> .#{$nav-item-block-class}:last-of-type {
|
|
141
|
-
margin-
|
|
137
|
+
margin-block-end: $spacing-03;
|
|
142
138
|
}
|
|
143
139
|
}
|
|
144
140
|
|
|
@@ -147,7 +143,7 @@ $nav__icon__position: translate3d(-50%, 0, 0);
|
|
|
147
143
|
@include type.type-style('body-short-01');
|
|
148
144
|
|
|
149
145
|
position: relative;
|
|
150
|
-
margin-
|
|
146
|
+
margin-block-end: $spacing-01;
|
|
151
147
|
}
|
|
152
148
|
|
|
153
149
|
// Content including text and sometimes a product icon.
|
|
@@ -157,14 +153,14 @@ $nav__icon__position: translate3d(-50%, 0, 0);
|
|
|
157
153
|
|
|
158
154
|
.#{$nav-item-block-class}::before {
|
|
159
155
|
position: absolute;
|
|
160
|
-
top: 0;
|
|
161
|
-
left: 0;
|
|
162
156
|
display: inline-block;
|
|
163
|
-
/* stylelint-disable-next-line -- to-rem carbon replacement for rem */
|
|
164
|
-
width: to-rem(4px);
|
|
165
|
-
height: 100%;
|
|
166
157
|
background-color: transparent;
|
|
158
|
+
block-size: 100%;
|
|
167
159
|
content: '';
|
|
160
|
+
/* stylelint-disable-next-line -- to-rem carbon replacement for rem */
|
|
161
|
+
inline-size: to-rem(4px);
|
|
162
|
+
inset-block-start: 0;
|
|
163
|
+
inset-inline-start: 0;
|
|
168
164
|
transform: translate3d(-100%, 0, 0);
|
|
169
165
|
transition-property: transform;
|
|
170
166
|
}
|
|
@@ -195,11 +191,11 @@ $nav__icon__position: translate3d(-50%, 0, 0);
|
|
|
195
191
|
|
|
196
192
|
// Expanded navigation list.
|
|
197
193
|
.#{$nav-item-block-class}--expanded {
|
|
198
|
-
margin-
|
|
194
|
+
margin-block-end: $spacing-03;
|
|
199
195
|
|
|
200
196
|
> .#{$nav-list-block-class}--nested {
|
|
201
197
|
/* stylelint-disable-next-line -- to-rem carbon replacement for rem */
|
|
202
|
-
max-
|
|
198
|
+
max-block-size: to-rem(320px);
|
|
203
199
|
opacity: 1;
|
|
204
200
|
transition-timing-function: $ease-in;
|
|
205
201
|
}
|
|
@@ -235,9 +231,8 @@ $nav__icon__position: translate3d(-50%, 0, 0);
|
|
|
235
231
|
|
|
236
232
|
.#{$nav-item-block-class}__img {
|
|
237
233
|
/* stylelint-disable-next-line -- to-rem carbon replacement for rem */
|
|
238
|
-
|
|
239
|
-
margin-
|
|
240
|
-
margin-left: -$spacing-07;
|
|
234
|
+
block-size: to-rem(20px);
|
|
235
|
+
margin-inline: -$spacing-07 $spacing-04;
|
|
241
236
|
}
|
|
242
237
|
|
|
243
238
|
//nav-item__link--external__icon
|
|
@@ -246,8 +241,8 @@ $nav__icon__position: translate3d(-50%, 0, 0);
|
|
|
246
241
|
.#{$nav-item-block-class}__link--external__icon {
|
|
247
242
|
flex-shrink: 0;
|
|
248
243
|
align-self: center;
|
|
249
|
-
margin-left: $spacing-02;
|
|
250
244
|
fill: $text-primary;
|
|
245
|
+
margin-inline-start: $spacing-02;
|
|
251
246
|
opacity: 0;
|
|
252
247
|
}
|
|
253
248
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
// Standard imports.
|
|
12
12
|
@use '@carbon/layout/scss/convert' as *;
|
|
13
|
-
@use '@carbon/
|
|
13
|
+
@use '@carbon/styles/scss/colors' as *;
|
|
14
14
|
@use '@carbon/styles/scss/components/button/tokens' as *;
|
|
15
15
|
@use '@carbon/styles/scss/spacing' as *;
|
|
16
16
|
@use '@carbon/styles/scss/theme' as *;
|
|
@@ -41,15 +41,15 @@ $block-class: #{c4p-settings.$pkg-prefix}--non-linear-reading;
|
|
|
41
41
|
|
|
42
42
|
// CLOSED/COLLAPSED STATE, DEFAULT
|
|
43
43
|
.#{$block-class} .#{$block-class}__keyword {
|
|
44
|
-
height: to-rem(20px);
|
|
45
|
-
padding-top: 0;
|
|
46
|
-
padding-right: to-rem(3px);
|
|
47
44
|
border-width: to-rem(1px);
|
|
48
45
|
border-style: solid;
|
|
49
46
|
border-color: $button-tertiary;
|
|
50
47
|
border-radius: $spacing-04;
|
|
51
48
|
background-color: transparent;
|
|
49
|
+
block-size: to-rem(20px);
|
|
52
50
|
color: $button-tertiary;
|
|
51
|
+
padding-block-start: 0;
|
|
52
|
+
padding-inline-end: to-rem(3px);
|
|
53
53
|
white-space: nowrap;
|
|
54
54
|
}
|
|
55
55
|
.#{$block-class} .#{$block-class}__keyword:hover {
|
|
@@ -65,7 +65,9 @@ $block-class: #{c4p-settings.$pkg-prefix}--non-linear-reading;
|
|
|
65
65
|
.#{$block-class} .#{$block-class}__keyword:focus {
|
|
66
66
|
border-color: $text-inverse;
|
|
67
67
|
background-color: $button-tertiary;
|
|
68
|
-
box-shadow:
|
|
68
|
+
box-shadow:
|
|
69
|
+
0 0 0 1px $text-inverse,
|
|
70
|
+
0 0 0 3px $button-tertiary;
|
|
69
71
|
color: $text-inverse;
|
|
70
72
|
}
|
|
71
73
|
// The "up" chevron
|
|
@@ -88,7 +90,9 @@ $block-class: #{c4p-settings.$pkg-prefix}--non-linear-reading;
|
|
|
88
90
|
.#{$block-class} .#{$block-class}__keyword-open:focus {
|
|
89
91
|
border-color: $text-inverse;
|
|
90
92
|
background-color: transparent;
|
|
91
|
-
box-shadow:
|
|
93
|
+
box-shadow:
|
|
94
|
+
inset 0 0 0 1px $button-tertiary,
|
|
95
|
+
0 0 0 1px $text-inverse,
|
|
92
96
|
0 0 0 3px $button-tertiary;
|
|
93
97
|
color: $button-tertiary;
|
|
94
98
|
}
|
|
@@ -102,11 +106,11 @@ $block-class: #{c4p-settings.$pkg-prefix}--non-linear-reading;
|
|
|
102
106
|
|
|
103
107
|
display: block;
|
|
104
108
|
padding: $spacing-03 $spacing-04;
|
|
105
|
-
border-left: to-rem(1.25px) solid $text-primary;
|
|
106
109
|
margin: $spacing-02 0;
|
|
107
110
|
// Onboarding does not always use Carbon defaults/tokens
|
|
108
111
|
// stylelint-disable-next-line carbon/motion-duration-use, carbon/motion-easing-use
|
|
109
112
|
animation: fade 600ms;
|
|
113
|
+
border-inline-start: to-rem(1.25px) solid $text-primary;
|
|
110
114
|
|
|
111
115
|
/* stylelint-disable-next-line max-nesting-depth */
|
|
112
116
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
|
|
8
8
|
// NotificationsPanel uses the following Carbon components:
|
|
9
9
|
// Button, Link, Toggle
|
|
10
|
-
@use '@carbon/
|
|
11
|
-
@use '@carbon/
|
|
12
|
-
@use '@carbon/
|
|
10
|
+
@use '@carbon/styles/scss/components/button';
|
|
11
|
+
@use '@carbon/styles/scss/components/link';
|
|
12
|
+
@use '@carbon/styles/scss/components/toggle';
|