mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
fc1382ce5a
This commit revamps the design of the `theme_nano`.
task-4178081
part of task-4177975
closes odoo/design-themes#966
X-original-commit: 47568ec66f
Related: odoo/odoo#182004
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
Signed-off-by: Chrysanthe Gomrée (chgo) <chgo@odoo.com>
86 lines
4.0 KiB
XML
86 lines
4.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_company_team_basic" inherit_id="website.s_company_team_basic">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/>
|
|
</xpath>
|
|
<!-- Row - remove grid mode -->
|
|
<xpath expr="//div[hasclass('row')]" position="attributes">
|
|
<attribute name="class" remove="o_grid_mode" separator=" "/>
|
|
<attribute name="data-row-count"/>
|
|
</xpath>
|
|
<xpath expr="//h3" position="replace">
|
|
<h2 style="text-align: center;">Our talented crew</h2>
|
|
</xpath>
|
|
<xpath expr="//h2" position="after">
|
|
<p class="lead" style="text-align: center;">Meet the masterminds behind our agency. With them, your project is in good hands for sure.</p>
|
|
</xpath>
|
|
|
|
<!-- Title -->
|
|
<xpath expr="//div[hasclass('col-lg-12')]" position="attributes">
|
|
<attribute name="class" add="pb40" remove="o_grid_item g-col-lg-12 g-height-2" separator=" "/>
|
|
<attribute name="style" remove="grid-area: 1 / 1 / 3 / 13; --grid-item-padding-y: 32px; --grid-item-padding-x: 32px; z-index: 1;" separator=";"/>
|
|
</xpath>
|
|
|
|
<!-- Profile #1 -->
|
|
<xpath expr="//div[hasclass('col-lg-3')]" position="attributes">
|
|
<attribute name="class" remove="o_grid_item g-col-6 g-col-lg-3 g-height-8" separator=" "/>
|
|
<attribute name="style" remove="grid-area: 3 / 1 / 11 / 4; --grid-item-padding-y: 16px; --grid-item-padding-x: 32px; z-index: 2;" separator=";"/>
|
|
</xpath>
|
|
<xpath expr="(//img)[1]" position="attributes">
|
|
<attribute name="class" add="rounded" remove="rounded-circle" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="(//h4)[1]" position="replace" mode="inner">
|
|
Evan Ray
|
|
</xpath>
|
|
<xpath expr="(//p[hasclass('o_small-fs')])[1]" position="replace" mode="inner">
|
|
Creative Director
|
|
</xpath>
|
|
<!-- Profile #2 -->
|
|
<xpath expr="//div[hasclass('col-lg-3')][2]" position="attributes">
|
|
<attribute name="class" remove="o_grid_item g-col-6 g-col-lg-3 g-height-8" separator=" "/>
|
|
<attribute name="style" remove="grid-area: 3 / 4 / 11 / 7; --grid-item-padding-y: 16px; --grid-item-padding-x: 32px; z-index: 3;" separator=";"/>
|
|
</xpath>
|
|
<xpath expr="(//img)[2]" position="attributes">
|
|
<attribute name="class" add="rounded" remove="rounded-circle" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="(//h4)[2]" position="replace" mode="inner">
|
|
Ben Cole
|
|
</xpath>
|
|
<xpath expr="(//p[hasclass('o_small-fs')])[2]" position="replace" mode="inner">
|
|
Account Manager
|
|
</xpath>
|
|
<!-- Profile #3 -->
|
|
<xpath expr="//div[hasclass('col-lg-3')][3]" position="attributes">
|
|
<attribute name="class" remove="o_grid_item g-col-6 g-col-lg-3 g-height-8" separator=" "/>
|
|
<attribute name="style" remove="grid-area: 3 / 7 / 11 / 10; --grid-item-padding-y: 16px; --grid-item-padding-x: 32px; z-index: 4;" separator=";"/>
|
|
</xpath>
|
|
<xpath expr="(//img)[3]" position="attributes">
|
|
<attribute name="class" add="rounded" remove="rounded-circle" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="(//h4)[3]" position="replace" mode="inner">
|
|
Jane Ford
|
|
</xpath>
|
|
<xpath expr="(//p[hasclass('o_small-fs')])[3]" position="replace" mode="inner">
|
|
Media Strategist
|
|
</xpath>
|
|
<!-- Profile #4 -->
|
|
<xpath expr="//div[hasclass('col-lg-3')][4]" position="attributes">
|
|
<attribute name="class" remove="o_grid_item g-col-6 g-col-lg-3 g-height-8" separator=" "/>
|
|
<attribute name="style" remove="grid-area: 3 / 10 / 11 / 13; --grid-item-padding-y: 16px; --grid-item-padding-x: 32px; z-index: 5;" separator=";"/>
|
|
</xpath>
|
|
<xpath expr="(//img)[4]" position="attributes">
|
|
<attribute name="class" add="rounded" remove="rounded-circle" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="(//h4)[4]" position="replace" mode="inner">
|
|
Mia Lee
|
|
</xpath>
|
|
<xpath expr="(//p[hasclass('o_small-fs')])[4]" position="replace" mode="inner">
|
|
Marketing Analyst
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|