Skip to content

Commit

Permalink
(less) Merge pull request twbs#11790 from twbs/drop_recess_for_less
Browse files Browse the repository at this point in the history
Drop grunt-recess for grunt-contrib-less
  • Loading branch information
mdo committed Dec 9, 2013
2 parents 5758f4c + aa17961 commit 5db9c76
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions button-groups.less
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

// Optional: Group multiple button groups together for a toolbar
.btn-toolbar {
.clearfix();
&:extend(.clearfix all);

.btn-group {
float: left;
Expand Down Expand Up @@ -157,7 +157,7 @@

// Clear floats so dropdown menus can be properly placed
> .btn-group {
.clearfix();
&:extend(.clearfix all);
> .btn {
float: none;
}
Expand Down
4 changes: 2 additions & 2 deletions mixins.less
Original file line number Diff line number Diff line change
Expand Up @@ -598,14 +598,14 @@
margin-left: auto;
padding-left: (@grid-gutter-width / 2);
padding-right: (@grid-gutter-width / 2);
.clearfix();
&:extend(.clearfix all);
}

// Creates a wrapper for a series of columns
.make-row(@gutter: @grid-gutter-width) {
margin-left: (@gutter / -2);
margin-right: (@gutter / -2);
.clearfix();
&:extend(.clearfix all);
}

// Generate the extra small columns
Expand Down
2 changes: 1 addition & 1 deletion modals.less
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
padding: (@modal-inner-padding - 1) @modal-inner-padding @modal-inner-padding;
text-align: right; // right align buttons
border-top: 1px solid @modal-footer-border-color;
.clearfix(); // clear it in case folks use .pull-* classes on buttons
&:extend(.clearfix all); // clear it in case folks use .pull-* classes on buttons

// Properly space out buttons
.btn + .btn {
Expand Down
6 changes: 3 additions & 3 deletions navbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
border: 1px solid transparent;

// Prevent floats from breaking the navbar
.clearfix();
&:extend(.clearfix all);

@media (min-width: @grid-float-breakpoint) {
border-radius: @navbar-border-radius;
Expand All @@ -29,7 +29,7 @@
// styling of responsive aspects.

.navbar-header {
.clearfix();
&:extend(.clearfix all);

@media (min-width: @grid-float-breakpoint) {
float: left;
Expand All @@ -54,7 +54,7 @@
padding-left: @navbar-padding-horizontal;
border-top: 1px solid transparent;
box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
.clearfix();
&:extend(.clearfix all);
-webkit-overflow-scrolling: touch;

&.in {
Expand Down
2 changes: 1 addition & 1 deletion navs.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
margin-bottom: 0;
padding-left: 0; // Override default ul/ol
list-style: none;
.clearfix();
&:extend(.clearfix all);

> li {
position: relative;
Expand Down
2 changes: 1 addition & 1 deletion pager.less
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
margin: @line-height-computed 0;
list-style: none;
text-align: center;
.clearfix();
&:extend(.clearfix all);
li {
display: inline;
> a,
Expand Down
2 changes: 1 addition & 1 deletion panels.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// Panel contents
.panel-body {
padding: 15px;
.clearfix();
&:extend(.clearfix all);
}


Expand Down
2 changes: 1 addition & 1 deletion type.less
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ dd {
}
dd {
margin-left: @component-offset-horizontal;
.clearfix(); // Clear the floated `dt` if an empty `dd` is present
&:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present
}
}
}
Expand Down

0 comments on commit 5db9c76

Please sign in to comment.