index.less 4.95 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
        .@{ant-prefix}-col.@{ant-prefix}-form-item-label {
涂茜's avatar
涂茜 committed
124 125 126 127 128 129 130
          margin-right: 10px;

          label {
            color: white;
          }
        }

邓晓峰's avatar
邓晓峰 committed
131
        .@{ant-prefix}-form-item-control-input-content {
涂茜's avatar
涂茜 committed
132 133 134 135
          display: flex;
          align-items: center;
        }

邓晓峰's avatar
邓晓峰 committed
136
        .@{ant-prefix}-input-affix-wrapper {
涂茜's avatar
涂茜 committed
137 138 139 140
          background: #1c202c;
          border: none;
        }

邓晓峰's avatar
邓晓峰 committed
141 142
        .@{ant-prefix}-input-affix-wrapper:focus,
        .@{ant-prefix}-input-affix-wrapper-focused {
涂茜's avatar
涂茜 committed
143 144 145
          box-shadow: none;
        }

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

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

邓晓峰's avatar
邓晓峰 committed
158
        .@{ant-prefix}-input-group-addon {
涂茜's avatar
涂茜 committed
159 160 161 162
          background: #1c202c;
          border: none;
        }

邓晓峰's avatar
邓晓峰 committed
163
        @{ant-prefix}-input-suffix {
涂茜's avatar
涂茜 committed
164 165 166
          color: #646977;
        }

167 168 169
        &:last-of-type {
          margin-bottom: 0;
        }
涂茜's avatar
涂茜 committed
170 171 172
      }
    }

邓晓峰's avatar
邓晓峰 committed
173
    .@{ant-prefix}-modal-content {
涂茜's avatar
涂茜 committed
174 175 176 177
      color: white;
      background: #282d3b;
      border: 1px solid #31374a;

邓晓峰's avatar
邓晓峰 committed
178
      .@{ant-prefix}-modal-close {
涂茜's avatar
涂茜 committed
179 180 181
        color: white;
      }

邓晓峰's avatar
邓晓峰 committed
182
      .@{ant-prefix}-modal-close-x {
涂茜's avatar
涂茜 committed
183 184 185
        line-height: 42px;
      }

邓晓峰's avatar
邓晓峰 committed
186
      .@{ant-prefix}-modal-header {
187
        padding-right: 56px;
涂茜's avatar
涂茜 committed
188 189 190
        background: none;
        border-color: #1c202c;

邓晓峰's avatar
邓晓峰 committed
191
        .@{ant-prefix}-modal-title {
涂茜's avatar
涂茜 committed
192 193 194 195
          color: white;
        }
      }

邓晓峰's avatar
邓晓峰 committed
196
      .@{ant-prefix}-modal-footer {
涂茜's avatar
涂茜 committed
197 198 199
        background: none;
        border-color: #1c202c;

邓晓峰's avatar
邓晓峰 committed
200
        .@{ant-prefix}-btn:first-of-type {
涂茜's avatar
涂茜 committed
201 202 203 204 205 206 207 208 209 210 211 212
          color: white;
          background-color: #838a9d;
          border: none;

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

213
  &-historyInfoModal {
邓晓峰's avatar
邓晓峰 committed
214
    .@{ant-prefix}-modal-body {
涂茜's avatar
涂茜 committed
215 216 217 218
      height: 680px;
    }
  }

219 220 221 222
  &-jumpModal {
    display: flex;
    align-items: center;
    justify-content: center;
涂茜's avatar
涂茜 committed
223 224
    color: white;

邓晓峰's avatar
邓晓峰 committed
225
    .@{ant-prefix}-modal {
涂茜's avatar
涂茜 committed
226 227 228
      padding-bottom: 0;
    }

邓晓峰's avatar
邓晓峰 committed
229 230
    .@{ant-prefix}-modal,
    .@{ant-prefix}-modal-content {
涂茜's avatar
涂茜 committed
231 232 233
      background: #282d3b;
    }

邓晓峰's avatar
邓晓峰 committed
234
    .@{ant-prefix}-modal-content {
涂茜's avatar
涂茜 committed
235 236 237
      height: 100%;
    }

邓晓峰's avatar
邓晓峰 committed
238
    .@{ant-prefix}-modal-header {
涂茜's avatar
涂茜 committed
239 240 241
      background: #282d3b;
    }

邓晓峰's avatar
邓晓峰 committed
242 243
    .@{ant-prefix}-modal-title,
    .@{ant-prefix}-modal-close-x {
涂茜's avatar
涂茜 committed
244 245 246
      color: white;
    }

邓晓峰's avatar
邓晓峰 committed
247
    .@{ant-prefix}-modal-body {
涂茜's avatar
涂茜 committed
248 249 250 251 252
      height: calc(100% - 55px);
    }
  }

  .configurationView {
253 254 255
    display: flex;
    align-items: center;
    justify-content: center;
涂茜's avatar
涂茜 committed
256 257
    width: 100%;
    height: 100%;
李纪文's avatar
李纪文 committed
258

涂茜's avatar
涂茜 committed
259 260 261 262 263 264
    canvas {
      border: 0;
      outline: none;
    }
  }
}