index.scss 2.1 KB

.login-box {
  min-height: 100vh;;
  background-color: #EBEBEB;
}
.login-header {
  padding-left: 18.75%;
  display: flex;
  align-items: center;
  height: 60px;
  background-color: #1890FF;
  .logo-box {
    display: flex;
    align-items: center;
    color: #fff;
  }
  .platform-name {
    margin-left: 16px;
    padding-left: 12px;
    border-left: 1px solid #fff;
    font-size: 20px;
    line-height: 28px;
  }
}
.content-wrap {
  background-color: #F5F6F7;
}
.content {
  margin: 0 auto;
  padding: 99px 0;
  display: flex;
  align-items: center;
  width: 1024px;
  .login-bg {
    margin-right: 52px;
    width: 581px;
    height: 504px;
    background-image: url(./images/login-bg.png);
    background-position: 0 center;
    background-repeat: no-repeat;
    background-size: contain;
  }
  .login-controller-box {
    padding: 0 33px;
    width: 390px;
    height: 414px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 4px 28px -18px 
  }
  .tabs-box {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 24px;
    border-bottom: 1px solid #D7D7D7;
  }
  .tabs-item {
    position: relative;
    padding: 14px 0;
    flex: 1;
    text-align: center;
    color: #C0C5CC;
    cursor: pointer;
    transition: all .25s ease-in;
    &::after {
      content: '';
      display: block;
      position: absolute;
      left: 50%;
      bottom: -1px;
      width: 2em;
      height: 2px;
      margin-left: -1em;
      transform: scale(0);
      transition: transform .25s ease-in;
    }
    &:hover{
      font-size: 20px;
      color: #1892FF;
    }
  }
  .tab-active {
    font-size: 20px;
    color: #1892FF;
    &::after {
      transform: scale(1);;
      background-color: #1892FF;
    }
  }
  // 表单
  .login-form {
    .ant-input-affix-wrapper {
      height: 48px;
    }
    .anticon {
      font-size: 20px;
    }
    .ant-input {
      font-size: 16px;
    }
    .btn-login-code {
      margin-left: 10px;
      height: 48px;
      min-width: 120px;
    }
    .forget-password {
      position: absolute;
      right: 0;
      top: -16px;
    }
  }
}