2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

fixes #4102: properly round top left corners of .table-border with caption/colgroup; also fix css tests page layout and footer

This commit is contained in:
Mark Otto
2012-07-19 21:06:42 -07:00
parent 6c23fff4d6
commit 89d7ec5290
3 changed files with 51 additions and 11 deletions
+20
View File
@@ -125,9 +125,29 @@ table {
border-bottom-right-radius: 4px;
-moz-border-radius-bottomright: 4px;
}
// Special fixes to round the left border on the first td/td
caption + thead tr:first-child th:first-child,
caption + tbody tr:first-child td:first-child,
colgroup + thead tr:first-child th:first-child,
colgroup + tbody tr:first-child td:first-child {
-webkit-border-top-left-radius: 4px;
border-top-left-radius: 4px;
-moz-border-radius-topleft: 4px;
}
caption + thead tr:first-child th:last-child,
caption + tbody tr:first-child td:last-child,
colgroup + thead tr:first-child th:last-child,
colgroup + tbody tr:first-child td:last-child {
-webkit-border-top-right-radius: 4px;
border-top-right-radius: 4px;
-moz-border-right-topleft: 4px;
}
}
// ZEBRA-STRIPING
// --------------