resorting sass dependencies
This commit is contained in:
parent
2fe6f2ad9a
commit
8ab9757ef8
|
@ -48,10 +48,14 @@ gulp.task('cleancss', function() {
|
|||
gulp.task('copy-assets', function() {
|
||||
gulp.src(basePaths.bower + 'bootstrap-sass/assets/javascripts/*.js')
|
||||
.pipe(gulp.dest('./js'));
|
||||
gulp.src(basePaths.bower + 'bootstrap-sass/assets/stylesheets/*.scss')
|
||||
.pipe(gulp.dest('./sass/bootstrap-sass'));
|
||||
gulp.src(basePaths.bower + 'bootstrap-sass/assets/fonts/bootstrap/*.{ttf,woff,eof,svg}')
|
||||
.pipe(gulp.dest('./fonts'));
|
||||
gulp.src(basePaths.bower + 'fontawesome/fonts/**/*.{ttf,woff,eof,svg}')
|
||||
.pipe(gulp.dest('./fonts'));
|
||||
gulp.src(basePaths.bower + 'fontawesome/scss/*.scss')
|
||||
.pipe(gulp.dest('./sass/fontawesome'));
|
||||
gulp.src(basePaths.bower + 'jquery/dist/*.js')
|
||||
.pipe(gulp.dest('./js'));
|
||||
gulp.src(basePaths.bower + '_s/js/*.js')
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
@function twbs-font-path($path) {
|
||||
@return font-url($path, true);
|
||||
}
|
||||
|
||||
@function twbs-image-path($path) {
|
||||
@return image-url($path, true);
|
||||
}
|
||||
|
||||
$bootstrap-sass-asset-helper: true;
|
|
@ -0,0 +1,19 @@
|
|||
// 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;
|
|
@ -0,0 +1,9 @@
|
|||
@function twbs-font-path($path) {
|
||||
@return font-path($path);
|
||||
}
|
||||
|
||||
@function twbs-image-path($path) {
|
||||
@return image-path($path);
|
||||
}
|
||||
|
||||
$bootstrap-sass-asset-helper: true;
|
|
@ -0,0 +1,56 @@
|
|||
/*!
|
||||
* Bootstrap v3.3.5 (http://getbootstrap.com)
|
||||
* Copyright 2011-2015 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
*/
|
||||
|
||||
// Core variables and mixins
|
||||
@import "bootstrap/variables";
|
||||
@import "bootstrap/mixins";
|
||||
|
||||
// Reset and dependencies
|
||||
@import "bootstrap/normalize";
|
||||
@import "bootstrap/print";
|
||||
@import "bootstrap/glyphicons";
|
||||
|
||||
// Core CSS
|
||||
@import "bootstrap/scaffolding";
|
||||
@import "bootstrap/type";
|
||||
@import "bootstrap/code";
|
||||
@import "bootstrap/grid";
|
||||
@import "bootstrap/tables";
|
||||
@import "bootstrap/forms";
|
||||
@import "bootstrap/buttons";
|
||||
|
||||
// Components
|
||||
@import "bootstrap/component-animations";
|
||||
@import "bootstrap/dropdowns";
|
||||
@import "bootstrap/button-groups";
|
||||
@import "bootstrap/input-groups";
|
||||
@import "bootstrap/navs";
|
||||
@import "bootstrap/navbar";
|
||||
@import "bootstrap/breadcrumbs";
|
||||
@import "bootstrap/pagination";
|
||||
@import "bootstrap/pager";
|
||||
@import "bootstrap/labels";
|
||||
@import "bootstrap/badges";
|
||||
@import "bootstrap/jumbotron";
|
||||
@import "bootstrap/thumbnails";
|
||||
@import "bootstrap/alerts";
|
||||
@import "bootstrap/progress-bars";
|
||||
@import "bootstrap/media";
|
||||
@import "bootstrap/list-group";
|
||||
@import "bootstrap/panels";
|
||||
@import "bootstrap/responsive-embed";
|
||||
@import "bootstrap/wells";
|
||||
@import "bootstrap/close";
|
||||
|
||||
// Components w/ JavaScript
|
||||
@import "bootstrap/modals";
|
||||
@import "bootstrap/tooltip";
|
||||
@import "bootstrap/popovers";
|
||||
@import "bootstrap/carousel";
|
||||
|
||||
// Utility classes
|
||||
@import "bootstrap/utilities";
|
||||
@import "bootstrap/responsive-utilities";
|
Reference in New Issue