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