password-reset.scss 4.63 KB
@import '@/styles/_support';

.content {
  position: relative;
  padding-bottom: 2.25rem;
  position: relative;
  padding-bottom: $paddingMedium;
  color: $cFontGray;
  font-size: $fontSize;
}

.top-space {
  height: $marginMedium;
}

.box {
  position: relative;
}

.ebg {
  position: absolute;
  bottom: 0;
  width: 100%;
  overflow: hidden;

  img {
    width: 1920px;
    margin-left: -360px;
  }
}

.step {
  @extend .fcc;
  margin-bottom: 3rem;
}

.login {
  @extend .bb;
  padding: 2rem 6.25rem 4.5rem;
  border-bottom: solid 0.9rem $cGreen;
  min-height: 48rem;

  margin: auto;
  max-width: 51rem;
  border-radius: $borderRadius;
  @extend .box-shadow;
  background-color: #ffffff;

  &-tit {
    color: $cOrange;
    text-align: center;
    font-size: $fontSizeTitle;
    font-weight: bold;
    letter-spacing: .2rem;
    text-shadow: 3px 5.2px 9px rgba(236, 100, 41, 0.27);
  }

  &-tit-space-1 {
    height: 5.25rem;
  }

  &-tit-space-4 {
    height: 3rem;
  }

  &-nav {
    margin: 2.25rem 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;

    &-v-line {
      width: .2rem;
      height: 1.25rem;
      background-color: $cFontGray;
      margin: 0 2.25rem;
    }

    &-tit {
      flex: 1;
      font-size: $fontSizeTitle;
      font-weight: bold;
      color: $cFontGray;
    }

    .active {
      color: $cOrange;
      text-shadow: 3px 5.2px 9px rgba(236, 100, 41, 0.27);
    }
  }

  &-protocol {
    margin: 2.5rem auto 0;
    display: flex;
    align-items: center;
    padding-left: 1rem;

    .check {
      height: 1rem;
      margin-right: .6rem;
    }

    .protocol {
      color: $cOrange;
    }
  }

  &-submit {
    @include btc2(17.25rem, 5.25rem, 16px);
    margin: 4.166667rem auto 0;
    letter-spacing: 1.6px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 3rem;
  }

  &-func {
    margin: 1.5rem auto 0;
    display: flex;
    justify-content: center;

    &-btn {
      margin: 0 1.25rem;
      text-decoration: underline;
    }
  }
}

.form {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;

  .vcode {
    background-color: transparent !important;
    padding: 0 !important;
    overflow: hidden;

    img {
      width: 100%;
      height: 100%;
    }
  }

  input {
    font-size: 1.166667rem;
    letter-spacing: .1rem;
  }

  &-item {
    position: relative;
    margin-bottom: 3rem;

    .label {
      font-size: $fontSizeTitle;
      font-weight: bold;
      color: $cOrange;
      display: flex;
      align-items: center;
      margin-bottom: 1.25rem;

      img {
        height: 1.5rem;
        margin-right: .8rem;
      }
    }

    .ipt-wrap {
      position: relative;
      display: flex;
      justify-content: space-between;

      // input和下拉
      .ipt {
        flex: 1;
        letter-spacing: .1rem;
      }

      // 长文本
      .textarea {
        min-height: 8.75rem;
        border-radius: 1rem;
      }

      .down-arrow {
        position: absolute;
        top: 2.2rem;
        right: 2rem;
      }


      .verify-btn {
        @extend .fcc;
        // font-family: Arial;
        font-size: 18px;
        width: 8.5rem;
        border: solid 1px #dcdddd;
        background-color: #f2f2f2;
        flex: none;
        margin-left: 1.5rem;
        color: $cFontGray;
      }


      // 框内按钮
      .ipt2 {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .ipt-code {
          flex: 1;
          padding-right: 1.75rem;
        }

        .veri-btn {
          color: $cOrange;
          text-decoration: underline;
        }

        .veri-btn-default {
          color: #aaaaaa;
        }
      }
    }

    .validator {
      color: $cOrange;
      margin-top: 0.5rem;
      position: absolute;
      right: .5rem;
      display: flex;
      align-items: center;

      img {
        display: inline-block;
        margin-right: 0.4rem;
      }
    }
  }
}

@media (max-width: 1200px) {
  .content {
    @include content-percent();
    min-height: 0;
    // padding-bottom: $marginMedium-M;
  }

  .top-space {
    height: 0;
  }

  .login {
    padding: 1rem 1rem 3.5rem;
    border-bottom: none;

    min-height: 42rem;

    &-tit-space-1 {
      // height: 5.25rem;
    }

    &-tit-space-4 {
      height: 1rem;
    }

    &-nav {
      margin: 1.75rem auto 1rem;
    }

    .form {
      &-item {
        margin: 2rem auto 0;
      }
    }

    &-protocol {
      margin: $marginSmall-M auto 0;
    }

    &-submit {
      margin: 0 auto 0;
      width: 17.25rem;
      height: 3.25rem;
      line-height: 3.25rem;
    }
  }

  .box-shadow {
    box-shadow: none;
  }

  .ebg {
    display: none;
  }
}