packer-cn/website/source/assets/stylesheets/_buttons.scss

38 lines
853 B
SCSS
Raw Normal View History

.button {
background: $button-background;
border: 1px solid $button-font-color;
2017-04-10 14:30:46 -04:00
box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
color: $button-font-color;
display: inline-block;
font-family: $button-font-family;
font-size: $button-font-size;
font-weight: $button-font-weight;
letter-spacing: 1px;
margin-bottom: 4px;
padding: 12px 30px 10px 30px;
2014-10-20 13:55:50 -04:00
text-transform: uppercase;
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
}
&:hover {
background: $button-font-color;
border: 1px solid $button-font-color;
color: $button-background;
2014-10-20 13:55:50 -04:00
}
&.primary {
background: $button-primary-background;
border: 1px solid darken($button-primary-background, 5%);
color: $button-primary-font-color;
2014-10-20 13:55:50 -04:00
&:hover {
background: lighten($button-primary-background, 5%);
2014-10-20 13:55:50 -04:00
}
}
}