From f3167f8371d19d0ea8fe7d0e7af5517ff0b08cd2 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 07 四月 2021 23:25:29 +0800 Subject: [PATCH] 2021-04-07 --- src/templates/modalconfig/dragelement/index.scss | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 104 insertions(+), 4 deletions(-) diff --git a/src/templates/modalconfig/dragelement/index.scss b/src/templates/modalconfig/dragelement/index.scss index d68b01a..ad41b4d 100644 --- a/src/templates/modalconfig/dragelement/index.scss +++ b/src/templates/modalconfig/dragelement/index.scss @@ -15,13 +15,113 @@ } .modal-fields-row { padding-bottom: 35px; - .ant-col { - padding-left: 12px; - padding-right: 12px; - } >.ant-col { display: inline-block; float: none; vertical-align: top; + padding-left: 1.2%; + padding-right: 1.2%; + } + .split-line { + color: #1890ff; + font-size: 15px; + padding-left: 10px; + border-bottom: 1px solid #e9e9e9; + } + .ant-form-item { + cursor: move; + display: flex; + margin-bottom: 0px; + .ant-form-item-label { + overflow: visible; + position: relative; + cursor: move; + height: 40px; + width: 33.3%; + label { + width: 100%; + cursor: move; + overflow: hidden; + display: inline-block; + text-overflow: ellipsis; + white-space: nowrap; + } + .anticon-question-circle { + color: #c49f47; + margin-right: 3px; + line-height: 40px; + } + } + .ant-form-item-control-wrapper { + position: relative; + flex: 1; + .ant-select { + width: 100%; + margin-top: 4px; + } + .field-name { + line-height: 1.3; + float: left; + } + .ant-checkbox-group { + line-height: 40px; + .ant-checkbox-wrapper { + margin-right: 8px; + } + .ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 0px; + } + } + .ant-radio-group { + line-height: 40px; + } + .ant-calendar-picker { + width: 100%; + margin-top: 4px; + } + .ant-input-number { + width: 100%; + margin-top: 4px; + } + .color-sketch-block { + margin-top: 7px; + overflow: hidden; + .color-sketch-block-box { + min-width: 100px; + } + } + .normal-braft-editor { + border: 1px solid #d9d9d9; + border-radius: 4px; + } + } + .ant-form-item-control-wrapper::after { + content: ''; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + opacity: 0; + z-index: 1; + } + .ant-col-cuslabel { + width: 10.5%; + } + .ant-col-cuswrap { + width: 89.5%; + } + } +} +.modal-fields-row.up_down { + .ant-form-item { + display: block; + .ant-form-item-label { + width: 100%!important; + text-align: left; + } + .ant-form-item-control-wrapper { + width: 100%!important; + } } } \ No newline at end of file -- Gitblit v1.8.0