I Reeeaallly need some sleep - last commit was total bollocks.

This commit is contained in:
Nick Pack 2013-07-17 23:26:30 +01:00
parent 1519987805
commit a9ed96e539
4 changed files with 17 additions and 17 deletions

View File

@ -898,9 +898,9 @@ table {
max-width: 100%; max-width: 100%;
background: white; background: white;
border-collapse: collapse; border-collapse: collapse;
border-spacing: none; border-spacing: 0;
width: 100%; width: 100%;
margin: 10px 0px; } margin: 10px 0; }
table th, table th,
table td { table td {
padding: 8px; padding: 8px;
@ -931,7 +931,7 @@ table {
.table-bordered { .table-bordered {
border: 1px solid #cccccc; border: 1px solid #cccccc;
border-collapse: separate; border-collapse: separate;
border-left: none; border-left: 0;
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
-moz-border-radius: 3px; -moz-border-radius: 3px;
border-radius: 3px; } border-radius: 3px; }
@ -947,7 +947,7 @@ table {
.table-bordered thead:first-child tr:first-child th, .table-bordered thead:first-child tr:first-child th,
.table-bordered tbody:first-child tr:first-child th, .table-bordered tbody:first-child tr:first-child th,
.table-bordered tbody:first-child tr:first-child td { .table-bordered tbody:first-child tr:first-child td {
border-top: none; } border-top: 0; }
.table-bordered thead:first-child tr:first-child > th:first-child, .table-bordered thead:first-child tr:first-child > th:first-child,
.table-bordered tbody:first-child tr:first-child > td:first-child, .table-bordered tbody:first-child tr:first-child > td:first-child,
.table-bordered tbody:first-child tr:first-child > th:first-child { .table-bordered tbody:first-child tr:first-child > th:first-child {
@ -977,13 +977,13 @@ table {
-moz-border-radius-bottomright: 3px; -moz-border-radius-bottomright: 3px;
border-bottom-right-radius: 3px; } border-bottom-right-radius: 3px; }
.table-bordered tfoot tbody:last-child tr:last-child td:first-child { .table-bordered tfoot tbody:last-child tr:last-child td:first-child {
-webkit-border-bottom-left-radius: 0px; -webkit-border-bottom-left-radius: 0;
-moz-border-radius-bottomleft: 0px; -moz-border-radius-bottomleft: 0;
border-bottom-left-radius: 0px; } border-bottom-left-radius: 0; }
.table-bordered tfoot tbody:last-child tr:last-child td:last-child { .table-bordered tfoot tbody:last-child tr:last-child td:last-child {
-webkit-border-bottom-right-radius: 0px; -webkit-border-bottom-right-radius: 0;
-moz-border-radius-bottomright: 0px; -moz-border-radius-bottomright: 0;
border-bottom-right-radius: 0px; } border-bottom-right-radius: 0; }
.table-bordered caption thead tr:first-child th:first-child, .table-bordered caption thead tr:first-child th:first-child,
.table-bordered caption tbody tr:first-child td:first-child, .table-bordered caption tbody tr:first-child td:first-child,
.table-bordered colgroup thead tr:first-child th:first-child, .table-bordered colgroup thead tr:first-child th:first-child,

File diff suppressed because one or more lines are too long

View File

@ -8,7 +8,7 @@ table {
max-width: 100%; max-width: 100%;
background: $table_background; background: $table_background;
border-collapse: collapse; border-collapse: collapse;
border-spacing: none; border-spacing: 0;
width: 100%; width: 100%;
margin: $table_margin; margin: $table_margin;
th, th,
@ -55,7 +55,7 @@ table {
.table-bordered { .table-bordered {
border: 1px solid $table_border_colour; border: 1px solid $table_border_colour;
border-collapse: separate; border-collapse: separate;
border-left: none; border-left: 0;
@include border-radius($table_border_radius); @include border-radius($table_border_radius);
th, th,
td { td {
@ -71,7 +71,7 @@ table {
thead:first-child tr:first-child th, thead:first-child tr:first-child th,
tbody:first-child tr:first-child th, tbody:first-child tr:first-child th,
tbody:first-child tr:first-child td { tbody:first-child tr:first-child td {
border-top: none; border-top: 0;
} }
thead:first-child tr:first-child > th:first-child, thead:first-child tr:first-child > th:first-child,
@ -103,10 +103,10 @@ table {
} }
tfoot tbody:last-child tr:last-child td:first-child { tfoot tbody:last-child tr:last-child td:first-child {
@include border-bottom-left-radius(0px); @include border-bottom-left-radius(0);
} }
tfoot tbody:last-child tr:last-child td:last-child { tfoot tbody:last-child tr:last-child td:last-child {
@include border-bottom-right-radius(0px); @include border-bottom-right-radius(0);
} }
caption thead tr:first-child th:first-child, caption thead tr:first-child th:first-child,

View File

@ -139,7 +139,7 @@ $list_item_paragraph_line_height: 21px;
$fallback_hex_gradient_bg: #CCC; $fallback_hex_gradient_bg: #CCC;
$table_background: #FFF; $table_background: #FFF;
$table_margin: 10px 0px; $table_margin: 10px 0;
$table_td_th_padding: 8px; $table_td_th_padding: 8px;
$table_td_th_line_height: 21px; $table_td_th_line_height: 21px;
$table_border_colour: #CCC; $table_border_colour: #CCC;