diff options
| author | qsm-odoo <qsm@odoo.com> | 2018-10-10 13:49:55 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-10-10 15:09:24 +0000 |
| commit | 1f9bf60260162ae20ff59678db782ddb503cd2a3 (patch) | |
| tree | 2cf2fa2db118d86a9bab9eab6adbb0747c05fea2 /doc/python3.rst | |
| parent | 1dbb555aab8910d1739783c39fd502c4a2e145d0 (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 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions
