Sha256: daa58fe09be1eccd6e2a39ab8526f2f98bc9d35c7a88bb2de91842225e9fd909

Contents?: true

Size: 829 Bytes

Versions: 2

Compression:

Stored size: 829 Bytes

Contents

@import "../../css3/shared";

// To get full firefox support, you must install the ellipsis pattern:
//
//     compass install compass/ellipsis
$use-mozilla-ellipsis-binding: false !default;

// This technique, by [Justin Maxwell](http://code404.com/), was originally
// published [here](http://mattsnider.com/css/css-string-truncation-with-ellipsis/).
// Firefox implementation by [Rikkert Koppes](http://www.rikkertkoppes.com/thoughts/2008/6/).
@mixin ellipsis($no-wrap: true) {
  @if $no-wrap { white-space: nowrap; }
  overflow: hidden;
  @include experimental(text-overflow, ellipsis,
    not(-moz),
    not(-webkit),
    -o,
    -ms,
    not(-khtml),
    official
  );
  @if $experimental-support-for-mozilla and $use-mozilla-ellipsis-binding {
    -moz-binding: stylesheet-url(unquote("xml/ellipsis.xml#ellipsis"));
  }
}

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
comixins-0.1.2 vendor/assets/stylesheets/compass/typography/text/_ellipsis.scss
ghost-manager-1.0.0 magneto/source/assets/bower_components/compass-mixins/lib/compass/typography/text/_ellipsis.scss