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.5.27 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.5.26 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.4.45 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.5.25 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.5.23 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.4.44 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.5.22 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.4.43 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.5.21 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.4.42 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.5.20 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.4.41 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.5.19 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.4.40 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.5.18 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.4.39 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.5.17 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.4.38 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.5.16 app/assets/stylesheets/workarea/storefront/components/_button.scss
workarea-storefront-3.4.37 app/assets/stylesheets/workarea/storefront/components/_button.scss