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

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

  .configurationView {
    width: 100%;
    height: 100%;
    canvas {
      border: 0;
      outline: none;
    }
  }

  &-modal {
    color: white;

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

      :global {
        .anticon.anticon-exclamation-circle {
          margin-top: 2px;
          margin-right: 10px;
          color: #fd5e72;
          font-size: 18px;
        }
      }
    }

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

      .moreControlList {
        display: flex;

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

        div {
          margin-bottom: 20px;
          padding: 2px 10px;
          border: 1px solid #6d7da2;
          border-radius: 6px;
        }

        &:last-of-type {
          div {
            margin-bottom: 0;
          }
        }
      }
    }

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

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

      //:global {
邓晓峰's avatar
邓晓峰 committed
72
      .@{ant-prefix}-input-affix-wrapper {
涂茜's avatar
涂茜 committed
73 74 75 76
        background: #1c202c;
        border: none;
      }

邓晓峰's avatar
邓晓峰 committed
77 78
      .@{ant-prefix}-input-affix-wrapper:focus,
      .@{ant-prefix}-input-affix-wrapper-focused {
涂茜's avatar
涂茜 committed
79 80 81
        box-shadow: none;
      }

邓晓峰's avatar
邓晓峰 committed
82
      .@{ant-prefix}-input:focus {
涂茜's avatar
涂茜 committed
83 84 85 86
        border: none;
        box-shadow: none;
      }

邓晓峰's avatar
邓晓峰 committed
87 88
      .@{ant-prefix}-input,
      .@{ant-prefix}-btn {
涂茜's avatar
涂茜 committed
89 90 91 92 93
        color: white;
        background: #1c202c;
        border: none;
      }

邓晓峰's avatar
邓晓峰 committed
94
      .@{ant-prefix}-input-group-addon {
涂茜's avatar
涂茜 committed
95 96 97 98
        background: #1c202c;
        border: none;
      }

邓晓峰's avatar
邓晓峰 committed
99
      .@{ant-prefix}-input-suffix {
涂茜's avatar
涂茜 committed
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
        color: #646977;
      }
      //}
    }

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

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

        //:global {

邓晓峰's avatar
邓晓峰 committed
116
        .@{ant-prefix}-col.@{ant-prefix}-form-item-label {
涂茜's avatar
涂茜 committed
117 118 119 120 121 122 123
          margin-right: 10px;

          label {
            color: white;
          }
        }

邓晓峰's avatar
邓晓峰 committed
124
        .@{ant-prefix}-form-item-control-input-content {
涂茜's avatar
涂茜 committed
125 126 127 128
          display: flex;
          align-items: center;
        }

邓晓峰's avatar
邓晓峰 committed
129
        .@{ant-prefix}-input-affix-wrapper {
涂茜's avatar
涂茜 committed
130 131 132 133
          background: #1c202c;
          border: none;
        }

邓晓峰's avatar
邓晓峰 committed
134 135
        .@{ant-prefix}-input-affix-wrapper:focus,
        .@{ant-prefix}-input-affix-wrapper-focused {
涂茜's avatar
涂茜 committed
136 137 138
          box-shadow: none;
        }

邓晓峰's avatar
邓晓峰 committed
139
        .@{ant-prefix}-input:focus {
涂茜's avatar
涂茜 committed
140 141 142 143
          border: none;
          box-shadow: none;
        }

邓晓峰's avatar
邓晓峰 committed
144 145
        .@{ant-prefix}-input,
        .@{ant-prefix}-btn {
涂茜's avatar
涂茜 committed
146 147 148 149 150
          color: white;
          background: #1c202c;
          border: none;
        }

邓晓峰's avatar
邓晓峰 committed
151
        .@{ant-prefix}-input-group-addon {
涂茜's avatar
涂茜 committed
152 153 154 155
          background: #1c202c;
          border: none;
        }

邓晓峰's avatar
邓晓峰 committed
156
        @{ant-prefix}-input-suffix {
涂茜's avatar
涂茜 committed
157 158 159 160 161 162 163 164 165 166 167
          color: #646977;
        }
      }

      &:last-of-type {
        margin-bottom: 0;
      }
      //}
    }

    //:global{
邓晓峰's avatar
邓晓峰 committed
168
    .@{ant-prefix}-modal-content {
涂茜's avatar
涂茜 committed
169 170 171 172
      color: white;
      background: #282d3b;
      border: 1px solid #31374a;

邓晓峰's avatar
邓晓峰 committed
173
      .@{ant-prefix}-modal-close {
涂茜's avatar
涂茜 committed
174 175 176
        color: white;
      }

邓晓峰's avatar
邓晓峰 committed
177
      .@{ant-prefix}-modal-close-x {
涂茜's avatar
涂茜 committed
178 179 180
        line-height: 42px;
      }

邓晓峰's avatar
邓晓峰 committed
181
      .@{ant-prefix}-modal-header {
涂茜's avatar
涂茜 committed
182 183 184
        background: none;
        border-color: #1c202c;

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

邓晓峰's avatar
邓晓峰 committed
190
      .@{ant-prefix}-modal-body {
涂茜's avatar
涂茜 committed
191 192
      }

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

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

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

  .historyInfoModal {
    //:global {
邓晓峰's avatar
邓晓峰 committed
213
    .@{ant-prefix}-modal-body {
涂茜's avatar
涂茜 committed
214 215 216 217 218 219 220 221 222 223
      height: 680px;
    }
    //}
  }

  .jumpModal {
    color: white;

    //:global {

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

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

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

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

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

邓晓峰's avatar
邓晓峰 committed
246
    .@{ant-prefix}-modal-body {
涂茜's avatar
涂茜 committed
247 248 249 250 251 252 253 254 255 256 257 258 259 260
      height: calc(100% - 55px);
    }
  }

  .configurationView {
    width: 100%;
    height: 100%;
    canvas {
      border: 0;
      outline: none;
    }
  }
  //}
}