mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 11:32:52 +08:00
parent
411181e6ec
commit
381b88e9b0
@ -11,7 +11,6 @@
|
|||||||
.@{table-prefix-cls} {
|
.@{table-prefix-cls} {
|
||||||
.reset-component;
|
.reset-component;
|
||||||
position: relative;
|
position: relative;
|
||||||
border-radius: @border-radius-base @border-radius-base 0 0;
|
|
||||||
clear: both;
|
clear: both;
|
||||||
|
|
||||||
&-body {
|
&-body {
|
||||||
@ -34,14 +33,6 @@
|
|||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
border-bottom: @border-width-base @border-style-base @border-color-split;
|
border-bottom: @border-width-base @border-style-base @border-color-split;
|
||||||
|
|
||||||
&:first-child {
|
|
||||||
border-top-left-radius: @border-radius-base;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:last-child {
|
|
||||||
border-top-right-radius: @border-radius-base;
|
|
||||||
}
|
|
||||||
|
|
||||||
&[colspan] {
|
&[colspan] {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
@ -78,6 +69,16 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&-thead > tr:first-child > th {
|
||||||
|
&:first-child {
|
||||||
|
border-top-left-radius: @border-radius-base;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
border-top-right-radius: @border-radius-base;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&-tbody > tr > td {
|
&-tbody > tr > td {
|
||||||
border-bottom: @border-width-base @border-style-base @border-color-split;
|
border-bottom: @border-width-base @border-style-base @border-color-split;
|
||||||
transition: all .3s;
|
transition: all .3s;
|
||||||
@ -138,7 +139,8 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
.@{table-prefix-cls}-bordered & {
|
.@{table-prefix-cls}-bordered & {
|
||||||
&,
|
&,
|
||||||
table {
|
table,
|
||||||
|
.@{table-prefix-cls}-thead > tr:first-child > th {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user