mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-24 14:04:09 +03:00
Add @btn-color variable and use in buttons and carets; fixes dropup caret as well
This commit is contained in:
+5
-10
@@ -3,9 +3,11 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
// Button carets
|
||||
.caret {
|
||||
border-top-color: #fff;
|
||||
border-bottom-color: #fff;
|
||||
.btn .caret {
|
||||
border-top-color: @btn-color;
|
||||
}
|
||||
.dropup .btn .caret {
|
||||
border-bottom-color: @btn-color;
|
||||
}
|
||||
|
||||
// Make the div behave like a button
|
||||
@@ -104,16 +106,9 @@
|
||||
margin-left: 0;
|
||||
}
|
||||
// Carets in other button sizes
|
||||
.btn-large .caret {
|
||||
margin-top: 6px;
|
||||
}
|
||||
.btn-large .caret {
|
||||
border-width: 5px;
|
||||
}
|
||||
.btn-mini .caret,
|
||||
.btn-small .caret {
|
||||
margin-top: 8px;
|
||||
}
|
||||
// Upside down carets for .dropup
|
||||
.dropup .btn-large .caret {
|
||||
border-bottom-width: 5px;
|
||||
|
||||
Reference in New Issue
Block a user