Адаптация под responsive design, тексты переписаны под обладателей клипового мышления.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
757B

  1. // Mincer asset helper functions
  2. //
  3. // This must be imported into a .css.ejs.scss file.
  4. // Then, <% %>-interpolations will be parsed as strings by Sass, and evaluated by EJS after Sass compilation.
  5. @function twbs-font-path($path) {
  6. // do something like following
  7. // from "path/to/font.ext#suffix" to "<%- asset_path(path/to/font.ext)) + #suffix %>"
  8. // from "path/to/font.ext?#suffix" to "<%- asset_path(path/to/font.ext)) + ?#suffix %>"
  9. // or from "path/to/font.ext" just "<%- asset_path(path/to/font.ext)) %>"
  10. @return "<%- asset_path('#{$path}'.replace(/[#?].*$/, '')) + '#{$path}'.replace(/(^[^#?]*)([#?]?.*$)/, '$2') %>";
  11. }
  12. @function twbs-image-path($file) {
  13. @return "<%- asset_path('#{$file}') %>";
  14. }
  15. $bootstrap-sass-asset-helper: true;