[FIX] website_sale_comparison: remove blurred undesired effect

Prior to to commit the comparison-box's opacity was set to 0.95 in the
attempt to show underneath content while keeping the box visible (and
readable).

Unfortunately this value was no transparent enough to read underneath
content but was just causing text to appear "blurred".

task#2667024

Part-of: odoo/odoo#79651
This commit is contained in:
stefanorigano (SRI)
2021-11-16 13:03:03 +00:00
committed by Yannick Tivisse
parent dfd9da8aab
commit 5cae0c0fe5
2 changed files with 3 additions and 11 deletions
@@ -4,15 +4,7 @@
left: 50%;
transform: translateX(-50%);
z-index:10;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom: 0px;
padding: 10px 20px;
text-align: center;
border: 2px solid theme-color('primary');
border-bottom: 0px;
background-color: white;
opacity: 0.95;
border: 2px solid;
.o_product_panel {
position: relative;
@@ -1,9 +1,9 @@
<templates id="compare_products" xml:space="preserve">
<t t-name="product_comparison_template">
<div class="o_product_feature_panel d-none css_editable_mode_hidden o_bottom_fixed_element">
<div class="o_product_feature_panel d-none css_editable_mode_hidden o_bottom_fixed_element bg-white rounded-top border-primary border-bottom-0 px-3 py-2">
<span class="o_product_panel" id="comparelist">
<span class="o_product_panel_header">
<span class="o_product_panel_header text-center">
<span class="o_product_icon"><i class="fa fa-exchange" role="img" aria-label="Product" title="Product"></i></span>
<span class="o_product_text">Compare</span>
<span class="o_product_circle o_animate_blink badge badge-primary">0</span>