Sha256: 458ec346e9b7f48f9c21cc91d9d9f8f8f4ed1073c0f68488b0bbc72111b034e0

Contents?: true

Size: 757 Bytes

Versions: 652

Compression:

Stored size: 757 Bytes

Contents

// Mincer asset helper functions
//
// This must be imported into a .css.ejs.scss file.
// Then, <% %>-interpolations will be parsed as strings by Sass, and evaluated by EJS after Sass compilation.


@function twbs-font-path($path) {
  // do something like following
  // from "path/to/font.ext#suffix" to "<%- asset_path(path/to/font.ext)) + #suffix %>"
  // from "path/to/font.ext?#suffix" to "<%- asset_path(path/to/font.ext)) + ?#suffix %>"
  // or from "path/to/font.ext" just "<%- asset_path(path/to/font.ext)) %>"
  @return "<%- asset_path("#{$path}".replace(/[#?].*$/, '')) + "#{$path}".replace(/(^[^#?]*)([#?]?.*$)/, '$2') %>";
}

@function twbs-image-path($file) {
  @return "<%- asset_path("#{$file}") %>";
}

$bootstrap-sass-asset-helper: true;

Version data entries

652 entries across 597 versions & 27 rubygems

Version Path
card-mod-bootstrap-0.15.5 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/_bootstrap-mincer.scss
card-mod-bootstrap-0.15.4 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/_bootstrap-mincer.scss
card-mod-bootstrap-0.15.4 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/_bootstrap-mincer.scss
card-mod-bootstrap-0.15.3 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/_bootstrap-mincer.scss
card-mod-bootstrap-0.15.3 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/_bootstrap-mincer.scss
card-mod-bootstrap-0.15.1.2 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/_bootstrap-mincer.scss
card-mod-bootstrap-0.15.1.2 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/_bootstrap-mincer.scss
card-mod-bootstrap-0.15.2.pre1 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/_bootstrap-mincer.scss
card-mod-bootstrap-0.15.2.pre1 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/_bootstrap-mincer.scss
card-mod-bootstrap-0.15.1.1 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/_bootstrap-mincer.scss
card-mod-bootstrap-0.15.1.1 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/_bootstrap-mincer.scss
card-mod-bootstrap-0.15.1 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/_bootstrap-mincer.scss
card-mod-bootstrap-0.15.1 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/_bootstrap-mincer.scss
publify_core-9.2.10 app/assets/stylesheets/_bootstrap-mincer.scss
card-mod-bootstrap-0.15.0 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/_bootstrap-mincer.scss
card-mod-bootstrap-0.15.0 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/_bootstrap-mincer.scss
HornsAndHooves-publify_core-10.1.1 app/assets/stylesheets/_bootstrap-mincer.scss
HornsAndHooves-publify_core-10.1.0 app/assets/stylesheets/_bootstrap-mincer.scss
HornsAndHooves-publify_core-10.0.3 app/assets/stylesheets/_bootstrap-mincer.scss
HornsAndHooves-publify_core-10.0.2 app/assets/stylesheets/_bootstrap-mincer.scss