aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-09-01 10:13:47 +0200
committerMark Otto <[email protected]>2013-09-01 10:13:47 +0200
commit9a32b21dc77071806116d9bbfa2a43306fa0dccf (patch)
tree4fe8781b9220e5d619dbd8fb789825e0dc8244f2 /less
parent9ba64cc1a99fd246f2671197bb1daec0161b0277 (diff)
parentdfda3dfe3727fdd292d73cb7d9de5699527e3216 (diff)
downloadbootstrap-9a32b21dc77071806116d9bbfa2a43306fa0dccf.tar.xz
bootstrap-9a32b21dc77071806116d9bbfa2a43306fa0dccf.zip
Merge branch 'master' into tagliala-patch-1
Diffstat (limited to 'less')
-rw-r--r--less/breadcrumbs.less2
-rw-r--r--less/input-groups.less1
-rw-r--r--less/tables.less27
-rw-r--r--less/type.less1
-rw-r--r--less/variables.less3
5 files changed, 20 insertions, 14 deletions
diff --git a/less/breadcrumbs.less b/less/breadcrumbs.less
index 92643d167..aded518ce 100644
--- a/less/breadcrumbs.less
+++ b/less/breadcrumbs.less
@@ -12,7 +12,7 @@
> li {
display: inline-block;
&+li:before {
- content: "/\00a0"; // Unicode space added since inline-block means non-collapsing white-space
+ content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space
padding: 0 5px;
color: @breadcrumb-color;
}
diff --git a/less/input-groups.less b/less/input-groups.less
index 570f03f90..3c05a458f 100644
--- a/less/input-groups.less
+++ b/less/input-groups.less
@@ -61,6 +61,7 @@
font-size: @font-size-base;
font-weight: normal;
line-height: 1;
+ color: @input-color;
text-align: center;
background-color: @input-group-addon-bg;
border: 1px solid @input-group-addon-border-color;
diff --git a/less/tables.less b/less/tables.less
index bd86db2e4..79a53c724 100644
--- a/less/tables.less
+++ b/less/tables.less
@@ -18,9 +18,9 @@ th {
width: 100%;
margin-bottom: @line-height-computed;
// Cells
- thead,
- tbody,
- tfoot {
+ > thead,
+ > tbody,
+ > tfoot {
> tr {
> th,
> td {
@@ -32,22 +32,23 @@ th {
}
}
// Bottom align for column headings
- thead > tr > th {
+ > thead > tr > th {
vertical-align: bottom;
border-bottom: 2px solid @table-border-color;
}
// Remove top border from thead by default
- caption + thead,
- colgroup + thead,
- thead:first-child {
- tr:first-child {
- th, td {
+ > caption + thead,
+ > colgroup + thead,
+ > thead:first-child {
+ > tr:first-child {
+ > th,
+ > td {
border-top: 0;
}
}
}
// Account for multiple tbody instances
- tbody + tbody {
+ > tbody + tbody {
border-top: 2px solid @table-border-color;
}
@@ -61,9 +62,9 @@ th {
// Condensed table w/ half padding
.table-condensed {
- thead,
- tbody,
- tfoot {
+ > thead,
+ > tbody,
+ > tfoot {
> tr {
> th,
> td {
diff --git a/less/type.less b/less/type.less
index 6e0b74e13..d921bf0ac 100644
--- a/less/type.less
+++ b/less/type.less
@@ -53,6 +53,7 @@ h1, h2, h3, h4, h5, h6,
font-family: @headings-font-family;
font-weight: @headings-font-weight;
line-height: @headings-line-height;
+ color: inherit;
small {
font-weight: normal;
diff --git a/less/variables.less b/less/variables.less
index 5ffc26bbc..90b9b2397 100644
--- a/less/variables.less
+++ b/less/variables.less
@@ -61,6 +61,8 @@
@headings-font-family: @font-family-base;
@headings-font-weight: 500;
@headings-line-height: 1.1;
+@headings-color: inherit;
+
// Iconography
// -------------------------
@@ -561,6 +563,7 @@
@breadcrumb-bg: #f5f5f5;
@breadcrumb-color: #ccc;
@breadcrumb-active-color: @gray-light;
+@breadcrumb-separator: "/";
// Carousel