@carbon/ibmdotcom-styles 2.23.0 → 2.25.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 +72 -19
- package/dist/ibm-dotcom-styles.min.css +1 -1
- package/package.json +2 -2
- package/scss/components/background-media/_background-media.scss +10 -0
- package/scss/components/card-group/_card-group.scss +48 -0
- package/scss/components/card-section-offset/_card-section-offset.scss +14 -1
|
@@ -12653,11 +12653,6 @@ screen and (prefers-contrast) {
|
|
|
12653
12653
|
padding-block-start: 0;
|
|
12654
12654
|
padding-inline: 1px
|
|
12655
12655
|
}
|
|
12656
|
-
@media (max-width:41.98rem) {
|
|
12657
|
-
:host(c4d-card-group[with-card-in-card][grid-mode]) {
|
|
12658
|
-
padding-inline: 1rem
|
|
12659
|
-
}
|
|
12660
|
-
}
|
|
12661
12656
|
:host(c4d-card-group[with-card-in-card][grid-mode=default]) {
|
|
12662
12657
|
-webkit-padding-before: 2rem;
|
|
12663
12658
|
padding-block-start: 2rem
|
|
@@ -12784,6 +12779,22 @@ screen and (prefers-contrast) {
|
|
|
12784
12779
|
-webkit-padding-before: .5rem;
|
|
12785
12780
|
padding-block-start: .5rem
|
|
12786
12781
|
}
|
|
12782
|
+
@media (min-width:42rem) {
|
|
12783
|
+
:host(c4d-card-group)[grid-mode=narrow] {
|
|
12784
|
+
gap: 0 1rem;
|
|
12785
|
+
-webkit-padding-before: 1rem;
|
|
12786
|
+
padding-block-start: 1rem
|
|
12787
|
+
}
|
|
12788
|
+
:host(c4d-card-group)[grid-mode=default] {
|
|
12789
|
+
gap: 0 2rem;
|
|
12790
|
+
-webkit-padding-before: 1rem;
|
|
12791
|
+
padding-block-start: 1rem
|
|
12792
|
+
}
|
|
12793
|
+
:host(c4d-card-group)[grid-mode=condensed] {
|
|
12794
|
+
-webkit-padding-before: 1rem;
|
|
12795
|
+
padding-block-start: 1rem
|
|
12796
|
+
}
|
|
12797
|
+
}
|
|
12787
12798
|
:host(c4d-card-group-item)[cta-type=video]:focus-within .cds--tile {
|
|
12788
12799
|
position: relative;
|
|
12789
12800
|
outline: 0
|
|
@@ -12797,6 +12808,55 @@ screen and (prefers-contrast) {
|
|
|
12797
12808
|
inset: 0;
|
|
12798
12809
|
pointer-events: none
|
|
12799
12810
|
}
|
|
12811
|
+
@media (max-width:41.98rem) {
|
|
12812
|
+
:host(c4d-card-group[with-card-in-card][grid-mode]) {
|
|
12813
|
+
padding-inline: 1rem
|
|
12814
|
+
}
|
|
12815
|
+
:host(c4d-card-group).inside-block-cards:not(.media-type-block-cards__logo) {
|
|
12816
|
+
overflow: scroll hidden;
|
|
12817
|
+
inline-size: 100%;
|
|
12818
|
+
max-inline-size: 100vw;
|
|
12819
|
+
overscroll-behavior-x: contain;
|
|
12820
|
+
padding-block: 4px 1rem;
|
|
12821
|
+
-ms-scroll-snap-type: x mandatory;
|
|
12822
|
+
scroll-snap-type: x mandatory;
|
|
12823
|
+
display: -webkit-box;
|
|
12824
|
+
display: -ms-flexbox;
|
|
12825
|
+
display: flex;
|
|
12826
|
+
gap: 1rem;
|
|
12827
|
+
padding-inline: 1rem
|
|
12828
|
+
}
|
|
12829
|
+
:host(c4d-card-group).inside-block-cards:not(.media-type-block-cards__logo) > ::slotted(a) {
|
|
12830
|
+
display: grid!important;
|
|
12831
|
+
-webkit-box-sizing: border-box;
|
|
12832
|
+
box-sizing: border-box;
|
|
12833
|
+
-ms-flex-preferred-size: clamp(220px,65vw,400px);
|
|
12834
|
+
flex-basis: clamp(220px,65vw,400px);
|
|
12835
|
+
-ms-flex-negative: 0;
|
|
12836
|
+
flex-shrink: 0;
|
|
12837
|
+
-ms-flex-line-pack: start;
|
|
12838
|
+
align-content: start;
|
|
12839
|
+
block-size: auto;
|
|
12840
|
+
padding-inline: 0;
|
|
12841
|
+
scroll-margin: 1rem;
|
|
12842
|
+
scroll-snap-align: start
|
|
12843
|
+
}
|
|
12844
|
+
:host(c4d-card-group).inside-block-cards:not(.media-type-block-cards__logo) > ::slotted(c4d-card-group-item) {
|
|
12845
|
+
display: grid;
|
|
12846
|
+
-webkit-box-sizing: border-box;
|
|
12847
|
+
box-sizing: border-box;
|
|
12848
|
+
-ms-flex-preferred-size: clamp(220px,65vw,400px);
|
|
12849
|
+
flex-basis: clamp(220px,65vw,400px);
|
|
12850
|
+
-ms-flex-negative: 0;
|
|
12851
|
+
flex-shrink: 0;
|
|
12852
|
+
-ms-flex-line-pack: start;
|
|
12853
|
+
align-content: start;
|
|
12854
|
+
block-size: auto;
|
|
12855
|
+
padding-inline: 0;
|
|
12856
|
+
scroll-margin: 1rem;
|
|
12857
|
+
scroll-snap-align: start
|
|
12858
|
+
}
|
|
12859
|
+
}
|
|
12800
12860
|
@media print and (min-width:42rem) {
|
|
12801
12861
|
:host(c4d-card-group-card-link-item)[empty],
|
|
12802
12862
|
:host(c4d-card-group-item)[empty] {
|
|
@@ -12894,20 +12954,6 @@ screen and (prefers-contrast) {
|
|
|
12894
12954
|
max-inline-size: 40rem
|
|
12895
12955
|
}
|
|
12896
12956
|
@media (min-width:42rem) {
|
|
12897
|
-
:host(c4d-card-group)[grid-mode=narrow] {
|
|
12898
|
-
gap: 0 1rem;
|
|
12899
|
-
-webkit-padding-before: 1rem;
|
|
12900
|
-
padding-block-start: 1rem
|
|
12901
|
-
}
|
|
12902
|
-
:host(c4d-card-group)[grid-mode=default] {
|
|
12903
|
-
gap: 0 2rem;
|
|
12904
|
-
-webkit-padding-before: 1rem;
|
|
12905
|
-
padding-block-start: 1rem
|
|
12906
|
-
}
|
|
12907
|
-
:host(c4d-card-group)[grid-mode=condensed] {
|
|
12908
|
-
-webkit-padding-before: 1rem;
|
|
12909
|
-
padding-block-start: 1rem
|
|
12910
|
-
}
|
|
12911
12957
|
:host(c4d-card-section-offset) ::slotted(c4d-background-media) {
|
|
12912
12958
|
position: absolute;
|
|
12913
12959
|
aspect-ratio: auto;
|
|
@@ -12957,6 +13003,13 @@ screen and (prefers-contrast) {
|
|
|
12957
13003
|
padding-block-start: 2rem
|
|
12958
13004
|
}
|
|
12959
13005
|
}
|
|
13006
|
+
:host(:dir(rtl)) ::slotted([slot=heading]) {
|
|
13007
|
+
margin-right: 1rem
|
|
13008
|
+
}
|
|
13009
|
+
:host(:dir(rtl)) ::slotted([slot=action]) {
|
|
13010
|
+
display: block!important;
|
|
13011
|
+
margin-right: 1rem!important
|
|
13012
|
+
}
|
|
12960
13013
|
@media print {
|
|
12961
13014
|
.cds--card-section-offset__content,
|
|
12962
13015
|
:host(c4d-card-section-offset) {
|