king
2023-06-14 08cce3334a2dc81d690b518136b0aaea64e48b0b
src/templates/modalconfig/dragelement/index.scss
@@ -28,6 +28,31 @@
    padding-left: 10px;
    border-bottom: 1px solid #e9e9e9;
  }
  .ant-form-item.checkcard {
    .ant-form-item-control {
      line-height: 1;
    }
  }
  .ant-form-item.actived {
    .mk-form-label {
      color: #1890ff;
    }
  }
  .mk-form-label:after {
    content: ':';
    position: relative;
    top: -0.5px;
    margin: 0 8px 0 2px;
    text-decoration: none;
  }
  .mk-form-label.no-colon {
    opacity: 0;
    width: 1px;
    display: inline-block;
  }
  .ant-form-item-no-colon::after {
    content: none!important;
  }
  .ant-form-item {
    cursor: move;
    display: flex;
@@ -46,11 +71,6 @@
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .anticon-question-circle {
        color: #c49f47;
        margin-right: 3px;
        line-height: 40px;
      }
    }
    .ant-form-item-control-wrapper {
      position: relative;
@@ -62,6 +82,9 @@
      .field-name {
        line-height: 1.3;
        float: left;
      }
      .ant-btn + .field-name {
        float: none;
      }
      .ant-checkbox-group {
        line-height: 40px;
@@ -80,7 +103,6 @@
        margin-top: 4px;
      }
      .ant-input-number {
        width: 100%;
        margin-top: 4px;
      }
      .color-sketch-block {
@@ -112,13 +134,55 @@
      width: 89.5%;
    }
  }
  .ant-form-item label > .anticon {
    vertical-align: middle;
  }
}
.modal-fields-row.up_down {
  .ant-form-item {
    display: block;
    display: block!important;
    .ant-form-item-label {
      width: 100%!important;
      text-align: left;
      height: 24px!important;
      line-height: 28px!important;
    }
    .ant-form-item-control-wrapper {
      width: 100%!important;
    }
  }
}
  .no-label {
    .ant-form-item-label {
      display: none;
    }
  }
}
.modal-fields-row.space-normal {
  .page-card {
    margin-bottom: 24px;
  }
}
.modal-fields-row.space-middle {
  .page-card {
    margin-bottom: 15px;
  }
}
.modal-fields-row.space-small {
  .page-card {
    margin-bottom: 5px;
  }
}
// .modal-fields-row.copy {
//   z-index: 3;
// }
// .modal-fields-row.copy::before {
//   content: ' ';
//   display: block;
//   position: fixed;
//   left: 0;
//   right: 0;
//   top: 0;
//   bottom: 0;
//   background: rgba(0,0,0,0.2);
//   z-index: 2;
// }