Sha256: 036fe9ec3862fe769f01c02ee4b9e2bd7e476de4f098a9e802f3a4a51b17ebab

Contents?: true

Size: 1.89 KB

Versions: 27

Compression:

Stored size: 1.89 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: _palette(accent);
        color: _palette(accent-cp) !important;
    }

    &:active {
        background-color: _palette(accent);
        color: _palette(accent-cp) !important;
    }

    &.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: _palette(accent-cp);
            color: _palette(accent) !important;
        }

        &:active {
            background-color: _palette(accent-cp);
            color: _palette(accent) !important;
        }
    }

    &.disabled,
    &:disabled {
        @include vendor('pointer-events', 'none');
        opacity: 0.25;
    }
}

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
jekyll-theme-consulting-0.11.24 _sass/main/components/_button.scss
jekyll-theme-consulting-0.11.23 _sass/main/components/_button.scss
jekyll-theme-consulting-0.11.22 _sass/main/components/_button.scss
jekyll-theme-consulting-0.11.21 _sass/main/components/_button.scss
jekyll-theme-consulting-0.11.20 _sass/main/components/_button.scss
jekyll-theme-consulting-0.11.19 _sass/main/components/_button.scss
jekyll-theme-consulting-0.11.18 _sass/main/components/_button.scss
jekyll-theme-consulting-0.11.17 _sass/main/components/_button.scss
jekyll-theme-consulting-0.11.15 _sass/main/components/_button.scss
jekyll-theme-consulting-0.11.14 _sass/main/components/_button.scss
jekyll-theme-consulting-0.11.13 _sass/main/components/_button.scss
jekyll-theme-consulting-0.11.12 _sass/main/components/_button.scss
jekyll-theme-consulting-0.11.11 _sass/main/components/_button.scss
jekyll-theme-consulting-0.11.10 _sass/main/components/_button.scss
jekyll-theme-consulting-0.11.9 _sass/main/components/_button.scss
jekyll-theme-consulting-0.11.8 _sass/main/components/_button.scss
jekyll-theme-consulting-0.11.7 _sass/main/components/_button.scss
jekyll-theme-consulting-0.11.6 _sass/main/components/_button.scss
jekyll-theme-consulting-0.11.5 _sass/main/components/_button.scss
jekyll-theme-consulting-0.11.4 _sass/main/components/_button.scss