//顶部header
.#{$namespace} {
  &-header {
    width: $navbarWidth;
    height: $navbarHeight;
    background: $navbarBg;
    box-shadow: $navbarShow;
    overflow: hidden;
    @include transition();
    @include flexBox(row, space-between, center);

    // 固定顶部
    &.fixed-header {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 9;
    }

    // 左
    .left {
      @include flexBox(row, null, center);

      // 系统logo
      .sys-logo {
        width: 70px;
        height: 70px;
        margin: 0 20px;
      }

      // 系统名称
      .sys-name {
        font-size: $ft-bg;
        font-weight: bold;
        color: $primary;
        text-shadow: 0 1px 10px rgba($black, 0.1);
        transition: all 0.3s;
        display: flex;
        align-items: center;

        h1 {
          font-size: 22px;

          font-weight: bold;
        }

        h3 {
          font-size: $ft-bs;
          text-transform: uppercase;
          color: #bdbdbd;
          margin-left: 10px;
          &::before {
            content: "（";
            display: inline-block;
          }
          &::after {
            content: "）";
            display: inline-block;
          }
        }
      }
    }

    // 右
    .right {
      @include flexBox(row, null, center);

      // 退出
      .logout-btn {
        margin: 0 20px;

        .svg-icon {
          color: $g-666;
          fill: $g-666;
        }
      }
      .sys-selec-btn {
        margin-left: 20px;
      }
    }
  }
}
