Sha256: f285bfa4a485822e02054c4ff9565ce9bf3a51f96740fe152d51031320279555

Contents?: true

Size: 749 Bytes

Versions: 6

Compression:

Stored size: 749 Bytes

Contents

@import 'facades/utilities';

// Creates a horizontal list, generally used for navigation elements.
@mixin inline-list($padding: false) {
	@include box-reset;
	@include clearfix;
  	@include no-list;	
	li{ @include inline-block;
		white-space:nowrap;
		@if $padding{
			padding-left:$padding;
			padding-right:$padding;
		}
	}
}

// 'alias' for compass compatability
@mixin inline-block-list($padding:false){
	@include inline-list($padding);
}

// Remove list bullets for a particular list item
@mixin no-bullet {
	list-style-image : none;
	list-style-type  : none;
	margin-left      : 0px;
}

// Convert a list into "not" a list.. removing all bullets and padding.
@mixin no-list {
	list-style: none;
	padding-left:0;
	li { @include no-bullet; }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
facades-0.1.0 lib/facades/stylesheets/facades/typography/_lists.scss
facades-0.0.7 lib/facades/stylesheets/facades/typography/_lists.scss
facades-0.0.6 lib/facades/stylesheets/facades/typography/_lists.scss
facades-0.0.5 lib/facades/stylesheets/facades/typography/_lists.scss
facades-0.0.4 lib/facades/stylesheets/facades/typography/_lists.scss
facades-0.0.3 lib/facades/stylesheets/facades/typography/_lists.scss