4387e62f58e961579b5be9cfb179e0b956084068
[odoo/odoo.git] / addons / base / static / src / css / base.css
1 /* TODO: separate openerp web client page css from openerp views css */
2 body {
3     padding: 0;
4     margin: 0;
5     font-family: helvetica, arial, sans-serif;
6     font-size: 80%;
7 }
8
9 .oe_box {
10     border: 1px solid #aaf;
11     padding: 2px;
12     margin: 2px;
13 }
14
15 #oe_header h2 {
16     margin: 2px 0;
17 }
18
19 #oe_errors pre {
20     margin: 0;
21 }
22
23
24 body.openerp {
25     height: 100%;
26     min-width: 1000px;
27     overflow-y: scroll;
28 }
29
30 /* STATES */
31 .openerp .on_logged {
32     display: none;
33 }
34
35 /* Loading */
36 .openerp .loading {
37     display: none;
38     z-index: 100;
39     position: fixed;
40     top: 0;
41     right: 50%;
42     padding: 4px 12px;
43     background: #A61300;
44     color: white;
45     text-align: center;
46     border: 1px solid #900;
47     border-top: none;
48     -moz-border-radius-bottomright: 8px;
49     -moz-border-radius-bottomleft: 8px;
50     border-bottom-right-radius: 8px;
51     border-bottom-left-radius: 8px;
52 }
53 .openerp .oe_notification {
54     z-index: 1001;
55     display: none;
56 }
57 .openerp .oe_notification * {
58     color: white;
59 }
60
61 /* Login */
62 .openerp .login {
63     display: none;
64     padding: 6px;
65     z-index: 1002;
66     width: 34%;
67     position: fixed;
68     top: 0;
69     left: 33%;
70
71 }
72 .openerp .login_valid {
73     background-color: #8f8;
74 }
75 .openerp .login_invalid {
76     background-color: #f88;
77 }
78
79 /* Main*/
80 .openerp .main_table {
81     width: 100%;
82     height: 100%;
83     background: #f0eeee;
84 }
85
86 /* Menu */
87 .openerp .sf-menu {
88     margin-bottom: 0;
89 }
90 /*
91 .sf-menu a {
92     padding: 5px 5px;
93 }
94 */
95
96 .openerp .menu {
97     height: 34px;
98 background: #cc4e45; /* Old browsers */
99 background: -moz-linear-gradient(top, #cc4e45 0%, #b52d20 8%, #7a211a 100%); /* FF3.6+ */
100 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cc4e45), color-stop(8%,#b52d20), color-stop(100%,#7a211a)); /* Chrome,Safari4+ */
101 background: -webkit-linear-gradient(top, #cc4e45 0%,#b52d20 8%,#7a211a 100%); /* Chrome10+,Safari5.1+ */
102 background: -o-linear-gradient(top, #cc4e45 0%,#b52d20 8%,#7a211a 100%); /* Opera11.10+ */
103 background: -ms-linear-gradient(top, #cc4e45 0%,#b52d20 8%,#7a211a 100%); /* IE10+ */
104 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#CC4E45', endColorstr='#7A211A',GradientType=0 ); /* IE6-9 */
105 background: linear-gradient(top, #cc4e45 0%,#b52d20 8%,#7a211a 100%); /* W3C */
106 }
107 .openerp .menu td {
108     text-align: center;
109     padding:0;
110 }
111 .openerp .menu a {
112     display:block;
113     min-width: 60px;
114     height: 20px;
115     margin: 3px 2px;
116     padding: 0 8px;
117     
118 background: #bd5e54; /* Old browsers */
119 background: -moz-linear-gradient(top, #bd5e54 0%, #90322a 60%); /* FF3.6+ */
120 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bd5e54), color-stop(60%,#90322a)); /* Chrome,Safari4+ */
121 background: -webkit-linear-gradient(top, #bd5e54 0%,#90322a 60%); /* Chrome10+,Safari5.1+ */
122 background: -o-linear-gradient(top, #bd5e54 0%,#90322a 60%); /* Opera11.10+ */
123 background: -ms-linear-gradient(top, #bd5e54 0%,#90322a 60%); /* IE10+ */
124 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#BD5E54', endColorstr='#90322A',GradientType=0 ); /* IE6-9 */
125 background: linear-gradient(top, #bd5e54 0%,#90322a 60%); /* W3C */
126     
127     border: 1px solid #6E2A24;
128     border-radius: 4px;
129     -moz-border-radius: 4px;
130     -webkit-border-radius: 4px;
131     
132     color: #eee;
133     text-shadow: #222 0 1px 0;
134     text-decoration: none;
135     text-transform: uppercase;
136     line-height: 20px;
137     font-weight: bold;
138     font-size: 85%;
139 }
140 .openerp .menu a:hover,
141 .openerp .menu a:focus,
142 .openerp .menu a.active {
143 background: #c6c6c6; /* Old browsers */
144 background: -moz-linear-gradient(top, #c6c6c6 0%, #5c5c5c 7%, #969595 86%); /* FF3.6+ */
145 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c6c6c6), color-stop(7%,#5c5c5c), color-stop(86%,#969595)); /* Chrome,Safari4+ */
146 background: -webkit-linear-gradient(top, #c6c6c6 0%,#5c5c5c 7%,#969595 86%); /* Chrome10+,Safari5.1+ */
147 background: -o-linear-gradient(top, #c6c6c6 0%,#5c5c5c 7%,#969595 86%); /* Opera11.10+ */
148 background: -ms-linear-gradient(top, #c6c6c6 0%,#5c5c5c 7%,#969595 86%); /* IE10+ */
149 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#C6C6C6', endColorstr='#969595',GradientType=0 ); /* IE6-9 */
150 background: linear-gradient(top, #c6c6c6 0%,#5c5c5c 7%,#969595 86%); /* W3C */
151
152     color: #fff;
153 }
154 /* Secondary Menu */
155 .openerp .secondary_menu {
156     width: 200px;
157     min-width: 200px;
158     border-right: 1px solid #3C3C3C;
159     border-bottom: 1px solid #5A5858;
160     background: #5A5858;
161     vertical-align: top;
162     height: 100%;
163 }
164 .openerp .secondary_menu .menu_content {
165     padding: 0;
166     border: none;
167     background: none;
168     overflow: hidden;
169 }
170 .openerp .secondary_menu h3 {
171     padding: 0 0 2px;
172     background: url(../img/secondary_menu-bg.gif) 0 100% repeat-x;
173     border: none;
174 }
175 .openerp .secondary_menu h4 {
176     padding: 0 0 2px 10px;
177     border: none;
178     background: none;
179 }
180 .openerp .secondary_menu h3 span, .openerp .secondary_menu h4 span {
181     left: 0 !important;
182 }
183 .openerp .secondary_menu a {
184     display: block;
185     height: 20px;
186     padding: 0 5px;
187     line-height: 20px;
188     white-space: nowrap;
189     color: white;
190     text-decoration: none;
191     text-shadow: 0 1px 0 #333;
192 }
193 .openerp .secondary_menu h3 a {
194     background: url(../img/secondary_menu-h3-bg.png) 0 100% repeat-x;
195 }
196 .openerp .secondary_menu a.leaf:hover,
197 .openerp .secondary_menu a.leaf:active,
198 .openerp .secondary_menu a.leaf.active,
199 .openerp .secondary_menu h4:hover,
200 .openerp .secondary_menu h4:active,
201 .openerp .secondary_menu h4.active,
202 .openerp .secondary_menu h4:hover a,
203 .openerp .secondary_menu h4:active a,
204 .openerp .secondary_menu h4.active a {
205     background: url(../img/secondary_menu-link-bg.gif) repeat-x;
206     color: #3f3d3d;
207     text-shadow: #fff 0 1px 0;
208     border: none !important;
209 }
210 .openerp div.submenu_accordion div.menu_content a span {
211     padding-left: 20px;
212 }
213
214 /* Header */
215 .openerp .header {
216     height: 65px;
217     background: url("../img/header-background.png") repeat-x scroll left top transparent;
218     color: #FFFFFF;
219     letter-spacing: 0.5px;
220     text-shadow: 0 1px 0 #333333;
221 }
222 .openerp .company_logo_link {
223     display: block;
224     float: left;
225     height: 63px;
226     width: 200px;
227     margin-right: 10px;
228     border: 1px solid white;
229     border-right-color: black;
230     border-bottom-color: black;
231     background: #FFFFFF;
232     background: -moz-linear-gradient(top, #FFFFFF 0%, #CECECE 100%);
233     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFFFFF), color-stop(100%,#CECECE));
234     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#CECECE',GradientType=0 );
235 }
236 .openerp .company_logo {
237     margin-top: 7px;
238     margin-left: 10px;
239     display: block;
240     background: url(/base/static/src/img/logo.png);
241     width:180px;
242     height:46px;
243 }
244 .openerp .header_title {
245     float: left;
246     font-size: 100%;
247     margin: 0;
248     padding: 4px 0;
249     text-shadow: 0 1px 0 #111111;
250 }
251 .openerp .header_title small {
252     color: #ccc;
253     font-size: 90%;
254     font-weight: normal;
255 }
256 .openerp .header_corner {
257     float: right;
258 }
259 .openerp .header_corner .block {
260     float: left;
261     height: 34px;
262     line-height: 34px;
263     /*background: url(../images/top-sep-a.png) no-repeat;*/
264     border-left: 1px solid #6a6a6a;
265     background: #828282;
266     background: -moz-linear-gradient(top, #828282 0%, #4D4D4D 100%);
267     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#828282), color-stop(100%,#4D4D4D));
268     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#828282', endColorstr='#4D4D4D',GradientType=0 );
269 }
270 .openerp .header_corner .block a {
271     display: block;
272     color: white;
273     text-decoration: none;
274     padding: 0 10px;
275 }
276 .openerp .header_corner .block a:hover {
277     background: #929292;
278     background: -moz-linear-gradient(top, #929292 0%, #4D4D4D 100%);
279     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#929292), color-stop(100%,#4D4D4D));
280     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#929292', endColorstr='#4D4D4D',GradientType=0 );
281 }
282 .openerp .header_corner ul.block {
283     /*float: left;*/
284     list-style: none;
285     height: 34px;
286     margin: 0;
287     padding: 0 0 0 2px;
288     /*background: url(../images/top-sep-a.png) no-repeat;*/
289     line-height: 33px;
290     /*font-size: 1em;*/
291     /*text-transform: uppercase;*/
292 }
293 .openerp .header_corner ul.block li {
294     float: left;
295 }
296 .openerp .header_corner ul.block li a {
297     padding: 0 5px;
298     position: relative;
299     line-height: 32px;
300 }
301 .openerp .header_corner ul.block li a img {
302     vertical-align: middle;
303 }
304 .openerp .header_corner ul.block li a small {
305     position: absolute;
306     right: 0;
307     top: 5px;
308     padding: 1px 4px 2px;
309     background: rgba(0, 0, 0, 0.75);
310     border-radius: 7px;
311     -moz-border-radius: 7px;
312     -webkit-border-radius: 7px;
313     line-height: 1em;
314     font-weight: bold;
315 }
316
317 /* Footer */
318 .openerp div.oe_footer {
319     background: none repeat scroll 0 0 #CCCCCC;
320     overflow: hidden;
321     padding: 5px 0;
322     position: relative;
323     -moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.4);
324     -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.4);
325     box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.4);
326 }
327 .openerp div.oe_footer p.oe_footer_powered {
328     left: 50%;
329     margin: 0;
330     padding: 0 15px;
331     color: #666666;
332     font-weight: bold;
333     font-size: 0.8em;
334     font-family: Ubuntu, Helvetica, sans-serif;
335     text-align: center;
336 }
337 .openerp div.oe_footer p.oe_footer_powered a {
338     text-decoration: none;
339     color: #666666;
340 }
341
342 /* Main Application */
343 .openerp .oe-application {
344     padding: 0;
345     height: 100%;
346 }
347
348 .openerp h2.oe_view_title {
349     font-size: 175%;
350     font-weight: normal;
351     font-family: Ubuntu, Helvetica, sans-serif;
352     margin: 2px 0;
353     color: #252424;
354     text-shadow: white 0 1px 0;
355 }
356
357 /* View Manager */
358 .openerp .oe_vm_switch {
359     float: right;
360 }
361
362 /* SearchView */
363 .openerp .filter_label, .openerp .filter_icon {
364     border: 1px solid #666;
365     border-left-width: 0;
366     background: #F0F0F0;
367     background: -moz-linear-gradient(top, #F0F0F0 0%, #C0C0C0 100%);
368     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F0F0F0), color-stop(100%,#C0C0C0));
369     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F0F0F0', endColorstr='#C0C0C0',GradientType=0 );
370 }
371 .openerp .filter_label:hover, .openerp .filter_icon:hover {
372     background: #F0F0F0;
373     background: -moz-linear-gradient(top, #F0F0F0 0%, #A1A7CE 100%);
374     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F0F0F0), color-stop(100%,#A1A7CE));
375     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F0F0F0', endColorstr='#A1A7CE',GradientType=0 );
376 }
377 .openerp .filter_label:active, .openerp .filter_icon:active {
378     background: #AAAAAA;
379     background: -moz-linear-gradient(top, #999999 0%, #EEEEEE 100%);
380     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#999999), color-stop(100%,#EEEEEE));
381     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#999999', endColorstr='#EEEEEE',GradientType=0 );
382 }
383 .openerp .filter_label.enabled, .openerp .filter_icon.enabled {
384     background: #AAAAAA;
385 }
386 .openerp .filter_icon {
387     padding: 1px 2px 0 2px;
388     margin-left: 0;
389     margin-right: 0;
390 }
391 .openerp .filter_label {
392     font-weight: bold;
393     text-transform: uppercase;
394     text-shadow: #EEE 0 1px 0;
395     color: #4C4C4C;
396     white-space: nowrap;
397     min-height: 40px;
398     min-width: 75px;
399     padding: 2px 4px;
400     margin: 0;
401 }
402 .openerp .filter_label_group {
403     padding-right: 0.4em;
404     white-space: nowrap;
405 }
406 .openerp .filter_label_group button:first-child {
407     border-left: 1px solid #666;
408     -webkit-border-top-left-radius: 7px;
409     -webkit-border-bottom-left-radius: 7px;
410     -moz-border-radius-topleft: 7px;
411     -moz-border-radius-bottomleft: 7px;
412     border-top-left-radius: 7px;
413     border-bottom-left-radius: 7px;
414 }
415 .openerp .filter_label_group button:last-child {
416     -webkit-border-top-right-radius: 7px;
417     -webkit-border-bottom-right-radius: 7px;
418     -moz-border-radius-topright: 7px;
419     -moz-border-radius-bottomright: 7px;
420     border-top-right-radius: 7px;
421     border-bottom-right-radius: 7px;
422 }
423
424 .openerp .searchview_group_string {
425     display: block;
426     color: #7D7979;
427     font-weight: bold;
428     padding: 2px 0 2px 10px;
429     margin-top: 4px;
430     text-decoration: none;
431 }
432 .openerp .searchview_group_string:hover {
433     background-color: #ccc;
434 }
435 .openerp .searchview_group.folded .searchview_group_string {
436     background: url("../img/ui/group-folded.png") no-repeat scroll 0 50%;
437 }
438 .openerp .searchview_group.folded .searchview_group_content {
439     display: none;
440 }
441 .openerp .searchview_group.expanded .searchview_group_string {
442     background: url("../img/ui/group-expanded.png") no-repeat scroll 0 50%;
443 }
444 .openerp .searchview_group.expanded .searchview_group_content {
445     display: block;
446 }
447 .openerp .searchview_group_content {
448     padding-left: 10px;
449 }
450 .openerp .searchview_group_content .oe-searchview-render-line {
451     width:0;
452 }
453
454
455 .openerp .oe-searchview-render-line {
456     width:100%;
457 }
458
459 .openerp .searchview_extended_group {
460     border: #696969 solid 1px;
461     padding: 3px;
462     margin: 2px;
463 }
464
465 .openerp .searchview_extended_add_proposition span, .openerp .searchview_extended_add_group span {
466     background: url(../img/icons/gtk-add.png) repeat-y;
467     padding-left: 18px;
468 }
469
470 .openerp .searchview_extended_delete_group {
471     float:right;
472 }
473
474 .openerp .searchview_extended_delete_group span, .openerp .searchview_extended_delete_prop span {
475     background: url(../img/icons/gtk-remove.png) repeat-y;
476     padding-left: 18px;
477 }
478 /* List */
479 .openerp .oe-listview table {
480     clear: right;
481     width: 100%;
482     border-spacing: 0;
483     border: 1px solid silver;
484 }
485
486 .openerp .oe-listview tr.odd {
487     background-color: #f3f3f3;
488 }
489 .openerp .oe-listview tbody tr:hover {
490     background-color: #ecebf2;
491 }
492 .openerp .oe-listview tbody tr:hover {
493     background-color: #eae9f0;
494 }
495
496 .openerp .oe-listview td,
497 .openerp .oe-listview th {
498     vertical-align: middle;
499     text-align: left;
500 }
501 .openerp .oe-listview th.oe-sortable,
502 .openerp .oe-listview th.oe-sortable .ui-icon {
503     cursor: pointer;
504 }
505
506 .openerp .oe-listview .oe-field-cell {
507     cursor: pointer;
508 }
509 .openerp .oe-listview .oe-field-cell button {
510     padding: 0;
511     border: none;
512     background: none;
513 }
514 .openerp .oe-listview .oe-field-cell button:active {
515     opacity: 0.5;
516 }
517
518 .openerp .oe-listview th.oe-actions {
519     text-align: left;
520 }
521 .openerp .oe-listview th.oe-list-pager {
522     text-align: right;
523 }
524
525 /** list rounded corners
526
527     rounded corners are a pain on tables: need to round not only table, but
528     also on the first and last children of the first and last row
529  */
530 .openerp .oe-listview table {
531     -webkit-border-radius: 7px;
532     -moz-border-radius: 7px;
533     border-radius: 7px;
534 }
535 .openerp .oe-listview table thead tr:first-child th:first-child {
536     -webkit-border-top-left-radius: 7px;
537     -moz-border-radius-topleft: 7px;
538     border-top-left-radius: 7px;
539 }
540 .openerp .oe-listview table thead tr:first-child th:last-child {
541     -webkit-border-top-right-radius: 7px;
542     -moz-border-radius-topright: 7px;
543     border-top-right-radius: 7px;
544 }
545 .openerp .oe-listview table tfoot td:first-child,
546 .openerp .oe-listview table tbody:last-child tr:last-child th:first-child {
547     -webkit-border-bottom-left-radius: 7px;
548     -moz-border-radius-bottomleft: 7px;
549     border-bottom-left-radius: 7px;
550 }
551 .openerp .oe-listview table tfoot td:last-child,
552 .openerp .oe-listview table tbody:last-child tr:last-child td:last-child {
553     -webkit-border-bottom-right-radius: 7px;
554     -moz-border-radius-bottomright: 7px;
555     border-bottom-right-radius: 7px;
556 }
557
558 /* Notebook */
559 .openerp .oe_form_notebook {
560     padding: 0;
561     background: none;
562     border-width: 0;
563 }
564 .openerp .oe_form_notebook ul.ui-tabs-nav {
565     padding-left: 0;
566     background: transparent;
567     border-width: 0 0 1px 0;
568     border-radius: 0;
569     -moz-border-radius: 0;
570     -webkit-border-radius: 0;
571     line-height: 0.5em;
572 }
573 .openerp .oe_form_notebook ul.ui-tabs-nav li {
574     font-weight: bold;
575 }
576 .openerp .oe_form_notebook .ui-tabs-panel {
577     background: #f9f9f9;
578     border-width: 0 1px 1px 1px;
579 }
580 .openerp .oe_form_notebook .ui-tabs-selected {
581     background: #f9f9f9;
582 }
583
584 /* Form */
585 .openerp table.oe_frame td {
586     color: #4c4c4c;
587 }
588 .openerp .required.error {
589     border: 1px solid #900;
590 }
591 .openerp .oe_form_buttons, .openerp .oe_list_buttons {
592     float: left;
593 }
594 .openerp .oe_form_pager, .openerp .oe_list_pager {
595     float: right;
596 }
597
598 .openerp label.oe_form_label_help {
599     cursor: help;
600 }
601 .openerp label.oe_form_label, .openerp label.oe_form_label_help {
602     display: block;
603     text-align: right;
604 }
605 .openerp label.oe_form_label_help span {
606     font-size: 80%;
607     color: darkgreen;
608     vertical-align:top;
609     position: relative;
610     top: -4px;
611     padding: 0 2px;
612 }
613
614 /* Inputs */
615 .openerp input[type="text"], .openerp input[type="password"], .openerp select, .openerp textarea {
616     -moz-box-sizing: border-box;
617     -webkit-box-sizing: border-box;
618     -ms-box-sizing: border-box;
619     box-sizing: border-box;
620     padding: 2px;
621     border: 1px solid #999;
622     -moz-border-radius: 3px;
623     -webkit-border-radius: 3px;
624     border-radius: 3px;
625     background: white;
626     min-width: 90px;
627     color: #1f1f1f;
628 }
629 .openerp textarea {
630     resize:vertical;
631 }
632 .openerp input[type="text"], .openerp input[type="password"], .openerp select, .openerp .button {
633     height: 22px;
634 }
635 .openerp .button {
636     color: #4c4c4c;
637     white-space: nowrap;
638 }
639 .openerp .button span {
640     position: relative;
641     top: -3px;
642 }
643 .openerp input.field_date, .openerp input.field_datetime {
644     background: #fff url('../img/ui/field_calendar.png') no-repeat right center;
645     background-origin: content-box;
646     -moz-background-origin: content;
647     -moz-background-origin: content-box;
648     -webkit-background-origin: content-box;
649 }
650 /* http://www.quirksmode.org/dom/inputfile.html
651  * http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
652  */
653 .openerp .oe-binary-file-set {
654     overflow: hidden;
655     position: relative;
656 }
657 .openerp input.oe-binary-file {
658     z-index: 2;
659     line-height: 0;
660     font-size: 50px;
661     position: absolute;
662     /* Should be adjusted for all browsers */
663     top: -2px;
664     left: -700px;
665     opacity: 0;
666     filter: alpha(opacity = 0);
667     -ms-filter: "alpha(opacity=0)";
668     margin: 0;
669     padding:0;
670 }
671
672 /* Widgets */
673 .openerp .separator {
674     border: 0 solid #666;
675 }
676 .openerp .separator.horizontal {
677    font-weight: bold;
678     border-bottom-width: 1px;
679     margin: 6px 4px 6px 1px;
680 }
681 .openerp td.required input, .openerp td.required select {
682     background-color: #D2D2FF;
683 }
684 .openerp td.invalid input, .openerp td.invalid select, .openerp td.invalid textarea {
685     background-color: #F66;
686     border: 1px solid #D00;
687 }
688 .openerp div.oe-progressbar span {
689     position: absolute;
690     margin-left: 10px;
691     margin-top: 5px;
692     font-weight: bold;
693 }
694
695 /* jQuery UI override */
696 .openerp .ui-widget {
697     font-size: 1em;
698 }
699 .openerp .oe_form_field_progressbar .ui-progressbar {
700     height: 22px;
701     font-size: 10px;
702     -moz-box-sizing: border-box;
703     -webkit-box-sizing: border-box;
704     -ms-box-sizing: border-box;
705     box-sizing: border-box;
706     border: 1px solid #999;
707     -moz-border-radius: 3px;
708     -webkit-border-radius: 3px;
709     border-radius: 3px;
710     background: white;
711     min-width: 90px;
712 }
713
714 /* Sidebar */
715 .openerp .view-manager-main-table {
716     margin: 0;
717     width:100%;
718     border-collapse:collapse;
719     height:100%;
720 }
721
722 .openerp .view-manager-main-table tbody {
723     vertical-align: top;
724 }
725
726 .openerp .view-manager-main-content {
727     width: 100%;
728     padding: 6px;
729 }
730
731 .openerp .view-manager-main-sidebar {
732     width: 180px;
733     padding: 0;
734     margin: 0;
735 }
736
737 .openerp .sidebar-main-div {
738     height:100%;
739 }
740
741 .openerp .sidebar-sub-div {
742     padding:0;
743     margin:0;
744     width:180px;
745     border-left: 1px solid #D2CFCF;
746     height:100%;
747     font-family: Ubuntu, Helvetica, sans-serif;
748     font-size: 0.9em;
749 }
750
751 .openerp .closed-sidebar .sidebar-sub-div {
752     width:22px;
753 }
754
755 .openerp .closed-sidebar .sidebar-displaying-div {
756     display:none;
757 }
758
759 .openerp .sidebar-main-div a {
760     color: #555;
761     text-decoration: none;
762 }
763
764 .openerp .sidebar-main-div a:hover {
765     color: black;
766 }
767
768 .openerp .view-manager-main-sidebar h2 {
769     margin:0;
770     font-family: Ubuntu, Helvetica, sans-serif;
771     font-size: 1.15em;
772     color: #8E8E8E;
773     text-shadow: white 0 1px 0;
774     padding-left: 10px;
775     padding-right: 21px;
776     height: 21px;
777     background: url(../img/sideheader-a-bg.png) repeat-x;
778     border: 1px solid #D2CFCF;
779     border-right-width: 0;
780     border-left-width: 0;
781 }
782
783 .openerp .view-manager-main-sidebar ul {
784     list-style-type: none;
785     margin: 0;
786     padding: 0;
787     display: block;
788 }
789
790 .openerp .view-manager-main-sidebar li {
791     display: block;
792     padding: 3px 3px 3px 10px;
793 }
794
795 .openerp .toggle-sidebar {
796     cursor: pointer;
797     border: 1px solid #D2CFCF;
798     display: block;
799     background: url(../img/toggle-a-bg.png);
800     width: 21px;
801     height: 21px;
802     position: absolute;
803     z-index: 10;
804 }
805 .openerp .open-sidebar .toggle-sidebar {
806     margin-left: 158px;
807     background-position: 21px 0;
808 }
809
810 .openerp.kitten-mode-activated .main_table {
811     background: url(http://placekitten.com/g/1500/800) repeat;
812 }
813
814 .openerp.kitten-mode-activated .header {
815     background: url(http://placekitten.com/g/211/65) repeat;
816 }
817
818 .openerp.kitten-mode-activated .secondary_menu {
819     background: url(http://placekitten.com/g/212/100) repeat;
820 }
821
822 .openerp.kitten-mode-activated .menu {
823     background: #828282;
824     background: -moz-linear-gradient(top, #828282 0%, #4D4D4D 100%);
825     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#828282), color-stop(100%,#4D4D4D));
826     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#828282', endColorstr='#4D4D4D',GradientType=0 );
827 }
828 .openerp.kitten-mode-activated .menu a {
829     background: none;
830 }
831 .openerp.kitten-mode-activated .menu span {
832     background: none;
833 }
834 .openerp.kitten-mode-activated .sidebar-displaying-div li a,
835 .openerp.kitten-mode-activated .oe-application .view-manager-main-content h2.oe_view_title,
836 .openerp.kitten-mode-activated .oe-application .view-manager-main-content a.searchview_group_string,
837 .openerp.kitten-mode-activated .oe-application .view-manager-main-content label  {
838     color: white;
839 }
840 .openerp.kitten-mode-activated .menu,
841 .openerp.kitten-mode-activated .header_corner,
842 .openerp.kitten-mode-activated .header_title,
843 .openerp.kitten-mode-activated .secondary_menu div,
844 .openerp.kitten-mode-activated .oe-application,
845 .openerp.kitten-mode-activated .oe_footer,
846 .openerp.kitten-mode-activated .loading,
847 .openerp.kitten-mode-activated .ui-dialog {
848     opacity:0.8;
849     filter:alpha(opacity=80);
850 }
851 .openerp.kitten-mode-activated .header .company_logo {
852     background: url(http://placekitten.com/g/180/46);
853 }
854 .openerp.kitten-mode-activated .loading {
855     background: #828282;
856     border-color: #828282;
857 }
858
859 /* Many2one Autosearch */
860 .openerp .ui_combo {
861     height: 19px;
862     top: 6px;
863     width: 20px;
864     position: relative;
865     margin-left: -26px;
866 }
867 /*------------- End autocomplete ------- */
868