// ------------------------------------------------------------------------------
// <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 meterRingElementMemphisStyle() {
    return css `
:host {
  --meter-ring-background-color: var(--memphis-color-light-neutral-200);
  --meter-ring-border-color: var(--memphis-scheme-transparent);
  --meter-ring-border-radius: 50%;
  --meter-ring-border-style: solid;
  --meter-ring-border-width: 0px;
  --meter-ring-fill-color: var(--memphis-color-light-info-500);
  --meter-ring-fill-color-high: var(--memphis-color-light-danger-500);
  --meter-ring-fill-color-low: var(--memphis-color-light-warning-500);
  --meter-ring-fill-color-normal: var(--memphis-color-light-info-500);
  --meter-ring-fill-color-optimum: var(--memphis-color-light-success-500);
  --meter-ring-font-family: var(--memphis-font-family);
  --meter-ring-font-letter-spacing: var(--memphis-typography-body2-letter-spacing);
  --meter-ring-font-line-height: var(--memphis-typography-body2-line-height);
  --meter-ring-font-size: var(--memphis-typography-body2-font-size);
  --meter-ring-font-text-decoration: var(--memphis-typography-body2-text-decoration);
  --meter-ring-font-text-transform: var(--memphis-typography-body2-text-transform);
  --meter-ring-font-weight: var(--memphis-typography-body2-font-weight);
  --meter-ring-foreground-color: var(--memphis-scheme-foreground);
  --meter-ring-gap: var(--memphis-layout-space);
  --meter-ring-marker-color: var(--memphis-scheme-foreground);
  --meter-ring-padding-bottom: 0px;
  --meter-ring-padding-left: 0px;
  --meter-ring-padding-right: 0px;
  --meter-ring-padding-top: 0px;
  --meter-ring-radius: 60px;
  --meter-ring-shadow: unset;
  --meter-ring-thickness: 6px;
  --meter-ring-transition-duration: var(--memphis-duration-short);
  --meter-ring-transition-mode: ease;
  --meter-ring-transition-property: background-color, color, border-color, opacity, box-shadow, stroke-dashoffset;
  --meter-ring-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 {
  --_meter-ring-circumference: calc(2 * 3.1416 * var(--_meter-ring-radius));
  line-height: 0;
  display: block;
}

:host [part="root"] {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

:host [part="root"] circle {
  fill: none;
  stroke-linecap: round;
}

:host [part="bar"] {
  stroke: var(--meter-ring-background-color);
  stroke-width: var(--_meter-ring-thickness);
  fill: none;
  cx: var(--_meter-ring-radius);
  cy: var(--_meter-ring-radius);
  r: calc(var(--_meter-ring-radius) - var(--_meter-ring-thickness) / 2);
}

:host [part="fill"] {
  stroke-width: var(--_meter-ring-thickness);
  stroke-linecap: round;
  fill: none;
  cx: var(--_meter-ring-radius);
  cy: var(--_meter-ring-radius);
  r: calc(var(--_meter-ring-radius) - var(--_meter-ring-thickness) / 2);
  stroke-dasharray: var(--_meter-ring-circumference) var(--_meter-ring-circumference);
  stroke-dashoffset: calc(var(--_meter-ring-circumference) * (1 - var(--_meter-ring-value) / 100));
  transition-property: stroke-dashoffset, stroke-dasharray, stroke;
  transition-duration: var(--meter-ring-transition-duration);
  transition-timing-function: var(--meter-ring-transition-mode);
  stroke: var(--meter-ring-fill-color);
}

:host [part="segment"] {
  stroke-linecap: butt;
  transition-property: stroke;
  transition-duration: var(--meter-ring-transition-duration);
  transition-timing-function: var(--meter-ring-transition-mode);
}

:host [part="marker"] {
  fill: var(--meter-ring-marker-color);
  filter: drop-shadow(0 0 2px #0000004d);
  transition-property: cx, cy;
  transition-duration: var(--meter-ring-transition-duration);
  transition-timing-function: var(--meter-ring-transition-mode);
}

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

:host [part="segment"][data-range="low"] {
  stroke: var(--meter-ring-fill-color-low);
}

:host [part="segment"][data-range="optimum"] {
  stroke: var(--meter-ring-fill-color-optimum);
}

:host [part="segment"][data-range="high"] {
  stroke: var(--meter-ring-fill-color-high);
}

:host([disabled]:not([disabled="false"])) {
  --meter-ring-background-color: var(--memphis-scheme-background);
  --meter-ring-border-color: var(--memphis-scheme-highlight);
  --meter-ring-foreground-color: var(--memphis-scheme-disabled);
  --meter-ring-fill-color: var(--memphis-scheme-disabled);
}

:host([range="normal"]) [part="fill"] {
  --meter-ring-fill-color: var(--meter-ring-fill-color-normal);
}

:host([range="low"]) [part="fill"] {
  --meter-ring-fill-color: var(--meter-ring-fill-color-low);
}

:host([range="high"]) [part="fill"] {
  --meter-ring-fill-color: var(--meter-ring-fill-color-high);
}

:host([range="optimum"]) [part="fill"] {
  --meter-ring-fill-color: var(--meter-ring-fill-color-optimum);
}

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