aboutsummaryrefslogtreecommitdiff
path: root/lib/tables.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-09-08 23:01:28 -0700
committerMark Otto <[email protected]>2011-09-08 23:01:28 -0700
commitba08055a7be248582ce6b5ba00bf04f5c821bcdd (patch)
treeb5f91922acbc9a4e3838501a75ba536c24aca550 /lib/tables.less
parentc474f996a902434572c238bb6e170473171cadad (diff)
downloadbootstrap-ba08055a7be248582ce6b5ba00bf04f5c821bcdd.tar.xz
bootstrap-ba08055a7be248582ce6b5ba00bf04f5c821bcdd.zip
update the modals and alert-messages to use the same .close styles, save for some positioning in the modal after knocking down the modal padding
Diffstat (limited to 'lib/tables.less')
-rw-r--r--lib/tables.less27
1 files changed, 23 insertions, 4 deletions
diff --git a/lib/tables.less b/lib/tables.less
index 4fff7bd64..e00250f0d 100644
--- a/lib/tables.less
+++ b/lib/tables.less
@@ -11,23 +11,43 @@ table {
width: 100%;
margin-bottom: @baseline;
padding: 0;
- border-collapse: collapse;
+ border-collapse: separate;
font-size: @basefont;
+ border: 1px solid #ddd;
+ .border-radius(4px);
th, td {
padding: 10px 10px 9px;
line-height: @baseline;
text-align: left;
- border: 1px solid #ddd;
}
th {
padding-top: 9px;
font-weight: bold;
vertical-align: middle;
- border-bottom-width: 2px;
+ border-bottom: 1px solid #ddd;
}
td {
vertical-align: top;
}
+ th + th,
+ td + td {
+ border-left: 1px solid #ddd;
+ }
+ tr + tr td {
+ border-top: 1px solid #ddd;
+ }
+ tbody tr:first-child td:first-child {
+ .border-radius(4px 0 0 0);
+ }
+ tbody tr:first-child td:last-child {
+ .border-radius(0 4px 0 0);
+ }
+ tbody tr:last-child td:first-child {
+ .border-radius(0 0 0 4px);
+ }
+ tbody tr:last-child td:last-child {
+ .border-radius(0 0 4px 0);
+ }
}
@@ -63,7 +83,6 @@ table {
.headerSortDown {
background-color: rgba(141,192,219,.25);
text-shadow: 0 1px 1px rgba(255,255,255,.75);
- .border-radius(3px 3px 0 0);
}
// Style the ascending (reverse alphabetical) column header
.header:hover {