src/pyams_skin/resources/less/tables.less
changeset 127 b097dcbfb6c9
parent 122 ccb749bdafa8
child 201 147100af7a41
--- a/src/pyams_skin/resources/less/tables.less	Thu Apr 21 17:21:09 2016 +0200
+++ b/src/pyams_skin/resources/less/tables.less	Thu Apr 21 17:23:43 2016 +0200
@@ -365,6 +365,29 @@
 	}
 }
 
+.no-padding {
+	.dataTables_wrapper table,
+	>table {
+		border: 0!important;
+		margin-bottom: 0!important;
+
+		&.border-top {
+			border-top: 1px solid #ddd!important;
+		}
+		tr td:first-child,
+		tr th:first-child {
+			border-left: 0!important;
+		}
+		tr td:last-child,
+		tr th:last-child {
+			border-right: 0!important;
+		}
+		tr:last-child td {
+			border-bottom: 0;
+		}
+	}
+}
+
 .dataTables_scrollBody {
 	-webkit-overflow-scrolling: touch;
 }