Sha256: 58aef80d439205935b0aa3f04bccd4280fb91378831c8197dc717bb474923909

Contents?: true

Size: 1.52 KB

Versions: 3

Compression:

Stored size: 1.52 KB

Contents

// Foundation by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source

@import 'global';

//
// @variables
//
$include-html-inline-list-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: rem-calc(17) !default;
$inline-list-default-float-margin: rem-calc(-22) !default;
$inline-list-default-float-list-margin: rem-calc(22) !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 elements within list items
$inline-list-children-display: block !default;

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

  > li {
    display: $inline-list-display;
    float: $default-float;
    list-style: none;
    margin-#{$default-float}: $inline-list-default-float-list-margin;
    > * { display: $inline-list-children-display; }
  }
}

@include exports("inline-list") {
  @if $include-html-inline-list-classes {
    .inline-list {
      @include inline-list();
    }
  }
}

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
paint-rails-0.7.24 vendor/assets/stylesheets/bower_components/foundation/scss/foundation/components/_inline-lists.scss
foundation-rails-5.5.2.1 vendor/assets/stylesheets/foundation/components/_inline-lists.scss
foundation-rails-5.5.2.0 vendor/assets/stylesheets/foundation/components/_inline-lists.scss