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

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
// ----------------------

View File

@@ -15,7 +15,6 @@
font-weight: bold;
line-height: @line-height-base;
text-align: center;
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
vertical-align: middle;
cursor: pointer;
border: 1px solid @btn-border;