2018-11-08 14:34:43 +08:00
|
|
|
@table-padding-vertical-md: @table-padding-vertical * 3 / 4;
|
|
|
|
@table-padding-horizontal-md: @table-padding-horizontal / 2;
|
|
|
|
@table-padding-vertical-sm: @table-padding-vertical / 2;
|
|
|
|
@table-padding-horizontal-sm: @table-padding-horizontal / 2;
|
|
|
|
|
2017-12-10 16:20:02 +08:00
|
|
|
.@{table-prefix-cls}-middle {
|
2017-12-13 11:19:52 +08:00
|
|
|
> .@{table-prefix-cls}-title,
|
|
|
|
> .@{table-prefix-cls}-footer {
|
2018-11-08 14:34:43 +08:00
|
|
|
padding: @table-padding-vertical-md @table-padding-horizontal-md;
|
2017-12-13 11:19:52 +08:00
|
|
|
}
|
2017-12-10 16:20:02 +08:00
|
|
|
> .@{table-prefix-cls}-content {
|
|
|
|
> .@{table-prefix-cls}-header > table,
|
2017-12-13 11:19:52 +08:00
|
|
|
> .@{table-prefix-cls}-body > table,
|
|
|
|
> .@{table-prefix-cls}-scroll > .@{table-prefix-cls}-header > table,
|
2017-12-20 22:01:25 +08:00
|
|
|
> .@{table-prefix-cls}-scroll > .@{table-prefix-cls}-body > table,
|
|
|
|
> .@{table-prefix-cls}-fixed-left > .@{table-prefix-cls}-header > table,
|
|
|
|
> .@{table-prefix-cls}-fixed-right > .@{table-prefix-cls}-header > table,
|
2018-12-07 16:17:45 +08:00
|
|
|
> .@{table-prefix-cls}-fixed-left
|
|
|
|
> .@{table-prefix-cls}-body-outer
|
|
|
|
> .@{table-prefix-cls}-body-inner
|
|
|
|
> table,
|
|
|
|
> .@{table-prefix-cls}-fixed-right
|
|
|
|
> .@{table-prefix-cls}-body-outer
|
|
|
|
> .@{table-prefix-cls}-body-inner
|
|
|
|
> table {
|
2017-12-10 16:20:02 +08:00
|
|
|
> .@{table-prefix-cls}-thead > tr > th,
|
|
|
|
> .@{table-prefix-cls}-tbody > tr > td {
|
2018-11-08 14:34:43 +08:00
|
|
|
padding: @table-padding-vertical-md @table-padding-horizontal-md;
|
2017-12-10 16:20:02 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-11-08 14:21:39 +08:00
|
|
|
|
2018-11-08 20:52:38 +08:00
|
|
|
tr.@{table-prefix-cls}-expanded-row td > .@{table-prefix-cls}-wrapper {
|
2019-04-11 01:22:35 +08:00
|
|
|
margin: -@table-padding-vertical-md -@table-padding-horizontal / 2 -@table-padding-vertical-md -
|
|
|
|
1px;
|
2018-11-08 14:21:39 +08:00
|
|
|
}
|
2017-12-10 16:20:02 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.@{table-prefix-cls}-small {
|
|
|
|
border: @border-width-base @border-style-base @border-color-split;
|
2018-12-21 11:46:52 +08:00
|
|
|
border-radius: @table-border-radius-base;
|
2017-12-10 16:20:02 +08:00
|
|
|
|
2017-12-13 11:19:52 +08:00
|
|
|
> .@{table-prefix-cls}-title,
|
|
|
|
> .@{table-prefix-cls}-footer {
|
2018-11-08 14:34:43 +08:00
|
|
|
padding: @table-padding-vertical-sm @table-padding-horizontal-sm;
|
2017-12-13 11:19:52 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
> .@{table-prefix-cls}-title {
|
|
|
|
top: 0;
|
2019-02-15 10:48:07 +08:00
|
|
|
border-bottom: @border-width-base @border-style-base @border-color-split;
|
2017-12-13 11:19:52 +08:00
|
|
|
}
|
|
|
|
|
2017-12-10 16:20:02 +08:00
|
|
|
> .@{table-prefix-cls}-content {
|
2018-09-17 14:36:26 +08:00
|
|
|
> .@{table-prefix-cls}-body {
|
2018-11-08 14:34:43 +08:00
|
|
|
margin: 0 @table-padding-horizontal-sm;
|
2018-09-17 14:36:26 +08:00
|
|
|
}
|
|
|
|
|
2017-12-10 16:20:02 +08:00
|
|
|
> .@{table-prefix-cls}-header > table,
|
2017-12-13 11:19:52 +08:00
|
|
|
> .@{table-prefix-cls}-body > table,
|
|
|
|
> .@{table-prefix-cls}-scroll > .@{table-prefix-cls}-header > table,
|
2017-12-20 22:01:25 +08:00
|
|
|
> .@{table-prefix-cls}-scroll > .@{table-prefix-cls}-body > table,
|
|
|
|
> .@{table-prefix-cls}-fixed-left > .@{table-prefix-cls}-header > table,
|
|
|
|
> .@{table-prefix-cls}-fixed-right > .@{table-prefix-cls}-header > table,
|
2018-12-07 16:17:45 +08:00
|
|
|
> .@{table-prefix-cls}-fixed-left
|
|
|
|
> .@{table-prefix-cls}-body-outer
|
|
|
|
> .@{table-prefix-cls}-body-inner
|
|
|
|
> table,
|
|
|
|
> .@{table-prefix-cls}-fixed-right
|
|
|
|
> .@{table-prefix-cls}-body-outer
|
|
|
|
> .@{table-prefix-cls}-body-inner
|
|
|
|
> table {
|
2017-12-10 16:20:02 +08:00
|
|
|
border: 0;
|
|
|
|
> .@{table-prefix-cls}-thead > tr > th,
|
|
|
|
> .@{table-prefix-cls}-tbody > tr > td {
|
2018-11-08 14:34:43 +08:00
|
|
|
padding: @table-padding-vertical-sm @table-padding-horizontal-sm;
|
2019-07-29 14:11:41 +08:00
|
|
|
}
|
|
|
|
> .@{table-prefix-cls}-thead > tr > th {
|
2019-06-28 13:30:18 +08:00
|
|
|
background-color: transparent;
|
2017-12-10 16:20:02 +08:00
|
|
|
}
|
2019-04-24 10:37:29 +08:00
|
|
|
> .@{table-prefix-cls}-thead > tr {
|
2017-12-10 16:20:02 +08:00
|
|
|
border-bottom: @border-width-base @border-style-base @border-color-split;
|
|
|
|
}
|
2018-10-09 18:16:51 +08:00
|
|
|
> .@{table-prefix-cls}-thead > tr > th.@{table-prefix-cls}-column-sort {
|
2018-10-26 23:22:41 +08:00
|
|
|
background-color: @table-body-sort-bg;
|
2018-10-09 18:16:51 +08:00
|
|
|
}
|
2017-12-10 16:20:02 +08:00
|
|
|
}
|
|
|
|
|
2017-12-27 12:20:04 +08:00
|
|
|
> .@{table-prefix-cls}-scroll > .@{table-prefix-cls}-header > table,
|
|
|
|
> .@{table-prefix-cls}-scroll > .@{table-prefix-cls}-body > table,
|
|
|
|
> .@{table-prefix-cls}-fixed-left > .@{table-prefix-cls}-header > table,
|
|
|
|
> .@{table-prefix-cls}-fixed-right > .@{table-prefix-cls}-header > table,
|
2018-12-07 16:17:45 +08:00
|
|
|
> .@{table-prefix-cls}-fixed-left
|
|
|
|
> .@{table-prefix-cls}-body-outer
|
|
|
|
> .@{table-prefix-cls}-body-inner
|
|
|
|
> table,
|
|
|
|
> .@{table-prefix-cls}-fixed-right
|
|
|
|
> .@{table-prefix-cls}-body-outer
|
|
|
|
> .@{table-prefix-cls}-body-inner
|
|
|
|
> table {
|
2017-12-27 12:20:04 +08:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2017-12-10 16:20:02 +08:00
|
|
|
.@{table-prefix-cls}-header {
|
2018-10-26 23:22:41 +08:00
|
|
|
background-color: @component-background;
|
2019-10-20 19:10:02 +08:00
|
|
|
border-radius: @border-radius-base @border-radius-base 0 0;
|
2017-12-10 16:20:02 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.@{table-prefix-cls}-placeholder,
|
|
|
|
.@{table-prefix-cls}-row:last-child td {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.@{table-prefix-cls}-bordered {
|
|
|
|
border-right: 0;
|
|
|
|
|
|
|
|
.@{table-prefix-cls}-title {
|
|
|
|
border: 0;
|
|
|
|
border-right: @border-width-base @border-style-base @border-color-split;
|
2019-02-15 10:48:07 +08:00
|
|
|
border-bottom: @border-width-base @border-style-base @border-color-split;
|
2017-12-10 16:20:02 +08:00
|
|
|
}
|
|
|
|
|
2018-02-08 16:14:05 +08:00
|
|
|
.@{table-prefix-cls}-content {
|
|
|
|
border-right: @border-width-base @border-style-base @border-color-split;
|
|
|
|
}
|
|
|
|
|
2017-12-10 16:20:02 +08:00
|
|
|
.@{table-prefix-cls}-footer {
|
|
|
|
border: 0;
|
|
|
|
border-top: @border-width-base @border-style-base @border-color-split;
|
|
|
|
border-right: @border-width-base @border-style-base @border-color-split;
|
2019-02-15 10:48:07 +08:00
|
|
|
&::before {
|
2017-12-10 16:20:02 +08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.@{table-prefix-cls}-placeholder {
|
2018-10-24 23:30:03 +08:00
|
|
|
border-right: 0;
|
2019-02-15 10:48:07 +08:00
|
|
|
border-bottom: 0;
|
|
|
|
border-left: 0;
|
2017-12-10 16:20:02 +08:00
|
|
|
}
|
2018-02-08 16:14:05 +08:00
|
|
|
|
2019-09-16 14:01:29 +08:00
|
|
|
.@{table-prefix-cls}-thead > tr:only-child > th:last-child,
|
2018-02-08 16:14:05 +08:00
|
|
|
.@{table-prefix-cls}-tbody > tr > td:last-child {
|
|
|
|
border-right: none;
|
|
|
|
}
|
2018-06-15 17:40:32 +08:00
|
|
|
|
|
|
|
.@{table-prefix-cls}-fixed-left {
|
|
|
|
.@{table-prefix-cls}-thead > tr > th:last-child,
|
|
|
|
.@{table-prefix-cls}-tbody > tr > td:last-child {
|
|
|
|
border-right: @border-width-base @border-style-base @border-color-split;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.@{table-prefix-cls}-fixed-right {
|
|
|
|
border-right: @border-width-base @border-style-base @border-color-split;
|
2019-02-15 10:48:07 +08:00
|
|
|
border-left: @border-width-base @border-style-base @border-color-split;
|
2018-06-15 17:40:32 +08:00
|
|
|
}
|
2017-12-10 16:20:02 +08:00
|
|
|
}
|
2018-11-08 14:21:39 +08:00
|
|
|
|
2018-11-08 20:52:38 +08:00
|
|
|
tr.@{table-prefix-cls}-expanded-row td > .@{table-prefix-cls}-wrapper {
|
2019-04-11 01:22:35 +08:00
|
|
|
margin: -@table-padding-vertical-sm -@table-padding-horizontal / 2 -@table-padding-vertical-sm -
|
|
|
|
1px;
|
2018-11-08 14:21:39 +08:00
|
|
|
}
|
2017-12-10 16:20:02 +08:00
|
|
|
}
|