.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  height: $header-height;
  padding-left: $header-padding-left;
  z-index: $header-z-index;
  box-shadow: 0 4px 4px -4px rgba(0, 0, 0, .5);

  &-left,
  &-center,
  &-right {
    height: 100%;
  }

  &-left,
  &-right {
    display: flex;
  }

  &-center {
    flex: 1;

    .horizontal-menu {
      height: 100%;
      overflow-y: hidden;
    }
  }

  .header-icon {
    font-size: 18px;
  }

  .header-item {
    display: flex;
    align-items: center;
    padding: 0 8px;
    cursor: pointer;
  }

  // 左侧logo
  .logo-container {
    width: auto;
    min-width: $aside-width - $header-padding-left;
    padding-left: $menu-padding - $header-padding-left;
  }

  // 右侧用户头像和用户名
  .user-dropdown-reference {
    display: flex;
    align-items: center;
    height: 100%;

    .username {
      font-size: 18px;
      padding: 0 5px;
    }
  }
}

@import 'theme-light.scss';
@import 'theme-dark.scss';
