Browse Source
Merge pull request #223 from hbrunn/8.0-web_clean_navbar
Merge pull request #223 from hbrunn/8.0-web_clean_navbar
[ADD] web_clean_navbarpull/253/head
Stefan Rijnhart (Opener)
9 years ago
8 changed files with 188 additions and 0 deletions
-
51web_clean_navbar/README.rst
-
20web_clean_navbar/__init__.py
-
36web_clean_navbar/__openerp__.py
-
BINweb_clean_navbar/static/description/icon.png
-
35web_clean_navbar/static/description/index.html
-
BINweb_clean_navbar/static/description/navbar1.png
-
36web_clean_navbar/static/src/css/clean_navbar.css
-
10web_clean_navbar/views/clean_navbar.xml
@ -0,0 +1,51 @@ |
|||
Clean Navbar |
|||
============ |
|||
|
|||
Brighter navigation |
|||
|
|||
In case of working on a very bright working station, as well as presentation with an projector, it may be difficult to see the links in the main menu. |
|||
With Clean Navbar, you get a brighter main-navigation. |
|||
|
|||
Usage |
|||
===== |
|||
|
|||
* go to ... |
|||
|
|||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas |
|||
:alt: Try me on Runbot |
|||
:target: https://runbot.odoo-community.org/runbot/162/8.0 |
|||
|
|||
For further information, please visit: |
|||
|
|||
* https://www.odoo.com/forum/help-1 |
|||
|
|||
Bug Tracker |
|||
=========== |
|||
|
|||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_. |
|||
In case of trouble, please check there if your issue has already been reported. |
|||
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback |
|||
`here <https://github.com/OCA/web/issues/new?body=module:%20web_clean_navbar%0Aversion:%20{version}%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
|||
|
|||
|
|||
Credits |
|||
======= |
|||
|
|||
Contributors |
|||
------------ |
|||
|
|||
* Equitania Software GmbH <info@equitania.de> |
|||
* Holger Brunn <hbrunn@therp.nl> |
|||
|
|||
Maintainer |
|||
---------- |
|||
|
|||
.. image:: http://odoo-community.org/logo.png |
|||
:alt: Odoo Community Association |
|||
:target: http://odoo-community.org |
|||
|
|||
This module is maintained by the OCA. |
|||
|
|||
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. |
|||
|
|||
To contribute to this module, please visit http://odoo-community.org. |
@ -0,0 +1,20 @@ |
|||
# -*- 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,36 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################## |
|||
# |
|||
# This file is part of web_clean_navbar, an Odoo module. |
|||
# Copyright (C) 2015-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': 'Clean Navbar', |
|||
'version': '8.0.1.0.0', |
|||
'category': 'Tools', |
|||
'summary': 'Better visibility for the backend\'s main menu', |
|||
'license': 'AGPL-3', |
|||
'author': 'Equitania Software GmbH,Odoo Community Association (OCA)', |
|||
'website': 'https://github.com/OCA/web', |
|||
'depends': [ |
|||
'web', |
|||
], |
|||
'data': [ |
|||
'views/clean_navbar.xml', |
|||
], |
|||
'installable': True, |
|||
} |
After Width: 128 | Height: 128 | Size: 9.2 KiB |
@ -0,0 +1,35 @@ |
|||
|
|||
|
|||
<section class="oe_container"> |
|||
<div class="oe_row"> |
|||
<h2 class="oe_slogan">Clean Navbar</h2> |
|||
<h3 class="oe_slogan">Brighter navigation</h3> |
|||
<div style="width:95%;"> |
|||
<p class='oe_mt32'> |
|||
<ul> |
|||
<li>In case of working on a very bright working station, as well as presentation with an projector, it may be difficult to see the links in the main menu.</li> |
|||
<li>With Clean Navbar, you get a brighter main-navigation.</li> |
|||
</ul> |
|||
</p> |
|||
<p><img class="oe_picture" src="navbar1.png"> |
|||
</p> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
|
|||
<section class="oe_container"> |
|||
<div class="oe_row" style="background-color:#f2f5fa;"> |
|||
<h2 class="oe_slogan oe_mt32">Clean Navbar</h2> |
|||
<h3 class="oe_slogan">Helleres Hauptmenü</h3> |
|||
<div style="width:95%;"> |
|||
<p class='oe_mt32'> |
|||
<ul> |
|||
<li>Beim arbeiten mit Odoo an einem sehr hellen Arbeitsplatz oder bei einer Präsentation mit einem Beamer, kann man unter Umständen gar nicht oder nur sehr angestrengt die Punkte der Hauptnavigation erkennen.</li> |
|||
<li>Mit Clean Navbar, werden die Punkte der Hauptnavigation besser lesbar.</li> |
|||
</ul> |
|||
</p> |
|||
<p><img class="oe_picture" src="navbar1.png"> |
|||
</p> |
|||
</div> |
|||
</div> |
|||
</section> |
After Width: 206 | Height: 153 | Size: 13 KiB |
@ -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> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue