2018-02-25 00:49:23 +01:00
|
|
|
///
|
2018-04-23 23:14:38 +02:00
|
|
|
/// Solid State by HTML5 UP
|
2018-02-25 00:49:23 +01:00
|
|
|
/// 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');
|
2018-04-23 23:14:38 +02:00
|
|
|
@include vendor('transition', 'background-color #{_duration(transition)} ease-in-out');
|
2018-02-25 00:49:23 +01:00
|
|
|
background-color: transparent;
|
|
|
|
border-radius: _size(border-radius);
|
|
|
|
border: 0;
|
2018-04-23 23:14:38 +02:00
|
|
|
box-shadow: inset 0 0 0 2px _palette(border);
|
2018-02-25 00:49:23 +01:00
|
|
|
color: _palette(fg-bold) !important;
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
2018-04-23 23:14:38 +02:00
|
|
|
font-family: _font(family-heading);
|
|
|
|
font-size: 0.8em;
|
|
|
|
font-weight: _font(weight-heading-bold);
|
|
|
|
height: 3.75em;
|
|
|
|
letter-spacing: _font(kern-heading);
|
|
|
|
line-height: 3.75em;
|
|
|
|
padding: 0 2.25em;
|
2018-02-25 00:49:23 +01:00
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
|
|
|
text-transform: uppercase;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: _palette(border-bg);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2018-04-23 23:14:38 +02:00
|
|
|
background-color: _palette(border2-bg);
|
2018-02-25 00:49:23 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&.icon {
|
|
|
|
&:before {
|
|
|
|
margin-right: 0.5em;
|
2018-04-23 23:14:38 +02:00
|
|
|
color: _palette(fg-light);
|
2018-02-25 00:49:23 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.special {
|
2018-04-23 23:14:38 +02:00
|
|
|
background-color: _palette(accent);
|
|
|
|
box-shadow: none;
|
2018-02-25 00:49:23 +01:00
|
|
|
|
|
|
|
&:hover {
|
2018-04-23 23:14:38 +02:00
|
|
|
background-color: desaturate(lighten(_palette(accent), 3), 1.5);
|
2018-02-25 00:49:23 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2018-04-23 23:14:38 +02:00
|
|
|
background-color: saturate(darken(_palette(accent), 3), 1.5);
|
2018-02-25 00:49:23 +01:00
|
|
|
}
|
2018-04-23 23:14:38 +02:00
|
|
|
|
|
|
|
&.icon {
|
|
|
|
&:before {
|
|
|
|
color: mix(_palette(fg-bold), _palette(accent), 25%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.fit {
|
|
|
|
display: block;
|
|
|
|
margin: 0 0 (_size(element-margin) * 0.5) 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.small {
|
|
|
|
font-size: 0.6em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.big {
|
|
|
|
font-size: 1em;
|
2018-02-25 00:49:23 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled,
|
|
|
|
&:disabled {
|
|
|
|
opacity: 0.25;
|
|
|
|
}
|
|
|
|
|
2018-04-23 23:14:38 +02:00
|
|
|
@include breakpoint(xsmall) {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2018-02-25 00:49:23 +01:00
|
|
|
}
|