mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
23b2dd1971
Revamp the themes, add new images and adapt the existing snippets to fit
the new design.
task-4178014
Part of task-4177975
X-original-commit: 14993a5a1e
Part-of: odoo/design-themes#971
Related: odoo/odoo#182039
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
30 lines
1.1 KiB
XML
30 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_cta_box" inherit_id="website.s_cta_box">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="o_cc o_cc4 pt56 pb56" remove="pt80 pb80" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="//div[hasclass('s_card')]" position="attributes">
|
|
<attribute name="style" add="border-radius: 0px !important; --card-spacer-x: 0px;" remove="--card-spacer-x: 64px;" separator=";"/>
|
|
</xpath>
|
|
<!-- Title -->
|
|
<xpath expr="//h2" position="replace" mode="inner">
|
|
Discover new creations<br/>and artistic masterpieces !
|
|
</xpath>
|
|
<!-- Paragraphs -->
|
|
<xpath expr="//p" position="replace" mode="inner">
|
|
Elevate your space with the unique wonders of artistic craftsmanship.<br/><br/>
|
|
</xpath>
|
|
<!-- Button -->
|
|
<xpath expr="//a[hasclass('btn')]" position="replace" mode="inner">
|
|
Discover
|
|
</xpath>
|
|
<xpath expr="//img" position="attributes">
|
|
<attribute name="class" remove="rounded-end" separator=" "/>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|