mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -4,9 +4,9 @@
|
||||
<template id="s_banner" inherit_id="website.s_banner">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="s_parallax_no_overflow_hidden o_full_screen_height oe_img_bg o_bg_img_center pb216 pt72 o_cc o_cc5" remove="pt96 pb96" separator=" "/>
|
||||
<attribute name="data-scroll-background-ratio">0</attribute>
|
||||
<attribute name="class" add="o_full_screen_height oe_img_bg o_bg_img_center pb216 pt72 o_cc o_cc5" remove="pt96 pb96" separator=" "/>
|
||||
<attribute name="style">background-image: url("/web/image/website.s_banner_default_image");</attribute>
|
||||
<attribute name="data-oe-shape-data">{'shape':'web_editor/Wavy/22','colors':{'c3':'o-color-3'},'flip':['x'],'showOnMobile':true,'shapeAnimationSpeed':'0'}</attribute>
|
||||
</xpath>
|
||||
|
||||
<!-- Row - remove grid mode -->
|
||||
@@ -25,6 +25,11 @@
|
||||
<div class="o_we_bg_filter" style="background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15) 100%) !important;"/>
|
||||
</xpath>
|
||||
|
||||
<!-- Shape -->
|
||||
<xpath expr="//div[hasclass('o_we_bg_filter')]" position="after">
|
||||
<div class="o_we_shape o_web_editor_Wavy_22 o_shape_show_mobile" style="background-image: url('/web_editor/shape/web_editor/Wavy/22.svg?c3=o-color-3&flip=x'); background-position: 50% 100%;"/>
|
||||
</xpath>
|
||||
|
||||
<!-- Paragraph -->
|
||||
<xpath expr="//div[hasclass('col-lg-4')]" position="attributes">
|
||||
<attribute name="class" add="col-lg-6 pt32 pb32" remove="o_grid_item g-height-10 g-col-lg-4 col-lg-4" separator=" "/>
|
||||
@@ -35,10 +40,10 @@
|
||||
</xpath>
|
||||
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">
|
||||
This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.
|
||||
</xpath>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('col-lg-6')]//p[2]" position="attributes">
|
||||
<attribute name="class" add="mb-0" separator=" "/>
|
||||
</xpath>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="configurator_s_banner" inherit_id="website.configurator_s_banner">
|
||||
|
||||
Reference in New Issue
Block a user