src/ztfy/myams/resources/less/tables.less
changeset 118 c87d242a1176
parent 104 d25135ad3899
child 141 a4200ce41c25
equal deleted inserted replaced
117:23c0c267b970 118:c87d242a1176
    20 	&.ams-form thead tr th:first-child .radio {
    20 	&.ams-form thead tr th:first-child .radio {
    21 		padding: 0!important;
    21 		padding: 0!important;
    22 	}
    22 	}
    23 }
    23 }
    24 
    24 
       
    25 .table-dnd {
       
    26 	tbody {
       
    27 		tr {
       
    28 			&.dragging-row {
       
    29 				td {
       
    30 					background-color: @activeTabBg!important;
       
    31 				}
       
    32 			}
       
    33 			td:first-child {
       
    34 				padding-left: 20px!important;
       
    35 			}
       
    36 		}
       
    37 		td.drag-handle {
       
    38 			background: transparent url('../img/vert-drag-handle.png') scroll no-repeat left 50%;
       
    39 		}
       
    40 	}
       
    41 }
    25 .table-tight {
    42 .table-tight {
    26 	td,
    43 	td,
    27 	th {
    44 	th {
    28 		padding: 4px 8px!important;
    45 		padding: 4px 8px!important;
    29 		line-height: 1.3!important;
    46 		line-height: 1.3!important;
    70 	td {
    87 	td {
    71 		border-bottom: 1px solid #ddd;
    88 		border-bottom: 1px solid #ddd;
    72 	}
    89 	}
    73 }
    90 }
    74 
    91 
       
    92 .table-hover {
       
    93 	>tbody >tr:hover >td,
       
    94 	>tbody >tr:hover >th {
       
    95 		background-color: #eee;
       
    96 	}
       
    97 }
       
    98 
    75 th.checker,
    99 th.checker,
    76 td.checker {
   100 td.checker {
    77 	width: 30px;
   101 	width: 30px;
       
   102 }
       
   103 
       
   104 th.actions-menu {
       
   105 	width: 70px;
       
   106 }
       
   107 
       
   108 th.action,
       
   109 td.action {
       
   110 	width: 26px;
    78 }
   111 }
    79 
   112 
    80 .dt-row {
   113 .dt-row {
    81 	padding: 4px 10px;
   114 	padding: 4px 10px;
    82 }
   115 }
    96 	-webkit-box-shadow: inset 0 1px #fff;
   129 	-webkit-box-shadow: inset 0 1px #fff;
    97 	-ms-box-shadow: inset 0 1px #fff;
   130 	-ms-box-shadow: inset 0 1px #fff;
    98 	box-shadow: inset 0 1px #fff;
   131 	box-shadow: inset 0 1px #fff;
    99 }
   132 }
   100 
   133 
       
   134 .modal-dialog .ams-form .dt-bottom-row {
       
   135 	padding: 5px 10px!important;
       
   136 
       
   137 	.row {
       
   138 		margin: 0;
       
   139 	}
       
   140 }
       
   141 
   101 .dataTables_length {
   142 .dataTables_length {
   102 	position: absolute;
   143 	position: absolute;
   103 	right: 13px;
   144 	right: 13px;
   104 	top: -35px;
   145 	top: -35px;
   105 
   146 
   143 		}
   184 		}
   144 	}
   185 	}
   145 }
   186 }
   146 
   187 
   147 .dt-wrapper {
   188 .dt-wrapper {
   148 	overflow: hidden;
   189 //	overflow: hidden;
   149 }
   190 }
   150 
   191 
   151 .dataTables_wrapper {
   192 .dataTables_wrapper {
   152 	position: relative;
   193 	position: relative;
   153 
   194