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.
 
 
 
 

50 lines
1.1 KiB

///
/// 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;
}
}