_base.scss 3.96 KB
Newer Older
arturo's avatar
arturo committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
/// Customising Bootstrap 4
/// (part 2.1: importing Bootstrap styles)
///
/// @link https://uxplanet.org/how-to-customize-bootstrap-b8078a011203
/// @link https://getbootstrap.com/docs/4.1/getting-started/theming/

// As we want to remove some modules from the builded bootstrap, we have to
// manually import each of its part
//
// Which part were filtered?
//    * `/functions` → already imported in our bootstrap custom abstract part
//    * `/variables` → already imported in our bootstrap custom abstract part
//    * `/mixins`    → already imported in our bootstrap custom abstract part
//    * `/reboot`    → due to smelly decision on making rules directly within
//                     HTML tag, the removal of this whole is the best decision
//                     (if necessary, pick another reset sheet which does not
//                     lead to incongruous battle with !important keyworkd
//                     everywhere)
//    * `/utilities` → due to the `!important` keyword systematically added to
//                     to some utilities' section (eg. "spacing"), we have to
//                     manually manage the Bootstrap utilities by filtering
//                     some sections
arturo's avatar
arturo committed
23 24 25 26 27 28 29 30 31 32 33
//                        ↳
//                          * `/align`
//                          * `/background`
//                          * `/borders`
//                          * `/clearfix`
//                          * `/display`
//                          * `/flex`
//                          * `/float`
//                          * `/overflow`
//                          * `/position`
//                          * `/sizing`
arturo's avatar
arturo committed
34
//                          * `/spacing`
arturo's avatar
arturo committed
35 36
//                          * `/text`
//                          * `/visibility`
arturo's avatar
arturo committed
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
//
@import "../../../node_modules/bootstrap/scss/root";
@import "../../../node_modules/bootstrap/scss/type";
@import "../../../node_modules/bootstrap/scss/images";
@import "../../../node_modules/bootstrap/scss/code";
@import "../../../node_modules/bootstrap/scss/grid";
@import "../../../node_modules/bootstrap/scss/tables";
@import "../../../node_modules/bootstrap/scss/forms";
@import "../../../node_modules/bootstrap/scss/buttons";
@import "../../../node_modules/bootstrap/scss/transitions";
@import "../../../node_modules/bootstrap/scss/dropdown";
@import "../../../node_modules/bootstrap/scss/button-group";
@import "../../../node_modules/bootstrap/scss/input-group";
@import "../../../node_modules/bootstrap/scss/custom-forms";
@import "../../../node_modules/bootstrap/scss/nav";
@import "../../../node_modules/bootstrap/scss/navbar";
@import "../../../node_modules/bootstrap/scss/card";
@import "../../../node_modules/bootstrap/scss/breadcrumb";
@import "../../../node_modules/bootstrap/scss/pagination";
@import "../../../node_modules/bootstrap/scss/badge";
@import "../../../node_modules/bootstrap/scss/jumbotron";
@import "../../../node_modules/bootstrap/scss/alert";
@import "../../../node_modules/bootstrap/scss/progress";
@import "../../../node_modules/bootstrap/scss/media";
@import "../../../node_modules/bootstrap/scss/list-group";
@import "../../../node_modules/bootstrap/scss/close";
@import "../../../node_modules/bootstrap/scss/toasts";
@import "../../../node_modules/bootstrap/scss/modal";
@import "../../../node_modules/bootstrap/scss/tooltip";
@import "../../../node_modules/bootstrap/scss/popover";
@import "../../../node_modules/bootstrap/scss/carousel";
@import "../../../node_modules/bootstrap/scss/spinners";
@import "../../../node_modules/bootstrap/scss/print";

@import "../../../node_modules/bootstrap/scss/utilities/embed";
@import "../../../node_modules/bootstrap/scss/utilities/interactions";
@import "../../../node_modules/bootstrap/scss/utilities/screenreaders";
@import "../../../node_modules/bootstrap/scss/utilities/shadows";
@import "../../../node_modules/bootstrap/scss/utilities/stretched-link";


/// (part 2.2: overriding Bootstrap styles + import project styles)
@import '../_components';
@import '../_base';
@import '../_legacy';