@carbon/ibmdotcom-styles 2.24.0 → 2.26.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/dist/ibm-dotcom-styles.css +51 -49
- package/dist/ibm-dotcom-styles.min.css +2 -2
- package/package.json +2 -2
- package/scss/components/background-media/_background-media.scss +10 -0
- package/scss/components/card-section-offset/_card-section-offset.scss +14 -1
- package/scss/components/carousel/_carousel.scss +7 -1
- package/scss/components/image/_image.scss +3 -2
- package/scss/components/link-list/_link-list.scss +2 -2
- package/scss/components/quote/_quote.scss +50 -34
|
@@ -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)
|
|
@@ -13003,6 +13001,13 @@ screen and (prefers-contrast) {
|
|
|
13003
13001
|
padding-block-start: 2rem
|
|
13004
13002
|
}
|
|
13005
13003
|
}
|
|
13004
|
+
:host(:dir(rtl)) ::slotted([slot=heading]) {
|
|
13005
|
+
margin-right: 1rem
|
|
13006
|
+
}
|
|
13007
|
+
:host(:dir(rtl)) ::slotted([slot=action]) {
|
|
13008
|
+
display: block!important;
|
|
13009
|
+
margin-right: 1rem!important
|
|
13010
|
+
}
|
|
13006
13011
|
@media print {
|
|
13007
13012
|
.cds--card-section-offset__content,
|
|
13008
13013
|
:host(c4d-card-section-offset) {
|
|
@@ -13376,7 +13381,7 @@ screen and (prefers-contrast) {
|
|
|
13376
13381
|
display: flex;
|
|
13377
13382
|
-ms-flex-line-pack: start;
|
|
13378
13383
|
align-content: flex-start;
|
|
13379
|
-
padding: .
|
|
13384
|
+
padding: .5rem 0;
|
|
13380
13385
|
gap: .5rem;
|
|
13381
13386
|
inline-size: 100%
|
|
13382
13387
|
}
|
|
@@ -47383,12 +47388,6 @@ strong {
|
|
|
47383
47388
|
.cds--row--narrow .cds--quote__source {
|
|
47384
47389
|
padding-inline: 0 1rem
|
|
47385
47390
|
}
|
|
47386
|
-
@media (max-width:41.98rem) {
|
|
47387
|
-
.cds--quote__source {
|
|
47388
|
-
-webkit-padding-after: 1rem;
|
|
47389
|
-
padding-block-end: 1rem
|
|
47390
|
-
}
|
|
47391
|
-
}
|
|
47392
47391
|
:host(c4d-quote-source-bottom-copy),
|
|
47393
47392
|
:host(c4d-quote-source-copy),
|
|
47394
47393
|
:host(c4d-quote-source-heading) {
|
|
@@ -47464,50 +47463,49 @@ strong {
|
|
|
47464
47463
|
:host(c4d-quote-link-with-icon) {
|
|
47465
47464
|
display: inline-block
|
|
47466
47465
|
}
|
|
47467
|
-
.cds-bubble-quote {
|
|
47468
|
-
position: relative;
|
|
47469
|
-
padding: 2.5rem;
|
|
47470
|
-
border: 1px solid #8d8d8d;
|
|
47471
|
-
border-radius: .25rem;
|
|
47472
|
-
background: #f4f4f4;
|
|
47473
|
-
-webkit-margin-after: 3.81rem;
|
|
47474
|
-
margin-block-end: 3.81rem;
|
|
47475
|
-
margin-inline: 0
|
|
47476
|
-
}
|
|
47477
47466
|
.cds-bubble-quote .bubble-pointer {
|
|
47478
|
-
|
|
47479
|
-
--stroke: #8d8d8d;
|
|
47480
|
-
position: absolute;
|
|
47481
|
-
inset-block-start: 100%;
|
|
47482
|
-
inset-inline-start: 2rem
|
|
47483
|
-
}
|
|
47484
|
-
.cds-bubble-quote .bubble-pointer-fill {
|
|
47485
|
-
fill: var(--fill)
|
|
47486
|
-
}
|
|
47487
|
-
.cds-bubble-quote .bubble-pointer-stroke {
|
|
47488
|
-
stroke: var(--stroke)
|
|
47489
|
-
}
|
|
47490
|
-
:host([mark-type=bubble-quote]) span.cds--quote__mark[part~=mark--opening] {
|
|
47491
|
-
z-index: 1;
|
|
47492
|
-
inset-block-start: 2.5rem;
|
|
47493
|
-
inset-inline-start: .875rem
|
|
47494
|
-
}
|
|
47495
|
-
@media (max-width:65.98rem) {
|
|
47496
|
-
:host([mark-type=bubble-quote]) span.cds--quote__mark[part~=mark--opening] {
|
|
47497
|
-
inset-inline-start: 1.25rem
|
|
47498
|
-
}
|
|
47467
|
+
display: none
|
|
47499
47468
|
}
|
|
47500
47469
|
@media (max-width:41.98rem) {
|
|
47470
|
+
.cds--quote__source {
|
|
47471
|
+
-webkit-padding-after: 1rem;
|
|
47472
|
+
padding-block-end: 1rem
|
|
47473
|
+
}
|
|
47501
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;
|
|
47502
47482
|
margin-inline: 16px;
|
|
47503
47483
|
max-inline-size: calc(100% - 32px)
|
|
47504
47484
|
}
|
|
47505
47485
|
.cds-bubble-quote .bubble-pointer {
|
|
47506
|
-
|
|
47486
|
+
--fill: #f4f4f4;
|
|
47487
|
+
--stroke: #8d8d8d;
|
|
47488
|
+
position: absolute;
|
|
47489
|
+
display: block;
|
|
47490
|
+
inset-block-start: 100%;
|
|
47491
|
+
inset-inline-start: 2rem
|
|
47492
|
+
}
|
|
47493
|
+
.cds-bubble-quote .bubble-pointer-fill {
|
|
47494
|
+
fill: var(--fill)
|
|
47495
|
+
}
|
|
47496
|
+
.cds-bubble-quote .bubble-pointer-stroke {
|
|
47497
|
+
stroke: var(--stroke)
|
|
47507
47498
|
}
|
|
47508
|
-
:host([
|
|
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;
|
|
47509
47503
|
inset-inline-start: 2.8rem
|
|
47510
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
|
+
}
|
|
47511
47509
|
}
|
|
47512
47510
|
:host([lang=ar]) .cds-bubble-quote .bubble-pointer {
|
|
47513
47511
|
inset-inline: auto 2rem;
|
|
@@ -47521,6 +47519,10 @@ strong {
|
|
|
47521
47519
|
padding-inline: 1rem
|
|
47522
47520
|
}
|
|
47523
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
|
+
}
|
|
47524
47526
|
.cds--grid,
|
|
47525
47527
|
:host(c4d-table-of-contents) {
|
|
47526
47528
|
padding-inline: 2rem
|