Sha256: 39ec58536598b1c290e8bac13cb01e4debdbad9d158dcbeef01b837ccafa4dba

Contents?: true

Size: 505 Bytes

Versions: 1

Compression:

Stored size: 505 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
comixins-0.1.2 vendor/assets/stylesheets/compass/functions/_constants.scss