@vectoriox/iox-ui 5.82.1 → 5.82.2
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 +1 -1
- package/styles/iox-design.css +4 -2
package/package.json
CHANGED
package/styles/iox-design.css
CHANGED
|
@@ -127,7 +127,9 @@ iox-gallery.iox-es-media[data-iox-empty] > .iox-gallery {
|
|
|
127
127
|
as it is on every node — the lift, the shadow growth and the zoom read tokens that a NON-linked card zeroes here.
|
|
128
128
|
The picture zooms with the CARD's hover (its own hover is under the stretched link): `scale` composes with the
|
|
129
129
|
picture's own transform, on the look's slow duration; hover devices only (G1). */
|
|
130
|
-
|
|
130
|
+
/* "Wholly a link": the card is an <a> (a LinkedContainer on the live site), its canvas twin holds that <a> as its root
|
|
131
|
+
(`.linked-container-root`), or it holds Card v2's stretched title link. */
|
|
132
|
+
.iox-es-card:not(a):not(:has(> a.linked-container-root)):not(:has(.iox-card-link)) {
|
|
131
133
|
--iox-card-lift: 0px;
|
|
132
134
|
--iox-card-hover-x: 0px;
|
|
133
135
|
--iox-card-shadow-hover: var(--iox-card-shadow);
|
|
@@ -143,7 +145,7 @@ iox-gallery.iox-es-media[data-iox-empty] > .iox-gallery {
|
|
|
143
145
|
transition: transform var(--iox-dur-slow) var(--iox-ease-standard), scale var(--iox-dur-slow) var(--iox-ease-standard);
|
|
144
146
|
}
|
|
145
147
|
@media (hover: hover) and (pointer: fine) {
|
|
146
|
-
:is(a.iox-es-card, .iox-es-card:has(.iox-card-link)):hover .iox-es-media {
|
|
148
|
+
:is(a.iox-es-card, .iox-es-card:has(> a.linked-container-root), .iox-es-card:has(.iox-card-link)):hover .iox-es-media {
|
|
147
149
|
scale: var(--card-media-zoom);
|
|
148
150
|
}
|
|
149
151
|
}
|