1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

lighter buttons closer to todays versions

This commit is contained in:
Mark Otto 2012-12-20 01:21:09 -08:00
parent 4e54e7bb35
commit cdb25e11ef
2 changed files with 12 additions and 12 deletions

View file

@ -2589,22 +2589,22 @@ input[type="button"].btn-block {
.btn { .btn {
color: #555555; color: #555555;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75); text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
background-color: #dadada; background-color: #eaeaea;
background-image: -moz-linear-gradient(top, #fafafa, #dadada); background-image: -moz-linear-gradient(top, #ffffff, #eaeaea);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fafafa), to(#dadada)); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#eaeaea));
background-image: -webkit-linear-gradient(top, #fafafa, #dadada); background-image: -webkit-linear-gradient(top, #ffffff, #eaeaea);
background-image: -o-linear-gradient(top, #fafafa, #dadada); background-image: -o-linear-gradient(top, #ffffff, #eaeaea);
background-image: linear-gradient(to bottom, #fafafa, #dadada); background-image: linear-gradient(to bottom, #ffffff, #eaeaea);
background-repeat: repeat-x; background-repeat: repeat-x;
border-color: #c7c7c7; border-color: #d7d7d7;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffafafa', endColorstr='#ffdadada', GradientType=0); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffeaeaea', GradientType=0);
} }
.btn:hover, .btn:hover,
.btn:active, .btn:active,
.btn.active { .btn.active {
color: #555555; color: #555555;
background-color: #dadada; background-color: #eaeaea;
background-position: 0 -15px; background-position: 0 -15px;
} }
@ -2876,7 +2876,7 @@ fieldset[disabled] .btn-link:hover {
} }
.btn-group.open .btn.dropdown-toggle { .btn-group.open .btn.dropdown-toggle {
background-color: #dadada; background-color: #eaeaea;
} }
.btn-group.open .btn-primary.dropdown-toggle { .btn-group.open .btn-primary.dropdown-toggle {

View file

@ -75,8 +75,8 @@
// Buttons // Buttons
// ------------------------- // -------------------------
@btn-background: #fafafa; @btn-background: #fff;
@btn-background-highlight: #dadada; @btn-background-highlight: #eaeaea;
@btn-background-primary: @link-color; @btn-background-primary: @link-color;
@btn-background-primary-highlight: darken(@link-color, 10%); @btn-background-primary-highlight: darken(@link-color, 10%);