73 lines
1.4 KiB
SCSS
Raw Permalink Normal View History

.button {
background: $button-background;
2019-10-04 16:10:07 -06:00
border: 1px solid #d6d6d7;
border-radius: 1px;
box-sizing: border-box;
color: $button-font-color;
display: inline-block;
font-family: $button-font-family;
font-size: $button-font-size;
2019-10-04 16:10:07 -06:00
font-weight: $font-weight-medium;
line-height: 1.6em;
margin-bottom: 4px;
2019-10-04 16:10:07 -06:00
padding: 13px 19px;
text-decoration: none;
2014-10-20 13:55:50 -04:00
&:hover,
&:active,
&:focus {
text-decoration: none;
2014-10-20 13:55:50 -04:00
}
2019-10-04 16:10:07 -06:00
&:focus {
border: 3px solid $packer-l1;
color: $button-font-color;
outline: none;
padding: 11px 17px;
}
&:hover {
2019-10-04 16:10:07 -06:00
background: #eaeaeb;
border: 1px solid #d6d6d7;
color: $button-font-color;
padding: 13px 19px;
}
&:active {
background: #dfdfe0;
border: 1px solid #d6d6d7;
color: $button-font-color;
padding: 13px 19px;
2014-10-20 13:55:50 -04:00
}
&.primary {
background: $button-primary-background;
2019-10-04 16:10:07 -06:00
border: none;
color: $white;
padding: 14px 20px;
&:focus {
border: 3px solid $packer-l1;
padding: 11px 17px;
}
2014-10-20 13:55:50 -04:00
&:hover {
2019-10-04 16:10:07 -06:00
background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
$button-primary-background;
border: none;
padding: 14px 20px;
}
&:active {
background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
$button-primary-background;
border: none;
padding: 14px 20px;
2014-10-20 13:55:50 -04:00
}
}
2019-10-04 16:10:07 -06:00
&.inline {
padding: 8px 14px;
}
2014-10-20 13:55:50 -04:00
}