Sha256: 399527d8c501cc6006c8a4559509519efd5b7a640fec66ea880832843850acab

Contents?: true

Size: 1.34 KB

Versions: 2

Compression:

Stored size: 1.34 KB

Contents

//
// Inline List Variables
//
$include-html-global-classes: $include-html-classes !default;

// We use this to control the margins and padding of the inline list.
$inline-list-top-margin: 0 !default;
$inline-list-opposite-margin: 0 !default;
$inline-list-bottom-margin: emCalc(17px) !default;
$inline-list-default-float-margin: emCalc(-22px) !default;

$inline-list-padding: 0 !default;

// We use this to control the overflow of the inline list.
$inline-list-overflow: hidden !default;

// We use this to control the list items
$inline-list-display: block !default;

// We use this to control any elments within list items
$inline-list-children-display: block !default;

//
// Inline List Mixins
//

// We use this mixin to create inline lists
@mixin inline-list {
  margin: $inline-list-top-margin auto $inline-list-bottom-margin auto;
  margin-#{$default-float}: $inline-list-default-float-margin;
  margin-#{$opposite-direction}: $inline-list-opposite-margin;
  padding: $inline-list-padding;
  list-style: none;
  overflow: $inline-list-overflow;

  & > li {
    list-style: none;
    float: $default-float;
    margin-#{$default-float}: emCalc(22px);
    display: $inline-list-display;
    &>* { display: $inline-list-children-display; }
  }
}


@if $include-html-global-classes != false {

  /* Inline Lists */
  .inline-list {
    @include inline-list();
  }

}

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
webgen-zurb_foundation-bundle-1.0.0 lib/webgen/bundle/zurb_foundation/data/css/foundation/components/_inline-lists.scss
zurb-foundation-4.2.2 scss/foundation/components/_inline-lists.scss