Bower modules updated.
This commit is contained in:
parent
5c341e2e5a
commit
1ee78ab657
140 changed files with 7098 additions and 3713 deletions
17
app/bower_components/bootstrap-sass-official/assets/stylesheets/_bootstrap-mincer.scss
vendored
Normal file
17
app/bower_components/bootstrap-sass-official/assets/stylesheets/_bootstrap-mincer.scss
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
// 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}') %>";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue