Consistent use of whitespace

pull/178/head
Greg Roach 10 years ago
parent 916e6164e2
commit 126947c96c

@ -78,7 +78,6 @@ div.dataTables_paginate ul.pagination {
} }
} }
table.dataTable td, table.dataTable td,
table.dataTable th { table.dataTable th {
-webkit-box-sizing: content-box; -webkit-box-sizing: content-box;
@ -86,7 +85,6 @@ table.dataTable th {
box-sizing: content-box; box-sizing: content-box;
} }
table.dataTable { table.dataTable {
clear: both; clear: both;
margin-top: 6px !important; margin-top: 6px !important;
@ -125,12 +123,15 @@ table.dataTable thead .sorting:after {
opacity: 0.2; opacity: 0.2;
content: "\e150"; /* sort */ content: "\e150"; /* sort */
} }
table.dataTable thead .sorting_asc:after { table.dataTable thead .sorting_asc:after {
content: "\e155"; /* sort-by-attributes */ content: "\e155"; /* sort-by-attributes */
} }
table.dataTable thead .sorting_desc:after { table.dataTable thead .sorting_desc:after {
content: "\e156"; /* sort-by-attributes-alt */ content: "\e156"; /* sort-by-attributes-alt */
} }
div.dataTables_scrollBody table.dataTable thead .sorting:after, div.dataTables_scrollBody table.dataTable thead .sorting:after,
div.dataTables_scrollBody table.dataTable thead .sorting_asc:after, div.dataTables_scrollBody table.dataTable thead .sorting_asc:after,
div.dataTables_scrollBody table.dataTable thead .sorting_desc:after { div.dataTables_scrollBody table.dataTable thead .sorting_desc:after {
@ -155,7 +156,6 @@ table.dataTable th:active {
outline: none; outline: none;
} }
/* Condensed */ /* Condensed */
table.dataTable.table-condensed thead > tr > th { table.dataTable.table-condensed thead > tr > th {
padding-right: 20px; padding-right: 20px;
@ -216,11 +216,13 @@ div.dataTables_scrollFoot table {
table.table-bordered.dataTable { table.table-bordered.dataTable {
border-collapse: separate !important; border-collapse: separate !important;
} }
table.table-bordered thead th, table.table-bordered thead th,
table.table-bordered thead td { table.table-bordered thead td {
border-left-width: 0; border-left-width: 0;
border-top-width: 0; border-top-width: 0;
} }
table.table-bordered tbody th, table.table-bordered tbody th,
table.table-bordered tbody td { table.table-bordered tbody td {
border-left-width: 0; border-left-width: 0;
@ -228,28 +230,29 @@ table.table-bordered tbody td {
} }
table.table-bordered tfoot th, table.table-bordered tfoot th,
table.table-bordered tfoot td { table.table-bordered tfoot td {
border-left-width: 0; border-left-width: 0;
border-bottom-width: 0; border-bottom-width: 0;
} }
table.table-bordered th:last-child, table.table-bordered th:last-child,
table.table-bordered td:last-child { table.table-bordered td:last-child {
border-right-width: 0; border-right-width: 0;
} }
[dir=rtl] table.table-bordered th:last-child, [dir=rtl] table.table-bordered th:last-child,
[dir=rtl] table.table-bordered td:last-child { [dir=rtl] table.table-bordered td:last-child {
border-right-width: 1px; border-right-width: 1px;
} }
[dir=rtl] table.table-bordered th:first-child, [dir=rtl] table.table-bordered th:first-child,
[dir=rtl] table.table-bordered td:first-child { [dir=rtl] table.table-bordered td:first-child {
border-right-width: 0; border-right-width: 0;
} }
div.dataTables_scrollHead table.table-bordered { div.dataTables_scrollHead table.table-bordered {
border-bottom-width: 0; border-bottom-width: 0;
} }
/* /*
* TableTools styles * TableTools styles
*/ */
@ -283,7 +286,7 @@ div.DTTT .btn:hover {
} }
ul.DTTT_dropdown.dropdown-menu { ul.DTTT_dropdown.dropdown-menu {
z-index: 2003; z-index: 2003;
} }
ul.DTTT_dropdown.dropdown-menu a { ul.DTTT_dropdown.dropdown-menu a {
@ -300,7 +303,7 @@ ul.DTTT_dropdown.dropdown-menu li:hover a {
} }
div.DTTT_collection_background { div.DTTT_collection_background {
z-index: 2002; z-index: 2002;
} }
/* TableTools information display */ /* TableTools information display */
@ -320,7 +323,7 @@ div.DTTT_print_info {
background-color: white; background-color: white;
border: 1px solid rgba(0, 0, 0, 0.2); border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 6px; border-radius: 6px;
-webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5); box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
} }
@ -345,28 +348,26 @@ div.DTTT_print_info p {
} }
div.dataTables_processing { div.dataTables_processing {
position: absolute; position: absolute;
top: 50%; top: 50%;
left: 50%; left: 50%;
width: 100%; width: 100%;
height: 60px; height: 60px;
margin-left: -50%; margin-left: -50%;
margin-top: -25px; margin-top: -25px;
padding-top: 20px; padding-top: 20px;
padding-bottom: 20px; padding-bottom: 20px;
text-align: center; text-align: center;
font-size: 1.2em; font-size: 1.2em;
background-color: white; background-color: white;
background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255,255,255,0)), color-stop(25%, rgba(255,255,255,0.9)), color-stop(75%, rgba(255,255,255,0.9)), color-stop(100%, rgba(255,255,255,0))); background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255,255,255,0)), color-stop(25%, rgba(255,255,255,0.9)), color-stop(75%, rgba(255,255,255,0.9)), color-stop(100%, rgba(255,255,255,0)));
background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%); background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%); background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%); background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
background: -o-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%); background: -o-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%); background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
} }
/* /*
* FixedColumns styles * FixedColumns styles
*/ */
@ -375,53 +376,52 @@ div.DTFC_LeftFootWrapper table,
div.DTFC_RightHeadWrapper table, div.DTFC_RightHeadWrapper table,
div.DTFC_RightFootWrapper table, div.DTFC_RightFootWrapper table,
table.DTFC_Cloned tr.even { table.DTFC_Cloned tr.even {
background-color: white; background-color: white;
margin-bottom: 0; margin-bottom: 0;
} }
div.DTFC_RightHeadWrapper table , div.DTFC_RightHeadWrapper table ,
div.DTFC_LeftHeadWrapper table { div.DTFC_LeftHeadWrapper table {
border-bottom: none !important; border-bottom: none !important;
margin-bottom: 0 !important; margin-bottom: 0 !important;
border-top-right-radius: 0 !important; border-top-right-radius: 0 !important;
border-bottom-left-radius: 0 !important; border-bottom-left-radius: 0 !important;
border-bottom-right-radius: 0 !important; border-bottom-right-radius: 0 !important;
} }
[dir=rtl] div.DTFC_RightHeadWrapper table , [dir=rtl] div.DTFC_RightHeadWrapper table ,
[dir=rtl] div.DTFC_LeftHeadWrapper table { [dir=rtl] div.DTFC_LeftHeadWrapper table {
border-top-right-radius: inherit !important; border-top-right-radius: inherit !important;
border-top-left-radius: 0 !important; border-top-left-radius: 0 !important;
} }
div.DTFC_RightHeadWrapper table thead tr:last-child th:first-child, div.DTFC_RightHeadWrapper table thead tr:last-child th:first-child,
div.DTFC_RightHeadWrapper table thead tr:last-child td:first-child, div.DTFC_RightHeadWrapper table thead tr:last-child td:first-child,
div.DTFC_LeftHeadWrapper table thead tr:last-child th:first-child, div.DTFC_LeftHeadWrapper table thead tr:last-child th:first-child,
div.DTFC_LeftHeadWrapper table thead tr:last-child td:first-child { div.DTFC_LeftHeadWrapper table thead tr:last-child td:first-child {
border-bottom-left-radius: 0 !important; border-bottom-left-radius: 0 !important;
border-bottom-right-radius: 0 !important; border-bottom-right-radius: 0 !important;
} }
div.DTFC_RightBodyWrapper table, div.DTFC_RightBodyWrapper table,
div.DTFC_LeftBodyWrapper table { div.DTFC_LeftBodyWrapper table {
border-top: none; border-top: none;
margin: 0 !important; margin: 0 !important;
} }
div.DTFC_RightBodyWrapper tbody tr:first-child th, div.DTFC_RightBodyWrapper tbody tr:first-child th,
div.DTFC_RightBodyWrapper tbody tr:first-child td, div.DTFC_RightBodyWrapper tbody tr:first-child td,
div.DTFC_LeftBodyWrapper tbody tr:first-child th, div.DTFC_LeftBodyWrapper tbody tr:first-child th,
div.DTFC_LeftBodyWrapper tbody tr:first-child td { div.DTFC_LeftBodyWrapper tbody tr:first-child td {
border-top: none; border-top: none;
} }
div.DTFC_RightFootWrapper table, div.DTFC_RightFootWrapper table,
div.DTFC_LeftFootWrapper table { div.DTFC_LeftFootWrapper table {
border-top: none; border-top: none;
margin-top: 0 !important; margin-top: 0 !important;
} }
div.DTFC_LeftBodyWrapper table.dataTable thead .sorting:after, div.DTFC_LeftBodyWrapper table.dataTable thead .sorting:after,
div.DTFC_LeftBodyWrapper table.dataTable thead .sorting_asc:after, div.DTFC_LeftBodyWrapper table.dataTable thead .sorting_asc:after,
div.DTFC_LeftBodyWrapper table.dataTable thead .sorting_desc:after, div.DTFC_LeftBodyWrapper table.dataTable thead .sorting_desc:after,
@ -431,11 +431,9 @@ div.DTFC_RightBodyWrapper table.dataTable thead .sorting_desc:after {
display: none; display: none;
} }
/* /*
* FixedHeader styles * FixedHeader styles
*/ */
div.FixedHeader_Cloned table { div.FixedHeader_Cloned table {
margin: 0 !important margin: 0 !important
} }

Loading…
Cancel
Save