Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-components
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
wisdom-components
Commits
08c83f40
Commit
08c83f40
authored
Sep 29, 2021
by
李纪文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改基础表格前缀
parent
ad2779bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
79 additions
and
55 deletions
+79
-55
index.less
packages/base-components/BasicTable/src/index.less
+79
-55
No files found.
packages/base-components/BasicTable/src/index.less
View file @
08c83f40
...
...
@@ -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;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment