Skip to content

Commit

Permalink
fix ie7 button group toggles and button borders
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Apr 24, 2012
1 parent 805ca03 commit 1c2db11
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
7 changes: 3 additions & 4 deletions docs/assets/css/bootstrap.css
Expand Up @@ -2696,6 +2696,7 @@ button.close {

.btn {
border-color: #ccc;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

.btn-primary {
Expand Down Expand Up @@ -3007,19 +3008,17 @@ input[type="submit"].btn.btn-mini {
}

.btn-group > .dropdown-toggle {
*padding-top: 3px;
*padding-top: 4px;
padding-right: 8px;
*padding-bottom: 3px;
*padding-bottom: 4px;
padding-left: 8px;
-webkit-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-group > .btn-mini.dropdown-toggle {
*padding-top: 1px;
padding-right: 5px;
*padding-bottom: 1px;
padding-left: 5px;
}

Expand Down
6 changes: 2 additions & 4 deletions less/button-groups.less
Expand Up @@ -95,14 +95,12 @@
padding-left: 8px;
padding-right: 8px;
.box-shadow(~"inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)");
*padding-top: 3px;
*padding-bottom: 3px;
*padding-top: 4px;
*padding-bottom: 4px;
}
.btn-group > .btn-mini.dropdown-toggle {
padding-left: 5px;
padding-right: 5px;
*padding-top: 1px;
*padding-bottom: 1px;
}
.btn-group > .btn-small.dropdown-toggle {
*padding-top: 4px;
Expand Down
4 changes: 3 additions & 1 deletion less/buttons.less
Expand Up @@ -132,7 +132,9 @@
// Set the backgrounds
// -------------------------
.btn {
border-color: #ccc; // reset here as of 2.0.3 due to Recess property order
// reset here as of 2.0.3 due to Recess property order
border-color: #ccc;
border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);
}
.btn-primary {
.buttonBackground(@btnPrimaryBackground, @btnPrimaryBackgroundHighlight);
Expand Down

0 comments on commit 1c2db11

Please sign in to comment.