// ------------------------------------------------------------------------------
// <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 tableBodyCellElementMemphisStyle() {
    return css `
:host {
  --table-body-cell-background-color: var(--memphis-scheme-background);
  --table-body-cell-border-color: var(--memphis-scheme-highlight);
  --table-body-cell-border-radius: var(--memphis-layout-radius);
  --table-body-cell-border-style: unset;
  --table-body-cell-border-width: 0px;
  --table-body-cell-font-family: var(--memphis-font-family);
  --table-body-cell-font-letter-spacing: unset;
  --table-body-cell-font-line-height: unset;
  --table-body-cell-font-size: var(--memphis-typography-body1-font-size);
  --table-body-cell-font-text-decoration: unset;
  --table-body-cell-font-text-transform: unset;
  --table-body-cell-font-weight: var(--memphis-typography-body1-font-weight);
  --table-body-cell-foreground-color: var(--memphis-color-neutral-50);
  --table-body-cell-gap: var(--memphis-layout-space);
  --table-body-cell-padding-bottom: 0px;
  --table-body-cell-padding-left: calc(var(--memphis-layout-space) * 2);
  --table-body-cell-padding-right: calc(var(--memphis-layout-space) * 2);
  --table-body-cell-padding-top: 0px;
  --table-body-cell-shadow: unset unset unset unset unset;
  --table-body-cell-shadow-blur: unset;
  --table-body-cell-shadow-color: unset;
  --table-body-cell-shadow-offset-x: unset;
  --table-body-cell-shadow-offset-y: unset;
  --table-body-cell-shadow-spread: unset;
  --table-body-cell-transition-duration: .2s;
  --table-body-cell-transition-mode: ease;
  --table-body-cell-transition-property: all;
  --table-body-cell-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(--table-body-cell-font-family);
  font-size: var(--table-body-cell-font-size);
  line-height: var(--table-body-cell-font-line-height);
  font-weight: var(--table-body-cell-font-weight);
  letter-spacing: var(--table-body-cell-font-letter-spacing);
  -webkit-text-decoration: var(--table-body-cell-font-text-decoration);
  text-decoration: var(--table-body-cell-font-text-decoration);
  text-transform: var(--table-body-cell-font-text-transform);
  background-color: var(--table-body-cell-background-color);
  padding-top: var(--table-body-cell-padding-top);
  padding-right: var(--table-body-cell-padding-right);
  padding-bottom: var(--table-body-cell-padding-bottom);
  padding-left: var(--table-body-cell-padding-left);
  border-right: var(--table-column-border-width, 0px) var(--table-column-border-style, solid) var(--table-column-border-color, transparent);
  white-space: nowrap;
  content-visibility: auto;
  isolation: isolate;
  flex-direction: row;
  align-items: center;
  min-width: 0;
  display: flex;
  position: relative;
  overflow: hidden;
}

:host:before {
  content: "";
  z-index: -1;
  background-color: var(--table-body-cell-state-color, transparent);
  opacity: var(--table-body-cell-state-opacity, 0);
  pointer-events: none;
  transition-duration: var(--table-body-cell-transition-duration);
  transition-timing-function: var(--table-body-cell-transition-mode);
  transition-property: background-color, opacity;
  position: absolute;
  inset: 0;
}

:host [part="text"], :host ::slotted(mosaik-text) {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
}

:host([pinned="left"]), :host([pinned="right"]) {
  z-index: 2;
  background-color: var(--table-body-cell-background-color, inherit);
  position: sticky;
}

:host([pinned="left"]) {
  left: var(--table-column-pinned-offset, 0px);
}

:host([pinned="right"]) {
  right: var(--table-column-pinned-offset, 0px);
}

:host([column-hidden]) {
  visibility: hidden !important;
  pointer-events: none !important;
  border: none !important;
  min-width: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

:host(:last-child) {
  border-right: none;
}

:host([disabled]:not([disabled="false"])) {
  opacity: .5;
  pointer-events: none;
  cursor: default;
}

:host(:not([disabled]:not([disabled="false"])):hover) {
  --table-body-cell-state-color: var(--memphis-scheme-highlight);
  --table-body-cell-state-opacity: 1;
}

:host([aria-selected="true"]) {
  --table-body-cell-state-color: var(--memphis-color-primary-200);
  --table-body-cell-state-opacity: 1;
}

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