Add button size classes

This commit is contained in:
Michael Rose
2016-03-24 12:14:40 -04:00
parent 9ae1611925
commit 4a38b2a4c5
5 changed files with 43 additions and 9 deletions

View File

@ -10,15 +10,15 @@
/* default button */
display: inline-block;
margin-bottom: 0.25em;
padding: 10px 20px;
padding: 0.5em 1em;
color: #fff !important;
font-family: $sans-serif;
font-size: 0.8rem;
font-size: 14px;
font-weight: bold;
line-height: 1.5;
text-align: center;
text-decoration: none;
background-color: #000;
background-color: $primary-color;
border: 0 !important;
border-radius: $border-radius;
cursor: pointer;
@ -133,4 +133,28 @@
}
}
}
/* extra large button */
&--x-large {
font-size: 24px;
}
/* large button */
&--large {
font-size: 18px;
}
/* small button */
&--small {
font-size: 12px;
}
/* extra small button */
&--x-small {
font-size: 10px;
font-weight: normal;
}
}