2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-02 16:04:07 +03:00

add button sizes to docs for button dropdowns, clean up styles for them

This commit is contained in:
Mark Otto
2012-03-10 13:40:58 -08:00
parent c7eb1ab49a
commit dd5cffc308
6 changed files with 129 additions and 8 deletions
+21
View File
@@ -98,6 +98,14 @@
*padding-top: 5px;
*padding-bottom: 5px;
}
.btn-group .btn-mini.dropdown-toggle {
padding-left: 5px;
padding-right: 5px;
}
.btn-group .btn-large.dropdown-toggle {
padding-left: 12px;
padding-right: 12px;
}
.btn-group.open {
// IE7's z-index only goes to the nearest positioned ancestor, which would
@@ -127,6 +135,19 @@
.open.btn-group .caret {
.opacity(100);
}
// 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: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid @black;
}
// Account for other colors