51 lines
1,010 B
SCSS
51 lines
1,010 B
SCSS
|
button,
|
||
|
input[type="button"],
|
||
|
input[type="reset"],
|
||
|
input[type="submit"],
|
||
|
.button {
|
||
|
appearance: none;
|
||
|
background-color: $color-woot;
|
||
|
border: 0;
|
||
|
border-radius: $base-border-radius;
|
||
|
color: $white;
|
||
|
cursor: pointer;
|
||
|
display: inline-block;
|
||
|
font-size: $font-size-default;
|
||
|
-webkit-font-smoothing: antialiased;
|
||
|
font-weight: $font-weight-medium;
|
||
|
line-height: 1;
|
||
|
padding: $space-one $space-two;
|
||
|
text-decoration: none;
|
||
|
transition: background-color $base-duration $base-timing;
|
||
|
user-select: none;
|
||
|
vertical-align: middle;
|
||
|
white-space: nowrap;
|
||
|
|
||
|
&:hover {
|
||
|
background-color: mix($black, $color-woot, 20%);
|
||
|
color: $white;
|
||
|
}
|
||
|
|
||
|
&:focus {
|
||
|
outline: $focus-outline;
|
||
|
outline-offset: $focus-outline-offset;
|
||
|
}
|
||
|
|
||
|
&:disabled {
|
||
|
cursor: not-allowed;
|
||
|
opacity: 0.5;
|
||
|
|
||
|
&:hover {
|
||
|
background-color: $color-woot;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.button--alt {
|
||
|
background-color: transparent;
|
||
|
border: $base-border;
|
||
|
border-color: $blue;
|
||
|
color: $blue;
|
||
|
margin-bottom: $base-spacing;
|
||
|
}
|