@carbon/ibmdotcom-styles 2.50.0 → 2.51.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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/ibmdotcom-styles",
|
|
3
3
|
"description": "Carbon for IBM.com Styles",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.51.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/ibm-dotcom-styles.min.css",
|
|
7
7
|
"module": "src/scss",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"sass": "~1.99.0",
|
|
49
49
|
"sass-loader": "^13.0.0"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "5f36a0b2445d0efe35ae46bd0c2cba2617d1a974"
|
|
52
52
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//
|
|
2
|
-
// Copyright IBM Corp. 2022,
|
|
2
|
+
// Copyright IBM Corp. 2022, 2026
|
|
3
3
|
//
|
|
4
4
|
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
@use '@carbon/styles/scss/spacing' as *;
|
|
13
13
|
@use '@carbon/styles/scss/theme' as *;
|
|
14
14
|
@use '@carbon/styles/scss/type' as *;
|
|
15
|
+
@use '@carbon/styles/scss/colors' as *;
|
|
15
16
|
@use '../../globals/vars' as *;
|
|
16
17
|
@use '../../globals/imports' as *;
|
|
17
18
|
@use '../button-group' as *;
|
|
@@ -130,6 +131,21 @@
|
|
|
130
131
|
}
|
|
131
132
|
}
|
|
132
133
|
|
|
134
|
+
:host(#{$c4d-prefix}-pricing-table-group) tr {
|
|
135
|
+
border: none;
|
|
136
|
+
border-radius: 4px;
|
|
137
|
+
background-color: $purple-20;
|
|
138
|
+
|
|
139
|
+
@include breakpoint-down(lg) {
|
|
140
|
+
box-shadow: 50vw 0 $purple-20;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&::after {
|
|
144
|
+
background-color: $purple-20;
|
|
145
|
+
block-size: 0;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
133
149
|
.#{$prefix}--pricing-table-header-row,
|
|
134
150
|
.#{$prefix}--pricing-table-row,
|
|
135
151
|
:host(#{$c4d-prefix}-pricing-table-header-row),
|
|
@@ -159,7 +175,7 @@
|
|
|
159
175
|
background-color: $background;
|
|
160
176
|
|
|
161
177
|
&.highlighted {
|
|
162
|
-
background-color: $
|
|
178
|
+
background-color: $purple-10;
|
|
163
179
|
}
|
|
164
180
|
|
|
165
181
|
.#{$prefix}--pricing-table-cell-inner {
|
|
@@ -261,7 +277,7 @@
|
|
|
261
277
|
|
|
262
278
|
:host(#{$c4d-prefix}-pricing-table-cell[icon]) {
|
|
263
279
|
&[icon='checkmark'] svg {
|
|
264
|
-
color: $
|
|
280
|
+
color: $purple-60;
|
|
265
281
|
}
|
|
266
282
|
|
|
267
283
|
svg {
|
|
@@ -278,7 +294,8 @@
|
|
|
278
294
|
|
|
279
295
|
display: none;
|
|
280
296
|
padding: $spacing-03 $spacing-05;
|
|
281
|
-
|
|
297
|
+
border-radius: 4px 4px 0 0;
|
|
298
|
+
background-color: $purple-60;
|
|
282
299
|
color: $icon-inverse;
|
|
283
300
|
inset-block-end: 100%;
|
|
284
301
|
inset-inline: 0;
|
|
@@ -287,7 +304,9 @@
|
|
|
287
304
|
.#{$prefix}--pricing-table-header-cell-headline,
|
|
288
305
|
:host(#{$c4d-prefix}-pricing-table-header-cell-headline) {
|
|
289
306
|
display: block;
|
|
290
|
-
|
|
307
|
+
|
|
308
|
+
@include type-style('heading-03');
|
|
309
|
+
|
|
291
310
|
color: $text-primary;
|
|
292
311
|
}
|
|
293
312
|
|
|
@@ -369,4 +388,10 @@
|
|
|
369
388
|
:host(.overflowing-left) .overflow-indicator.left {
|
|
370
389
|
opacity: 1;
|
|
371
390
|
}
|
|
391
|
+
|
|
392
|
+
:host([last-row]) {
|
|
393
|
+
::slotted(.highlighted) {
|
|
394
|
+
border-radius: 0 0 10px 10px;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
372
397
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright IBM Corp. 2016,
|
|
2
|
+
* Copyright IBM Corp. 2016, 2026
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -55,6 +55,7 @@ $aspect-ratios: ((16, 9), (9, 16), (2, 1), (1, 2), (4, 3), (3, 4), (1, 1));
|
|
|
55
55
|
::slotted(.#{$c4d-prefix}--video-player__video),
|
|
56
56
|
.#{$c4d-prefix}--video-player__video {
|
|
57
57
|
aspect-ratio: var(--native-file-aspect-ratio, 16 / 9);
|
|
58
|
+
block-size: 100%;
|
|
58
59
|
inset: 50% 0 0 50%;
|
|
59
60
|
min-block-size: 100%;
|
|
60
61
|
min-inline-size: 100%;
|
|
@@ -157,6 +158,7 @@ $aspect-ratios: ((16, 9), (9, 16), (2, 1), (1, 2), (4, 3), (3, 4), (1, 1));
|
|
|
157
158
|
// Ensuring caption is correctly displayed when it has RTL mixed with LTR copy
|
|
158
159
|
.#{$c4d-prefix}--video-player__video-caption[dir='rtl'] {
|
|
159
160
|
direction: rtl;
|
|
161
|
+
max-inline-size: none;
|
|
160
162
|
text-align: end;
|
|
161
163
|
unicode-bidi: plaintext;
|
|
162
164
|
}
|