Sha256: 3a00b922247352b295631399b57ee7daa53cfce52dd1e1a1336a213e258241d5

Contents?: true

Size: 1.05 KB

Versions: 62

Compression:

Stored size: 1.05 KB

Contents

/*------------------------------------*\
    #BUTTON
\*------------------------------------*/

$button-color:            $white !default;
$button-bg-color:         $link-color !default;

$button-padding:          7px 12px !default;
$button-small-padding:    6px 10px !default;
$button-large-padding:    14px 18px !default;

$button-font-size:        $font-size !default;
$button-small-font-size:  $font-size - 2px !default;
$button-large-font-size:  $font-size + 8px !default;


/**
 * 1. ensure button text won't receive an underline on hover
 */
.button {
    @extend %button-reset;
    display: inline-block;
    padding: $button-padding;
    color: $button-color;
    font-size: $button-font-size;
    background: $button-bg-color;
    cursor: pointer;

    &:hover {
        text-decoration: none; /* [1] */
    }
}

.button--small {
    padding: $button-small-padding;
    font-size: $button-small-font-size;
}

.button--large {
    padding: $button-large-padding;
    font-size: $button-large-font-size;
}

.button--full {
    width: 100%;
    text-align: center;
}

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-storefront-3.4.27 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.5.4 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.4.26 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.5.3 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.4.25 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.5.2 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.4.24 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.5.1 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.4.23 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.4.22 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.5.0 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.4.21 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.5.0.beta.1 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.4.20 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.4.19 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.4.18 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.4.17 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.4.16 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.4.15 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.4.14 app/assets/stylesheets/workarea/storefront/components/_button.scss