// ------------------------------------------------------------------------------
// <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 meterBarElementJoyStyle() {
    return css `
:host {
  --meter-bar-font-family: unset;
  --meter-bar-font-letter-spacing: unset;
  --meter-bar-font-line-height: unset;
  --meter-bar-font-size: unset;
  --meter-bar-font-text-decoration: unset;
  --meter-bar-font-text-transform: unset;
  --meter-bar-font-weight: unset;
  --meter-bar-gap: unset;
  --meter-bar-padding-bottom: unset;
  --meter-bar-padding-left: unset;
  --meter-bar-padding-right: unset;
  --meter-bar-padding-top: unset;
  --meter-bar-transition-duration: unset;
  --meter-bar-transition-mode: unset;
  --meter-bar-transition-property: unset;
  --meter-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 {
  width: 100%;
  height: 4px;
  line-height: 0;
  display: block;
}

:host [part="bar"] {
  border-radius: 10px;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

:host [part="bar"] [part="fill"] {
  border-radius: 10px;
  height: 100%;
  transition: width .3s;
}

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

:host [part="bar"] {
  background-color: var(--joy-scheme-highlight);
}

:host [part="bar"] [part="fill"], :host([range="normal"]) [part="fill"] {
  background-color: var(--joy-color-info-500);
}

:host([range="low"]) [part="fill"] {
  background-color: var(--joy-color-warning-500);
}

:host([range="high"]) [part="fill"] {
  background-color: var(--joy-color-danger-500);
}

:host([range="optimum"]) [part="fill"] {
  background-color: var(--joy-color-success-500);
}

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