@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
|
@@ -36,6 +36,10 @@ $right-section-std-width: 100% - $left-section-std-width;
|
|
|
36
36
|
$left-section-alt-width: 75%;
|
|
37
37
|
$right-section-alt-width: 100% - $left-section-alt-width;
|
|
38
38
|
|
|
39
|
+
$animation: background-appear;
|
|
40
|
+
// This transitions the background-color between from-color and to-color
|
|
41
|
+
$duration: 1000ms;
|
|
42
|
+
|
|
39
43
|
@keyframes background-appear {
|
|
40
44
|
from {
|
|
41
45
|
/* stylelint-disable-next-line carbon/theme-use */
|
|
@@ -77,19 +81,7 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
77
81
|
--to-color-shadow: #{$to-color-shadow};
|
|
78
82
|
|
|
79
83
|
position: absolute;
|
|
80
|
-
top: 0;
|
|
81
|
-
left: 0;
|
|
82
84
|
display: block;
|
|
83
|
-
width: 100%;
|
|
84
|
-
height: 100%;
|
|
85
|
-
|
|
86
|
-
// This transitions the background-color between from-color and to-color
|
|
87
|
-
$duration: 1000ms;
|
|
88
|
-
|
|
89
|
-
$animation: background-appear;
|
|
90
|
-
@if $with-shadow {
|
|
91
|
-
$animation: background-and-shadow-appear;
|
|
92
|
-
}
|
|
93
85
|
|
|
94
86
|
/* stylelint-disable-next-line carbon/motion-duration-use, carbon/motion-easing-use -- non-standard duration used */
|
|
95
87
|
animation: $animation $duration linear paused forwards;
|
|
@@ -97,7 +89,15 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
97
89
|
animation-delay: calc(
|
|
98
90
|
-1 * $duration * var(--#{$block-class}--background-opacity)
|
|
99
91
|
);
|
|
92
|
+
block-size: 100%;
|
|
100
93
|
content: '';
|
|
94
|
+
inline-size: 100%;
|
|
95
|
+
inset-block-start: 0;
|
|
96
|
+
inset-inline-start: 0;
|
|
97
|
+
|
|
98
|
+
@if $with-shadow {
|
|
99
|
+
$animation: background-and-shadow-appear;
|
|
100
|
+
}
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
@include block-wrap($block-class) {
|
|
@@ -107,12 +107,12 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
107
107
|
/* z-index used to raise above any position relative content as per Carbon header */
|
|
108
108
|
/* dropped 1 below Carbon header so as not to overlay the side panel */
|
|
109
109
|
z-index: $z-index-header-minus;
|
|
110
|
-
/* stylelint-disable-next-line carbon/layout-use */
|
|
111
|
-
top: var(--#{$block-class}--header-top);
|
|
112
110
|
display: inline-block; /* cause top/bottom margin to reserve space */
|
|
113
|
-
width: 100%;
|
|
114
111
|
background-color: $background;
|
|
115
112
|
color: $text-primary;
|
|
113
|
+
inline-size: 100%;
|
|
114
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
|
115
|
+
inset-block-start: var(--#{$block-class}--header-top);
|
|
116
116
|
|
|
117
117
|
/* custom props */
|
|
118
118
|
--#{$block-class}--breadcrumb-title-visibility: hidden;
|
|
@@ -135,18 +135,17 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
.#{$block-class}--width--xl {
|
|
138
|
-
padding-
|
|
139
|
-
padding-left: $spacing-07;
|
|
138
|
+
padding-inline: $spacing-07;
|
|
140
139
|
}
|
|
141
140
|
|
|
142
141
|
.#{$block-class}__breadcrumb-row {
|
|
143
142
|
position: sticky;
|
|
144
143
|
z-index: $raised-z-index;
|
|
145
|
-
|
|
146
|
-
min-
|
|
144
|
+
inset-block-start: var(--#{$block-class}--breadcrumb-top); //2
|
|
145
|
+
min-block-size: $spacing-08;
|
|
147
146
|
|
|
148
147
|
+ .#{$block-class}__last-row-buffer--active {
|
|
149
|
-
|
|
148
|
+
block-size: $spacing-02;
|
|
150
149
|
}
|
|
151
150
|
}
|
|
152
151
|
|
|
@@ -154,46 +153,50 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
154
153
|
.#{$block-class}__breadcrumb-row--has-action-bar
|
|
155
154
|
) {
|
|
156
155
|
// lifts up page title when there is no action bar
|
|
157
|
-
min-
|
|
156
|
+
min-block-size: $spacing-07;
|
|
158
157
|
}
|
|
159
158
|
|
|
160
159
|
.#{$block-class}__breadcrumb-row--container {
|
|
161
160
|
display: flex;
|
|
162
|
-
min-width: 100%;
|
|
163
161
|
flex-wrap: nowrap;
|
|
162
|
+
min-inline-size: 100%;
|
|
164
163
|
}
|
|
165
164
|
|
|
166
165
|
.#{$block-class}__has-page-actions-without-action-bar {
|
|
166
|
+
max-inline-size: calc(0.6 * (100% + 2 * #{$spacing-05}));
|
|
167
167
|
// NOTE: the extra spacing accounts for carbon margins
|
|
168
|
-
min-
|
|
169
|
-
max-width: calc(0.6 * (100% + 2 * #{$spacing-05}));
|
|
168
|
+
min-inline-size: calc(0.6 * (100% + 2 * #{$spacing-05}));
|
|
170
169
|
}
|
|
171
170
|
|
|
172
171
|
.#{$block-class}__has-page-actions-without-action-bar
|
|
173
172
|
.#{$block-class}__has-page-actions-without-action-bar {
|
|
174
|
-
min-
|
|
173
|
+
min-inline-size: 100%;
|
|
175
174
|
}
|
|
176
175
|
|
|
177
176
|
.#{$block-class}__breadcrumb-row--has-action-bar
|
|
178
177
|
.#{$block-class}__breadcrumb-row--container {
|
|
179
|
-
min-
|
|
178
|
+
min-inline-size: calc(
|
|
180
179
|
100% +
|
|
181
180
|
(
|
|
182
|
-
var(--#{$block-class}--width-px) -
|
|
183
|
-
|
|
184
|
-
|
|
181
|
+
var(--#{$block-class}--width-px) - var(
|
|
182
|
+
--#{$block-class}--breadcrumb-row-width-px
|
|
183
|
+
)
|
|
184
|
+
) /
|
|
185
|
+
2
|
|
185
186
|
);
|
|
186
187
|
}
|
|
187
188
|
.#{$block-class}__breadcrumb-row::after {
|
|
188
189
|
position: absolute;
|
|
189
|
-
bottom: 0;
|
|
190
|
-
left: 50%;
|
|
191
190
|
display: block;
|
|
192
|
-
|
|
193
|
-
height: 1px;
|
|
191
|
+
block-size: 1px;
|
|
194
192
|
/* creates a full width box shadow without causing scroll */
|
|
195
|
-
box-shadow:
|
|
193
|
+
box-shadow:
|
|
194
|
+
0 1px 0 0 $layer-accent-01,
|
|
195
|
+
0 1px 0 0 $layer-accent-01;
|
|
196
196
|
content: '';
|
|
197
|
+
inline-size: 50vw;
|
|
198
|
+
inset-block-end: 0;
|
|
199
|
+
inset-inline-start: 50%;
|
|
197
200
|
opacity: 0;
|
|
198
201
|
transform: translateX(-50%) scaleX(1);
|
|
199
202
|
// stylelint-disable-next-line carbon/motion-easing-use
|
|
@@ -205,12 +208,14 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
205
208
|
)::after,
|
|
206
209
|
.#{$block-class}__breadcrumb-row--has-action-bar::after {
|
|
207
210
|
/* creates a full width box shadow without causing scroll */
|
|
208
|
-
box-shadow:
|
|
211
|
+
box-shadow:
|
|
212
|
+
25vw 1px 0 0 $layer-accent-01,
|
|
213
|
+
-25vw 1px 0 0 $layer-accent-01;
|
|
209
214
|
opacity: 1;
|
|
210
215
|
}
|
|
211
216
|
|
|
212
217
|
.#{$block-class}__breadcrumb-container {
|
|
213
|
-
|
|
218
|
+
inline-size: 100%;
|
|
214
219
|
}
|
|
215
220
|
|
|
216
221
|
.#{$block-class}__action-bar-column {
|
|
@@ -219,13 +224,13 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
219
224
|
|
|
220
225
|
.#{$block-class}__breadcrumb-row--has-breadcrumbs
|
|
221
226
|
.#{$block-class}__action-bar-column {
|
|
222
|
-
// back button displayed only
|
|
223
|
-
max-width: $right-section-alt-width;
|
|
224
227
|
flex: 0 1 $right-section-alt-width;
|
|
228
|
+
// back button displayed only
|
|
229
|
+
max-inline-size: $right-section-alt-width;
|
|
225
230
|
|
|
226
231
|
@include breakpoint(md) {
|
|
227
|
-
max-width: $right-section-std-width;
|
|
228
232
|
flex: 1 0 $right-section-std-width;
|
|
233
|
+
max-inline-size: $right-section-std-width;
|
|
229
234
|
}
|
|
230
235
|
}
|
|
231
236
|
|
|
@@ -247,9 +252,9 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
247
252
|
.#{$block-class}__breadcrumb-row .#{$block-class}__page-actions {
|
|
248
253
|
position: relative;
|
|
249
254
|
display: inline-block;
|
|
250
|
-
width: 100%;
|
|
251
|
-
max-width: var(--#{$block-class}--button-set-in-breadcrumb-width-px);
|
|
252
255
|
flex: 1 1 var(--#{$block-class}--button-set-in-breadcrumb-width-px);
|
|
256
|
+
inline-size: 100%;
|
|
257
|
+
max-inline-size: var(--#{$block-class}--button-set-in-breadcrumb-width-px);
|
|
253
258
|
opacity: 0;
|
|
254
259
|
transition: opacity $duration-moderate-02 motion('entrance', 'productive');
|
|
255
260
|
visibility: hidden;
|
|
@@ -264,8 +269,8 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
264
269
|
|
|
265
270
|
.#{$block-class}__breadcrumb-column {
|
|
266
271
|
overflow: hidden; /* required for ellipsis in title, title not visible in breadcrumb with back arrow */
|
|
267
|
-
max-width: 100%;
|
|
268
272
|
flex: 0 0 100%;
|
|
273
|
+
max-inline-size: 100%;
|
|
269
274
|
|
|
270
275
|
@include breakpoint(md) {
|
|
271
276
|
overflow: hidden; /* required for ellipsis in title, title not visible in breadcrumb with back arrow */
|
|
@@ -274,21 +279,21 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
274
279
|
|
|
275
280
|
.#{$block-class}__breadcrumb-row--has-action-bar.#{$block-class}__breadcrumb-row
|
|
276
281
|
.#{$block-class}__breadcrumb-column {
|
|
277
|
-
// back button displayed only
|
|
278
|
-
max-width: $left-section-alt-width;
|
|
279
282
|
flex: 0 1 $left-section-alt-width;
|
|
283
|
+
// back button displayed only
|
|
284
|
+
max-inline-size: $left-section-alt-width;
|
|
280
285
|
|
|
281
286
|
@include breakpoint(md) {
|
|
282
|
-
max-width: $left-section-std-width;
|
|
283
287
|
flex: 0 1 $left-section-std-width;
|
|
288
|
+
max-inline-size: $left-section-std-width;
|
|
284
289
|
}
|
|
285
290
|
}
|
|
286
291
|
|
|
287
292
|
.#{$block-class}__has-page-actions-without-action-bar.#{$block-class}__breadcrumb-row
|
|
288
293
|
.#{$block-class}__breadcrumb-column {
|
|
289
|
-
// the width of the breadcrumb column is adjusted elsewhere to compensate
|
|
290
|
-
max-width: 100%;
|
|
291
294
|
flex: 0 1 100%;
|
|
295
|
+
// the width of the breadcrumb column is adjusted elsewhere to compensate
|
|
296
|
+
max-inline-size: 100%;
|
|
292
297
|
}
|
|
293
298
|
|
|
294
299
|
.#{$block-class}__breadcrumb-column--background,
|
|
@@ -302,28 +307,28 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
302
307
|
}
|
|
303
308
|
|
|
304
309
|
.#{$block-class}__action-bar-column--influenced-by-collapse-button {
|
|
305
|
-
padding-
|
|
310
|
+
padding-inline-end: $spacing-08;
|
|
306
311
|
}
|
|
307
312
|
|
|
308
313
|
.#{$block-class}__breadcrumb {
|
|
309
314
|
@include type.type-style('label-01');
|
|
310
315
|
|
|
311
|
-
padding-
|
|
316
|
+
padding-block-start: $spacing-04;
|
|
312
317
|
}
|
|
313
318
|
|
|
314
319
|
.#{$block-class}--breadcrumb.#{$breadcrumb-block-class}__with-items {
|
|
315
|
-
padding-
|
|
320
|
+
padding-block-start: 0;
|
|
316
321
|
@include breakpoint(md) {
|
|
317
|
-
padding-
|
|
322
|
+
padding-block-start: $spacing-04;
|
|
318
323
|
}
|
|
319
324
|
}
|
|
320
325
|
|
|
321
326
|
.#{$block-class}__breadcrumb .#{$carbon-prefix}--breadcrumb-item {
|
|
322
|
-
margin-
|
|
327
|
+
margin-inline-end: $spacing-02;
|
|
323
328
|
}
|
|
324
329
|
|
|
325
330
|
.#{$block-class}__breadcrumb .#{$carbon-prefix}--breadcrumb-item::after {
|
|
326
|
-
margin-
|
|
331
|
+
margin-inline-start: $spacing-02;
|
|
327
332
|
}
|
|
328
333
|
|
|
329
334
|
.#{$block-class}__breadcrumb .#{$carbon-prefix}--breadcrumb-item,
|
|
@@ -350,11 +355,11 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
350
355
|
}
|
|
351
356
|
|
|
352
357
|
.#{$block-class}__action-bar {
|
|
353
|
-
width: 100%;
|
|
354
|
-
max-width: var(--#{$block-class}--max-action-bar-width-px);
|
|
355
358
|
flex: 1 1 var(--#{$block-class}--max-action-bar-width-px);
|
|
356
|
-
|
|
357
|
-
margin-
|
|
359
|
+
inline-size: 100%;
|
|
360
|
+
margin-block-start: calc(-1 * #{$spacing-04}); /* align with breadcrumb */
|
|
361
|
+
max-inline-size: var(--#{$block-class}--max-action-bar-width-px);
|
|
362
|
+
padding-block-start: $spacing-04;
|
|
358
363
|
vertical-align: top;
|
|
359
364
|
white-space: nowrap;
|
|
360
365
|
}
|
|
@@ -362,7 +367,7 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
362
367
|
.#{$block-class}__title-row {
|
|
363
368
|
--title-row-margin-top: #{$spacing-01}; /* spacing needed in case of editable title, otherwise top of focus indicator hidden */
|
|
364
369
|
|
|
365
|
-
margin-
|
|
370
|
+
margin-block-end: 0;
|
|
366
371
|
transform: translateY(
|
|
367
372
|
$spacing-01
|
|
368
373
|
); // position adjusted for editable title focus outline
|
|
@@ -372,43 +377,43 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
372
377
|
}
|
|
373
378
|
|
|
374
379
|
&.#{$block-class}__title-row--under-action-bar {
|
|
375
|
-
margin-
|
|
380
|
+
margin-block-start: $spacing-05;
|
|
376
381
|
transform: translateY(0); // Not needed under action bar
|
|
377
382
|
}
|
|
378
383
|
|
|
379
384
|
+ .#{$block-class}__last-row-buffer--active {
|
|
380
|
-
|
|
385
|
+
block-size: $spacing-07;
|
|
381
386
|
}
|
|
382
387
|
|
|
383
388
|
&.#{$block-class}__title-row--spacing-below-03 {
|
|
384
|
-
margin-
|
|
389
|
+
margin-block-end: $spacing-03;
|
|
385
390
|
}
|
|
386
391
|
|
|
387
392
|
&.#{$block-class}__title-row--spacing-below-05 {
|
|
388
393
|
+ .#{$block-class}__last-row-buffer--active {
|
|
389
|
-
|
|
394
|
+
block-size: $spacing-05;
|
|
390
395
|
}
|
|
391
396
|
}
|
|
392
397
|
|
|
393
398
|
&.#{$block-class}__title-row--spacing-below-06 {
|
|
394
|
-
margin-
|
|
399
|
+
margin-block-end: $spacing-06;
|
|
395
400
|
}
|
|
396
401
|
|
|
397
402
|
&.#{$block-class}__title-row--no-breadcrumb-row {
|
|
398
|
-
margin-
|
|
403
|
+
margin-block-start: $spacing-07;
|
|
399
404
|
}
|
|
400
405
|
}
|
|
401
406
|
|
|
402
407
|
&.#{$block-class}--has-navigation
|
|
403
408
|
.#{$block-class}__title-row
|
|
404
409
|
+ .#{$block-class}__last-row-buffer--active {
|
|
405
|
-
|
|
410
|
+
block-size: calc(#{$spacing-06});
|
|
406
411
|
}
|
|
407
412
|
|
|
408
413
|
&.#{$block-class}--has-navigation-tags-only
|
|
409
414
|
.#{$block-class}__title-row
|
|
410
415
|
+ .#{$block-class}__last-row-buffer--active {
|
|
411
|
-
|
|
416
|
+
block-size: calc(#{$spacing-05});
|
|
412
417
|
}
|
|
413
418
|
|
|
414
419
|
.#{$block-class}__title-row--sticky {
|
|
@@ -418,24 +423,24 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
418
423
|
.#{$block-class}__breadcrumb-row--has-breadcrumbs
|
|
419
424
|
+ .#{$block-class}__title-row--sticky {
|
|
420
425
|
// stylelint-disable-next-line carbon/layout-use
|
|
421
|
-
|
|
426
|
+
inset-block-start: calc(
|
|
422
427
|
var(--#{$block-class}--breadcrumb-top) - var(--title-row-margin-top)
|
|
423
428
|
);
|
|
424
429
|
}
|
|
425
430
|
|
|
426
431
|
.#{$block-class}__title-column {
|
|
427
|
-
min-height: 40px;
|
|
428
432
|
flex: 0 0 100%;
|
|
433
|
+
min-block-size: 40px;
|
|
429
434
|
|
|
430
435
|
@include breakpoint-up('md') {
|
|
431
|
-
max-width: $left-section-std-width;
|
|
432
436
|
flex: 1 0 $left-section-std-width;
|
|
437
|
+
max-inline-size: $left-section-std-width;
|
|
433
438
|
}
|
|
434
439
|
}
|
|
435
440
|
|
|
436
441
|
.#{$block-class}__tooltip {
|
|
437
|
-
min-width: 0;
|
|
438
442
|
flex-basis: auto;
|
|
443
|
+
min-inline-size: 0;
|
|
439
444
|
|
|
440
445
|
button {
|
|
441
446
|
border-block-end: none;
|
|
@@ -452,19 +457,19 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
452
457
|
@include type.type-style('heading-04');
|
|
453
458
|
|
|
454
459
|
display: flex;
|
|
455
|
-
min-
|
|
460
|
+
min-block-size: $spacing-08;
|
|
456
461
|
}
|
|
457
462
|
|
|
458
463
|
.#{$block-class}__title--editable {
|
|
459
464
|
display: flex;
|
|
460
465
|
overflow: visible;
|
|
461
466
|
// move to match non-editable version position
|
|
462
|
-
margin-
|
|
463
|
-
margin-
|
|
467
|
+
margin-block-start: calc(-1 * #{$spacing-01});
|
|
468
|
+
margin-inline-start: calc(-1 * #{$spacing-05});
|
|
464
469
|
}
|
|
465
470
|
|
|
466
471
|
.#{$block-class}__title-skeleton {
|
|
467
|
-
|
|
472
|
+
block-size: $spacing-07;
|
|
468
473
|
}
|
|
469
474
|
|
|
470
475
|
.#{$block-class}__title--fades {
|
|
@@ -472,7 +477,7 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
472
477
|
}
|
|
473
478
|
|
|
474
479
|
.#{$block-class}__title-icon {
|
|
475
|
-
margin-
|
|
480
|
+
margin-inline-end: $spacing-04;
|
|
476
481
|
// stylelint-disable-next-line carbon/layout-use
|
|
477
482
|
transform: translateY(
|
|
478
483
|
-$spacing-01
|
|
@@ -483,24 +488,24 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
483
488
|
|
|
484
489
|
.#{$block-class}__page-actions {
|
|
485
490
|
flex: 0 0 100%;
|
|
486
|
-
margin-
|
|
491
|
+
margin-block-start: $spacing-05;
|
|
487
492
|
white-space: nowrap;
|
|
488
493
|
|
|
489
494
|
@include breakpoint-up('md') {
|
|
490
|
-
max-width: $right-section-std-width;
|
|
491
495
|
flex: 0 1 $right-section-std-width;
|
|
492
|
-
margin-
|
|
496
|
+
margin-block-start: 0;
|
|
497
|
+
max-inline-size: $right-section-std-width;
|
|
493
498
|
}
|
|
494
499
|
}
|
|
495
500
|
|
|
496
501
|
.#{$block-class}__page-actions
|
|
497
502
|
.#{$carbon-prefix}--btn-set
|
|
498
503
|
.#{$carbon-prefix}--btn {
|
|
499
|
-
|
|
504
|
+
inline-size: initial;
|
|
500
505
|
}
|
|
501
506
|
|
|
502
507
|
.#{$block-class}__action-bar-column .#{$block-class}__page-actions {
|
|
503
|
-
margin-
|
|
508
|
+
margin-block-start: 0;
|
|
504
509
|
}
|
|
505
510
|
|
|
506
511
|
.#{$block-class}__page-actions-container {
|
|
@@ -527,9 +532,9 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
527
532
|
position: relative; // ensure appears over ::before
|
|
528
533
|
display: flex;
|
|
529
534
|
overflow: hidden;
|
|
530
|
-
width: 100%;
|
|
531
|
-
height: 100%;
|
|
532
535
|
justify-content: flex-end;
|
|
536
|
+
block-size: 100%;
|
|
537
|
+
inline-size: 100%;
|
|
533
538
|
}
|
|
534
539
|
|
|
535
540
|
.#{$block-class}__title-row .#{$block-class}__page-actions--in-breadcrumb {
|
|
@@ -538,14 +543,14 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
538
543
|
}
|
|
539
544
|
|
|
540
545
|
.#{$block-class}__subtitle-row {
|
|
541
|
-
margin-
|
|
546
|
+
margin-block-start: $spacing-03;
|
|
542
547
|
|
|
543
548
|
@include breakpoint-up('md') {
|
|
544
|
-
max-
|
|
549
|
+
max-inline-size: $left-section-std-width;
|
|
545
550
|
}
|
|
546
551
|
|
|
547
552
|
+ .#{$block-class}__last-row-buffer--active {
|
|
548
|
-
|
|
553
|
+
block-size: $spacing-05;
|
|
549
554
|
}
|
|
550
555
|
}
|
|
551
556
|
|
|
@@ -554,7 +559,7 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
554
559
|
}
|
|
555
560
|
|
|
556
561
|
.#{$block-class}__subtitle-tooltip .#{$carbon-prefix}--definition-term {
|
|
557
|
-
border-
|
|
562
|
+
border-block-end: 0;
|
|
558
563
|
letter-spacing: inherit;
|
|
559
564
|
}
|
|
560
565
|
|
|
@@ -569,20 +574,21 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
569
574
|
overflow: hidden;
|
|
570
575
|
-webkit-box-orient: vertical;
|
|
571
576
|
-webkit-line-clamp: 2;
|
|
577
|
+
line-clamp: 2;
|
|
572
578
|
}
|
|
573
579
|
|
|
574
580
|
.#{$block-class}__available-row {
|
|
575
581
|
@include type.type-style('body-01');
|
|
576
582
|
|
|
577
|
-
margin-
|
|
583
|
+
margin-block-start: $spacing-03;
|
|
578
584
|
|
|
579
585
|
+ .#{$block-class}__last-row-buffer--active {
|
|
580
|
-
|
|
586
|
+
block-size: $spacing-05;
|
|
581
587
|
}
|
|
582
588
|
}
|
|
583
589
|
|
|
584
590
|
.#{$block-class}__title-row + .#{$block-class}__available-row {
|
|
585
|
-
margin-
|
|
591
|
+
margin-block-start: $spacing-05;
|
|
586
592
|
}
|
|
587
593
|
|
|
588
594
|
.#{$block-class}__available-row * {
|
|
@@ -592,11 +598,11 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
592
598
|
|
|
593
599
|
.#{$block-class}__navigation-row {
|
|
594
600
|
flex-wrap: wrap-reverse;
|
|
595
|
-
margin-
|
|
601
|
+
margin-block-start: 0;
|
|
596
602
|
|
|
597
603
|
.#{$carbon-prefix}--content-switcher {
|
|
598
604
|
box-sizing: content-box;
|
|
599
|
-
padding-
|
|
605
|
+
padding-block-end: $spacing-05;
|
|
600
606
|
}
|
|
601
607
|
}
|
|
602
608
|
|
|
@@ -605,37 +611,35 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
605
611
|
}
|
|
606
612
|
|
|
607
613
|
.#{$block-class}__navigation-tabs {
|
|
608
|
-
margin-
|
|
614
|
+
margin-inline-start: calc(-1 * #{$spacing-05});
|
|
609
615
|
}
|
|
610
616
|
|
|
611
617
|
.#{$block-class}__navigation-row--has-tags .#{$block-class}__navigation-tabs {
|
|
612
|
-
max-width: $left-section-alt-width;
|
|
613
618
|
flex: 0 1 $left-section-alt-width;
|
|
619
|
+
max-inline-size: $left-section-alt-width;
|
|
614
620
|
}
|
|
615
621
|
|
|
616
622
|
.#{$block-class}__navigation-tags {
|
|
617
623
|
display: flex;
|
|
618
|
-
max-width: $right-section-alt-width;
|
|
619
624
|
flex: 1 0 $right-section-alt-width;
|
|
620
625
|
align-items: center;
|
|
621
626
|
justify-content: flex-end;
|
|
622
|
-
|
|
627
|
+
max-inline-size: $right-section-alt-width;
|
|
628
|
+
padding-block: $spacing-02;
|
|
623
629
|
// allow space for expand/collapse if we have a background
|
|
624
|
-
padding-
|
|
625
|
-
|
|
626
|
-
text-align: right;
|
|
630
|
+
padding-inline-end: $spacing-07;
|
|
631
|
+
text-align: end;
|
|
627
632
|
white-space: nowrap;
|
|
628
633
|
|
|
629
634
|
@include breakpoint(md) {
|
|
630
|
-
padding-
|
|
635
|
+
padding-inline-end: $spacing-05;
|
|
631
636
|
}
|
|
632
637
|
}
|
|
633
638
|
|
|
634
639
|
.#{$block-class}__navigation-tags--tags-only {
|
|
635
640
|
justify-content: flex-start;
|
|
636
|
-
|
|
637
|
-
padding-
|
|
638
|
-
margin-left: calc(-1 * #{$spacing-02});
|
|
641
|
+
margin-inline-start: calc(-1 * #{$spacing-02});
|
|
642
|
+
padding-block: 0 $spacing-04;
|
|
639
643
|
text-align: initial;
|
|
640
644
|
}
|
|
641
645
|
|
|
@@ -646,8 +650,8 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
646
650
|
.#{$block-class}__collapse-expand-toggle {
|
|
647
651
|
position: absolute;
|
|
648
652
|
z-index: $raised-z-index + 1;
|
|
649
|
-
|
|
650
|
-
|
|
653
|
+
inset-block-end: 0;
|
|
654
|
+
inset-inline-end: 0;
|
|
651
655
|
}
|
|
652
656
|
|
|
653
657
|
.#{$block-class}__collapse-expand-toggle .#{$carbon-prefix}--btn__icon {
|
|
@@ -669,7 +673,7 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
|
669
673
|
// stylelint-disable-next-line
|
|
670
674
|
position: var(--#{$block-class}--tagset-tooltip-position) !important;
|
|
671
675
|
// stylelint-disable-next-line
|
|
672
|
-
|
|
676
|
+
inset-block-start: var(--#{$block-class}--tagset-tooltip-offset) !important;
|
|
673
677
|
}
|
|
674
678
|
|
|
675
679
|
.#{$block-class}__navigation-tags-overflow.#{$carbon-prefix}--tooltip {
|
|
@@ -28,13 +28,13 @@ $block-class: #{c4p-settings.$pkg-prefix}--card;
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.#{$block-class}__body {
|
|
31
|
-
padding-
|
|
31
|
+
padding-block-start: $spacing-03;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.#{$block-class}__footer {
|
|
35
35
|
align-items: center;
|
|
36
36
|
justify-content: space-between;
|
|
37
|
-
border-
|
|
37
|
+
border-block-start: 1px solid theme.$border-subtle-01;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.#{$block-class}__footer-no-button {
|
|
@@ -42,29 +42,28 @@ $block-class: #{c4p-settings.$pkg-prefix}--card;
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.#{$block-class}__actions {
|
|
45
|
-
min-height: $spacing-07;
|
|
46
45
|
margin: 0;
|
|
46
|
+
min-block-size: $spacing-07;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.#{$block-class}__actions-header {
|
|
50
|
-
margin-
|
|
50
|
+
margin-block-start: calc(-1 * #{$spacing-02});
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.#{$block-class}__actions-header-ghost-button {
|
|
54
|
-
min-
|
|
54
|
+
min-block-size: $spacing-07;
|
|
55
55
|
// stylelint-disable-next-line carbon/layout-use
|
|
56
|
-
padding-
|
|
56
|
+
padding-inline: calc($spacing-01 + $spacing-03);
|
|
57
57
|
// stylelint-disable-next-line carbon/layout-use
|
|
58
|
-
padding-left: calc($spacing-01 + $spacing-03);
|
|
59
58
|
|
|
60
59
|
/* stylelint-disable-next-line max-nesting-depth */
|
|
61
60
|
&::before {
|
|
62
61
|
position: absolute;
|
|
63
|
-
left: 0;
|
|
64
|
-
width: 0.05rem;
|
|
65
|
-
height: $spacing-06;
|
|
66
62
|
background-color: theme.$layer-hover-01;
|
|
63
|
+
block-size: $spacing-06;
|
|
67
64
|
content: '';
|
|
65
|
+
inline-size: 0.05rem;
|
|
66
|
+
inset-inline-start: 0;
|
|
68
67
|
opacity: 1;
|
|
69
68
|
}
|
|
70
69
|
|
|
@@ -94,11 +93,11 @@ $block-class: #{c4p-settings.$pkg-prefix}--card;
|
|
|
94
93
|
|
|
95
94
|
.#{$block-class}__title-lg .#{$block-class}__actions-header,
|
|
96
95
|
.#{$block-class}__header-has-label .#{$block-class}__actions-header {
|
|
97
|
-
margin-
|
|
96
|
+
margin-block-start: 0;
|
|
98
97
|
}
|
|
99
98
|
|
|
100
99
|
.#{$block-class}__icon {
|
|
101
|
-
margin-
|
|
100
|
+
margin-inline-end: $spacing-05;
|
|
102
101
|
}
|
|
103
102
|
|
|
104
103
|
.#{$block-class}__header-container {
|
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
|
|
8
8
|
// RemoveModal uses the following Carbon components:
|
|
9
9
|
// Button, ComposedModal, ModalHeader, ModalFooter, ModalBody, TextInput
|
|
10
|
-
@use '@carbon/
|
|
11
|
-
@use '@carbon/
|
|
12
|
-
@use '@carbon/
|
|
10
|
+
@use '@carbon/styles/scss/components/button';
|
|
11
|
+
@use '@carbon/styles/scss/components/modal';
|
|
12
|
+
@use '@carbon/styles/scss/components/text-input';
|
|
@@ -14,14 +14,14 @@ $block-class: #{c4p-settings.$pkg-prefix}--remove-modal;
|
|
|
14
14
|
.#{$block-class}
|
|
15
15
|
.#{c4p-settings.$carbon-prefix}--modal-footer
|
|
16
16
|
.#{c4p-settings.$carbon-prefix}--btn {
|
|
17
|
-
max-
|
|
17
|
+
max-inline-size: none;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.#{$block-class} .#{c4p-settings.$carbon-prefix}--modal-content {
|
|
21
|
-
padding-
|
|
21
|
+
padding-inline-end: $spacing-05;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.#{$block-class}__body {
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
margin-block-end: $spacing-05;
|
|
26
|
+
padding-inline-end: 20%;
|
|
27
27
|
}
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
|
|
8
8
|
// Saving uses the following Carbon components:
|
|
9
9
|
// Button, InlineLoading
|
|
10
|
-
@use '@carbon/
|
|
11
|
-
@use '@carbon/
|
|
10
|
+
@use '@carbon/styles/scss/components/button';
|
|
11
|
+
@use '@carbon/styles/scss/components/inline-loading';
|