src/components/Header/Header.scss
@import '../../constants/styles';

.view-header-border {
  width: 100%;
  height: 1px;
  background: var(--border);
}

.HeaderToolsContainer {
  display: flex;
  align-items: flex-end;
  width: 100%;
  z-index: 71;
  height: 40px;
  touch-action: none;

  @include tablet-and-mobile {
    height: 52px;

    &.closed {
      height: 0px;
    }
  }

  &.closed {
    height: 0px;
  }
}

.MainHeader {
  box-sizing: content-box !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 36px;
  background: var(--view-header-background);
  z-index: $headers-z-index;
  touch-action: none;

  &:not(.Tools) {
    .Button {
      &:hover:enabled {
        background: var(--view-header-button-hover);
      }

      &.active {
        background: var(--view-header-button-active);

        .Icon {
          color: var(--view-header-icon-active-fill);
        }
      }
    }
  }

  &.Tools {
    background: var(--tools-header-background);
    height: 40px;

    @include tablet-and-mobile {
      height: 52px;
    }
  }

  &.OfficeTools {
    .picked-option {
      text-align: start;
    }
  }

  @include tablet-and-mobile {
    height: 52px;
  }
}
