Sha256: 5b237f0993b871d699c0b03385da75dc894d89918d11f84788b479eabb5f0d09
Contents?: true
Size: 1.76 KB
Versions: 39
Compression:
Stored size: 1.76 KB
Contents
/* 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 2px _palette(accent); color: _palette(accent) !important; cursor: pointer; display: inline-block; font-family: _font(family-heading); font-size: 0.8em; font-weight: _font(weight-heading); height: 3.5em; letter-spacing: _font(kerning-heading); line-height: 3.5em; padding: 0 2.25em; text-align: center; text-decoration: none; text-transform: uppercase; white-space: nowrap; &:hover { background-color: transparentize(_palette(accent), 0.95); } &:active { background-color: transparentize(_palette(accent), 0.85); } &.icon { &:before { margin-right: 0.5em; } } &.fit { width: 100%; } &.small { font-size: 0.6em; } &.large { font-size: 1em; height: 3.65em; line-height: 3.65em; } &.primary { background-color: _palette(accent); box-shadow: none; color: _palette(bg) !important; &:hover { background-color: lighten(_palette(accent), 3); } &:active { background-color: darken(_palette(accent), 3); } } &.disabled, &:disabled { @include vendor('pointer-events', 'none'); opacity: 0.25; } }
Version data entries
39 entries across 39 versions & 1 rubygems