src/ztfy/myams/resources/less/tables.less
changeset 156 61176c64158d
parent 141 a4200ce41c25
child 168 42c0629971ff
--- a/src/ztfy/myams/resources/less/tables.less	Fri Jan 29 15:36:00 2016 +0100
+++ b/src/ztfy/myams/resources/less/tables.less	Fri Jan 29 15:37:22 2016 +0100
@@ -27,23 +27,52 @@
 		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;
+			padding: 3px 8px;
+		}
+	}
+}
+.table-small {
+	td,
+	th {
+		padding: 2px 8px!important;
+		line-height: 1.2!important;
+
+		input[type="text"] {
+			height: 18px;
+			padding: 2px 8px;
+		}
 	}
 }
 .table-mini {
@@ -51,6 +80,11 @@
 	th {
 		padding: 1px 8px!important;
 		line-height: 1.1!important;
+
+		input[type="text"] {
+			height: 16px;
+			padding: 1px 8px;
+		}
 	}
 }
 
@@ -124,7 +158,7 @@
 	background: #fafafa;
 	font-size: 11px;
 	overflow: hidden;
-	padding: 5px 10px!important;
+	padding: 5px 10px;
 	border-top: 1px solid #ccc;
 	-webkit-box-shadow: inset 0 1px #fff;
 	-ms-box-shadow: inset 0 1px #fff;
@@ -222,11 +256,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 {