From 3659f0773a14b54c18ed0af8b64de4afe8227489 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 04 十二月 2020 19:31:12 +0800 Subject: [PATCH] 2020-12-04 --- src/tabviews/custom/components/table/normal-table/index.scss | 199 +------------------------------------------------ 1 files changed, 6 insertions(+), 193 deletions(-) diff --git a/src/tabviews/custom/components/table/normal-table/index.scss b/src/tabviews/custom/components/table/normal-table/index.scss index 3d3f54b..1d09da9 100644 --- a/src/tabviews/custom/components/table/normal-table/index.scss +++ b/src/tabviews/custom/components/table/normal-table/index.scss @@ -1,10 +1,8 @@ -.commontable { +.custom-normal-table { position: relative; - min-height: calc(100vh - 94px); - padding-top: 16px; - padding-bottom: 80px; - .box404 { - padding-top: 30px; + + .top-search { + padding: 0; } .commontable-main-action { min-height: 25px; @@ -25,41 +23,11 @@ max-height: calc(100vh - 265px); } } - > .ant-spin { - position: absolute; - z-index: 10; - left: calc(50% - 22px); - top: calc(50vh - 70px); - } - > .ant-card { - margin: 0 20px 20px; - > .ant-card-head { - border: 0; - padding: 0; - min-height: 30px; - .ant-card-head-title { - padding: 10px 0 0; - span { - color: #1890ff; - display: inline-block; - padding: 0 10px; - font-size: 15px; - border-bottom: 1px solid #1890ff; - i { - margin-right: 10px; - } - } - } - } - > .ant-card-body { - padding: 0; - } - } .main-table-box { position: relative; .main-pickup { position: absolute; - right: 35px; + right: 5px; top: -22px; z-index: 1; } @@ -76,162 +44,7 @@ line-height: 150px!important; } } - > .ant-tabs { - width: 100%; - padding: 0px 20px; - margin-bottom: 20px; - .ant-tabs-tab:not(.ant-tabs-tab-active) { - cursor: pointer; - } - .ant-tabs-tab.ant-tabs-tab-active { - cursor: default; - } - } - .common-table-copy { - position: fixed; - z-index: 2; - bottom: 65px; - right: 30px; - width: 40px; - height: 40px; - } - .ant-table-fixed-left, .ant-table-fixed-right { - z-index: 1; - } - > .chart-view { - position: relative; - padding: 0 20px; - >.ant-tabs { - .ant-tabs-bar { - position: relative; - z-index: 1; - margin: 0; - border: 0; - .ant-tabs-nav-scroll { - text-align: right; - padding-right: 20px; - .ant-tabs-ink-bar { - display: none!important; - } - .ant-tabs-tab { - padding: 6px 5px; - margin-right: 5px; - } - } - } - } - >.ant-col { - min-height: 100px; - } - >.card-view.ant-col-24 { - padding: 0!important; - .card-row-box { - padding: 0; - } - } - .chart-title { - position: relative; - color: rgba(0, 0, 0, 0.65); - font-weight: 400; - font-size: 16px; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; - margin: 0px; - padding: 5px 10px; - float: left; - max-width: 50%; - } - .chart-table.chart-title { - position: absolute; - top: 0px; - } - .canvas { - clear: both; - } - } -} - -.menu-tree-modal { - .ant-modal-body { - min-height: 300px; - .menu-header { - text-align: center; - span { - font-weight: 600; - margin-right: 20px; - } - .ant-typography { - font-weight: 600; - display: inline-block; - } - } - .ant-tree li .ant-tree-node-content-wrapper { - cursor: default; - } - } -} - -.commontable.bg-gray { - background: #f0f2f5; - >.top-search { - background: #ffffff; - padding: 10px 10px; - margin: 0 20px; - } - .chart-view { - margin-bottom: 20px; - .ant-col:last-child { - .line-chart-plot-box { - margin-bottom: 0px; - } - .card-row-box { - margin-bottom: 0px; - } - .normal-data-table { - margin-bottom: 0px; - } - } - >.ant-col { - min-height: 50px; - } - } - .line-chart-plot-box { - background: #ffffff; - padding: 10px; - margin-bottom: 20px; - } - .card-row-box { - min-height: 130px; - background: #ffffff; - padding-bottom: 10px; - margin-bottom: 20px; - } - .commontable-main-action { - padding: 0 10px; - background: #ffffff; - } .normal-data-table { - padding: 0 10px 10px; - margin-bottom: 20px; - background: #ffffff; - } - .main-pickup { - right: 45px; - } - .custom-control { - right: 10px; - } - > .ant-tabs { - margin: 0px 20px 20px; - padding: 0px; - width: calc(100% - 40px); - background: #ffffff; - .top-search { - padding: 0 10px 10px; - } - .button-list.toolbar-button { - padding: 15px 10px 5px; - } + padding: 0; } } \ No newline at end of file -- Gitblit v1.8.0