Login.less 1.6 KB
Newer Older
1 2 3 4 5 6
@import "~antd/lib/style/themes/default.less";

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

ddcat1115's avatar
ddcat1115 committed
7 8 9
  .tabs {
    padding: 0 2px;
    margin: 0 -2px;
nikogu's avatar
nikogu committed
10 11 12 13 14
    :global {
      .ant-tabs-tab {
        font-size: 16px;
        line-height: 24px;
      }
ddcat1115's avatar
ddcat1115 committed
15 16 17
      .ant-input-affix-wrapper .ant-input:not(:first-child) {
        padding-left: 34px;
      }
nikogu's avatar
nikogu committed
18
    }
ddcat1115's avatar
ddcat1115 committed
19 20
  }

21 22 23 24 25 26 27 28
  :global {
    .ant-tabs .ant-tabs-bar {
      border-bottom: 0;
      margin-bottom: 24px;
      text-align: center;
    }

    .ant-form-item {
ddcat1115's avatar
ddcat1115 committed
29
      margin-bottom: 24px;
30 31 32
    }
  }

ddcat1115's avatar
ddcat1115 committed
33 34 35 36 37
  .prefixIcon {
    font-size: @font-size-base;
    color: @disabled-color;
  }

38 39 40 41 42 43 44 45 46 47 48 49 50 51
  .getCaptcha {
    display: block;
    width: 100%;
  }

  .additional {
    text-align: left;

    .forgot {
      float: right;
    }

    .submit {
      width: 100%;
ddcat1115's avatar
ddcat1115 committed
52 53 54 55 56 57 58
      margin-top: 24px;
    }

    :global {
      .ant-form-item-control {
        line-height: 22px;
      }
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 88 89 90 91 92 93 94 95 96 97
    }
  }

  .iconAlipay, .iconTaobao, .iconWeibo {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('https://gw.alipayobjects.com/zos/rmsportal/itDzjUnkelhQNsycranf.svg');
    margin-left: 16px;
    vertical-align: middle;
    cursor: pointer;
  }

  .iconAlipay {
    background-position: -24px 0;

    &:hover {
      background-position: 0 0;
    }
  }

  .iconTaobao {
    background-position: -24px -24px;

    &:hover {
      background-position: 0 -24px;
    }
  }

  .iconWeibo {
    background-position: -24px -48px;

    &:hover {
      background-position: 0 -48px;
    }
  }

  .other {
    text-align: left;
ddcat1115's avatar
ddcat1115 committed
98
    margin-top: 24px;
nikogu's avatar
nikogu committed
99
    line-height: 22px;
100 101 102 103 104 105

    .register {
      float: right;
    }
  }
}