2012-11-28 12:09:54 +01:00
|
|
|
// ===========================================================================
|
|
|
|
// LISTS
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-11-28 17:23:08 +01:00
|
|
|
@mixin horizontal-list($break-setting: false) {
|
|
|
|
@if $break-setting == $break-iPhone { @extend %clearfix-iPhone; }
|
|
|
|
@if $break-setting == $break-iPhone-wide { @extend %clearfix-iPhone-wide; }
|
|
|
|
@if $break-setting == $break-iPad { @extend %clearfix-iPad; }
|
|
|
|
@else { @extend %clearfix; }
|
|
|
|
|
2012-11-28 12:09:54 +01:00
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
li {
|
|
|
|
@include float-left;
|
|
|
|
margin: 0 2em 0 0;
|
|
|
|
|
|
|
|
&:last-child { margin-right: 0; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-11-28 17:23:08 +01:00
|
|
|
%horizontal-list { @include horizontal-list; }
|
|
|
|
|
|
|
|
@include at-breakpoint($break-iPhone) {
|
|
|
|
%horizontal-list-iPhone { @include horizontal-list($break-iPhone); }
|
|
|
|
}
|
|
|
|
|
|
|
|
@include at-breakpoint($break-iPhone-wide) {
|
|
|
|
%horizontal-list-iPhone-wide { @include horizontal-list($break-iPhone-wide); }
|
|
|
|
}
|
|
|
|
|
|
|
|
@include at-breakpoint($break-iPad) {
|
|
|
|
%horizontal-list-iPad { @include horizontal-list($break-iPad); }
|
|
|
|
}
|
|
|
|
|
2012-11-28 12:09:54 +01:00
|
|
|
|
|
|
|
|
2012-11-28 13:46:51 +01:00
|
|
|
ul {
|
|
|
|
@extend %block-text;
|
|
|
|
list-style-position: inside;
|
|
|
|
}
|