dataTables.bootstrap.css (4823B)
1 table.dataTable { 2 clear: both; 3 margin-top: 6px !important; 4 margin-bottom: 6px !important; 5 max-width: none !important; 6 border-collapse: separate !important; 7 } 8 table.dataTable td, 9 table.dataTable th { 10 -webkit-box-sizing: content-box; 11 box-sizing: content-box; 12 } 13 table.dataTable td.dataTables_empty, 14 table.dataTable th.dataTables_empty { 15 text-align: center; 16 } 17 table.dataTable.nowrap th, 18 table.dataTable.nowrap td { 19 white-space: nowrap; 20 } 21 22 div.dataTables_wrapper div.dataTables_length label { 23 font-weight: normal; 24 text-align: left; 25 white-space: nowrap; 26 } 27 div.dataTables_wrapper div.dataTables_length select { 28 width: 75px; 29 display: inline-block; 30 } 31 div.dataTables_wrapper div.dataTables_filter { 32 text-align: right; 33 } 34 div.dataTables_wrapper div.dataTables_filter label { 35 font-weight: normal; 36 white-space: nowrap; 37 text-align: left; 38 } 39 div.dataTables_wrapper div.dataTables_filter input { 40 margin-left: 0.5em; 41 display: inline-block; 42 width: auto; 43 } 44 div.dataTables_wrapper div.dataTables_info { 45 padding-top: 8px; 46 white-space: nowrap; 47 } 48 div.dataTables_wrapper div.dataTables_paginate { 49 margin: 0; 50 white-space: nowrap; 51 text-align: right; 52 } 53 div.dataTables_wrapper div.dataTables_paginate ul.pagination { 54 margin: 2px 0; 55 white-space: nowrap; 56 } 57 div.dataTables_wrapper div.dataTables_processing { 58 position: absolute; 59 top: 50%; 60 left: 50%; 61 width: 200px; 62 margin-left: -100px; 63 margin-top: -26px; 64 text-align: center; 65 padding: 1em 0; 66 } 67 68 table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting, 69 table.dataTable thead > tr > td.sorting_asc, 70 table.dataTable thead > tr > td.sorting_desc, 71 table.dataTable thead > tr > td.sorting { 72 padding-right: 30px; 73 } 74 table.dataTable thead > tr > th:active, 75 table.dataTable thead > tr > td:active { 76 outline: none; 77 } 78 table.dataTable thead .sorting, 79 table.dataTable thead .sorting_asc, 80 table.dataTable thead .sorting_desc, 81 table.dataTable thead .sorting_asc_disabled, 82 table.dataTable thead .sorting_desc_disabled { 83 cursor: pointer; 84 position: relative; 85 } 86 table.dataTable thead .sorting:after, 87 table.dataTable thead .sorting_asc:after, 88 table.dataTable thead .sorting_desc:after, 89 table.dataTable thead .sorting_asc_disabled:after, 90 table.dataTable thead .sorting_desc_disabled:after { 91 position: absolute; 92 bottom: 8px; 93 right: 8px; 94 display: block; 95 font-family: 'Glyphicons Halflings'; 96 opacity: 0.5; 97 } 98 table.dataTable thead .sorting:after { 99 opacity: 0.2; 100 content: "\e150"; 101 /* sort */ 102 } 103 table.dataTable thead .sorting_asc:after { 104 content: "\e155"; 105 /* sort-by-attributes */ 106 } 107 table.dataTable thead .sorting_desc:after { 108 content: "\e156"; 109 /* sort-by-attributes-alt */ 110 } 111 table.dataTable thead .sorting_asc_disabled:after, 112 table.dataTable thead .sorting_desc_disabled:after { 113 color: #eee; 114 } 115 116 div.dataTables_scrollHead table.dataTable { 117 margin-bottom: 0 !important; 118 } 119 120 div.dataTables_scrollBody > table { 121 border-top: none; 122 margin-top: 0 !important; 123 margin-bottom: 0 !important; 124 } 125 div.dataTables_scrollBody > table > thead .sorting:after, 126 div.dataTables_scrollBody > table > thead .sorting_asc:after, 127 div.dataTables_scrollBody > table > thead .sorting_desc:after { 128 display: none; 129 } 130 div.dataTables_scrollBody > table > tbody > tr:first-child > th, 131 div.dataTables_scrollBody > table > tbody > tr:first-child > td { 132 border-top: none; 133 } 134 135 div.dataTables_scrollFoot > table { 136 margin-top: 0 !important; 137 border-top: none; 138 } 139 140 @media screen and (max-width: 767px) { 141 div.dataTables_wrapper div.dataTables_length, 142 div.dataTables_wrapper div.dataTables_filter, 143 div.dataTables_wrapper div.dataTables_info, 144 div.dataTables_wrapper div.dataTables_paginate { 145 text-align: center; 146 } 147 } 148 table.dataTable.table-condensed > thead > tr > th { 149 padding-right: 20px; 150 } 151 table.dataTable.table-condensed .sorting:after, 152 table.dataTable.table-condensed .sorting_asc:after, 153 table.dataTable.table-condensed .sorting_desc:after { 154 top: 6px; 155 right: 6px; 156 } 157 158 table.table-bordered.dataTable th, 159 table.table-bordered.dataTable td { 160 border-left-width: 0; 161 } 162 table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child, 163 table.table-bordered.dataTable td:last-child, 164 table.table-bordered.dataTable td:last-child { 165 border-right-width: 0; 166 } 167 table.table-bordered.dataTable tbody th, 168 table.table-bordered.dataTable tbody td { 169 border-bottom-width: 0; 170 } 171 172 div.dataTables_scrollHead table.table-bordered { 173 border-bottom-width: 0; 174 } 175 176 div.table-responsive > div.dataTables_wrapper > div.row { 177 margin: 0; 178 } 179 div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child { 180 padding-left: 0; 181 } 182 div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child { 183 padding-right: 0; 184 }