index.less 5.33 KB
Newer Older
1 2 3 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 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 102 103 104 105 106 107 108 109 110 111 112 113 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 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184
@import '~antd/es/style/themes/default.less';
/* 0.5px */
.borderSlender(@color) {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: @color;
  -webkit-transform: scaleY(0.5);
  -moz-transform: scaleY(0.5);
  transform: scaleY(0.5);
  content: '';
}
.quota {
  position: relative;
  width: 100%;
  height: 100%;
  background: url('@/assets/images/login/能源-定额/背景.png') no-repeat;
  background-size: cover;
  .head {
    position: absolute;
    top: 0;
    width: 100%;
    height: 66px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    .title {
      padding-left: 20px;
      font-size: 24px;
      font-weight: bold;
      color: #FFFFFF;
      text-shadow: 0px 0px 2px rgba(2, 49, 21, 0.51);
      line-height: 66px;
    }
    .time_and_date {
      padding-right: 50px;
      display: flex;
      align-items: center;
      .time {
        padding: 5px;
        font-size: 34px;
        font-weight: 400;
        color: #FFFFFF;
        text-shadow: 0px 0px 2px rgba(2, 49, 21, 0.8);
      }
      .date {
        padding: 5px;
        font-size: 16px;
        font-weight: 500;
        color: #FFFFFF;
        text-shadow: 0px 0px 2px rgba(2, 49, 21, 0.51);
        display: flex;
        flex-direction: column;
        line-height: 1.1;
      }
    }
  }
  .head::after {
    .borderSlender(@color: rgb(255, 255, 255, 0.32));
  }
  .wrap_content {
    position: relative;
    width: 100%;
    height: 100%;
    .from {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      display: flex;
      flex-direction: column;
      width: 620px;
      height: 429px;
      margin: auto;
      overflow: hidden;
      // background: rgba(255, 255, 255, 0.8);
      background: #FFFFFF;
      border-radius: 15px;
      .slogan {
        height: 118px;
        background: linear-gradient(0deg, #00712f 0%, #0dae50 100%);
        .slogan_back{
          width: 100%;
          height: 100%;
          background: url('@/assets/images/login/能源-定额/宣传语.png') no-repeat;
        background-position: center;
        }
      }
      .login {
        // flex: 1;
        height: calc(100% - 118px);
        padding: 50px 60px;
      }
    }
  }
}

.form_login {
  width: 100%;
  height: 100%;
  .checkbox_wrap {
    margin-bottom: @margin-md;
    color: #376149;
    a {
      float: right;
    }
  }
  :global {
    .panda-console-base-input-affix-wrapper:focus, .panda-console-base-input-affix-wrapper-focused {
      box-shadow: none;
    }
    .panda-console-base-input-affix-wrapper {
      color: #037633;
      background: none;
    }
    .panda-console-base-input {
      background: none;
    }
    .panda-console-base-input-affix-wrapper-status-error:not(.panda-console-base-input-affix-wrapper-disabled):not(.panda-console-base-input-affix-wrapper-borderless).panda-console-base-input-affix-wrapper:focus, .panda-console-base-input-affix-wrapper-status-error:not(.panda-console-base-input-affix-wrapper-disabled):not(.panda-console-base-input-affix-wrapper-borderless).panda-console-base-input-affix-wrapper-focused {
      box-shadow: none;
    }
    .panda-console-base-input-affix-wrapper:focus .panda-console-base-input-affix-wrapper-lg {
      border-color: #00a854 !important;
    }
    .panda-console-base-input-affix-wrapper:not(.panda-console-base-input-affix-wrapper-disabled):hover {
      z-index: 1;
      border-color: #00a854;
      border-right-width: 1px;
    }
    .panda-console-base-input-affix-wrapper-status-error:not(.panda-console-base-input-affix-wrapper-disabled):not(.panda-console-base-input-affix-wrapper-borderless).panda-console-base-input-affix-wrapper,
    .panda-console-base-input-affix-wrapper-status-error:not(.panda-console-base-input-affix-wrapper-disabled):not(.panda-console-base-input-affix-wrapper-borderless).panda-console-base-input-affix-wrapper:hover {
      border-color: #ff4d4f;
    }
    .panda-console-base-input-affix-wrapper-focused,
    .panda-console-base-input-affix-wrapper:focus {
      z-index: 0;
    }
    .panda-console-base-input-affix-wrapper-lg {
      background-color: none;
      border: none;
      border-bottom-color: #376149;
      border-bottom-width: 1px;
      border-bottom-style: solid;
    }
    .panda-console-base-input-affix-wrapper > input.panda-console-base-input {
      background-color: none;
    }
    .panda-console-base-form {
      width: 100%;
      height: 100%;
    }
    .panda-console-base-checkbox-wrapper {
      color: #376149;
    }
    .panda-console-base-checkbox-wrapper:hover .panda-console-base-checkbox::after {
      border-color: #00a854;
    }
    .panda-console-base-checkbox-wrapper:hover .panda-console-base-checkbox-inner,
    .panda-console-base-checkbox:hover .panda-console-base-checkbox-inner,
    .panda-console-base-checkbox-input:focus + .panda-console-base-checkbox-inner {
      border-color: #037633;
    }
    .panda-console-base-checkbox-wrapper {
      .panda-console-base-checkbox-checked .panda-console-base-checkbox-inner {
        background-color: #037633;
        border-color: #037633;
      }
      .panda-console-base-checkbox-inner {
        border-color: #037633;
        border-radius: 50%;
      }
    }
    .panda-console-base-btn-lg {
      width: 100%;
    }
    .panda-console-base-btn-primary {
      background: #037633;
      border-color: #037633;
      border-radius: 23px;
    }
  }
}