Sha256: 42a0e6a66e1543acca8a5b121350f3227dae50f8d26e5a3a4a952241a3c238c1

Contents?: true

Size: 738 Bytes

Versions: 16

Compression:

Stored size: 738 Bytes

Contents

// makes a list inline.

@mixin inline-list {
  list-style-type: none;
  &, & li {
    margin: 0px;
    padding: 0px;
    display: inline;
  }
}

// makes an inline list that is comma delimited.
// Please make note of the browser support issues before using this mixin.
//
// use of `content` and `:after` is not fully supported in all browsers.
// See quirksmode for the [support matrix](http://www.quirksmode.org/css/contents.html#t15)
//
// `:last-child` is not fully supported.
// see quirksmode for the [support matrix](http://www.quirksmode.org/css/contents.html#t29).

@mixin comma-delimited-list {
  @include inline-list;
  li {
    &:after { content: ", "; }
    &:last-child, &.last {
      &:after { content: ""; }
    }
  }
}

Version data entries

16 entries across 13 versions & 2 rubygems

Version Path
frontsau-0.0.3 lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/lists/_inline-list.scss
frontsau-0.0.3 lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss
frontsau-0.0.2 lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/lists/_inline-list.scss
frontsau-0.0.2 lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss
frontsau-0.0.1 lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss
frontsau-0.0.1 lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/lists/_inline-list.scss
compass-0.10.6 frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss
compass-0.10.6.pre.1 frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss
compass-0.10.5 frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss
compass-0.10.5.pre.1 frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss
compass-0.10.4 frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss
compass-0.10.4.pre.4 frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss
compass-0.10.4.pre.3 frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss
compass-0.10.4.pre.2 frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss
compass-0.10.3 frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss
compass-0.10.3.pre.1 frameworks/compass/stylesheets/compass/utilities/lists/_inline-list.scss