X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=assets%2Fsass%2Fbourbon%2Fbourbon%2Flibrary%2F_ellipsis.scss;fp=assets%2Fsass%2Fbourbon%2Fbourbon%2Flibrary%2F_ellipsis.scss;h=0000000000000000000000000000000000000000;hb=608ee6ced3bb9f1200894828d5f91dd8d37e3cce;hp=6d3e5c63d57ca63f6e5a95a2a7b62fb2c04ae1cb;hpb=43912bcaf275017baa77551f359b0b2be498e5b3;p=theme-danix.xyz.git diff --git a/assets/sass/bourbon/bourbon/library/_ellipsis.scss b/assets/sass/bourbon/bourbon/library/_ellipsis.scss deleted file mode 100644 index 6d3e5c6..0000000 --- a/assets/sass/bourbon/bourbon/library/_ellipsis.scss +++ /dev/null @@ -1,36 +0,0 @@ -@charset "UTF-8"; - -/// Truncates text and adds an ellipsis to represent overflow. -/// -/// @argument {number} $width [100%] -/// The `max-width` for the string to respect before being truncated. -/// -/// @argument {string} $display [inline-block] -/// Sets the display-value of the element. -/// -/// @example scss -/// .element { -/// @include ellipsis; -/// } -/// -/// // CSS Output -/// .element { -/// display: inline-block; -/// max-width: 100%; -/// overflow: hidden; -/// text-overflow: ellipsis; -/// white-space: nowrap; -/// word-wrap: normal; -/// } - -@mixin ellipsis( - $width: 100%, - $display: inline-block -) { - display: $display; - max-width: $width; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - word-wrap: normal; -}