@carbon/ibmdotcom-styles 2.16.0-rc.0 → 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.
@@ -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: 4rem;
6958
- padding-block-end: 4rem
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) div,
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) div .cds--footer__link.cds--link,
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) div .cds--footer__link.cds--link,
20348
- :host(c4d-legal-nav-cookie-preferences-placeholder) div .cds--footer__link.cds--link:visited,
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) div .cds--footer__link.cds--link:focus,
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) div .cds--footer__link.cds--link:active,
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) div .cds--footer__link.cds--link:hover,
20367
- :host(c4d-legal-nav-cookie-preferences-placeholder) div .cds--footer__link.cds--link:visited:hover,
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) .cds--adjunct-links__container--hidden,
20510
- :host(c4d-legal-nav) .cds--adjunct-links__container--hidden {
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) div,
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) div:first-child,
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) div:last-child,
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