mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] review numbers snippets occurrences across design themes
This commit reviews the occurrences of the numbers snippets across the website themes, especially broken selector. The goal of this commit is to fix potential broken xpath as wel as fine-tune the design if needed. task-3924624 Part-of: odoo/design-themes#822 Related: odoo/odoo#163583 Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
@@ -2,10 +2,6 @@
|
||||
<odoo>
|
||||
|
||||
<template id="s_numbers" inherit_id="website.s_numbers">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="pt80 pb80" remove="pt24 pb24" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Column #01 -->
|
||||
<xpath expr="//*[hasclass('row')]/*[1]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1 rounded pt64 pb64" remove="pt24 pb24" separator=" "/>
|
||||
@@ -30,14 +26,6 @@
|
||||
<xpath expr="(//h6)[3]" position="replace" mode="inner">
|
||||
<font class="text-o-color-1">Languages</font>
|
||||
</xpath>
|
||||
<!-- Column #04 -->
|
||||
<xpath expr="//*[hasclass('row')]/*[4]" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc1 rounded pt64 pb64" remove="pt24 pb24" separator=" "/>
|
||||
<attribute name="style" add="box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px !important;" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//h6)[4]" position="replace" mode="inner">
|
||||
<font class="text-o-color-1">Projects</font>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user