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.
87 lines
1.8 KiB
87 lines
1.8 KiB
/// |
|
/// Multiverse 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', |
|
'box-shadow #{_duration(transition)} ease-in-out', |
|
'color #{_duration(transition)} ease-in-out' |
|
)); |
|
background-color: transparent; |
|
border: 0; |
|
border-radius: 0; |
|
box-shadow: inset 0 0 0 2px _palette(border); |
|
color: _palette(fg-bold) !important; |
|
cursor: pointer; |
|
display: inline-block; |
|
font-size: 0.9em; |
|
font-weight: _font(weight-bold); |
|
height: _size(element-height) * (1 / 0.9); |
|
letter-spacing: _font(kerning-alt); |
|
line-height: _size(element-height) * (1 / 0.9); |
|
padding: 0 2.5em; |
|
text-align: center; |
|
text-decoration: none; |
|
text-transform: uppercase; |
|
white-space: nowrap; |
|
|
|
&:hover { |
|
box-shadow: inset 0 0 0 2px _palette(accent1); |
|
color: _palette(accent1) !important; |
|
|
|
&:active { |
|
background-color: transparentize(_palette(accent1), 0.85); |
|
color: _palette(accent1) !important; |
|
} |
|
} |
|
|
|
&.icon { |
|
padding-left: 1.35em; |
|
|
|
&:before { |
|
margin-right: 0.5em; |
|
} |
|
} |
|
|
|
&.fit { |
|
width: 100%; |
|
} |
|
|
|
&.small { |
|
font-size: 0.8em; |
|
} |
|
|
|
&.large { |
|
font-size: 1.35em; |
|
} |
|
|
|
&.primary { |
|
background-color: _palette(accent1); |
|
box-shadow: none; |
|
|
|
&:hover { |
|
background-color: lighten(_palette(accent1), 10); |
|
color: _palette(fg-bold) !important; |
|
|
|
&:active { |
|
background-color: darken(_palette(accent1), 10); |
|
} |
|
} |
|
} |
|
|
|
&.disabled, |
|
&:disabled { |
|
@include vendor('pointer-events', 'none'); |
|
opacity: 0.35; |
|
} |
|
} |