[IMP] theme_artists, *: adapt s_tabs_images

*: theme_bistro, theme_buzzy, theme_nano, theme_notes, theme_treehouse,
theme_zap

This commit adapts customizations for `s_tabs_images`.

task-4094407
Part of task-4077427

closes odoo/design-themes#1001

Related: odoo/odoo#185642
Related: odoo/upgrade#6691
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
This commit is contained in:
Brieuc-brd
2024-10-29 09:58:10 +01:00
parent 88b06392a3
commit 8eaa7e913b
12 changed files with 80 additions and 3 deletions
+11
View File
@@ -571,6 +571,17 @@
<field name="name">website.s_faq_horizontal_default_image_1</field>
<field name="url">/theme_treehouse/static/src/img/backgrounds/15.jpg</field>
</record>
<!-- Tabs Images -->
<record id="s_tabs_images_default_image_4" model="theme.ir.attachment">
<field name="key">website.s_tabs_images_default_image_4</field>
<field name="name">website.s_tabs_images_default_image_4</field>
<field name="url">/theme_treehouse/static/src/img/backgrounds/16.jpg</field>
</record>
<record id="s_tabs_images_default_image_5" model="theme.ir.attachment">
<field name="key">website.s_tabs_images_default_image_5</field>
<field name="name">website.s_tabs_images_default_image_5</field>
<field name="url">/theme_treehouse/static/src/img/backgrounds/10.jpg</field>
</record>
<!-- Website Form Overlay -->
<record id="s_website_form_overlay_default_image" model="theme.ir.attachment">
+2 -2
View File
@@ -11,10 +11,10 @@
<attribute name="class" add="card" separator=" "/>
</xpath>
<xpath expr="//*[hasclass('s_tabs_nav')]" position="attributes">
<attribute name="class" add="card-header o_cc o_cc4 border-0 px-0 overflow-x-auto overflow-y-hidden" remove="mb-3" separator=" "/>
<attribute name="class" add="card-header o_cc o_cc4 border-0 px-0" remove="mb-3" separator=" "/>
</xpath>
<xpath expr="//*[hasclass('nav')]" position="attributes">
<attribute name="class" add="nav-tabs card-header-tabs mx-0 px-2 border-bottom" remove="nav-underline overflow-y-hidden overflow-x-auto" separator=" "/>
<attribute name="class" add="nav-tabs card-header-tabs mx-0 px-2 border-bottom" remove="nav-underline" separator=" "/>
</xpath>
<xpath expr="//*[hasclass('s_tabs_content')]" position="attributes">
<attribute name="class" add="p-3" separator=" "/>