1
// Inline-Block list layout module.
3
// Easy mode using simple descendant li selectors:
6
// @import inline-block-list;
10
// If you need to target the list items using a different selector then use
11
// `@include inline-block-list-container` on your ul/ol and
12
// `@include inline-block-list-item` on your li. This may help when working
13
// on layouts involving nested lists. For example:
16
// @include inline-block-list-container;
18
// @include inline-block-list-item;
23
@import "horizontal-list";
24
@import "compass/utilities/general/float";
25
@import "compass/css3/inline-block";
27
// Can be mixed into any selector that target a ul or ol that is meant
28
// to have an inline-block layout. Used to implement `inline-block-list`.
29
@mixin inline-block-list-container {
30
@include horizontal-list-container; }
32
// Can be mixed into any li selector that is meant to participate in a horizontal layout.
33
// Used to implement `inline-block-list`.
34
@mixin inline-block-list-item($padding: false) {
36
@include inline-block;
46
// A list(ol,ul) that is layed out such that the elements are inline-block and won't wrap.
47
@mixin inline-block-list($padding: false) {
48
@include inline-block-list-container;
50
@include inline-block-list-item($padding); } }