src/pyams_skin/resources/less/tables.less
changeset 118 391ad752903e
parent 69 a361355b55c7
child 122 ccb749bdafa8
equal deleted inserted replaced
117:00bfb7b29d9e 118:391ad752903e
    25 .table-dnd {
    25 .table-dnd {
    26 	tbody {
    26 	tbody {
    27 		tr {
    27 		tr {
    28 			&.dragging-row {
    28 			&.dragging-row {
    29 				td {
    29 				td {
    30 					background-color: @activeTabBg!important;
    30 					background-color: @activeTabBg !important;
    31 				}
    31 				}
    32 			}
    32 			}
    33 			td:first-child {
    33 
       
    34 			&:not(.no-drag-handle) td:first-child {
    34 				padding-left: 20px!important;
    35 				padding-left: 20px!important;
    35 			}
    36 			}
       
    37 		}
       
    38 		td.sorter,
       
    39 		td.sorter a {
       
    40 			cursor: move!important;
    36 		}
    41 		}
    37 		td.drag-handle {
    42 		td.drag-handle {
    38 			background: transparent url('../img/vert-drag-handle.png') scroll no-repeat left 50%;
    43 			background: transparent url('../img/vert-drag-handle.png') scroll no-repeat left 50%;
       
    44 		}
       
    45 	}
       
    46 }
       
    47 table:not(.table-dnd) {
       
    48 	td.sorter {
       
    49 		a {
       
    50 			display: none;
    39 		}
    51 		}
    40 	}
    52 	}
    41 }
    53 }
    42 .table-tight {
    54 .table-tight {
    43 	td,
    55 	td,
    44 	th {
    56 	th {
    45 		padding: 4px 8px!important;
    57 		padding: 4px 8px!important;
    46 		line-height: 1.3!important;
    58 		line-height: 1.3!important;
       
    59 
       
    60 		input[type="text"] {
       
    61 			height: 20px;
       
    62 		}
    47 	}
    63 	}
    48 }
    64 }
    49 .table-small {
    65 .table-small {
    50 	td,
    66 	td,
    51 	th {
    67 	th {
    52 		padding: 2px 8px!important;
    68 		padding: 2px 8px!important;
    53 		line-height: 1.2!important;
    69 		line-height: 1.2!important;
       
    70 
       
    71 		input[type="text"] {
       
    72 			height: 18px;
       
    73 		}
    54 	}
    74 	}
    55 }
    75 }
    56 .table-mini {
    76 .table-mini {
    57 	td,
    77 	td,
    58 	th {
    78 	th {
    59 		padding: 1px 8px!important;
    79 		padding: 1px 8px!important;
    60 		line-height: 1.1!important;
    80 		line-height: 1.1!important;
       
    81 
       
    82 		input[type="text"] {
       
    83 			height: 16px;
       
    84 		}
    61 	}
    85 	}
    62 }
    86 }
    63 
    87 
    64 .table-bordered {
    88 .table-bordered {
    65 	>thead >tr >td,
    89 	>thead >tr >td,
   223 			.sorting {
   247 			.sorting {
   224 				background: url(../img/datatable/sort_both.png) no-repeat center right;
   248 				background: url(../img/datatable/sort_both.png) no-repeat center right;
   225 			}
   249 			}
   226 
   250 
   227 			.sorting_asc {
   251 			.sorting_asc {
   228 				background: url(../img/datatable/sort_asc.png) no-repeat center right;
   252 				background: rgb(224, 248, 255) url(../img/datatable/sort_asc.png) no-repeat center right;
   229 			}
   253 			}
   230 
   254 
   231 			.sorting_desc {
   255 			.sorting_desc {
   232 				background: url(../img/datatable/sort_desc.png) no-repeat center right;
   256 				background: rgb(212, 240, 255) url(../img/datatable/sort_desc.png) no-repeat center right;
   233 			}
   257 			}
   234 
   258 
   235 			.sorting_asc_disabled {
   259 			.sorting_asc_disabled {
   236 				background: url(../img/datatable/sort_asc_disabled.png) no-repeat center right;
   260 				background: url(../img/datatable/sort_asc_disabled.png) no-repeat center right;
   237 			}
   261 			}