src/pyams_skin/resources/less/tables.less
changeset 118 391ad752903e
parent 69 a361355b55c7
child 122 ccb749bdafa8
--- a/src/pyams_skin/resources/less/tables.less	Mon Jan 18 18:41:23 2016 +0100
+++ b/src/pyams_skin/resources/less/tables.less	Mon Jan 18 18:45:59 2016 +0100
@@ -27,23 +27,39 @@
 		tr {
 			&.dragging-row {
 				td {
-					background-color: @activeTabBg!important;
+					background-color: @activeTabBg !important;
 				}
 			}
-			td:first-child {
+
+			&:not(.no-drag-handle) td:first-child {
 				padding-left: 20px!important;
 			}
 		}
+		td.sorter,
+		td.sorter a {
+			cursor: move!important;
+		}
 		td.drag-handle {
 			background: transparent url('../img/vert-drag-handle.png') scroll no-repeat left 50%;
 		}
 	}
 }
+table:not(.table-dnd) {
+	td.sorter {
+		a {
+			display: none;
+		}
+	}
+}
 .table-tight {
 	td,
 	th {
 		padding: 4px 8px!important;
 		line-height: 1.3!important;
+
+		input[type="text"] {
+			height: 20px;
+		}
 	}
 }
 .table-small {
@@ -51,6 +67,10 @@
 	th {
 		padding: 2px 8px!important;
 		line-height: 1.2!important;
+
+		input[type="text"] {
+			height: 18px;
+		}
 	}
 }
 .table-mini {
@@ -58,6 +78,10 @@
 	th {
 		padding: 1px 8px!important;
 		line-height: 1.1!important;
+
+		input[type="text"] {
+			height: 16px;
+		}
 	}
 }
 
@@ -225,11 +249,11 @@
 			}
 
 			.sorting_asc {
-				background: url(../img/datatable/sort_asc.png) no-repeat center right;
+				background: rgb(224, 248, 255) url(../img/datatable/sort_asc.png) no-repeat center right;
 			}
 
 			.sorting_desc {
-				background: url(../img/datatable/sort_desc.png) no-repeat center right;
+				background: rgb(212, 240, 255) url(../img/datatable/sort_desc.png) no-repeat center right;
 			}
 
 			.sorting_asc_disabled {