mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: update according to new shapes
task-2319488 closes odoo/design-themes#17 Related: odoo/odoo#70843 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -119,4 +119,6 @@ $o-color-palettes-compatibility-indexes: (
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Origins/14', (4: 4));
|
||||
$o-bg-shapes: change-shape-colors-mapping('web_editor', 'Origins/14_001', (4: rgba(255, 255, 255, 0), 3: 4));
|
||||
$o-bg-shapes: add-extra-shape-colors-mapping('web_editor', 'Origins/14', 'second', (4: 2));
|
||||
$o-bg-shapes: add-extra-shape-colors-mapping('web_editor', 'Origins/14_001', 'second', (4: rgba(255, 255, 255, 0), 3: 2));
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
<template id="s_banner" inherit_id="website.s_banner">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/14","flip":[]}</attribute>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/14_001","flip":[]}</attribute>
|
||||
</xpath>
|
||||
<!-- Shape -->
|
||||
<xpath expr="//section//*[last()]" position="after">
|
||||
<div class="o_we_shape o_web_editor_Origins_14"/>
|
||||
<div class="o_we_shape o_web_editor_Origins_14_001"/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h1" position="replace">
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc4 pb128" remove="pb32" separator=" "/>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/14","flip":[]}</attribute>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/14_001","flip":[]}</attribute>
|
||||
</xpath>
|
||||
<!-- Shape -->
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Origins_14 o_second_extra_shape_mapping"/>
|
||||
<div class="o_we_shape o_web_editor_Origins_14_001 o_second_extra_shape_mapping"/>
|
||||
</xpath>
|
||||
<!-- Paragraph -->
|
||||
<xpath expr="(//div[hasclass('col-lg-6')])[2]" position="replace">
|
||||
|
||||
@@ -3,24 +3,24 @@
|
||||
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
|
||||
<!-- Shape 1 -->
|
||||
<xpath expr="(//div[hasclass('carousel-item')])[1]" position="attributes">
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/14","flip":["y"]}</attribute>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/14_001","flip":["y"]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('carousel-item')])[1]/div" position="before">
|
||||
<div class="o_we_shape o_web_editor_Origins_14 o_we_flip_y o_second_extra_shape_mapping"/>
|
||||
<div class="o_we_shape o_web_editor_Origins_14_001 o_we_flip_y o_second_extra_shape_mapping"/>
|
||||
</xpath>
|
||||
<!-- Shape 2 -->
|
||||
<xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes">
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/14","flip":["y"]}</attribute>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/14_001","flip":["y"]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('carousel-item')])[2]/div" position="before">
|
||||
<div class="o_we_shape o_web_editor_Origins_14 o_we_flip_y o_second_extra_shape_mapping"/>
|
||||
<div class="o_we_shape o_web_editor_Origins_14_001 o_we_flip_y o_second_extra_shape_mapping"/>
|
||||
</xpath>
|
||||
<!-- Shape 3 -->
|
||||
<xpath expr="(//div[hasclass('carousel-item')])[3]" position="attributes">
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/14","flip":["y"]}</attribute>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/14_001","flip":["y"]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('carousel-item')])[3]/div" position="before">
|
||||
<div class="o_we_shape o_web_editor_Origins_14 o_we_flip_y o_second_extra_shape_mapping"/>
|
||||
<div class="o_we_shape o_web_editor_Origins_14_001 o_we_flip_y o_second_extra_shape_mapping"/>
|
||||
</xpath>
|
||||
<!-- Quote 1 -->
|
||||
<xpath expr="(//div[hasclass('s_blockquote_content')])[1]/p" position="replace">
|
||||
|
||||
Reference in New Issue
Block a user