Register.less 1.06 KB
Newer Older
1 2 3 4 5 6 7 8
@import "~antd/lib/style/themes/default.less";

.main {
  width: 368px;
  margin: 0 auto;

  :global {
    .ant-form-item {
ddcat1115's avatar
ddcat1115 committed
9
      margin-bottom: 24px;
10 11 12 13 14
    }
  }

  h3 {
    font-size: 16px;
ddcat1115's avatar
ddcat1115 committed
15
    margin-bottom: 20px;
16 17 18 19 20 21 22 23
  }

  .mobileGroup {
    :global {
      .ant-form-item {
        margin-bottom: 0;
        vertical-align: top;

ddcat1115's avatar
ddcat1115 committed
24 25 26 27
        &:first-child .ant-select-selection {
          border-right-width: 0;
          border-top-right-radius: 0;
          border-bottom-right-radius: 0;
28 29
        }

ddcat1115's avatar
ddcat1115 committed
30 31 32
        &:last-child .ant-input {
          border-top-left-radius: 0;
          border-bottom-left-radius: 0;
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
        }
      }
    }
  }

  .getCaptcha {
    display: block;
    width: 100%;
  }

  .submit {
    width: 50%;
  }

  .login {
    float: right;
ddcat1115's avatar
ddcat1115 committed
49
    line-height: @btn-height-lg;
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
  }
}

.success, .warning, .error {
  transition: color .3s;
}

.success {
  color: @success-color;
}

.warning {
  color: @warning-color;
}

.error {
  color: @error-color;
}

.progress-pass > .progress {
  :global {
    .ant-progress-bg {
      background-color: @warning-color;
    }
  }
}