Spaces:
Running
Running
File size: 1,768 Bytes
8e2147d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
///
/// Dimension 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');
background-color: transparent;
border-radius: _size(border-radius);
border: 0;
box-shadow: inset 0 0 0 _size(border-width) _palette(border);
color: _palette(fg-bold) !important;
cursor: pointer;
display: inline-block;
font-size: 0.8rem;
font-weight: _font(weight);
height: _size(element-height);
letter-spacing: _font(letter-spacing);
line-height: _size(element-height);
outline: 0;
padding: 0 1.25rem 0 (1.25rem + (_font(letter-spacing) * 0.5));
text-align: center;
text-decoration: none;
text-transform: uppercase;
white-space: nowrap;
&:hover {
background-color: _palette(border-bg);
}
&:active {
background-color: _palette(border-bg-alt);
}
&.icon {
&:before {
margin-right: 0.5em;
}
}
&.fit {
width: 100%;
}
&.small {
font-size: 0.6rem;
height: (_size(element-height) * 0.75);
line-height: (_size(element-height) * 0.75);
}
&.primary {
background-color: _palette(fg-bold);
color: _palette(bg) !important;
font-weight: _font(weight-bold);
&:hover {
}
&:active {
}
}
&.disabled,
&:disabled {
@include vendor('pointer-events', 'none');
cursor: default;
opacity: 0.25;
}
}
input[type="submit"],
input[type="reset"],
input[type="button"],
button {
line-height: calc(#{_size(element-height)} - 2px);
} |