@carbon/ibm-products-styles 2.55.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
|
@@ -51,24 +51,24 @@ $block-class: #{c4p-settings.$pkg-prefix}--notifications-panel;
|
|
|
51
51
|
|
|
52
52
|
position: fixed;
|
|
53
53
|
z-index: 2;
|
|
54
|
-
top: $spacing-09;
|
|
55
|
-
right: 0;
|
|
56
54
|
overflow: auto;
|
|
57
|
-
min-width: 20rem;
|
|
58
|
-
max-width: 22.75rem;
|
|
59
|
-
min-height: 38.5rem;
|
|
60
|
-
max-height: 38.5rem;
|
|
61
55
|
background-color: $background;
|
|
62
56
|
color: $text-primary;
|
|
57
|
+
inset-block-start: $spacing-09;
|
|
58
|
+
inset-inline-end: 0;
|
|
59
|
+
max-block-size: 38.5rem;
|
|
60
|
+
max-inline-size: 22.75rem;
|
|
61
|
+
min-block-size: 38.5rem;
|
|
62
|
+
min-inline-size: 20rem;
|
|
63
63
|
transition: transform $duration-fast-02 motion(standard);
|
|
64
64
|
|
|
65
65
|
.#{$block-class}__header-container {
|
|
66
66
|
position: sticky;
|
|
67
67
|
z-index: 2;
|
|
68
|
-
top: 0;
|
|
69
68
|
padding: $spacing-03 $spacing-05 $spacing-05;
|
|
70
|
-
border-bottom: 1px solid $layer-02;
|
|
71
69
|
background-color: $background;
|
|
70
|
+
border-block-end: 1px solid $layer-02;
|
|
71
|
+
inset-block-start: 0;
|
|
72
72
|
.#{$block-class}__header-flex {
|
|
73
73
|
display: flex;
|
|
74
74
|
align-items: center;
|
|
@@ -93,11 +93,11 @@ $block-class: #{c4p-settings.$pkg-prefix}--notifications-panel;
|
|
|
93
93
|
|
|
94
94
|
position: sticky;
|
|
95
95
|
z-index: 2;
|
|
96
|
-
// stylelint-disable-next-line carbon/layout-use
|
|
97
|
-
top: 4.8125rem;
|
|
98
96
|
padding: $spacing-03 $spacing-05;
|
|
99
97
|
background-color: $layer-01;
|
|
100
98
|
color: $text-secondary;
|
|
99
|
+
// stylelint-disable-next-line carbon/layout-use
|
|
100
|
+
inset-block-start: 4.8125rem;
|
|
101
101
|
}
|
|
102
102
|
.#{$block-class}__notification:hover,
|
|
103
103
|
.#{$block-class}__notification:focus {
|
|
@@ -108,37 +108,39 @@ $block-class: #{c4p-settings.$pkg-prefix}--notifications-panel;
|
|
|
108
108
|
}
|
|
109
109
|
.#{$block-class}__notification:focus {
|
|
110
110
|
border-color: $focus;
|
|
111
|
-
box-shadow:
|
|
111
|
+
box-shadow:
|
|
112
|
+
inset 0 0 0 2px $focus,
|
|
113
|
+
inset 0 0 0 2px $background;
|
|
112
114
|
outline: 0;
|
|
113
115
|
}
|
|
114
116
|
.#{$block-class}__notification {
|
|
115
117
|
position: relative;
|
|
116
118
|
display: flex;
|
|
117
|
-
width: 100%;
|
|
118
|
-
min-height: 6.25rem;
|
|
119
119
|
align-items: flex-start;
|
|
120
120
|
padding: $spacing-05;
|
|
121
121
|
border: 0;
|
|
122
122
|
background-color: $background;
|
|
123
123
|
cursor: pointer;
|
|
124
|
-
|
|
124
|
+
inline-size: 100%;
|
|
125
|
+
min-block-size: 6.25rem;
|
|
126
|
+
text-align: start;
|
|
125
127
|
transition: background-color $duration-moderate-02 motion(standard);
|
|
126
128
|
.#{$block-class}__notification-title {
|
|
127
|
-
margin-bottom: $spacing-02;
|
|
128
129
|
color: $text-on-color;
|
|
130
|
+
margin-block-end: $spacing-02;
|
|
129
131
|
@include font-weight('regular');
|
|
130
132
|
}
|
|
131
133
|
.#{$block-class}__notification-title.#{$block-class}__notification-title-unread {
|
|
132
|
-
margin-bottom: $spacing-02;
|
|
133
134
|
color: $text-on-color;
|
|
135
|
+
margin-block-end: $spacing-02;
|
|
134
136
|
@include font-weight('semibold');
|
|
135
137
|
}
|
|
136
138
|
.#{$block-class}__notifications-link {
|
|
137
139
|
@include type.type-style('label-01');
|
|
138
140
|
}
|
|
139
141
|
.#{$block-class}__notification-status-icon {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
+
margin-inline-end: $spacing-03;
|
|
143
|
+
min-inline-size: 1rem;
|
|
142
144
|
&.#{$block-class}__notification-status-icon-error {
|
|
143
145
|
fill: $support-error;
|
|
144
146
|
}
|
|
@@ -154,7 +156,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--notifications-panel;
|
|
|
154
156
|
}
|
|
155
157
|
.#{$block-class}__notification-content {
|
|
156
158
|
.#{$block-class}__notification-time-label {
|
|
157
|
-
margin-
|
|
159
|
+
margin-block-end: $spacing-03;
|
|
158
160
|
}
|
|
159
161
|
.#{$block-class}__notification-time-label,
|
|
160
162
|
.#{$block-class}__notification-description {
|
|
@@ -168,19 +170,23 @@ $block-class: #{c4p-settings.$pkg-prefix}--notifications-panel;
|
|
|
168
170
|
overflow: hidden;
|
|
169
171
|
-webkit-box-orient: vertical;
|
|
170
172
|
-webkit-line-clamp: 2;
|
|
173
|
+
line-clamp: 2;
|
|
171
174
|
}
|
|
172
175
|
&.#{$block-class}__notification-long-description {
|
|
173
176
|
display: block;
|
|
174
177
|
overflow: initial;
|
|
175
178
|
-webkit-line-clamp: initial;
|
|
179
|
+
line-clamp: initial;
|
|
176
180
|
}
|
|
177
181
|
}
|
|
178
182
|
.#{$block-class}__notification-read-more-button,
|
|
179
183
|
.#{$block-class}__notification-read-less-button {
|
|
180
184
|
@include type.type-style('label-01');
|
|
181
185
|
|
|
182
|
-
|
|
186
|
+
display: flex;
|
|
187
|
+
align-items: center;
|
|
183
188
|
padding: 0;
|
|
189
|
+
min-inline-size: 5.5rem;
|
|
184
190
|
|
|
185
191
|
.#{c4p-settings.$carbon-prefix}--btn__icon {
|
|
186
192
|
// stylelint-disable-next-line carbon/motion-easing-use
|
|
@@ -207,14 +213,14 @@ $block-class: #{c4p-settings.$pkg-prefix}--notifications-panel;
|
|
|
207
213
|
}
|
|
208
214
|
.#{$block-class}__dismiss-single-button {
|
|
209
215
|
position: absolute;
|
|
210
|
-
top: 0;
|
|
211
|
-
right: 0;
|
|
212
216
|
display: flex;
|
|
213
|
-
min-width: 2rem;
|
|
214
217
|
align-items: center;
|
|
215
218
|
justify-content: center;
|
|
216
219
|
padding: 0;
|
|
217
220
|
color: $text-primary;
|
|
221
|
+
inset-block-start: 0;
|
|
222
|
+
inset-inline-end: 0;
|
|
223
|
+
min-inline-size: 2rem;
|
|
218
224
|
opacity: 0;
|
|
219
225
|
|
|
220
226
|
/* stylelint-disable-next-line max-nesting-depth */
|
|
@@ -228,12 +234,12 @@ $block-class: #{c4p-settings.$pkg-prefix}--notifications-panel;
|
|
|
228
234
|
.#{$block-class}__notification-yesterday:not(:first-of-type):before,
|
|
229
235
|
.#{$block-class}__notification-previous:not(:first-of-type):before {
|
|
230
236
|
position: absolute;
|
|
231
|
-
top: 0;
|
|
232
|
-
width: calc(100% - (2 * #{$spacing-05}));
|
|
233
|
-
height: 1px;
|
|
234
237
|
margin: 0 auto;
|
|
235
238
|
background-color: $layer-02;
|
|
239
|
+
block-size: 1px;
|
|
236
240
|
content: '';
|
|
241
|
+
inline-size: calc(100% - (2 * #{$spacing-05}));
|
|
242
|
+
inset-block-start: 0;
|
|
237
243
|
transition: background-color $duration-moderate-02 motion(standard);
|
|
238
244
|
}
|
|
239
245
|
.#{$block-class}__notification-today:hover
|
|
@@ -246,45 +252,49 @@ $block-class: #{c4p-settings.$pkg-prefix}--notifications-panel;
|
|
|
246
252
|
}
|
|
247
253
|
.#{$block-class}__main-section-empty.#{$block-class}__main-section {
|
|
248
254
|
display: flex;
|
|
249
|
-
height: 100%;
|
|
250
|
-
min-height: initial;
|
|
251
255
|
align-items: center;
|
|
252
256
|
justify-content: center;
|
|
253
|
-
|
|
257
|
+
block-size: 100%;
|
|
258
|
+
margin-block-start: $spacing-13;
|
|
259
|
+
min-block-size: initial;
|
|
254
260
|
.#{c4p-settings.$pkg-prefix}-subtext {
|
|
255
261
|
@include type.type-style('body-compact-01');
|
|
256
262
|
}
|
|
257
263
|
}
|
|
258
264
|
.#{$block-class}__main-section {
|
|
259
|
-
min-
|
|
265
|
+
min-block-size: 498px;
|
|
260
266
|
}
|
|
261
267
|
.#{$block-class}__bottom-actions {
|
|
262
268
|
position: sticky;
|
|
263
269
|
z-index: 2;
|
|
264
|
-
bottom: 0;
|
|
265
270
|
display: flex;
|
|
266
|
-
height: 2.5rem;
|
|
267
|
-
min-height: 2.5rem;
|
|
268
271
|
align-items: center;
|
|
269
|
-
border-top: 1px solid $layer-02;
|
|
270
272
|
background-color: $background;
|
|
273
|
+
block-size: 2.5rem;
|
|
274
|
+
border-block-start: 1px solid $layer-02;
|
|
275
|
+
inset-block-end: 0;
|
|
276
|
+
min-block-size: 2.5rem;
|
|
271
277
|
.#{$block-class}__view-all-button {
|
|
278
|
+
display: flex;
|
|
272
279
|
width: 100%;
|
|
273
280
|
max-width: calc(100% - 2.5rem);
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
border-
|
|
281
|
+
align-items: center;
|
|
282
|
+
block-size: 2.5rem;
|
|
283
|
+
border-inline-end: 1px solid $layer-02;
|
|
277
284
|
color: $text-primary;
|
|
285
|
+
inline-size: 100%;
|
|
286
|
+
max-inline-size: calc(100% - 2.5rem);
|
|
287
|
+
min-block-size: 2.5rem;
|
|
278
288
|
}
|
|
279
289
|
.#{$block-class}__settings-button {
|
|
280
290
|
display: flex;
|
|
281
|
-
min-width: 2.5rem;
|
|
282
|
-
height: 2.5rem;
|
|
283
|
-
min-height: 2.5rem;
|
|
284
291
|
align-items: center;
|
|
285
292
|
justify-content: center;
|
|
286
293
|
padding: 0;
|
|
294
|
+
block-size: 2.5rem;
|
|
287
295
|
color: $text-primary;
|
|
296
|
+
min-block-size: 2.5rem;
|
|
297
|
+
min-inline-size: 2.5rem;
|
|
288
298
|
}
|
|
289
299
|
.#{$block-class}__settings-button
|
|
290
300
|
.#{c4p-settings.$carbon-prefix}--btn__icon {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
@use '@carbon/styles/scss/spacing' as *;
|
|
11
11
|
@use '@carbon/styles/scss/type';
|
|
12
12
|
@use '@carbon/styles/scss/motion' as *;
|
|
13
|
-
@use '@carbon/
|
|
13
|
+
@use '@carbon/styles/scss/colors' as *;
|
|
14
14
|
@use '../../global/styles/project-settings' as c4p-settings;
|
|
15
15
|
@use '../../global/styles/mixins' as *;
|
|
16
16
|
|
|
@@ -22,23 +22,23 @@ $block-class: #{c4p-settings.$pkg-prefix}--options-tile;
|
|
|
22
22
|
|
|
23
23
|
.#{$block-class} {
|
|
24
24
|
position: relative;
|
|
25
|
-
border-bottom: 1px solid $border-subtle;
|
|
26
25
|
background-color: $layer;
|
|
26
|
+
border-block-end: 1px solid $border-subtle;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.#{$block-class}__toggle-container {
|
|
30
30
|
position: absolute;
|
|
31
|
-
|
|
32
|
-
right: 0;
|
|
33
|
-
bottom: 0;
|
|
34
|
-
width: calc(
|
|
31
|
+
inline-size: calc(
|
|
35
32
|
#{$spacing-05} + 2rem + #{$spacing-05}
|
|
36
33
|
); // spacing + toggle width + spacing
|
|
34
|
+
|
|
35
|
+
inset-block: 0;
|
|
36
|
+
inset-inline-end: 0;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.#{$block-class}__toggle {
|
|
40
40
|
position: absolute;
|
|
41
|
-
|
|
41
|
+
inset-inline-end: $spacing-05;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.#{$block-class}__toggle
|
|
@@ -56,8 +56,8 @@ $block-class: #{c4p-settings.$pkg-prefix}--options-tile;
|
|
|
56
56
|
display: grid;
|
|
57
57
|
box-sizing: border-box;
|
|
58
58
|
align-items: center;
|
|
59
|
-
padding-right: $spacing-05;
|
|
60
59
|
grid-template-columns: 3rem 1fr 2rem; // chevron container, heading, toggle width
|
|
60
|
+
padding-inline-end: $spacing-05;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.#{$block-class}__header {
|
|
@@ -92,9 +92,9 @@ $block-class: #{c4p-settings.$pkg-prefix}--options-tile;
|
|
|
92
92
|
@include type.type-style('helper-text-01');
|
|
93
93
|
|
|
94
94
|
display: grid;
|
|
95
|
-
|
|
96
|
-
margin-top: $spacing-02;
|
|
95
|
+
block-size: $spacing-05;
|
|
97
96
|
color: $text-secondary;
|
|
97
|
+
margin-block-start: $spacing-02;
|
|
98
98
|
opacity: 1;
|
|
99
99
|
transition-duration: $duration-moderate-01;
|
|
100
100
|
transition-property: height, opacity, margin-top;
|
|
@@ -132,10 +132,10 @@ $block-class: #{c4p-settings.$pkg-prefix}--options-tile;
|
|
|
132
132
|
|
|
133
133
|
.#{$block-class}__summary-text {
|
|
134
134
|
overflow: hidden;
|
|
135
|
-
|
|
135
|
+
block-size: max-content;
|
|
136
136
|
// spacing-05 + toggle width
|
|
137
137
|
// stylelint-disable-next-line carbon/layout-use
|
|
138
|
-
padding-
|
|
138
|
+
padding-inline-end: calc(#{$spacing-05} + 2rem);
|
|
139
139
|
text-overflow: ellipsis;
|
|
140
140
|
white-space: nowrap;
|
|
141
141
|
}
|
|
@@ -147,10 +147,9 @@ $block-class: #{c4p-settings.$pkg-prefix}--options-tile;
|
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
.#{$block-class}__content {
|
|
150
|
-
padding-
|
|
150
|
+
padding-inline: $spacing-09 $spacing-05;
|
|
151
151
|
// spacing-05 + chevron size + spacing-05
|
|
152
152
|
// stylelint-disable-next-line carbon/layout-use
|
|
153
|
-
padding-left: calc(#{$spacing-05} * 2 + 1rem);
|
|
154
153
|
}
|
|
155
154
|
|
|
156
155
|
.#{$block-class}__content
|
|
@@ -167,8 +166,8 @@ $block-class: #{c4p-settings.$pkg-prefix}--options-tile;
|
|
|
167
166
|
.#{$block-class}__summary--closing
|
|
168
167
|
),
|
|
169
168
|
.#{$block-class}__summary--hidden {
|
|
170
|
-
|
|
171
|
-
margin-
|
|
169
|
+
block-size: 0;
|
|
170
|
+
margin-block-start: 0;
|
|
172
171
|
opacity: 0;
|
|
173
172
|
}
|
|
174
173
|
|
|
@@ -179,8 +178,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--options-tile;
|
|
|
179
178
|
}
|
|
180
179
|
|
|
181
180
|
.#{$block-class} > details[open] .#{$block-class}__content {
|
|
182
|
-
padding-
|
|
183
|
-
padding-bottom: $spacing-06;
|
|
181
|
+
padding-block: $spacing-03 $spacing-06;
|
|
184
182
|
}
|
|
185
183
|
|
|
186
184
|
.#{$block-class}__locked-text {
|
|
@@ -188,36 +186,36 @@ $block-class: #{c4p-settings.$pkg-prefix}--options-tile;
|
|
|
188
186
|
|
|
189
187
|
display: inline-flex;
|
|
190
188
|
align-items: center;
|
|
191
|
-
margin-bottom: $spacing-06;
|
|
192
189
|
color: $text-secondary;
|
|
190
|
+
margin-block-end: $spacing-06;
|
|
193
191
|
}
|
|
194
192
|
|
|
195
193
|
.#{$block-class}__locked-text > svg {
|
|
196
|
-
margin-
|
|
194
|
+
margin-inline-end: $spacing-02;
|
|
197
195
|
}
|
|
198
196
|
|
|
199
197
|
.#{$block-class}--lg .#{$block-class}__header,
|
|
200
198
|
.#{$block-class}--lg .#{$block-class}__static-content {
|
|
201
|
-
|
|
199
|
+
block-size: 3rem;
|
|
202
200
|
}
|
|
203
201
|
|
|
204
202
|
.#{$block-class}--xl .#{$block-class}__header,
|
|
205
203
|
.#{$block-class}--xl .#{$block-class}__static-content {
|
|
206
|
-
|
|
204
|
+
block-size: 4rem;
|
|
207
205
|
}
|
|
208
206
|
|
|
209
207
|
.#{$block-class}--lg .#{$block-class}__toggle {
|
|
210
208
|
// "top" shouldn't be spacing token as it depends on the toggle size
|
|
211
|
-
|
|
209
|
+
inset-block-start: $spacing-05;
|
|
212
210
|
}
|
|
213
211
|
|
|
214
212
|
.#{$block-class}--xl .#{$block-class}__toggle {
|
|
215
213
|
// "top" shouldn't be spacing token as it depends on the toggle size
|
|
216
|
-
|
|
214
|
+
inset-block-start: $spacing-06;
|
|
217
215
|
}
|
|
218
216
|
|
|
219
217
|
.#{$block-class}--lg .#{$block-class}__summary {
|
|
220
|
-
margin-
|
|
218
|
+
margin-block-start: $spacing-01;
|
|
221
219
|
}
|
|
222
220
|
|
|
223
221
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
// PageHeader uses the following Carbon components:
|
|
9
9
|
// BreadcrumbItem, Grid, Column, Row, Button, SkeletonText, Tag
|
|
10
|
-
@use '@carbon/
|
|
11
|
-
@use '@carbon/
|
|
12
|
-
@use '@carbon/
|
|
13
|
-
@use '@carbon/
|
|
10
|
+
@use '@carbon/styles/scss/components/breadcrumb';
|
|
11
|
+
@use '@carbon/styles/scss/components/button';
|
|
12
|
+
@use '@carbon/styles/scss/components/skeleton-styles';
|
|
13
|
+
@use '@carbon/styles/scss/components/tag';
|