Skip to content

Commit

Permalink
[ADD] Odoo customized with css
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisReza committed Feb 3, 2017
1 parent 1d2f94b commit 15b3b5f
Show file tree
Hide file tree
Showing 18 changed files with 140 additions and 0 deletions.
2 changes: 2 additions & 0 deletions odoo_10_custom/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# -*- coding: utf-8 -*-
# import models
19 changes: 19 additions & 0 deletions odoo_10_custom/__openerp__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
# Copyright 2015, Jarsa Sistemas S.A. de C.V.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Odoo 10 Custom",
"version": "10.0.1.0.0",
"category": "Custom",
"website": "http://jarsa.com.mx",
"author": "Jarsa Sistemas S.A. de C.V.",
"license": "AGPL-3",
"description": "Custom Views for MT",
"depends": [
"base",
],
"data": [
'views/mt_css_rs.xml',
],
}
109 changes: 109 additions & 0 deletions odoo_10_custom/static/src/css/cssfile.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
@keyframes menuitem{
from{ transform: translate(0px,0px); }
33%{ transform: translate(4px,0px); }
66%{ transform: translate(-4px,0px); }
to{ transform: translate(0px,0px); }
}
@keyframes menuitemicons{
from{ transform: scale(1, 1); }
33%{ transform: scale(1.1, 1.1); }
66%{ transform: scale(0.9, 0.9); }
to{ transform: scale(1, 1); }
}
nav.navbar div.container-fluid{
background: #cc7068;
background: -moz-linear-gradient(-45deg, #cc7068 0%, #c94f49 17%, #a42e2c 51%, #8f2421 51%, #a81c21 59%, #ba2328 71%, #8f2124 84%, #671e15 100%);
background: -webkit-linear-gradient(-45deg, #cc7068 0%,#c94f49 17%,#a42e2c 51%,#8f2421 51%,#a81c21 59%,#ba2328 71%,#8f2124 84%,#671e15 100%);
background: linear-gradient(135deg, #cc7068 0%,#c94f49 17%,#a42e2c 51%,#8f2421 51%,#a81c21 59%,#ba2328 71%,#8f2124 84%,#671e15 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc7068', endColorstr='#671e15',GradientType=1 );
}
.o_list_view tfoot{
background: #c95650;
}
nav.navbar-inverse{
border-color: #904b4b;
}
nav div.navbar-header > a.navbar-brand.o_menu_toggle:hover,
nav div#o_navbar_collapse > ul.nav.navbar-nav.o_menu_sections > li > a:hover,
nav div#o_navbar_collapse > ul.nav.navbar-nav.o_menu_sections > li > a:focus,
nav div#o_navbar_collapse > ul.nav.navbar-nav.navbar-right.oe_systray > li > a:hover,
nav div#o_navbar_collapse > ul.nav.navbar-nav.navbar-right.oe_systray > li > a:focus,
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus{
background-color: #d26d6d;
}
nav div.navbar-header > a.navbar-brand.o_menu_toggle:hover,
nav div#o_navbar_collapse > ul.nav.navbar-nav.o_menu_sections > li > a:hover{
animation-name: menuitem;
animation-duration: 1s;
animation-iteration-count: infinite;
position: relative;
}
body > div.o_application_switcher{
background: url(/odoo_10_custom/static/src/img/image3.png) no-repeat center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
font-size: 15px;
}
div.o_application_switcher div.o_application_switcher_footer img{
content: url(/odoo_10_custom/static/src/img/jarsa.png);
width: 70px;
}
.o_application_switcher .o_apps .o_app .o_caption{
color: #6b6b6b;
}
.o_application_switcher .o_apps .o_app .o_app_icon{
border-radius: 3px;
-webkit-box-shadow: -4px 4px 6px -3px rgba(0, 0, 0, 0.29);
-moz-box-shadow: -4px 4px 6px -3px rgba(0, 0, 0, 0.29);
box-shadow: -4px 4px 6px -3px rgba(0, 0, 0, 0.29);
}
.o_application_switcher .o_apps .o_app .o_app_icon:hover{
animation-name: menuitemicons;
animation-duration: 1s;
animation-iteration-count: infinite;
position: relative;
}

/*
div.table-responsive table.o_account_reports_table{
font-size:100px;
}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus,
body > nav > div > div.navbar-header > a:hover,
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus,
.o_web_client .navbar .o_menu_toggle:hover,
.o_searchview .o_searchview_facet .o_searchview_facet_label,
.label-primary[href]:hover,
.label-primary[href]:focus,
.o_form_view .o_notebook > ul.nav-tabs > li.active > a,
.o_form_view .o_notebook > ul.nav-tabs > li.active > a:hover,
.o_form_view .o_notebook > ul.nav-tabs > li.active > a:focus,
.o_form_view .o_notebook > ul.nav-tabs > li.active > a:active{
color: #B40404;
font-weight: 500;
}
.o_form_view .o_notebook > ul.nav-tabs > li.active > a {
border-bottom: 1px solid #B40404;
}
.o_form_view .oe_button_box .btn.oe_stat_button > .o_stat_info .o_stat_value {
display: block;
max-width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: top;
font-weight: 700;
color: #B40404;
}*/
Binary file added odoo_10_custom/static/src/img/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added odoo_10_custom/static/src/img/2.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added odoo_10_custom/static/src/img/3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added odoo_10_custom/static/src/img/4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added odoo_10_custom/static/src/img/5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added odoo_10_custom/static/src/img/6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added odoo_10_custom/static/src/img/7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added odoo_10_custom/static/src/img/7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added odoo_10_custom/static/src/img/8.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added odoo_10_custom/static/src/img/9.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added odoo_10_custom/static/src/img/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added odoo_10_custom/static/src/img/image2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added odoo_10_custom/static/src/img/image3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added odoo_10_custom/static/src/img/jarsa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions odoo_10_custom/views/mt_css_rs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<template id="assets_backend" name="static_resources_demo assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/odoo_10_custom/static/src/css/cssfile.css"/>
</xpath>
</template>
</data>
</openerp>

0 comments on commit 15b3b5f

Please sign in to comment.