index.less 2.37 KB
Newer Older
1 2 3 4 5 6 7 8 9
@import '~@/themes/vars.less';

.root {
  // background-image: url(../assets/background-image.png);
  // background-repeat: no-repeat;
  // // background-color: #b8e5f8;
  // background-size: cover;
  background: linear-gradient(@color-primary, @color-primary);
  width: 100%;
duanledexianxianxian's avatar
duanledexianxianxian committed
10 11
  min-height: 500px;
  height: calc(~'100vh - 130px');
12 13 14 15 16
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  .container {
duanledexianxianxian's avatar
duanledexianxianxian committed
17
    // min-height: 500px;
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 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 88 89 90 91 92 93 94 95 96 97 98 99 100 101
    width: 500px;
    background-color: rgba(255, 255, 255, 0);
    //border-radius: 4px;
    //box-shadow: 0px 2px 4px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    position: relative;
    .box {
      width: 260px;
      .title {
        font-size: @font-size-xmd;
        color: white;
        text-align: center;
        margin-bottom: @space-md * 2;
        font-weight: 500;
      }
      .username,
      .password {
        margin-bottom: @space-lg;
        :global {
          .ant-input {
            font-size: @font-size-sm;
            height: 36px;
            padding-bottom: 8px;
            padding-left: 40px;
          }
          i {
            font-size: @font-size-sm;
            color: @color-primary;
          }
        }
      }
      .submit {
        font-size: @font-size-sm;
        //line-height: 36px;
        height: 36px;
        width: 100%;
        background-color: rgba(43, 187, 176, 0.8);
        //border-color: rgba(43, 187, 176, 0.9);
        box-shadow: 0 0px 0 rgba(0, 0, 0, 0);
      }
    }
    .more {
      // height: 100px;
      top: 100%;
      // bottom: 0px;
      width: 100%;
      position: absolute;
      display: flex;
      align-items: center;
      flex-direction: column;
      .info {
        width: 60%;
        display: flex;
        justify-content: space-between;
        a {
          color: rgba(255, 255, 255, 0.8);
          font-size: @font-size-md;
          margin: @space-lg * 2 0;
        }
      }
      .rights {
        font-size: 10px;
        color: rgba(255, 255, 255, 0.6);
        :first-child {
          margin-right: @space-lg;
        }
      }
    }
  }
  .line {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: @color-primary;
    //height: 80%;
    //background-image: url("../assets/line.png");
    //background-repeat: no-repeat;
    //background-size: cover;
  }
}