aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Kaplun <[email protected]>2015-05-30 10:59:34 -0400
committerDan Kaplun <[email protected]>2015-05-30 12:57:36 -0400
commit78bdbcdc0858efc57273da6f0d3f772076919e2f (patch)
tree253a5a26751d4766bbb04596a4e1ca208a5a7c8b
parent39137b9f4a26608988232f7d4966af280e46b689 (diff)
downloadbootstrap-78bdbcdc0858efc57273da6f0d3f772076919e2f.tar.xz
bootstrap-78bdbcdc0858efc57273da6f0d3f772076919e2f.zip
Adds @dl-horizontal-breakpoint
-rw-r--r--docs/_includes/customizer-variables.html5
-rw-r--r--less/type.less2
-rw-r--r--less/variables.less2
3 files changed, 8 insertions, 1 deletions
diff --git a/docs/_includes/customizer-variables.html b/docs/_includes/customizer-variables.html
index 4dde831cb..c260b90d2 100644
--- a/docs/_includes/customizer-variables.html
+++ b/docs/_includes/customizer-variables.html
@@ -1879,6 +1879,11 @@
</div>
<div class="clearfix"></div>
<div class="col-xs-4">
+ <label for="input-@dl-horizontal-breakpoint">@dl-horizontal-breakpoint</label>
+ <input id="input-@dl-horizontal-breakpoint" type="text" aria-describedby="help-block-@dl-horizontal-breakpoint" value="@grid-float-breakpoint" data-var="@dl-horizontal-breakpoint" class="form-control"/>
+ <p id="help-block-@dl-horizontal-breakpoint" class="help-block">Point at which .dl-horizontal becomes horizontal</p>
+ </div>
+ <div class="col-xs-4">
<label for="input-@hr-border">@hr-border</label>
<input id="input-@hr-border" type="text" aria-describedby="help-block-@hr-border" value="@gray-lighter" data-var="@hr-border" class="form-control"/>
<p id="help-block-@hr-border" class="help-block">Horizontal line color.</p>
diff --git a/less/type.less b/less/type.less
index 68ba6017b..0d4fee484 100644
--- a/less/type.less
+++ b/less/type.less
@@ -211,7 +211,7 @@ dd {
&:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present
}
- @media (min-width: @grid-float-breakpoint) {
+ @media (min-width: @dl-horizontal-breakpoint) {
dt {
float: left;
width: (@dl-horizontal-offset - 20);
diff --git a/less/variables.less b/less/variables.less
index c1861a8e0..b057ef5bf 100644
--- a/less/variables.less
+++ b/less/variables.less
@@ -863,5 +863,7 @@
@page-header-border-color: @gray-lighter;
//** Width of horizontal description list titles
@dl-horizontal-offset: @component-offset-horizontal;
+//** Point at which .dl-horizontal becomes horizontal
+@dl-horizontal-breakpoint: @grid-float-breakpoint;
//** Horizontal line color.
@hr-border: @gray-lighter;