Sha256: 5cd46b6fa20395490548b644cbbfafba4eae1ced16c88ff912d56e07555c2f92

Contents?: true

Size: 832 Bytes

Versions: 79

Compression:

Stored size: 832 Bytes

Contents

@import "compass/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

79 entries across 75 versions & 9 rubygems

Version Path
egghead-styles-1.0.82 app/assets/stylesheets/plugins/compass/compass/typography/text/_ellipsis.scss
egghead-styles-1.0.81 app/assets/stylesheets/plugins/compass/compass/typography/text/_ellipsis.scss
egghead-styles-1.0.80 app/assets/stylesheets/plugins/compass/compass/typography/text/_ellipsis.scss
egghead-styles-1.0.79 app/assets/stylesheets/plugins/compass/compass/typography/text/_ellipsis.scss
egghead-styles-1.0.78 app/assets/stylesheets/plugins/compass/compass/typography/text/_ellipsis.scss
egghead-styles-1.0.77 app/assets/stylesheets/plugins/compass/compass/typography/text/_ellipsis.scss
egghead-styles-1.0.76 app/assets/stylesheets/plugins/compass/compass/typography/text/_ellipsis.scss
egghead-styles-1.0.75 app/assets/stylesheets/plugins/compass/compass/typography/text/_ellipsis.scss
egghead-styles-1.0.74 app/assets/stylesheets/plugins/compass/compass/typography/text/_ellipsis.scss
egghead-styles-1.0.73 app/assets/stylesheets/plugins/compass/compass/typography/text/_ellipsis.scss
frontsau-0.0.3 lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/text/_ellipsis.scss
frontsau-0.0.3 lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.scss
frontsau-0.0.2 lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.scss
frontsau-0.0.2 lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/text/_ellipsis.scss
frontsau-0.0.1 lib/Phamlp/sass/extensions/compass/stylesheets/compass/utilities/text/_ellipsis.scss
frontsau-0.0.1 lib/Phamlp/sass/extensions/compass/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.scss
compass-0.12.7 frameworks/compass/stylesheets/compass/typography/text/_ellipsis.scss
sadui-0.0.4 vendor/bundle/ruby/2.0.0/gems/compass-0.12.3/frameworks/compass/stylesheets/compass/typography/text/_ellipsis.scss
sadui-0.0.4 vendor/bundle/ruby/2.1.0/gems/compass-0.12.3/frameworks/compass/stylesheets/compass/typography/text/_ellipsis.scss
compass-0.12.6 frameworks/compass/stylesheets/compass/typography/text/_ellipsis.scss