$layout-head-bg: #ffffff;
$layout-head-height: 50px !important;
$layout-head-font-size: 14px;
$layout-head-font-color: #343434;

//侧导航栏表层
$layout-menu-bg: #495060;
$layout-menu-font-size: 14px;
$layout-menu-height: 50px;
$layout-menu-font-color: hsla(0, 0%, 100%, 0.702);
$layout-menu-hover-font-color: #fff;
$layout-menu-hover-bg: #495060;
//侧导航栏底层
$layout-menu-item-bg: #363e4f;
$layout-menu-item-height: 50px;
$layout-menu-item-font-color: rgba(255, 255, 255, 0.702);
$layout-menu-item-font-size: 14px;
$layout-menu-item-hover-bg: #363e4f;
$layout-menu-item-hover-font-color: #fff;
$layout-menu-item-active-font-color: #fff;
$layout-menu-item-active-bg: #2d8cf0;

.app-top {
  padding: 0;
  height: $layout-head-height;
  line-height: $layout-head-height;
  background-color: $layout-head-bg;
  box-shadow: 0px 2px 10px hsla(0, 0%, 0%, 0.2);
  z-index: 999;

  & .logo {
    color: #606266;
    height: 50px;
    float: left;

    h1 {
      font-size: 24px;
      margin: 0;
      padding: 0;
      margin-left: 1em;
    }

    img {
      height: $layout-head-height;
    }
  }

  & .select-lang .el-input__inner,
  & .el-input__suffix,
  & .el-select__caret,
  & .el-button--text {
    color: $layout-head-font-color;
    font-size: $layout-head-font-size;
  }
}

//头部以下部分
.app-container {
  width: 100%;
  height: 100%;
  //导航栏
  & .el-aside {
    background-color: $layout-menu-bg;
    height: calc(100vh - 100px);
    border-right: 1px solid #eee;
    box-shadow: 0px 2px 10px hsla(0, 0%, 0%, 0.2);
    overflow: visible;
    z-index: 300;
    position: relative;

    & > .el-menu {
      border-right: none;
    }

    & > .el-menu > .el-submenu > .el-submenu__title {
      background-color: $layout-menu-bg;
      border-bottom: none;
      font-size: $layout-menu-font-size;
      height: $layout-menu-height;
      line-height: $layout-menu-height;
      color: $layout-menu-font-color;

      & i {
        color: $layout-menu-font-color;
        font-size: $layout-menu-font-size;
      }

      &:hover {
        background-color: $layout-menu-hover-bg;
        color: $layout-menu-hover-font-color;

        & i {
          color: $layout-menu-hover-font-color;
        }
      }
    }

    & .el-menu .el-menu-item {
      height: $layout-menu-item-height;
      line-height: $layout-menu-item-height;
      font-size: $layout-menu-item-font-size;
      background-color: $layout-menu-item-bg;
      color: $layout-menu-item-font-color;

      & i {
        color: $layout-menu-item-font-color;
        font-size: $layout-menu-item-font-size;
      }

      &:hover {
        background-color: $layout-menu-item-hover-bg;
        color: $layout-menu-item-hover-font-color;

        & i {
          color: $layout-menu-item-hover-font-color;
        }
      }
    }

    & .el-menu .el-menu-item.is-active {
      background: $layout-menu-item-active-bg;
      color: $layout-menu-item-active-font-color;
      border-right: 3px solid $layout-menu-item-active-font-color;

      & i {
        color: $layout-menu-item-active-font-color;
      }
    }
  }

  //版权按钮
  .version_btn {
    color: $layout-menu-font-color;
    text-align: center;
    left: 0px;
    bottom: 0px;
    width: calc(100% - 1px);
    font-size: 12px;
    height: 50px;
    line-height: 50px;
    background-color: $layout-menu-bg;
    border-right: 1px solid #eee;
    margin: 0px 3px 0px 0px;

    & .el-button {
      background-color: $layout-menu-bg;
      color: $layout-menu-font-color;
      border: none;
      padding: 0;
      transform: translateY(-15px);

      & i {
        font-size: 24px;
      }

      &:hover {
        background: initial;
        color: $layout-menu-hover-font-color;
        border: none;
      }
    }
  }

  //版权样式
  .copyright {
    position: absolute;
    bottom: 0;
    width: 100%;
    color: whitesmoke;
    margin-bottom: 3px;
    text-align: center;
  }

  .el-tabs__nav-prev,
  .el-tabs__nav-next {
    z-index: 2;
  }
}
