mirror of
https://github.com/ArcticFoxes-net/arcticfoxes.net
synced 2024-11-18 09:21:32 -05:00
50 lines
1.1 KiB
SCSS
50 lines
1.1 KiB
SCSS
|
///
|
||
|
/// Eventually by HTML5 UP
|
||
|
/// html5up.net | @ajlkn
|
||
|
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||
|
///
|
||
|
|
||
|
/* Button */
|
||
|
|
||
|
input[type="submit"],
|
||
|
input[type="reset"],
|
||
|
input[type="button"],
|
||
|
button,
|
||
|
.button {
|
||
|
@include vendor('appearance', 'none');
|
||
|
@include vendor('transition', (
|
||
|
'background-color #{_duration(transition)} ease-in-out',
|
||
|
'color #{_duration(transition)} ease-in-out',
|
||
|
'opacity #{_duration(transition)} ease-in-out'
|
||
|
));
|
||
|
background-color: _palette(accent, bg);
|
||
|
border-radius: _size(border-radius);
|
||
|
border: 0;
|
||
|
color: _palette(accent, fg-bold) !important;
|
||
|
cursor: pointer;
|
||
|
display: inline-block;
|
||
|
font-weight: _font(weight-bold);
|
||
|
height: _size(element-height);
|
||
|
line-height: _size(element-height);
|
||
|
padding: 0 1.125em;
|
||
|
text-align: center;
|
||
|
text-decoration: none;
|
||
|
white-space: nowrap;
|
||
|
|
||
|
&:hover {
|
||
|
background-color: lighten(_palette(accent, bg), 5);
|
||
|
}
|
||
|
|
||
|
&:active {
|
||
|
background-color: darken(_palette(accent, bg), 5);
|
||
|
}
|
||
|
|
||
|
&.disabled,
|
||
|
&:disabled {
|
||
|
opacity: 0.5;
|
||
|
}
|
||
|
|
||
|
@include breakpoint('<=xsmall') {
|
||
|
padding: 0;
|
||
|
}
|
||
|
}
|