style.less 7.53 KB
Newer Older
邓晓峰's avatar
邓晓峰 committed
1
@import '~antd/es/style/themes/variable.less';
dengxiaofeng's avatar
dengxiaofeng committed
2 3
@userPageLogin-prefix-cls: ~'@{ant-prefix}-pro-pages-user-login';
@keyframes loginTimeShow {
邓晓峰's avatar
邓晓峰 committed
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
  0% {
    opacity: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    zoom: 2;
  }
  50% {
    opacity: 1;
    top: 28px;
    left: 45px;
    transform: translate(0, 0);
    zoom: 1;
  }
  60% {
    opacity: 1;
    left: 45px;
    top: 28px;
    transform: translate(0, 0);
  }
  70% {
    opacity: 1;
    left: 45px;
    top: 28px;
    transform: translate(0, 0);
  }
  75% {
    opacity: 1;
    left: 45px;
    top: 28px;
    transform: translate(0, 0);
  }
  100% {
    opacity: 1;
    left: 45px;
    top: 28px;
    transform: translate(0, 0);
  }
dengxiaofeng's avatar
dengxiaofeng committed
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
}

.main {
  // width: 368px;
  margin: 0 auto;
  height: 100%;
  width: 100%;
  @media screen and (max-width: @screen-sm) {
    width: 95%;
  }

  .icon {
    margin-left: 16px;
    color: rgba(0, 0, 0, 0.2);
    font-size: 24px;
    vertical-align: middle;
    cursor: pointer;
    transition: color 0.3s;

    &:hover {
      color: @primary-color;
    }
  }

  .other {
    margin-top: 24px;
    line-height: 22px;
    text-align: left;

    .register {
      float: right;
    }
  }
  .videLayer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: fill;
  }

  .inner {
    position: absolute;
    width: 100%;
    height: 84%;
88 89 90
    &.newYearInner {
      height: 100%!important;
    }
dengxiaofeng's avatar
dengxiaofeng committed
91 92 93 94 95 96 97 98 99
    .loginTime {
      position: absolute;
      top: 50%;
      left: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 1;
      transform: translate(-50%, -50%);
100 101 102 103 104 105 106 107 108 109 110
      &.newYearLoginTime {
        position: absolute!important;
        top: 28px!important;
        left: 45px!important;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 100;
        transform: inherit!important;

      }
邓晓峰's avatar
邓晓峰 committed
111
      img[role='logo'] {
dengxiaofeng's avatar
dengxiaofeng committed
112 113 114 115 116 117 118 119 120 121 122 123
        height: 40px;
        vertical-align: middle;
      }
      &.loginTimeShow {
        animation-name: loginTimeShow;
        animation-duration: 1s;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
      }
      .titleCase {
        display: flex;
        flex-direction: column;
邓晓峰's avatar
邓晓峰 committed
124
        margin: -5px 0 0 20px;
dengxiaofeng's avatar
dengxiaofeng committed
125
        max-width: 570px;
邓晓峰's avatar
邓晓峰 committed
126 127
        .title,
        .subtitle {
dengxiaofeng's avatar
dengxiaofeng committed
128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149
          font-family: 'Microsoft YaHei';
          text-align: left;
          overflow-wrap: break-word;
          color: #ffffff;
        }
        .title {
          font-size: 28px;
        }
        .subtitle {
          font-size: 12px;
          line-height: 1;
        }
      }
    }
    .divider {
      height: 1px;
      background: rgba(255, 255, 255, 0.75);
      opacity: 0.29;
      width: 100%;
      position: absolute;
      top: 90px;
      color: #e1e1e1;
邓晓峰's avatar
邓晓峰 committed
150
      padding: 0 0.7em;
dengxiaofeng's avatar
dengxiaofeng committed
151 152
    }
    .timeCase {
邓晓峰's avatar
邓晓峰 committed
153 154 155
      .time,
      .dayofweek,
      .date {
dengxiaofeng's avatar
dengxiaofeng committed
156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
        position: absolute;
        font-family: 'MicrosoftYaHeiUI';
        color: rgba(255, 255, 255, 1);
      }
      .time {
        top: 26px;
        right: 170px;
        font-size: 40px;
      }
      .dayofweek {
        top: 32px;
        right: 125px;
        font-size: 16px;
      }
      .date {
        top: 57px;
邓晓峰's avatar
邓晓峰 committed
172
        right: 95px;
dengxiaofeng's avatar
dengxiaofeng committed
173 174 175
        font-size: 14px;
      }
    }
176 177 178 179 180 181 182
    .loginBlockWrapper {
      width: 100%;
      height: 100%;
      background-image: url(https://panda-water.com/web4/assets/images/login/workflow/智联新春背景.png);
      background-size: 100% 100%;
      background-repeat: no-repeat;
    }
dengxiaofeng's avatar
dengxiaofeng committed
183 184 185 186 187 188 189 190 191
    .login-block {
      width: 800px;
      position: absolute;
      left: 50%;
      top: 50%;
      margin-left: -400px;
      margin-top: -150px;
      display: flex;
      background: #ffffff;
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227
      &.login-newYear-block {
        width: 994px!important;
        height: 424px!important;
        margin-left: -497px!important;
        margin-top: -212px!important;
        background: url(https://panda-water.com/web4/assets/images/login/workflow/%E6%99%BA%E8%81%94%E6%96%B0%E6%98%A5%E8%83%8C%E6%99%AF%E6%A1%86.png)!important;
        //width: 994px;
        //height: 424px;
        //position: absolute;
        //left: 50%;
        //top: 50%;
        //margin-left: -497px;
        //margin-top: -212px;
        //display: flex;
        background-size: 100% 100%;
        background-repeat: no-repeat;
        img {
          margin-top: 90px;
          margin-left: 168px;
        }
        .login-form {
          display: flex;
          align-items: center;
          margin-left: 32px;
          padding: 0;
          background: transparent;
          margin-top: -36px;
          // :global {
          //   .ant-btn-primary {
          //     background: #ff9600 !important;
          //     border-color:  #ff9600 !important;
          //   }
          // }
        }
      }

dengxiaofeng's avatar
dengxiaofeng committed
228 229 230 231 232 233 234 235 236 237 238 239
      img {
        margin-top: 50px;
        margin-bottom: 50px;
        margin-left: 30px;
      }
      .login-form {
        padding: 50px 50px 50px;
        background-color: #ffffff;
      }
    }
  }
  .caseHide {
邓晓峰's avatar
邓晓峰 committed
240
    display: none !important   ;
dengxiaofeng's avatar
dengxiaofeng committed
241
  }
邓晓峰's avatar
邓晓峰 committed
242 243

  .footerCase {
dengxiaofeng's avatar
dengxiaofeng committed
244 245 246 247 248 249
    width: 100%;
    height: 16%;
    background: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
邓晓峰's avatar
邓晓峰 committed
250 251 252 253 254 255 256
    .quickMark {
      position: absolute;
      bottom: 48px;
      text-align: center;
      width: 100%;
      font-size: 12px;
      min-height: 71px;
邓晓峰's avatar
邓晓峰 committed
257

邓晓峰's avatar
邓晓峰 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 282 283 284 285 286 287 288
      &-single {
        text-align: center;
        width: 120px;
        display: inline-block;
        span {
          &.Android {
            display: block;
            background-image: url(https://panda-water.cn/web4/assets/images/login/dark/Android1.png);
            width: 26px;
            height: 32px;
            margin: auto;
            margin-bottom: 6px;
          }
          &.Wechat {
            display: block;
            background-image: url(https://panda-water.cn/web4/assets/images/login/dark/Wechat1.png);
            width: 34px;
            height: 32px;
            margin: auto;
            margin-bottom: 6px;
          }
          &.iphone {
            display: block;
            background-image: url(https://panda-water.cn/web4/assets/images/login/dark/iphone1.png);
            width: 28px;
            height: 32px;
            margin: auto;
            margin-bottom: 6px;
          }
        }
      }
邓晓峰's avatar
邓晓峰 committed
289 290
      .Android-single .Android-code,
      .iphone-single .iphone-code {
邓晓峰's avatar
邓晓峰 committed
291 292 293 294 295 296 297 298 299 300 301 302 303
        margin: 0px 0px 10px 0px;
        width: 150px;
        height: 150px;
        background: #fff;
        padding: 5px;
        display: none;
        transform: translateX(-15px);
      }
      .icon-Container {
        height: 50px;
        cursor: pointer;
      }
    }
dengxiaofeng's avatar
dengxiaofeng committed
304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336
    .copyright {
      position: absolute;
      z-index: 2;
      text-align: center;
      width: 100%;
      bottom: 10px;
      font-size: 13pz;
      color: #000000;
      .frontIcon {
        margin-top: -5px;
      }
      a {
        color: #000000;
      }
      .addons {
        display: none;
      }
      .split {
        border-left: 1px solid #000000;
        margin: 0 8px;
      }
      .glyphicon-qrcode {
        vertical-align: text-top;
      }
    }
  }

  :global {
    .antd-pro-login-submit {
      width: 100%;
      margin-top: 24px;
    }
  }
邓晓峰's avatar
邓晓峰 committed
337 338 339 340 341 342 343 344 345 346 347 348 349
  .wechatQRcode {
    width: 250px;
    height: 220px;
    margin: 0 15px;
  }
  .loginDisplay {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    a {
      &:hover {
        color: @primary-color;
邓晓峰's avatar
邓晓峰 committed
350
        transition: all 0.3s ease-in-out;
邓晓峰's avatar
邓晓峰 committed
351 352 353 354 355 356 357 358 359
      }
    }
  }
  .captcha {
    color: @primary-6;
    font-weight: 400;
    cursor: pointer;
    font-size: 12px;
  }
dengxiaofeng's avatar
dengxiaofeng committed
360
}
361