diff --git a/web_clean_navbar/README.rst b/web_clean_navbar/README.rst new file mode 100644 index 00000000..ea9021f5 --- /dev/null +++ b/web_clean_navbar/README.rst @@ -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 `_. +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 `_. + + +Credits +======= + +Contributors +------------ + +* Equitania Software GmbH +* Holger Brunn + +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. diff --git a/web_clean_navbar/__init__.py b/web_clean_navbar/__init__.py new file mode 100644 index 00000000..3ddfacf2 --- /dev/null +++ b/web_clean_navbar/__init__.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Odoo Addon, Open Source Management Solution +# Copyright (C) 2014-now Equitania Software GmbH(). +# +# 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 . +# +############################################################################## diff --git a/web_clean_navbar/__openerp__.py b/web_clean_navbar/__openerp__.py new file mode 100644 index 00000000..2b17d34b --- /dev/null +++ b/web_clean_navbar/__openerp__.py @@ -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(). +# +# 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 . +# +############################################################################## +{ + '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, +} diff --git a/web_clean_navbar/static/description/icon.png b/web_clean_navbar/static/description/icon.png new file mode 100644 index 00000000..3a0328b5 Binary files /dev/null and b/web_clean_navbar/static/description/icon.png differ diff --git a/web_clean_navbar/static/description/index.html b/web_clean_navbar/static/description/index.html new file mode 100644 index 00000000..9812ef9d --- /dev/null +++ b/web_clean_navbar/static/description/index.html @@ -0,0 +1,35 @@ + + +
+
+

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.
  • +
+

+

+

+
+
+
+ +
+
+

Clean Navbar

+

Helleres Hauptmenü

+
+

+

    +
  • 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.
  • +
  • Mit Clean Navbar, werden die Punkte der Hauptnavigation besser lesbar.
  • +
+

+

+

+
+
+
diff --git a/web_clean_navbar/static/description/navbar1.png b/web_clean_navbar/static/description/navbar1.png new file mode 100644 index 00000000..ef1b5157 Binary files /dev/null and b/web_clean_navbar/static/description/navbar1.png differ diff --git a/web_clean_navbar/static/src/css/clean_navbar.css b/web_clean_navbar/static/src/css/clean_navbar.css new file mode 100644 index 00000000..64778e33 --- /dev/null +++ b/web_clean_navbar/static/src/css/clean_navbar.css @@ -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; +} + diff --git a/web_clean_navbar/views/clean_navbar.xml b/web_clean_navbar/views/clean_navbar.xml new file mode 100644 index 00000000..6ccb7edc --- /dev/null +++ b/web_clean_navbar/views/clean_navbar.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file