[IMP] theme_*: use theme colors for snippets background

This commit changes the bg-200 static color that some snippets were
using, for the second theme color so that blocks backgrounds connect
well together.

task-2542318

closes odoo/design-themes#15

Related: odoo/odoo#71426
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Younn Olivier
2021-06-09 10:45:38 +00:00
committed by qsm-odoo
parent d45c99eb23
commit da5c40ff38
21 changed files with 20 additions and 29 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
<template id="s_media_list" inherit_id="website.s_media_list">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc1" remove="bg-200" separator=" "/>
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/>
</xpath>
<!-- Row 1 -->
<xpath expr="(//div[hasclass('row')])[2]" position="attributes">
+1 -1
View File
@@ -3,7 +3,7 @@
<template id="s_picture" inherit_id="website.s_picture">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt80" remove="pt48 bg-200" separator=" "/>
<attribute name="class" add="pt80" remove="pt48 o_cc o_cc2" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace">