Sha256: 0f0ae4530b14bb7d2adfeb68f7206175052162bac9ae5d5282dd2c19d84ee31c

Contents?: true

Size: 426 Bytes

Versions: 2

Compression:

Stored size: 426 Bytes

Contents

@mixin fixed($removal-breakpoint) {
  .fixed {
    position: fixed;
    &.pinned {
      position: absolute;
    }
    @if $removal-breakpoint != false {
      @include respond($removal-breakpoint) {
        position: relative !important;
        top: auto !important;
        left: auto !important;
      }
    }
  }

  .unfixed {
    position: relative !important;
    top: auto !important;
    left: auto !important;
  }
}

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
gumby_on_rails-0.0.1 app/assets/stylesheets/gumby/functions/_fixed.scss
middleman-gumby-0.0.1 vendor/assets/sass/functions/_fixed.scss