// ------------------------------------------------------------------------------
// <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 fileBoxElementMemphisStyle() {
    return css `
:host {
  --filebox-background-color: var(--memphis-scheme-background);
  --filebox-border-color: var(--memphis-scheme-contrast);
  --filebox-border-radius: var(--memphis-layout-radius);
  --filebox-border-style: solid;
  --filebox-border-width: var(--memphis-layout-thickness);
  --filebox-focus-ring-width: 0px;
  --filebox-font-family: var(--memphis-font-family);
  --filebox-font-letter-spacing: unset;
  --filebox-font-line-height: unset;
  --filebox-font-size: var(--memphis-typography-body1-font-size);
  --filebox-font-text-decoration: unset;
  --filebox-font-text-transform: unset;
  --filebox-font-weight: var(--memphis-typography-body1-font-weight);
  --filebox-foreground-color: var(--memphis-scheme-foreground);
  --filebox-gap: var(--memphis-layout-space);
  --filebox-height: 56px;
  --filebox-padding-bottom: var(--memphis-layout-space);
  --filebox-padding-left: calc(var(--memphis-layout-space) * 1.5);
  --filebox-padding-right: calc(var(--memphis-layout-space) * 1.5);
  --filebox-padding-top: var(--memphis-layout-space);
  --filebox-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);
  --filebox-shadow-blur: var(--memphis-elevation-semilight-blur-0);
  --filebox-shadow-color: var(--memphis-elevation-semilight-color-0);
  --filebox-shadow-offset-x: var(--memphis-elevation-semilight-offset-x-0);
  --filebox-shadow-offset-y: var(--memphis-elevation-semilight-offset-y-0);
  --filebox-shadow-spread: var(--memphis-elevation-semilight-spread-0);
  --filebox-transition-duration: .2s;
  --filebox-transition-mode: ease;
  --filebox-transition-property: background-color, color, border-color, opacity, box-shadow, translate;
  --filebox-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 input {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  cursor: inherit;
  margin: 0;
  overflow: visible;
}

:host {
  font-family: var(--filebox-font-family);
  font-size: var(--filebox-font-size);
  line-height: var(--filebox-font-line-height);
  font-weight: var(--filebox-font-weight);
  letter-spacing: var(--filebox-font-letter-spacing);
  -webkit-text-decoration: var(--filebox-font-text-decoration);
  text-decoration: var(--filebox-font-text-decoration);
  text-transform: var(--filebox-font-text-transform);
  padding-top: var(--filebox-padding-top);
  padding-right: var(--filebox-padding-right);
  padding-bottom: var(--filebox-padding-bottom);
  padding-left: var(--filebox-padding-left);
  gap: var(--filebox-gap);
  transition-duration: var(--filebox-transition-duration);
  transition-timing-function: var(--filebox-transition-mode);
  transition-property: var(--filebox-transition-property);
  translate: var(--filebox-translate);
  background: var(--filebox-background-color);
  color: var(--filebox-foreground-color);
  border-color: var(--filebox-border-color);
  border-width: var(--filebox-border-width);
  border-radius: var(--filebox-border-radius);
  border-style: var(--filebox-border-style);
  min-height: var(--filebox-height);
  cursor: text;
  z-index: 0;
  outline: none;
  flex-direction: row;
  align-items: center;
  display: flex;
}

:host [part="prefix"] {
  gap: var(--filebox-gap);
  flex-grow: 0;
  flex-shrink: 0;
  align-items: center;
  display: flex;
}

:host [part="prefix"][hidden] {
  display: none;
}

:host [part="inner"] {
  width: 100%;
  height: 100%;
  padding: var(--filebox-padding-top) var(--filebox-padding-right) var(--filebox-padding-bottom) var(--filebox-padding-left);
  flex-direction: column;
  flex: 1;
  display: flex;
  position: relative;
}

:host [part="label"] {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  pointer-events: none;
  transform-origin: 0 0;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  will-change: transform;
  transition-property: transform, font-size, color, letter-spacing, top;
  transition-duration: .2s;
  transition-timing-function: ease;
  display: block;
  position: absolute;
  top: 10px;
  overflow: hidden;
  transform: translateY(0);
}

:host [part="label"].floating {
  top: unset;
  font-size: 12px;
  transform: translateY(-50%);
}

:host [part="suffix"] {
  gap: var(--filebox-gap);
  flex-grow: 0;
  flex-shrink: 0;
  align-items: center;
  display: flex;
}

:host [part="suffix"][hidden] {
  display: none;
}

:host [part="input"] {
  color: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

:host [part="clear"], :host [part="browse"] {
  cursor: pointer;
}

:host([has-label]) [part="inner"] [part="input"] {
  padding-top: 12px;
}

:host([has-label]) [part="inner"] {
  padding-bottom: unset;
}

:host([required]) [part="label"]:after {
  content: "*";
  margin-left: 2px;
}

:host([text-align="left"]) [part="input"] {
  text-align: left;
}

:host([text-align="center"]) [part="input"] {
  text-align: center;
}

:host([text-align="right"]) [part="input"] {
  text-align: right;
}

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

:host [part="focusRing"] {
  --focus-ring-width: var(--filebox-focus-ring-width);
}

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