@carbon/ibmdotcom-styles 2.16.0-rc.2 → 2.16.0-rc.3
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.
|
@@ -3883,15 +3883,15 @@ screen and (prefers-contrast) {
|
|
|
3883
3883
|
-webkit-padding-before: 0;
|
|
3884
3884
|
padding-block-start: 0
|
|
3885
3885
|
}
|
|
3886
|
-
.c4d--video-player[background-mode
|
|
3887
|
-
:host(c4d-video-player[background-mode
|
|
3886
|
+
.c4d--video-player[background-mode] .c4d--video-player__video-container,
|
|
3887
|
+
:host(c4d-video-player[background-mode]) .c4d--video-player__video-container {
|
|
3888
3888
|
padding: 0;
|
|
3889
3889
|
block-size: 100%
|
|
3890
3890
|
}
|
|
3891
|
-
.c4d--video-player[background-mode
|
|
3892
|
-
.c4d--video-player[background-mode
|
|
3893
|
-
:host(c4d-video-player[background-mode
|
|
3894
|
-
:host(c4d-video-player[background-mode
|
|
3891
|
+
.c4d--video-player[background-mode] .c4d--video-player__video,
|
|
3892
|
+
.c4d--video-player[background-mode] ::slotted(.c4d--video-player__video),
|
|
3893
|
+
:host(c4d-video-player[background-mode]) .c4d--video-player__video,
|
|
3894
|
+
:host(c4d-video-player[background-mode]) ::slotted(.c4d--video-player__video) {
|
|
3895
3895
|
aspect-ratio: var(--native-file-aspect-ratio,16/9);
|
|
3896
3896
|
inset: 50% 0 0 50%;
|
|
3897
3897
|
min-block-size: 100%;
|
|
@@ -9765,6 +9765,26 @@ screen and (prefers-contrast) {
|
|
|
9765
9765
|
inset-block-start: 0;
|
|
9766
9766
|
opacity: 16%
|
|
9767
9767
|
}
|
|
9768
|
+
.cds--card .cds--card,
|
|
9769
|
+
:host(c4d-card) .cds--card,
|
|
9770
|
+
:host(c4d-card-cta) .cds--card,
|
|
9771
|
+
:host(c4d-card-group-item) .cds--card,
|
|
9772
|
+
:host(c4d-card-group-item) .cds--card .cds--card,
|
|
9773
|
+
:host(c4d-card-in-card) .cds--card,
|
|
9774
|
+
:host(c4d-content-group-cards-item) .cds--card,
|
|
9775
|
+
:host(c4d-content-group-cards-item) .cds--card .cds--card,
|
|
9776
|
+
:host(c4d-region-item) .cds--link .cds--card {
|
|
9777
|
+
display: -webkit-box;
|
|
9778
|
+
display: -ms-flexbox;
|
|
9779
|
+
display: flex;
|
|
9780
|
+
-webkit-box-orient: vertical;
|
|
9781
|
+
-webkit-box-direction: normal;
|
|
9782
|
+
-ms-flex-direction: column;
|
|
9783
|
+
flex-direction: column;
|
|
9784
|
+
-webkit-box-pack: justify;
|
|
9785
|
+
-ms-flex-pack: justify;
|
|
9786
|
+
justify-content: space-between
|
|
9787
|
+
}
|
|
9768
9788
|
.cds--card .cds--card__wrapper,
|
|
9769
9789
|
:host(c4d-card) .cds--card__wrapper,
|
|
9770
9790
|
:host(c4d-card-cta) .cds--card__wrapper,
|
|
@@ -10538,43 +10558,43 @@ screen and (prefers-contrast) {
|
|
|
10538
10558
|
margin-inline-end: .5rem
|
|
10539
10559
|
}
|
|
10540
10560
|
:host(c4d-card)[color-scheme=inverse]:not([disabled]) .cds--tile,
|
|
10541
|
-
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]) .cds--
|
|
10561
|
+
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]) .cds--tile {
|
|
10542
10562
|
border-color: var(--cds-background-inverse,#393939);
|
|
10543
10563
|
background-color: var(--cds-background-inverse,#393939)
|
|
10544
10564
|
}
|
|
10565
|
+
:host(c4d-card)[color-scheme=inverse]:not([disabled]) .cds--tile:hover .c4d-image,
|
|
10545
10566
|
:host(c4d-card)[color-scheme=inverse]:not([disabled]) .cds--tile:hover ::slotted(c4d-card-cta-image),
|
|
10546
10567
|
:host(c4d-card)[color-scheme=inverse]:not([disabled]) .cds--tile:hover ::slotted(c4d-image),
|
|
10547
|
-
:host(c4d-card)[color-scheme=inverse]:not([disabled]) .cds--tile:hover c4d-image,
|
|
10548
|
-
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]) .cds--
|
|
10549
|
-
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]) .cds--
|
|
10550
|
-
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]) .cds--card .cds--tile:hover c4d-image {
|
|
10568
|
+
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]) .cds--tile:hover .c4d-image,
|
|
10569
|
+
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]) .cds--tile:hover ::slotted(c4d-card-cta-image),
|
|
10570
|
+
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]) .cds--tile:hover ::slotted(c4d-image) {
|
|
10551
10571
|
-webkit-filter: brightness(108%);
|
|
10552
10572
|
filter: brightness(108%)
|
|
10553
10573
|
}
|
|
10574
|
+
:host(c4d-card)[color-scheme=inverse]:not([disabled]) .cds--tile:hover .c4d-image::after,
|
|
10554
10575
|
:host(c4d-card)[color-scheme=inverse]:not([disabled]) .cds--tile:hover ::slotted(c4d-card-cta-image)::after,
|
|
10555
10576
|
:host(c4d-card)[color-scheme=inverse]:not([disabled]) .cds--tile:hover ::slotted(c4d-image)::after,
|
|
10556
|
-
:host(c4d-card)[color-scheme=inverse]:not([disabled]) .cds--tile:hover c4d-image::after,
|
|
10557
|
-
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]) .cds--
|
|
10558
|
-
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]) .cds--
|
|
10559
|
-
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]) .cds--card .cds--tile:hover c4d-image::after {
|
|
10577
|
+
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]) .cds--tile:hover .c4d-image::after,
|
|
10578
|
+
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]) .cds--tile:hover ::slotted(c4d-card-cta-image)::after,
|
|
10579
|
+
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]) .cds--tile:hover ::slotted(c4d-image)::after {
|
|
10560
10580
|
display: none
|
|
10561
10581
|
}
|
|
10562
10582
|
:host(c4d-card)[color-scheme=inverse]:not([disabled]) .cds--card__wrapper:hover,
|
|
10563
|
-
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]) .cds--
|
|
10583
|
+
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]) .cds--card__wrapper:hover {
|
|
10564
10584
|
background-color: var(--cds-background-inverse-hover,#474747)
|
|
10565
10585
|
}
|
|
10566
10586
|
:host(c4d-card)[color-scheme=inverse]:not([disabled]) .cds--card__copy,
|
|
10567
10587
|
:host(c4d-card)[color-scheme=inverse]:not([disabled]) .cds--card__heading,
|
|
10568
|
-
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]) .cds--
|
|
10569
|
-
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]) .cds--
|
|
10588
|
+
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]) .cds--card__copy,
|
|
10589
|
+
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]) .cds--card__heading {
|
|
10570
10590
|
color: var(--cds-icon-inverse,#fff)
|
|
10571
10591
|
}
|
|
10572
10592
|
:host(c4d-card)[color-scheme=inverse]:not([disabled]) .cds--card__eyebrow,
|
|
10573
|
-
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]) .cds--
|
|
10593
|
+
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]) .cds--card__eyebrow {
|
|
10574
10594
|
color: var(--cds-text-placeholder,rgba(22,22,22,.4))
|
|
10575
10595
|
}
|
|
10576
10596
|
:host(c4d-card)[color-scheme=inverse]:not([disabled]):focus-within::after,
|
|
10577
|
-
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled])
|
|
10597
|
+
:host(c4d-card-group-item)[color-scheme=inverse]:not([disabled]):focus-within::after {
|
|
10578
10598
|
position: absolute;
|
|
10579
10599
|
z-index: 2;
|
|
10580
10600
|
border: .125rem solid var(--cds-focus,#0f62fe);
|
|
@@ -12877,8 +12897,7 @@ screen and (prefers-contrast) {
|
|
|
12877
12897
|
}
|
|
12878
12898
|
:host(c4d-link-list) .c4d--link-list__list--vertical,
|
|
12879
12899
|
:host(c4d-link-list) .c4d-ce--link-list__list--end {
|
|
12880
|
-
display: grid
|
|
12881
|
-
grid-auto-rows: 1fr
|
|
12900
|
+
display: grid
|
|
12882
12901
|
}
|
|
12883
12902
|
:host(c4d-link-list) .c4d--link-list__list--vertical ::slotted(c4d-link-list-item),
|
|
12884
12903
|
:host(c4d-link-list) .c4d--link-list__list--vertical ::slotted(c4d-link-list-item-cta),
|
|
@@ -12886,7 +12905,8 @@ screen and (prefers-contrast) {
|
|
|
12886
12905
|
:host(c4d-link-list) .c4d-ce--link-list__list--end ::slotted(c4d-link-list-item-cta) {
|
|
12887
12906
|
outline: 0
|
|
12888
12907
|
}
|
|
12889
|
-
:host(c4d-link-list) .c4d--link-list__list--vertical ::slotted(c4d-link-list-item)
|
|
12908
|
+
:host(c4d-link-list) .c4d--link-list__list--vertical ::slotted(c4d-link-list-item),
|
|
12909
|
+
:host(c4d-link-list) .c4d--link-list__list--vertical ::slotted(c4d-link-list-item-cta) {
|
|
12890
12910
|
display: -webkit-box;
|
|
12891
12911
|
display: -ms-flexbox;
|
|
12892
12912
|
display: flex
|
|
@@ -12895,7 +12915,9 @@ screen and (prefers-contrast) {
|
|
|
12895
12915
|
display: contents
|
|
12896
12916
|
}
|
|
12897
12917
|
:host(c4d-link-list) .c4d-ce--link-list__list--split ::slotted(c4d-link-list-item),
|
|
12898
|
-
:host(c4d-link-list) .c4d-ce--link-list__list--
|
|
12918
|
+
:host(c4d-link-list) .c4d-ce--link-list__list--split ::slotted(c4d-link-list-item-cta),
|
|
12919
|
+
:host(c4d-link-list) .c4d-ce--link-list__list--three-columns ::slotted(c4d-link-list-item),
|
|
12920
|
+
:host(c4d-link-list) .c4d-ce--link-list__list--three-columns ::slotted(c4d-link-list-item-cta) {
|
|
12899
12921
|
display: grid;
|
|
12900
12922
|
-webkit-box-align: stretch;
|
|
12901
12923
|
-ms-flex-align: stretch;
|
|
@@ -12912,10 +12934,6 @@ screen and (prefers-contrast) {
|
|
|
12912
12934
|
display: grid;
|
|
12913
12935
|
grid-column-gap: 2rem
|
|
12914
12936
|
}
|
|
12915
|
-
:host(c4d-link-list) .c4d-ce--link-list__list--split ::slotted(c4d-link-list-item),
|
|
12916
|
-
:host(c4d-link-list) .c4d-ce--link-list__list--three-columns ::slotted(c4d-link-list-item) {
|
|
12917
|
-
margin-inline: -1rem 0
|
|
12918
|
-
}
|
|
12919
12937
|
:host(c4d-link-list) .c4d-ce--link-list__list--split {
|
|
12920
12938
|
grid-template-columns: 1fr 1fr
|
|
12921
12939
|
}
|
|
@@ -12923,12 +12941,21 @@ screen and (prefers-contrast) {
|
|
|
12923
12941
|
grid-template-columns: 1fr 1fr 1fr
|
|
12924
12942
|
}
|
|
12925
12943
|
}
|
|
12926
|
-
:host(c4d-link-list-item) .cds--link
|
|
12944
|
+
:host(c4d-link-list-item) .cds--link,
|
|
12945
|
+
:host(c4d-link-list-item-cta) .cds--link {
|
|
12946
|
+
display: -webkit-box;
|
|
12947
|
+
display: -ms-flexbox;
|
|
12948
|
+
display: flex;
|
|
12927
12949
|
-ms-flex-line-pack: start;
|
|
12928
|
-
align-content: flex-start
|
|
12950
|
+
align-content: flex-start;
|
|
12951
|
+
padding: .75rem 0;
|
|
12952
|
+
gap: .5rem;
|
|
12953
|
+
inline-size: 100%
|
|
12929
12954
|
}
|
|
12930
12955
|
:host(c4d-link-list-item) .cds--link ::slotted(svg[slot=icon]),
|
|
12931
|
-
:host(c4d-link-list-item) .cds--link span
|
|
12956
|
+
:host(c4d-link-list-item) .cds--link span,
|
|
12957
|
+
:host(c4d-link-list-item-cta) .cds--link ::slotted(svg[slot=icon]),
|
|
12958
|
+
:host(c4d-link-list-item-cta) .cds--link span {
|
|
12932
12959
|
-ms-flex-item-align: start;
|
|
12933
12960
|
align-self: flex-start
|
|
12934
12961
|
}
|
|
@@ -12945,15 +12972,6 @@ screen and (prefers-contrast) {
|
|
|
12945
12972
|
:host(c4d-link-list-heading) .cds--link {
|
|
12946
12973
|
cursor: pointer
|
|
12947
12974
|
}
|
|
12948
|
-
:host(c4d-link-list-item)[type=default] .cds--link,
|
|
12949
|
-
:host(c4d-link-list-item)[type=end] .cds--link,
|
|
12950
|
-
:host(c4d-link-list-item-cta)[type=default] .cds--link {
|
|
12951
|
-
display: -webkit-box;
|
|
12952
|
-
display: -ms-flexbox;
|
|
12953
|
-
display: flex;
|
|
12954
|
-
padding: 1rem 0;
|
|
12955
|
-
inline-size: 100%
|
|
12956
|
-
}
|
|
12957
12975
|
.c4d--link-list__list ::slotted(c4d-link-list-item),
|
|
12958
12976
|
.c4d--link-list__list ::slotted(c4d-link-list-item-cta) {
|
|
12959
12977
|
display: -webkit-box;
|
|
@@ -12984,8 +13002,8 @@ screen and (prefers-contrast) {
|
|
|
12984
13002
|
padding-inline-end: 2rem
|
|
12985
13003
|
}
|
|
12986
13004
|
.c4d--link-list__list--vertical ::slotted(*) {
|
|
12987
|
-
-webkit-margin-after:
|
|
12988
|
-
margin-block-end:
|
|
13005
|
+
-webkit-margin-after: 0;
|
|
13006
|
+
margin-block-end: 0
|
|
12989
13007
|
}
|
|
12990
13008
|
:host(c4d-link-list-item) .cds--link-with-icon__icon-left ::slotted(svg[slot=icon]),
|
|
12991
13009
|
:host(c4d-link-list-item-cta) .cds--link-with-icon__icon-left ::slotted(svg[slot=icon]) {
|
|
@@ -13008,10 +13026,6 @@ screen and (prefers-contrast) {
|
|
|
13008
13026
|
.cds--content-layout--with-headlines {
|
|
13009
13027
|
grid-template: "heading heading ." auto "body body ." auto "footer . ." auto/1fr 1fr 1fr
|
|
13010
13028
|
}
|
|
13011
|
-
.c4d-ce--link-list__list--end ::slotted(c4d-link-list-item),
|
|
13012
|
-
.c4d-ce--link-list__list--end ::slotted(c4d-link-list-item-cta) {
|
|
13013
|
-
margin-inline: -1rem
|
|
13014
|
-
}
|
|
13015
13029
|
:host(c4d-content-item-row) {
|
|
13016
13030
|
padding-block: 2rem 4rem
|
|
13017
13031
|
}
|