0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

fix #2625 manually: account for dropup caret on large button

This commit is contained in:
Mark Otto 2012-03-23 00:37:15 -07:00
parent b8d8ab1aad
commit 2729d15742
3 changed files with 16 additions and 7 deletions

Binary file not shown.

View File

@ -2419,9 +2419,13 @@ input[type="submit"].btn.btn-mini {
}
.btn-large .caret {
margin-top: 6px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid #000000;
border-left-width: 5px;
border-right-width: 5px;
border-top-width: 5px;
}
.dropup .btn-large .caret {
border-bottom: 5px solid #000000;
border-top: 0;
}
.btn-primary .caret,
.btn-warning .caret,

View File

@ -148,7 +148,6 @@
}
// Reposition the caret
.btn .caret {
margin-top: 7px;
@ -167,10 +166,16 @@
}
.btn-large .caret {
margin-top: 6px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid @black;
border-left-width: 5px;
border-right-width: 5px;
border-top-width: 5px;
}
// Upside down carets for .dropup
.dropup .btn-large .caret {
border-bottom: 5px solid @black;
border-top: 0;
}
// Account for other colors