Skip to content

Instantly share code, notes, and snippets.

@ozinepank
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ozinepank/97d0537bb8f6bd33aba6 to your computer and use it in GitHub Desktop.
Save ozinepank/97d0537bb8f6bd33aba6 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 **************************** //
.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;
}
.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