// ------------------------------------------------------------------------------
// <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 bannerElementMemphisStyle() {
    return css `
:host {
  --banner-background-color: var(--memphis-scheme-background);
  --banner-border-color: var(--memphis-scheme-contrast);
  --banner-border-radius: var(--memphis-layout-radius);
  --banner-border-style: solid;
  --banner-border-width: var(--memphis-layout-thickness);
  --banner-font-family: var(--memphis-font-family);
  --banner-font-letter-spacing: var(--memphis-typography-body1-letter-spacing);
  --banner-font-line-height: var(--memphis-typography-body1-line-height);
  --banner-font-size: var(--memphis-typography-body1-font-size);
  --banner-font-text-decoration: var(--memphis-typography-body1-text-decoration);
  --banner-font-text-transform: var(--memphis-typography-body1-text-transform);
  --banner-font-weight: var(--memphis-typography-body1-font-weight);
  --banner-foreground-color: var(--memphis-scheme-foreground);
  --banner-gap: var(--memphis-layout-space);
  --banner-padding-bottom: var(--memphis-layout-space);
  --banner-padding-left: calc(var(--memphis-layout-space) * 2);
  --banner-padding-right: calc(var(--memphis-layout-space) * 2);
  --banner-padding-top: calc(var(--memphis-layout-space) * 2);
  --banner-shadow: var(--memphis-elevation-semilight-offset-x-0) var(--memphis-elevation-semilight-offset-y-0) var(--memphis-elevation-semilight-blur-0) var(--memphis-elevation-semilight-spread-0) var(--memphis-elevation-semilight-color-0);
  --banner-shadow-blur: var(--memphis-elevation-semilight-blur-0);
  --banner-shadow-color: var(--memphis-elevation-semilight-color-0);
  --banner-shadow-offset-x: var(--memphis-elevation-semilight-offset-x-0);
  --banner-shadow-offset-y: var(--memphis-elevation-semilight-offset-y-0);
  --banner-shadow-spread: var(--memphis-elevation-semilight-spread-0);
  --banner-transition-duration: .2s;
  --banner-transition-mode: ease;
  --banner-transition-property: all;
  --banner-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(--banner-font-family);
  font-size: var(--banner-font-size);
  font-weight: var(--banner-font-weight);
  background: var(--banner-background-color);
  color: var(--banner-foreground-color);
  border-color: var(--banner-border-color);
  border-width: var(--banner-border-width);
  border-radius: var(--banner-border-radius);
  border-style: var(--banner-border-style);
  transition-duration: var(--banner-transition-duration);
  transition-timing-function: var(--banner-transition-mode);
  transition-property: var(--banner-transition-property);
  padding-top: var(--banner-padding-top);
  padding-left: var(--banner-padding-left);
  padding-bottom: var(--banner-padding-bottom);
  padding-right: var(--banner-padding-right);
  box-shadow: var(--banner-shadow-offset-x) var(--banner-shadow-offset-y) var(--banner-shadow-blur) var(--banner-shadow-spread) var(--banner-shadow-color);
  box-sizing: border-box;
  display: block;
  position: relative;
}

:host [part="root"] {
  box-sizing: inherit;
  gap: var(--banner-gap);
  flex-direction: row;
  max-width: 100%;
  display: flex;
}

:host [part="root"] [part="heading"] {
  box-sizing: inherit;
  display: inherit;
  max-width: inherit;
  flex-direction: row;
  align-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

:host [part="root"] [part="heading"] [part="icon"] {
  color: inherit;
  flex-shrink: 0;
}

:host [part="root"] [part="heading"] [part="text"] {
  box-sizing: inherit;
  flex-direction: column;
  flex: 1;
  display: flex;
}

:host [part="root"] [part="heading"] [part="text"] ::slotted(*), :host [part="root"] [part="heading"] [part="text"] [part="header"], :host [part="root"] [part="heading"] [part="text"] [part="subHeader"] {
  color: inherit;
}

:host [part="root"] [part="actions"] {
  box-sizing: inherit;
  display: inherit;
  flex-direction: row;
  place-content: flex-end;
  align-items: flex-end;
}

@media (width <= 599px) {
  :host [part="root"] [part="actions"] {
    flex-flow: wrap;
    place-content: flex-end;
    align-items: flex-end;
    display: flex;
  }
}

:host [part="root"] [part="actions"] ~ [part="actions"]:empty {
  margin: 0;
}

@media (width <= 599px) {
  :host [part="root"] {
    flex-direction: column;
  }

  :host [part="root"] [part="actions"] {
    flex-direction: row;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
  }
}

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

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

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

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

:host [part="root"] [part="actions"] ~ [part="actions"] {
  margin: 0 0 0 calc(var(--memphis-layout-space) * 2);
}

@media (width <= 599px) {
  :host [part="root"] [part="heading"] ~ [part="actions"] {
    margin: calc(var(--memphis-layout-space) * 2) 0 0 0;
  }
}

:host [part="icon"], :host [part="icon"] modsik-icon {
  color: inherit;
}

:host {
  --banner-background-color: var(--memphis-scheme-background);
}

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

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

:host([variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --banner-background-color: var(--memphis-color-tertiary-500);
  --banner-foreground-color: var(--memphis-color-tertiary-0);
}

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

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

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

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

:host([variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --banner-background-color: var(--memphis-color-highlight-500);
  --banner-foreground-color: var(--memphis-color-highlight-0);
}

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

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