// ------------------------------------------------------------------------------
// <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 marqueeElementJoyStyle() {
    return css `
:host {
  --marquee-direction: normal;
  --marquee-font-family: unset;
  --marquee-font-letter-spacing: unset;
  --marquee-font-line-height: unset;
  --marquee-font-size: unset;
  --marquee-font-text-decoration: unset;
  --marquee-font-text-transform: unset;
  --marquee-font-weight: unset;
  --marquee-gap: unset;
  --marquee-padding-bottom: unset;
  --marquee-padding-left: unset;
  --marquee-padding-right: unset;
  --marquee-padding-top: unset;
  --marquee-speed: unset;
  --marquee-transition-duration: unset;
  --marquee-transition-mode: unset;
  --marquee-transition-property: unset;
  --marquee-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 {
  display: block;
  overflow: hidden;
}

:host [part="track"] {
  white-space: nowrap;
  will-change: transform;
  animation: marquee var(--marquee-speed) linear infinite var(--marquee-direction);
  flex-direction: row;
  display: flex;
}

:host [part="track"] ::slotted(*) {
  flex-shrink: 0;
  padding: 0 1rem;
}

:host [part="overlay"] {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

:host [part="overlay"]:before, :host [part="overlay"]:after {
  content: "";
  width: 2rem;
  position: absolute;
  top: 0;
  bottom: 0;
}

:host [part="overlay"]:before {
  left: 0;
}

:host [part="overlay"]:after {
  right: 0;
}

:host([reverse]) [part="track"] {
  animation: marquee-reverse var(--marquee-speed) linear infinite var(--marquee-direction);
}

:host(:hover) [part="track"] {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

@keyframes marquee-reverse {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

:host [part="overlay"]:before {
  background: linear-gradient(to right, var(--joy-scheme-background), transparent);
}

:host [part="overlay"]:after {
  background: linear-gradient(to left, var(--joy-scheme-background), transparent);
}

    `;
}
//# sourceMappingURL=MarqueeElement.Joy.js.map