mirror of https://github.com/OCA/web.git
[ADD] Module: Clean Navbar
parent
fbe2ffa15e
commit
a374ea7937
|
@ -0,0 +1,21 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
##############################################################################
|
||||||
|
#
|
||||||
|
# Odoo Addon, Open Source Management Solution
|
||||||
|
# Copyright (C) 2014-now Equitania Software GmbH(<http://www.equitania.de>).
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Affero General Public License as
|
||||||
|
# published by the Free Software Foundation, either version 3 of the
|
||||||
|
# License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU Affero General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
##############################################################################
|
||||||
|
|
|
@ -0,0 +1,43 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
##############################################################################
|
||||||
|
#
|
||||||
|
# Odoo Addon, Open Source Management Solution
|
||||||
|
# Copyright (C) 2014-now Equitania Software GmbH(<http://www.equitania.de>).
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Affero General Public License as
|
||||||
|
# published by the Free Software Foundation, either version 3 of the
|
||||||
|
# License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU Affero General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
{
|
||||||
|
'name': 'web_clean_navbar',
|
||||||
|
'version': '1.0.0',
|
||||||
|
'category': 'Backend',
|
||||||
|
'description': """
|
||||||
|
Better visibility for the main backend navigation-bar
|
||||||
|
""",
|
||||||
|
'author': 'Equitania Software GmbH',
|
||||||
|
'website': 'www.myodoo.de',
|
||||||
|
'depends': [],
|
||||||
|
'summary': 'backend, navigation',
|
||||||
|
#'init': [
|
||||||
|
# 'eq_install_func.xml',
|
||||||
|
# ],
|
||||||
|
'data': [
|
||||||
|
'views/clean_navbar.xml',
|
||||||
|
],
|
||||||
|
'demo': [],
|
||||||
|
'css': ['base.css'],
|
||||||
|
'installable': True,
|
||||||
|
'auto_install': False,
|
||||||
|
}
|
|
@ -0,0 +1,36 @@
|
||||||
|
|
||||||
|
.navbar-inverse .navbar-nav > li > a {
|
||||||
|
color:white!important; /* ?? green */
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.navbar-left li > a:hover, ul.navbar-right li > a:hover {
|
||||||
|
background-color:#777!important; /* ?? #F00 */
|
||||||
|
}
|
||||||
|
ul.navbar-left li.active {
|
||||||
|
background-color:#fff!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.navbar-left li.active > a, ul.navbar-right li.active > a {
|
||||||
|
|
||||||
|
background-color:#444!important;
|
||||||
|
|
||||||
|
background: rgba(119,119,119,1);
|
||||||
|
background: -moz-linear-gradient(top, rgba(119,119,119,1) 0%, rgba(68,68,68,1) 100%);
|
||||||
|
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(119,119,119,1)), color-stop(100%, rgba(68,68,68,1)));
|
||||||
|
background: -webkit-linear-gradient(top, rgba(119,119,119,1) 0%, rgba(68,68,68,1) 100%);
|
||||||
|
background: -o-linear-gradient(top, rgba(119,119,119,1) 0%, rgba(68,68,68,1) 100%);
|
||||||
|
background: -ms-linear-gradient(top, rgba(119,119,119,1) 0%, rgba(68,68,68,1) 100%);
|
||||||
|
background: linear-gradient(to bottom, rgba(119,119,119,1) 0%, rgba(68,68,68,1) 100%);
|
||||||
|
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#777777', endColorstr='#444444', GradientType=0 );
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:hover {
|
||||||
|
color:blue!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
|
||||||
|
color:white!important;
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<openerp>
|
||||||
|
<data>
|
||||||
|
<template id="clean_navbar" name="Clean Navbar" inherit_id="web.assets_backend" active="True" customize_show="True">
|
||||||
|
<xpath expr="//link[@href='/web/static/src/css/base.css']" position='after'>
|
||||||
|
<link rel="stylesheet" href="/web_clean_navbar/static/src/css/clean_navbar.css"/>
|
||||||
|
</xpath>
|
||||||
|
</template>
|
||||||
|
</data>
|
||||||
|
</openerp>
|
Loading…
Reference in New Issue