mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
update table style, for th in tbody use case
This commit is contained in:
parent
44110dbc79
commit
27a773031c
@ -2,7 +2,7 @@
|
||||
|
||||
@table-prefix-cls: ~"@{css-prefix}table";
|
||||
@table-border-color: #e9e9e9;
|
||||
@table-head-background-color: #f3f3f3;
|
||||
@table-head-background-color: #f4f4f4;
|
||||
|
||||
.@{table-prefix-cls} {
|
||||
font-size: @font-size-base;
|
||||
@ -18,6 +18,7 @@
|
||||
border-collapse: separate;
|
||||
text-align: left;
|
||||
border-radius: @border-radius-base;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
th {
|
||||
@ -39,13 +40,6 @@
|
||||
.@{table-prefix-cls}-filter-selected.anticon-filter {
|
||||
color: @primary-color;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
border-radius: @border-radius-base 0 0 0;
|
||||
}
|
||||
&:last-child {
|
||||
border-radius: 0 @border-radius-base 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
td {
|
||||
@ -59,6 +53,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
thead tr:hover {
|
||||
background: none;
|
||||
}
|
||||
|
||||
tr.@{table-prefix-cls}-row-selected {
|
||||
background: #fafafa;
|
||||
}
|
||||
@ -173,6 +171,7 @@
|
||||
}
|
||||
|
||||
tr:last-child {
|
||||
th,
|
||||
td {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user