Created
March 9, 2014 00:11
-
-
Save abemedia/9441005 to your computer and use it in GitHub Desktop.
jQuery Datatables Boostrap 3 CSS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div.dataTables_length label { | |
font-weight: normal; | |
float: left; | |
text-align: left; | |
} | |
div.dataTables_length select { | |
width: 75px; | |
} | |
div.dataTables_filter label { | |
font-weight: normal; | |
float: right; | |
} | |
div.dataTables_filter input { | |
width: 16em; | |
} | |
div.dataTables_info { | |
padding-top: 8px; | |
} | |
div.dataTables_paginate { | |
float: right; | |
margin: 0; | |
} | |
div.dataTables_paginate ul.pagination { | |
margin: 2px 0; | |
white-space: nowrap; | |
} | |
table.dataTable, | |
table.dataTable td, | |
table.dataTable th { | |
-webkit-box-sizing: content-box; | |
-moz-box-sizing: content-box; | |
box-sizing: content-box; | |
} | |
table.dataTable { | |
clear: both; | |
margin-top: 6px !important; | |
margin-bottom: 6px !important; | |
max-width: none !important; | |
} | |
table.dataTable thead .sorting, | |
table.dataTable thead .sorting_asc, | |
table.dataTable thead .sorting_desc, | |
table.dataTable thead .sorting_asc_disabled, | |
table.dataTable thead .sorting_desc_disabled { | |
cursor: pointer; | |
position:relative; | |
padding-right: 24px; | |
} | |
table.dataTable thead .sorting::before, table.dataTable thead .sorting::after, | |
table.dataTable thead .sorting_asc::before, | |
table.dataTable thead .sorting_desc::before { | |
display: block; | |
width: 0; | |
height: 0; | |
border-right: 4px solid transparent; | |
border-left: 4px solid transparent; | |
position:absolute; | |
right: 8px; | |
content: ""; | |
} | |
table.dataTable thead .sorting::before { | |
top: 12px; | |
border-bottom: 7px solid #ddd; | |
} | |
table.dataTable thead .sorting::after { | |
bottom: 11px; | |
border-top: 7px solid #ddd; | |
} | |
table.dataTable thead .sorting_desc::before { | |
bottom: 11px; | |
border-top: 7px solid #428BCA; | |
} | |
table.dataTable thead .sorting_asc::before { | |
top: 12px; | |
border-bottom: 7px solid #428BCA; | |
} | |
table.dataTable th:active { | |
outline: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment