Sha256: 6b6cc6275f8c6d7e3891a0826fae88482c09ed39549ae9bd624c4bc3d5ed9505

Contents?: true

Size: 1.18 KB

Versions: 62

Compression:

Stored size: 1.18 KB

Contents

/*------------------------------------*\
    #SVG-ICON
\*------------------------------------*/

// TODO: v4 use explicit pixel values
$svg-icon-size:              $spacing-unit * 3;
$svg-icon-small-size:        $spacing-unit * 2;
$svg-icon-large-size:        $spacing-unit * 4;
$svg-icon-extra-large-size:  $spacing-unit * 6;


.svg-icon {
    display: inline-block;
    width: $svg-icon-size;
    height: $svg-icon-size;
    vertical-align: middle;
}

/**
 * Display modifiers
 */
.svg-icon--block {
    display: block;
}


/**
 * Size Modifiers
 */
.svg-icon--small {
    width: $svg-icon-small-size;
    height: $svg-icon-small-size;
}

.svg-icon--large {
    width: $svg-icon-large-size;
    height: $svg-icon-large-size;
}

.svg-icon--extra-large {
    width: $svg-icon-extra-large-size;
    height: $svg-icon-extra-large-size;
}


/**
 * Color Modifiers
 */
.svg-icon--blue { fill: $blue; }
.svg-icon--yellow { fill: $yellow; }
.svg-icon--red { fill: $red; }
.svg-icon--green { fill: $green; }
.svg-icon--white { fill: $white; }
.svg-icon--gray { fill: $gray; }
.svg-icon--black { fill: $black; }
.svg-icon--black-alpha-15 { fill: $black-alpha-15; }
.svg-icon--black-alpha-50 { fill: $black-alpha-50; }

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-storefront-3.5.15 app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss
workarea-storefront-3.4.36 app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss
workarea-storefront-3.5.14 app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss
workarea-storefront-3.4.35 app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss
workarea-storefront-3.5.13 app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss
workarea-storefront-3.4.34 app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss
workarea-storefront-3.5.12 app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss
workarea-storefront-3.4.33 app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss
workarea-storefront-3.5.11 app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss
workarea-storefront-3.5.10 app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss
workarea-storefront-3.4.32 app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss
workarea-storefront-3.5.9 app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss
workarea-storefront-3.4.31 app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss
workarea-storefront-3.5.8 app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss
workarea-storefront-3.4.30 app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss
workarea-storefront-3.5.7 app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss
workarea-storefront-3.4.29 app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss
workarea-storefront-3.5.6 app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss
workarea-storefront-3.4.28 app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss
workarea-storefront-3.5.5 app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss