Skip to content

Commit

Permalink
Move the gradient under the bg color
Browse files Browse the repository at this point in the history
  • Loading branch information
arielsalminen committed Nov 6, 2012
1 parent a19a771 commit 4575f25
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion css/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions sass/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,13 @@ h3 {
}

button {
@include background-image(linear-gradient($color-blue-alt, darken($color-blue-alt, 20%) 100%));
@include border-radius(6px);
@include disable-select;
@include prevent-bleed;
font: bold percentage(16/16)/1 $font-default;
text-shadow: 0 -1px 0 rgba(0,0,0,.2);
background: $color-blue-alt;
@include background-image(linear-gradient($color-blue-alt, darken($color-blue-alt, 10%) 100%));
@include border-radius(6px);
@include disable-select;
@include prevent-bleed;
color: $color-white;
padding: 1em 0 1.1em;
margin: 1.5em 0 0;
Expand All @@ -169,7 +169,7 @@ button {
border: 0;
&:hover {
background: darken($color-blue-alt, 10%);
@include background-image(linear-gradient(darken($color-blue-alt, 5%), darken($color-blue-alt, 25%) 100%));
@include background-image(linear-gradient(darken($color-blue-alt, 5%), darken($color-blue-alt, 15%) 100%));
}
&:active { background: darken($color-blue-alt, 20%) }
}
Expand Down

0 comments on commit 4575f25

Please sign in to comment.