// ------------------------------------------------------------------------------
// <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 floatingActionButtonElementMemphisStyle() {
    return css `
:host {
  --fab-background-color: var(--memphis-scheme-background);
  --fab-border-color: var(--memphis-scheme-contrast);
  --fab-border-radius: var(--memphis-layout-radius);
  --fab-border-style: solid;
  --fab-border-width: var(--memphis-layout-thickness);
  --fab-focus-ring-active-width: 8px;
  --fab-focus-ring-color: unset;
  --fab-focus-ring-inward-offset: 2px;
  --fab-focus-ring-outward-offset: 2px;
  --fab-font-family: var(--memphis-typography-button-font-family);
  --fab-font-letter-spacing: var(--memphis-typography-button-letter-spacing);
  --fab-font-line-height: var(--memphis-typography-button-line-height);
  --fab-font-size: var(--memphis-typography-button-font-size);
  --fab-font-text-decoration: var(--memphis-typography-button-text-decoration);
  --fab-font-text-transform: var(--memphis-typography-button-text-transform);
  --fab-font-weight: var(--memphis-typography-button-font-weight);
  --fab-foreground-color: var(--memphis-scheme-foreground);
  --fab-gap: var(--memphis-layout-space);
  --fab-icon-min-width: 36px;
  --fab-icon-min-height: 36px;
  --fab-min-height: calc(var(--memphis-layout-space) * 5 - var(--memphis-layout-space) / 2);
  --fab-min-width: 64px;
  --fab-padding-bottom: var(--memphis-layout-space);
  --fab-padding-left: var(--memphis-layout-space);
  --fab-padding-right: var(--memphis-layout-space);
  --fab-padding-top: var(--memphis-layout-space);
  --fab-ripple-color: unset;
  --fab-ripple-duration: .2s;
  --fab-shadow-blur: var(--memphis-elevation-semilight-blur-0);
  --fab-shadow-color: var(--memphis-elevation-semilight-color-0);
  --fab-shadow-offset-x: var(--memphis-elevation-semilight-offset-x-0);
  --fab-shadow-offset-y: var(--memphis-elevation-semilight-offset-y-0);
  --fab-shadow-spread: var(--memphis-elevation-semilight-spread-0);
  --fab-transition-duration: var(--memphis-layout-transition);
  --fab-transition-mode: ease;
  --fab-transition-property: background-color, color, border-color, opacity, box-shadow, translate;
  --fab-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 {
  font-family: var(--fab-font-family);
  font-size: var(--fab-font-size);
  line-height: var(--fab-font-line-height);
  font-weight: var(--fab-font-weight);
  letter-spacing: var(--fab-font-letter-spacing);
  -webkit-text-decoration: var(--fab-font-text-decoration);
  text-decoration: var(--fab-font-text-decoration);
  text-transform: var(--fab-font-text-transform);
  transition-duration: var(--fab-transition-duration);
  transition-timing-function: var(--fab-transition-mode);
  transition-property: var(--fab-transition-property);
  cursor: pointer;
  border-start-start-radius: var(--fab-border-radius);
  border-start-end-radius: var(--fab-border-radius);
  border-end-end-radius: var(--fab-border-radius);
  border-end-start-radius: var(--fab-border-radius);
  width: auto;
  height: auto;
  display: flex;
}

:host [part="button"]:before {
  border-radius: var(--fab-border-radius);
  content: "";
  opacity: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  transition: inherit;
  position: absolute;
  inset: 0;
}

:host [part="button"] {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
  transition-duration: inherit;
  transition-timing-function: inherit;
  padding-top: var(--fab-padding-top);
  padding-right: var(--fab-padding-right);
  padding-bottom: var(--fab-padding-bottom);
  padding-left: var(--fab-padding-left);
  gap: var(--fab-gap);
  background-color: var(--fab-background-color);
  color: var(--fab-foreground-color);
  border-color: var(--fab-border-color);
  border-width: var(--fab-border-width);
  border-radius: var(--fab-border-radius);
  border-style: var(--fab-border-style);
  width: inherit;
  height: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  z-index: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-height: 40px;
  cursor: inherit;
  pointer-events: inherit;
  border-style: solid;
  border-start-start-radius: inherit;
  border-start-end-radius: inherit;
  border-end-end-radius: inherit;
  border-end-start-radius: inherit;
  outline-style: none;
  flex: 1;
  margin: 0;
  text-decoration: none;
  transition-property: inherit;
  position: relative;
  overflow: hidden;
}

:host [part="button"] [part="icon"] {
  color: inherit;
}

:host [part="button"] [part="label"] {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
}

:host [part="progressRing"] {
  margin: -12px 0 0 -12px;
  position: absolute;
  top: 50%;
  left: 50%;
}

:host [part="focusRing"] {
  --focus-ring-outward-offset: 0px;
}

:host(:not([has-icon])) {
  min-width: var(--fab-min-width);
}

:host(:not([has-link])[has-icon]) {
  min-width: var(--fab-icon-min-width);
  min-height: var(--fab-icon-min-height);
}

:host(:active) [part="button"]:before {
  opacity: .26;
  background-color: currentColor;
}

:host([disabled]:not([disabled="false"])) {
  cursor: default;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

:host([is-busy]) {
  pointer-events: none;
  position: relative;
}

:host([is-busy]) [part="button"]:before {
  opacity: .26;
  background-color: currentColor;
}

:host([is-busy]) [part="label"], :host([is-busy]) [part="icon"] {
  visibility: hidden;
}

:host([appearance="outline"]) {
  --fab-border-style: solid;
}

:host([appearance="outline"]) [part="focusRing"], :host([appearance="plain"]:not([disabled]:not([disabled="false"]))) [part="focusRing"] {
  --focus-ring-outward-offset: 0px;
}

:host([appearance="soft"]) {
  --fab-border-width: 0px;
}

:host([appearance="soft"]) [part="focusRing"] {
  --focus-ring-outward-offset: 0px;
}

:host([appearance="solid"]) {
  --fab-border-width: 0px;
}

:host([appearance="solid"]) [part="focusRing"] {
  --focus-ring-outward-offset: 0px;
}

:host([size="tiny"]) {
  --fab-font-size: calc(var(--fab-font-size)  - 4px);
  --fab-line-height: calc(var(--fab-font-line-height)  - 4px);
}

:host([size="small"]) {
  --fab-font-size: calc(var(--fab-font-size)  - 2px);
  --fab-line-height: calc(var(--fab-font-line-height)  - 2px);
}

:host([size="large"]) {
  --fab-font-size: calc(var(--fab-font-size)  + 2px);
  --fab-line-height: calc(var(--fab-font-line-height)  + 2px);
}

:host([size="giant"]) {
  --fab-font-size: calc(var(--fab-font-size)  + 4px);
  --fab-line-height: calc(var(--fab-font-line-height)  + 4px);
}

:host([fit="width"]) {
  width: 100%;
}

:host([fit="height"]) {
  height: 100%;
}

:host([fit="both"]) {
  width: 100%;
  height: 100%;
}

:host {
  --fab-background-color: var(--memphis-scheme-highlight);
  --fab-foreground-color: var(--memphis-scheme-foreground);
  --fab-shadow-color: var(--memphis-scheme-highlight);
  box-shadow: var(--fab-shadow-offset-x) var(--fab-shadow-offset-y) var(--fab-shadow-blur) var(--fab-shadow-spread) var(--fab-shadow-color);
}

:host [part="focusRing"] {
  --focus-ring-width: 0px;
}

:host([disabled]:not([disabled="false"])) {
  --fab-background-color: var(--memphis-scheme-background);
  --fab-border-color: var(--memphis-scheme-disabled);
  --fab-foreground-color: var(--memphis-scheme-disabled);
  --fab-shadow-color: var(--memphis-scheme-transparent);
}

:host([variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --fab-background-color: var(--memphis-color-primary-500);
  --fab-foreground-color: var(--memphis-color-primary-0);
  --fab-shadow-color: var(--memphis-color-primary-200);
}

:host([variant="primary"]:not([disabled]:not([disabled="false"])):hover) {
  --fab-background-color: var(--memphis-color-primary-600);
}

:host([variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --fab-background-color: var(--memphis-color-secondary-500);
  --fab-foreground-color: var(--memphis-color-secondary-0);
  --fab-shadow-color: var(--memphis-color-secondary-200);
}

:host([variant="secondary"]:not([disabled]:not([disabled="false"])):hover) {
  --fab-background-color: var(--memphis-color-secondary-600);
}

:host([variant="info"]:not([disabled]:not([disabled="false"]))) {
  --fab-background-color: var(--memphis-color-info-500);
  --fab-foreground-color: var(--memphis-color-info-0);
  --fab-shadow-color: var(--memphis-color-info-200);
}

:host([variant="info"]:not([disabled]:not([disabled="false"])):hover) {
  --fab-background-color: var(--memphis-color-info-600);
}

:host([variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --fab-background-color: var(--memphis-color-warning-500);
  --fab-foreground-color: var(--memphis-color-warning-0);
  --fab-shadow-color: var(--memphis-color-warning-200);
}

:host([variant="warning"]:not([disabled]:not([disabled="false"])):hover) {
  --fab-background-color: var(--memphis-color-warning-600);
}

:host([variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --fab-background-color: var(--memphis-color-danger-500);
  --fab-foreground-color: var(--memphis-color-danger-0);
  --fab-shadow-color: var(--memphis-color-danger-200);
}

:host([variant="danger"]:not([disabled]:not([disabled="false"])):hover) {
  --fab-background-color: var(--memphis-color-danger-600);
}

:host([variant="success"]:not([disabled]:not([disabled="false"]))) {
  --fab-background-color: var(--memphis-color-success-500);
  --fab-foreground-color: var(--memphis-color-success-0);
  --fab-shadow-color: var(--memphis-color-success-200);
}

:host([variant="success"]:not([disabled]:not([disabled="false"])):hover) {
  --fab-background-color: var(--memphis-color-success-600);
}

:host([variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --fab-background-color: var(--memphis-color-neutral-500);
  --fab-foreground-color: var(--memphis-color-neutral-0);
  --fab-shadow-color: var(--memphis-color-neutral-200);
}

:host([variant="neutral"]:not([disabled]:not([disabled="false"])):hover) {
  --fab-background-color: var(--memphis-color-neutral-600);
}

:host([appearance="outline"]) {
  --fab-border-width: var(--memphis-layout-thickness);
  --fab-border-style: solid;
  --fab-shadow-color: var(--memphis-color-neutral-200);
}

:host([appearance="outline"][variant="primary"]) {
  --fab-shadow-color: var(--memphis-color-primary-200);
}

:host([appearance="outline"][variant="secondary"]) {
  --fab-shadow-color: var(--memphis-color-secondary-200);
}

:host([appearance="outline"][variant="info"]) {
  --fab-shadow-color: var(--memphis-color-info-200);
}

:host([appearance="outline"][variant="warning"]) {
  --fab-shadow-color: var(--memphis-color-warning-200);
}

:host([appearance="outline"][variant="danger"]) {
  --fab-shadow-color: var(--memphis-color-danger-200);
}

:host([appearance="outline"][variant="success"]) {
  --fab-shadow-color: var(--memphis-color-success-200);
}

:host([appearance="outline"][variant="neutral"]) {
  --fab-shadow-color: var(--memphis-color-neutral-200);
}

:host([appearance="outline"]:not([disabled]:not([disabled="false"]))) {
  --fab-background-color: var(--memphis-scheme-background);
  --fab-foreground-color: var(--memphis-scheme-foreground);
  --fab-border-color: var(--memphis-scheme-highlight);
}

:host([appearance="outline"]:not([disabled]:not([disabled="false"])):hover) {
  --fab-background-color: var(--memphis-scheme-background);
  --fab-foreground-color: var(--memphis-scheme-foreground);
}

:host([appearance="outline"][variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --fab-foreground-color: var(--memphis-color-primary-500);
  --fab-border-color: var(--memphis-color-primary-500);
}

:host([appearance="outline"][variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --fab-foreground-color: var(--memphis-color-secondary-500);
  --fab-border-color: var(--memphis-color-secondary-500);
}

:host([appearance="outline"][variant="info"]:not([disabled]:not([disabled="false"]))) {
  --fab-foreground-color: var(--memphis-color-info-500);
  --fab-border-color: var(--memphis-color-info-500);
}

:host([appearance="outline"][variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --fab-foreground-color: var(--memphis-color-warning-500);
  --fab-border-color: var(--memphis-color-warning-500);
}

:host([appearance="outline"][variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --fab-foreground-color: var(--memphis-color-danger-500);
  --fab-border-color: var(--memphis-color-danger-500);
}

:host([appearance="outline"][variant="success"]:not([disabled]:not([disabled="false"]))) {
  --fab-foreground-color: var(--memphis-color-success-500);
  --fab-border-color: var(--memphis-color-success-500);
}

:host([appearance="outline"][variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --fab-foreground-color: var(--memphis-color-neutral-500);
  --fab-border-color: var(--memphis-color-neutral-500);
}

:host([appearance="solid"]) {
  --fab-shadow-color: var(--memphis-scheme-disabled);
}

:host([appearance="solid"]:not([disabled]:not([disabled="false"]))) {
  --fab-background-color: var(--memphis-scheme-highlight);
  --fab-border-color: var(--memphis-scheme-contrast);
  --fab-shadow-color: var(--memphis-scheme-highlight);
  --fab-foreground-color: var(--memphis-scheme-foreground);
}

:host([appearance="solid"][variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --fab-background-color: var(--memphis-color-primary-500);
  --fab-foreground-color: var(--memphis-color-primary-0);
  --fab-shadow-color: var(--memphis-color-primary-500);
}

:host([appearance="solid"][variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --fab-background-color: var(--memphis-color-secondary-500);
  --fab-foreground-color: var(--memphis-color-secondary-0);
  --fab-shadow-color: var(--memphis-color-secondary-500);
}

:host([appearance="solid"][variant="info"]:not([disabled]:not([disabled="false"]))) {
  --fab-background-color: var(--memphis-color-info-500);
  --fab-foreground-color: var(--memphis-color-info-0);
  --fab-shadow-color: var(--memphis-color-info-500);
}

:host([appearance="solid"][variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --fab-background-color: var(--memphis-color-warning-500);
  --fab-foreground-color: var(--memphis-color-warning-0);
  --fab-shadow-color: var(--memphis-color-warning-500);
}

:host([appearance="solid"][variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --fab-background-color: var(--memphis-color-danger-500);
  --fab-foreground-color: var(--memphis-color-danger-0);
  --fab-shadow-color: var(--memphis-color-danger-500);
}

:host([appearance="solid"][variant="success"]:not([disabled]:not([disabled="false"]))) {
  --fab-background-color: var(--memphis-color-success-500);
  --fab-foreground-color: var(--memphis-color-success-0);
  --fab-shadow-color: var(--memphis-color-success-500);
}

:host([appearance="solid"][variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --fab-background-color: var(--memphis-color-neutral-500);
  --fab-foreground-color: var(--memphis-color-neutral-0);
  --fab-shadow-color: var(--memphis-color-neutral-500);
}

:host([size="tiny"]) {
  --fab-font-size: calc(var(--memphis-typography-button-font-size)  - 4px);
  --fab-font-line-height: calc(var(--memphis-typography-button-line-height)  - 4px);
  --fab-padding-top: calc(var(--memphis-layout-space)  - 4px);
  --fab-padding-right: calc(var(--memphis-layout-space)  - 4px);
  --fab-padding-bottom: calc(var(--memphis-layout-space)  - 4px);
  --fab-padding-left: calc(var(--memphis-layout-space)  - 4px);
}

:host([size="small"]) {
  --fab-font-size: calc(var(--memphis-typography-button-font-size)  - 2px);
  --fab-font-line-height: calc(var(--memphis-typography-button-line-height)  - 2px);
  --fab-padding-top: calc(var(--memphis-layout-space)  - 2px);
  --fab-padding-right: calc(var(--memphis-layout-space)  - 2px);
  --fab-padding-bottom: calc(var(--memphis-layout-space)  - 2px);
  --fab-padding-left: calc(var(--memphis-layout-space)  - 2px);
}

:host([size="medium"]) {
  --fab-font-size: var(--memphis-typography-button-font-size);
  --fab-font-line-height: var(--memphis-typography-button-line-height);
}

:host([size="large"]) {
  --fab-font-size: calc(var(--memphis-typography-button-font-size)  + 2px);
  --fab-font-line-height: calc(var(--memphis-typography-button-line-height)  + 2px);
  --fab-padding-top: calc(var(--memphis-layout-space)  + 4px);
  --fab-padding-right: calc(var(--memphis-layout-space)  + 4px);
  --fab-padding-bottom: calc(var(--memphis-layout-space)  + 4px);
  --fab-padding-left: calc(var(--memphis-layout-space)  + 4px);
}

:host([size="giant"]) {
  --fab-font-size: calc(var(--memphis-typography-button-font-size)  + 4px);
  --fab-font-line-height: calc(var(--memphis-typography-button-line-height)  + 4px);
  --fab-padding-top: calc(var(--memphis-layout-space)  + 8px);
  --fab-padding-right: calc(var(--memphis-layout-space)  + 8px);
  --fab-padding-bottom: calc(var(--memphis-layout-space)  + 8px);
  --fab-padding-left: calc(var(--memphis-layout-space)  + 8px);
}

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