Skip to content

Commit

Permalink
[FIX] theme_common: Remove shadow style for header tags with light bg
Browse files Browse the repository at this point in the history
Steps to reproduce :

  - Install Website module and at step of selecting a website theme,
    choose Monglia
    (or install and activate theme manually after Website install)
  - Go to Website homepage and edit it
  - Add the `Three Columns` structure block then save

Issue :

  The titles in cards are blurry.
  Issue can be reproduced on any theme that use the css function:
  `o-theme-cfa-header-shadows`.

Solution :

  Remove shadow style for light background:
  bg-100, bg-200, bg-300, bg-400.

opw-2627163

closes odoo#495

X-original-commit: 59522be
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
  • Loading branch information
nboulif committed Sep 13, 2021
1 parent 1d67b47 commit 3800b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theme_common/static/src/scss/mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@
}

@mixin o-theme-cfa-header-shadows() {
.bg-100, .bg-200, .bg-300, .bg-400, .bg-500, .bg-600, .bg-700, .bg-800, .bg-900 {
.bg-500, .bg-600, .bg-700, .bg-800, .bg-900 {
h1, h2, h3, h4, h5, h6 {
text-shadow: 0px 2px 0px $black;
}
Expand Down

0 comments on commit 3800b85

Please sign in to comment.