Skip to content

Instantly share code, notes, and snippets.

@ozinepank
Last active August 29, 2015 14:16
Show Gist options
  • Save ozinepank/7977e5e5a5cdceadfb60 to your computer and use it in GitHub Desktop.
Save ozinepank/7977e5e5a5cdceadfb60 to your computer and use it in GitHub Desktop.
$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