Fix table title/footer/size style, close #8577

This commit is contained in:
afc163 2017-12-13 11:19:52 +08:00
parent cd5761ffe6
commit 0eac8aa1c6

View File

@ -1,27 +1,40 @@
.@{table-prefix-cls}-middle {
> .@{table-prefix-cls}-title,
> .@{table-prefix-cls}-footer {
padding: 12px 8px;
}
> .@{table-prefix-cls}-content {
> .@{table-prefix-cls}-header > table,
> .@{table-prefix-cls}-body > table {
> .@{table-prefix-cls}-body > table,
> .@{table-prefix-cls}-scroll > .@{table-prefix-cls}-header > table,
> .@{table-prefix-cls}-scroll > .@{table-prefix-cls}-body > table {
> .@{table-prefix-cls}-thead > tr > th,
> .@{table-prefix-cls}-tbody > tr > td {
padding: 12px 8px;
}
}
}
.@{table-prefix-cls}-title,
.@{table-prefix-cls}-footer {
padding: 12px 8px;
}
}
.@{table-prefix-cls}-small {
border: @border-width-base @border-style-base @border-color-split;
border-radius: @border-radius-base;
> .@{table-prefix-cls}-title,
> .@{table-prefix-cls}-footer {
padding: 8px;
}
> .@{table-prefix-cls}-title {
border-bottom: @border-width-base @border-style-base @border-color-split;
top: 0;
}
> .@{table-prefix-cls}-content {
> .@{table-prefix-cls}-header > table,
> .@{table-prefix-cls}-body > table {
> .@{table-prefix-cls}-body > table,
> .@{table-prefix-cls}-scroll > .@{table-prefix-cls}-header > table,
> .@{table-prefix-cls}-scroll > .@{table-prefix-cls}-body > table {
border: 0;
padding: 0 8px;
> .@{table-prefix-cls}-thead > tr > th,
@ -34,16 +47,6 @@
}
}
.@{table-prefix-cls}-title,
.@{table-prefix-cls}-footer {
padding: 8px;
}
.@{table-prefix-cls}-title {
border-bottom: @border-width-base @border-style-base @border-color-split;
top: 0;
}
.@{table-prefix-cls}-header {
background: @component-background;
}