// ------------------------------------------------------------------------------
// <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 schedulerEventElementMemphisStyle() {
    return css `
:host {
  --scheduler-event-agenda-gap: var(--memphis-layout-space);
  --scheduler-event-agenda-min-height: 48px;
  --scheduler-event-agenda-padding: var(--memphis-layout-space);
  --scheduler-event-all-day-background-color: var(--memphis-color-primary-100);
  --scheduler-event-all-day-foreground-color: var(--memphis-color-primary-900);
  --scheduler-event-background-color: var(--memphis-color-primary-500);
  --scheduler-event-border-color: unset;
  --scheduler-event-border-radius: var(--memphis-layout-radius);
  --scheduler-event-border-style: solid;
  --scheduler-event-border-width: unset;
  --scheduler-event-box-shadow: var(--memphis-elevation-1);
  --scheduler-event-focus-ring-active-width: 8px;
  --scheduler-event-focus-ring-color: var(--memphis-scheme-highlight);
  --scheduler-event-focus-ring-inward-offset: 2px;
  --scheduler-event-focus-ring-outward-offset: 2px;
  --scheduler-event-font-family: var(--memphis-font-family);
  --scheduler-event-font-letter-spacing: unset;
  --scheduler-event-font-line-height: var(--memphis-typography-caption-line-height);
  --scheduler-event-font-size: var(--memphis-typography-caption-font-size);
  --scheduler-event-font-text-decoration: unset;
  --scheduler-event-font-text-transform: unset;
  --scheduler-event-font-weight: var(--memphis-typography-caption-font-weight);
  --scheduler-event-foreground-color: var(--memphis-color-light-foreground);
  --scheduler-event-gap: unset;
  --scheduler-event-hover-background-color: var(--memphis-color-primary-600);
  --scheduler-event-month-border-radius: var(--memphis-layout-radius);
  --scheduler-event-month-font-size: var(--memphis-typography-caption-font-size);
  --scheduler-event-month-gap: calc(var(--memphis-layout-space) / 2);
  --scheduler-event-month-line-height: 1.2;
  --scheduler-event-month-min-height: 20px;
  --scheduler-event-month-padding: 2px calc(var(--memphis-layout-space) / 2);
  --scheduler-event-padding: var(--memphis-layout-space) calc(var(--memphis-layout-space) / 2);
  --scheduler-event-padding-bottom: unset;
  --scheduler-event-padding-left: unset;
  --scheduler-event-padding-right: unset;
  --scheduler-event-padding-top: unset;
  --scheduler-event-ripple-color: unset;
  --scheduler-event-ripple-duration: .2s;
  --scheduler-event-shadow-blur: unset;
  --scheduler-event-shadow-color: unset;
  --scheduler-event-shadow-offset-x: unset;
  --scheduler-event-shadow-offset-y: unset;
  --scheduler-event-shadow-spread: unset;
  --scheduler-event-transition-duration: var(--memphis-motion-duration);
  --scheduler-event-transition-mode: var(--memphis-motion-mode);
  --scheduler-event-transition-property: background-color, box-shadow, transform;
  --scheduler-event-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(--scheduler-event-font-family);
  font-size: var(--scheduler-event-font-size);
  line-height: var(--scheduler-event-font-line-height);
  font-weight: var(--scheduler-event-font-weight);
  letter-spacing: var(--scheduler-event-font-letter-spacing);
  -webkit-text-decoration: var(--scheduler-event-font-text-decoration);
  text-decoration: var(--scheduler-event-font-text-decoration);
  text-transform: var(--scheduler-event-font-text-transform);
  color: var(--scheduler-event-foreground-color);
  transition-duration: var(--scheduler-event-transition-duration);
  transition-timing-function: var(--scheduler-event-transition-mode);
  transition-property: var(--scheduler-event-transition-property);
  background-color: var(--scheduler-event-background-color);
  border-color: var(--scheduler-event-border-color);
  border-style: var(--scheduler-event-border-style);
  border-width: var(--scheduler-event-border-width);
  border-radius: var(--scheduler-event-border-radius);
}

:host [part="popup"] {
  position: absolute;
}

:host [part~="container"] {
  box-sizing: border-box;
  border-radius: inherit;
  width: 100%;
  height: 100%;
  padding: var(--scheduler-event-padding);
  flex-direction: column;
  display: flex;
  overflow: hidden;
}

:host [part~="container"][part~="is-cancelled"] {
  opacity: .6;
  text-decoration: line-through;
}

:host [part~="container"][part~="is-tentative"] {
  opacity: .8;
  border-style: dashed;
}

:host [part~="container"] [part="focusRing"] {
  --focus-ring-active-width: var(--scheduler-event-focus-ring-active-width);
  --focus-ring-color: var(--scheduler-event-focus-ring-color);
  --focus-ring-inward-offset: var(--scheduler-event-focus-ring-inward-offset);
  --focus-ring-outward-offset: var(--scheduler-event-focus-ring-outward-offset);
}

:host [part~="container"] [part~="content"] {
  flex-direction: column;
  flex: 1;
  display: flex;
  overflow: hidden;
}

:host [part~="title"] {
  color: var(--scheduler-event-foreground-color);
  white-space: nowrap;
  text-overflow: ellipsis;
  flex-shrink: 0;
  overflow: hidden;
}

:host [part~="subtitle"] {
  color: var(--scheduler-event-foreground-color);
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  overflow: hidden;
}

:host [part~="footer"] {
  color: var(--scheduler-event-foreground-color);
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-block-start: auto;
  overflow: hidden;
}

:host([disabled]:not([disabled="false"])) {
  cursor: default;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

:host([is-focused]:not([is-focused="false"])) {
  z-index: 1;
}

:host([all-day]) {
  background-color: var(--scheduler-event-all-day-background-color);
  border-left: 3px solid;
  height: auto;
  max-height: 64px;
}

:host([layout="timeGrid"]), :host(:not([layout])) {
  cursor: pointer;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}

:host([layout="timeGrid"]) [part~="container"], :host(:not([layout])) [part~="container"] {
  flex-direction: column;
}

:host([layout="timeGrid"]) [part~="container"] [part~="content"], :host(:not([layout])) [part~="container"] [part~="content"] {
  flex-direction: column;
  min-width: 0;
}

:host([layout="month"]) {
  width: 100%;
  height: auto;
  min-height: var(--scheduler-event-month-min-height);
  border-radius: var(--scheduler-event-month-border-radius);
  cursor: pointer;
  white-space: nowrap;
  text-overflow: ellipsis;
  box-sizing: border-box;
  align-items: center;
  display: flex;
  overflow: hidden;
}

:host([layout="month"]) [part~="container"] {
  align-items: center;
  gap: var(--scheduler-event-month-gap);
  padding: var(--scheduler-event-month-padding);
  height: auto;
  min-height: var(--scheduler-event-month-min-height);
  flex-direction: row;
}

:host([layout="month"]) [part~="container"] [part~="content"] {
  align-items: center;
  gap: var(--scheduler-event-month-gap);
  flex-direction: row;
}

:host([layout="month"]) [part~="container"] [part~="title"] {
  font-size: var(--scheduler-event-month-font-size);
  line-height: var(--scheduler-event-month-line-height);
  flex: 1;
}

:host([layout="agenda"]) {
  width: 100%;
  height: auto;
  min-height: var(--scheduler-event-agenda-min-height);
  cursor: pointer;
  box-sizing: border-box;
  align-items: center;
  display: flex;
  overflow: hidden;
}

:host([layout="agenda"]) [part~="container"] {
  align-items: center;
  gap: var(--scheduler-event-agenda-gap);
  padding: var(--scheduler-event-agenda-padding);
  height: auto;
  min-height: var(--scheduler-event-agenda-min-height);
  flex-direction: row;
}

:host([layout="agenda"]) [part~="container"] [part~="content"] {
  align-items: center;
  gap: var(--scheduler-event-agenda-gap);
  flex-direction: row;
  flex: 1;
}

:host([layout="agenda"]) [part~="container"] [part~="title"] {
  flex: 1;
}

:host([layout="agenda"]) [part~="container"] [part~="subtitle"] {
  flex: none;
}

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