Last active
August 29, 2015 14:16
-
-
Save ozinepank/7977e5e5a5cdceadfb60 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$tappable-height:60px; | |
$default-border-radius:4px; | |
$Green: #97cb5b; | |
.ButtonStyle { | |
background:#fff; | |
display: inline-block; | |
border-radius:$default-border-radius; | |
font-size: 18px; | |
font-weight: bold; | |
cursor: pointer; | |
line-height:$tappable-height+8; | |
text-align: center; | |
text-decoration: none; | |
margin: 5px 0; | |
padding: 0 40px; | |
&:hover { | |
opacity:.8; | |
text-decoration:none; | |
} | |
} | |
.Button { | |
@extend .ButtonStyle; | |
&.Green { | |
color:$Green; | |
} | |
} | |
//******************************* Compile CSS **************************** // | |
.ButtonStyle, .Button { | |
background: #fff; | |
display: inline-block; | |
border-radius: 4px; | |
font-size: 18px; | |
font-weight: bold; | |
cursor: pointer; | |
line-height: 68px; | |
text-align: center; | |
text-decoration: none; | |
margin: 5px 0; | |
padding: 0 40px; | |
} | |
.ButtonStyle:hover, .Button:hover { | |
opacity: .8; | |
text-decoration: none; | |
} | |
.Button.Green { | |
color: #97cb5b; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment