/* login */
.login-home {
  .home-body{
    background-color: $--color-primary;
  }
  .home-head{
    background-color: rgba($color: #000, $alpha: 0.2);
  }
  .head-title,.head-actions{
    color: #fff;
  }

  .login-action{
    position: absolute;
    top: 50px;
    right: 20px;
    z-index: auto;

    &-btn{
      display: inline-block;
      vertical-align: top;
      border: 1px solid #fff;
      border-radius: 5px;
      padding: 6px 10px;
      line-height: 1;
      color: #fff;
      margin-left: 10px;
      cursor: pointer;
  
      >i {
        margin-right: 5px;
      }
  
      &:hover{
        opacity: 0.8;
      }
    }
  }
}

.login-body {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  margin-top: -70px;
  z-index: 99;

  .login-title {
    text-align: center;
    margin-bottom: 40px;
    h1 {
      font-size: 24px;
      font-weight: bold;
      color: #fff;
    }
  }
}
.login-form {
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;

  &-title{
    font-size: 16px;
    padding: 20px;
    border-bottom: 1px solid $--color-border;
  }

  .el-form{
    padding: 30px 40px;
    width: 360px;
  }
  .el-input__prefix {
    left: 9px;
  }
  .icon{
    margin-top: 5px;
  }
}


// setting 
.setting {
  .el-form{
    width: 400px;
  }
  .el-form-item{
    margin-right: 0;
    display: inline-block;
  }
  .ip-split{
    display: inline-block;
    vertical-align: top;
    margin: 6px 5px auto;
  }
  .el-input-number.is-without-controls .el-input__inner{
    padding-left: 10px;
    padding-right: 10px;
  }
  
}
