0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

combine and simplify caret border widths

This commit is contained in:
Mark Otto 2013-08-18 10:08:18 -07:00
parent a9e741bffc
commit 73a1a4133c
3 changed files with 5 additions and 7 deletions

View File

@ -2632,13 +2632,12 @@ input[type="button"].btn-block {
}
.btn-lg .caret {
border-width: 5px;
border-width: 5px 5px 0;
border-bottom-width: 0;
}
.dropup .btn-lg .caret {
border-width: 5px;
border-top-width: 0;
border-width: 0 5px 5px;
}
.btn-group-vertical > .btn,

File diff suppressed because one or more lines are too long

View File

@ -159,13 +159,12 @@
}
// Carets in other button sizes
.btn-lg .caret {
border-width: @caret-width-large;
border-width: @caret-width-large @caret-width-large 0;
border-bottom-width: 0;
}
// Upside down carets for .dropup
.dropup .btn-lg .caret {
border-width: @caret-width-large;
border-top-width: 0;
border-width: 0 @caret-width-large @caret-width-large;
}