Sha256: 92ac490a9d3f100ed12abad113633446a8f39fa535d9c5563a665001fcf08fca

Contents?: true

Size: 1.03 KB

Versions: 3

Compression:

Stored size: 1.03 KB

Contents

// -----------------------------------------
// STICKY FOOTER
// Slight modification from Compass' footer
// Structure must be:
// <body>
//   <div id="main-wrapper">
//     ...
//     <div id="footer-push"></div>
//   </div>
//   <footer class=".main-footer"></footer>
// </body>
// -----------------------------------------

@mixin sticky-footer($height,
					$wrapper       : '#main-wrapper',
					$footer-push   : '#footer-push',
					$footer        : '.main-footer',
					$containerize  : false) {
	html, body {
		height : 100%;
		@if $containerize { background-color: #eee; }
	}
	#{$wrapper} {
		min-height : 100%;
		height     : auto !important;
		height     : 100%;
		margin     : 0 auto ($height * -1);
		@if $containerize {
			max-width  : 1440px; 
			background : $body-bg;
			@include box-shadow(0px 0px 20px rgba(black, 0.2) );
		}
	}
	#{$footer}, #{$footer-push} {
		margin     : 0 auto;
		height     : $height;
		@if $containerize {
			max-width  : 1440px;
		}
	}

	#{$footer} {
		height : auto;
	}
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
edge_framework-0.9.0 assets/sass/edge/helpers/_sticky-footer.scss
edge_framework-0.8.1 assets/sass/edge/helpers/_sticky-footer.scss
edge_framework-0.6.1 assets/sass/edge/helpers/_sticky-footer.scss