// ------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// #region Imports
import { css } from '../../../../../Dom/Css';
// #endregion
/**
 * @public
 */
export function skeletonElementCosmopolitanStyle() {
    return css `
:host {
  --skeleton-background-color: unset;
  --skeleton-border-color: unset;
  --skeleton-border-radius: unset;
  --skeleton-border-style: unset;
  --skeleton-border-width: unset;
  --skeleton-font-family: unset;
  --skeleton-font-letter-spacing: unset;
  --skeleton-font-line-height: unset;
  --skeleton-font-size: unset;
  --skeleton-font-text-decoration: unset;
  --skeleton-font-text-transform: unset;
  --skeleton-font-weight: unset;
  --skeleton-foreground-color: unset;
  --skeleton-gap: unset;
  --skeleton-padding-bottom: unset;
  --skeleton-padding-left: unset;
  --skeleton-padding-right: unset;
  --skeleton-padding-top: unset;
  --skeleton-transition-duration: unset;
  --skeleton-transition-mode: unset;
  --skeleton-transition-property: unset;
  --skeleton-translate: unset;
}

@media screen and (prefers-reduced-motion: reduce) {
  :host {
    transition-duration: .01ms;
  }
}

:host {
  box-sizing: border-box;
  display: block;
  position: relative;
}

:host *, :host :before, :host :after {
  box-sizing: border-box;
  background-repeat: no-repeat;
}

:host :before, :host :after {
  text-decoration: inherit;
  vertical-align: inherit;
}

:host([hidden]) {
  display: none !important;
}

:host {
  border-width: var(--skeleton-border-width);
  border-radius: var(--skeleton-border-radius);
  border-style: var(--skeleton-border-style);
  background-color: var(--skeleton-background-color);
  width: 100%;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

:host [part="shimmer"] {
  z-index: 0;
  vertical-align: top;
  width: 100%;
  height: 100%;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

:host([shape="rect"]) {
  width: 100px;
  height: 100px;
}

:host([shape="circle"]) {
  border-radius: 50%;
  width: 100px;
  height: 100px;
}

:host([shimmer]) [part="shimmer"]:after {
  content: "";
  animation: 1.8s infinite shimmer;
  position: absolute;
  inset: 0 -150%;
}

@keyframes shimmer {
  0% {
    transform: translate(-37.5%);
  }

  to {
    transform: translate(37.5%);
  }
}

    `;
}
//# sourceMappingURL=SkeletonElement.Cosmopolitan.js.map