// ------------------------------------------------------------------------------
// <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 floatingActionButtonElementCosmopolitanStyle() {
    return css `
:host {
  --fab-background-color: unset;
  --fab-border-radius: unset;
  --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: unset;
  --fab-font-letter-spacing: unset;
  --fab-font-line-height: unset;
  --fab-font-size: unset;
  --fab-font-text-decoration: unset;
  --fab-font-text-transform: unset;
  --fab-font-weight: unset;
  --fab-gap: unset;
  --fab-padding-bottom: unset;
  --fab-padding-left: unset;
  --fab-padding-right: unset;
  --fab-padding-top: unset;
  --fab-ripple-color: unset;
  --fab-ripple-duration: .2s;
  --fab-transition-duration: unset;
  --fab-transition-mode: unset;
  --fab-transition-property: unset;
  --fab-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 {
  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"] {
  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"]: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"] [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: 64px;
}

:host([has-icon]) {
  min-width: 40px;
}

: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%;
}

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