Browse Source

[MIG] beesdoo_website_theme: migrate to v12.0

pull/113/head
NadTr 5 years ago
committed by Rémy Taymans
parent
commit
46649ef31e
  1. 3
      beesdoo_website_theme/__manifest__.py
  2. 20
      beesdoo_website_theme/static/src/less/beesdoo_website_design.less
  3. 4
      beesdoo_website_theme/views/assets.xml

3
beesdoo_website_theme/__openerp__.py → beesdoo_website_theme/__manifest__.py

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
{ {
'name': 'BEES coop Website Theme', 'name': 'BEES coop Website Theme',
@ -13,7 +12,7 @@
'license': "AGPL-3", 'license': "AGPL-3",
'category': 'Themes', 'category': 'Themes',
'version': '9.0.0.1',
'version': '12.0.0.1',
'application': True, 'application': True,
'depends': ['website'], 'depends': ['website'],

20
beesdoo_website_theme/static/src/less/beesdoo_website_design.less

@ -53,7 +53,8 @@ body
/* Header menu */ /* Header menu */
header header
{ {
.navbar-default
.navbar
{ {
font-family: BebasNeue, sans; font-family: BebasNeue, sans;
// Enlarge the menu // Enlarge the menu
@ -89,7 +90,8 @@ header
} }
&:hover, &:hover,
&:focus
&:focus,
&.active
{ {
span:not(.caret) span:not(.caret)
{ {
@ -105,20 +107,6 @@ header
background-color: transparent; background-color: transparent;
} }
.active
{
a,
a:hover,
a:focus
{
background-color: transparent;
span:not(.caret)
{
#menu-active
}
}
}
// Last element is the name of the logged user. // Last element is the name of the logged user.
// This should not be in the same font as other links // This should not be in the same font as other links
> li:last-child > li:last-child

4
beesdoo_website_theme/views/assets.xml

@ -1,4 +1,4 @@
<openerp>
<odoo>
<!-- We add the css stylesheet --> <!-- We add the css stylesheet -->
<template id="assets_frontend" name="beesdoo_website_theme_website_assets" <template id="assets_frontend" name="beesdoo_website_theme_website_assets"
inherit_id="website.assets_frontend"> inherit_id="website.assets_frontend">
@ -7,4 +7,4 @@
href="/beesdoo_website_theme/static/src/less/beesdoo_website_design.less"/> href="/beesdoo_website_theme/static/src/less/beesdoo_website_design.less"/>
</xpath> </xpath>
</template> </template>
</openerp>
</odoo>
Loading…
Cancel
Save