@salesforcedevs/dx-components 1.3.358-alpha2 → 1.3.358-alpha4
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/package.json
CHANGED
|
@@ -19,10 +19,6 @@
|
|
|
19
19
|
--dx-c-moon-graphic-color: var(--dx-g-indigo-vibrant-40);
|
|
20
20
|
--dx-c-featured-content-header-image-container-transform: scale(0.7)
|
|
21
21
|
translateY(14px);
|
|
22
|
-
--dx-c-featured-content-header-swoop-display: block;
|
|
23
|
-
--dx-c-featured-content-header-swoop-height: 30%;
|
|
24
|
-
--dx-c-featured-content-header-background-image-position: top right;
|
|
25
|
-
--dx-c-featured-content-header-background-image-size: contain;
|
|
26
22
|
--dx-c-featured-content-header-image-padding-top: calc(
|
|
27
23
|
50% + var(--dx-c-featured-content-header-padding-horizontal) / 2
|
|
28
24
|
);
|
|
@@ -46,22 +42,20 @@
|
|
|
46
42
|
--swoop-z-index: 11;
|
|
47
43
|
--label-color: var(--dx-themed-featured-content-header-text-color);
|
|
48
44
|
|
|
49
|
-
background-image: var(--dx-themed-featured-content-header-background-swoop);
|
|
50
|
-
background-size: cover;
|
|
51
|
-
background-repeat: no-repeat;
|
|
52
|
-
background-position: center;
|
|
53
45
|
position: relative;
|
|
54
46
|
}
|
|
55
47
|
|
|
56
48
|
.container-layout {
|
|
57
49
|
padding: var(--dx-c-featured-content-header-padding-vertical)
|
|
58
50
|
var(--dx-c-featured-content-header-padding-horizontal);
|
|
59
|
-
|
|
60
|
-
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.container,
|
|
54
|
+
.container-layout {
|
|
55
|
+
background-image: var(--dx-themed-featured-content-header-background-swoop);
|
|
56
|
+
background-size: cover;
|
|
61
57
|
background-repeat: no-repeat;
|
|
62
|
-
background-position:
|
|
63
|
-
--dx-c-featured-content-header-background-image-position
|
|
64
|
-
);
|
|
58
|
+
background-position: center;
|
|
65
59
|
}
|
|
66
60
|
|
|
67
61
|
/* LAYOUTS */
|
|
@@ -81,22 +75,6 @@
|
|
|
81
75
|
overflow: hidden;
|
|
82
76
|
}
|
|
83
77
|
|
|
84
|
-
/* SWOOP SILHOUETTE */
|
|
85
|
-
|
|
86
|
-
.swoop-silhouette {
|
|
87
|
-
display: var(--dx-c-featured-content-header-swoop-display);
|
|
88
|
-
position: absolute;
|
|
89
|
-
bottom: -2px;
|
|
90
|
-
left: -1px;
|
|
91
|
-
z-index: calc(var(--swoop-z-index) + 1);
|
|
92
|
-
height: var(--swoop-height);
|
|
93
|
-
overflow: hidden;
|
|
94
|
-
pointer-events: none;
|
|
95
|
-
|
|
96
|
-
/* Add 2px to cover subpixel rendering svg issue where a gap shows on the sides */
|
|
97
|
-
width: calc(100vw + 2px);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
78
|
/* BOTTOM GRAPHIC */
|
|
101
79
|
|
|
102
80
|
.bg-image-container {
|
|
@@ -404,8 +382,8 @@ dx-image-and-label {
|
|
|
404
382
|
--label-color: var(--dx-themed-featured-content-header-intense-label-color);
|
|
405
383
|
|
|
406
384
|
background-image: var(
|
|
407
|
-
|
|
408
|
-
|
|
385
|
+
--dx-themed-featured-content-header-background-swoop-intense
|
|
386
|
+
);
|
|
409
387
|
}
|
|
410
388
|
|
|
411
389
|
.variant_dark dx-image-and-label {
|