@carbon/ibmdotcom-styles 2.15.1 → 2.16.0-rc.1
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/dist/ibm-dotcom-styles.css +40 -26
- package/dist/ibm-dotcom-styles.min.css +3 -3
- package/package.json +2 -2
- package/scss/components/callout-with-media/_callout-with-media.scss +4 -2
- package/scss/components/feature-card/_feature-card.scss +1 -0
- package/scss/components/feature-section/_feature-section.scss +2 -1
- package/scss/components/footer/_footer.scss +9 -3
- package/scss/components/footer/_legal-nav.scss +2 -2
- package/scss/components/leadspace/_leadspace.scss +8 -8
- package/scss/components/tableofcontents/_table-of-contents.scss +5 -2
|
@@ -6921,6 +6921,11 @@ screen and (prefers-contrast) {
|
|
|
6921
6921
|
:host(c4d-callout-with-media) ::slotted([slot=media]) {
|
|
6922
6922
|
margin: 0 0 2rem
|
|
6923
6923
|
}
|
|
6924
|
+
:host(c4d-callout-with-media-image) .c4d--image__caption,
|
|
6925
|
+
:host(c4d-callout-with-media-video) ::slotted(c4d-video-player) {
|
|
6926
|
+
-webkit-margin-after: 0;
|
|
6927
|
+
margin-block-end: 0
|
|
6928
|
+
}
|
|
6924
6929
|
:host(c4d-callout-with-media) ::slotted([slot=copy]),
|
|
6925
6930
|
:host(c4d-callout-with-media) ::slotted([slot=heading]) {
|
|
6926
6931
|
inline-size: auto;
|
|
@@ -6954,8 +6959,8 @@ screen and (prefers-contrast) {
|
|
|
6954
6959
|
}
|
|
6955
6960
|
.cds--callout-with-media .cds--callout__content .cds--content-block,
|
|
6956
6961
|
:host(c4d-callout-with-media) .cds--callout__content {
|
|
6957
|
-
-webkit-padding-after:
|
|
6958
|
-
padding-block-end:
|
|
6962
|
+
-webkit-padding-after: 2rem;
|
|
6963
|
+
padding-block-end: 2rem
|
|
6959
6964
|
}
|
|
6960
6965
|
.cds--callout-with-media .cds--callout__content .cds--content-block .cds--image__caption,
|
|
6961
6966
|
:host(c4d-callout-with-media-image) .cds--image__caption {
|
|
@@ -13618,7 +13623,8 @@ screen and (prefers-contrast) {
|
|
|
13618
13623
|
:host(c4d-feature-card) c4d-image,
|
|
13619
13624
|
:host(c4d-feature-cta) ::slotted([slot=image]),
|
|
13620
13625
|
:host(c4d-feature-cta) c4d-image {
|
|
13621
|
-
z-index: 0
|
|
13626
|
+
z-index: 0;
|
|
13627
|
+
block-size: 100%
|
|
13622
13628
|
}
|
|
13623
13629
|
:host(c4d-feature-card) ::slotted([slot=image])::before,
|
|
13624
13630
|
:host(c4d-feature-card) c4d-image::before,
|
|
@@ -19867,7 +19873,7 @@ optgroup.cds--select-optgroup:disabled {
|
|
|
19867
19873
|
border-block-start: 0
|
|
19868
19874
|
}
|
|
19869
19875
|
:host(c4d-footer-nav-item),
|
|
19870
|
-
:host(c4d-legal-nav-cookie-preferences-placeholder)
|
|
19876
|
+
:host(c4d-legal-nav-cookie-preferences-placeholder),
|
|
19871
19877
|
:host(c4d-legal-nav-item) {
|
|
19872
19878
|
--cds-ai-aura-end: rgba(0, 0, 0, 0);
|
|
19873
19879
|
--cds-ai-aura-hover-background: #333333;
|
|
@@ -20335,7 +20341,7 @@ optgroup.cds--select-optgroup:disabled {
|
|
|
20335
20341
|
outline: 0
|
|
20336
20342
|
}
|
|
20337
20343
|
:host(c4d-footer-nav-item) .cds--footer__link.cds--link,
|
|
20338
|
-
:host(c4d-legal-nav-cookie-preferences-placeholder)
|
|
20344
|
+
:host(c4d-legal-nav-cookie-preferences-placeholder) .cds--footer__link.cds--link,
|
|
20339
20345
|
:host(c4d-legal-nav-item) .cds--footer__link.cds--link {
|
|
20340
20346
|
font-size: var(--cds-body-01-font-size,.875rem);
|
|
20341
20347
|
font-weight: var(--cds-body-01-font-weight,400);
|
|
@@ -20344,31 +20350,34 @@ optgroup.cds--select-optgroup:disabled {
|
|
|
20344
20350
|
}
|
|
20345
20351
|
:host(c4d-footer-nav-item) .cds--footer__link.cds--link,
|
|
20346
20352
|
:host(c4d-footer-nav-item) .cds--footer__link.cds--link:visited,
|
|
20347
|
-
:host(c4d-legal-nav-cookie-preferences-placeholder)
|
|
20348
|
-
:host(c4d-legal-nav-cookie-preferences-placeholder)
|
|
20353
|
+
:host(c4d-legal-nav-cookie-preferences-placeholder) .cds--footer__link.cds--link,
|
|
20354
|
+
:host(c4d-legal-nav-cookie-preferences-placeholder) .cds--footer__link.cds--link:visited,
|
|
20349
20355
|
:host(c4d-legal-nav-item) .cds--footer__link.cds--link,
|
|
20350
20356
|
:host(c4d-legal-nav-item) .cds--footer__link.cds--link:visited {
|
|
20351
20357
|
color: var(--cds-text-secondary,#525252)
|
|
20352
20358
|
}
|
|
20353
20359
|
:host(c4d-footer-nav-item) .cds--footer__link.cds--link:focus,
|
|
20354
|
-
:host(c4d-legal-nav-cookie-preferences-placeholder)
|
|
20360
|
+
:host(c4d-legal-nav-cookie-preferences-placeholder) .cds--footer__link.cds--link:focus,
|
|
20355
20361
|
:host(c4d-legal-nav-item) .cds--footer__link.cds--link:focus {
|
|
20356
20362
|
outline-color: var(--cds-focus,#0f62fe);
|
|
20357
20363
|
outline-offset: -1px
|
|
20358
20364
|
}
|
|
20359
20365
|
:host(c4d-footer-nav-item) .cds--footer__link.cds--link:active,
|
|
20360
|
-
:host(c4d-legal-nav-cookie-preferences-placeholder)
|
|
20366
|
+
:host(c4d-legal-nav-cookie-preferences-placeholder) .cds--footer__link.cds--link:active,
|
|
20361
20367
|
:host(c4d-legal-nav-item) .cds--footer__link.cds--link:active {
|
|
20362
20368
|
color: var(--cds-text-on-color,#fff)
|
|
20363
20369
|
}
|
|
20364
20370
|
:host(c4d-footer-nav-item) .cds--footer__link.cds--link:hover,
|
|
20365
20371
|
:host(c4d-footer-nav-item) .cds--footer__link.cds--link:visited:hover,
|
|
20366
|
-
:host(c4d-legal-nav-cookie-preferences-placeholder)
|
|
20367
|
-
:host(c4d-legal-nav-cookie-preferences-placeholder)
|
|
20372
|
+
:host(c4d-legal-nav-cookie-preferences-placeholder) .cds--footer__link.cds--link:hover,
|
|
20373
|
+
:host(c4d-legal-nav-cookie-preferences-placeholder) .cds--footer__link.cds--link:visited:hover,
|
|
20368
20374
|
:host(c4d-legal-nav-item) .cds--footer__link.cds--link:hover,
|
|
20369
20375
|
:host(c4d-legal-nav-item) .cds--footer__link.cds--link:visited:hover {
|
|
20370
20376
|
color: var(--cds-text-primary,#161616)
|
|
20371
20377
|
}
|
|
20378
|
+
:host(c4d-legal-nav-cookie-preferences-placeholder) .cds--footer__link.cds--link {
|
|
20379
|
+
cursor: pointer
|
|
20380
|
+
}
|
|
20372
20381
|
:host(c4d-legal-nav) .cds--legal-nav__list .cds--legal-nav__list-item .cds--link {
|
|
20373
20382
|
color: var(--cds-text-secondary,#525252)
|
|
20374
20383
|
}
|
|
@@ -20506,8 +20515,8 @@ optgroup.cds--select-optgroup:disabled {
|
|
|
20506
20515
|
padding-inline: 2.5rem
|
|
20507
20516
|
}
|
|
20508
20517
|
}
|
|
20509
|
-
:host(c4d-footer) .
|
|
20510
|
-
:host(c4d-legal-nav) .
|
|
20518
|
+
:host(c4d-footer) .c4d--adjunct-links__container--hidden,
|
|
20519
|
+
:host(c4d-legal-nav) .c4d--adjunct-links__container--hidden {
|
|
20511
20520
|
display: none
|
|
20512
20521
|
}
|
|
20513
20522
|
:host(c4d-footer-nav-group[open]) .cds--accordion__content {
|
|
@@ -27146,7 +27155,7 @@ screen and (prefers-contrast) {
|
|
|
27146
27155
|
padding-block-start: .5rem
|
|
27147
27156
|
}
|
|
27148
27157
|
.cds--legal-nav__list-item,
|
|
27149
|
-
:host(c4d-legal-nav-cookie-preferences-placeholder)
|
|
27158
|
+
:host(c4d-legal-nav-cookie-preferences-placeholder),
|
|
27150
27159
|
:host(c4d-legal-nav-item) {
|
|
27151
27160
|
padding: .5rem 0 0;
|
|
27152
27161
|
-webkit-margin-end: 2rem;
|
|
@@ -27158,14 +27167,14 @@ screen and (prefers-contrast) {
|
|
|
27158
27167
|
}
|
|
27159
27168
|
@media (max-width:41.98rem) {
|
|
27160
27169
|
.cds--legal-nav__list-item:first-child,
|
|
27161
|
-
:host(c4d-legal-nav-cookie-preferences-placeholder)
|
|
27170
|
+
:host(c4d-legal-nav-cookie-preferences-placeholder):first-child,
|
|
27162
27171
|
:host(c4d-legal-nav-item):first-child {
|
|
27163
27172
|
-webkit-padding-before: 0;
|
|
27164
27173
|
padding-block-start: 0
|
|
27165
27174
|
}
|
|
27166
27175
|
}
|
|
27167
27176
|
.cds--legal-nav__list-item:last-child,
|
|
27168
|
-
:host(c4d-legal-nav-cookie-preferences-placeholder)
|
|
27177
|
+
:host(c4d-legal-nav-cookie-preferences-placeholder):last-child,
|
|
27169
27178
|
:host(c4d-legal-nav-item):last-child {
|
|
27170
27179
|
-webkit-margin-end: 0;
|
|
27171
27180
|
margin-inline-end: 0
|
|
@@ -38853,8 +38862,8 @@ button.cds--side-nav__link > .cds--side-nav__link-text {
|
|
|
38853
38862
|
font-size: 3.375rem;
|
|
38854
38863
|
font-size: calc(3.375rem + .375 * (100vw - 66rem)/ 16)
|
|
38855
38864
|
}
|
|
38856
|
-
:host(c4d-leadspace)[size=super] .c4d--
|
|
38857
|
-
block-size:
|
|
38865
|
+
:host(c4d-leadspace)[size=super] .c4d--leadspace--content__container {
|
|
38866
|
+
min-block-size: 38rem
|
|
38858
38867
|
}
|
|
38859
38868
|
}
|
|
38860
38869
|
@media (min-width:82rem) {
|
|
@@ -38878,8 +38887,8 @@ button.cds--side-nav__link > .cds--side-nav__link-text {
|
|
|
38878
38887
|
:host(c4d-leadspace)[size=super] .c4d--leadspace__section {
|
|
38879
38888
|
min-block-size: 40rem
|
|
38880
38889
|
}
|
|
38881
|
-
:host(c4d-leadspace)[size=medium] .c4d--
|
|
38882
|
-
block-size:
|
|
38890
|
+
:host(c4d-leadspace)[size=medium] .c4d--leadspace--content__container {
|
|
38891
|
+
min-block-size: 28rem
|
|
38883
38892
|
}
|
|
38884
38893
|
:host(c4d-leadspace)[size=medium] ::slotted(c4d-leadspace-heading) {
|
|
38885
38894
|
-webkit-margin-after: 4rem;
|
|
@@ -38889,7 +38898,7 @@ button.cds--side-nav__link > .cds--side-nav__link-text {
|
|
|
38889
38898
|
min-block-size: 30rem
|
|
38890
38899
|
}
|
|
38891
38900
|
:host(c4d-leadspace)[size=short] .c4d--leadspace__overlay {
|
|
38892
|
-
block-size: 20rem
|
|
38901
|
+
min-block-size: 20rem
|
|
38893
38902
|
}
|
|
38894
38903
|
:host(c4d-leadspace)[size=short] ::slotted(c4d-leadspace-heading) {
|
|
38895
38904
|
-webkit-margin-after: 4rem;
|
|
@@ -38903,8 +38912,8 @@ button.cds--side-nav__link > .cds--side-nav__link-text {
|
|
|
38903
38912
|
-webkit-margin-after: 6rem;
|
|
38904
38913
|
margin-block-end: 6rem
|
|
38905
38914
|
}
|
|
38906
|
-
:host(c4d-leadspace)[size=tall] .c4d--
|
|
38907
|
-
block-size:
|
|
38915
|
+
:host(c4d-leadspace)[size=tall] .c4d--leadspace--content__container {
|
|
38916
|
+
min-block-size: 33rem
|
|
38908
38917
|
}
|
|
38909
38918
|
:host-context(c4d-leadspace[size=short]) .cds--image__img {
|
|
38910
38919
|
-o-object-position: left top;
|
|
@@ -48634,11 +48643,16 @@ cds-hr {
|
|
|
48634
48643
|
.cds--tableofcontents__sidebar {
|
|
48635
48644
|
position: inherit;
|
|
48636
48645
|
z-index: 10;
|
|
48637
|
-
|
|
48638
|
-
|
|
48646
|
+
-webkit-box-sizing: border-box;
|
|
48647
|
+
box-sizing: border-box;
|
|
48648
|
+
inset-block-start: auto;
|
|
48649
|
+
-webkit-padding-start: 0;
|
|
48650
|
+
padding-inline-start: 0
|
|
48639
48651
|
}
|
|
48640
48652
|
.cds--tableofcontents__content {
|
|
48641
|
-
|
|
48653
|
+
-webkit-box-sizing: border-box;
|
|
48654
|
+
box-sizing: border-box;
|
|
48655
|
+
padding-block: 1rem 3rem
|
|
48642
48656
|
}
|
|
48643
48657
|
.cds--tableofcontents {
|
|
48644
48658
|
-webkit-margin-before: 2rem;
|