Sha256: b3bb22abe2d082c4bc6886b3a78ed82165087f75acc58c409d6b8190bf7859af

Contents?: true

Size: 504 Bytes

Versions: 1

Compression:

Stored size: 504 Bytes

Contents

/*
 * A partial implementation of the Ruby constants functions from Compass:
 * https://github.com/Compass/compass/blob/stable/lib/compass/sass_extensions/functions/constants.rb
 */

@function opposite-position($from) {
    @if ($from == top) {
        @return bottom;
    } @else if ($from == bottom) {
        @return top;
    } @else if ($from == left) {
        @return right;
    } @else if ($from == right) {
        @return left;
    } @else if ($from == center) {
        @return center;
    }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ghost-manager-1.0.0 magneto/source/assets/bower_components/compass-mixins/lib/compass/functions/_constants.scss