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

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

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

    .switchControlContent {
      display: flex;
      align-items: center;

17 18 19 20 21
      .anticon.anticon-exclamation-circle {
        margin-top: 2px;
        margin-right: 10px;
        color: #fd5e72;
        font-size: 18px;
涂茜's avatar
涂茜 committed
22 23 24 25 26 27 28 29 30
      }
    }

    .moreControlContent {
      display: flex;
      flex-direction: column;

      .moreControlList {
        display: flex;
31 32
        align-items: center;
        margin-bottom: 20px;
涂茜's avatar
涂茜 committed
33 34 35 36 37 38 39 40 41 42 43

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

        div {
          padding: 2px 10px;
          border: 1px solid #6d7da2;
          border-radius: 6px;
        }
44
      }
涂茜's avatar
涂茜 committed
45

46 47
      .moreControlList:last-of-type {
        margin-bottom: 0;
涂茜's avatar
涂茜 committed
48 49 50 51 52 53 54 55 56 57 58 59
      }
    }

    .adjustControlContent {
      display: flex;
      align-items: center;

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

邓晓峰's avatar
邓晓峰 committed
60
      .@{ant-prefix}-input-affix-wrapper {
涂茜's avatar
涂茜 committed
61 62 63 64
        background: #1c202c;
        border: none;
      }

邓晓峰's avatar
邓晓峰 committed
65 66
      .@{ant-prefix}-input-affix-wrapper:focus,
      .@{ant-prefix}-input-affix-wrapper-focused {
涂茜's avatar
涂茜 committed
67 68 69
        box-shadow: none;
      }

邓晓峰's avatar
邓晓峰 committed
70
      .@{ant-prefix}-input:focus {
涂茜's avatar
涂茜 committed
71 72 73 74
        border: none;
        box-shadow: none;
      }

邓晓峰's avatar
邓晓峰 committed
75 76
      .@{ant-prefix}-input,
      .@{ant-prefix}-btn {
涂茜's avatar
涂茜 committed
77 78 79 80 81
        color: white;
        background: #1c202c;
        border: none;
      }

邓晓峰's avatar
邓晓峰 committed
82
      .@{ant-prefix}-input-group-addon {
涂茜's avatar
涂茜 committed
83 84 85 86
        background: #1c202c;
        border: none;
      }

邓晓峰's avatar
邓晓峰 committed
87
      .@{ant-prefix}-input-suffix {
涂茜's avatar
涂茜 committed
88 89
        color: #646977;
      }
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
    }

    .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
113 114 115 116 117 118 119 120 121 122 123
    }

    .authorizeControlContent {
      display: flex;
      flex-direction: column;

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

李纪文's avatar
李纪文 committed
124 125 126 127
        .@{ant-prefix}-row {
          width: 100%;
        }

邓晓峰's avatar
邓晓峰 committed
128
        .@{ant-prefix}-col.@{ant-prefix}-form-item-label {
涂茜's avatar
涂茜 committed
129 130 131 132 133 134 135
          margin-right: 10px;

          label {
            color: white;
          }
        }

邓晓峰's avatar
邓晓峰 committed
136
        .@{ant-prefix}-form-item-control-input-content {
涂茜's avatar
涂茜 committed
137 138 139 140
          display: flex;
          align-items: center;
        }

邓晓峰's avatar
邓晓峰 committed
141
        .@{ant-prefix}-input-affix-wrapper {
涂茜's avatar
涂茜 committed
142 143 144 145
          background: #1c202c;
          border: none;
        }

邓晓峰's avatar
邓晓峰 committed
146 147
        .@{ant-prefix}-input-affix-wrapper:focus,
        .@{ant-prefix}-input-affix-wrapper-focused {
涂茜's avatar
涂茜 committed
148 149 150
          box-shadow: none;
        }

邓晓峰's avatar
邓晓峰 committed
151
        .@{ant-prefix}-input:focus {
涂茜's avatar
涂茜 committed
152 153 154 155
          border: none;
          box-shadow: none;
        }

邓晓峰's avatar
邓晓峰 committed
156 157
        .@{ant-prefix}-input,
        .@{ant-prefix}-btn {
涂茜's avatar
涂茜 committed
158 159 160 161 162
          color: white;
          background: #1c202c;
          border: none;
        }

邓晓峰's avatar
邓晓峰 committed
163
        .@{ant-prefix}-input-group-addon {
涂茜's avatar
涂茜 committed
164 165 166 167
          background: #1c202c;
          border: none;
        }

邓晓峰's avatar
邓晓峰 committed
168
        @{ant-prefix}-input-suffix {
涂茜's avatar
涂茜 committed
169 170 171
          color: #646977;
        }

172 173 174
        &:last-of-type {
          margin-bottom: 0;
        }
李纪文's avatar
李纪文 committed
175 176 177 178

        .@{ant-prefix}-input-password-icon.anticon {
          color: #ffffff;
        }
涂茜's avatar
涂茜 committed
179
      }
李纪文's avatar
李纪文 committed
180 181 182 183 184 185 186 187

      .@{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
188 189
    }

邓晓峰's avatar
邓晓峰 committed
190
    .@{ant-prefix}-modal-content {
涂茜's avatar
涂茜 committed
191 192 193 194
      color: white;
      background: #282d3b;
      border: 1px solid #31374a;

邓晓峰's avatar
邓晓峰 committed
195
      .@{ant-prefix}-modal-close {
涂茜's avatar
涂茜 committed
196 197 198
        color: white;
      }

邓晓峰's avatar
邓晓峰 committed
199
      .@{ant-prefix}-modal-close-x {
涂茜's avatar
涂茜 committed
200 201 202
        line-height: 42px;
      }

邓晓峰's avatar
邓晓峰 committed
203
      .@{ant-prefix}-modal-header {
204
        padding-right: 56px;
涂茜's avatar
涂茜 committed
205 206 207
        background: none;
        border-color: #1c202c;

邓晓峰's avatar
邓晓峰 committed
208
        .@{ant-prefix}-modal-title {
涂茜's avatar
涂茜 committed
209 210 211 212
          color: white;
        }
      }

邓晓峰's avatar
邓晓峰 committed
213
      .@{ant-prefix}-modal-footer {
涂茜's avatar
涂茜 committed
214 215 216
        background: none;
        border-color: #1c202c;

邓晓峰's avatar
邓晓峰 committed
217
        .@{ant-prefix}-btn:first-of-type {
涂茜's avatar
涂茜 committed
218 219 220 221 222 223 224 225 226 227 228 229
          color: white;
          background-color: #838a9d;
          border: none;

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

230
  &-historyInfoModal {
邓晓峰's avatar
邓晓峰 committed
231
    .@{ant-prefix}-modal-body {
涂茜's avatar
涂茜 committed
232 233 234 235
      height: 680px;
    }
  }

236 237 238 239
  &-jumpModal {
    display: flex;
    align-items: center;
    justify-content: center;
涂茜's avatar
涂茜 committed
240 241
    color: white;

邓晓峰's avatar
邓晓峰 committed
242
    .@{ant-prefix}-modal {
涂茜's avatar
涂茜 committed
243 244 245
      padding-bottom: 0;
    }

邓晓峰's avatar
邓晓峰 committed
246 247
    .@{ant-prefix}-modal,
    .@{ant-prefix}-modal-content {
李纪文's avatar
李纪文 committed
248
      max-width: 100%;
涂茜's avatar
涂茜 committed
249 250 251
      background: #282d3b;
    }

邓晓峰's avatar
邓晓峰 committed
252
    .@{ant-prefix}-modal-content {
涂茜's avatar
涂茜 committed
253 254 255
      height: 100%;
    }

邓晓峰's avatar
邓晓峰 committed
256
    .@{ant-prefix}-modal-header {
涂茜's avatar
涂茜 committed
257
      background: #282d3b;
李纪文's avatar
李纪文 committed
258
      border-color: #1c202c;
涂茜's avatar
涂茜 committed
259 260
    }

邓晓峰's avatar
邓晓峰 committed
261 262
    .@{ant-prefix}-modal-title,
    .@{ant-prefix}-modal-close-x {
涂茜's avatar
涂茜 committed
263 264 265
      color: white;
    }

邓晓峰's avatar
邓晓峰 committed
266
    .@{ant-prefix}-modal-body {
涂茜's avatar
涂茜 committed
267 268 269 270 271
      height: calc(100% - 55px);
    }
  }

  .configurationView {
272 273 274
    display: flex;
    align-items: center;
    justify-content: center;
涂茜's avatar
涂茜 committed
275 276
    width: 100%;
    height: 100%;
李纪文's avatar
李纪文 committed
277

涂茜's avatar
涂茜 committed
278 279 280 281 282
    canvas {
      border: 0;
      outline: none;
    }
  }
283 284 285 286 287 288 289 290 291 292 293

  .configurationLoad {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }
涂茜's avatar
涂茜 committed
294
}