adding own asset files into child themes sass folder

adding for any asset scss files in between understrap and original
sources. So you can exclude single scss files by commenting it out
without overwriting your changes during an update
This commit is contained in:
koenemann 2016-04-25 14:28:28 +02:00
parent f78a8f2dd1
commit 583acb69d8
5 changed files with 140 additions and 12 deletions

56
sass/assets/bootstrap3.scss vendored Normal file
View file

@ -0,0 +1,56 @@
/*!
* Bootstrap v3.3.6 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
// Core variables and mixins
@import "../../src/sass/bootstrap3/bootstrap/variables";
@import "../../src/sass/bootstrap3/bootstrap/mixins";
// Reset and dependencies
@import "../../src/sass/bootstrap3/bootstrap/normalize";
@import "../../src/sass/bootstrap3/bootstrap/print";
@import "../../src/sass/bootstrap3/bootstrap/glyphicons";
// Core CSS
@import "../../src/sass/bootstrap3/bootstrap/scaffolding";
@import "../../src/sass/bootstrap3/bootstrap/type";
@import "../../src/sass/bootstrap3/bootstrap/code";
@import "../../src/sass/bootstrap3/bootstrap/grid";
@import "../../src/sass/bootstrap3/bootstrap/tables";
@import "../../src/sass/bootstrap3/bootstrap/forms";
@import "../../src/sass/bootstrap3/bootstrap/buttons";
// Components
@import "../../src/sass/bootstrap3/bootstrap/component-animations";
@import "../../src/sass/bootstrap3/bootstrap/dropdowns";
@import "../../src/sass/bootstrap3/bootstrap/button-groups";
@import "../../src/sass/bootstrap3/bootstrap/input-groups";
@import "../../src/sass/bootstrap3/bootstrap/navs";
@import "../../src/sass/bootstrap3/bootstrap/navbar";
@import "../../src/sass/bootstrap3/bootstrap/breadcrumbs";
@import "../../src/sass/bootstrap3/bootstrap/pagination";
@import "../../src/sass/bootstrap3/bootstrap/pager";
@import "../../src/sass/bootstrap3/bootstrap/labels";
@import "../../src/sass/bootstrap3/bootstrap/badges";
@import "../../src/sass/bootstrap3/bootstrap/jumbotron";
@import "../../src/sass/bootstrap3/bootstrap/thumbnails";
@import "../../src/sass/bootstrap3/bootstrap/alerts";
@import "../../src/sass/bootstrap3/bootstrap/progress-bars";
@import "../../src/sass/bootstrap3/bootstrap/media";
@import "../../src/sass/bootstrap3/bootstrap/list-group";
@import "../../src/sass/bootstrap3/bootstrap/panels";
@import "../../src/sass/bootstrap3/bootstrap/responsive-embed";
@import "../../src/sass/bootstrap3/bootstrap/wells";
@import "../../src/sass/bootstrap3/bootstrap/close";
// Components w/ JavaScript
@import "../../src/sass/bootstrap3/bootstrap/modals";
@import "../../src/sass/bootstrap3/bootstrap/tooltip";
@import "../../src/sass/bootstrap3/bootstrap/popovers";
@import "../../src/sass/bootstrap3/bootstrap/carousel";
// Utility classes
@import "../../src/sass/bootstrap3/bootstrap/utilities";
@import "../../src/sass/bootstrap3/bootstrap/responsive-utilities";

56
sass/assets/bootstrap4.scss vendored Normal file
View file

@ -0,0 +1,56 @@
/*!
* Bootstrap v4.0.0-alpha.2 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
// Core variables and mixins
@import "../../src/sass/bootstrap4/variables";
@import "../../src/sass/bootstrap4/mixins";
// Reset and dependencies
@import "../../src/sass/bootstrap4/normalize";
@import "../../src/sass/bootstrap4/print";
// Core CSS
@import "../../src/sass/bootstrap4/reboot";
@import "../../src/sass/bootstrap4/type";
@import "../../src/sass/bootstrap4/images";
@import "../../src/sass/bootstrap4/code";
@import "../../src/sass/bootstrap4/grid";
@import "../../src/sass/bootstrap4/tables";
@import "../../src/sass/bootstrap4/forms";
@import "../../src/sass/bootstrap4/buttons";
// Components
@import "../../src/sass/bootstrap4/animation";
@import "../../src/sass/bootstrap4/dropdown";
@import "../../src/sass/bootstrap4/button-group";
@import "../../src/sass/bootstrap4/input-group";
@import "../../src/sass/bootstrap4/custom-forms";
@import "../../src/sass/bootstrap4/nav";
@import "../../src/sass/bootstrap4/navbar";
@import "../../src/sass/bootstrap4/card";
@import "../../src/sass/bootstrap4/breadcrumb";
@import "../../src/sass/bootstrap4/pagination";
@import "../../src/sass/bootstrap4/pager";
@import "../../src/sass/bootstrap4/labels";
@import "../../src/sass/bootstrap4/jumbotron";
@import "../../src/sass/bootstrap4/alert";
@import "../../src/sass/bootstrap4/progress";
@import "../../src/sass/bootstrap4/media";
@import "../../src/sass/bootstrap4/list-group";
@import "../../src/sass/bootstrap4/responsive-embed";
@import "../../src/sass/bootstrap4/close";
// Components w/ JavaScript
@import "../../src/sass/bootstrap4/modal";
@import "../../src/sass/bootstrap4/tooltip";
@import "../../src/sass/bootstrap4/popover";
@import "../../src/sass/bootstrap4/carousel";
// Utility classes
@import "../../src/sass/bootstrap4/utilities";
@import "../../src/sass/bootstrap4/utilities-background";
@import "../../src/sass/bootstrap4/utilities-spacing";
@import "../../src/sass/bootstrap4/utilities-responsive";

17
sass/assets/font-awesome.scss vendored Normal file
View file

@ -0,0 +1,17 @@
/*!
* Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
*/
@import "../../src/sass/fontawesome/variables";
@import "../../src/sass/fontawesome/mixins";
@import "../../src/sass/fontawesome/path";
@import "../../src/sass/fontawesome/core";
@import "../../src/sass/fontawesome/larger";
@import "../../src/sass/fontawesome/fixed-width";
@import "../../src/sass/fontawesome/list";
@import "../../src/sass/fontawesome/bordered-pulled";
@import "../../src/sass/fontawesome/animated";
@import "../../src/sass/fontawesome/rotated-flipped";
@import "../../src/sass/fontawesome/stacked";
@import "../../src/sass/fontawesome/icons";

View file

@ -0,0 +1,6 @@
@import "../../src/sass/owl-carousel2/owl.carousel";
@import "../../src/sass/owl-carousel2/owl.animate";
@import "../../src/sass/owl-carousel2/owl.autoheight";
@import "../../src/sass/owl-carousel2/owl.lazyload";
@import "../../src/sass/owl-carousel2/owl.video";
@import "../../src/sass/owl-carousel2/owl.theme.default";

View file

@ -1,17 +1,10 @@
//@import "../../understrap/bower_components/_s/sass/style";
@import "theme/child_theme_variables"; // <--------- Add your variables into this file. Also add variables to overwrite Bootstrap variables here
@import "../src/sass/bootstrap-sass/bootstrap";
@import "../src/sass/understrap/understrap/understrap";
@import "../src/sass/fontawesome/font-awesome";
@import "../src/sass/owl-carousel2/owl.carousel";
@import "../src/sass/owl-carousel2/owl.animate";
@import "../src/sass/owl-carousel2/owl.autoheight";
@import "../src/sass/owl-carousel2/owl.lazyload";
@import "../src/sass/owl-carousel2/owl.video";
@import "../src/sass/owl-carousel2/owl.theme.default";
@import "assets/bootstrap3";// <--------- Loads Bootstrap3 or Bootstrap4. Change from /bootstrap3 to /bootstrap4 Watch out! just for testing in the moment!
@import "../src/sass/understrap/understrap/understrap";// <-------- Loads the UnderStrap defaults. Just a few classes to incorporate BS in WP
//Optional files - If you don´t use the corresponding scripts/fonts comment em out
@import "assets/font-awesome"; // <------- Font Awesome Icon font
@import "assets/owl-carousel2"; // <------- Owl Carousel2 slider styles
// Any additional imported files //
@import "theme/child_theme"; // <--------- Add your styles into this file