[IMP] theme_enark: revamp the theme

task-4178071
Part of task-4177978

closes odoo/design-themes#932

Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
This commit is contained in:
Brieuc-brd
2024-09-23 11:53:04 +02:00
parent c31b3c7c83
commit ff95793399
15 changed files with 396 additions and 174 deletions
+23 -2
View File
@@ -2,9 +2,30 @@
<odoo>
<template id="s_freegrid" inherit_id="website.s_freegrid">
<!-- Layout -->
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data">{'shape':'web_editor/Origins/04_001','colors':{'c3':'o-color-5'},'flip':[],'showOnMobile':true,'shapeAnimationSpeed':'0'}</attribute>
<attribute name="class" add="pt128" remove="pt64" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('o_grid_mode')]" position="attributes">
<attribute name="data-row-count">17</attribute>
</xpath>
<xpath expr="//div[hasclass('container-fluid')]" position="before">
<div class="o_we_shape o_web_editor_Origins_04_001 o_shape_show_mobile" style="background-image: url('/web_editor/shape/web_editor/Origins/04_001.svg?c3=o-color-5');"/>
</xpath>
<xpath expr="//div[hasclass('container-fluid')]" position="attributes">
<attribute name="class" add="container" remove="container-fluid" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('o_grid_item')])[7]" position="attributes">
<attribute name="class" add="g-height-6" remove="g-height-5" separator=" "/>
<attribute name="style">z-index: 7; grid-area: 12 / 1 / 18 / 8; --grid-item-padding-y: 16px; --grid-item-padding-x: 0px;</attribute>
</xpath>
<xpath expr="(//div[hasclass('o_grid_item')])[8]" position="attributes">
<attribute name="style">z-index: 8; grid-area: 12 / 10 / 14 / 13; --grid-item-padding-y: 16px; --grid-item-padding-x: 0px;"</attribute>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
Architectural Excellence for Corporate Success
<xpath expr="//h2" position="replace">
<h1 class="display-4">Architectural Excellence for Corporate Success</h1>
</xpath>
<!-- Paragraph -->
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">