mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: adapt themes with new s_striped_top snippet
*: (anelusia, artists, aviato, beauty, bewise, bistro, bookstore, buzzy, clean, enark, graphene, kea, kiddo, loftspace, monglia, notes, odoo_experts, orchid, real_estate, vehicle, yes, zap) This commit adapts the design of new `s_striped_top` snippet for multiple themes. task-4077621 closes odoo/design-themes#850 Related: odoo/odoo#175525 Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
'views/snippets/s_closer_look.xml',
|
||||
'views/snippets/s_cta_box.xml',
|
||||
'views/snippets/s_banner.xml',
|
||||
'views/snippets/s_striped_top.xml',
|
||||
'views/snippets/s_cover.xml',
|
||||
'views/snippets/s_text_image.xml',
|
||||
'views/snippets/s_picture.xml',
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_striped_top" inherit_id="website.s_striped_top">
|
||||
<!-- Title -->
|
||||
<xpath expr="//h1" position="attributes">
|
||||
<attribute name="class" add="h3-fs" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
Experience the Future of<br/>Innovation in Every<br/>Interaction
|
||||
</xpath>
|
||||
<!-- Button -->
|
||||
<xpath expr="//a" position="attributes">
|
||||
<attribute name="class" add="btn-secondary" remove="btn-primary" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user