index.less 5.15 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 6 7 8
@ec-configuration-view-prefix-cls: ~'@{ant-prefix}-ec-configuration-view';

.@{ec-configuration-view-prefix-cls} {
  width: 100%;
  height: 100%;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

          label {
            color: white;
          }
        }

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

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

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

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

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

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

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

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

        .@{ant-prefix}-input-password-icon.anticon {
          color: #ffffff;
        }
涂茜's avatar
涂茜 committed
178 179 180
      }
    }

邓晓峰's avatar
邓晓峰 committed
181
    .@{ant-prefix}-modal-content {
涂茜's avatar
涂茜 committed
182 183 184 185
      color: white;
      background: #282d3b;
      border: 1px solid #31374a;

邓晓峰's avatar
邓晓峰 committed
186
      .@{ant-prefix}-modal-close {
涂茜's avatar
涂茜 committed
187 188 189
        color: white;
      }

邓晓峰's avatar
邓晓峰 committed
190
      .@{ant-prefix}-modal-close-x {
涂茜's avatar
涂茜 committed
191 192 193
        line-height: 42px;
      }

邓晓峰's avatar
邓晓峰 committed
194
      .@{ant-prefix}-modal-header {
195
        padding-right: 56px;
涂茜's avatar
涂茜 committed
196 197 198
        background: none;
        border-color: #1c202c;

邓晓峰's avatar
邓晓峰 committed
199
        .@{ant-prefix}-modal-title {
涂茜's avatar
涂茜 committed
200 201 202 203
          color: white;
        }
      }

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

邓晓峰's avatar
邓晓峰 committed
208
        .@{ant-prefix}-btn:first-of-type {
涂茜's avatar
涂茜 committed
209 210 211 212 213 214 215 216 217 218 219 220
          color: white;
          background-color: #838a9d;
          border: none;

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

221
  &-historyInfoModal {
邓晓峰's avatar
邓晓峰 committed
222
    .@{ant-prefix}-modal-body {
涂茜's avatar
涂茜 committed
223 224 225 226
      height: 680px;
    }
  }

227 228 229 230
  &-jumpModal {
    display: flex;
    align-items: center;
    justify-content: center;
涂茜's avatar
涂茜 committed
231 232
    color: white;

邓晓峰's avatar
邓晓峰 committed
233
    .@{ant-prefix}-modal {
涂茜's avatar
涂茜 committed
234 235 236
      padding-bottom: 0;
    }

邓晓峰's avatar
邓晓峰 committed
237 238
    .@{ant-prefix}-modal,
    .@{ant-prefix}-modal-content {
李纪文's avatar
李纪文 committed
239
      max-width: 100%;
涂茜's avatar
涂茜 committed
240 241 242
      background: #282d3b;
    }

邓晓峰's avatar
邓晓峰 committed
243
    .@{ant-prefix}-modal-content {
涂茜's avatar
涂茜 committed
244 245 246
      height: 100%;
    }

邓晓峰's avatar
邓晓峰 committed
247
    .@{ant-prefix}-modal-header {
涂茜's avatar
涂茜 committed
248
      background: #282d3b;
李纪文's avatar
李纪文 committed
249
      border-color: #1c202c;
涂茜's avatar
涂茜 committed
250 251
    }

邓晓峰's avatar
邓晓峰 committed
252 253
    .@{ant-prefix}-modal-title,
    .@{ant-prefix}-modal-close-x {
涂茜's avatar
涂茜 committed
254 255 256
      color: white;
    }

邓晓峰's avatar
邓晓峰 committed
257
    .@{ant-prefix}-modal-body {
涂茜's avatar
涂茜 committed
258 259 260 261 262
      height: calc(100% - 55px);
    }
  }

  .configurationView {
263 264 265
    display: flex;
    align-items: center;
    justify-content: center;
涂茜's avatar
涂茜 committed
266 267
    width: 100%;
    height: 100%;
李纪文's avatar
李纪文 committed
268

涂茜's avatar
涂茜 committed
269 270 271 272 273 274
    canvas {
      border: 0;
      outline: none;
    }
  }
}