// ------------------------------------------------------------------------------
// <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 toolbarElementMemphisStyle() {
    return css `
:host {
  --toolbar-background-color: var(--memphis-scheme-background);
  --toolbar-border-color: var(--memphis-scheme-contrast);
  --toolbar-border-radius: var(--memphis-layout-radius);
  --toolbar-border-style: solid;
  --toolbar-border-width: var(--memphis-layout-thickness);
  --toolbar-font-family: var(--memphis-font-family);
  --toolbar-font-letter-spacing: unset;
  --toolbar-font-line-height: unset;
  --toolbar-font-size: 24px;
  --toolbar-font-text-decoration: unset;
  --toolbar-font-text-transform: unset;
  --toolbar-font-weight: normal;
  --toolbar-foreground-color: var(--memphis-scheme-foreground);
  --toolbar-gap: var(--memphis-layout-space);
  --toolbar-height: 64px;
  --toolbar-line-height: 28px;
  --toolbar-padding-bottom: var(--memphis-layout-space);
  --toolbar-padding-left: calc(var(--memphis-layout-space) * 2);
  --toolbar-padding-right: calc(var(--memphis-layout-space) * 2);
  --toolbar-padding-top: var(--memphis-layout-space);
  --toolbar-shadow: var(--memphis-elevation-bold-offset-x-0) var(--memphis-elevation-bold-offset-y-0) var(--memphis-elevation-bold-blur-0) var(--memphis-elevation-bold-spread-0) var(--memphis-elevation-bold-color-0);
  --toolbar-shadow-blur: var(--memphis-elevation-bold-blur-0);
  --toolbar-shadow-color: var(--memphis-elevation-bold-color-0);
  --toolbar-shadow-offset-x: var(--memphis-elevation-bold-offset-x-0);
  --toolbar-shadow-offset-y: var(--memphis-elevation-bold-offset-y-0);
  --toolbar-shadow-spread: var(--memphis-elevation-bold-spread-0);
  --toolbar-transition-duration: .2s;
  --toolbar-transition-mode: ease;
  --toolbar-transition-property: all;
  --toolbar-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(--toolbar-font-family);
  font-size: var(--toolbar-font-size);
  font-weight: var(--toolbar-font-weight);
  line-height: var(--toolbar-line-height);
  min-height: var(--toolbar-height);
  padding-top: var(--toolbar-padding-top);
  padding-bottom: var(--toolbar-padding-bottom);
  padding-left: var(--toolbar-padding-left);
  padding-right: var(--toolbar-padding-right);
  background-color: var(--toolbar-background-color);
  color: var(--toolbar-foreground-color);
  border-radius: var(--toolbar-border-radius);
  box-shadow: var(--toolbar-shadow-offset-x) var(--toolbar-shadow-offset-y) var(--toolbar-shadow-blur) var(--toolbar-shadow-spread) var(--toolbar-shadow-color);
  border-style: var(--toolbar-border-style);
  border-color: var(--toolbar-border-color);
  border-width: var(--toolbar-border-width);
  align-items: center;
  display: flex;
}

:host [part="root"] {
  align-items: center;
  gap: var(--toolbar-gap);
  flex: 1;
  display: flex;
}

:host [part="main"] {
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  display: flex;
}

:host [part="main"][hidden] {
  display: none;
}

:host [part="main"] [part="title"] ::slotted(*) {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

:host [part="main"] [part="subTitle"] ::slotted(*) {
  font-family: inherit;
  font-weight: inherit;
  color: inherit;
}

:host ::slotted(mosaik-divider) {
  height: calc(var(--toolbar-height) - var(--toolbar-padding-top) - var(--toolbar-padding-bottom));
}

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

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

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

:host {
  --toolbar-shadow-color: var(--memphis-scheme-highlight);
}

:host([appearance="plain"]) {
  --toolbar-border-style: none;
  box-shadow: none;
}

:host([appearance="plain"]:not([disabled]:not([disabled="false"]))) {
  --toolbar-background-color: var(--memphis-scheme-transparent);
}

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