Sha256: e0ede061c5a19ad9e09e6c92b7952aea0a837bfb53ff551c4e13ead0f7808fa4

Contents?: true

Size: 635 Bytes

Versions: 5

Compression:

Stored size: 635 Bytes

Contents

// Based on http://ryanfait.com/resources/footer-stick-to-bottom-of-page/
// Mix into the top level.
// Footer element must be outside of root wrapper element.
// Footer must be a fixed height.

=sticky-footer(!footer_height, !root_selector = "#root", !root_footer_selector = "#root_footer", !footer_selector = "#footer")
  html, body
    height: 100%
  #{!root_selector}
    clear: both
    min-height: 100%
    height: auto !important
    height: 100%
    margin-bottom= -!footer_height
    #{!root_footer_selector}
      height= !footer_height
  #{!footer_selector}
    clear: both
    position: relative
    height= !footer_height

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
compass-0.10.0.rc1 frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass
compass-0.10.0.pre9 frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass
compass-0.10.0.pre8 frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass
compass-0.10.0.pre7 frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass
compass-0.10.0.pre6 frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass