// ------------------------------------------------------------------------------
// <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 appHeaderElementJoyStyle() {
    return css `
:host {
  --app-header-background-color: var(--joy-scheme-background);
  --app-header-border-color: var(--joy-scheme-highlight);
  --app-header-border-radius: var(--joy-layout-radius);
  --app-header-border-style: solid;
  --app-header-border-width: var(--joy-layout-thickness);
  --app-header-font-family: var(--joy-typography-headline6-font-family);
  --app-header-font-letter-spacing: var(--joy-typography-headline6-letter-spacing);
  --app-header-font-line-height: var(--joy-typography-headline6-line-height);
  --app-header-font-size: var(--joy-typography-headline6-font-size);
  --app-header-font-text-decoration: var(--joy-typography-headline6-text-decoration);
  --app-header-font-text-transform: var(--joy-typography-headline6-text-transform);
  --app-header-font-weight: var(--joy-typography-headline6-font-weight);
  --app-header-foreground-color: var(--joy-scheme-foreground);
  --app-header-gap: var(--joy-layout-space);
  --app-header-line-thickness: var(--joy-layout-thickness);
  --app-header-padding-bottom: unset;
  --app-header-padding-left: unset;
  --app-header-padding-right: unset;
  --app-header-padding-top: unset;
  --app-header-transition-duration: var(--joy-duration-short);
  --app-header-transition-mode: ease;
  --app-header-transition-property: background-color, color, border-color, opacity, box-shadow, translate;
  --app-header-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(--app-header-font-family);
  font-size: var(--app-header-font-size);
  line-height: var(--app-header-font-line-height);
  font-weight: var(--app-header-font-weight);
  letter-spacing: var(--app-header-font-letter-spacing);
  -webkit-text-decoration: var(--app-header-font-text-decoration);
  text-decoration: var(--app-header-font-text-decoration);
  text-transform: var(--app-header-font-text-transform);
  transition-duration: var(--app-header-transition-duration);
  transition-timing-function: var(--app-header-transition-mode);
  transition-property: var(--app-header-transition-property);
  background-color: var(--app-header-background-color);
  color: var(--app-header-foreground-color);
  z-index: 2;
  height: 64px;
  display: block;
  position: sticky;
  top: 0;
}

:host [part="root"] {
  position: relative;
}

:host [part="root"]:after {
  content: "";
  background-color: var(--app-header-border-color);
  height: var(--app-header-line-thickness);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

:host([data-shadow]) [part="toolbar"] {
  box-shadow: var(--joy-elevation-regular);
}

:host([data-visible]) {
  opacity: 1;
  visibility: visible;
  top: 0;
}

:host([data-fixed]) {
  z-index: 1000;
  position: sticky;
  top: 24px;
  left: 24px;
  right: 0;
}

:host([data-animated]), :host([data-animated]) [part="toolbar"] {
  transition-duration: var(--app-header-transition-duration);
  transition-timing-function: var(--app-header-transition-mode);
  transition-property: var(--app-header-transition-property);
}

:host(:not([data-visible])) {
  top: calc((64px + env(safe-area-inset-top)) * -1);
  opacity: 0;
  visibility: hidden;
}

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