2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-27 14:46:01 +03:00

wasn't feeling the new buttons, downsizing again until we get a better balance

This commit is contained in:
Mark Otto
2012-07-09 00:31:54 -07:00
parent 9887d3cf4a
commit 25d0b341a9
4 changed files with 50 additions and 38 deletions
+18 -14
View File
@@ -34,16 +34,16 @@
}
.btn-group > .btn,
.btn-group > .dropdown-menu {
font-size: @baseFontSize; // redeclare as part 2 of font-size inline-block hack
font-size: 13px; // redeclare as part 2 of font-size inline-block hack
}
// Reset fonts for other sizes
.btn-group > .btn-mini,
.btn-group > .btn-small {
font-size: @baseFontSize - 2px;
font-size: 12px;
}
.btn-group > .btn-large {
font-size: @baseFontSize + 2px;
font-size: 16px;
}
// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match
@@ -107,23 +107,23 @@
// Give the line between buttons some depth
.btn-group > .dropdown-toggle {
padding-left: 10px;
padding-right: 10px;
.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: 8px;
*padding-bottom: 8px;
}
.btn-group > .btn-mini.dropdown-toggle {
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;
}
.btn-group > .btn-mini.dropdown-toggle {
padding-left: 5px;
padding-right: 5px;
}
.btn-group > .btn-small.dropdown-toggle {
*padding-top: 6px;
*padding-bottom: 6px;
*padding-top: 4px;
*padding-bottom: 4px;
}
.btn-group > .btn-large.dropdown-toggle {
padding-left: 14px;
padding-right: 14px;
padding-left: 12px;
padding-right: 12px;
}
.btn-group.open {
@@ -162,6 +162,7 @@
// Reposition the caret
.btn .caret {
margin-top: 7px;
margin-left: 0;
}
.btn:hover .caret,
@@ -170,10 +171,13 @@
}
// Carets in other button sizes
.btn-mini .caret {
margin-top: 5px;
}
.btn-small .caret {
margin-top: 6px;
}
.btn-large .caret {
margin-top: 6px;
border-left-width: 5px;
border-right-width: 5px;
border-top-width: 5px;