// ------------------------------------------------------------------------------
// <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 progressBarElementRetroStyle() {
    return css `
:host {
  --progress-bar-jagged-edges-hack: unset;
  --progress-bar-left-circle: unset;
  --progress-bar-mask-color: unset;
  --progress-bar-rectangle: unset;
  --progress-bar-right-circle: unset;
  --progress-bar-segment-width: unset;
  --progress-bar-font-family: unset;
  --progress-bar-font-letter-spacing: unset;
  --progress-bar-font-line-height: unset;
  --progress-bar-font-size: unset;
  --progress-bar-font-text-decoration: unset;
  --progress-bar-font-text-transform: unset;
  --progress-bar-font-weight: unset;
  --progress-bar-gap: unset;
  --progress-bar-padding-bottom: unset;
  --progress-bar-padding-left: unset;
  --progress-bar-padding-right: unset;
  --progress-bar-padding-top: unset;
  --progress-bar-segment-gap: unset;
  --progress-bar-transition-duration: unset;
  --progress-bar-transition-mode: unset;
  --progress-bar-transition-property: unset;
  --progress-bar-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 {
  line-height: 0;
  display: block;
}

:host .progress-container {
  display: inline-block;
  position: relative;
}

:host .progress-container .outer {
  margin-right: 0;
  padding-right: 0;
  display: flex;
}

:host .progress-container .outer .inner {
  vertical-align: middle;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

:host .progress-container .outer .inner .bg {
  transition: all .4s ease-in-out;
  position: relative;
}

:host .progress-container .outer .inner .bg.indeterminate {
  position: initial;
}

:host .progress-container .outer .inner .bg.indeterminate:before {
  content: "";
  will-change: left, right;
  animation-name: indeterminate;
  animation-fill-mode: "forwards";
  animation: 2.1s cubic-bezier(.65, .815, .735, .395) infinite indeterminate;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

:host .progress-container .outer .inner .bg.indeterminate:after {
  content: "";
  will-change: left, right;
  animation-name: indeterminate-short;
  animation-fill-mode: "forwards";
  animation: 2.1s cubic-bezier(.165, .84, .44, 1) 1.15s infinite indeterminate-short;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

:host [part="hint"] {
  flex-direction: row;
  justify-content: space-between;
  display: flex;
}

:host, :host([orientation="horizontal"]) {
  width: 100%;
}

:host .progress-container, :host([orientation="horizontal"]) .progress-container, :host .progress-container .outer, :host([orientation="horizontal"]) .progress-container .outer, :host .progress-container .outer .inner, :host([orientation="horizontal"]) .progress-container .outer .inner {
  width: inherit;
}

:host([orientation="vertical"]) {
  width: unset;
  height: 100%;
}

:host([orientation="vertical"]) .progress-container {
  height: inherit;
}

:host([orientation="vertical"]) .progress-container .outer, :host([orientation="vertical"]) .progress-container .outer .inner {
  width: unset;
  height: inherit;
}

@keyframes indeterminate {
  0% {
    left: -35%;
    right: 100%;
  }

  60% {
    left: 100%;
    right: -90%;
  }

  100% {
    left: 100%;
    right: -90%;
  }
}

@keyframes indeterminate-short {
  0% {
    left: -200%;
    right: 100%;
  }

  60% {
    left: 107%;
    right: -8%;
  }

  100% {
    left: 107%;
    right: -8%;
  }
}

    `;
}
//# sourceMappingURL=ProgressBarElement.Retro.js.map