Skip to content

Commit

Permalink
ie7 button group and button toggle padding changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Aug 20, 2012
1 parent 58dd1f2 commit 01572f0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 7 additions & 3 deletions docs/assets/css/bootstrap.css
Expand Up @@ -3423,27 +3423,31 @@ input[type="submit"].btn.btn-mini {
}

.btn-group > .btn + .dropdown-toggle {
*padding-top: 4px;
*padding-top: 5px;
padding-right: 8px;
*padding-bottom: 4px;
*padding-bottom: 5px;
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: 2px;
padding-right: 5px;
*padding-bottom: 2px;
padding-left: 5px;
}

.btn-group > .btn-small + .dropdown-toggle {
*padding-top: 4px;
*padding-top: 5px;
*padding-bottom: 4px;
}

.btn-group > .btn-large + .dropdown-toggle {
*padding-top: 7px;
padding-right: 12px;
*padding-bottom: 7px;
padding-left: 12px;
}

Expand Down
10 changes: 7 additions & 3 deletions less/button-groups.less
Expand Up @@ -120,20 +120,24 @@
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: 4px;
*padding-bottom: 4px;
*padding-top: 5px;
*padding-bottom: 5px;
}
.btn-group > .btn-mini + .dropdown-toggle {
padding-left: 5px;
padding-right: 5px;
*padding-top: 2px;
*padding-bottom: 2px;
}
.btn-group > .btn-small + .dropdown-toggle {
*padding-top: 4px;
*padding-top: 5px;
*padding-bottom: 4px;
}
.btn-group > .btn-large + .dropdown-toggle {
padding-left: 12px;
padding-right: 12px;
*padding-top: 7px;
*padding-bottom: 7px;
}

.btn-group.open {
Expand Down

0 comments on commit 01572f0

Please sign in to comment.