@charset "utf-8";
.v-nav {
  height: $nav-height;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border-bottom: 1px solid $border-color;
  &.fold{
    .logo-wrap{
      width: $sidebar-fold-width;
    }
    .logo-name{
      display: none;
    }
    .fold-bar{
      transform: rotate(90deg);
    }
  }
  .logo-wrap{
    position: relative;
    width: $sidebar-width;
    height: $nav-height;
    display: flex;
    align-items: center;
    justify-content: center;
    color: $theme-color;
    cursor: pointer;
    transition: all $transition-time;
    .logo-img{
      width: 30px;
      margin-right: 5px;
    }
    .ivu-dropdown{
      cursor: pointer;
    }
    .dropdown-item{
      display: flex;
      align-items: center;
      .other-system-logo{
        width: 20px;
        margin-right: 5px;
      }
    }
  }
  .fold-bar {
    font-size: 24px;
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all $transition-time;
  }
  .slot-wrap{
    flex: 1;
  }
  .user-wrap {
    display: inline-flex;
    height: 100%;
    align-items: center;
    padding: 0 30px;
    .avator {
      margin-right: 5px;
    }
    .ivu-icon-ios-person {
      font-size: 20px;
    }
    .name {
      line-height: 1;
      margin-right: 10px;
    }
    .ivu-icon-md-log-out {
      color: $text-color;
      cursor: pointer;
      &:hover {
        color: $theme-color;
      }
    }
  }
}
