// ------------------------------------------------------------------------------
// <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 progressBarElementMemphisStyle() {
    return css `
:host {
  --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-shadow: unset unset unset unset unset;
  --progress-bar-shadow-blur: unset;
  --progress-bar-shadow-color: unset;
  --progress-bar-shadow-offset-x: unset;
  --progress-bar-shadow-offset-y: unset;
  --progress-bar-shadow-spread: unset;
  --progress-bar-transition-duration: unset;
  --progress-bar-transition-mode: unset;
  --progress-bar-transition-property: unset;
  --progress-bar-translate: none;
}

@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 [part="container"] {
  display: inline-block;
  position: relative;
}

:host [part="container"] [part="track"] {
  margin-right: 0;
  padding-right: 0;
  display: flex;
}

:host [part="container"] [part="track"] [part="track-fill"] {
  vertical-align: middle;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

:host [part="container"] [part="track"] [part="track-fill"] [part="fill"] {
  transition: all .4s ease-in-out;
  position: relative;
}

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

:host([is-indeterminate]:not([is-indeterminate="false"])) [part="fill"] {
  background-color: #0000 !important;
}

:host([is-indeterminate]:not([is-indeterminate="false"])) [part="fill"]:before {
  content: "";
  will-change: transform;
  transform-origin: 0;
  width: 100%;
  animation: 2.1s cubic-bezier(.65, .815, .735, .395) infinite indeterminate;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

:host([is-indeterminate]:not([is-indeterminate="false"])) [part="fill"]:after {
  content: "";
  will-change: transform;
  transform-origin: 0;
  width: 100%;
  animation: 2.1s cubic-bezier(.165, .84, .44, 1) 1.15s infinite indeterminate-short;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

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

:host [part="container"], :host([orientation="horizontal"]) [part="container"], :host [part="container"] [part="track"], :host([orientation="horizontal"]) [part="container"] [part="track"], :host [part="container"] [part="track"] [part="track-fill"], :host([orientation="horizontal"]) [part="container"] [part="track"] [part="track-fill"] {
  width: inherit;
}

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

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

:host([orientation="vertical"]) [part="container"] [part="track"], :host([orientation="vertical"]) [part="container"] [part="track"] [part="track-fill"] {
  width: unset;
  height: inherit;
}

@keyframes indeterminate {
  0% {
    transform: translateX(-100%) scaleX(0);
  }

  30% {
    transform: translateX(-30%) scaleX(.5);
  }

  60% {
    transform: translateX(100%) scaleX(.5);
  }

  100% {
    transform: translateX(100%) scaleX(0);
  }
}

@keyframes indeterminate-short {
  0% {
    transform: translateX(-100%) scaleX(0);
  }

  40% {
    transform: translateX(-50%) scaleX(.3);
  }

  70% {
    transform: translateX(100%) scaleX(.3);
  }

  100% {
    transform: translateX(100%) scaleX(0);
  }
}

:host [part="track-fill"] {
  background-color: var(--memphis-scheme-highlight);
  border-radius: var(--memphis-layout-radius);
}

:host [part="fill"] {
  background-color: var(--memphis-color-primary-500);
}

:host [part="fill"]:before, :host [part="fill"]:after {
  background-color: var(--memphis-color-primary-500);
  border-radius: inherit;
}

:host([disabled]:not([disabled="false"])) [part="fill"] {
  background-color: var(--memphis-color-neutral-500);
}

:host([variant="primary"]:not([disabled]:not([disabled="false"]))) [part="fill"], :host([variant="primary"]:not([disabled]:not([disabled="false"]))) [part="fill"]:before, :host([variant="primary"]:not([disabled]:not([disabled="false"]))) [part="fill"]:after {
  background-color: var(--memphis-color-primary-500);
}

:host([variant="secondary"]:not([disabled]:not([disabled="false"]))) [part="fill"], :host([variant="secondary"]:not([disabled]:not([disabled="false"]))) [part="fill"]:before, :host([variant="secondary"]:not([disabled]:not([disabled="false"]))) [part="fill"]:after {
  background-color: var(--memphis-color-secondary-500);
}

:host([variant="tertiary"]:not([disabled]:not([disabled="false"]))) [part="fill"], :host([variant="tertiary"]:not([disabled]:not([disabled="false"]))) [part="fill"]:before, :host([variant="tertiary"]:not([disabled]:not([disabled="false"]))) [part="fill"]:after {
  background-color: var(--memphis-color-tertiary-500);
}

:host([variant="danger"]:not([disabled]:not([disabled="false"]))) [part="fill"], :host([variant="danger"]:not([disabled]:not([disabled="false"]))) [part="fill"]:before, :host([variant="danger"]:not([disabled]:not([disabled="false"]))) [part="fill"]:after {
  background-color: var(--memphis-color-danger-500);
}

:host([variant="warning"]:not([disabled]:not([disabled="false"]))) [part="fill"], :host([variant="warning"]:not([disabled]:not([disabled="false"]))) [part="fill"]:before, :host([variant="warning"]:not([disabled]:not([disabled="false"]))) [part="fill"]:after {
  background-color: var(--memphis-color-warning-500);
}

:host([variant="success"]:not([disabled]:not([disabled="false"]))) [part="fill"], :host([variant="success"]:not([disabled]:not([disabled="false"]))) [part="fill"]:before, :host([variant="success"]:not([disabled]:not([disabled="false"]))) [part="fill"]:after {
  background-color: var(--memphis-color-success-500);
}

:host([variant="info"]:not([disabled]:not([disabled="false"]))) [part="fill"], :host([variant="info"]:not([disabled]:not([disabled="false"]))) [part="fill"]:before, :host([variant="info"]:not([disabled]:not([disabled="false"]))) [part="fill"]:after {
  background-color: var(--memphis-color-info-500);
}

:host([variant="highlight"]:not([disabled]:not([disabled="false"]))) [part="fill"], :host([variant="highlight"]:not([disabled]:not([disabled="false"]))) [part="fill"]:before, :host([variant="highlight"]:not([disabled]:not([disabled="false"]))) [part="fill"]:after {
  background-color: var(--memphis-color-highlight-500);
}

:host([variant="neutral"]:not([disabled]:not([disabled="false"]))) [part="fill"], :host([variant="neutral"]:not([disabled]:not([disabled="false"]))) [part="fill"]:before, :host([variant="neutral"]:not([disabled]:not([disabled="false"]))) [part="fill"]:after {
  background-color: var(--memphis-color-neutral-500);
}

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