[imp]render object of xml in view editor with all data.
[odoo/odoo.git] / addons / web / static / src / css / base.css
1 /* TODO: separate openerp web client page css from openerp views css */
2 body.openerp {
3     padding: 0;
4     margin: 0;
5     height: 100%;
6     min-width: 1000px;
7     overflow-y: scroll;
8     font-size: 80%;
9 }
10
11 body.openerp, .openerp textarea, .openerp input, .openerp select, .openerp option, .openerp button, .openerp .ui-widget {
12     font-family: Ubuntu, Helvetica, sans-serif;
13 }
14
15 .oe_box {
16     border: 1px solid #aaf;
17     padding: 2px;
18     margin: 2px;
19 }
20
21 #oe_header h2 {
22     margin: 2px 0;
23 }
24
25 #oe_errors pre {
26     margin: 0;
27 }
28
29 .openerp .oe-number {
30     text-align: right !important;
31 }
32 .openerp .oe_hide {
33     display: none !important;
34 }
35
36 /* STATES */
37 .openerp .on_logged,
38 .openerp .db_options_row {
39     display: none;
40 }
41
42 /* Loading */
43 .openerp .loading {
44     display: none;
45     z-index: 100;
46     position: fixed;
47     top: 0;
48     right: 50%;
49     padding: 4px 12px;
50     background: #A61300;
51     color: white;
52     text-align: center;
53     border: 1px solid #900;
54     border-top: none;
55     -moz-border-radius-bottomright: 8px;
56     -moz-border-radius-bottomleft: 8px;
57     border-bottom-right-radius: 8px;
58     border-bottom-left-radius: 8px;
59 }
60 .openerp .oe_notification {
61     z-index: 1001;
62     display: none;
63 }
64 .openerp .oe_notification * {
65     color: white;
66 }
67
68 /* Login */
69 .openerp .login {
70     display: none;
71 }
72 .openerp .login form {
73     float: left;
74     width: 420px;
75     margin-left: 40px;
76     margin-bottom: 60px;
77 }
78 .openerp .login fieldset {
79     padding-bottom: 5px;
80     min-width: 100px;
81     margin-top: 60px;
82     border-radius: 10px;
83     -moz-border-radius: 10px;
84     -webkit-border-radius: 10px;
85 }
86 .openerp .login fieldset legend {
87     padding: 4px;
88 }
89 .openerp .login .oe_box2 {
90     padding: 5px 5px 20px 5px;
91 }
92 .openerp .login .oe_box2 table {
93     width: 100%;
94     border:none;
95 }
96 .openerp .login .oe_box2 td {
97     padding: 3px;
98     text-align: right;
99 }
100 .openerp .login .oe_box2 td input,
101 .openerp .login .oe_box2 td select {
102     width: 100%;
103 }
104 .openerp .login .oe_box2 td.oe_remember {
105     text-align:left;
106 }
107 .openerp .login .oe_box2 td.oe_remember input {
108     width: inherit;
109 }
110 .openerp .login .oe_login_right_pane {
111     padding:70px 35px 5px 10px;
112     min-width: 200px;
113     margin-left: 500px;
114 }
115 .openerp .login .login_error_message {
116     display: none;
117     background-color: #9A0404;
118     border-radius: 3px;
119     -moz-border-radius: 3px;
120     -webkit-border-radius: 3px;
121     color: white;
122     font-size: 16px;
123     font-weight: bold;
124     padding: 5px;
125     margin-top: 5px;
126     text-align: center;
127 }
128 .openerp .login.login_invalid .login_error_message {
129     display: block;
130 }
131
132 .openerp.login-mode .login-container {
133     height: 100%;
134 }
135 .openerp.login-mode .login {
136     display: block;
137 }
138 .openerp.login-mode .menu,
139 .openerp.login-mode .secondary_menu,
140 .openerp.login-mode .oe-application,
141 .openerp.login-mode .db_options_row {
142     display: none;
143 }
144
145 /* Database */
146 .openerp.database_block .db_options_row {
147     height: 100%;
148     display: table-row;
149 }
150
151 .openerp.database_block .menu,
152 .openerp.database_block .secondary_menu,
153 .openerp.database_block .oe-application,
154 .openerp.database_block .login-container {
155     display: none;
156 }
157
158 .db_container {
159     width: 15%;
160     background: #666666;
161 }
162
163 ul.db_options li {
164     padding: 5px 0 10px 5px;
165     background: #949292; /* Old browsers */
166     background: -moz-linear-gradient(top, #949292 30%, #6d6b6b 95%, #282828 100%); /* FF3.6+ */
167     background: -webkit-gradient(linear, left top, left bottom, color-stop(30%,#949292), color-stop(95%,#6d6b6b), color-stop(100%,#282828)); /* Chrome,Safari4+ */
168     background: -webkit-linear-gradient(top, #949292 30%,#6d6b6b 95%,#282828 100%); /* Chrome10+,Safari5.1+ */
169     background: -o-linear-gradient(top, #949292 30%,#6d6b6b 95%,#282828 100%); /* Opera11.10+ */
170     background: -ms-linear-gradient(top, #949292 30%,#6d6b6b 95%,#282828 100%); /* IE10+ */
171     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#949292', endColorstr='#282828',GradientType=0 ); /* IE6-9 */
172     background: linear-gradient(top, #949292 30%,#6d6b6b 95%,#282828 100%); /* W3C */
173     /* for ie9 */
174     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#949292', endColorstr='#5B5A5A',GradientType=0 ); /* IE6-9 */
175     border: none;
176     /* overriding jquery ui */
177     -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
178     display: block;
179     font-weight: bold;
180     text-transform: uppercase;
181     margin: 1px;
182     color: #EEEEEE;
183     cursor: pointer;
184     width: 196px;
185     font-size: 12px;
186 }
187
188 .db_option_table {
189     border: 1px solid #5A5858;
190     padding: 5px;
191     -moz-border-radius: 10px;
192 }
193
194 table.db_option_table input.required {
195     background-color: #D2D2FF !important;
196 }
197
198 .db_option_table input[type="text"], .db_option_table input[type="password"], .db_option_table select {
199     width: 300px;
200 }
201
202 .option_string {
203     font-weight: bold;
204     color: #555;
205     width: 100%;
206     text-align: center;
207     padding: 10px 0;
208     font-size: large;
209 }
210
211 label.error {
212     float: none;
213     color: red;
214     padding-left: .5em;
215     vertical-align: top;
216 }
217
218 /* Main*/
219 .openerp .main_table {
220     width: 100%;
221     height: 100%;
222     background: #f0eeee;
223 }
224
225 /* Menu */
226 .openerp .sf-menu {
227     margin-bottom: 0;
228 }
229 /*
230 .sf-menu a {
231     padding: 5px 5px;
232 }
233 */
234
235 .openerp .menu {
236     height: 34px;
237     background: #cc4e45; /* Old browsers */
238     background: -moz-linear-gradient(top, #cc4e45 0%, #b52d20 8%, #7a211a 100%); /* FF3.6+ */
239     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cc4e45), color-stop(8%,#b52d20), color-stop(100%,#7a211a)); /* Chrome,Safari4+ */
240     background: -webkit-linear-gradient(top, #cc4e45 0%,#b52d20 8%,#7a211a 100%); /* Chrome10+,Safari5.1+ */
241     background: -o-linear-gradient(top, #cc4e45 0%,#b52d20 8%,#7a211a 100%); /* Opera11.10+ */
242     background: -ms-linear-gradient(top, #cc4e45 0%,#b52d20 8%,#7a211a 100%); /* IE10+ */
243     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#CC4E45', endColorstr='#7A211A',GradientType=0 ); /* IE6-9 */
244     background: linear-gradient(top, #cc4e45 0%,#b52d20 8%,#7a211a 100%); /* W3C */
245 }
246 .openerp .menu td {
247     text-align: center;
248     padding:0;
249 }
250 .openerp .menu a {
251     display:block;
252     min-width: 60px;
253     height: 20px;
254     margin: 3px 2px;
255     padding: 0 8px;
256     
257     background: #bd5e54; /* Old browsers */
258     background: -moz-linear-gradient(top, #bd5e54 0%, #90322a 60%); /* FF3.6+ */
259     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bd5e54), color-stop(60%,#90322a)); /* Chrome,Safari4+ */
260     background: -webkit-linear-gradient(top, #bd5e54 0%,#90322a 60%); /* Chrome10+,Safari5.1+ */
261     background: -o-linear-gradient(top, #bd5e54 0%,#90322a 60%); /* Opera11.10+ */
262     background: -ms-linear-gradient(top, #bd5e54 0%,#90322a 60%); /* IE10+ */
263     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#BD5E54', endColorstr='#90322A',GradientType=0 ); /* IE6-9 */
264     background: linear-gradient(top, #bd5e54 0%,#90322a 60%); /* W3C */
265
266     border: 1px solid #6E2A24;
267     border-radius: 4px;
268     -moz-border-radius: 4px;
269     -webkit-border-radius: 4px;
270
271     color: #eee;
272     text-shadow: #222 0 1px 0;
273     text-decoration: none;
274     text-transform: uppercase;
275     line-height: 20px;
276     font-weight: bold;
277     font-size: 85%;
278
279     white-space: nowrap;
280 }
281 .openerp .menu a:hover,
282 .openerp .menu a:focus,
283 .openerp .menu a.active {
284     background: #c6c6c6; /* Old browsers */
285     background: -moz-linear-gradient(top, #c6c6c6 0%, #5c5c5c 7%, #969595 86%); /* FF3.6+ */
286     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c6c6c6), color-stop(7%,#5c5c5c), color-stop(86%,#969595)); /* Chrome,Safari4+ */
287     background: -webkit-linear-gradient(top, #c6c6c6 0%,#5c5c5c 7%,#969595 86%); /* Chrome10+,Safari5.1+ */
288     background: -o-linear-gradient(top, #c6c6c6 0%,#5c5c5c 7%,#969595 86%); /* Opera11.10+ */
289     background: -ms-linear-gradient(top, #c6c6c6 0%,#5c5c5c 7%,#969595 86%); /* IE10+ */
290     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#C6C6C6', endColorstr='#969595',GradientType=0 ); /* IE6-9 */
291     background: linear-gradient(top, #c6c6c6 0%,#5c5c5c 7%,#969595 86%); /* W3C */
292     /* for ie */
293     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5c5c5c', endColorstr='#969595',GradientType=0 ); /* IE6-9 */
294     
295     color: #fff;
296 }
297 .openerp .oe-application-container {
298     height: 100%;
299 }
300 /* Secondary Menu */
301 .openerp .secondary_menu {
302     width: 200px;
303     min-width: 200px;
304     border-right: 1px solid #3C3C3C;
305     border-bottom: 1px solid #5A5858;
306     background: #5A5858;
307     vertical-align: top;
308     height: 100%;
309 }
310 .openerp .secondary_menu .menu_content {
311     padding: 0;
312     border: none;
313     background: none;
314     overflow: hidden;
315 }
316 .openerp .secondary_menu h3 {
317     padding: 0 0 2px;
318     background: #949292; /* Old browsers */
319     background: -moz-linear-gradient(top, #949292 0%, #6d6b6b 87%, #282828 99%); /* FF3.6+ */
320     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#949292), color-stop(87%,#6d6b6b), color-stop(99%,#282828)); /* Chrome,Safari4+ */
321     background: -webkit-linear-gradient(top, #949292 0%,#6d6b6b 87%,#282828 99%); /* Chrome10+,Safari5.1+ */
322     background: -o-linear-gradient(top, #949292 0%,#6d6b6b 87%,#282828 99%); /* Opera11.10+ */
323     background: -ms-linear-gradient(top, #949292 0%,#6d6b6b 87%,#282828 99%); /* IE10+ */
324     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#949292', endColorstr='#282828',GradientType=0 ); /* IE6-9 */
325     background: linear-gradient(top, #949292 0%,#6d6b6b 87%,#282828 99%); /* W3C */
326     /* for ie9 */
327     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#949292', endColorstr='#5B5A5A',GradientType=0 ); /* IE6-9 */
328     border: none;
329     /* overriding jquery ui */
330     -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
331 }
332 .openerp .secondary_menu h4 {
333     padding: 0 0 2px 10px;
334     border: none;
335     background: none;
336 }
337 .openerp .secondary_menu h3 span, .openerp .secondary_menu h4 span {
338     left: 0 !important;
339 }
340 .openerp .secondary_menu a {
341     display: block;
342     height: 20px;
343     padding: 0 5px;
344     line-height: 20px;
345     white-space: nowrap;
346     color: white;
347     text-decoration: none;
348     text-shadow: 0 1px 0 #333;
349 }
350 .openerp .secondary_menu a.leaf:hover,
351 .openerp .secondary_menu a.leaf:active,
352 .openerp .secondary_menu a.leaf.active,
353 .openerp .secondary_menu h4:hover,
354 .openerp .secondary_menu h4:active,
355 .openerp .secondary_menu h4.active {
356     background: #ffffff; /* Old browsers */
357     background: -moz-linear-gradient(top, #ffffff 0%, #d8d8d8 11%, #afafaf 86%, #333333 91%, #5a5858 96%); /* FF3.6+ */
358     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(11%,#d8d8d8), color-stop(86%,#afafaf), color-stop(91%,#333333), color-stop(96%,#5a5858)); /* Chrome,Safari4+ */
359     background: -webkit-linear-gradient(top, #ffffff 0%,#d8d8d8 11%,#afafaf 86%,#333333 91%,#5a5858 96%); /* Chrome10+,Safari5.1+ */
360     background: -o-linear-gradient(top, #ffffff 0%,#d8d8d8 11%,#afafaf 86%,#333333 91%,#5a5858 96%); /* Opera11.10+ */
361     background: -ms-linear-gradient(top, #ffffff 0%,#d8d8d8 11%,#afafaf 86%,#333333 91%,#5a5858 96%); /* IE10+ */
362     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#5A5858',GradientType=0 ); /* IE6-9 */
363     background: linear-gradient(top, #ffffff 0%,#d8d8d8 11%,#afafaf 86%,#333333 91%,#5a5858 96%); /* W3C */
364     /* overriding jquery ui */
365     -moz-border-radius-topright: 0; -webkit-border-top-right-radius: 0; border-top-right-radius: 0;
366     color: #3f3d3d;
367     text-shadow: #fff 0 1px 0;
368     border: none !important;
369 }
370
371 .openerp .secondary_menu h4:hover a,
372 .openerp .secondary_menu h4:active a,
373 .openerp .secondary_menu h4.active a {
374     color: #3f3d3d;
375     text-shadow: #fff 0 1px 0;
376     border: none !important;
377 }
378 .openerp div.submenu_accordion div.menu_content a span {
379     padding-left: 20px;
380 }
381
382 /* Header */
383 .openerp .header {
384     height: 65px;
385     background: url("/web/static/src/img/header-background.png") repeat-x scroll left top transparent;
386     color: #FFFFFF;
387     letter-spacing: 0.5px;
388     text-shadow: 0 1px 0 #333333;
389 }
390 .openerp .company_logo_link {
391     display: block;
392     float: left;
393     height: 63px;
394     width: 200px;
395     border: 1px solid white;
396     border-right-color: black;
397     border-bottom-color: black;
398     background: #FFFFFF;
399     background: -moz-linear-gradient(top, #FFFFFF 0%, #CECECE 100%);
400     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFFFFF), color-stop(100%,#CECECE));
401     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#CECECE',GradientType=0 );
402 }
403 .openerp .company_logo {
404     margin-top: 7px;
405     margin-left: 10px;
406     display: block;
407     background: url(/web/static/src/img/logo.png);
408     width:180px;
409     height:46px;
410 }
411 .openerp .header_title {
412     float: left;
413     font-size: 100%;
414     margin: 0;
415     padding: 4px 10px;
416     text-shadow: 0 1px 0 #111111;
417 }
418 .openerp .header_title small {
419     color: #ccc;
420     font-size: 90%;
421     font-weight: normal;
422 }
423 .openerp .header_corner {
424     float: right;
425 }
426 .openerp .header_corner .block {
427     float: left;
428     height: 34px;
429     line-height: 34px;
430     /*background: url(../images/top-sep-a.png) no-repeat;*/
431     border-left: 1px solid #6a6a6a;
432     background: #828282;
433     background: -moz-linear-gradient(top, #828282 0%, #4D4D4D 100%);
434     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#828282), color-stop(100%,#4D4D4D));
435     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#828282', endColorstr='#4D4D4D',GradientType=0 );
436 }
437 .openerp .header_corner .block a {
438     display: block;
439     color: white;
440     text-decoration: none;
441     padding: 0 10px;
442 }
443 .openerp .header_corner .block a:hover {
444     background: #929292;
445     background: -moz-linear-gradient(top, #929292 0%, #4D4D4D 100%);
446     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#929292), color-stop(100%,#4D4D4D));
447     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#929292', endColorstr='#4D4D4D',GradientType=0 );
448 }
449 .openerp .header_corner ul.block {
450     /*float: left;*/
451     list-style: none;
452     height: 34px;
453     margin: 0;
454     padding: 0 0 0 2px;
455     /*background: url(../images/top-sep-a.png) no-repeat;*/
456     line-height: 33px;
457     /*font-size: 1em;*/
458     /*text-transform: uppercase;*/
459 }
460 .openerp .header_corner ul.block li {
461     float: left;
462 }
463 .openerp .header_corner ul.block li a {
464     padding: 0 5px;
465     position: relative;
466     line-height: 32px;
467 }
468 .openerp .header_corner ul.block li a img {
469     vertical-align: middle;
470 }
471 .openerp .header_corner ul.block li a small {
472     position: absolute;
473     right: 0;
474     top: 5px;
475     padding: 1px 4px 2px;
476     background: rgba(0, 0, 0, 0.75);
477     border-radius: 7px;
478     -moz-border-radius: 7px;
479     -webkit-border-radius: 7px;
480     line-height: 1em;
481     font-weight: bold;
482 }
483
484 /* Footer */
485 .openerp div.oe_footer {
486     background: none repeat scroll 0 0 #CCCCCC;
487     overflow: hidden;
488     padding: 5px 0;
489     position: relative;
490     -moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.4);
491     -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.4);
492     box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.4);
493 }
494 .openerp div.oe_footer p.oe_footer_powered {
495     left: 50%;
496     margin: 0;
497     padding: 0 15px;
498     color: #666666;
499     font-weight: bold;
500     font-size: 0.8em;
501     text-align: center;
502 }
503 .openerp div.oe_footer p.oe_footer_powered a {
504     text-decoration: none;
505     color: #666666;
506 }
507
508 /* Main Application */
509 .openerp .oe-main-content,
510 .openerp .oe-application {
511     padding: 0;
512     height: 100%;
513 }
514
515 .openerp h2.oe_view_title {
516     font-size: 175%;
517     font-weight: normal;
518     margin: 2px 0;
519     color: #252424;
520     text-shadow: white 0 1px 0;
521 }
522
523 /* View Manager */
524 .openerp .oe_vm_switch {
525     float: right;
526 }
527
528 /* SearchView */
529 .openerp .filter_label, .openerp .filter_icon {
530     border: 1px solid #666;
531     border-left-width: 0;
532     background: #F0F0F0;
533     background: -moz-linear-gradient(top, #F0F0F0 0%, #C0C0C0 100%);
534     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F0F0F0), color-stop(100%,#C0C0C0));
535     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F0F0F0', endColorstr='#C0C0C0',GradientType=0 );
536 }
537 .openerp .filter_label:hover, .openerp .filter_icon:hover {
538     background: #F0F0F0;
539     background: -moz-linear-gradient(top, #F0F0F0 0%, #A1A7CE 100%);
540     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F0F0F0), color-stop(100%,#A1A7CE));
541     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F0F0F0', endColorstr='#A1A7CE',GradientType=0 );
542 }
543 .openerp .filter_label:active, .openerp .filter_icon:active {
544     background: #AAAAAA;
545     background: -moz-linear-gradient(top, #999999 0%, #EEEEEE 100%);
546     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#999999), color-stop(100%,#EEEEEE));
547     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#999999', endColorstr='#EEEEEE',GradientType=0 );
548 }
549 .openerp .filter_label.enabled, .openerp .filter_icon.enabled {
550     background: #AAAAAA;
551 }
552 .openerp .filter_icon {
553     height: 22px;
554     padding: 1px 2px 0 2px;
555     margin: 0;
556     vertical-align: bottom;
557 }
558 .openerp .filter_label {
559     font-weight: bold;
560     text-transform: uppercase;
561     text-shadow: #EEE 0 1px 0;
562     color: #4C4C4C;
563     white-space: nowrap;
564     min-height: 40px;
565     min-width: 75px;
566     padding: 2px 4px;
567     margin: 0;
568 }
569 .openerp .filter_label_group {
570     padding-right: 0.4em;
571     white-space: nowrap;
572 }
573 .openerp .filter_label_group button:first-child {
574     border-left: 1px solid #666;
575     -webkit-border-top-left-radius: 7px;
576     -webkit-border-bottom-left-radius: 7px;
577     -moz-border-radius-topleft: 7px;
578     -moz-border-radius-bottomleft: 7px;
579     border-top-left-radius: 7px;
580     border-bottom-left-radius: 7px;
581 }
582 .openerp .filter_label_group button:last-child {
583     -webkit-border-top-right-radius: 7px;
584     -webkit-border-bottom-right-radius: 7px;
585     -moz-border-radius-topright: 7px;
586     -moz-border-radius-bottomright: 7px;
587     border-top-right-radius: 7px;
588     border-bottom-right-radius: 7px;
589 }
590
591 .openerp .searchview_group_string {
592     display: block;
593     color: #7D7979;
594     font-weight: bold;
595     padding: 2px 0 2px 10px;
596     margin-top: 4px;
597     text-decoration: none;
598 }
599 .openerp .searchview_group_string:hover {
600     background-color: #ccc;
601 }
602 .openerp .searchview_group.folded .searchview_group_string {
603     background: url("/web/static/src/img/ui/group-folded.png") no-repeat scroll 0 50%;
604 }
605 .openerp .searchview_group.folded .searchview_group_content {
606     display: none;
607 }
608 .openerp .searchview_group.expanded .searchview_group_string {
609     background: url("/web/static/src/img/ui/group-expanded.png") no-repeat scroll 0 50%;
610 }
611 .openerp .searchview_group.expanded .searchview_group_content {
612     display: block;
613 }
614 .openerp .searchview_group_content {
615     padding-left: 10px;
616 }
617
618 .openerp .searchview_extended_group {
619     padding: 3px;
620     margin: 2px;
621 }
622
623 .openerp .searchview_extended_group .oe_adv_filters_and {
624     border-bottom: 1px solid #8E8E8E;
625     text-align: center;
626     margin-top: -10px;
627 }
628 .openerp .searchview_extended_group .oe_adv_filters_and span {
629     background: #F0EEEE;
630     position: relative;
631     top: 0.5em;
632     padding: 0 1em 0 1em;
633     color: #8E8E8E;
634 }
635
636 .openerp .searchview_extended_group.last_group .oe_adv_filters_and {
637     display: none;
638 }
639
640 .openerp .oe_search-view-custom-filter-btn span {
641     background: url(/web/static/src/img/icons/gtk-add.png) repeat-y;
642     padding-left: 18px;
643 }
644
645 .openerp .searchview_extended_add_proposition span {
646     font-size: 0.9em;
647     background: url(/web/static/src/img/icons/gtk-add.png) repeat-y;
648     padding-left: 18px;
649 }
650
651 .openerp .searchview_extended_delete_group {
652     float:right;
653     display: none;
654 }
655
656 .openerp .searchview_extended_delete_prop {
657     text-decoration: none;
658 }
659
660 .openerp .searchview_extended_delete_group span,
661 .openerp .searchview_extended_delete_prop span {
662     font-size: 0.9em;
663     background: url(/web/static/src/img/icons/gtk-close.png) repeat-y;
664     padding-left: 18px;
665 }
666 /* List */
667 .openerp .oe-listview table {
668     clear: right;
669     width: 100%;
670     border-spacing: 0;
671     border: 1px solid silver;
672 }
673
674 .openerp .oe-listview thead table {
675     width: 100%;
676     border:  none;
677 }
678 .openerp .oe-listview tr.odd {
679     background-color: #f3f3f3;
680 }
681 .openerp .oe-listview tbody tr:hover {
682     background-color: #ecebf2;
683 }
684 .openerp .oe-listview tbody tr:hover {
685     background-color: #eae9f0;
686 }
687 .openerp .oe-listview thead table tr,
688 .openerp .oe-listview thead table tr:hover {
689     background: none;
690 }
691
692 .openerp .oe-listview td,
693 .openerp .oe-listview th {
694     vertical-align: middle;
695     text-align: left;
696 }
697 .openerp .oe-listview td.oe-record-delete {
698     text-align: right;
699 }
700 .openerp .oe-listview th.oe-sortable {
701     cursor: pointer;
702 }
703 .openerp .oe-listview th.oe-sortable .ui-icon {
704     height: 1em;
705     display: inline;
706     display: inline-block;
707 }
708
709 .openerp .oe-listview .oe-field-cell {
710     cursor: pointer;
711 }
712 .openerp .oe-listview .oe-field-cell button {
713     padding: 0;
714     border: none;
715     background: none;
716     width: 100%;
717 }
718 .openerp .oe-listview .oe-field-cell button:active {
719     opacity: 0.5;
720 }
721 .openerp .oe-listview .oe-field-cell button img {
722     cursor: pointer;
723 }
724 .openerp .oe-listview .oe-field-cell button img:hover {
725     opacity: 0.75;
726 }
727
728 .openerp .oe-listview th.oe-actions {
729     text-align: left;
730     white-space: nowrap;
731 }
732 .openerp .oe-listview th.oe-list-pager {
733     text-align: right;
734     white-space: nowrap;
735 }
736 .openerp .oe-list-pager .oe-pager-state {
737     cursor: pointer;
738 }
739
740 .openerp .oe-listview .oe-group-name {
741     padding-right: 1em;
742 }
743 .openerp .oe-listview .oe-group-name,
744 .openerp .oe-listview .oe-group-pagination {
745     white-space: nowrap;
746 }
747
748 .openerp .oe-listview tfoot td {
749     padding: 3px 3px 0;
750 }
751 .openerp .oe-listview .oe-list-footer {
752     text-align: center;
753     white-space: nowrap;
754 }
755 .openerp .oe-listview .oe-list-footer span {
756     margin: 0 1em;
757 }
758
759 /** list rounded corners
760
761     rounded corners are a pain on tables: need to round not only table, but
762     also on the first and last children of the first and last row
763  */
764 .openerp .oe-listview table.oe-listview-content {
765     -webkit-border-radius: 7px;
766     -moz-border-radius: 7px;
767     border-radius: 7px;
768 }
769 .openerp .oe-listview table.oe-listview-content thead tr:first-child th:first-child {
770     -webkit-border-top-left-radius: 7px;
771     -moz-border-radius-topleft: 7px;
772     border-top-left-radius: 7px;
773 }
774 .openerp .oe-listview table.oe-listview-content thead tr:first-child th:last-child {
775     -webkit-border-top-right-radius: 7px;
776     -moz-border-radius-topright: 7px;
777     border-top-right-radius: 7px;
778 }
779 .openerp .oe-listview table.oe-listview-content tfoot td:first-child,
780 .openerp .oe-listview table.oe-listview-content tbody:last-child tr:last-child th:first-child {
781     -webkit-border-bottom-left-radius: 7px;
782     -moz-border-radius-bottomleft: 7px;
783     border-bottom-left-radius: 7px;
784 }
785 .openerp .oe-listview table.oe-listview-content tfoot td:last-child,
786 .openerp .oe-listview table.oe-listview-content tbody:last-child tr:last-child td:last-child {
787     -webkit-border-bottom-right-radius: 7px;
788     -moz-border-radius-bottomright: 7px;
789     border-bottom-right-radius: 7px;
790 }
791
792 /* Notebook */
793 .openerp .oe_form_notebook {
794     padding: 0;
795     background: none;
796     border-width: 0;
797 }
798 .openerp .oe_form_notebook ul.ui-tabs-nav {
799     padding-left: 0;
800     background: transparent;
801     border-width: 0 0 1px 0;
802     border-radius: 0;
803     -moz-border-radius: 0;
804     -webkit-border-radius: 0;
805     line-height: 0.5em;
806 }
807 .openerp .oe_form_notebook ul.ui-tabs-nav li {
808     font-weight: bold;
809 }
810 .openerp .oe_form_notebook .ui-tabs-panel {
811     background: #f9f9f9;
812     border-width: 0 1px 1px 1px;
813 }
814 .openerp .oe_form_notebook .ui-tabs-selected {
815     background: #f9f9f9;
816 }
817
818 /* Form */
819 .openerp table.oe_frame td {
820     color: #4c4c4c;
821 }
822 .openerp td.oe_form_frame_cell {
823     padding: 2px;
824 }
825 .openerp td.oe_form_frame_cell.oe_form_group {
826     padding: 0;
827 }
828 .openerp .required.error {
829     border: 1px solid #900;
830 }
831 .openerp .oe_form_buttons, .openerp .oe_list_buttons {
832     float: left;
833 }
834 .openerp .oe_form_pager, .openerp .oe_list_pager {
835     float: right;
836 }
837
838 .openerp label.oe_label_help, .openerp label.oe_label {
839     display: block;
840 }
841 .openerp label.oe_label_help {
842     cursor: help;
843 }
844 .openerp label.oe_label,
845 .openerp label.oe_label_help {
846     text-align: right;
847     margin: 3px 0 0 10px;
848 }
849 .openerp label.oe_label_help span {
850     font-size: 80%;
851     color: darkgreen;
852     vertical-align:top;
853     position: relative;
854     top: -4px;
855     padding: 0 2px;
856 }
857
858 /* Inputs */
859 .openerp .oe_forms input[type="text"], .openerp .oe_forms input[type="password"], .openerp .oe_forms select, .openerp .oe_forms textarea {
860     -moz-box-sizing: border-box;
861     -webkit-box-sizing: border-box;
862     -ms-box-sizing: border-box;
863     box-sizing: border-box;
864     padding: 0 2px 0 2px;
865     border: 1px solid #999;
866     -moz-border-radius: 3px;
867     -webkit-border-radius: 3px;
868     border-radius: 3px;
869     background: white;
870     min-width: 90px;
871     color: #1f1f1f;
872 }
873 .openerp .oe_forms textarea {
874     resize:vertical;
875 }
876 .openerp .oe_forms input[type="text"], .openerp .oe_forms input[type="password"], .openerp .oe_forms select, .openerp .oe_forms .button {
877     height: 22px;
878 }
879 .openerp .oe_forms input.field_datetime {
880     min-width: 11em;
881 }
882 .openerp .oe_forms .button {
883     color: #4c4c4c;
884     white-space: nowrap;
885 }
886 .openerp .oe_forms .button span {
887     position: relative;
888     vertical-align: top;
889 }
890 .openerp img.ui-datepicker-trigger {
891     margin-left: -20px;
892     vertical-align: middle;
893     cursor: pointer;
894     position: relative;
895     top: -1px;
896 }
897 .openerp img.oe_field_translate {
898     margin-left: -21px;
899     vertical-align: top;
900     cursor: pointer;
901     position: relative;
902     top: 4px;
903 }
904 .openerp .oe_trad_field.touched {
905     border: 1px solid green !important;
906 }
907
908 /* http://www.quirksmode.org/dom/inputfile.html
909  * http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
910  */
911 .openerp .oe-binary-file-set {
912     overflow: hidden;
913     position: relative;
914 }
915 .openerp input.oe-binary-file {
916     z-index: 2;
917     line-height: 0;
918     font-size: 50px;
919     position: absolute;
920     /* Should be adjusted for all browsers */
921     top: -2px;
922     left: -700px;
923     opacity: 0;
924     filter: alpha(opacity = 0);
925     -ms-filter: "alpha(opacity=0)";
926     margin: 0;
927     padding:0;
928 }
929
930 /* Widgets */
931 .openerp .separator {
932     border: 0 solid #666;
933 }
934 .openerp .separator.horizontal {
935    font-weight: bold;
936     border-bottom-width: 1px;
937     margin: 3px 4px 3px 1px;
938     height: 15px;
939 }
940 .openerp .oe_form_frame_cell.oe_form_separator_vertical {
941     border-left: 1px solid #666;
942 }
943 .openerp td.required input, .openerp td.required select {
944     background-color: #D2D2FF !important;
945 }
946 .openerp td.invalid input, .openerp td.invalid select, .openerp td.invalid textarea {
947     background-color: #F66 !important;
948     border: 1px solid #D00 !important;
949 }
950 .openerp div.oe-progressbar span {
951     position: absolute;
952     margin-left: 10px;
953     margin-top: 5px;
954     font-weight: bold;
955 }
956
957 /* jQuery UI override */
958 .openerp .ui-widget {
959     font-size: 1em;
960 }
961 .openerp .oe_form_field_progressbar .ui-progressbar {
962     height: 22px;
963     font-size: 10px;
964     -moz-box-sizing: border-box;
965     -webkit-box-sizing: border-box;
966     -ms-box-sizing: border-box;
967     box-sizing: border-box;
968     border: 1px solid #999;
969     -moz-border-radius: 3px;
970     -webkit-border-radius: 3px;
971     border-radius: 3px;
972     background: white;
973     min-width: 90px;
974 }
975
976 /* Sidebar */
977 .openerp .view-manager-main-table {
978     margin: 0;
979     width:100%;
980     border-collapse:collapse;
981     height:100%;
982 }
983
984 .openerp .view-manager-main-table tbody {
985     vertical-align: top;
986 }
987
988 .openerp .view-manager-main-content {
989     width: 100%;
990     padding: 6px;
991 }
992
993 .openerp .view-manager-main-sidebar {
994     width: 180px;
995     padding: 0;
996     margin: 0;
997 }
998
999 .openerp .sidebar-main-div {
1000     height: 100%;
1001     border-left: 1px solid #D2CFCF;
1002 }
1003
1004 .openerp .sidebar-content {
1005     padding: 0;
1006     margin: 0;
1007     width: 180px;
1008     height: 100%;
1009     font-size: 0.9em;
1010 }
1011
1012 .openerp .closed-sidebar .sidebar-content {
1013     width: 22px;
1014 }
1015
1016 .openerp .closed-sidebar .sidebar-content {
1017     display: none;
1018 }
1019
1020 .openerp .sidebar-main-div a {
1021     color: #555;
1022     text-decoration: none;
1023 }
1024
1025 .openerp .sidebar-main-div a:hover {
1026     color: black;
1027 }
1028
1029 .openerp .oe-sidebar-attachments-toolbar {
1030     margin: 4px 0 0 4px;
1031 }
1032 .openerp .oe-sidebar-attachments-items {
1033     clear: both;
1034     padding-top: 5px !important;
1035 }
1036 .openerp .oe-sidebar-attachments-items li {
1037     position: relative;
1038     padding: 0 0 3px 10px !important;
1039 }
1040 .openerp .oe-sidebar-attachments-items li:hover {
1041     background: #ddd;
1042 }
1043 .openerp .oe-sidebar-attachments-link {
1044     display: block;
1045     margin-right: 15px;
1046     overflow: hidden;
1047 }
1048 .openerp .oe-sidebar-attachment-delete {
1049     position: absolute;
1050     right: 2px;
1051     top: 1px;
1052     overflow: hidden;
1053     width: 15px;
1054     height: 15px;
1055     padding: 1px;
1056     border-radius: 7px;
1057     -moz-border-radius: 7px;
1058     -webkit-border-radius: 7px;
1059 }
1060 .openerp .oe-sidebar-attachment-delete:hover {
1061     background-color: white;
1062 }
1063
1064 .openerp .view-manager-main-sidebar h2 {
1065     margin:0;
1066     font-size: 1.15em;
1067     color: #8E8E8E;
1068     text-shadow: white 0 1px 0;
1069     padding-left: 10px;
1070     padding-right: 21px;
1071     height: 21px;
1072
1073     background: #ffffff; /* Old browsers */
1074     background: -moz-linear-gradient(top, #ffffff 0%, #ebe9e9 100%); /* FF3.6+ */
1075     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ebe9e9)); /* Chrome,Safari4+ */
1076     background: -webkit-linear-gradient(top, #ffffff 0%,#ebe9e9 100%); /* Chrome10+,Safari5.1+ */
1077     background: -o-linear-gradient(top, #ffffff 0%,#ebe9e9 100%); /* Opera11.10+ */
1078     background: -ms-linear-gradient(top, #ffffff 0%,#ebe9e9 100%); /* IE10+ */
1079     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#EBE9E9',GradientType=0 ); /* IE6-9 */
1080     background: linear-gradient(top, #ffffff 0%,#ebe9e9 100%); /* W3C */
1081
1082     border: 1px solid #D2CFCF;
1083     border-right-width: 0;
1084     border-left-width: 0;
1085 }
1086
1087 .openerp .view-manager-main-sidebar ul {
1088     list-style-type: none;
1089     margin: 0;
1090     padding: 0;
1091     display: block;
1092 }
1093
1094 .openerp .view-manager-main-sidebar li {
1095     display: block;
1096     padding: 3px 3px 3px 10px;
1097 }
1098
1099 .openerp .toggle-sidebar {
1100     cursor: pointer;
1101     border: 1px solid #D2CFCF;
1102     display: block;
1103     background: url(/web/static/src/img/toggle-a-bg.png);
1104     width: 21px;
1105     height: 21px;
1106     z-index: 10;
1107 }
1108 .openerp .open-sidebar .toggle-sidebar {
1109     margin-left: 158px;
1110     background-position: 21px 0;
1111     position: absolute;
1112 }
1113 .openerp .closed-sidebar .toggle-sidebar {
1114     border-left: none;
1115 }
1116 .openerp li.oe_sidebar_print {
1117     padding-left: 20px;
1118     background: 1px 3px url(/web/static/src/img/icons/gtk-print.png) no-repeat;
1119 }
1120
1121 .openerp.kitten-mode-activated .main_table {
1122     background: url(http://placekitten.com/g/1500/800) repeat;
1123 }
1124
1125 .openerp.kitten-mode-activated .header {
1126     background: url(http://placekitten.com/g/211/65) repeat;
1127 }
1128
1129 .openerp.kitten-mode-activated .secondary_menu {
1130     background: url(http://placekitten.com/g/212/100) repeat;
1131 }
1132
1133 .openerp.kitten-mode-activated .menu {
1134     background: #828282;
1135     background: -moz-linear-gradient(top, #828282 0%, #4D4D4D 100%);
1136     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#828282), color-stop(100%,#4D4D4D));
1137     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#828282', endColorstr='#4D4D4D',GradientType=0 );
1138 }
1139 .openerp.kitten-mode-activated .menu a {
1140     background: none;
1141 }
1142 .openerp.kitten-mode-activated .menu span {
1143     background: none;
1144 }
1145 .openerp.kitten-mode-activated .sidebar-content li a,
1146 .openerp.kitten-mode-activated .oe-application .view-manager-main-content h2.oe_view_title,
1147 .openerp.kitten-mode-activated .oe-application .view-manager-main-content a.searchview_group_string,
1148 .openerp.kitten-mode-activated .oe-application .view-manager-main-content label  {
1149     color: white;
1150 }
1151 .openerp.kitten-mode-activated .menu,
1152 .openerp.kitten-mode-activated .header_corner,
1153 .openerp.kitten-mode-activated .header_title,
1154 .openerp.kitten-mode-activated .secondary_menu div,
1155 .openerp.kitten-mode-activated .oe-application,
1156 .openerp.kitten-mode-activated .oe_footer,
1157 .openerp.kitten-mode-activated .loading,
1158 .openerp.kitten-mode-activated .ui-dialog {
1159     opacity:0.8;
1160     filter:alpha(opacity=80);
1161 }
1162 .openerp.kitten-mode-activated .header .company_logo {
1163     background: url(http://placekitten.com/g/180/46);
1164 }
1165 .openerp.kitten-mode-activated .loading {
1166     background: #828282;
1167     border-color: #828282;
1168 }
1169
1170 .openerp .oe-m2o {
1171     padding-right: 20px;
1172     white-space: nowrap;
1173 }
1174 .openerp .oe_forms .oe-m2o input[type="text"] {
1175     padding-right: 20px;
1176 }
1177 .openerp .oe-m2o-drop-down-button {
1178     margin-left: -23px;
1179 }
1180 .openerp .oe-m2o-drop-down-button img,
1181 .openerp .oe-m2o-cm-button img {
1182     margin-bottom: -4px;
1183     cursor: pointer;
1184 }
1185 .openerp .oe-m2o-cm-button img {
1186     margin-left: 4px;
1187 }
1188 .openerp .oe-m2o-disabled-cm {
1189     color: grey;
1190 }
1191 .parent_top {
1192     vertical-align: text-top;
1193 }
1194
1195 .openerp .oe-dialog-warning p {
1196     padding-left: 1em;
1197     font-size: 1.2em;
1198     font-weight: bold;
1199 }
1200
1201 .openerp .dhx_mini_calendar {
1202     -moz-box-shadow: none;
1203     -khtml-box-shadow: none;
1204     -webkit-box-shadow: none;
1205     box-shadow: none;
1206 }
1207 .openerp .oe-treeview-table {
1208     width: 100%;
1209 }
1210 .treeview-tr, .treeview-td {
1211     cursor: pointer;
1212     vertical-align: top;
1213     text-align: left;
1214 }
1215 .treeview-tr span, .treeview-td span {
1216     display: block;
1217 }
1218 .treeview-tr:first-of-type {
1219     background: transparent url(/web/static/src/img/expand.gif) 0 50% no-repeat;
1220 }
1221 .oe-open .treeview-tr:first-of-type {
1222     background-image: url(/web/static/src/img/collapse.gif);
1223 }
1224 .treeview-tr:first-of-type span,
1225 .treeview-td:first-of-type span {
1226     margin-left: 16px;
1227 }
1228
1229 .treeview-header {
1230     text-align: left;
1231     vertical-align: top;
1232 }
1233 /* Shortcuts*/
1234 .oe-shortcut-toggle {
1235     height: 20px;
1236     padding: 0;
1237     width: 24px;
1238     cursor: pointer;
1239     display: block;
1240     background: url(/web/static/src/img/add-shortcut.png) no-repeat bottom;
1241     float: left;
1242 }
1243 .oe-shortcut-remove{
1244     background: url(/web/static/src/img/remove-shortcut.png) no-repeat bottom;
1245 }
1246 /* ================ */
1247 .oe-shortcuts {
1248     position: absolute;
1249
1250     margin: 0;
1251     padding: 6px 15px;
1252     top: 37px;
1253     left: 197px;
1254     right: 0;
1255     height: 17px;
1256     line-height: 1.2;
1257 }
1258 .oe-shortcuts ul {
1259     display: block;
1260     overflow: hidden;
1261     list-style: none;
1262     white-space: nowrap;
1263     padding: 0;
1264     margin: 0;
1265 }
1266 .oe-shortcuts li {
1267     cursor: pointer;
1268     display: -moz-inline-stack;
1269     display: inline-block;
1270     display: inline; /*IE7 */
1271     color: #fff;
1272     text-align: center;
1273     border-left: 1px solid #909090;
1274     padding: 4px;
1275     font-size: 90%;
1276     font-weight: normal;
1277 }
1278 .oe-shortcuts li:first-child {
1279     border-left: none;
1280     padding-left: 0;
1281 }
1282
1283 ul.oe-arrow-list {
1284     padding-left: 0.5em;
1285     margin: 0;
1286 }
1287 ul.oe-arrow-list li {
1288     display: inline-block;
1289     margin-left: -0.5em;
1290 }
1291 ul.oe-arrow-list li span {
1292     vertical-align: top;
1293     display: inline-block;
1294     border-width:1em;
1295     border-style:solid;
1296     border-color: white;
1297     line-height:0em;
1298 }
1299 ul.oe-arrow-list .oe-arrow-list-before {
1300     border-left-color: rgba(0,0,0,0);
1301     border-right-width:0;
1302 }
1303 ul.oe-arrow-list .oe-arrow-list-after {
1304     border-color: rgba(0,0,0,0);
1305     border-left-color: white;
1306     border-right-width:0;
1307 }
1308 ul.oe-arrow-list li.oe-arrow-list-selected span {
1309     border-color: #CFCCCC;
1310 }
1311 ul.oe-arrow-list li.oe-arrow-list-selected .oe-arrow-list-before {
1312     border-left-color: rgba(0,0,0,0);
1313 }
1314 ul.oe-arrow-list li.oe-arrow-list-selected .oe-arrow-list-after {
1315     border-color: rgba(0,0,0,0);
1316     border-left-color: #CFCCCC;
1317 }
1318 .openerp .view_editor{ 
1319      border-bottom: 1px solid #CFCCCC;
1320 }