src/pyams_skin/resources/less/tables.less
changeset 260 a013bb277b99
parent 246 4df479f75e07
child 307 30d4c6636163
equal deleted inserted replaced
259:03a077f9b08d 260:a013bb277b99
     1 /*
     1 /*
     2  * Tables and datatables
     2  * Tables and datatables
     3  */
     3  */
       
     4 
       
     5 @import "colors.less";
     4 
     6 
     5 .table-full {
     7 .table-full {
     6 	width: 100%;
     8 	width: 100%;
     7 }
     9 }
     8 
    10 
   127 
   129 
   128 .table-hover {
   130 .table-hover {
   129 	>tbody >tr:hover >td,
   131 	>tbody >tr:hover >td,
   130 	>tbody >tr:hover >th {
   132 	>tbody >tr:hover >th {
   131 		background-color: #eee;
   133 		background-color: #eee;
   132 	}
       
   133 }
       
   134 
       
   135 th,
       
   136 td {
       
   137 	&.col-xs-hide {
       
   138 		@media (max-width: 768px) {
       
   139 			display: none!important;
       
   140 		}
       
   141 	}
       
   142 	&.col-sm-hide {
       
   143 		@media (min-width: 768px) and (max-width: 992px) {
       
   144 			display: none!important;
       
   145 		}
       
   146 	}
       
   147 	&.col-md-hide {
       
   148 		@media (min-width: 992px) and (max-width: 1200px) {
       
   149 			display: none!important;
       
   150 		}
       
   151 	}
       
   152 	&.col-lg-hide {
       
   153 		@media (min-width: 1200px) {
       
   154 			display: none!important;
       
   155 		}
       
   156 	}
   134 	}
   157 }
   135 }
   158 
   136 
   159 th {
   137 th {
   160 	>.btn-group:first-child {
   138 	>.btn-group:first-child {
   279 			.sorting_asc,
   257 			.sorting_asc,
   280 			.sorting_asc_disabled,
   258 			.sorting_asc_disabled,
   281 			.sorting_desc,
   259 			.sorting_desc,
   282 			.sorting_desc_disabled {
   260 			.sorting_desc_disabled {
   283 				cursor: pointer;
   261 				cursor: pointer;
   284 				padding-right: 20px;
   262 				padding-right: 18px!important;
   285 			}
   263 			}
   286 
   264 
   287 			.sorting {
   265 			.sorting {
   288 				background: url(../img/datatable/sort_both.png) no-repeat center right;
   266 				background: url(../img/datatable/sort_both.png) no-repeat center right;
   289 			}
   267 			}