Skip to content
Snippets Groups Projects
Commit 2516c0a2 authored by Benjamin Vray's avatar Benjamin Vray Committed by qsm-odoo
Browse files

[IMP] website: add a shadow option on the header

Part of https://github.com/odoo/odoo/pull/38950


task-2087641

closes odoo/odoo#38950

Related: odoo/design-themes#183
Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent 135fccdc
Branches
Tags
No related merge requests found
......@@ -390,6 +390,10 @@
groups="website.group_website_designer">
<we-checkbox string="Show Sign In" data-customize-website-views="portal.portal_show_sign_in" data-reload="/"/>
<we-colorpicker string="Background Color" data-customize-website-color="" data-color="menu"/>
<we-checkbox id="option_header_shadow" string="Shadow"
data-customize-website-views="website.header_shadow"
data-select-class="shadow"
data-no-preview="true"/>
<we-select string="Logo" data-reload="/">
<we-button data-customize-website-views="website.website_name">Text</we-button>
<we-button data-customize-website-views="website.layout_logo_show">Image</we-button>
......
......@@ -274,6 +274,12 @@
</xpath>
</template>
<template id="header_shadow" inherit_id="website.layout" name="Header Shadow" active="False">
<xpath expr="//header" position="attributes">
<attribute name="t-attf-class" add="shadow" separator=" "/>
</xpath>
</template>
<template id="header_hoverable_dropdown" inherit_id="website.layout" name="Header Hoverable Dropdown" active="False">
<xpath expr="//header" position="attributes">
<attribute name="t-attf-class" add="o_hoverable_dropdown" separator=" "/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment