// ------------------------------------------------------------------------------
// <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-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 {
  background-color: #0000 !important;
}

:host .progress-container .outer .inner .bg.indeterminate: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 .progress-container .outer .inner .bg.indeterminate: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 [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% {
    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 .progress-container .outer .inner {
  background-color: var(--memphis-scheme-highlight);
  border-radius: var(--memphis-layout-radius);
}

:host .progress-container .outer .inner .bg {
  background-color: var(--memphis-color-primary-500);
}

:host .progress-container .outer .inner .bg.indeterminate:before, :host .progress-container .outer .inner .bg.indeterminate:after {
  background-color: var(--memphis-color-primary-500);
  border-radius: inherit;
}

:host([disabled]:not([disabled="false"])) .progress-container .outer .inner .bg {
  background-color: var(--memphis-color-neutral-500);
}

:host([variant="primary"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg, :host([variant="primary"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg.indeterminate:before, :host([variant="primary"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg.indeterminate:after {
  background-color: var(--memphis-color-primary-500);
}

:host([variant="secondary"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg, :host([variant="secondary"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg.indeterminate:before, :host([variant="secondary"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg.indeterminate:after {
  background-color: var(--memphis-color-secondary-500);
}

:host([variant="tertiary"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg, :host([variant="tertiary"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg.indeterminate:before, :host([variant="tertiary"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg.indeterminate:after {
  background-color: var(--memphis-color-tertiary-500);
}

:host([variant="danger"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg, :host([variant="danger"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg.indeterminate:before, :host([variant="danger"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg.indeterminate:after {
  background-color: var(--memphis-color-danger-500);
}

:host([variant="warning"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg, :host([variant="warning"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg.indeterminate:before, :host([variant="warning"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg.indeterminate:after {
  background-color: var(--memphis-color-warning-500);
}

:host([variant="success"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg, :host([variant="success"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg.indeterminate:before, :host([variant="success"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg.indeterminate:after {
  background-color: var(--memphis-color-success-500);
}

:host([variant="info"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg, :host([variant="info"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg.indeterminate:before, :host([variant="info"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg.indeterminate:after {
  background-color: var(--memphis-color-info-500);
}

:host([variant="highlight"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg, :host([variant="highlight"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg.indeterminate:before, :host([variant="highlight"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg.indeterminate:after {
  background-color: var(--memphis-color-highlight-500);
}

:host([variant="neutral"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg, :host([variant="neutral"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg.indeterminate:before, :host([variant="neutral"]:not([disabled]:not([disabled="false"]))) .progress-container .outer .inner .bg.indeterminate:after {
  background-color: var(--memphis-color-neutral-500);
}

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