39 lines
600 B
SCSS
39 lines
600 B
SCSS
|
//
|
||
|
// Buttons
|
||
|
//
|
||
|
|
||
|
.btn {
|
||
|
display: inline-block;
|
||
|
padding: 0.5em 1em;
|
||
|
color: #fff;
|
||
|
font-weight: bold;
|
||
|
text-align: center;
|
||
|
text-decoration: none;
|
||
|
background-color: $accent-color;
|
||
|
border: 0;
|
||
|
border-radius: $border-radius;
|
||
|
cursor: pointer;
|
||
|
|
||
|
&:hover {
|
||
|
color: #fff;
|
||
|
background-color: tint($accent-color, 20%);
|
||
|
}
|
||
|
|
||
|
&:focus {
|
||
|
background-color: shade($accent-color, 20%);
|
||
|
}
|
||
|
|
||
|
.icon {
|
||
|
margin-right: 0.5em;
|
||
|
}
|
||
|
|
||
|
// block button fills width of parent container
|
||
|
&--block {
|
||
|
display: block;
|
||
|
width: 100%;
|
||
|
|
||
|
+ .btn--block {
|
||
|
margin-top: 1rem;
|
||
|
}
|
||
|
}
|
||
|
}
|