mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
6c79fc30a7
This is the direct following of the PR [1].
Some themes "hard code" the background colors of some snippets, which
prevents the user to change it with a preset color without deleting the
current background first.
This commit does two things:
- remove the problematic hard coded background colors;
- replace the colors that are removed by some themes by the ones that
were set in [1] (for the searchbar and text highlight snippets).
[1]: https://github.com/odoo/odoo/pull/90749
task-2824393
closes odoo/design-themes#604
X-original-commit: 7d193e0560
Related: odoo/odoo#103123
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
48 lines
1.9 KiB
XML
48 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_three_columns" inherit_id="website.s_three_columns">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="pt80 pb80" remove="pt32 pb32 o_cc o_cc2" separator=" "/>
|
|
</xpath>
|
|
<!-- Column #01 -->
|
|
<xpath expr="(//*[hasclass('card-title')])[1]" position="replace" mode="inner">
|
|
Recycling water
|
|
</xpath>
|
|
<xpath expr="(//*[hasclass('card-text')])[1]" position="replace" mode="inner">
|
|
Recycling water for reuse applications instead of using freshwater supplies can be a water-saving measure.
|
|
</xpath>
|
|
<xpath expr="(//*[hasclass('card-body')])[1]" position="after">
|
|
<div class="card-footer">
|
|
<a href="#" class="card-link">Read more</a>
|
|
</div>
|
|
</xpath>
|
|
<!-- Column #02 -->
|
|
<xpath expr="(//*[hasclass('card-title')])[2]" position="replace" mode="inner">
|
|
Habitat Model
|
|
</xpath>
|
|
<xpath expr="(//*[hasclass('card-text')])[2]" position="replace" mode="inner">
|
|
Habitats with a minimum footprint on the planet and a maximum positive impact on the local community.
|
|
</xpath>
|
|
<xpath expr="(//*[hasclass('card-body')])[2]" position="after">
|
|
<div class="card-footer">
|
|
<a href="#" class="card-link">Read more</a>
|
|
</div>
|
|
</xpath>
|
|
<!-- Column #03 -->
|
|
<xpath expr="(//*[hasclass('card-title')])[3]" position="replace" mode="inner">
|
|
Organic Garden
|
|
</xpath>
|
|
<xpath expr="(//*[hasclass('card-text')])[3]" position="replace" mode="inner">
|
|
Learn how to use organic gardening methods to grow the freshest food in your fruit and vegetable garden.
|
|
</xpath>
|
|
<xpath expr="(//*[hasclass('card-body')])[3]" position="after">
|
|
<div class="card-footer">
|
|
<a href="#" class="card-link">Read more</a>
|
|
</div>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|