@shopify/polaris
Version:
Shopify’s admin product component library
14 lines (7 loc) • 885 B
CSS
.Polaris-SkeletonBodyText__SkeletonBodyTextContainer_alhvc{ animation:var(--polaris-animation-skeleton-shimmer) 800ms linear infinite alternate; -webkit-backface-visibility:hidden; backface-visibility:hidden; will-change:opacity; }
@media (prefers-reduced-motion){ .Polaris-SkeletonBodyText__SkeletonBodyTextContainer_alhvc{ animation:none; } }
.Polaris-SkeletonBodyText_4hwgi{ height:0.8rem; position:relative; }
.Polaris-SkeletonBodyText_4hwgi::after{ content:''; position:absolute; top:0; right:0; bottom:0; left:0; display:block; background-color:var(--p-surface-neutral); border-radius:3px; }
@media screen and (-ms-high-contrast: active){ .Polaris-SkeletonBodyText_4hwgi::after{ background-color:grayText; } }
.Polaris-SkeletonBodyText_4hwgi:last-child:not(:first-child){ width:80%; }
.Polaris-SkeletonBodyText_4hwgi + .Polaris-SkeletonBodyText_4hwgi{ margin-top:1.2rem; }