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