You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
plain-ui/src/scss/components/_button.scss

43 lines
902 B

3 years ago
/**
*
*
*
*/
3 years ago
@mixin plain-ui__component__button()
3 years ago
{
.button {
3 years ago
appearance: none;
position: relative;
display: inline-block;
text-decoration: none;
font-family: $plain-ui__font-family;
border: 1px solid darken($plain-ui__primary-light, 30%);
background-color: lighten($plain-ui__primary-light, 10%);
color: white;
padding: 0.7em 1.5em;
font-size: 1.1rem;
border-radius: 2px;
transition: background-color 0.5s;
&:hover {
cursor: pointer;
text-decoration: none;
background-color: lighten($plain-ui__primary-light, 20%);
}
&:focus, &:active {
}
3 years ago
&--secondary {
3 years ago
border: 1px solid lighten($plain-ui__primary-light, 15%);
3 years ago
background-color: lighten($plain-ui__primary-light, 35%);
3 years ago
}
3 years ago
}
}