Merge lp:~openerp-dev/openerp-web/trunk-improve-css-all-browsers into lp:openerp-web

Proposed by Antony Lesuisse (OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openerp-web/trunk-improve-css-all-browsers
Merge into: lp:openerp-web
Diff against target: 1371 lines (+611/-60)
12 files modified
addons/web/controllers/main.py (+3/-0)
addons/web/static/lib/jquery.blockUI/jquery.blockUI.js (+1/-1)
addons/web/static/src/css/base-ie.css (+131/-0)
addons/web/static/src/css/base-ie.sass (+121/-0)
addons/web/static/src/css/base.css (+165/-11)
addons/web/static/src/css/base.sass (+121/-8)
addons/web/static/src/js/view_form.js (+24/-1)
addons/web_calendar/static/src/css/web_calendar.css (+26/-35)
addons/web_gantt/static/src/js/gantt.js (+1/-1)
addons/web_graph/static/lib/flotr2/js/DOM.js (+0/-1)
addons/web_kanban/static/src/css/kanban.css (+10/-1)
addons/web_kanban/static/src/css/kanban.sass (+8/-1)
To merge this branch: bzr merge lp:~openerp-dev/openerp-web/trunk-improve-css-all-browsers
Reviewer Review Type Date Requested Status
OpenERP R&D Web Team Pending
Review via email: mp+132701@code.launchpad.net
To post a comment you must log in.
3240. By Jiten (OpenERP)

[MERGE] Merged trunk.

3241. By Niko (OpenERP)

[IMP] css improvement ( for ie9 )

3242. By Niko (OpenERP)

[MERGE] SYNC TRUNK - css improvement ( for ie9 )

3243. By Niko (OpenERP)

[IMP] improve css (ie9)

3244. By Niko (OpenERP)

[FIX] use unix-newlines for sass compil (under windows)

3245. By Jiten (OpenERP)

[MERGE] Merged trunk.

Unmerged revisions

3245. By Jiten (OpenERP)

[MERGE] Merged trunk.

3244. By Niko (OpenERP)

[FIX] use unix-newlines for sass compil (under windows)

3243. By Niko (OpenERP)

[IMP] improve css (ie9)

3242. By Niko (OpenERP)

[MERGE] SYNC TRUNK - css improvement ( for ie9 )

3241. By Niko (OpenERP)

[IMP] css improvement ( for ie9 )

3240. By Jiten (OpenERP)

[MERGE] Merged trunk.

3239. By Jiten (OpenERP)

[MERGE] Merged trunk.

3238. By Jiten (OpenERP)

[MERGE] Merged trunk.

3237. By Bhumi Thakkar (Open ERP)

[FIX] Fix issue of file field.

3236. By Anand

[IMP]improve css code for the required form field in header

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'addons/web/controllers/main.py'
--- addons/web/controllers/main.py 2012-11-16 13:58:22 +0000
+++ addons/web/controllers/main.py 2012-11-19 06:37:29 +0000
@@ -563,6 +563,9 @@
563 <link rel="shortcut icon" href="/web/static/src/img/favicon.ico" type="image/x-icon"/>563 <link rel="shortcut icon" href="/web/static/src/img/favicon.ico" type="image/x-icon"/>
564 <link rel="stylesheet" href="/web/static/src/css/full.css" />564 <link rel="stylesheet" href="/web/static/src/css/full.css" />
565 %(css)s565 %(css)s
566 <!--[if IE 9]>
567 <link rel="stylesheet" href="/web/static/src/css/base-ie.css" />
568 <![endif]-->
566 %(js)s569 %(js)s
567 <script type="text/javascript">570 <script type="text/javascript">
568 $(function() {571 $(function() {
569572
=== modified file 'addons/web/static/lib/jquery.blockUI/jquery.blockUI.js'
--- addons/web/static/lib/jquery.blockUI/jquery.blockUI.js 2012-09-11 08:15:59 +0000
+++ addons/web/static/lib/jquery.blockUI/jquery.blockUI.js 2012-11-19 06:37:29 +0000
@@ -265,7 +265,7 @@
265 }265 }
266266
267 // style the overlay267 // style the overlay
268 if (!opts.theme && (!opts.applyPlatformOpacityRules || !($.browser.mozilla && /Linux/.test(navigator.platform))))268 if (!opts.theme && (opts.applyPlatformOpacityRules || ($.browser.mozilla && /Linux/.test(navigator.platform))))
269 lyr2.css(opts.overlayCSS);269 lyr2.css(opts.overlayCSS);
270 lyr2.css('position', full ? 'fixed' : 'absolute');270 lyr2.css('position', full ? 'fixed' : 'absolute');
271271
272272
=== added file 'addons/web/static/src/css/base-ie.css'
--- addons/web/static/src/css/base-ie.css 1970-01-01 00:00:00 +0000
+++ addons/web/static/src/css/base-ie.css 2012-11-19 06:37:29 +0000
@@ -0,0 +1,131 @@
1.openerp input[type='checkbox'] {
2 border: none;
3 background: none;
4 box-shadow: none;
5}
6.openerp .oe_logo img {
7 border: none;
8}
9.openerp .oe_login button {
10 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(enabled=false)";
11 background: url(/web/static/src/img/ui/bkg-ie-button.gif) repeat-x #dc5f59;
12}
13.openerp .oe_login button:hover {
14 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(enabled=false)";
15 background: url(/web/static/src/img/ui/bkg-ie-hover-button.gif) repeat-x #dc5f59;
16}
17.openerp .oe_header_row button.oe_highlight {
18 padding-top: 0;
19 padding-bottom: 0;
20}
21.openerp .oe_view_manager_buttons button.oe_write_full {
22 padding-top: 0;
23 padding-bottom: 0;
24}
25.openerp .oe_view_manager_buttons button.oe_highlight {
26 padding-top: 0;
27 padding-bottom: 0;
28}
29.openerp .oe_view_manager_buttons button .oe_form_button_edit {
30 padding-top: 0;
31 padding-bottom: 0;
32}
33.openerp .oe_view_manager_buttons button .oe_form_button_create {
34 padding-top: 0;
35 padding-bottom: 0;
36}
37.openerp button.oe_searchview_search {
38 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(enabled=false)";
39 background: url(/web/static/src/img/ui/bkg-ie-button.gif) repeat-x #dc5f59;
40}
41.openerp button.oe_searchview_search:hover {
42 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(enabled=false)";
43 background: url(/web/static/src/img/ui/bkg-ie-hover-button.gif) repeat-x #dc5f59;
44}
45.openerp button.oe_highlight {
46 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(enabled=false)";
47 background: url(/web/static/src/img/ui/bkg-ie-button.gif) repeat-x #dc5f59;
48}
49.openerp button.oe_highlight:hover {
50 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(enabled=false)";
51 background: url(/web/static/src/img/ui/bkg-ie-hover-button.gif) repeat-x #dc5f59;
52}
53.openerp .oe_kanban_image {
54 border: none;
55}
56.openerp .oe_msg_icon {
57 border: none;
58}
59.openerp .oe_form header ul {
60 height: 29px;
61}
62.openerp .oe_attach {
63 filter: none;
64}
65.openerp .oe_link {
66 filter: none;
67}
68.openerp .oe_kanban_show_more {
69 clear: both;
70 text-align: center;
71}
72.openerp.oe_kanban_grouped .oe_kanban_show_more .oe_button {
73 width: 100%;
74 padding: 3px 12px;
75}
76.openerp .oe_form_buttons button {
77 padding-top: 0;
78 padding-bottom: 0;
79}
80.openerp .oe_sidebar button {
81 padding-top: 0;
82 padding-bottom: 0;
83}
84.openerp .oe_form_field.oe_tags {
85 float: left;
86}
87.openerp ul.oe_form_status li {
88 background-color/*\**/: #e8e8e8 \9;
89 background: -ms-linear-gradient(top, #fcfcfc, #dedede);
90 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede');
91}
92.openerp ul.oe_form_status li .label {
93 padding-bottom: 10px;
94}
95.openerp ul.oe_form_status li .arrow span {
96 background-color/*\**/: #e8e8e8 \9;
97 background: -ms-linear-gradient(top, #fcfcfc, #dedede);
98 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede');
99}
100.openerp ul.oe_form_status li.oe_active {
101 background-color: #729fcf;
102 background: -ms-linear-gradient(top, #729fcf, #3465a4);
103 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#729fcf', endColorstr='#3465a4');
104}
105.openerp ul.oe_form_status li.oe_active .label {
106 padding-bottom: 10px;
107}
108.openerp ul.oe_form_status_clickable li {
109 background-color: #e8e8e8;
110 background: -ms-linear-gradient(top, #fcfcfc, #dedede);
111 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede');
112}
113.openerp ul.oe_form_status_clickable li .label {
114 padding-bottom: 10px;
115}
116.openerp ul.oe_form_status_clickable li .arrow span {
117 background-color/*\**/: #e8e8e8 \9;
118 background: -ms-linear-gradient(top, #fcfcfc, #dedede);
119 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede');
120}
121.openerp ul.oe_form_status_clickable li.oe_active {
122 background-color: #729fcf;
123 background: -ms-linear-gradient(top, #729fcf, #3465a4);
124 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#729fcf', endColorstr='#3465a4');
125}
126.openerp ul.oe_form_status_clickable li.oe_active .label {
127 padding-bottom: 0;
128}
129.openerp .oe_mail .oe_msg .oe_msg_icons span {
130 -ms-filter: "progid:DXImageTransform.Microsoft.shadow(color=#aaaaaa,strength=2)";
131}
0132
=== added file 'addons/web/static/src/css/base-ie.sass'
--- addons/web/static/src/css/base-ie.sass 1970-01-01 00:00:00 +0000
+++ addons/web/static/src/css/base-ie.sass 2012-11-19 06:37:29 +0000
@@ -0,0 +1,121 @@
1@charset "utf-8"
2
3// Mixing for I9 only 9 ( red buttons with gradient and round border) {{{
4@mixin vertical-gradient-ie()
5 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(enabled=false)"
6 background: url(/web/static/src/img/ui/bkg-ie-button.gif) repeat-x #DC5F59
7 &:hover
8 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(enabled=false)"
9 background: url(/web/static/src/img/ui/bkg-ie-hover-button.gif) repeat-x #DC5F59
10// }}}
11
12// fixes for ie9 only
13.openerp
14 input[type='checkbox']
15 border: none
16 background: none
17 box-shadow: none
18 .oe_logo
19 img
20 border: none
21 .oe_login button
22 @include vertical-gradient-ie()
23 .oe_header_row
24 button.oe_highlight
25 padding-top: 0
26 padding-bottom: 0
27 .oe_view_manager_buttons
28 button.oe_write_full
29 padding-top: 0
30 padding-bottom: 0
31 button.oe_highlight
32 padding-top: 0
33 padding-bottom: 0
34 button .oe_form_button_edit
35 padding-top: 0
36 padding-bottom: 0
37 button .oe_form_button_create
38 padding-top: 0
39 padding-bottom: 0
40 button.oe_searchview_search
41 @include vertical-gradient-ie()
42 button.oe_highlight
43 @include vertical-gradient-ie()
44 .oe_kanban_image
45 border: none
46 .oe_msg_icon
47 border: none
48 .oe_form
49 header
50 ul
51 height: 29px
52
53 .oe_attach
54 filter: none
55 .oe_link
56 filter: none
57
58 .oe_kanban_show_more
59 clear: both
60 text-align: center
61 &.oe_kanban_grouped .oe_kanban_show_more .oe_button
62 width: 100%
63 padding: 3px 12px
64
65
66 .oe_form_buttons button
67 padding-top: 0
68 padding-bottom: 0
69 .oe_sidebar button
70 padding-top: 0
71 padding-bottom: 0
72
73 .oe_form_field.oe_tags
74 float: left
75 ul.oe_form_status
76 li
77 background-color/*\**/: #e8e8e8\9
78 background: -ms-linear-gradient(top, #fcfcfc, #dedede) /* For IE 10 */
79 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede') /* For IE 9 */
80 .label
81 padding-bottom: 10px
82 .arrow
83 span
84 background-color/*\**/: #e8e8e8\9
85 background: -ms-linear-gradient(top, #fcfcfc, #dedede) /* For IE 10 */
86 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede') /* For IE 9 */
87 li.oe_active
88 background-color: #729fcf
89 background: -ms-linear-gradient(top, #729fcf, #3465a4) /* For IE 10 */
90 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#729fcf', endColorstr='#3465a4') /* For IE 9 */
91 .label
92 padding-bottom: 10px
93
94 ul.oe_form_status_clickable
95 li
96 background-color: #e8e8e8
97 background: -ms-linear-gradient(top, #fcfcfc, #dedede) /* For IE 10 */
98 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede') /* For IE 9 */
99 .label
100 padding-bottom: 10px
101 .arrow
102 span
103 background-color/*\**/: #e8e8e8\9
104 background: -ms-linear-gradient(top, #fcfcfc, #dedede) /* For IE 10 */
105 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede') /* For IE 9 */
106 li.oe_active
107 background-color: #729fcf
108 background: -ms-linear-gradient(top, #729fcf, #3465a4) /* For IE 10 */
109 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#729fcf', endColorstr='#3465a4') /* For IE 9 */
110 .label
111 padding-bottom: 0
112
113 // mail addon
114 .oe_mail
115 .oe_msg
116 .oe_msg_icons
117 span
118 -ms-filter: "progid:DXImageTransform.Microsoft.shadow(color=#aaaaaa,strength=2)"
119
120
121// }}}
0\ No newline at end of file122\ No newline at end of file
1123
=== modified file 'addons/web/static/src/css/base.css'
--- addons/web/static/src/css/base.css 2012-11-15 17:51:46 +0000
+++ addons/web/static/src/css/base.css 2012-11-19 06:37:29 +0000
@@ -1,4 +1,4 @@
1@charset "utf-8";1@charset "UTF-8";
2@font-face {2@font-face {
3 font-family: "mnmliconsRegular";3 font-family: "mnmliconsRegular";
4 src: url("/web/static/src/font/mnmliconsv21-webfont.eot") format("eot");4 src: url("/web/static/src/font/mnmliconsv21-webfont.eot") format("eot");
@@ -43,6 +43,10 @@
43 color: #afafb6 !important;43 color: #afafb6 !important;
44 font-style: italic !important;44 font-style: italic !important;
45}45}
46.openerp :-ms-input-placeholder {
47 color: #afafb6 !important;
48 font-style: italic !important;
49}
46.openerp a {50.openerp a {
47 text-decoration: none;51 text-decoration: none;
48 cursor: pointer !important;52 cursor: pointer !important;
@@ -84,6 +88,7 @@
84 background-image: -ms-linear-gradient(top, #f0f0fa, #eeeef6);88 background-image: -ms-linear-gradient(top, #f0f0fa, #eeeef6);
85 background-image: -o-linear-gradient(top, #f0f0fa, #eeeef6);89 background-image: -o-linear-gradient(top, #f0f0fa, #eeeef6);
86 background-image: linear-gradient(to bottom, #f0f0fa, #eeeef6);90 background-image: linear-gradient(to bottom, #f0f0fa, #eeeef6);
91 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFF0F0FA', endColorstr='#FFEEEEF6')";
87}92}
88.openerp .zebra tbody tr:hover td {93.openerp .zebra tbody tr:hover td {
89 background-color: #eeeeee;94 background-color: #eeeeee;
@@ -93,6 +98,7 @@
93 background-image: -ms-linear-gradient(top, #eeeeee, #dedede);98 background-image: -ms-linear-gradient(top, #eeeeee, #dedede);
94 background-image: -o-linear-gradient(top, #eeeeee, #dedede);99 background-image: -o-linear-gradient(top, #eeeeee, #dedede);
95 background-image: linear-gradient(to bottom, #eeeeee, #dedede);100 background-image: linear-gradient(to bottom, #eeeeee, #dedede);
101 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFEEEEEE', endColorstr='#FFDEDEDE')";
96}102}
97.openerp input, .openerp textarea, .openerp select {103.openerp input, .openerp textarea, .openerp select {
98 padding: 2px 4px;104 padding: 2px 4px;
@@ -123,6 +129,7 @@
123 background-image: -ms-linear-gradient(top, #efefef, #d8d8d8);129 background-image: -ms-linear-gradient(top, #efefef, #d8d8d8);
124 background-image: -o-linear-gradient(top, #efefef, #d8d8d8);130 background-image: -o-linear-gradient(top, #efefef, #d8d8d8);
125 background-image: linear-gradient(to bottom, #efefef, #d8d8d8);131 background-image: linear-gradient(to bottom, #efefef, #d8d8d8);
132 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFEFEFEF', endColorstr='#FFD8D8D8')";
126 -moz-border-radius: 3px;133 -moz-border-radius: 3px;
127 -webkit-border-radius: 3px;134 -webkit-border-radius: 3px;
128 border-radius: 3px;135 border-radius: 3px;
@@ -141,6 +148,7 @@
141 background-image: -ms-linear-gradient(top, #f6f6f6, #e3e3e3);148 background-image: -ms-linear-gradient(top, #f6f6f6, #e3e3e3);
142 background-image: -o-linear-gradient(top, #f6f6f6, #e3e3e3);149 background-image: -o-linear-gradient(top, #f6f6f6, #e3e3e3);
143 background-image: linear-gradient(to bottom, #f6f6f6, #e3e3e3);150 background-image: linear-gradient(to bottom, #f6f6f6, #e3e3e3);
151 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFF6F6F6', endColorstr='#FFE3E3E3')";
144 cursor: pointer;152 cursor: pointer;
145 background-position: 0;153 background-position: 0;
146}154}
@@ -154,6 +162,7 @@
154 background-image: -ms-linear-gradient(top, #f6f6f6, #e3e3e3);162 background-image: -ms-linear-gradient(top, #f6f6f6, #e3e3e3);
155 background-image: -o-linear-gradient(top, #f6f6f6, #e3e3e3);163 background-image: -o-linear-gradient(top, #f6f6f6, #e3e3e3);
156 background-image: linear-gradient(to bottom, #f6f6f6, #e3e3e3);164 background-image: linear-gradient(to bottom, #f6f6f6, #e3e3e3);
165 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFF6F6F6', endColorstr='#FFE3E3E3')";
157 -moz-box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, 0.8) inset;166 -moz-box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, 0.8) inset;
158 -webkit-box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, 0.8) inset;167 -webkit-box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, 0.8) inset;
159 box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, 0.8) inset;168 box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, 0.8) inset;
@@ -166,6 +175,7 @@
166 background-image: -ms-linear-gradient(top, #e3e3e3, #f6f6f6);175 background-image: -ms-linear-gradient(top, #e3e3e3, #f6f6f6);
167 background-image: -o-linear-gradient(top, #e3e3e3, #f6f6f6);176 background-image: -o-linear-gradient(top, #e3e3e3, #f6f6f6);
168 background-image: linear-gradient(to bottom, #e3e3e3, #f6f6f6);177 background-image: linear-gradient(to bottom, #e3e3e3, #f6f6f6);
178 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFE3E3E3', endColorstr='#FFF6F6F6')";
169 -moz-box-shadow: none;179 -moz-box-shadow: none;
170 -webkit-box-shadow: none;180 -webkit-box-shadow: none;
171 box-shadow: none;181 box-shadow: none;
@@ -227,6 +237,7 @@
227 background-image: -ms-linear-gradient(top, #fcfcfc, #dedede);237 background-image: -ms-linear-gradient(top, #fcfcfc, #dedede);
228 background-image: -o-linear-gradient(top, #fcfcfc, #dedede);238 background-image: -o-linear-gradient(top, #fcfcfc, #dedede);
229 background-image: linear-gradient(to bottom, #fcfcfc, #dedede);239 background-image: linear-gradient(to bottom, #fcfcfc, #dedede);
240 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFFCFCFC', endColorstr='#FFDEDEDE')";
230}241}
231.openerp.ui-dialog .ui-dialog-titlebar .ui-dialog-title {242.openerp.ui-dialog .ui-dialog-titlebar .ui-dialog-title {
232 margin: 0;243 margin: 0;
@@ -310,6 +321,7 @@
310 background-image: -ms-linear-gradient(top, #b41616, #600606);321 background-image: -ms-linear-gradient(top, #b41616, #600606);
311 background-image: -o-linear-gradient(top, #b41616, #600606);322 background-image: -o-linear-gradient(top, #b41616, #600606);
312 background-image: linear-gradient(to bottom, #b41616, #600606);323 background-image: linear-gradient(to bottom, #b41616, #600606);
324 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFB41616', endColorstr='#FF600606')";
313 color: #eeeeee;325 color: #eeeeee;
314 padding: 0 16px;326 padding: 0 16px;
315 -moz-border-radius: 0 0 2px 2px;327 -moz-border-radius: 0 0 2px 2px;
@@ -382,6 +394,7 @@
382 background-image: -ms-linear-gradient(top, #df3f3f, #a21a1a);394 background-image: -ms-linear-gradient(top, #df3f3f, #a21a1a);
383 background-image: -o-linear-gradient(top, #df3f3f, #a21a1a);395 background-image: -o-linear-gradient(top, #df3f3f, #a21a1a);
384 background-image: linear-gradient(to bottom, #df3f3f, #a21a1a);396 background-image: linear-gradient(to bottom, #df3f3f, #a21a1a);
397 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFDF3F3F', endColorstr='#FFA21A1A')";
385 -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset;398 -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset;
386 -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset;399 -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset;
387 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset;400 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset;
@@ -394,6 +407,7 @@
394 background-image: -ms-linear-gradient(top, #e25858, #ab1b1b);407 background-image: -ms-linear-gradient(top, #e25858, #ab1b1b);
395 background-image: -o-linear-gradient(top, #e25858, #ab1b1b);408 background-image: -o-linear-gradient(top, #e25858, #ab1b1b);
396 background-image: linear-gradient(to bottom, #e25858, #ab1b1b);409 background-image: linear-gradient(to bottom, #e25858, #ab1b1b);
410 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFE25858', endColorstr='#FFAB1B1B')";
397}411}
398.openerp button.oe_highlight:active {412.openerp button.oe_highlight:active {
399 background-color: #c52020;413 background-color: #c52020;
@@ -403,6 +417,7 @@
403 background-image: -ms-linear-gradient(top, #c52020, #d22323);417 background-image: -ms-linear-gradient(top, #c52020, #d22323);
404 background-image: -o-linear-gradient(top, #c52020, #d22323);418 background-image: -o-linear-gradient(top, #c52020, #d22323);
405 background-image: linear-gradient(to bottom, #c52020, #d22323);419 background-image: linear-gradient(to bottom, #c52020, #d22323);
420 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFC52020', endColorstr='#FFD22323')";
406}421}
407.openerp .oe_background_grey {422.openerp .oe_background_grey {
408 background: #eeeeee !important;423 background: #eeeeee !important;
@@ -420,6 +435,7 @@
420 background-image: -ms-linear-gradient(top, #dc5f59, #b33630);435 background-image: -ms-linear-gradient(top, #dc5f59, #b33630);
421 background-image: -o-linear-gradient(top, #dc5f59, #b33630);436 background-image: -o-linear-gradient(top, #dc5f59, #b33630);
422 background-image: linear-gradient(to bottom, #dc5f59, #b33630);437 background-image: linear-gradient(to bottom, #dc5f59, #b33630);
438 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFDC5F59', endColorstr='#FFB33630')";
423 -moz-box-shadow: none;439 -moz-box-shadow: none;
424 -webkit-box-shadow: none;440 -webkit-box-shadow: none;
425 box-shadow: none;441 box-shadow: none;
@@ -439,7 +455,7 @@
439 visibility: hidden;455 visibility: hidden;
440}456}
441.openerp .oe_button_box {457.openerp .oe_button_box {
442 width: 270px;458 width: 280px;
443 text-align: right;459 text-align: right;
444}460}
445.openerp .oe_button_box button {461.openerp .oe_button_box button {
@@ -694,6 +710,7 @@
694 background-image: -ms-linear-gradient(top, #f0f0fa, #eeeef6);710 background-image: -ms-linear-gradient(top, #f0f0fa, #eeeef6);
695 background-image: -o-linear-gradient(top, #f0f0fa, #eeeef6);711 background-image: -o-linear-gradient(top, #f0f0fa, #eeeef6);
696 background-image: linear-gradient(to bottom, #f0f0fa, #eeeef6);712 background-image: linear-gradient(to bottom, #f0f0fa, #eeeef6);
713 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFF0F0FA', endColorstr='#FFEEEEF6')";
697 -moz-box-shadow: none;714 -moz-box-shadow: none;
698 -webkit-box-shadow: none;715 -webkit-box-shadow: none;
699 box-shadow: none;716 box-shadow: none;
@@ -745,6 +762,7 @@
745 background-image: -ms-linear-gradient(top, #f0f0fa, #eeeef6);762 background-image: -ms-linear-gradient(top, #f0f0fa, #eeeef6);
746 background-image: -o-linear-gradient(top, #f0f0fa, #eeeef6);763 background-image: -o-linear-gradient(top, #f0f0fa, #eeeef6);
747 background-image: linear-gradient(to bottom, #f0f0fa, #eeeef6);764 background-image: linear-gradient(to bottom, #f0f0fa, #eeeef6);
765 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFF0F0FA', endColorstr='#FFEEEEF6')";
748 -moz-box-shadow: none;766 -moz-box-shadow: none;
749 -webkit-box-shadow: none;767 -webkit-box-shadow: none;
750 box-shadow: none;768 box-shadow: none;
@@ -799,7 +817,7 @@
799 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=);817 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=);
800 text-align: center;818 text-align: center;
801 font-size: 14px;819 font-size: 14px;
802 height: 100%;820 height: 600px;
803}821}
804.openerp .oe_login ul, .openerp .oe_login li {822.openerp .oe_login ul, .openerp .oe_login li {
805 margin: 0;823 margin: 0;
@@ -821,6 +839,7 @@
821 background-image: -ms-linear-gradient(top, #b92020, #600606);839 background-image: -ms-linear-gradient(top, #b92020, #600606);
822 background-image: -o-linear-gradient(top, #b92020, #600606);840 background-image: -o-linear-gradient(top, #b92020, #600606);
823 background-image: linear-gradient(to bottom, #b92020, #600606);841 background-image: linear-gradient(to bottom, #b92020, #600606);
842 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFB92020', endColorstr='#FF600606')";
824 -moz-border-radius: 4px;843 -moz-border-radius: 4px;
825 -webkit-border-radius: 4px;844 -webkit-border-radius: 4px;
826 border-radius: 4px;845 border-radius: 4px;
@@ -878,6 +897,7 @@
878 background-image: -ms-linear-gradient(top, #b41616, #600606);897 background-image: -ms-linear-gradient(top, #b41616, #600606);
879 background-image: -o-linear-gradient(top, #b41616, #600606);898 background-image: -o-linear-gradient(top, #b41616, #600606);
880 background-image: linear-gradient(to bottom, #b41616, #600606);899 background-image: linear-gradient(to bottom, #b41616, #600606);
900 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFB41616', endColorstr='#FF600606')";
881}901}
882.openerp .oe_login .oe_login_pane {902.openerp .oe_login .oe_login_pane {
883 position: absolute;903 position: absolute;
@@ -912,8 +932,8 @@
912.openerp .oe_login .oe_login_footer {932.openerp .oe_login .oe_login_footer {
913 position: absolute;933 position: absolute;
914 bottom: -40px;934 bottom: -40px;
915 left: 0;935 left: -134px;
916 width: 100%;936 width: 600px;
917 text-align: center;937 text-align: center;
918}938}
919.openerp .oe_login .oe_login_footer a {939.openerp .oe_login .oe_login_footer a {
@@ -975,6 +995,7 @@
975 background-image: -ms-linear-gradient(top, #646060, #262626);995 background-image: -ms-linear-gradient(top, #646060, #262626);
976 background-image: -o-linear-gradient(top, #646060, #262626);996 background-image: -o-linear-gradient(top, #646060, #262626);
977 background-image: linear-gradient(to bottom, #646060, #262626);997 background-image: linear-gradient(to bottom, #646060, #262626);
998 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FF646060', endColorstr='#FF262626')";
978}999}
979.openerp .oe_topbar .oe_topbar_item {1000.openerp .oe_topbar .oe_topbar_item {
980 display: block;1001 display: block;
@@ -1043,6 +1064,7 @@
1043 background-image: -ms-linear-gradient(top, #292929, #191919);1064 background-image: -ms-linear-gradient(top, #292929, #191919);
1044 background-image: -o-linear-gradient(top, #292929, #191919);1065 background-image: -o-linear-gradient(top, #292929, #191919);
1045 background-image: linear-gradient(to bottom, #292929, #191919);1066 background-image: linear-gradient(to bottom, #292929, #191919);
1067 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FF292929', endColorstr='#FF191919')";
1046 -moz-box-shadow: none;1068 -moz-box-shadow: none;
1047 -webkit-box-shadow: none;1069 -webkit-box-shadow: none;
1048 box-shadow: none;1070 box-shadow: none;
@@ -1180,7 +1202,7 @@
1180 color: white;1202 color: white;
1181 padding: 2px 4px;1203 padding: 2px 4px;
1182 margin: 1px 6px 0 0;1204 margin: 1px 6px 0 0;
1183 border: 1px solid lightGray;1205 border: 1px solid lightgrey;
1184 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);1206 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
1185 -moz-border-radius: 4px;1207 -moz-border-radius: 4px;
1186 -webkit-border-radius: 4px;1208 -webkit-border-radius: 4px;
@@ -1205,7 +1227,7 @@
1205 transform: scale(1.1);1227 transform: scale(1.1);
1206}1228}
1207.openerp .oe_secondary_submenu .oe_active {1229.openerp .oe_secondary_submenu .oe_active {
1208 border-top: 1px solid lightGray;1230 border-top: 1px solid lightgrey;
1209 border-bottom: 1px solid #dedede;1231 border-bottom: 1px solid #dedede;
1210 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);1232 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
1211 -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), inset 0 -1px 3px rgba(40, 40, 40, 0.2);1233 -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), inset 0 -1px 3px rgba(40, 40, 40, 0.2);
@@ -1288,6 +1310,7 @@
1288 background-image: -ms-linear-gradient(top, #b41616, #600606);1310 background-image: -ms-linear-gradient(top, #b41616, #600606);
1289 background-image: -o-linear-gradient(top, #b41616, #600606);1311 background-image: -o-linear-gradient(top, #b41616, #600606);
1290 background-image: linear-gradient(to bottom, #b41616, #600606);1312 background-image: linear-gradient(to bottom, #b41616, #600606);
1313 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFB41616', endColorstr='#FF600606')";
1291 color: #eeeeee;1314 color: #eeeeee;
1292 padding: 0 16px;1315 padding: 0 16px;
1293 -moz-border-radius: 0 0 2px 2px;1316 -moz-border-radius: 0 0 2px 2px;
@@ -1310,12 +1333,14 @@
1310 height: 100%;1333 height: 100%;
1311}1334}
1312.openerp .oe_application .oe_breadcrumb_item:not(:last-child) {1335.openerp .oe_application .oe_breadcrumb_item:not(:last-child) {
1313 display: inline-block;
1314 max-width: 7em;1336 max-width: 7em;
1315 white-space: nowrap;1337 white-space: nowrap;
1316 overflow: hidden;
1317 text-overflow: ellipsis;1338 text-overflow: ellipsis;
1318}1339}
1340.openerp .oe_application .oe_breadcrumb_title > * {
1341 display: inline-block;
1342 overflow: hidden;
1343}
1319.openerp .oe_view_manager .oe_view_manager_body {1344.openerp .oe_view_manager .oe_view_manager_body {
1320 height: inherit;1345 height: inherit;
1321}1346}
@@ -1323,6 +1348,7 @@
1323 height: inherit;1348 height: inherit;
1324}1349}
1325.openerp .oe_view_manager table.oe_view_manager_header {1350.openerp .oe_view_manager table.oe_view_manager_header {
1351 border-collapse: separate;
1326 width: 100%;1352 width: 100%;
1327 table-layout: fixed;1353 table-layout: fixed;
1328}1354}
@@ -1501,6 +1527,7 @@
1501 background-image: -ms-linear-gradient(top, #fcfcfc, #dedede);1527 background-image: -ms-linear-gradient(top, #fcfcfc, #dedede);
1502 background-image: -o-linear-gradient(top, #fcfcfc, #dedede);1528 background-image: -o-linear-gradient(top, #fcfcfc, #dedede);
1503 background-image: linear-gradient(to bottom, #fcfcfc, #dedede);1529 background-image: linear-gradient(to bottom, #fcfcfc, #dedede);
1530 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFFCFCFC', endColorstr='#FFDEDEDE')";
1504 -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 9px rgba(0, 0, 0, 0.1);1531 -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 9px rgba(0, 0, 0, 0.1);
1505 -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 9px rgba(0, 0, 0, 0.1);1532 -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 9px rgba(0, 0, 0, 0.1);
1506 box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 9px rgba(0, 0, 0, 0.1);1533 box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 9px rgba(0, 0, 0, 0.1);
@@ -1950,6 +1977,7 @@
1950 background-image: -ms-linear-gradient(top, #efefef, #d8d8d8);1977 background-image: -ms-linear-gradient(top, #efefef, #d8d8d8);
1951 background-image: -o-linear-gradient(top, #efefef, #d8d8d8);1978 background-image: -o-linear-gradient(top, #efefef, #d8d8d8);
1952 background-image: linear-gradient(to bottom, #efefef, #d8d8d8);1979 background-image: linear-gradient(to bottom, #efefef, #d8d8d8);
1980 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFEFEFEF', endColorstr='#FFD8D8D8')";
1953 -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset;1981 -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
1954 -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset;1982 -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
1955 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset;1983 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
@@ -1962,6 +1990,7 @@
1962 background-image: -ms-linear-gradient(top, #e3e3e3, #f6f6f6);1990 background-image: -ms-linear-gradient(top, #e3e3e3, #f6f6f6);
1963 background-image: -o-linear-gradient(top, #e3e3e3, #f6f6f6);1991 background-image: -o-linear-gradient(top, #e3e3e3, #f6f6f6);
1964 background-image: linear-gradient(to bottom, #e3e3e3, #f6f6f6);1992 background-image: linear-gradient(to bottom, #e3e3e3, #f6f6f6);
1993 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFE3E3E3', endColorstr='#FFF6F6F6')";
1965 -moz-box-shadow: none;1994 -moz-box-shadow: none;
1966 -webkit-box-shadow: none;1995 -webkit-box-shadow: none;
1967 box-shadow: none;1996 box-shadow: none;
@@ -1974,6 +2003,7 @@
1974 background-image: -ms-linear-gradient(top, #f6f6f6, #e3e3e3);2003 background-image: -ms-linear-gradient(top, #f6f6f6, #e3e3e3);
1975 background-image: -o-linear-gradient(top, #f6f6f6, #e3e3e3);2004 background-image: -o-linear-gradient(top, #f6f6f6, #e3e3e3);
1976 background-image: linear-gradient(to bottom, #f6f6f6, #e3e3e3);2005 background-image: linear-gradient(to bottom, #f6f6f6, #e3e3e3);
2006 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFF6F6F6', endColorstr='#FFE3E3E3')";
1977 -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset;2007 -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
1978 -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset;2008 -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
1979 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset;2009 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
@@ -2034,6 +2064,7 @@
2034 background-image: -ms-linear-gradient(top, #fcfcfc, #dedede);2064 background-image: -ms-linear-gradient(top, #fcfcfc, #dedede);
2035 background-image: -o-linear-gradient(top, #fcfcfc, #dedede);2065 background-image: -o-linear-gradient(top, #fcfcfc, #dedede);
2036 background-image: linear-gradient(to bottom, #fcfcfc, #dedede);2066 background-image: linear-gradient(to bottom, #fcfcfc, #dedede);
2067 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFFCFCFC', endColorstr='#FFDEDEDE')";
2037}2068}
2038.openerp .oe_form header > span {2069.openerp .oe_form header > span {
2039 margin-left: 4px;2070 margin-left: 4px;
@@ -2130,7 +2161,7 @@
2130}2161}
2131.openerp .oe_form .oe_form_label_help[for] span, .openerp .oe_form .oe_form_label[for] span {2162.openerp .oe_form .oe_form_label_help[for] span, .openerp .oe_form .oe_form_label[for] span {
2132 font-size: 80%;2163 font-size: 80%;
2133 color: darkGreen;2164 color: darkgreen;
2134 vertical-align: top;2165 vertical-align: top;
2135 position: relative;2166 position: relative;
2136 top: -4px;2167 top: -4px;
@@ -2178,6 +2209,9 @@
2178.openerp .oe_form_field_progressbar.ui-progressbar .ui-widget-header {2209.openerp .oe_form_field_progressbar.ui-progressbar .ui-widget-header {
2179 background: #cccccc url(/web/static/lib/jquery.ui/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;2210 background: #cccccc url(/web/static/lib/jquery.ui/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;
2180}2211}
2212.openerp .oe_form h1 .oe_form_required {
2213 float: inherit;
2214}
2181.openerp .oe_form .oe_form_field_text {2215.openerp .oe_form .oe_form_field_text {
2182 width: 100%;2216 width: 100%;
2183}2217}
@@ -2255,6 +2289,7 @@
2255}2289}
2256.openerp .oe_form .oe_form_required input:not([disabled]):not([readonly]), .openerp .oe_form .oe_form_required select:not([disabled]):not([readonly]), .openerp .oe_form .oe_form_required textarea:not([disabled]):not([readonly]) {2290.openerp .oe_form .oe_form_required input:not([disabled]):not([readonly]), .openerp .oe_form .oe_form_required select:not([disabled]):not([readonly]), .openerp .oe_form .oe_form_required textarea:not([disabled]):not([readonly]) {
2257 background-color: #d2d2ff !important;2291 background-color: #d2d2ff !important;
2292 width: 100%;
2258}2293}
2259.openerp .oe_form .oe_form_invalid input, .openerp .oe_form .oe_form_invalid select, .openerp .oe_form .oe_form_invalid textarea {2294.openerp .oe_form .oe_form_invalid input, .openerp .oe_form .oe_form_invalid select, .openerp .oe_form .oe_form_invalid textarea {
2260 background-color: #ff6666 !important;2295 background-color: #ff6666 !important;
@@ -2284,12 +2319,14 @@
2284 border-bottom-left-radius: 0px;2319 border-bottom-left-radius: 0px;
2285 height: 22px;2320 height: 22px;
2286}2321}
2322.openerp .oe_form .oe_form_field_with_button:not(.oe_no_button) > div {
2323 overflow: hidden;
2324}
2287.openerp .oe_form .oe_form_field_with_button input {2325.openerp .oe_form .oe_form_field_with_button input {
2288 width: 100%;2326 width: 100%;
2289}2327}
2290.openerp .oe_form .oe_form_field_with_button > div {2328.openerp .oe_form .oe_form_field_with_button > div {
2291 position: relative;2329 position: relative;
2292 overflow: hidden;
2293}2330}
2294.openerp .oe_form .oe_form_embedded_html {2331.openerp .oe_form .oe_form_embedded_html {
2295 position: relative;2332 position: relative;
@@ -2466,6 +2503,10 @@
2466 background-image: -ms-linear-gradient(top, #fcfcfc, #dedede);2503 background-image: -ms-linear-gradient(top, #fcfcfc, #dedede);
2467 background-image: -o-linear-gradient(top, #fcfcfc, #dedede);2504 background-image: -o-linear-gradient(top, #fcfcfc, #dedede);
2468 background-image: linear-gradient(to bottom, #fcfcfc, #dedede);2505 background-image: linear-gradient(to bottom, #fcfcfc, #dedede);
2506 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFFCFCFC', endColorstr='#FFDEDEDE')";
2507 background-color/*\**/: #e8e8e8 \9;
2508 background: -ms-linear-gradient(top, #fcfcfc, #dedede);
2509 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFFCFCFC', endColorstr='#FFDEDEDE')";
2469}2510}
2470.openerp ul.oe_form_status li:first-child .label, .openerp ul.oe_form_status_clickable li:first-child .label {2511.openerp ul.oe_form_status li:first-child .label, .openerp ul.oe_form_status_clickable li:first-child .label {
2471 border-left: 1px solid #cacaca;2512 border-left: 1px solid #cacaca;
@@ -2508,6 +2549,12 @@
2508 background: -moz-linear-gradient(135deg, #dedede, #fcfcfc);2549 background: -moz-linear-gradient(135deg, #dedede, #fcfcfc);
2509 background: -o-linear-gradient(135deg, #fcfcfc, #dedede);2550 background: -o-linear-gradient(135deg, #fcfcfc, #dedede);
2510 background: -webkit-gradient(linear, left top, right bottom, from(#fcfcfc), to(#dedede));2551 background: -webkit-gradient(linear, left top, right bottom, from(#fcfcfc), to(#dedede));
2552 background: -ms-linear-gradient(top, #fcfcfc, #dedede);
2553 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFFCFCFC', endColorstr='#FFDEDEDE', enabled=true)";
2554 background: -o-linear-gradient(135deg, #dedede, #fcfcfc);
2555 background-color/*\**/: #e8e8e8 \9;
2556 background: -ms-linear-gradient(top, #fcfcfc, #dedede);
2557 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede');
2511 -moz-border-radius: 3px;2558 -moz-border-radius: 3px;
2512 -webkit-border-radius: 3px;2559 -webkit-border-radius: 3px;
2513 border-radius: 3px;2560 border-radius: 3px;
@@ -2525,12 +2572,19 @@
2525 background-image: -ms-linear-gradient(top, #729fcf, #3465a4);2572 background-image: -ms-linear-gradient(top, #729fcf, #3465a4);
2526 background-image: -o-linear-gradient(top, #729fcf, #3465a4);2573 background-image: -o-linear-gradient(top, #729fcf, #3465a4);
2527 background-image: linear-gradient(to bottom, #729fcf, #3465a4);2574 background-image: linear-gradient(to bottom, #729fcf, #3465a4);
2575 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FF729FCF', endColorstr='#FF3465A4')";
2528}2576}
2529.openerp ul.oe_form_status li.oe_active .arrow span, .openerp ul.oe_form_status_clickable li.oe_active .arrow span {2577.openerp ul.oe_form_status li.oe_active .arrow span, .openerp ul.oe_form_status_clickable li.oe_active .arrow span {
2530 background-color: #3465a4;2578 background-color: #3465a4;
2531 background: -moz-linear-gradient(135deg, #3465a4, #729fcf);2579 background: -moz-linear-gradient(135deg, #3465a4, #729fcf);
2532 background: -o-linear-gradient(135deg, #729fcf, #3465a4);2580 background: -o-linear-gradient(135deg, #729fcf, #3465a4);
2533 background: -webkit-gradient(linear, left top, right bottom, from(#729fcf), to(#3465a4));2581 background: -webkit-gradient(linear, left top, right bottom, from(#729fcf), to(#3465a4));
2582 background: -ms-linear-gradient(top, #729fcf, #3465a4);
2583 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FF729FCF', endColorstr='#FF3465A4', enabled=true)";
2584 background: -o-linear-gradient(135deg, #3465a4, #729fcf);
2585 background-color/*\**/: #729fcf \9;
2586 background: -ms-linear-gradient(top, #729fcf, #3465a4);
2587 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#729fcf', endColorstr='#3465a4');
2534}2588}
2535.openerp ul.oe_form_status li.oe_active .label, .openerp ul.oe_form_status_clickable li.oe_active .label {2589.openerp ul.oe_form_status li.oe_active .label, .openerp ul.oe_form_status_clickable li.oe_active .label {
2536 color: white;2590 color: white;
@@ -2547,6 +2601,10 @@
2547 background-image: -ms-linear-gradient(top, #e8e8e8, #cacaca);2601 background-image: -ms-linear-gradient(top, #e8e8e8, #cacaca);
2548 background-image: -o-linear-gradient(top, #e8e8e8, #cacaca);2602 background-image: -o-linear-gradient(top, #e8e8e8, #cacaca);
2549 background-image: linear-gradient(to bottom, #e8e8e8, #cacaca);2603 background-image: linear-gradient(to bottom, #e8e8e8, #cacaca);
2604 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFE8E8E8', endColorstr='#FFCACACA')";
2605 background-color/*\**/: #dedede \9;
2606 background: -ms-linear-gradient(top, #e8e8e8, #cacaca);
2607 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e8e8e8', endColorstr='#cacaca');
2550}2608}
2551.openerp ul.oe_form_status_clickable li:hover .label {2609.openerp ul.oe_form_status_clickable li:hover .label {
2552 text-shadow: 0 -1px 1px #fcfcfc, 0 1px 1px #dedede;2610 text-shadow: 0 -1px 1px #fcfcfc, 0 1px 1px #dedede;
@@ -2559,6 +2617,10 @@
2559 background-image: -ms-linear-gradient(top, #e8e8e8, #cacaca);2617 background-image: -ms-linear-gradient(top, #e8e8e8, #cacaca);
2560 background-image: -o-linear-gradient(top, #e8e8e8, #cacaca);2618 background-image: -o-linear-gradient(top, #e8e8e8, #cacaca);
2561 background-image: linear-gradient(to bottom, #e8e8e8, #cacaca);2619 background-image: linear-gradient(to bottom, #e8e8e8, #cacaca);
2620 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFE8E8E8', endColorstr='#FFCACACA')";
2621 background-color/*\**/: #dedede \9;
2622 background: -ms-linear-gradient(top, #e8e8e8, #cacaca);
2623 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e8e8e8', endColorstr='#cacaca');
2562}2624}
2563.openerp ul.oe_form_status_clickable li .label {2625.openerp ul.oe_form_status_clickable li .label {
2564 color: #7c7bad;2626 color: #7c7bad;
@@ -2571,6 +2633,9 @@
2571 background-image: -ms-linear-gradient(top, #4c85c2, #284d7d);2633 background-image: -ms-linear-gradient(top, #4c85c2, #284d7d);
2572 background-image: -o-linear-gradient(top, #4c85c2, #284d7d);2634 background-image: -o-linear-gradient(top, #4c85c2, #284d7d);
2573 background-image: linear-gradient(to bottom, #4c85c2, #284d7d);2635 background-image: linear-gradient(to bottom, #4c85c2, #284d7d);
2636 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FF4C85C2', endColorstr='#FF284D7D')";
2637 background: -ms-linear-gradient(top, #4c85c2, #284d7d);
2638 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4c85c2', endColorstr='#284d7d');
2574}2639}
2575.openerp ul.oe_form_status_clickable li.oe_active:hover .label {2640.openerp ul.oe_form_status_clickable li.oe_active:hover .label {
2576 text-shadow: 0 -1px 1px #729fcf, 0 1px 1px #3465a4;2641 text-shadow: 0 -1px 1px #729fcf, 0 1px 1px #3465a4;
@@ -2580,6 +2645,10 @@
2580 background: -moz-linear-gradient(135deg, #284d7d, #4c85c2);2645 background: -moz-linear-gradient(135deg, #284d7d, #4c85c2);
2581 background: -o-linear-gradient(135deg, #4c85c2, #284d7d);2646 background: -o-linear-gradient(135deg, #4c85c2, #284d7d);
2582 background: -webkit-gradient(linear, left top, right bottom, from(#4c85c2), to(#284d7d));2647 background: -webkit-gradient(linear, left top, right bottom, from(#4c85c2), to(#284d7d));
2648 background: -ms-linear-gradient(top, #4c85c2, #284d7d);
2649 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FF4C85C2', endColorstr='#FF284D7D', enabled=true)";
2650 background: -ms-linear-gradient(top, #4c85c2, #284d7d);
2651 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4c85c2', endColorstr='#284d7d');
2583}2652}
2584.openerp .oe_form .oe_form_field_one2many > .oe_view_manager .oe_list_pager_single_page {2653.openerp .oe_form .oe_form_field_one2many > .oe_view_manager .oe_list_pager_single_page {
2585 display: none;2654 display: none;
@@ -2726,6 +2795,7 @@
2726 background-image: -ms-linear-gradient(top, #fcfcfc, #dedede);2795 background-image: -ms-linear-gradient(top, #fcfcfc, #dedede);
2727 background-image: -o-linear-gradient(top, #fcfcfc, #dedede);2796 background-image: -o-linear-gradient(top, #fcfcfc, #dedede);
2728 background-image: linear-gradient(to bottom, #fcfcfc, #dedede);2797 background-image: linear-gradient(to bottom, #fcfcfc, #dedede);
2798 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFFCFCFC', endColorstr='#FFDEDEDE')";
2729}2799}
2730.openerp .oe_list_content {2800.openerp .oe_list_content {
2731 width: 100%;2801 width: 100%;
@@ -2820,6 +2890,7 @@
2820 background-image: -ms-linear-gradient(top, #f0f0fa, #eeeef6);2890 background-image: -ms-linear-gradient(top, #f0f0fa, #eeeef6);
2821 background-image: -o-linear-gradient(top, #f0f0fa, #eeeef6);2891 background-image: -o-linear-gradient(top, #f0f0fa, #eeeef6);
2822 background-image: linear-gradient(to bottom, #f0f0fa, #eeeef6);2892 background-image: linear-gradient(to bottom, #f0f0fa, #eeeef6);
2893 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFF0F0FA', endColorstr='#FFEEEEF6')";
2823}2894}
2824.openerp .oe_list_content > tfoot {2895.openerp .oe_list_content > tfoot {
2825 border-top: 2px solid #cacaca;2896 border-top: 2px solid #cacaca;
@@ -2958,6 +3029,17 @@
2958 color: #333333;3029 color: #333333;
2959}3030}
29603031
3032@-moz-document url-prefix() {
3033 .openerp .oe_view_manager .oe_view_manager_switch li {
3034 line-height: 21px;
3035 }
3036}
3037
3038@media screen and (-webkit-min-device-pixel-ratio: 0) {
3039 .openerp .oe_login {
3040 height: 100%;
3041 }
3042}
2961.kitten-mode-activated {3043.kitten-mode-activated {
2962 background-image: url(http://placekitten.com/g/1365/769);3044 background-image: url(http://placekitten.com/g/1365/769);
2963 background-size: cover;3045 background-size: cover;
@@ -3012,6 +3094,78 @@
3012 border-radius: 3px;3094 border-radius: 3px;
3013}3095}
30143096
3097.openerp .oe_fileupload {
3098 display: inline-block;
3099 clear: both;
3100 width: 100%;
3101}
3102.openerp .oe_fileupload .oe_add {
3103 float: left;
3104 position: relative;
3105 width: 100%;
3106 left: 2px;
3107 top: 7px;
3108}
3109.openerp .oe_fileupload .oe_add button {
3110 display: inline;
3111 height: 24px;
3112 font-size: 12px;
3113 line-height: 12px;
3114 vertical-align: middle;
3115}
3116.openerp .oe_fileupload .oe_add button.oe_attach {
3117 width: 24px;
3118 overflow: hidden;
3119 width: 24px;
3120 overflow: hidden;
3121 background: transparent;
3122 color: #7c7bad;
3123 box-shadow: none;
3124 border: none;
3125 text-shadow: none;
3126}
3127.openerp .oe_fileupload .oe_add button.oe_attach .oe_e {
3128 position: relative;
3129 top: -1px;
3130 left: -9px;
3131}
3132.openerp .oe_fileupload .oe_add input.oe_form_binary_file {
3133 display: inline-block;
3134 margin-left: -5px;
3135 height: 28px;
3136 width: 52px;
3137 margin-top: -26px;
3138}
3139.openerp .oe_fileupload .oe_add .oe_attach_label {
3140 color: #7c7bad;
3141 margin-left: -3px;
3142}
3143.openerp .oe_fileupload .oe_attachments {
3144 margin-bottom: 4px;
3145 margin-right: 0px;
3146 font-size: 12px;
3147 border-radius: 2px;
3148 border: solid 1px rgba(124, 123, 173, 0.14);
3149}
3150.openerp .oe_fileupload .oe_attachments .oe_attachment {
3151 padding: 2px;
3152 padding-left: 4px;
3153 padding-right: 4px;
3154}
3155.openerp .oe_fileupload .oe_attachments .oe_attachment .oe_e {
3156 font-size: 23px;
3157 margin-top: -5px;
3158}
3159.openerp .oe_fileupload .oe_attachments .oe_attachment .oe_e:hover {
3160 text-decoration: none;
3161}
3162.openerp .oe_fileupload .oe_attachments .oe_attachment:nth-child(odd) {
3163 background: white;
3164}
3165.openerp .oe_fileupload .oe_attachments .oe_attachment:nth-child(even) {
3166 background: #f4f5fa;
3167}
3168
3015@media print {3169@media print {
3016 .openerp {3170 .openerp {
3017 text-shadow: none;3171 text-shadow: none;
30183172
=== modified file 'addons/web/static/src/css/base.sass'
--- addons/web/static/src/css/base.sass 2012-11-15 17:51:46 +0000
+++ addons/web/static/src/css/base.sass 2012-11-19 06:37:29 +0000
@@ -49,6 +49,7 @@
49 background-image: -ms-linear-gradient(top, $startColor, $endColor) /* IE10 */49 background-image: -ms-linear-gradient(top, $startColor, $endColor) /* IE10 */
50 background-image: -o-linear-gradient(top, $startColor, $endColor) /* Opera 11.10+ */50 background-image: -o-linear-gradient(top, $startColor, $endColor) /* Opera 11.10+ */
51 background-image: linear-gradient(to bottom, $startColor, $endColor)51 background-image: linear-gradient(to bottom, $startColor, $endColor)
52 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#{ie-hex-str($startColor)}', endColorstr='#{ie-hex-str($endColor)}')"/* IE9 */
5253
53@mixin radial-gradient($gradient)54@mixin radial-gradient($gradient)
54 background-position: center center55 background-position: center center
@@ -95,6 +96,8 @@
95 background: -moz-linear-gradient(135deg, $endColor, $startColor)96 background: -moz-linear-gradient(135deg, $endColor, $startColor)
96 background: -o-linear-gradient(135deg, $startColor, $endColor)97 background: -o-linear-gradient(135deg, $startColor, $endColor)
97 background: -webkit-gradient(linear, left top, right bottom, from($startColor), to($endColor))98 background: -webkit-gradient(linear, left top, right bottom, from($startColor), to($endColor))
99 background: -ms-linear-gradient(top, $startColor, $endColor) /* IE10 */
100 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#{ie-hex-str($startColor)}', endColorstr='#{ie-hex-str($endColor)}', enabled=true)"/* IE9 */
98101
99@mixin transform($transform)102@mixin transform($transform)
100 -webkit-transform: $transform103 -webkit-transform: $transform
@@ -115,7 +118,6 @@
115 @keyframes #{$name}118 @keyframes #{$name}
116 @content119 @content
117120
118
119// Transforms the (readable) text of an inline element into an mmlicons icon,121// Transforms the (readable) text of an inline element into an mmlicons icon,
120// allows for actual readable text in-code (and in readers?) with iconic looks122// allows for actual readable text in-code (and in readers?) with iconic looks
121@mixin text-to-icon($icon-name, $color: #404040)123@mixin text-to-icon($icon-name, $color: #404040)
@@ -159,6 +161,9 @@
159 \::-webkit-input-placeholder161 \::-webkit-input-placeholder
160 color: $tag-border !important162 color: $tag-border !important
161 font-style: italic !important163 font-style: italic !important
164 \:-ms-input-placeholder
165 color: $tag-border !important
166 font-style: italic !important
162 //}}}167 //}}}
163 // Tag reset {{{168 // Tag reset {{{
164 a169 a
@@ -412,7 +417,7 @@
412 clear: both417 clear: both
413 visibility: hidden418 visibility: hidden
414 .oe_button_box419 .oe_button_box
415 width: 270px420 width: 280px
416 text-align: right421 text-align: right
417 button422 button
418 margin: 4px423 margin: 4px
@@ -680,7 +685,7 @@
680 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)685 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
681 text-align: center686 text-align: center
682 font-size: 14px687 font-size: 14px
683 height: 100%688 height: 600px
684 ul, li689 ul, li
685 margin: 0690 margin: 0
686 list-style-type: none691 list-style-type: none
@@ -755,8 +760,8 @@
755 .oe_login_footer760 .oe_login_footer
756 position: absolute761 position: absolute
757 bottom: -40px762 bottom: -40px
758 left: 0763 left: -134px
759 width: 100%764 width: 600px
760 text-align: center765 text-align: center
761 a766 a
762 color: #eee767 color: #eee
@@ -1059,11 +1064,12 @@
1059 > div1064 > div
1060 height: 100%1065 height: 100%
1061 .oe_breadcrumb_item:not(:last-child)1066 .oe_breadcrumb_item:not(:last-child)
1062 display: inline-block
1063 max-width: 7em1067 max-width: 7em
1064 white-space: nowrap1068 white-space: nowrap
1065 overflow: hidden
1066 text-overflow: ellipsis1069 text-overflow: ellipsis
1070 .oe_breadcrumb_title > *
1071 display: inline-block
1072 overflow: hidden
1067 // }}}1073 // }}}
1068 // ViewManager common {{{1074 // ViewManager common {{{
1069 .oe_view_manager1075 .oe_view_manager
@@ -1073,6 +1079,7 @@
1073 height: inherit1079 height: inherit
10741080
1075 table.oe_view_manager_header1081 table.oe_view_manager_header
1082 border-collapse: separate
1076 width: 100%1083 width: 100%
1077 table-layout: fixed1084 table-layout: fixed
1078 .oe_header_row1085 .oe_header_row
@@ -1739,6 +1746,9 @@
1739 // }}}1746 // }}}
1740 // FormView.fields {{{1747 // FormView.fields {{{
1741 .oe_form1748 .oe_form
1749 h1
1750 .oe_form_required
1751 float: inherit
1742 .oe_form_field_text1752 .oe_form_field_text
1743 width: 100%1753 width: 100%
1744 .oe_form_field_char input,1754 .oe_form_field_char input,
@@ -1793,6 +1803,7 @@
1793 .oe_form_required1803 .oe_form_required
1794 input:not([disabled]):not([readonly]), select:not([disabled]):not([readonly]), textarea:not([disabled]):not([readonly])1804 input:not([disabled]):not([readonly]), select:not([disabled]):not([readonly]), textarea:not([disabled]):not([readonly])
1795 background-color: #D2D2FF !important1805 background-color: #D2D2FF !important
1806 width : 100%
1796 .oe_form_invalid1807 .oe_form_invalid
1797 input, select, textarea1808 input, select, textarea
1798 background-color: #F66 !important1809 background-color: #F66 !important
@@ -1816,12 +1827,13 @@
1816 @include radius(0)1827 @include radius(0)
1817 border-bottom-left-radius: 0px1828 border-bottom-left-radius: 0px
1818 height: 22px1829 height: 22px
1830 > div
1831 overflow: hidden
1819 .oe_form_field_with_button1832 .oe_form_field_with_button
1820 input1833 input
1821 width: 100%1834 width: 100%
1822 > div1835 > div
1823 position: relative1836 position: relative
1824 overflow: hidden
1825 .oe_form_embedded_html1837 .oe_form_embedded_html
1826 position: relative1838 position: relative
1827 width: 600px1839 width: 600px
@@ -1862,6 +1874,7 @@
1862 -ms-filter: "alpha(opacity=0)"1874 -ms-filter: "alpha(opacity=0)"
1863 margin: 01875 margin: 0
1864 padding: 01876 padding: 0
1877
1865 .oe_form1878 .oe_form
1866 .oe_form_field_image1879 .oe_form_field_image
1867 padding: 01880 padding: 0
@@ -1974,6 +1987,10 @@
1974 margin: 0 -18px 0 01987 margin: 0 -18px 0 0
1975 padding: 01988 padding: 0
1976 @include vertical-gradient(#fcfcfc, #dedede)1989 @include vertical-gradient(#fcfcfc, #dedede)
1990 background-color/*\**/: #e8e8e8\9
1991 background: -ms-linear-gradient(top, #fcfcfc, #dedede)
1992 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#{ie-hex-str(#fcfcfc)}', endColorstr='#{ie-hex-str(#dedede)}')"/* IE9 */
1993 //-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede')
1977 &:first-child .label1994 &:first-child .label
1978 border-left: 1px solid #cacaca1995 border-left: 1px solid #cacaca
1979 padding-left: 14px1996 padding-left: 14px
@@ -2006,12 +2023,23 @@
2006 margin-top: 3px2023 margin-top: 3px
2007 box-shadow: -1px 1px 2px rgba(255,255,255,0.2), inset -1px 1px 1px rgba(0,0,0,0.2)2024 box-shadow: -1px 1px 2px rgba(255,255,255,0.2), inset -1px 1px 1px rgba(0,0,0,0.2)
2008 @include skew-gradient(#fcfcfc, #dedede)2025 @include skew-gradient(#fcfcfc, #dedede)
2026 background: -o-linear-gradient(135deg, #dedede, #fcfcfc)
2027 background-color/*\**/: #e8e8e8\9
2028 background: -ms-linear-gradient(top, #fcfcfc, #dedede)
2029 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dedede')
2009 @include radius(3px)2030 @include radius(3px)
2010 @include transform(rotate(45deg))2031 @include transform(rotate(45deg))
2011 li.oe_active2032 li.oe_active
2012 @include vertical-gradient(#729fcf, #3465a4)2033 @include vertical-gradient(#729fcf, #3465a4)
2034 //background-color/*\**/: #729fcf\9
2035 //background: -ms-linear-gradient(top, #729fcf, #3465a4)
2036 //-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#729fcf', endColorstr='#3465a4')
2013 .arrow span2037 .arrow span
2014 @include skew-gradient(#729fcf, #3465a4)2038 @include skew-gradient(#729fcf, #3465a4)
2039 background: -o-linear-gradient(135deg, #3465a4, #729fcf)
2040 background-color/*\**/: #729fcf\9
2041 background: -ms-linear-gradient(top, #729fcf, #3465a4)
2042 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#729fcf', endColorstr='#3465a4')
2015 .label2043 .label
2016 color: white2044 color: white
2017 text-shadow: 0 1px 1px #729fcf, 0 -1px 1px #3465a42045 text-shadow: 0 1px 1px #729fcf, 0 -1px 1px #3465a4
@@ -2020,19 +2048,31 @@
2020 cursor: pointer2048 cursor: pointer
2021 &:hover2049 &:hover
2022 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))2050 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
2051 background-color/*\**/: #dedede\9
2052 background: -ms-linear-gradient(top, #e8e8e8, #cacaca)
2053 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e8e8e8', endColorstr='#cacaca')
2023 .label2054 .label
2024 text-shadow: 0 -1px 1px #fcfcfc, 0 1px 1px #dedede2055 text-shadow: 0 -1px 1px #fcfcfc, 0 1px 1px #dedede
2025 .arrow span2056 .arrow span
2026 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))2057 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
2058 background-color/*\**/: #dedede\9
2059 background: -ms-linear-gradient(top, #e8e8e8, #cacaca)
2060 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e8e8e8', endColorstr='#cacaca')
2027 .label2061 .label
2028 color: $link-color2062 color: $link-color
2029 li.oe_active2063 li.oe_active
2030 &:hover2064 &:hover
2031 @include vertical-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))2065 @include vertical-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
2066 //background-color/*\**/: #4c85c2\9;
2067 background: -ms-linear-gradient(top, #4c85c2, #284d7d)
2068 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4c85c2', endColorstr='#284d7d')
2032 .label2069 .label
2033 text-shadow: 0 -1px 1px #729fcf, 0 1px 1px #3465a42070 text-shadow: 0 -1px 1px #729fcf, 0 1px 1px #3465a4
2034 .arrow span2071 .arrow span
2035 @include skew-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))2072 @include skew-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
2073 //background-color/*\**/: #4c85c2\9;
2074 background: -ms-linear-gradient(top, #4c85c2, #284d7d)
2075 -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4c85c2', endColorstr='#284d7d')
2036 // }}}2076 // }}}
2037 // FormView.one2many {{{2077 // FormView.one2many {{{
2038 .oe_form .oe_form_field_one2many > .oe_view_manager2078 .oe_form .oe_form_field_one2many > .oe_view_manager
@@ -2342,6 +2382,18 @@
2342 float: right2382 float: right
2343 color: #3332383 color: #333
2344 // }}}2384 // }}}
2385
2386@-moz-document url-prefix()
2387 .openerp
2388 .oe_view_manager
2389 .oe_view_manager_switch
2390 li
2391 line-height: 21px
2392@media screen and (-webkit-min-device-pixel-ratio:0)
2393 .openerp
2394 .oe_login
2395 height: 100%
2396
2345// Kitten Mode {{{2397// Kitten Mode {{{
2346.kitten-mode-activated2398.kitten-mode-activated
2347 background-image: url(http://placekitten.com/g/1365/769)2399 background-image: url(http://placekitten.com/g/1365/769)
@@ -2384,6 +2436,67 @@
23842436
2385.ui-corner-all2437.ui-corner-all
2386 @include radius(3px)2438 @include radius(3px)
2439
2440.openerp
2441 .oe_fileupload
2442 display: inline-block
2443 clear: both
2444 width: 100%
2445 .oe_add
2446 float: left
2447 position: relative
2448 width: 100%
2449 left: +2px
2450 top: +7px
2451 button
2452 display: inline
2453 height: 24px
2454 font-size: 12px
2455 line-height: 12px
2456 vertical-align: middle
2457 button.oe_attach
2458 width: 24px
2459 overflow: hidden
2460 width: 24px
2461 overflow: hidden
2462 background: transparent
2463 color: #7C7BAD
2464 box-shadow: none
2465 border: none
2466 text-shadow: none
2467 .oe_e
2468 position: relative
2469 top: -1px
2470 left: -9px
2471 input.oe_form_binary_file
2472 display: inline-block
2473 margin-left: -5px
2474 height: 28px
2475 width: 52px
2476 margin-top: -26px
2477 .oe_attach_label
2478 color: #7C7BAD
2479 margin-left: -3px
2480 .oe_attachments
2481 margin-bottom: 4px
2482 margin-right: 0px
2483 font-size: 12px
2484 border-radius: 2px
2485 border: solid 1px rgba(124,123,173,0.14)
2486 .oe_attachment
2487 padding: 2px
2488 padding-left: 4px
2489 padding-right: 4px
2490 .oe_e
2491 font-size: 23px
2492 margin-top: -5px
2493 .oe_e:hover
2494 text-decoration: none
2495 .oe_attachment:nth-child(odd)
2496 background: white
2497 .oe_attachment:nth-child(even)
2498 background: #F4F5FA
2499
2387// }}}2500// }}}
23882501
2389// @media print {{{2502// @media print {{{
23902503
=== added file 'addons/web/static/src/img/ui/bkg-ie-button.gif'
2391Binary files addons/web/static/src/img/ui/bkg-ie-button.gif 1970-01-01 00:00:00 +0000 and addons/web/static/src/img/ui/bkg-ie-button.gif 2012-11-19 06:37:29 +0000 differ2504Binary files addons/web/static/src/img/ui/bkg-ie-button.gif 1970-01-01 00:00:00 +0000 and addons/web/static/src/img/ui/bkg-ie-button.gif 2012-11-19 06:37:29 +0000 differ
=== added file 'addons/web/static/src/img/ui/bkg-ie-hover-button.gif'
2392Binary files addons/web/static/src/img/ui/bkg-ie-hover-button.gif 1970-01-01 00:00:00 +0000 and addons/web/static/src/img/ui/bkg-ie-hover-button.gif 2012-11-19 06:37:29 +0000 differ2505Binary files addons/web/static/src/img/ui/bkg-ie-hover-button.gif 1970-01-01 00:00:00 +0000 and addons/web/static/src/img/ui/bkg-ie-hover-button.gif 2012-11-19 06:37:29 +0000 differ
=== modified file 'addons/web/static/src/js/view_form.js'
--- addons/web/static/src/js/view_form.js 2012-11-16 16:44:16 +0000
+++ addons/web/static/src/js/view_form.js 2012-11-19 06:37:29 +0000
@@ -1229,6 +1229,7 @@
1229 this.process_version();1229 this.process_version();
12301230
1231 this.fields_to_init = [];1231 this.fields_to_init = [];
1232 this.buttons = [];
1232 this.tags_to_init = [];1233 this.tags_to_init = [];
1233 this.widgets_to_init = [];1234 this.widgets_to_init = [];
1234 this.labels = {};1235 this.labels = {};
@@ -1256,7 +1257,8 @@
1256 self.view.register_field(w, $elem.attr("name"));1257 self.view.register_field(w, $elem.attr("name"));
1257 self.to_replace.push([w, $elem]);1258 self.to_replace.push([w, $elem]);
1258 });1259 });
1259 _.each(this.tags_to_init, function($elem) {1260 _.each(this.tags_to_init, function($elem, k) {
1261 if(self.buttons[k] && self.buttons[k].type) $elem[0].setAttribute("type", self.buttons[k].type)
1260 var tag_name = $elem[0].tagName.toLowerCase();1262 var tag_name = $elem[0].tagName.toLowerCase();
1261 var obj = self.tags_registry.get_object(tag_name);1263 var obj = self.tags_registry.get_object(tag_name);
1262 var w = new (obj)(self.view, instance.web.xml_to_json($elem[0]));1264 var w = new (obj)(self.view, instance.web.xml_to_json($elem[0]));
@@ -1295,10 +1297,25 @@
1295 }1297 }
1296 this.$target.toggleClass('oe_layout_debugging');1298 this.$target.toggleClass('oe_layout_debugging');
1297 },1299 },
1300 get_button_json: function(obj, child){
1301 this.buttons = child || [];
1302 if (obj.children && obj.children.length) {
1303 for (var i = 0, ii = obj.children.length; i < ii; i++) {
1304 if(obj.children[i].tag=="button"){
1305 this.buttons.push(obj.children[i].attrs)
1306 }
1307 if(obj.children[i].children){
1308 this.get_button_json(obj.children[i], this.buttons)
1309 }
1310 }
1311 return this.buttons;
1312 }
1313 },
1298 process: function($tag) {1314 process: function($tag) {
1299 var self = this;1315 var self = this;
1300 var tagname = $tag[0].nodeName.toLowerCase();1316 var tagname = $tag[0].nodeName.toLowerCase();
1301 if (this.tags_registry.contains(tagname)) {1317 if (this.tags_registry.contains(tagname)) {
1318 this.get_button_json(this.fvg.arch)
1302 this.tags_to_init.push($tag);1319 this.tags_to_init.push($tag);
1303 return $tag;1320 return $tag;
1304 }1321 }
@@ -3033,6 +3050,12 @@
3033 }3050 }
3034 }3051 }
3035 });3052 });
3053 // Autocomplete close on dialog content scroll
3054 this.$input.closest(".ui-dialog .ui-dialog-content").scroll(function(){
3055 if(self.$input.autocomplete("widget").is(":visible")){
3056 self.$input.autocomplete("close");
3057 }
3058 });
3036 self.ed_def = $.Deferred();3059 self.ed_def = $.Deferred();
3037 self.uned_def = $.Deferred();3060 self.uned_def = $.Deferred();
3038 var ed_delay = 200;3061 var ed_delay = 200;
30393062
=== modified file 'addons/web_calendar/static/src/css/web_calendar.css'
--- addons/web_calendar/static/src/css/web_calendar.css 2012-10-29 10:53:03 +0000
+++ addons/web_calendar/static/src/css/web_calendar.css 2012-11-19 06:37:29 +0000
@@ -1,35 +1,26 @@
1@charset "utf-8";1.openerp .oe_view_manager_view_calendar {
2.openerp .oe_view_manager_view_calendar {2 position: relative; }
3 position: relative;3
4}4.openerp .oe_calendar_sidebar {
55 width: 200px;
6.openerp .oe_calendar_sidebar {6 padding: 5px; }
7 width: 200px;7.openerp .oe_calendar {
8 padding: 5px;8 background-color: white;
9}9 height: 600px;
10.openerp .oe_calendar {10 border-right: 1px solid #eeeeee; }
11 background-color: white;11 .openerp .oe_calendar .oe_calendar_table {
12 height: 600px;12 position: absolute;
13 border-right: 1px solid #eeeeee;13 left: 0px;
14}14 right: 0px;
15.openerp .oe_calendar .oe_calendar_table {15 top: 0px;
16 position: absolute;16 border-top: 3px solid #eeeeee;
17 left: 0px;17 width: 100%;
18 right: 0px;18 overflow: hidden; }
19 top: 0px;19 .openerp .oe_calendar .oe_calendar_filter {
20 border-top: 3px solid #eeeeee;20 padding: 0 10px; }
21 width: 100%;21 .openerp .oe_calendar .dhx_cal_select_menu .dhx_menu_icon.icon_edit {
22 overflow: hidden;22 display: none; }
23}23 .openerp .oe_calendar.oe_cal_month .dhx_cal_data {
24.openerp .oe_calendar .oe_calendar_filter {24 overflow-y: hidden; }
25 padding: 0 10px;25 .openerp .oe_calendar.oe_cal_month .dhx_cal_data table tr td:last-child div.dhx_month_body {
26}26 padding-right: 5px; }
27.openerp .oe_calendar .dhx_cal_select_menu .dhx_menu_icon.icon_edit {
28 display: none;
29}
30.openerp .oe_calendar.oe_cal_month .dhx_cal_data {
31 overflow-y: hidden;
32}
33.openerp .oe_calendar.oe_cal_month .dhx_cal_data table tr td:last-child div.dhx_month_body {
34 padding-right: 5px;
35}
3627
=== modified file 'addons/web_gantt/static/src/js/gantt.js'
--- addons/web_gantt/static/src/js/gantt.js 2012-10-30 14:06:30 +0000
+++ addons/web_gantt/static/src/js/gantt.js 2012-11-19 06:37:29 +0000
@@ -152,7 +152,7 @@
152 } else { // we assume date_duration is defined152 } else { // we assume date_duration is defined
153 var tmp = instance.web.format_value(task[self.fields_view.arch.attrs.date_delay],153 var tmp = instance.web.format_value(task[self.fields_view.arch.attrs.date_delay],
154 self.fields[self.fields_view.arch.attrs.date_delay]);154 self.fields[self.fields_view.arch.attrs.date_delay]);
155 if (!tmp)155 if (!tmp || tmp < 1)
156 return;156 return;
157 task_stop = task_start.clone().addMilliseconds(tmp * 60 * 60 * 1000);157 task_stop = task_start.clone().addMilliseconds(tmp * 60 * 60 * 1000);
158 }158 }
159159
=== modified file 'addons/web_graph/static/lib/flotr2/js/DOM.js'
--- addons/web_graph/static/lib/flotr2/js/DOM.js 2012-05-07 08:19:08 +0000
+++ addons/web_graph/static/lib/flotr2/js/DOM.js 2012-11-19 06:37:29 +0000
@@ -18,7 +18,6 @@
18 var div = Flotr.DOM.create('div'), n;18 var div = Flotr.DOM.create('div'), n;
19 div.innerHTML = html;19 div.innerHTML = html;
20 n = div.children[0];20 n = div.children[0];
21 div.innerHTML = '';
22 return n;21 return n;
23 },22 },
24 /**23 /**
2524
=== modified file 'addons/web_kanban/static/src/css/kanban.css'
--- addons/web_kanban/static/src/css/kanban.css 2012-11-15 14:30:59 +0000
+++ addons/web_kanban/static/src/css/kanban.css 2012-11-19 06:37:29 +0000
@@ -1,7 +1,12 @@
1@charset "utf-8";1@charset "utf-8";
2.openerp .oe_application {
3 height: 100%;
4}
5
2.openerp .oe_kanban_view {6.openerp .oe_kanban_view {
3 background: white;7 background: white;
4 height: inherit;8 height: inherit;
9 position: relative;
5}10}
6.openerp .oe_kanban_view.oe_kanban_grouped .oe_kanban_dummy_cell {11.openerp .oe_kanban_view.oe_kanban_grouped .oe_kanban_dummy_cell {
7 background: url(/web/static/src/img/form_sheetbg.png);12 background: url(/web/static/src/img/form_sheetbg.png);
@@ -127,6 +132,7 @@
127}132}
128.openerp .oe_kanban_view .oe_kanban_group_title_vertical {133.openerp .oe_kanban_view .oe_kanban_group_title_vertical {
129 writing-mode: tb-rl;134 writing-mode: tb-rl;
135 -ms-writing-mode: tb;
130 -webkit-transform: rotate(90deg);136 -webkit-transform: rotate(90deg);
131 -moz-transform: rotate(90deg);137 -moz-transform: rotate(90deg);
132 -o-transform: rotate(90deg);138 -o-transform: rotate(90deg);
@@ -139,6 +145,7 @@
139 position: relative;145 position: relative;
140 opacity: 0.75;146 opacity: 0.75;
141 top: 20px;147 top: 20px;
148 -o-transform-origin: 80% 50%; /* Opera */
142}149}
143.openerp .oe_kanban_view .oe_kanban_add, .openerp .oe_kanban_view .oe_kanban_header .oe_dropdown_toggle {150.openerp .oe_kanban_view .oe_kanban_add, .openerp .oe_kanban_view .oe_kanban_header .oe_dropdown_toggle {
144 margin-left: 4px;151 margin-left: 4px;
@@ -196,12 +203,14 @@
196 height: 64px;203 height: 64px;
197 text-align: center;204 text-align: center;
198 overflow: hidden;205 overflow: hidden;
206 border-collapse: separate;
199 -moz-border-radius: 3px;207 -moz-border-radius: 3px;
200 -webkit-border-radius: 3px;208 -webkit-border-radius: 3px;
201 border-radius: 3px;209 border-radius: 3px;
202 -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);210 -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
203 -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);211 -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
204 -box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);212 -box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
213 box-shadow: 0 1px 4px 3px rgba(0, 0, 0, 0.4);
205}214}
206.openerp .oe_kanban_view .oe_kanban_details {215.openerp .oe_kanban_view .oe_kanban_details {
207 display: inline-block;216 display: inline-block;
@@ -284,7 +293,7 @@
284 -webkit-box-sizing: border-box;293 -webkit-box-sizing: border-box;
285}294}
286.openerp .oe_kanban_view .oe_kanban_action_button {295.openerp .oe_kanban_view .oe_kanban_action_button {
287 height: 22px;296 height: 20%;
288 margin: 0;297 margin: 0;
289}298}
290.openerp .oe_kanban_view .oe_kanban_action_a {299.openerp .oe_kanban_view .oe_kanban_action_a {
291300
=== modified file 'addons/web_kanban/static/src/css/kanban.sass'
--- addons/web_kanban/static/src/css/kanban.sass 2012-11-15 14:30:59 +0000
+++ addons/web_kanban/static/src/css/kanban.sass 2012-11-19 06:37:29 +0000
@@ -46,11 +46,14 @@
46 transition: $transition46 transition: $transition
47// }}}47// }}}
4848
49.openerp .oe_application
50 height: 100%
49.openerp .oe_kanban_view51.openerp .oe_kanban_view
50 // KanbanView {{{52 // KanbanView {{{
51 //background: url(data:image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAKElEQVQIHWP8DwTv379nAAFBQUEGhnfv3oHEwADEZgJLIRGMIClkLQCr3x2Htp/lLwAAAABJRU5ErkJggg==)53 //background: url(data:image/pngbase64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAKElEQVQIHWP8DwTv379nAAFBQUEGhnfv3oHEwADEZgJLIRGMIClkLQCr3x2Htp/lLwAAAABJRU5ErkJggg==)
52 background: white54 background: white
53 height: inherit55 height: inherit
56 position: relative
54 &.oe_kanban_grouped .oe_kanban_dummy_cell57 &.oe_kanban_grouped .oe_kanban_dummy_cell
55 background: url(/web/static/src/img/form_sheetbg.png)58 background: url(/web/static/src/img/form_sheetbg.png)
56 .ui-sortable-placeholder59 .ui-sortable-placeholder
@@ -150,6 +153,7 @@
150 color: #666666153 color: #666666
151 .oe_kanban_group_title_vertical154 .oe_kanban_group_title_vertical
152 writing-mode: tb-rl155 writing-mode: tb-rl
156 -ms-writing-mode: tb
153 -webkit-transform: rotate(90deg)157 -webkit-transform: rotate(90deg)
154 -moz-transform: rotate(90deg)158 -moz-transform: rotate(90deg)
155 -o-transform: rotate(90deg)159 -o-transform: rotate(90deg)
@@ -162,6 +166,7 @@
162 position: relative166 position: relative
163 opacity: 0.75167 opacity: 0.75
164 top: 20px168 top: 20px
169 -o-transform-origin: 80% 50%
165 // }}}170 // }}}
166 // KanbanQuickCreate {{{171 // KanbanQuickCreate {{{
167 .oe_kanban_add, .oe_kanban_header .oe_dropdown_toggle172 .oe_kanban_add, .oe_kanban_header .oe_dropdown_toggle
@@ -207,8 +212,10 @@
207 height: 64px212 height: 64px
208 text-align: center213 text-align: center
209 overflow: hidden214 overflow: hidden
215 border-collapse: separate
210 @include radius(3px)216 @include radius(3px)
211 @include box-shadow(0 1px 4px rgba(0, 0, 0, 0.4))217 @include box-shadow(0 1px 4px rgba(0, 0, 0, 0.4))
218 box-shadow: 0 1px 4px 3px rgba(0, 0, 0, 0.4)
212 .oe_kanban_details219 .oe_kanban_details
213 display: inline-block220 display: inline-block
214 vertical-align: top221 vertical-align: top
@@ -270,7 +277,7 @@
270 -moz-box-sizing: border-box277 -moz-box-sizing: border-box
271 -webkit-box-sizing: border-box278 -webkit-box-sizing: border-box
272 .oe_kanban_action_button279 .oe_kanban_action_button
273 height: 22px280 height: 20%
274 margin: 0281 margin: 0
275 .oe_kanban_action_a282 .oe_kanban_action_a
276 text-decoration: none283 text-decoration: none