font-style: normal;
}
-.muted {
+.text-muted {
color: #999999;
}
-a.muted:hover,
-a.muted:focus {
+a.text-muted:hover,
+a.text-muted:focus {
color: #808080;
}
clear: both;
}
+.dl-horizontal:before,
+.dl-horizontal:after {
+ display: table;
+ content: " ";
+}
+
+.dl-horizontal:after {
+ clear: both;
+}
+
.dl-horizontal dt {
float: left;
width: 160px;
clear: both;
}
+.container:before,
+.container:after {
+ display: table;
+ content: " ";
+}
+
+.container:after {
+ clear: both;
+}
+
.row {
margin-right: -15px;
margin-left: -15px;
clear: both;
}
+.row:before,
+.row:after {
+ display: table;
+ content: " ";
+}
+
+.row:after {
+ clear: both;
+}
+
[class*="col-span-"] {
position: relative;
min-height: 1px;
clear: both;
}
+.form-actions:before,
+.form-actions:after {
+ display: table;
+ content: " ";
+}
+
+.form-actions:after {
+ clear: both;
+}
+
.help-block,
.help-inline {
color: #737373;
.form-horizontal .control-group:after {
clear: both;
}
+ .form-horizontal .control-group:before,
+ .form-horizontal .control-group:after {
+ display: table;
+ content: " ";
+ }
+ .form-horizontal .control-group:after {
+ clear: both;
+ }
.form-horizontal .control-group input,
.form-horizontal .control-group select,
.form-horizontal .control-group textarea {
font-weight: normal;
line-height: 20px;
color: #333333;
- white-space: nowrap;
}
.dropdown-menu > li > a:hover,
clear: both;
}
+.nav:before,
+.nav:after {
+ display: table;
+ content: " ";
+}
+
+.nav:after {
+ clear: both;
+}
+
.nav > li {
display: block;
}
clear: both;
}
+.tabbable:before,
+.tabbable:after {
+ display: table;
+ content: " ";
+}
+
+.tabbable:after {
+ clear: both;
+}
+
.tab-content > .tab-pane,
.pill-content > .pill-pane {
display: none;
clear: both;
}
+.navbar:before,
+.navbar:after {
+ display: table;
+ content: " ";
+}
+
+.navbar:after {
+ clear: both;
+}
+
.navbar .nav {
margin-top: 15px;
}
.navbar .nav:after {
clear: both;
}
+ .navbar .nav:before,
+ .navbar .nav:after {
+ display: table;
+ content: " ";
+ }
+ .navbar .nav:after {
+ clear: both;
+ }
.navbar .nav.pull-right {
float: right;
}
clear: both;
}
+.btn-toolbar:before,
+.btn-toolbar:after {
+ display: table;
+ content: " ";
+}
+
+.btn-toolbar:after {
+ clear: both;
+}
+
.btn-toolbar .btn-group {
float: left;
}
clear: both;
}
+.pager:before,
+.pager:after {
+ display: table;
+ content: " ";
+}
+
+.pager:after {
+ clear: both;
+}
+
.pager li {
display: inline;
}
clear: both;
}
+.modal-footer:before,
+.modal-footer:after {
+ display: table;
+ content: " ";
+}
+
+.modal-footer:after {
+ clear: both;
+}
+
.modal-footer .btn + .btn {
margin-bottom: 0;
margin-left: 5px;
margin-left: (@grid-gutter-width / -2);
margin-right: (@grid-gutter-width / -2);
// Then clear the floated columns
- .clear_float();
+ .clearfix();
}
// Generate the columns
// Optional: Group multiple button groups together for a toolbar
.btn-toolbar {
- .clear_float();
+ .clearfix();
.btn-group {
float: left;
margin-bottom: @line-height-base;
background-color: @form-actions-background;
border-top: 1px solid #e5e5e5;
- .clear_float(); // Adding clearfix to allow for .pull-right button containers
+ .clearfix(); // Adding clearfix to allow for .pull-right button containers
}
.control-group {
position: relative;
margin-bottom: @line-height-base;
- .clear_float();
+ .clearfix();
input,
select,
// that are clearfixed.
// 2. The use of `table` rather than `block` is only necessary if using
// `:before` to contain the top-margins of child elements.
-.clear_float() {
+.clearfix() {
&:before,
&:after {
content: " "; /* 1 */
.container-fixed() {
margin-right: auto;
margin-left: auto;
- .clear_float();
+ .clearfix();
}
// Make a grid
margin-left: (@grid-gutter-width / -2);
margin-right: (@grid-gutter-width / -2);
// Then clear the floated columns
- .clear_float();
+ .clearfix();
}
// Generate the columns
.make-column(@columns) {
background-color: @navbar-bg;
border-radius: @border-radius-base;
// Prevent floats from breaking the navbar
- .clear_float();
+ .clearfix();
}
// Navbar nav links
.navbar .nav {
float: left;
margin-top: 0; // undo top margin to make nav extend full height of navbar
- .clear_float();
+ .clearfix();
&.pull-right {
float: right;
margin-bottom: 0;
padding-left: 0; // Override default ul/ol
list-style: none;
- .clear_float();
+ .clearfix();
}
.nav > li {
display: block;
margin: @line-height-base 0;
list-style: none;
text-align: center;
- .clear_float();
+ .clearfix();
}
.pager li {
display: inline;
}
// Horizontal layout (like forms)
.dl-horizontal {
- .clear_float(); // Ensure dl clears floats if empty dd elements present
+ .clearfix(); // Ensure dl clears floats if empty dd elements present
dt {
float: left;
width: (@component-offset-horizontal - 20);
// -------------------------
.clearfix {
- .clear_float();
+ .clearfix();
}
.pull-right {
float: right;