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