2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-30 15:24:08 +03:00

buttons and button group flattening improvements

This commit is contained in:
Mark Otto
2013-01-12 18:52:06 -08:00
parent fb4fc323a2
commit 583fc4b962
5 changed files with 12 additions and 130 deletions
+6 -19
View File
@@ -2,6 +2,11 @@
// Button groups
// --------------------------------------------------
// Button carets
.caret {
border-top-color: #fff;
border-bottom-color: #fff;
}
// Make the div behave like a button
.btn-group {
@@ -124,9 +129,7 @@
margin-top: 6px;
}
.btn-large .caret {
border-left-width: 5px;
border-right-width: 5px;
border-top-width: 5px;
border-width: 5px;
}
.btn-mini .caret,
.btn-small .caret {
@@ -138,22 +141,6 @@
}
// Account for other colors
.btn-primary,
.btn-warning,
.btn-danger,
.btn-info,
.btn-success,
.btn-inverse {
.caret {
border-top-color: #fff;
border-bottom-color: #fff;
}
}
// Vertical button groups
// ----------------------