mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[FIX] theme_*: fix font style of snippet headers
Some snippets contain incorrect font style that are not achievable using the editor (for example: <h2 class="display-3"> in the "Key benefits" snippet). These snippets were adapted in the community commit linked to this one to align with what the editor would generate if we recreated them from scratch. In this commit, we adapt the themes following the change in community. We also fix a few issues (e.g., wording for the ´s_numbers´ snippet) noticed during the changes. task-4148057 closes odoo/design-themes#895 Related: odoo/odoo#178957 Signed-off-by: Robin Lejeune (role) <role@odoo.com>
This commit is contained in:
@@ -124,13 +124,16 @@
|
||||
<xpath expr="//section/div" position="before">
|
||||
<div class="o_we_shape o_web_editor_Blobs_11" style="background-image: url('/web_editor/shape/web_editor/Blobs/11.svg?c1=o-color-1&flip=x'); background-position: 50% 50%;"/>
|
||||
</xpath>
|
||||
<xpath expr="//h6" position="replace" mode="inner">
|
||||
<xpath expr="//span[hasclass('h5-fs')]" position="replace" mode="inner">
|
||||
Faculties
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[2]/h6" position="replace" mode="inner">
|
||||
<xpath expr="(//span[hasclass('s_number')])[2]" position="replace" mode="inner">
|
||||
47
|
||||
</xpath>
|
||||
<xpath expr="(//span[hasclass('h5-fs')])[2]" position="replace" mode="inner">
|
||||
Nationalities
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[3]/h6" position="replace" mode="inner">
|
||||
<xpath expr="(//span[hasclass('h5-fs')])[3]" position="replace" mode="inner">
|
||||
Libraries
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user