diff options
| author | qsm-odoo <qsm@odoo.com> | 2018-09-25 18:43:30 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-09-25 19:54:26 +0200 |
| commit | 502f45aa2d0292e2c5ba25d0cfc36ecdffc41ab5 (patch) | |
| tree | a7681a4932231916c95999f521e29bd58b9e3952 /addons/website/static/src | |
| parent | 92c8645d62a4fb73fc0af1ce832e88e293b2a6d7 (diff) | |
[FIX] website(_event): make parallax filter change the default color
Setting a black low-transparency filter on a parallax element was
leaving the text color black too as the filter did not act as a
background color. Now the filter is computed from the parallax
background color.
Diffstat (limited to 'addons/website/static/src')
| -rw-r--r-- | addons/website/static/src/scss/website.scss | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/addons/website/static/src/scss/website.scss b/addons/website/static/src/scss/website.scss index 4322adabcad..548433bc231 100644 --- a/addons/website/static/src/scss/website.scss +++ b/addons/website/static/src/scss/website.scss @@ -822,11 +822,20 @@ table.table_desc tr td { > * { position: relative; } - > .s_parallax_bg, > .s_parallax_filter { + > .s_parallax_bg { @include o-position-absolute(0, 0, 0, 0); + display: block; + background-color: inherit; background-size: cover; background-attachment: scroll; pointer-events: none; + + &::after { + content: ""; + @include o-position-absolute(0, 0, 0, 0); + display: block; + background-color: inherit; + } } &.s_parallax_is_fixed > .s_parallax_bg { background-attachment: fixed; |
