index.less 7.5 KB
Newer Older
邓晓峰's avatar
邓晓峰 committed
1 2
@root-entry-name: 'default';
@import '~antd/es/style/themes/index.less';
涂茜's avatar
涂茜 committed
3
@ec-configuration-view-prefix-cls: ~'@{ant-prefix}-ec-configuration-view';
4
@ec-configuration-view-modal: ~'@{ant-prefix}-ec-configuration-view-historyInfoModal';
涂茜's avatar
涂茜 committed
5 6

.@{ec-configuration-view-prefix-cls} {
7
  position: relative;
涂茜's avatar
涂茜 committed
8 9 10
  width: 100%;
  height: 100%;

李纪文's avatar
李纪文 committed
11
  &-baseModal {
涂茜's avatar
涂茜 committed
12 13
    color: white;

14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
    .controlModalFooter {
      display: flex;
      align-items: center;
      justify-content: space-between;

      .controlModallLog {
        justify-content: flex-start;
        width: auto;
      }

      .controlModalOperate {
        display: flex;
        align-items: center;
      }
    }

涂茜's avatar
涂茜 committed
30 31 32 33
    .switchControlContent {
      display: flex;
      align-items: center;

34 35 36 37 38
      .anticon.anticon-exclamation-circle {
        margin-top: 2px;
        margin-right: 10px;
        color: #fd5e72;
        font-size: 18px;
涂茜's avatar
涂茜 committed
39 40 41 42 43
      }
    }

    .moreControlContent {
      display: flex;
44 45 46 47 48 49 50 51
      align-items: center;
      justify-content: center;

      .moreControlContainer {
        width: max-content;
        display: flex;
        flex-direction: column;
      }
涂茜's avatar
涂茜 committed
52 53 54

      .moreControlList {
        display: flex;
55 56
        align-items: center;
        margin-bottom: 20px;
涂茜's avatar
涂茜 committed
57 58 59 60 61 62 63

        span {
          margin-right: 30px;
          white-space: nowrap;
        }

        div {
64
          padding: 1px 10px;
涂茜's avatar
涂茜 committed
65 66 67
          border: 1px solid #6d7da2;
          border-radius: 6px;
        }
68
      }
涂茜's avatar
涂茜 committed
69

70 71
      .moreControlList:last-of-type {
        margin-bottom: 0;
涂茜's avatar
涂茜 committed
72 73 74
      }
    }

75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
    .controlModallLog {
      display: flex;
      width: 100%;
      color: rgb(148, 155, 176);
      align-items: center;
      justify-content: center;
      opacity: 0.8;
      cursor: pointer;

      &:hover {
        opacity: 1;
      }

      img {
        margin-right: 5px;
      }
    }

涂茜's avatar
涂茜 committed
93 94 95 96 97 98 99 100 101
    .adjustControlContent {
      display: flex;
      align-items: center;

      .label {
        margin-right: 30px;
        white-space: nowrap;
      }

邓晓峰's avatar
邓晓峰 committed
102
      .@{ant-prefix}-input-affix-wrapper {
涂茜's avatar
涂茜 committed
103 104 105 106
        background: #1c202c;
        border: none;
      }

邓晓峰's avatar
邓晓峰 committed
107 108
      .@{ant-prefix}-input-affix-wrapper:focus,
      .@{ant-prefix}-input-affix-wrapper-focused {
涂茜's avatar
涂茜 committed
109 110 111
        box-shadow: none;
      }

邓晓峰's avatar
邓晓峰 committed
112
      .@{ant-prefix}-input:focus {
涂茜's avatar
涂茜 committed
113 114 115 116
        border: none;
        box-shadow: none;
      }

邓晓峰's avatar
邓晓峰 committed
117 118
      .@{ant-prefix}-input,
      .@{ant-prefix}-btn {
涂茜's avatar
涂茜 committed
119 120 121 122 123
        color: white;
        background: #1c202c;
        border: none;
      }

邓晓峰's avatar
邓晓峰 committed
124
      .@{ant-prefix}-input-group-addon {
涂茜's avatar
涂茜 committed
125 126 127 128
        background: #1c202c;
        border: none;
      }

邓晓峰's avatar
邓晓峰 committed
129
      .@{ant-prefix}-input-suffix {
涂茜's avatar
涂茜 committed
130 131
        color: #646977;
      }
132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
    }

    .adjustControlGroup {
      display: flex;
      padding-left: 0 5px;

      .@{ant-prefix}-btn {
        background: transparent;
      }

      button {
        display: flex;
        align-items: center;
        margin-left: 10px;
        background-color: ab;

        span {
          padding: 5px;
          font-size: 14px;
          border: 2px solid #1c202c;
          border-radius: 5px;
        }
      }
涂茜's avatar
涂茜 committed
155 156 157 158 159
    }

    .authorizeControlContent {
      display: flex;
      flex-direction: column;
李纪文's avatar
李纪文 committed
160
      width: 100%;
涂茜's avatar
涂茜 committed
161 162 163 164 165 166

      .authorizeControlItem {
        display: flex;
        align-items: center;
        margin-bottom: 20px;

李纪文's avatar
李纪文 committed
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183
        .hidePassWord {
          input {
            text-security: disc;
            -webkit-text-security: disc;
            -moz-text-security: disc;
          }
        }

        .viewPassWord {
          color: #ffffff;
          height: 100%;
          display: flex;
          align-items: center;
          justify-content: center;
          cursor: pointer;
        }

李纪文's avatar
李纪文 committed
184 185 186 187
        .@{ant-prefix}-row {
          width: 100%;
        }

邓晓峰's avatar
邓晓峰 committed
188
        .@{ant-prefix}-col.@{ant-prefix}-form-item-label {
涂茜's avatar
涂茜 committed
189 190 191 192 193 194 195
          margin-right: 10px;

          label {
            color: white;
          }
        }

邓晓峰's avatar
邓晓峰 committed
196
        .@{ant-prefix}-form-item-control-input-content {
涂茜's avatar
涂茜 committed
197 198 199 200
          display: flex;
          align-items: center;
        }

邓晓峰's avatar
邓晓峰 committed
201
        .@{ant-prefix}-input-affix-wrapper {
涂茜's avatar
涂茜 committed
202 203 204 205
          background: #1c202c;
          border: none;
        }

邓晓峰's avatar
邓晓峰 committed
206 207
        .@{ant-prefix}-input-affix-wrapper:focus,
        .@{ant-prefix}-input-affix-wrapper-focused {
涂茜's avatar
涂茜 committed
208 209 210
          box-shadow: none;
        }

邓晓峰's avatar
邓晓峰 committed
211
        .@{ant-prefix}-input:focus {
涂茜's avatar
涂茜 committed
212 213 214 215
          border: none;
          box-shadow: none;
        }

邓晓峰's avatar
邓晓峰 committed
216 217
        .@{ant-prefix}-input,
        .@{ant-prefix}-btn {
涂茜's avatar
涂茜 committed
218 219 220 221 222
          color: white;
          background: #1c202c;
          border: none;
        }

邓晓峰's avatar
邓晓峰 committed
223
        .@{ant-prefix}-input-group-addon {
涂茜's avatar
涂茜 committed
224 225 226 227
          background: #1c202c;
          border: none;
        }

邓晓峰's avatar
邓晓峰 committed
228
        @{ant-prefix}-input-suffix {
涂茜's avatar
涂茜 committed
229 230 231
          color: #646977;
        }

232 233 234
        &:last-of-type {
          margin-bottom: 0;
        }
李纪文's avatar
李纪文 committed
235 236 237 238

        .@{ant-prefix}-input-password-icon.anticon {
          color: #ffffff;
        }
涂茜's avatar
涂茜 committed
239
      }
李纪文's avatar
李纪文 committed
240 241 242 243 244 245 246 247

      .@{ant-prefix}-input:-webkit-autofill {
        background-color: transparent !important;
        background-image: none !important;
        box-shadow: none !important;
        transition: background-color 50000s ease-in-out 0s !important;
        -webkit-text-fill-color: white !important;
      }
涂茜's avatar
涂茜 committed
248 249
    }

邓晓峰's avatar
邓晓峰 committed
250
    .@{ant-prefix}-modal-content {
涂茜's avatar
涂茜 committed
251 252 253 254
      color: white;
      background: #282d3b;
      border: 1px solid #31374a;

邓晓峰's avatar
邓晓峰 committed
255
      .@{ant-prefix}-modal-close {
涂茜's avatar
涂茜 committed
256 257 258
        color: white;
      }

邓晓峰's avatar
邓晓峰 committed
259
      .@{ant-prefix}-modal-close-x {
涂茜's avatar
涂茜 committed
260 261 262
        line-height: 42px;
      }

邓晓峰's avatar
邓晓峰 committed
263
      .@{ant-prefix}-modal-header {
264
        padding-right: 56px;
涂茜's avatar
涂茜 committed
265 266 267
        background: none;
        border-color: #1c202c;

邓晓峰's avatar
邓晓峰 committed
268
        .@{ant-prefix}-modal-title {
涂茜's avatar
涂茜 committed
269 270 271 272
          color: white;
        }
      }

邓晓峰's avatar
邓晓峰 committed
273
      .@{ant-prefix}-modal-footer {
涂茜's avatar
涂茜 committed
274 275 276
        background: none;
        border-color: #1c202c;

邓晓峰's avatar
邓晓峰 committed
277
        .@{ant-prefix}-btn:first-of-type {
涂茜's avatar
涂茜 committed
278 279 280 281 282 283 284 285 286 287 288 289
          color: white;
          background-color: #838a9d;
          border: none;

          &:hover {
            background-color: #9ba3b6;
          }
        }
      }
    }
  }

290
  &-historyInfoModal {
邓晓峰's avatar
邓晓峰 committed
291
    .@{ant-prefix}-modal-body {
李纪文's avatar
李纪文 committed
292 293 294 295 296
      height: 650px;

      >div {
        padding: 0;
      }
涂茜's avatar
涂茜 committed
297 298 299
    }
  }

300 301 302 303
  &-jumpModal {
    display: flex;
    align-items: center;
    justify-content: center;
涂茜's avatar
涂茜 committed
304 305
    color: white;

306
    .@{ant-prefix}-modal:not(.@{ec-configuration-view-modal} .@{ant-prefix}-modal) {
涂茜's avatar
涂茜 committed
307 308 309
      padding-bottom: 0;
    }

310 311
    .@{ant-prefix}-modal:not(.@{ec-configuration-view-modal} .@{ant-prefix}-modal),
    .@{ant-prefix}-modal-content:not(.@{ec-configuration-view-modal} .@{ant-prefix}-modal-content) {
李纪文's avatar
李纪文 committed
312
      max-width: 100%;
涂茜's avatar
涂茜 committed
313 314 315
      background: #282d3b;
    }

316
    .@{ant-prefix}-modal-content:not(.@{ec-configuration-view-modal} .@{ant-prefix}-modal-content) {
涂茜's avatar
涂茜 committed
317 318 319
      height: 100%;
    }

320
    .@{ant-prefix}-modal-header:not(.@{ec-configuration-view-modal} .@{ant-prefix}-modal-header) {
涂茜's avatar
涂茜 committed
321
      background: #282d3b;
李纪文's avatar
李纪文 committed
322
      border-color: #1c202c;
涂茜's avatar
涂茜 committed
323 324
    }

325 326
    .@{ant-prefix}-modal-title:not(.@{ec-configuration-view-modal} .@{ant-prefix}-modal-title),
    .@{ant-prefix}-modal-close-x:not(.@{ec-configuration-view-modal} .@{ant-prefix}-modal-close-x) {
涂茜's avatar
涂茜 committed
327 328 329
      color: white;
    }

330
    .@{ant-prefix}-modal-body:not(.@{ec-configuration-view-modal} .@{ant-prefix}-modal-body) {
涂茜's avatar
涂茜 committed
331 332 333 334 335
      height: calc(100% - 55px);
    }
  }

  .configurationView {
336 337 338
    display: flex;
    align-items: center;
    justify-content: center;
涂茜's avatar
涂茜 committed
339 340
    width: 100%;
    height: 100%;
李纪文's avatar
李纪文 committed
341

涂茜's avatar
涂茜 committed
342 343 344 345 346
    canvas {
      border: 0;
      outline: none;
    }
  }
347 348 349 350 351 352 353 354 355 356

  .configurationLoad {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
357
    z-index: 10;
358
  }
359 360 361 362 363 364

  .controlNotLog {
    display: flex;
    align-items: center;
    justify-content: center;
  }
李纪文's avatar
李纪文 committed
365
}