// ------------------------------------------------------------------------------
// <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 tableBodyElementJoyStyle() {
    return css `
:host {
  --table-body-background-color: var(--joy-scheme-background);
  --table-body-border-color: var(--joy-scheme-highlight);
  --table-body-border-radius: var(--joy-layout-radius);
  --table-body-border-style: solid;
  --table-body-border-width: 0px;
  --table-body-font-family: var(--joy-font-family);
  --table-body-font-letter-spacing: unset;
  --table-body-font-line-height: unset;
  --table-body-font-size: var(--joy-typography-body1-font-size);
  --table-body-font-text-decoration: unset;
  --table-body-font-text-transform: unset;
  --table-body-font-weight: var(--joy-typography-body1-font-weight);
  --table-body-foreground-color: var(--joy-scheme-foreground);
  --table-body-gap: var(--joy-layout-space);
  --table-body-padding-bottom: calc(var(--joy-layout-space) / 2);
  --table-body-padding-left: var(--joy-layout-space);
  --table-body-padding-right: var(--joy-layout-space);
  --table-body-padding-top: calc(var(--joy-layout-space) / 2);
  --table-body-shadow: var(--joy-elevation-none);
  --table-body-transition-duration: var(--joy-duration-short);
  --table-body-transition-mode: ease;
  --table-body-transition-property: all;
  --table-body-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(--table-body-font-family);
  font-size: var(--table-body-font-size);
  font-weight: var(--table-body-font-weight);
  background-color: var(--table-body-background-color);
  gap: var(--table-body-gap);
  flex-direction: column;
  margin: 0;
  display: flex;
}

:host ::slotted(mosaik-table-row) {
  font-size: inherit;
  text-align: inherit;
  font-weight: inherit;
  align-items: center;
  display: grid;
}

:host ::slotted(mosaik-table-row:last-child):after {
  content: unset;
}

:host.selected > td {
  background-color: var(--table-body-foreground-color);
  color: var(--table-body-foreground-color);
}

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