|
@@ -130,3 +130,33 @@ table.dataTable.complex-headers thead th, table.dataTable.complex-headers thead
|
|
|
.dataTable.table-bordered:not(.complex-headers) thead tr th:first-child {
|
|
|
border-left: 1px solid darken($border-color, 3%);
|
|
|
}
|
|
|
+
|
|
|
+/* ------------------- 多表头 --------------------- */
|
|
|
+table.table-bordered.dataTable.complex-headers {
|
|
|
+ border-spacing: 0;
|
|
|
+
|
|
|
+ tbody tr {
|
|
|
+ box-shadow: none;
|
|
|
+ border-radius: 0;
|
|
|
+
|
|
|
+ td {
|
|
|
+ border-bottom: 1px solid #f1f1f1;
|
|
|
+ border-right: 1px solid #f1f1f1;
|
|
|
+ }
|
|
|
+
|
|
|
+ td:first-child {
|
|
|
+ border-top-left-radius: 0;
|
|
|
+ border-bottom-left-radius: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ td:last-child {
|
|
|
+ border-top-right-radius: 0;
|
|
|
+ border-bottom-right-radius: 0;
|
|
|
+ border-right: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ tbody tr:last-child td {
|
|
|
+ border-bottom: 0;
|
|
|
+ }
|
|
|
+}
|