// ------------------------------------------------------------------------------
// <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 bannerElementJoyStyle() {
    return css `
:host {
  --banner-background-color: var(--joy-scheme-background);
  --banner-border-color: var(--joy-scheme-highlight);
  --banner-border-radius: var(--joy-layout-radius);
  --banner-border-style: solid;
  --banner-border-width: var(--joy-layout-thickness);
  --banner-font-family: var(--joy-font-family);
  --banner-font-letter-spacing: var(--joy-typography-body1-letter-spacing);
  --banner-font-line-height: var(--joy-typography-body1-line-height);
  --banner-font-size: var(--joy-typography-body1-font-size);
  --banner-font-text-decoration: var(--joy-typography-body1-text-decoration);
  --banner-font-text-transform: var(--joy-typography-body1-text-transform);
  --banner-font-weight: var(--joy-typography-body1-font-weight);
  --banner-foreground-color: var(--joy-scheme-foreground);
  --banner-gap: var(--joy-layout-space);
  --banner-padding-bottom: var(--joy-layout-space);
  --banner-padding-left: calc(var(--joy-layout-space) * 2);
  --banner-padding-right: calc(var(--joy-layout-space) * 2);
  --banner-padding-top: var(--joy-layout-space);
  --banner-shadow: var(--joy-elevation-light-offset-x-1) var(--joy-elevation-light-offset-y-1) var(--joy-elevation-light-blur-1) var(--joy-elevation-light-spread-1) var(--joy-elevation-light-color-1);
  --banner-shadow-blur: var(--joy-elevation-light-blur-1);
  --banner-shadow-color: var(--joy-elevation-light-color-1);
  --banner-shadow-offset-x: var(--joy-elevation-light-offset-x-1);
  --banner-shadow-offset-y: var(--joy-elevation-light-offset-y-1);
  --banner-shadow-spread: var(--joy-elevation-light-spread-1);
  --banner-transition-duration: var(--joy-duration-short);
  --banner-transition-mode: ease;
  --banner-transition-property: background-color, color, border-color, opacity, box-shadow;
  --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;
}

: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 [part="root"] [part="actions"] ~ [part="actions"] {
  margin: 0 0 0 calc(var(--joy-layout-space) * 2);
}

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

:host([appearance="outline"]) {
  --banner-background-color: var(--joy-scheme-background);
  --banner-foreground-color: var(--joy-scheme-foreground);
  --banner-border-color: var(--joy-scheme-highlight);
  --banner-border-width: var(--joy-layout-thickness);
  --banner-border-style: solid;
}

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

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

:host([appearance="outline"][variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --banner-foreground-color: var(--joy-color-tertiary-500);
  --banner-border-color: var(--joy-color-tertiary-500);
}

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

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

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

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

:host([appearance="outline"][variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --banner-foreground-color: var(--joy-color-highlight-500);
  --banner-border-color: var(--joy-color-highlight-500);
}

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

:host([appearance="soft"]) {
  --banner-background-color: var(--joy-scheme-highlight);
  --banner-foreground-color: var(--joy-scheme-foreground);
  --banner-border-width: 0;
}

:host([appearance="soft"][variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --banner-background-color: var(--joy-color-primary-100);
  --banner-foreground-color: var(--joy-color-primary-500);
}

:host([appearance="soft"][variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --banner-background-color: var(--joy-color-secondary-100);
  --banner-foreground-color: var(--joy-color-secondary-500);
}

:host([appearance="soft"][variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --banner-background-color: var(--joy-color-tertiary-100);
  --banner-foreground-color: var(--joy-color-tertiary-500);
}

:host([appearance="soft"][variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --banner-background-color: var(--joy-color-danger-100);
  --banner-foreground-color: var(--joy-color-danger-500);
}

:host([appearance="soft"][variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --banner-background-color: var(--joy-color-warning-100);
  --banner-foreground-color: var(--joy-color-warning-500);
}

:host([appearance="soft"][variant="success"]:not([disabled]:not([disabled="false"]))) {
  --banner-background-color: var(--joy-color-success-100);
  --banner-foreground-color: var(--joy-color-success-500);
}

:host([appearance="soft"][variant="info"]:not([disabled]:not([disabled="false"]))) {
  --banner-background-color: var(--joy-color-info-100);
  --banner-foreground-color: var(--joy-color-info-500);
}

:host([appearance="soft"][variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --banner-background-color: var(--joy-color-highlight-100);
  --banner-foreground-color: var(--joy-color-highlight-500);
}

:host([appearance="soft"][variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --banner-background-color: var(--joy-color-neutral-100);
  --banner-foreground-color: var(--joy-color-neutral-500);
}

:host([appearance="plain"]) {
  --banner-background-color: var(--joy-scheme-background);
  --banner-foreground-color: var(--joy-scheme-foreground);
  --banner-border-width: 0;
}

:host([appearance="plain"][variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --banner-foreground-color: var(--joy-color-primary-500);
}

:host([appearance="plain"][variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --banner-foreground-color: var(--joy-color-secondary-500);
}

:host([appearance="plain"][variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --banner-foreground-color: var(--joy-color-tertiary-500);
}

:host([appearance="plain"][variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --banner-foreground-color: var(--joy-color-danger-500);
}

:host([appearance="plain"][variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --banner-foreground-color: var(--joy-color-warning-500);
}

:host([appearance="plain"][variant="success"]:not([disabled]:not([disabled="false"]))) {
  --banner-foreground-color: var(--joy-color-success-500);
}

:host([appearance="plain"][variant="info"]:not([disabled]:not([disabled="false"]))) {
  --banner-foreground-color: var(--joy-color-info-500);
}

:host([appearance="plain"][variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --banner-foreground-color: var(--joy-color-highlight-500);
}

:host([appearance="plain"][variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --banner-foreground-color: var(--joy-color-neutral-500);
}

:host([appearance="solid"]) {
  --banner-background-color: var(--joy-scheme-highlight);
  --banner-foreground-color: var(--joy-scheme-foreground);
  --banner-border-width: 0;
}

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

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

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

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

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

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

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

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

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

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