From 0c84df247914f893ef5e41d57a422e10a2dc814c Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 12 十一月 2021 17:02:06 +0800 Subject: [PATCH] 2021-11-12 --- src/tabviews/zshare/mutilform/index.scss | 100 +++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 90 insertions(+), 10 deletions(-) diff --git a/src/tabviews/zshare/mutilform/index.scss b/src/tabviews/zshare/mutilform/index.scss index 919cf39..537c050 100644 --- a/src/tabviews/zshare/mutilform/index.scss +++ b/src/tabviews/zshare/mutilform/index.scss @@ -1,8 +1,50 @@ -.ant-advanced-search-form.main-form-field { +.main-form-field { position: relative; padding: 0px 24px 20px; + >.ant-row >.ant-col { + display: inline-block; + float: none; + vertical-align: top; + padding-left: 1.2%!important; + padding-right: 1.2%!important; + } + .ant-checkbox-group { + line-height: unset; + .ant-checkbox-wrapper { + margin-right: 8px; + } + .ant-checkbox-wrapper + .ant-checkbox-wrapper { + margin-left: 0; + } + } .ant-form-item { display: flex; + } + .ant-form-item.checkcard, .ant-form-item.file-upload { + margin-bottom: 10px; + .ant-form-item-control { + line-height: 1; + } + } + .ant-form-item.readonly { + .fileupload-form-container { + .ant-upload-select { + display: none; + } + .ant-upload-list-item-actions { + .anticon-delete { + display: none; + } + } + } + } + .ant-form-item.hint { + margin-bottom: 0px; + .message { + margin-top: 9px; + line-height: 1.5; + color: rgba(0, 0, 0, 0.85); + } } .ant-form-item-control-wrapper { flex: 1; @@ -12,26 +54,51 @@ display: inline-block; text-overflow: ellipsis; white-space: nowrap; + width: 33.3%; } - .textarea-row { - .ant-col-sm-3 { - width: 10.5%; - } - .ant-col-sm-21 { - width: 89.5%; + >.ant-row.cols2 .ant-col-24 { + .ant-form-item { + .ant-form-item-label { + width: 16%; + } } } - .ant-input-number { - width: 100%; + >.ant-row.cols3 .ant-col-24 { + .ant-form-item { + .ant-form-item-label { + width: 10.5%; + } + } + } + >.ant-row.cols4 .ant-col-24 { + .ant-form-item { + .ant-form-item-label { + width: 7.5%; + } + } } .ant-form-explain { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } + .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; + overflow-x: hidden; + } p { color: #1890ff; - border-bottom: 1px solid #d9d9d9; + font-size: 15px; + padding-left: 10px; + border-bottom: 1px solid #e9e9e9; } .ant-input-disabled { color: rgba(0, 0, 0, 0.65)!important; @@ -47,4 +114,17 @@ color: rgba(0, 0, 0, 0.65)!important; } } +} + +.main-form-field.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