summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/scss/web_editor.ui.scss
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-10-10 13:49:55 +0000
committerqsm-odoo <qsm@odoo.com>2018-10-10 15:09:24 +0000
commit1f9bf60260162ae20ff59678db782ddb503cd2a3 (patch)
tree2cf2fa2db118d86a9bab9eab6adbb0747c05fea2 /addons/web_editor/static/src/scss/web_editor.ui.scss
parent1dbb555aab8910d1739783c39fd502c4a2e145d0 (diff)
[FIX] web_editor, website: review grays
What was designed as a new feature appeared as a regression: users were not able to choose a bootstrap gray as a background color anymore but instead got the possibiility to choose a hardcoded gray. This commit restores the use of the custom gray palette that themes can customize and which automatically uses the correct text color when used as a background. This also allows to remove ugly inline style from snippet definitions and allows to solve bugs like the described below one: --------------------------------------- Also add bg-* classes on snippet cards: --------------------------------------- Snippet cards are often put (or may be put by the user) in an element which have a bg-* class on it. This means that the card will still have a white background (as chosen by BS4 by default) but the text color will be adapted to that ancestor bg-* classed element. This commit forces the card background color (as suggested by BS4) with bg-* classes. closes odoo/odoo#27637
Diffstat (limited to 'addons/web_editor/static/src/scss/web_editor.ui.scss')
-rw-r--r--addons/web_editor/static/src/scss/web_editor.ui.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/scss/web_editor.ui.scss b/addons/web_editor/static/src/scss/web_editor.ui.scss
index f9c30b62c6f..3d465ae18ee 100644
--- a/addons/web_editor/static/src/scss/web_editor.ui.scss
+++ b/addons/web_editor/static/src/scss/web_editor.ui.scss
@@ -904,7 +904,7 @@ table.colorpicker {
clear: both;
}
- > button {
+ button {
float: left;
height: 25px;
width: 25px;