[FIX] theme_kiddo: refine the theme

Since the redesign of some snippets, some customizations have been
broken. This commit adapts these customizations.
This commit also adjusts some spacing and font sizes.

task-4178078
Part of task-4177978

closes odoo/design-themes#947

Signed-off-by: Alice Gaudon (agau) <agau@odoo.com>
This commit is contained in:
Brieuc-brd
2024-09-26 12:00:04 +02:00
parent eb6db3a1cf
commit 7846e2cb96
9 changed files with 43 additions and 14 deletions
+17 -2
View File
@@ -23,6 +23,7 @@
<attribute name="style">text-align: center;</attribute>
</xpath>
<xpath expr="//h5" position="replace" mode="inner">
<br/>
Our mission
</xpath>
<!-- Column n°1 - Add separator -->
@@ -38,6 +39,10 @@
<xpath expr="//p" position="replace" mode="inner">
Our aim is to make the early years of your childs life as enjoyable, rewarding and positive as possible.
</xpath>
<!-- Column n°1 - Image -->
<xpath expr="//figure" position="attributes">
<attribute name="class" add="ratio-1x1" remove="ratio-16x9" separator=" "/>
</xpath>
<!-- Column n°2 -->
<xpath expr="(//div[hasclass('card')])[2]" position="attributes">
@@ -55,6 +60,7 @@
<attribute name="style">text-align: center;</attribute>
</xpath>
<xpath expr="(//h5)[2]" position="replace" mode="inner">
<br/>
For every kid
</xpath>
<!-- Column n°2 - Add separator -->
@@ -70,6 +76,10 @@
<xpath expr="(//p)[2]" position="replace" mode="inner">
All activities are planned to meet each childs individual needs. This approach will help your child to develop to the best of their ability.
</xpath>
<!-- Column n°2 - Image -->
<xpath expr="(//figure)[2]" position="attributes">
<attribute name="class" add="ratio-1x1" remove="ratio-16x9" separator=" "/>
</xpath>
<!-- Column n°3 -->
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
@@ -87,6 +97,7 @@
<attribute name="style">text-align: center;</attribute>
</xpath>
<xpath expr="(//h5)[3]" position="replace" mode="inner">
<br/>
Open-door policy
</xpath>
<!-- Column n°3 - Add separator -->
@@ -102,17 +113,21 @@
<xpath expr="(//p)[3]" position="replace" mode="inner">
You are welcome to come and see the nursery and meet the team at any time convenient to you.
</xpath>
<!-- Column n°3 - Image -->
<xpath expr="(//figure)[3]" position="attributes">
<attribute name="class" add="ratio-1x1" remove="ratio-16x9" separator=" "/>
</xpath>
</template>
<template id="configurator_s_three_columns" inherit_id="website.configurator_s_three_columns">
<!-- Shape option -->
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/14_001","flip":["y"]}</attribute>
<attribute name="data-oe-shape-data">{'shape':'web_editor/Origins/14_001','colors':{'c3':'o-color-3','c4':'rgba(0, 0, 0, 0)'},'flip':['y'],'showOnMobile':true,'shapeAnimationSpeed':'0'}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Origins_14_001" style="background-image: url('/web_editor/shape/web_editor/Origins/14_001.svg?c3=o-color-3&amp;c4=rgba%280%2C%200%2C%200%2C%200%29&amp;flip=y'); background-position: 50% 0%;"/>
<div class="o_we_shape o_web_editor_Origins_14_001 o_shape_show_mobile" style="background-image: url('/web_editor/shape/web_editor/Origins/14_001.svg?c3=o-color-3&amp;c4=rgba%280%2C%200%2C%200%2C%200%29&amp;flip=y'); background-position: 50% 0%;"/>
</xpath>
</template>