Blame view

src/pages/password-reset/password-reset.scss 4.74 KB
simon committed
1 2 3 4 5
@import '@/styles/_support';

.content {
  position: relative;
  padding-bottom: 2.25rem;
simon committed
6 7 8 9
  position: relative;
  padding-bottom: $paddingMedium;
  color: $cFontGray;
  font-size: $fontSize;
simon committed
10 11 12
}

.top-space {
simon committed
13
  height: $marginMedium;
simon committed
14 15 16 17 18 19 20
}

.box {
  position: relative;
}

.ebg {
simon committed
21 22 23
  background: url('~@/assets/images/common/login-bg.png') center no-repeat;
  width: 100%;
  height: 325px;
simon committed
24 25
  position: absolute;
  bottom: 0;
simon committed
26
  overflow: hidden;
simon committed
27 28 29 30 31 32 33 34 35
}

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

.login {
  @extend .bb;
simon committed
36 37
  padding: 2rem 6.25rem 4.5rem;
  border-bottom: solid 0.9rem $cGreen;
simon committed
38
  min-height: 48rem;
simon committed
39 40

  margin: auto;
simon committed
41 42
  max-width: 51rem;
  border-radius: $borderRadius;
simon committed
43
  @extend .box-shadow;
simon committed
44 45 46
  background-color: #ffffff;

  &-tit {
simon committed
47
    color: $cOrange;
simon committed
48
    text-align: center;
simon committed
49
    font-size: $fontSizeTitle;
simon committed
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
    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;
simon committed
72
      background-color: $cFontGray;
simon committed
73 74 75 76 77
      margin: 0 2.25rem;
    }

    &-tit {
      flex: 1;
simon committed
78
      font-size: $fontSizeTitle;
simon committed
79
      font-weight: bold;
simon committed
80
      color: $cFontGray;
simon committed
81 82 83
    }

    .active {
simon committed
84
      color: $cOrange;
simon committed
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
      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 {
simon committed
101
      color: $cOrange;
simon committed
102 103 104 105
    }
  }

  &-submit {
simon committed
106
    @include btc2(17.25rem, 5.25rem, 16px);
simon committed
107 108 109 110 111 112
    margin: 4.166667rem auto 0;
    letter-spacing: 1.6px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
simon committed
113
    bottom: 3rem;
simon committed
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
  }

  &-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;
simon committed
151
    margin-bottom: 3rem;
simon committed
152 153

    .label {
simon committed
154
      font-size: $fontSizeTitle;
simon committed
155
      font-weight: bold;
simon committed
156
      color: $cOrange;
simon committed
157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174
      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;
simon committed
175
        letter-spacing: .1rem;
simon committed
176 177 178 179 180 181 182 183 184 185
      }

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

      .down-arrow {
        position: absolute;
simon committed
186
        top: 2.2rem;
simon committed
187 188 189 190 191 192 193 194 195 196 197 198 199
        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;
simon committed
200
        color: $cFontGray;
simon committed
201 202
      }

simon committed
203

simon committed
204 205 206 207 208 209 210 211 212 213 214 215
      // 框内按钮
      .ipt2 {
        display: flex;
        justify-content: space-between;
        align-items: center;

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

        .veri-btn {
simon committed
216
          color: $cOrange;
simon committed
217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241
          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;
      }
    }
  }
}

simon committed
242 243 244 245
.box-shadow {
  box-shadow: 0 0 1.5rem 0 rgba(255, 87, 0, 0.15);
}

simon committed
246 247 248 249 250 251 252 253 254
@media (max-width: 1200px) {
  .content {
    @include content-percent();
    min-height: 0;
    // padding-bottom: $marginMedium-M;
  }

  .top-space {
    height: 0;
simon committed
255 256 257
  }

  .login {
simon committed
258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281
    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 {
simon committed
282
      // margin: $marginSmall-M auto 0;
simon committed
283 284 285 286 287 288 289 290
    }

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

simon committed
293 294 295 296 297 298 299
  .box-shadow {
    box-shadow: none;
  }

  .ebg {
    display: none;
  }
simon committed
300
}