mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_artists: revamp the theme
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>
This commit is contained in:
@@ -2,9 +2,12 @@
|
||||
<odoo>
|
||||
|
||||
<template id="s_cta_box" inherit_id="website.s_cta_box">
|
||||
<!-- Card -->
|
||||
<xpath expr="//div[hasclass('card')]" position="attributes">
|
||||
<attribute name="class" add="o_cc5" remove="o_cc4" separator=" "/>
|
||||
<!-- 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">
|
||||
@@ -14,14 +17,13 @@
|
||||
<xpath expr="//p" position="replace" mode="inner">
|
||||
Elevate your space with the unique wonders of artistic craftsmanship.<br/><br/>
|
||||
</xpath>
|
||||
<!-- Image -->
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="src">/theme_artists/static/src/img/snippets/library_image_03.jpg</attribute>
|
||||
</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>
|
||||
|
||||
Reference in New Issue
Block a user