mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: prevent abuse of h1 and use font size classes
See related community PR. task-1958098 closes odoo/design-themes#682 Related: odoo/enterprise#44986 Related: odoo/odoo#129791 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
committed by
qsm-odoo
parent
8b45a6dc29
commit
1aa6700c98
@@ -9,10 +9,10 @@
|
||||
<xpath expr="//span[hasclass('s_parallax_bg')]" position="attributes">
|
||||
<attribute name="style" remove="background-position: 50% 0;" add="background-position: 50% 80%;" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="//font" position="attributes">
|
||||
<xpath expr="//h1" position="attributes">
|
||||
<attribute name="class" add="text-o-color-1 text-break" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//font" position="replace" mode="inner">
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
We are Avantgarde.
|
||||
</xpath>
|
||||
<xpath expr="//p" position="replace" mode="inner">
|
||||
@@ -40,12 +40,9 @@
|
||||
</xpath>
|
||||
<xpath expr="//h2" position="attributes">
|
||||
<attribute name="style" remove="text-align: center;" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//font" position="attributes">
|
||||
<attribute name="class" add="text-break" separator=" "/>
|
||||
<attribute name="style" add="font-weight: bolder;" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//font" position="replace" mode="inner">
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Design Methodology
|
||||
</xpath>
|
||||
<xpath expr="//p" position="attributes">
|
||||
|
||||
Reference in New Issue
Block a user