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

fix: 修改基础表格前缀

parent ad2779bd
......@@ -7,143 +7,167 @@
height: 100%;
overflow: hidden;
.ant-table-wrapper,
.ant-spin-nested-loading,
.ant-spin-container,
.ant-table,
.ant-table-container,
.ant-table-content {
.@{ant-prefix}-table-wrapper,
.@{ant-prefix}-spin-nested-loading,
.@{ant-prefix}-spin-container,
.@{ant-prefix}-table,
.@{ant-prefix}-table-container,
.@{ant-prefix}-table-content {
display: flex;
flex: 1;
flex-direction: column;
overflow: hidden;
}
.ant-table-tbody > tr,
.ant-table-tbody > tr > td {
.@{ant-prefix}-table-tbody > tr,
.@{ant-prefix}-table-tbody > tr > td {
background: white;
}
.ant-table-thead > tr > th {
.@{ant-prefix}-table-thead > tr > th {
font-weight: 600;
background: white;
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;
}
.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;
}
.ant-table-thead > tr > th,
.ant-table-tbody > tr > td,
.ant-table tfoot > tr > th,
.ant-table tfoot > tr > td {
.@{ant-prefix}-table-thead > tr > th,
.@{ant-prefix}-table-tbody > tr > td,
.@{ant-prefix}-table tfoot > tr > th,
.@{ant-prefix}-table tfoot > tr > td {
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;
}
.ant-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),
.@{ant-prefix}-table-tbody > tr:nth-child(2n-1) td {
background: #f6f9fe;
}
.ant-table-tbody > tr:hover {
.@{ant-prefix}-table-tbody > tr:hover {
background: #edf2ff;
td {
background: #edf2ff !important;
}
}
.ant-table-tbody > tr > td {
.@{ant-prefix}-table-tbody > tr > td {
border-bottom: 1px solid #dbe7fb;
}
.ant-table.ant-table-bordered
> .ant-table-container
> .ant-table-content
.@{ant-prefix}-table.@{ant-prefix}-table-bordered
> .@{ant-prefix}-table-container
> .@{ant-prefix}-table-content
> table
> thead
> tr
> th,
.ant-table.ant-table-bordered
> .ant-table-container
> .ant-table-header
.@{ant-prefix}-table.@{ant-prefix}-table-bordered
> .@{ant-prefix}-table-container
> .@{ant-prefix}-table-header
> table
> thead
> tr
> th,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > thead > tr > th,
.ant-table.ant-table-bordered
> .ant-table-container
> .ant-table-content
.@{ant-prefix}-table.@{ant-prefix}-table-bordered
> .@{ant-prefix}-table-container
> .@{ant-prefix}-table-body
> 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
> tbody
> tr
> td,
.ant-table.ant-table-bordered
> .ant-table-container
> .ant-table-header
.@{ant-prefix}-table.@{ant-prefix}-table-bordered
> .@{ant-prefix}-table-container
> .@{ant-prefix}-table-body
> table
> tbody
> tr
> td,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tbody > tr > td,
.ant-table.ant-table-bordered
> .ant-table-container
> .ant-table-content
.@{ant-prefix}-table.@{ant-prefix}-table-bordered
> .@{ant-prefix}-table-container
> .@{ant-prefix}-table-content
> table
> tfoot
> tr
> th,
.ant-table.ant-table-bordered
> .ant-table-container
> .ant-table-header
.@{ant-prefix}-table.@{ant-prefix}-table-bordered
> .@{ant-prefix}-table-container
> .@{ant-prefix}-table-header
> table
> tfoot
> tr
> th,
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tfoot > tr > th,
.ant-table.ant-table-bordered
> .ant-table-container
> .ant-table-content
.@{ant-prefix}-table.@{ant-prefix}-table-bordered
> .@{ant-prefix}-table-container
> .@{ant-prefix}-table-body
> table
> tfoot
> tr
> th,
.@{ant-prefix}-table.@{ant-prefix}-table-bordered
> .@{ant-prefix}-table-container
> .@{ant-prefix}-table-content
> table
> tfoot
> tr
> td,
.ant-table.ant-table-bordered
> .ant-table-container
> .ant-table-header
.@{ant-prefix}-table.@{ant-prefix}-table-bordered
> .@{ant-prefix}-table-container
> .@{ant-prefix}-table-header
> table
> tfoot
> tr
> 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;
}
.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-left: 0;
}
.ant-table.ant-table-bordered .ant-table-header,
.ant-table.ant-table-bordered .ant-table-body {
.@{ant-prefix}-table.@{ant-prefix}-table-bordered .@{ant-prefix}-table-header,
.@{ant-prefix}-table.@{ant-prefix}-table-bordered .@{ant-prefix}-table-body {
border-left: 1px solid #dbe7fb;
}
.ant-table-cell-scrollbar {
.@{ant-prefix}-table-cell-scrollbar {
border-left: 0px;
box-shadow: none;
}
.ant-table-summary {
.@{ant-prefix}-table-summary {
tr td {
position: sticky;
bottom: 0;
......@@ -152,7 +176,7 @@
}
}
.ant-pagination {
.@{ant-prefix}-pagination {
display: flex;
flex-wrap: wrap;
grid-row-gap: 8px;
......@@ -160,7 +184,7 @@
padding-top: 10px;
border-top: 1px solid #efefef;
.ant-pagination-total-text {
.@{ant-prefix}-pagination-total-text {
margin-right: auto;
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