From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- addons/web/static/src/scss/import_bootstrap.scss | 53 ++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 addons/web/static/src/scss/import_bootstrap.scss (limited to 'addons/web/static/src/scss/import_bootstrap.scss') diff --git a/addons/web/static/src/scss/import_bootstrap.scss b/addons/web/static/src/scss/import_bootstrap.scss new file mode 100644 index 00000000..feebf61e --- /dev/null +++ b/addons/web/static/src/scss/import_bootstrap.scss @@ -0,0 +1,53 @@ + +// This file is importing bootstrap. While a simple "import "bootstrap";" +// should be enough, this does not allow overridding mixins/functions. +// Overridding those is necessary for some of our need and allow to generate +// more efficient CSS than adding more rules. This file instead copies the +// content of the "bootstrap.scss" files but do not import functions, variables +// and mixins which will be handled "by hand" in _assets_helpers. + +// @import "functions"; +// @import "variables"; +// @import "mixins"; +@import "root"; +@import "reboot"; +@import "type"; +@import "images"; +@import "code"; +@import "grid"; +@import "tables"; +@import "forms"; + +// Small hack in bootstrap (see bootstrap_review.scss): prevent it to generate +// primary, secondary, and other color/outline classes by itself to be able to +// do it ourself properly. +$-tmp: $theme-colors; +$theme-colors: (); +@import "buttons"; +$theme-colors: $-tmp; + +@import "transitions"; +@import "dropdown"; +@import "button-group"; +@import "input-group"; +@import "custom-forms"; +@import "nav"; +@import "navbar"; +@import "card"; +@import "breadcrumb"; +@import "pagination"; +@import "badge"; +@import "jumbotron"; +@import "alert"; +@import "progress"; +@import "media"; +@import "list-group"; +@import "close"; +@import "toasts"; +@import "modal"; +@import "tooltip"; +@import "popover"; +@import "carousel"; +@import "spinners"; +@import "utilities"; +@import "print"; -- cgit v1.2.3