Skip to content

Commit

Permalink
add arrow icon to home banner lead button
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelCDL committed Dec 4, 2015
1 parent af7d306 commit 2ce6ed3
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
14 changes: 14 additions & 0 deletions dev/images/icon_double-arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dev/scss/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@

.button__pop-example {
@extend %button__pop;
}
}
14 changes: 12 additions & 2 deletions dev/scss/_home-banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,15 @@

.home-banner__lead-button {
@extend %button__pop;
padding: 0.7em 30px 0.7em 1.3em; // make room for background arrow icon
}
margin: 1em 0 0;
padding: 0.7em 28px 0.7em 1.3em; // make room for background arrow icon
background: url('/images/icon_double-arrow.svg') no-repeat, linear-gradient(to bottom, $design-pop-gradient-top, $design-pop-gradient-bottom);
background-position: right 10px center; // apply modernizr fallback here
background-size: 0.8em;

&:hover,
&:focus {
text-decoration: underline;
}

}

0 comments on commit 2ce6ed3

Please sign in to comment.