index.less 3.54 KB
@import "~@/mixins.less";

.login {
  .size();
  .flex(center, right);
  padding-right: 8%;
  overflow: hidden;
  background-image: url(./asstes/login.png);
  background-size: 100% 100%;

  :global {
    * {
      font-family: Microsoft YaHei, Microsoft YaHei;
    }

    .loginTitle {
      position: absolute;
      top: 0;
      left: 0;
      .size(auto, 100%);
      display: flex;
      flex-direction: column;
      // align-items: center;
      justify-content: center;
      color: #FFF;
      font-weight: bold;
      padding-left: 6%;

      .loginTitle1 {
        font-size: 34px;
      }

      .loginTitle2 {
        font-size: 60px;
        margin-top: -8px;
      }

      .loginTitle3 {
        font-size: 116px;
        margin-top: -57px;
      }
    }

    .loginBox {
      width: 35%;
      height: auto;
      background: #FFFFFF;
      box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
      border-radius: 10px 10px 10px 10px;

      .logo {
        width: 94%;
        height: 100px;
        margin-left: 6%;

        font-weight: bold;
        font-size: 28px;
        color: #1890FF;
        .flex(center, center);

        background-image: url(./asstes/logo.png);
        background-repeat: no-repeat;
        background-size: 52px 42px;
        background-position: left center;
      }

      @media screen and (max-width: 1700px) {
        .logo {
          font-size: 22px;
        }
      }

      @media screen and (max-width: 1400px) {
        .logo {
          font-size: 18px;
        }
      }

      .ant-form {
        padding: 0 11.76% 0 11.76%;

        .ant-form-item {
          margin-top: 5px;
        }

        .ant-form-item-label {
          label {
            font-size: 18px;

            &:before {
              width: 0;
            }
          }
        }
      }

      .ant-input,
      .ant-select-selector {
        border-radius: 5px;
      }

      .ant-input-password {
        height: 32px;
        border-radius: 5px;
      }

      .submitBtn {
        margin-top: 25px;
        height: 50px;
        font-size: 20px;
        border-radius: 10px;
      }

      .faceLogin {
        width: 100%;
        margin-top: 20px;
        .flex(center, center);
        flex-direction: column;

        .faceImg {
          width: 72px;
          height: 72px;
          background-image: url(./asstes/face.png);
          background-size: 100% 100%;
          cursor: pointer;
        }

        .text {
          margin-top: 10px;
          font-size: 20px;
          cursor: pointer;
        }

        padding-bottom: 25px;
      }
    }
  }
}

.faceLogin {
  .size(770px, 734px);
}

.faceLogin1 {
  :global {
    .ant-form {
      .ant-form-item {
        margin-top: 5px;
      }

      .ant-select-selection-search-input {
        font-size: 14px;
        text-indent: 4px;
      }

      .ant-form-item-label {
        label {
          font-size: 18px;

          &:before {
            width: 0;
          }
        }
      }
    }

    .ant-input,
    .ant-select-selector {
      border-radius: 5px;
    }

    .ant-input-password {
      height: 32px;
      border-radius: 5px;
    }

    .submitBtn {
      margin-top: 25px;
      height: 50px;
      font-size: 20px;
      border-radius: 10px;
    }
  }
}

.xlyFaceAuthLogin {
  :global {
    .ant-modal-header {
      background: transparent !important;
      border: none !important;
      height: 50px;
      .flex(center);
    }

    .ant-modal-title {
      font-size: 20px;
      color: rgba(0, 0, 0, 0.85) !important;
    }

    .ant-modal-body {
      padding-top: 0 !important;
    }
  }
}