mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: review s_cover templates
This commit aims to review all the occurrences of the `s_cover` snippet across the themes in order to fix broken selectors. task-3665300 Part-of: odoo/design-themes#827 Related: odoo/odoo#172725 Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
<template id="s_cover" inherit_id="website.s_cover" name="Monglia s_cover">
|
||||
<!-- Customize elements -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_full_screen_height o_cc o_cc5" separator=" "/>
|
||||
<attribute name="class" add="o_full_screen_height o_cc5" remove="o_cc4" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_we_bg_filter')]" position="replace">
|
||||
<div class="o_we_bg_filter bg-black-25"/>
|
||||
@@ -48,9 +48,6 @@
|
||||
<xpath expr="//p[3]" position="attributes">
|
||||
<attribute name="style" add="text-align: left;" remove="text-align: center;" separator=";"/>
|
||||
</xpath>
|
||||
<xpath expr="//a[hasclass('btn')]" position="attributes">
|
||||
<attribute name="class" add="btn-lg" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Create column -->
|
||||
<xpath expr="//div[hasclass('container')]" position="inside">
|
||||
<div class="row">
|
||||
@@ -65,6 +62,11 @@
|
||||
<h2>21/22 December</h2><br/>
|
||||
<xpath expr="//div[hasclass('container')]/p" position="move"/>
|
||||
</xpath>
|
||||
<!-- Button -->
|
||||
<xpath expr="//a[@t-att-href='cta_btn_href'][1]" position="attributes">
|
||||
<attribute name="class" add="btn-primary" remove="btn-secondary" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//a[@t-att-href='cta_btn_href'][2]" position="replace"/>
|
||||
</template>
|
||||
|
||||
<!-- ======== MEDIA LIST ======== -->
|
||||
|
||||
Reference in New Issue
Block a user