Commit 08c83f40 authored by 李纪文's avatar 李纪文

fix: 修改基础表格前缀

parent ad2779bd
...@@ -7,143 +7,167 @@ ...@@ -7,143 +7,167 @@
height: 100%; height: 100%;
overflow: hidden; overflow: hidden;
.ant-table-wrapper, .@{ant-prefix}-table-wrapper,
.ant-spin-nested-loading, .@{ant-prefix}-spin-nested-loading,
.ant-spin-container, .@{ant-prefix}-spin-container,
.ant-table, .@{ant-prefix}-table,
.ant-table-container, .@{ant-prefix}-table-container,
.ant-table-content { .@{ant-prefix}-table-content {
display: flex; display: flex;
flex: 1; flex: 1;
flex-direction: column; flex-direction: column;
overflow: hidden; overflow: hidden;
} }
.ant-table-tbody > tr, .@{ant-prefix}-table-tbody > tr,
.ant-table-tbody > tr > td { .@{ant-prefix}-table-tbody > tr > td {
background: white; background: white;
} }
.ant-table-thead > tr > th { .@{ant-prefix}-table-thead > tr > th {
font-weight: 600; font-weight: 600;
background: white; background: white;
border-bottom: 2px solid #dbe7fb; border-bottom: 2px solid #dbe7fb;
} }
.ant-table-thead > tr > th .ant-table-column-sorters { .@{ant-prefix}-table-thead > tr > th .@{ant-prefix}-table-column-sorters {
padding: 0; padding: 0;
} }
.ant-table-thead > tr > th .ant-table-column-sorter-full { .@{ant-prefix}-table-thead > tr > th .@{ant-prefix}-table-column-sorter-full {
margin-top: -0.5em; margin-top: -0.5em;
} }
.ant-table-thead > tr > th, .@{ant-prefix}-table-thead > tr > th,
.ant-table-tbody > tr > td, .@{ant-prefix}-table-tbody > tr > td,
.ant-table tfoot > tr > th, .@{ant-prefix}-table tfoot > tr > th,
.ant-table tfoot > tr > td { .@{ant-prefix}-table tfoot > tr > td {
padding: 8px 8px; padding: 8px 8px;
} }
.ant-table-tbody > tr:hover:not(.ant-table-expanded-row) > td { .@{ant-prefix}-table-tbody > tr:hover:not(.@{ant-prefix}-table-expanded-row) > td {
background: white; background: white;
} }
.ant-table-tbody > tr:nth-child(2n-1), .@{ant-prefix}-table-tbody > tr:nth-child(2n-1),
.ant-table-tbody > tr:nth-child(2n-1) td { .@{ant-prefix}-table-tbody > tr:nth-child(2n-1) td {
background: #f6f9fe; background: #f6f9fe;
} }
.ant-table-tbody > tr:hover { .@{ant-prefix}-table-tbody > tr:hover {
background: #edf2ff; background: #edf2ff;
td { td {
background: #edf2ff !important; background: #edf2ff !important;
} }
} }
.ant-table-tbody > tr > td { .@{ant-prefix}-table-tbody > tr > td {
border-bottom: 1px solid #dbe7fb; border-bottom: 1px solid #dbe7fb;
} }
.ant-table.ant-table-bordered .@{ant-prefix}-table.@{ant-prefix}-table-bordered
> .ant-table-container > .@{ant-prefix}-table-container
> .ant-table-content > .@{ant-prefix}-table-content
> table > table
> thead > thead
> tr > tr
> th, > th,
.ant-table.ant-table-bordered .@{ant-prefix}-table.@{ant-prefix}-table-bordered
> .ant-table-container > .@{ant-prefix}-table-container
> .ant-table-header > .@{ant-prefix}-table-header
> table > table
> thead > thead
> tr > tr
> th, > th,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > thead > tr > th, .@{ant-prefix}-table.@{ant-prefix}-table-bordered
.ant-table.ant-table-bordered > .@{ant-prefix}-table-container
> .ant-table-container > .@{ant-prefix}-table-body
> .ant-table-content > table
> thead
> tr
> th,
.@{ant-prefix}-table.@{ant-prefix}-table-bordered
> .@{ant-prefix}-table-container
> .@{ant-prefix}-table-content
> table
> tbody
> tr
> td,
.@{ant-prefix}-table.@{ant-prefix}-table-bordered
> .@{ant-prefix}-table-container
> .@{ant-prefix}-table-header
> table > table
> tbody > tbody
> tr > tr
> td, > td,
.ant-table.ant-table-bordered .@{ant-prefix}-table.@{ant-prefix}-table-bordered
> .ant-table-container > .@{ant-prefix}-table-container
> .ant-table-header > .@{ant-prefix}-table-body
> table > table
> tbody > tbody
> tr > tr
> td, > td,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tbody > tr > td, .@{ant-prefix}-table.@{ant-prefix}-table-bordered
.ant-table.ant-table-bordered > .@{ant-prefix}-table-container
> .ant-table-container > .@{ant-prefix}-table-content
> .ant-table-content
> table > table
> tfoot > tfoot
> tr > tr
> th, > th,
.ant-table.ant-table-bordered .@{ant-prefix}-table.@{ant-prefix}-table-bordered
> .ant-table-container > .@{ant-prefix}-table-container
> .ant-table-header > .@{ant-prefix}-table-header
> table > table
> tfoot > tfoot
> tr > tr
> th, > th,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tfoot > tr > th, .@{ant-prefix}-table.@{ant-prefix}-table-bordered
.ant-table.ant-table-bordered > .@{ant-prefix}-table-container
> .ant-table-container > .@{ant-prefix}-table-body
> .ant-table-content > table
> tfoot
> tr
> th,
.@{ant-prefix}-table.@{ant-prefix}-table-bordered
> .@{ant-prefix}-table-container
> .@{ant-prefix}-table-content
> table > table
> tfoot > tfoot
> tr > tr
> td, > td,
.ant-table.ant-table-bordered .@{ant-prefix}-table.@{ant-prefix}-table-bordered
> .ant-table-container > .@{ant-prefix}-table-container
> .ant-table-header > .@{ant-prefix}-table-header
> table > table
> tfoot > tfoot
> tr > tr
> td, > td,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tfoot > tr > td { .@{ant-prefix}-table.@{ant-prefix}-table-bordered
> .@{ant-prefix}-table-container
> .@{ant-prefix}-table-body
> table
> tfoot
> tr
> td {
border-right: 1px solid #dbe7fb; border-right: 1px solid #dbe7fb;
} }
.ant-table.ant-table-bordered > .ant-table-container { .@{ant-prefix}-table.@{ant-prefix}-table-bordered > .@{ant-prefix}-table-container {
border-top: 1px solid #dbe7fb; border-top: 1px solid #dbe7fb;
border-left: 0; border-left: 0;
} }
.ant-table.ant-table-bordered .ant-table-header, .@{ant-prefix}-table.@{ant-prefix}-table-bordered .@{ant-prefix}-table-header,
.ant-table.ant-table-bordered .ant-table-body { .@{ant-prefix}-table.@{ant-prefix}-table-bordered .@{ant-prefix}-table-body {
border-left: 1px solid #dbe7fb; border-left: 1px solid #dbe7fb;
} }
.ant-table-cell-scrollbar { .@{ant-prefix}-table-cell-scrollbar {
border-left: 0px; border-left: 0px;
box-shadow: none; box-shadow: none;
} }
.ant-table-summary { .@{ant-prefix}-table-summary {
tr td { tr td {
position: sticky; position: sticky;
bottom: 0; bottom: 0;
...@@ -152,7 +176,7 @@ ...@@ -152,7 +176,7 @@
} }
} }
.ant-pagination { .@{ant-prefix}-pagination {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
grid-row-gap: 8px; grid-row-gap: 8px;
...@@ -160,7 +184,7 @@ ...@@ -160,7 +184,7 @@
padding-top: 10px; padding-top: 10px;
border-top: 1px solid #efefef; border-top: 1px solid #efefef;
.ant-pagination-total-text { .@{ant-prefix}-pagination-total-text {
margin-right: auto; margin-right: auto;
margin-left: 8px; margin-left: 8px;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment