Sha256: dcfcf2a821e33574935e9c555888232514bbdf4851ed4e6153ae8e673ac6873e

Contents?: true

Size: 1.48 KB

Versions: 26

Compression:

Stored size: 1.48 KB

Contents

// Filter
@import "compass/support";

// The prefixed support threshold for css filter effects.
// Defaults to the $graceful-usage-threshold.
$filter-support-threshold: $graceful-usage-threshold !default;


// Provides cross-browser support for the upcoming (?) css3 filter property.
//
// The filter argument should adhere to the standard css3 syntax
// for the filter property.
@mixin filter($filters) {
  @include prefixed-properties(css-filters, $filter-support-threshold,(
    filter: $filters
  ));
}

// @private Apply filter-margins
@mixin apply-filter-margin($position, $width) {
  @include prefixed-properties(css-filters, $filter-support-threshold,(
    filter-margin-#{$position}: $width
  ));
}

// filter-margin-top
@mixin filter-margin-top($width) { @include apply-filter-margin(top, $width); }

// filter-margin-right
@mixin filter-margin-right($width) { @include apply-filter-margin(right, $width); }

// filter-margin-bottom
@mixin filter-margin-bottom($width) { @include apply-filter-margin(bottom, $width); }

// filter-margin-left
@mixin filter-margin-left($width) { @include apply-filter-margin(left, $width); }

// filter-margin
@mixin filter-margin($widths) {
  @include prefixed-properties(css-filters, $filter-support-threshold,(
    filter-margin: $widths
  ));
}

// color-interpolation-filters (auto | sRGB | linearRGB )
@mixin color-interpolation-filters($value) {
  @include prefixed-properties(css-filters, $filter-support-threshold,(
    color-interpolation-filters: $value
  ));
}

Version data entries

26 entries across 26 versions & 4 rubygems

Version Path
arcabouco-0.2.13 vendor/bundle/gems/compass-core-1.0.3/stylesheets/compass/css3/_filter.scss
gem_2345-0.1.2 stylesheets/compass/css3/_filter.scss
compass-core-1.0.3 stylesheets/compass/css3/_filter.scss
compass-core-1.1.0.alpha.3 stylesheets/compass/css3/_filter.scss
compass-core-1.1.0.alpha.2 stylesheets/compass/css3/_filter.scss
compass-core-1.1.0.alpha.1 stylesheets/compass/css3/_filter.scss
compass-core-1.1.0.alpha.0 stylesheets/compass/css3/_filter.scss
compass-core-1.0.1 stylesheets/compass/css3/_filter.scss
compass-core-1.0.0 stylesheets/compass/css3/_filter.scss
compass-core-1.0.0.rc.1 stylesheets/compass/css3/_filter.scss
compass-core-1.0.0.rc.0 stylesheets/compass/css3/_filter.scss
compass-core-1.0.0.alpha.21 stylesheets/compass/css3/_filter.scss
compass-core-1.0.0.alpha.20 stylesheets/compass/css3/_filter.scss
compass-core-1.0.0.alpha.19 stylesheets/compass/css3/_filter.scss
compass-core-1.0.0.alpha.17 stylesheets/compass/css3/_filter.scss
compass-core-1.0.0.alpha.16 stylesheets/compass/css3/_filter.scss
compass-core-1.0.0.alpha.15 stylesheets/compass/css3/_filter.scss
compass-core-1.0.0.alpha.14 stylesheets/compass/css3/_filter.scss
compass-core-1.0.0.alpha.13 stylesheets/compass/css3/_filter.scss
compass-0.13.alpha.12 frameworks/compass/stylesheets/compass/css3/_filter.scss