mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-23 13:43:11 +02:00
Add @btn-color variable and use in buttons and carets; fixes dropup caret as well
This commit is contained in:
20
docs/assets/css/bootstrap.css
vendored
20
docs/assets/css/bootstrap.css
vendored
@@ -1679,7 +1679,7 @@ input[type="button"].btn-block {
|
||||
}
|
||||
|
||||
.btn {
|
||||
color: #fff;
|
||||
color: #ffffff;
|
||||
background-color: #a7a9aa;
|
||||
border-color: #a7a9aa;
|
||||
}
|
||||
@@ -3245,9 +3245,12 @@ button.close {
|
||||
|
||||
*/
|
||||
|
||||
.caret {
|
||||
border-top-color: #fff;
|
||||
border-bottom-color: #fff;
|
||||
.btn .caret {
|
||||
border-top-color: #ffffff;
|
||||
}
|
||||
|
||||
.dropup .btn .caret {
|
||||
border-bottom-color: #ffffff;
|
||||
}
|
||||
|
||||
.btn-group {
|
||||
@@ -3344,19 +3347,10 @@ button.close {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.btn-large .caret {
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.btn-large .caret {
|
||||
border-width: 5px;
|
||||
}
|
||||
|
||||
.btn-mini .caret,
|
||||
.btn-small .caret {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.dropup .btn-large .caret {
|
||||
border-bottom-width: 5px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user