Skip to content

Commit

Permalink
Drop background-clip and background-size mixins since they have no pr…
Browse files Browse the repository at this point in the history
…efixes anyway
  • Loading branch information
mdo committed Aug 12, 2013
1 parent 175a112 commit 55cfa8d
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 19 deletions.
4 changes: 1 addition & 3 deletions dist/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -4003,9 +4003,7 @@ button.close {
border-radius: 6px;
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
background-clip: padding-box;
}

.popover.top {
Expand Down
2 changes: 1 addition & 1 deletion dist/css/bootstrap.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion less/dropdowns.less
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
border: 1px solid @dropdown-border;
border-radius: @border-radius-base;
.box-shadow(0 6px 12px rgba(0,0,0,.175));
.background-clip(padding-box);
background-clip: padding-box;

// Aligns the dropdown menu to right
&.pull-right {
Expand Down
10 changes: 0 additions & 10 deletions less/mixins.less
Original file line number Diff line number Diff line change
Expand Up @@ -163,16 +163,6 @@
backface-visibility: @visibility;
}

// Background clipping
.background-clip(@clip) {
background-clip: @clip;
}

// Background sizing
.background-size(@size) {
background-size: @size;
}

// Box sizing
.box-sizing(@boxmodel) {
-webkit-box-sizing: @boxmodel;
Expand Down
2 changes: 1 addition & 1 deletion less/modals.less
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
border: 1px solid @modal-content-border-color;
border-radius: @border-radius-large;
.box-shadow(0 3px 9px rgba(0,0,0,.5));
.background-clip(padding-box);
background-clip: padding-box;
// Remove focus outline from opened modal
outline: none;
}
Expand Down
2 changes: 0 additions & 2 deletions less/popovers.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
padding: 1px;
text-align: left; // Reset given new insertion method
background-color: @popover-bg;
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
border: 1px solid @popover-fallback-border-color;
border: 1px solid @popover-border-color;
Expand Down
2 changes: 1 addition & 1 deletion less/progress-bars.less
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
// Striped bars
.progress-striped .progress-bar {
#gradient > .striped(@progress-bar-bg);
.background-size(40px 40px);
background-size: 40px 40px;
}

// Call animation for the active one
Expand Down

0 comments on commit 55cfa8d

Please sign in to comment.