/* ---------------------------------
-----  dimension variables --------
---------------------------------- */
/* ------  standard elements padding & margin  ------- */
/* spacing */
/**
**  Official Font sizes
------------------------------- */
/**
** Line-heights
------------------------------- */
/*
  Mixin to progressively-enhance :focus-visible, keeping :focus where not supported
  Add an arbitrary list of selectors into the arguments, and the styling in the block.
  I you pass no selectors to the mixin the parent ("ampersand") operator is used instead.

  There are two mixins:
  - focus-visible: a generic focus-visible, giving you "slots" to decide what to render for :focus, :focus reset, and :focus-visible
  - focus-visible-outline: a focus-visible, which only resets the outline. If you don't need more custom resets, use this one!

  Use focus-visible:
  The key thing here is checking which slot is being rendered.
  For example, you can reset box-shadow here, or anything else.

  @include focus-visible using ($slot) {
      @if $slot == focus {
          outline: 2px solid transparent;
          box-shadow: 0 0 0 4px blue;
      }
      @if $slot == focusReset {
          box-shadow: none;
      }
      @if $slot == focusVisible {
          box-shadow: 0 0 0 4px blue;
      }
  }

  Use focus-visible-outline:
  @include focus-visible-outline("button", "a[href]") {
      outline: 2px solid blue;
  }

  Resulting CSS (compressed):

  button:focus,
  a[href]:focus {
      outline: 2px solid blue;
  }

  button:focus:not(:focus-visible),
  a[href]:focus:not(:focus-visible) {
      outline: none;
  }
  button:focus-visible,
  a[href]:focus-visible {
      outline: 2px solid blue;
  }
*/
/**
* @prop --ux-input-height: the height of the field itself (without labels)
* @prop --ux-input-font-size: font-size of the input
* @prop --ux-input-padding-horizontal: horizontal inner padding
* @prop --ux-input-font-family: font-family of the input
* @prop --ux-input-unit-color: color of the unit
* @prop --ux-input-unit-padding: padding of the unit
* @prop --ux-input-unit-font-size: font-size of the unit
* @prop --ux-input-unit-font-weight: font-weight of the unit
* @prop --ux-input-unit-line-height: line-height of the unit
*/
:host {
  box-sizing: border-box !important;
  display: flex;
  position: relative;
  height: var(--ux-input-height);
  padding: var(--ux-input-unit-padding);
  align-items: var(--ux-input-unit-align-items);
  font-size: var(--ux-input-unit-font-size);
  font-weight: var(--ux-input-unit-font-weight);
  line-height: var(--ux-input-unit-line-height);
  font-family: var(--ux-font);
  color: var(--ux-input-unit-color);
}
:host::before {
  content: "";
  display: block;
  width: 0;
  top: var(--ux-input-unit-top);
  bottom: var(--ux-input-unit-bottom);
  border-left: 1px solid var(--ux-input-unit-divider-color);
  position: absolute;
  left: 0;
}