Sha256: be2979727308f1502c81d80a33522a3846d5401dcbe6eb97e0c2dca0db59426a

Contents?: true

Size: 1.02 KB

Versions: 8

Compression:

Stored size: 1.02 KB

Contents

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

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
edge_framework-0.5.0 assets/sass/edge/helpers/_sticky-footer.scss
edge_framework-0.3.0 assets/sass/edge/helpers/_sticky-footer.scss
edge_framework-0.2.3 assets/sass/edge/helpers/_sticky-footer.scss
edge_framework-0.2.1 assets/sass/edge/helpers/_sticky-footer.scss
edge_framework-0.2.0 assets/sass/edge/helpers/_sticky-footer.scss
edge_framework-0.1.0 assets/sass/edge/helpers/_sticky-footer.scss
edge_framework-0.0.3 assets/sass/edge/helpers/_sticky-footer.scss
edge_framework-0.0.2 assets/sass/edge/helpers/_sticky-footer.scss