mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[FIX] theme_*: adapt snippets after secondary color fixes
*: anelusia, artists, avantgarde, aviato, beauty, bewise, bistro, bookstore, buzzy, clean, cobalt, enark, kea, kiddo, loftspace, monglia, nano, notes, odoo_experts, orchid, paptic, real_estate, treehouse, vehicle, yes, zap This commit adapts multiple snippets after they were changed in the community counterpart of this PR. task-5072830 closes odoo/design-themes#1143 Related: odoo/odoo#226255 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_company_team_card" inherit_id="website.s_company_team_card" name="Artists's s_company_team_card">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc5" remove="o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Team Member 1 -->
|
||||
<xpath expr="//div[hasclass('card')]" position="attributes">
|
||||
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Team Member 2 -->
|
||||
<xpath expr="(//div[hasclass('card')])[2]" position="attributes">
|
||||
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Team Member 3 -->
|
||||
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
|
||||
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Team Member 4 -->
|
||||
<xpath expr="(//div[hasclass('card')])[4]" position="attributes">
|
||||
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -6,19 +6,19 @@
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc5" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Chart card -->
|
||||
<xpath expr="//div[hasclass('o_grid_item')]" position="attributes">
|
||||
<attribute name="class" add="o_cc1" remove="o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Progress bars -->
|
||||
<xpath expr="//div[hasclass('progress-bar')]" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-2" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-5" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('progress-bar')])[2]" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-2" separator=" "/>
|
||||
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-5" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Chart card -->
|
||||
<xpath expr="//div[hasclass('o_grid_item')][4]" position="attributes">
|
||||
<attribute name="class" add="border" remove="o_cc o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('s_chart')])" position="attributes">
|
||||
<attribute name="data-data">{"labels":["First","Second"],"datasets":[{"label":"One","data":["25","75"],"backgroundColor":["o-color-1","o-color-2"],"borderColor":["",""]}]}</attribute>
|
||||
<attribute name="data-data">{"labels":["First","Second"],"datasets":[{"label":"One","data":["25","75"],"backgroundColor":["o-color-2","o-color-1"],"borderColor":["",""]}]}</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<template id="s_text_cover" inherit_id="website.s_text_cover">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc4" remove="o_cc3" separator=" "/>
|
||||
<attribute name="class" add="o_cc4" remove="o_cc5" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
Share Art.<br/>Effortlessly.
|
||||
|
||||
Reference in New Issue
Block a user