Skip to content

Commit

Permalink
Updated button style (to give it some depth).
Browse files Browse the repository at this point in the history
  • Loading branch information
karledurante committed Oct 19, 2012
1 parent 0bef0a1 commit 54da478
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions app/assets/stylesheets/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ $black: #000;
$white: #fff;
$hover_creme: adjust_color($creme, $hue: -2, $saturation: 5%, $lightness: -12%);

/* button colors */
$button_color: $blue;
$button_hover_color: adjust_color($button_color, $hue: -2, $saturation: 5%, $lightness: -12%);
$button_top: #4EC5F2;
$button_bottom: #0B7198;

/* Element Color Mappings */

$text-color: $brown;
Expand Down
1 change: 1 addition & 0 deletions app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,5 @@ p {

.content {
margin-right: auto; margin-left: auto; width: 980px;
padding-left: 15px;
}
7 changes: 4 additions & 3 deletions app/assets/stylesheets/home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,16 @@

.buy {
border-radius: 4px;
background-color: $blue;
background-color: $button_color;
box-shadow: inset 0 3px 0 -1px $button_top, inset 0 -2px 0 0 $button_bottom;
padding: 25px;
margin: 10px;
color: white;
text-align: center;

&:hover {
color: $dark_red;
background-color: $button_hover_color;
box-shadow: inset 0 3px 0 -1px $button_color, inset 0 -2px 0 0 $button_bottom;
cursor: pointer;
}

Expand All @@ -87,7 +89,6 @@
text-shadow: $grey 0.1em;

&:hover {
color: $grey;
cursor: pointer;
}
}
Expand Down

0 comments on commit 54da478

Please sign in to comment.