@carbon/ibmdotcom-styles 2.25.0 → 2.26.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.
@@ -5798,6 +5798,10 @@ screen and (prefers-contrast) {
5798
5798
  -webkit-padding-before: 1rem;
5799
5799
  padding-block-start: 1rem
5800
5800
  }
5801
+ .cds--content-layout--with-complementary.cds--content-layout--with-footer ::slotted([slot=complementary]) {
5802
+ -webkit-padding-before: 2rem;
5803
+ padding-block-start: 2rem
5804
+ }
5801
5805
  }
5802
5806
  .c4d--lightbox-media-viewer__container .c4d--lightbox-media-viewer__content__desc,
5803
5807
  :host(c4d-lightbox-media-viewer-body) .c4d--lightbox-media-viewer__content__desc {
@@ -6597,12 +6601,6 @@ screen and (prefers-contrast) {
6597
6601
  .cds--content-layout--with-complementary ::slotted([slot=complementary]) {
6598
6602
  margin-inline: 1rem
6599
6603
  }
6600
- @media (max-width:65.98rem) {
6601
- .cds--content-layout--with-complementary.cds--content-layout--with-footer ::slotted([slot=complementary]) {
6602
- -webkit-padding-before: 2rem;
6603
- padding-block-start: 2rem
6604
- }
6605
- }
6606
6604
  .cds--content-layout--with-children .c4d--content-block-footer {
6607
6605
  -webkit-padding-before: 2rem;
6608
6606
  padding-block-start: 2rem
@@ -6945,8 +6943,7 @@ screen and (prefers-contrast) {
6945
6943
  }
6946
6944
  :host(c4d-image)[heading] {
6947
6945
  display: block;
6948
- margin-block: 2rem;
6949
- max-inline-size: 40rem
6946
+ margin-block: 2rem
6950
6947
  }
6951
6948
  .c4d--image-with-caption__image {
6952
6949
  position: relative;
@@ -7008,7 +7005,8 @@ screen and (prefers-contrast) {
7008
7005
  letter-spacing: var(--cds-body-01-letter-spacing,.16px);
7009
7006
  color: var(--cds-text-helper,#6f6f6f);
7010
7007
  -webkit-margin-before: .5rem;
7011
- margin-block-start: .5rem
7008
+ margin-block-start: .5rem;
7009
+ max-inline-size: 40rem
7012
7010
  }
7013
7011
  :host(c4d-image[lightbox-contrast=dark]) .c4d--image-with-caption__zoom-button {
7014
7012
  background-color: rgba(255,255,255,.85)
@@ -13383,7 +13381,7 @@ screen and (prefers-contrast) {
13383
13381
  display: flex;
13384
13382
  -ms-flex-line-pack: start;
13385
13383
  align-content: flex-start;
13386
- padding: .75rem 0;
13384
+ padding: .5rem 0;
13387
13385
  gap: .5rem;
13388
13386
  inline-size: 100%
13389
13387
  }
@@ -47390,12 +47388,6 @@ strong {
47390
47388
  .cds--row--narrow .cds--quote__source {
47391
47389
  padding-inline: 0 1rem
47392
47390
  }
47393
- @media (max-width:41.98rem) {
47394
- .cds--quote__source {
47395
- -webkit-padding-after: 1rem;
47396
- padding-block-end: 1rem
47397
- }
47398
- }
47399
47391
  :host(c4d-quote-source-bottom-copy),
47400
47392
  :host(c4d-quote-source-copy),
47401
47393
  :host(c4d-quote-source-heading) {
@@ -47471,50 +47463,49 @@ strong {
47471
47463
  :host(c4d-quote-link-with-icon) {
47472
47464
  display: inline-block
47473
47465
  }
47474
- .cds-bubble-quote {
47475
- position: relative;
47476
- padding: 2.5rem;
47477
- border: 1px solid #8d8d8d;
47478
- border-radius: .25rem;
47479
- background: #f4f4f4;
47480
- -webkit-margin-after: 3.81rem;
47481
- margin-block-end: 3.81rem;
47482
- margin-inline: 0
47483
- }
47484
47466
  .cds-bubble-quote .bubble-pointer {
47485
- --fill: #f4f4f4;
47486
- --stroke: #8d8d8d;
47487
- position: absolute;
47488
- inset-block-start: 100%;
47489
- inset-inline-start: 2rem
47490
- }
47491
- .cds-bubble-quote .bubble-pointer-fill {
47492
- fill: var(--fill)
47493
- }
47494
- .cds-bubble-quote .bubble-pointer-stroke {
47495
- stroke: var(--stroke)
47496
- }
47497
- :host([mark-type=bubble-quote]) span.cds--quote__mark[part~=mark--opening] {
47498
- z-index: 1;
47499
- inset-block-start: 2.5rem;
47500
- inset-inline-start: .875rem
47501
- }
47502
- @media (max-width:65.98rem) {
47503
- :host([mark-type=bubble-quote]) span.cds--quote__mark[part~=mark--opening] {
47504
- inset-inline-start: 1.25rem
47505
- }
47467
+ display: none
47506
47468
  }
47507
47469
  @media (max-width:41.98rem) {
47470
+ .cds--quote__source {
47471
+ -webkit-padding-after: 1rem;
47472
+ padding-block-end: 1rem
47473
+ }
47508
47474
  .cds-bubble-quote {
47475
+ position: relative;
47476
+ padding: 2.5rem;
47477
+ border: 1px solid #8d8d8d;
47478
+ border-radius: .25rem;
47479
+ background: #f4f4f4;
47480
+ -webkit-margin-after: 3.81rem;
47481
+ margin-block-end: 3.81rem;
47509
47482
  margin-inline: 16px;
47510
47483
  max-inline-size: calc(100% - 32px)
47511
47484
  }
47512
47485
  .cds-bubble-quote .bubble-pointer {
47513
- inset-block-start: calc(100% - 1px)
47486
+ --fill: #f4f4f4;
47487
+ --stroke: #8d8d8d;
47488
+ position: absolute;
47489
+ display: block;
47490
+ inset-block-start: 100%;
47491
+ inset-inline-start: 2rem
47514
47492
  }
47515
- :host([mark-type=bubble-quote]) span.cds--quote__mark[part~=mark--opening] {
47493
+ .cds-bubble-quote .bubble-pointer-fill {
47494
+ fill: var(--fill)
47495
+ }
47496
+ .cds-bubble-quote .bubble-pointer-stroke {
47497
+ stroke: var(--stroke)
47498
+ }
47499
+ :host([appearance=bubble-quote]) span.cds--quote__mark[part~=mark--opening],
47500
+ :host([appearance=card]) span.cds--quote__mark[part~=mark--opening] {
47501
+ z-index: 1;
47502
+ inset-block-start: 2.5rem;
47516
47503
  inset-inline-start: 2.8rem
47517
47504
  }
47505
+ :host([appearance=bubble-quote])[mark-type=corner-bracket] span.cds--quote__mark[part~=mark--opening],
47506
+ :host([appearance=card])[mark-type=corner-bracket] span.cds--quote__mark[part~=mark--opening] {
47507
+ inset-inline-start: 2.2rem
47508
+ }
47518
47509
  }
47519
47510
  :host([lang=ar]) .cds-bubble-quote .bubble-pointer {
47520
47511
  inset-inline: auto 2rem;
@@ -47528,6 +47519,10 @@ strong {
47528
47519
  padding-inline: 1rem
47529
47520
  }
47530
47521
  @media (min-width:42rem) {
47522
+ :host([appearance=bubble-quote])[mark-type=corner-bracket] span.cds--quote__mark[part~=mark--opening],
47523
+ :host([appearance=card])[mark-type=corner-bracket] span.cds--quote__mark[part~=mark--opening] {
47524
+ inset-inline-start: -1.125rem
47525
+ }
47531
47526
  .cds--grid,
47532
47527
  :host(c4d-table-of-contents) {
47533
47528
  padding-inline: 2rem