Skip to content

Commit ea12196

Browse files
committed
[ADD] Odoo customized with css
1 parent 1d2f94b commit ea12196

18 files changed

+178
-0
lines changed

odoo_10_custom/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# -*- coding: utf-8 -*-
2+
# import models

odoo_10_custom/__openerp__.py

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2015, Jarsa Sistemas S.A. de C.V.
3+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
4+
5+
{
6+
"name": "Odoo 10 Custom",
7+
"version": "10.0.1.0.0",
8+
"category": "Custom",
9+
"website": "http://jarsa.com.mx",
10+
"author": "Jarsa Sistemas S.A. de C.V.",
11+
"license": "AGPL-3",
12+
"description": "Custom Views for MT",
13+
"depends": [
14+
"base",
15+
],
16+
"data": [
17+
'views/mt_css_rs.xml',
18+
],
19+
}
+147
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
@keyframes menuitem{
2+
from{ transform: translate(0px,0px); }
3+
33%{ transform: translate(3px,0px); }
4+
66%{ transform: translate(-3px,0px); }
5+
to{ transform: translate(0px,0px); }
6+
}
7+
@keyframes menuitemicons{
8+
from{ transform: scale(1, 1); }
9+
33%{ transform: scale(0.9, 0.9); }
10+
66%{ transform: scale(1.1, 1.1); }
11+
to{ transform: scale(1, 1); }
12+
}
13+
nav.navbar div.container-fluid{
14+
background: #cc7068;
15+
background: -moz-linear-gradient(-45deg, #cc7068 0%, #c94f49 17%, #a42e2c 51%, #8f2421 51%, #a81c21 59%, #ba2328 71%, #8f2124 84%, #671e15 100%);
16+
background: -webkit-linear-gradient(-45deg, #cc7068 0%,#c94f49 17%,#a42e2c 51%,#8f2421 51%,#a81c21 59%,#ba2328 71%,#8f2124 84%,#671e15 100%);
17+
background: linear-gradient(135deg, #cc7068 0%,#c94f49 17%,#a42e2c 51%,#8f2421 51%,#a81c21 59%,#ba2328 71%,#8f2124 84%,#671e15 100%);
18+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc7068', endColorstr='#671e15',GradientType=1 );
19+
}
20+
.o_list_view tfoot{
21+
background: #bb524d;
22+
}
23+
nav.navbar-inverse{
24+
border-color: #904b4b;
25+
}
26+
nav div.navbar-header > a.navbar-brand.o_menu_toggle:hover,
27+
nav div#o_navbar_collapse > ul.nav.navbar-nav.o_menu_sections > li > a:hover,
28+
nav div#o_navbar_collapse > ul.nav.navbar-nav.o_menu_sections > li > a:focus,
29+
nav div#o_navbar_collapse > ul.nav.navbar-nav.navbar-right.oe_systray > li > a:hover,
30+
nav div#o_navbar_collapse > ul.nav.navbar-nav.navbar-right.oe_systray > li > a:focus,
31+
.navbar-inverse .navbar-nav > .open > a,
32+
.navbar-inverse .navbar-nav > .open > a:hover,
33+
.navbar-inverse .navbar-nav > .open > a:focus{
34+
background-color: #d26d6d;
35+
}
36+
nav div.navbar-header > a.navbar-brand.o_menu_toggle:hover,
37+
nav div#o_navbar_collapse > ul.nav.navbar-nav.o_menu_sections > li > a:hover{
38+
animation-name: menuitem;
39+
animation-duration: 1s;
40+
animation-iteration-count: infinite;
41+
position: relative;
42+
}
43+
body > div.o_application_switcher{
44+
background: url(/odoo_10_custom/static/src/img/image3.png) no-repeat center center;
45+
-webkit-background-size: cover;
46+
-moz-background-size: cover;
47+
-o-background-size: cover;
48+
background-size: cover;
49+
font-size: 15px;
50+
}
51+
div.o_application_switcher div.o_application_switcher_footer img{
52+
content: url(/odoo_10_custom/static/src/img/jarsa.png);
53+
width: 70px;
54+
}
55+
.o_application_switcher .o_apps .o_app .o_caption{
56+
color: #6b6b6b;
57+
}
58+
.o_application_switcher .o_apps .o_app .o_app_icon{
59+
border-radius: 3px;
60+
-webkit-box-shadow: -4px 4px 6px -3px rgba(0, 0, 0, 0.29);
61+
-moz-box-shadow: -4px 4px 6px -3px rgba(0, 0, 0, 0.29);
62+
box-shadow: -4px 4px 6px -3px rgba(0, 0, 0, 0.29);
63+
}
64+
.o_application_switcher .o_apps .o_app .o_app_icon:hover{
65+
animation-name: menuitemicons;
66+
animation-duration: 1s;
67+
animation-iteration-count: infinite;
68+
position: relative;
69+
}
70+
.o_searchview .o_searchview_facet .o_searchview_facet_label,
71+
.label-primary, .btn-primary{
72+
background-color: #4c4643;
73+
}
74+
.btn-primary:hover{
75+
background-color: #56524f;
76+
}
77+
.btn-default, .btn-link{
78+
color: #4c4643;
79+
}
80+
.btn-default:hover{
81+
color: #949494;
82+
}
83+
.btn-link:hover{
84+
color: #bb524d;
85+
}
86+
.btn{
87+
border-radius: 3px;
88+
}
89+
.o_form_view .oe_link,
90+
.o_form_view.o_form_readonly .o_form_uri:first-line,
91+
.o_control_panel .breadcrumb > li > a{
92+
color: #bb524d;
93+
}
94+
.o_form_view.o_form_readonly .o_form_uri:hover:first-line,
95+
.o_control_panel .breadcrumb > li > a:hover{
96+
color: #843c38;
97+
}
98+
.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.btn-primary.disabled{
99+
background-color: #f19e97;
100+
margin: 2.5px 0;
101+
}
102+
.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.disabled{
103+
margin: 2.5px 0;
104+
}
105+
.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.btn-primary.disabled:after,
106+
.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.btn-primary.disabled:before{
107+
border-left-color: #f19e97;
108+
}
109+
/*
110+
div.table-responsive table.o_account_reports_table{
111+
font-size:100px;
112+
}
113+
.navbar-inverse .navbar-nav > li > a:hover,
114+
.navbar-inverse .navbar-nav > li > a:focus,
115+
body > nav > div > div.navbar-header > a:hover,
116+
.navbar-inverse .navbar-nav > .open > a,
117+
.navbar-inverse .navbar-nav > .open > a:hover,
118+
.navbar-inverse .navbar-nav > .open > a:focus,
119+
.o_web_client .navbar .o_menu_toggle:hover,
120+
.o_searchview .o_searchview_facet .o_searchview_facet_label,
121+
.label-primary[href]:hover,
122+
.label-primary[href]:focus,
123+
124+
125+
126+
127+
.o_form_view .o_notebook > ul.nav-tabs > li.active > a,
128+
.o_form_view .o_notebook > ul.nav-tabs > li.active > a:hover,
129+
.o_form_view .o_notebook > ul.nav-tabs > li.active > a:focus,
130+
.o_form_view .o_notebook > ul.nav-tabs > li.active > a:active{
131+
color: #B40404;
132+
font-weight: 500;
133+
}
134+
.o_form_view .o_notebook > ul.nav-tabs > li.active > a {
135+
border-bottom: 1px solid #B40404;
136+
}
137+
138+
.o_form_view .oe_button_box .btn.oe_stat_button > .o_stat_info .o_stat_value {
139+
display: block;
140+
max-width: 100%;
141+
white-space: nowrap;
142+
overflow: hidden;
143+
text-overflow: ellipsis;
144+
vertical-align: top;
145+
font-weight: 700;
146+
color: #B40404;
147+
}*/

odoo_10_custom/static/src/img/1.png

121 KB
Loading

odoo_10_custom/static/src/img/2.jpeg

31.5 KB
Loading

odoo_10_custom/static/src/img/3.jpg

380 KB
Loading

odoo_10_custom/static/src/img/4.jpg

1.56 KB
Loading

odoo_10_custom/static/src/img/5.png

654 KB
Loading

odoo_10_custom/static/src/img/6.jpg

102 KB
Loading

odoo_10_custom/static/src/img/7.jpg

27.9 KB
Loading

odoo_10_custom/static/src/img/7.png

88.7 KB
Loading

odoo_10_custom/static/src/img/8.jpg

165 KB
Loading

odoo_10_custom/static/src/img/9.jpg

148 KB
Loading
1.14 MB
Loading
1.1 MB
Loading
1.1 MB
Loading
16.9 KB
Loading

odoo_10_custom/views/mt_css_rs.xml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<openerp>
3+
<data>
4+
<template id="assets_backend" name="static_resources_demo assets" inherit_id="web.assets_backend">
5+
<xpath expr="." position="inside">
6+
<link rel="stylesheet" href="/odoo_10_custom/static/src/css/cssfile.css"/>
7+
</xpath>
8+
</template>
9+
</data>
10+
</openerp>

0 commit comments

Comments
 (0)