summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-12-05 15:54:27 +0000
committerqsm-odoo <qsm@odoo.com>2018-12-06 10:05:57 +0000
commit8f184b3585b9edd2d11d99e7389df1cebe7a4a6e (patch)
treef1032da175e8908f728fe10650a0f78812c036e3 /addons/web_editor/static/src
parenta98f1319d5cec06a312b3aa54d3f957ba9e1be52 (diff)
[FIX] web, *: make gray utilities available for all bootstrap
* web_editor Before this commit, the web_editor app defined gray utilities: bg-* and text-* classes for gray colors (on top of theme colors). Those are now defined for all bootstrap (note that this was already the case as the web_editor file was put in the backend and in the frontend). The difference is that now the gray utilities are defined just after the standard bootstrap. This allows to complete and fix https://github.com/odoo/odoo/pull/29253/files as text-muted in gray card bodies were not using the correct color without this (see code comments for details). closes odoo/odoo#29290
Diffstat (limited to 'addons/web_editor/static/src')
-rw-r--r--addons/web_editor/static/src/scss/web_editor.common.scss6
1 files changed, 0 insertions, 6 deletions
diff --git a/addons/web_editor/static/src/scss/web_editor.common.scss b/addons/web_editor/static/src/scss/web_editor.common.scss
index 648d76b2aec..c082e823cc0 100644
--- a/addons/web_editor/static/src/scss/web_editor.common.scss
+++ b/addons/web_editor/static/src/scss/web_editor.common.scss
@@ -228,9 +228,3 @@ a.o_underline {
text-decoration: underline;
}
}
-
-// Extend bootstrap to create background and text utilities for gray colors too
-@each $color, $value in $grays {
- @include bg-variant(".bg-#{$color}", $value);
- @include text-emphasis-variant(".text-#{$color}", $value);
-}