067ea09cd38487ffcdefe342931064d924e58d0c
[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 .filter_label, .openerp .filter_icon {
574     border-left-width: 0;
575     background: #F0F0F0;
576     border: 1px solid #999;
577     background: -moz-linear-gradient(top, #F0F0F0 0%, #C0C0C0 100%);
578     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F0F0F0), color-stop(100%,#C0C0C0));
579     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F0F0F0', endColorstr='#C0C0C0',GradientType=0 );
580 }
581 .openerp .filter_label:hover, .openerp .filter_icon:hover {
582     background: #F0F0F0;
583     background: -moz-linear-gradient(top, #F0F0F0 0%, #A1A7CE 100%);
584     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F0F0F0), color-stop(100%,#A1A7CE));
585     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F0F0F0', endColorstr='#A1A7CE',GradientType=0 );
586 }
587 .openerp .filter_label:active, .openerp .filter_icon:active {
588     background: #aaa;
589     background: -moz-linear-gradient(top, #999999 0%, #EEEEEE 100%);
590     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#999999), color-stop(100%,#EEEEEE));
591     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#999999', endColorstr='#EEEEEE',GradientType=0 );
592 }
593 .openerp .filter_label.enabled, .openerp .filter_icon.enabled {
594     background: #aaa;
595 }
596 .openerp .filter_icon {
597     height: 22px;
598     padding: 1px 2px 0 2px;
599     margin: 0;
600     vertical-align: bottom;
601 }
602 .openerp .filter_label {
603     font-weight: bold;
604     text-transform: uppercase;
605     text-shadow: #EEE 0 1px 0;
606     color: #4C4C4C;
607     white-space: nowrap;
608     min-height: 40px;
609     min-width: 75px;
610     padding: 2px 4px;
611     margin: 0;
612 }
613 .openerp .filter_label_group {
614     padding-right: 0.4em;
615     white-space: nowrap;
616 }
617 .openerp .filter_label_group button:first-child {
618     -webkit-border-top-left-radius: 7px;
619     -webkit-border-bottom-left-radius: 7px;
620     -moz-border-radius-topleft: 7px;
621     -moz-border-radius-bottomleft: 7px;
622     border-top-left-radius: 7px;
623     border-bottom-left-radius: 7px;
624     border-right: none;
625 }
626 .openerp .filter_label_group button {
627     border-right: none;
628 }
629 .openerp .filter_label_group button:last-child {
630     -webkit-border-top-right-radius: 7px;
631     -webkit-border-bottom-right-radius: 7px;
632     -moz-border-radius-topright: 7px;
633     -moz-border-radius-bottomright: 7px;
634     border-top-right-radius: 7px;
635     border-bottom-right-radius: 7px;
636     border-right: 1px solid #999;
637 }
638 .openerp .filter_label_group button.filter_icon img {
639     padding: 1px 8px 0 8px;
640 }
641 .openerp .filter_label_group button.filter_icon:first-child {
642     border-left: solid 1px #999;
643     margin-left: -7px;
644     -webkit-border-top-left-radius: 0px;
645     -webkit-border-bottom-left-radius: 0px;
646     -moz-border-radius-topleft: 0px;
647     -moz-border-radius-bottomleft: 0px;
648     border-top-left-radius: 0px;
649     border-bottom-left-radius: 0px;
650 }
651
652 .openerp .searchview_group_string {
653     display: block;
654     color: #7D7979;
655     font-weight: bold;
656     padding: 2px 0 2px 10px;
657     margin-top: 4px;
658     text-decoration: none;
659 }
660 .openerp .searchview_group_string:hover {
661     background-color: #ccc;
662 }
663 .openerp .searchview_group.folded .searchview_group_string {
664     background: url("/web/static/src/img/ui/group-folded.png") no-repeat scroll 0 50%;
665 }
666 .openerp .searchview_group.folded .searchview_group_content {
667     display: none;
668 }
669 .openerp .searchview_group.expanded .searchview_group_string {
670     background: url("/web/static/src/img/ui/group-expanded.png") no-repeat scroll 0 50%;
671 }
672 .openerp .searchview_group.expanded .searchview_group_content {
673     display: block;
674 }
675
676 .openerp .searchview_group_content .oe_label, .openerp .searchview_group_content .oe_label_help {
677     font-weight: bold;
678     color: #4c4c4c;
679 }
680
681 .openerp .oe-searchview-render-line .oe_label, .openerp .oe-searchview-render-line .oe_label_help {
682     font-weight: bold;
683     font-size: 80%;
684     white-space: nowrap;
685 }
686
687 .openerp .searchview_extended_group {
688     padding: 3px;
689     margin: 2px;
690 }
691
692 .openerp .searchview_extended_group .oe_adv_filters_and {
693     border-bottom: 1px solid #8E8E8E;
694     text-align: center;
695     margin-top: -10px;
696 }
697 .openerp .searchview_extended_group .oe_adv_filters_and span {
698     background: #F0EEEE;
699     position: relative;
700     top: 0.5em;
701     padding: 0 1em 0 1em;
702     color: #8E8E8E;
703 }
704
705 .openerp .searchview_extended_group.last_group .oe_adv_filters_and {
706     display: none;
707 }
708
709 .openerp .oe_search-view-buttons {
710     padding: 10px 0 10px 0;
711 }
712 .openerp .oe_search-view-custom-filter-btn span {
713     background: url(/web/static/src/img/icons/gtk-add.png) repeat-y;
714     padding-left: 18px;
715 }
716
717 .openerp .searchview_extended_add_proposition span {
718     font-size: 0.9em;
719     background: url(/web/static/src/img/icons/gtk-add.png) repeat-y;
720     padding-left: 18px;
721 }
722
723 .openerp .searchview_extended_delete_group {
724     float:right;
725     display: none;
726 }
727
728 .openerp .searchview_extended_delete_prop {
729     text-decoration: none;
730 }
731
732 .openerp .searchview_extended_delete_group span,
733 .openerp .searchview_extended_delete_prop span {
734     font-size: 0.9em;
735     background: url(/web/static/src/img/icons/gtk-close.png) repeat-y;
736     padding-left: 18px;
737 }
738 /* List */
739 .openerp .oe-listview table {
740     clear: right;
741     width: 100%;
742     border-spacing: 0;
743     border: 1px solid silver;
744 }
745
746 .openerp .oe-listview thead table {
747     width: 100%;
748     border:  none;
749 }
750 .openerp .oe-listview tr.odd {
751     background-color: #f3f3f3;
752 }
753 .openerp .oe-listview tbody tr:hover {
754     background-color: #ecebf2;
755 }
756 .openerp .oe-listview tbody tr:hover {
757     background-color: #eae9f0;
758 }
759 .openerp .oe-listview thead table tr,
760 .openerp .oe-listview thead table tr:hover {
761     background: none;
762 }
763
764 .openerp .oe-listview td,
765 .openerp .oe-listview th {
766     vertical-align: middle;
767     text-align: left;
768     padding: 1px 2px;
769 }
770
771 .openerp .oe-record-delete button{
772     border: none;
773     height: 12px;
774     width: 12px;
775     background: url("/web/static/src/img/iconset-b-remove.png") no-repeat scroll center center transparent;
776     cursor: pointer;
777 }
778
779 /* Could use :not selectors if they were supported by MSIE8... */
780 .openerp .oe-listview tbody td {
781     border-left: 1px solid #dadada; /*currently commenting to test with no vertical lines in list view*/
782 }
783 .openerp .oe-listview tbody td:first-child,
784 .openerp .oe-listview tbody td.oe-button,
785 .openerp .oe-listview tbody td.oe-button,
786 .openerp .oe-listview tbody th.oe-record-selector,
787 .openerp .oe-listview tbody td.oe-record-delete {
788     border-left: none;
789 }
790
791 .openerp .oe-listview td.oe-record-delete {
792     text-align: right;
793 }
794 .openerp .oe-listview th.oe-sortable {
795     cursor: pointer;
796     font-size: 75%;
797     text-transform: uppercase;
798     padding: 0;
799     margin: 0;
800     padding-left: 3px;
801     color: #333;
802 }
803 .openerp .oe-listview th.oe-sortable .ui-icon {
804     height: 60%;
805     margin: -6px 0 0;
806     display: inline;
807     display: inline-block;
808     vertical-align: middle;
809 }
810
811 .openerp .oe-listview table tbody td {
812     border-bottom: 1px solid #E3E3E3;
813 }
814
815 .openerp .oe-listview .oe-record-selector {
816     border-bottom: 1px solid #E3E3E3;
817 }
818
819 .openerp .oe-listview .oe-field-cell {
820     cursor: pointer;
821     margin-top: 0;
822     margin-bottom: 0;
823     padding-top: 3px;
824     padding-bottom: 3px;
825     font-size: 80%;
826 }
827 .openerp .oe-listview .oe-field-cell progress {
828     width: 100%;
829 }
830 .openerp .oe-listview .oe-field-cell button {
831     margin: 0;
832     padding: 0;
833     border: none;
834     background: none;
835     width: 16px;
836 }
837 .openerp .oe-listview .oe-field-cell button:active {
838     opacity: 0.5;
839 }
840 .openerp .oe-listview .oe-field-cell button img {
841     cursor: pointer;
842 }
843 .openerp .oe-listview .oe-field-cell button img:hover {
844     opacity: 0.75;
845 }
846
847 .openerp .oe-listview th.oe-actions {
848     text-align: left;
849     white-space: nowrap;
850 }
851 .openerp .oe-listview th.oe-list-pager {
852     text-align: right;
853     white-space: nowrap;
854 }
855 .openerp .oe-list-pager .oe-pager-state {
856     cursor: pointer;
857     font-size: 90%;
858     color: #555;
859 }
860
861 .openerp .oe-listview .oe-group-name {
862     padding-right: 1em;
863 }
864 .openerp .oe-listview .oe-group-name,
865 .openerp .oe-listview .oe-group-pagination {
866     white-space: nowrap;
867 }
868
869 .openerp .oe-listview tfoot td {
870     padding: 3px 3px 0;
871 }
872 .openerp .oe-listview .oe-list-footer {
873     text-align: center;
874     white-space: nowrap;
875     color: #444;
876     font-size: 85%;
877 }
878 .openerp .oe-listview .oe-list-footer span {
879     margin: 0 1em;
880 }
881 .openerp .oe-listview .oe-list-footer progress {
882     vertical-align:-10% !important;
883     width: 100%;
884 }
885
886 /** list rounded corners
887
888     rounded corners are a pain on tables: need to round not only table, but
889     also on the first and last children of the first and last row
890  */
891 .openerp .oe-listview table.oe-listview-content {
892     -webkit-border-radius: 4px;
893     -moz-border-radius: 4px;
894     border-radius: 4px;
895 }
896 .openerp .oe-listview table.oe-listview-content thead tr:first-child th:first-child {
897     -webkit-border-top-left-radius: 4px;
898     -moz-border-radius-topleft: 4px;
899     border-top-left-radius: 4px;
900 }
901 .openerp .oe-listview table.oe-listview-content thead tr:first-child th:last-child {
902     -webkit-border-top-right-radius: 4px;
903     -moz-border-radius-topright: 4px;
904     border-top-right-radius: 4px;
905 }
906 .openerp .oe-listview table.oe-listview-content tfoot tr:last-child th:first-child,
907 .openerp .oe-listview table.oe-listview-content tfoot tr:last-child td:first-child,
908 .openerp .oe-listview table.oe-listview-content tbody:last-child tr:last-child th:first-child {
909     -webkit-border-bottom-left-radius: 4px;
910     -moz-border-radius-bottomleft: 4px;
911     border-bottom-left-radius: 4px;
912 }
913 .openerp .oe-listview table.oe-listview-content tfoot tr:last-child th:last-child,
914 .openerp .oe-listview table.oe-listview-content tfoot tr:last-child td:last-child,
915 .openerp .oe-listview table.oe-listview-content tbody:last-child tr:last-child td:last-child {
916     -webkit-border-bottom-right-radius: 4px;
917     -moz-border-radius-bottomright: 4px;
918     border-bottom-right-radius: 4px;
919 }
920
921 /* Notebook */
922 .openerp .oe_form_notebook {
923     padding: 0;
924     background: none;
925     border-width: 0;
926 }
927 .openerp .oe_form_notebook .ui-tabs-panel {
928     padding: 4px;
929     -moz-border-radius-topright: 4px;
930     -webkit-border-top-right-radius: 4px;
931     border-top-right-radius: 4px;
932 }
933 .openerp .oe_form_notebook ul.ui-tabs-nav {
934     padding-left: 0;
935     background: transparent;
936     border-width: 0;
937     border-radius: 0;
938     -moz-border-radius: 0;
939     -webkit-border-radius: 0;
940     line-height: 0.8em;
941     font-size: 95%;
942     color: #555;
943 }
944 .openerp .oe_form_notebook ul.ui-tabs-nav li {
945     font-weight: bold;
946 }
947 .openerp .oe_form_notebook .ui-tabs-panel {
948     background: #f9f9f9;
949     border-width: 1px;
950 }
951 .openerp .oe_form_notebook .ui-tabs-selected {
952     background: #f9f9f9;
953 }
954 /* Unedit Form */
955 .openerp .field_char, .openerp .field_date, .openerp .field_float, .openerp .oe_form_field_many2one a {
956     vertical-align: middle;
957     padding-top: 3px;
958     font-size: 90%;
959     color: #222;
960 }
961 .openerp .oe_form_field_many2one a {
962     color: #9A0404;
963     line-height: 12px;
964 }
965
966
967
968 /* Form */
969
970 .openerp .oe_form_frame_cell input[type="checkbox"] {
971     margin-top: 3px;
972     vertical-align: center;
973 }
974 .openerp .oe_form_frame_cell .input[type="text"] {
975     padding-bottom: 1px;
976 }
977
978 .openerp table.oe_frame td {
979     color: #4c4c4c;
980 }
981 .openerp td.oe_form_frame_cell {
982     padding: 2px;
983     position: relative;
984 }
985 .openerp .oe_frame.oe_forms {
986     clear: both;
987 }
988 .openerp table.oe_frame {
989     color: #4c4c4c;
990 }
991 .openerp fieldset.oe_group_box {
992     border: 1px solid #AAAAAA;
993     moz-border-radius: 4px;
994     -webkit-border-radius: 4px;
995     border-radius: 4px;
996     background: #F9F9F9;
997     padding: 4px;
998 }
999 .openerp fieldset.oe_group_box legend {
1000     font-weight: bold;
1001 }
1002 .openerp td.oe_form_frame_cell {
1003     padding: 2px;
1004     position: relative;
1005 }
1006 .openerp td.oe_form_field_boolean {
1007     padding-top: 4px;
1008 }
1009 .openerp td.oe_form_frame_cell.oe_form_group {
1010     padding: 0;
1011 }
1012 .openerp .required.error {
1013     border: 1px solid #900;
1014 }
1015 .openerp .oe_form_buttons, .openerp .oe_list_buttons {
1016     float: left;
1017 }
1018 .openerp .oe_form_pager, .openerp .oe_list_pager {
1019     float: right;
1020     font-size: 80%;
1021     color: gray;
1022     font-weight: bold;
1023 }
1024
1025 .openerp .oe_form_pager {
1026     margin-right: 3px;
1027 }
1028
1029
1030 .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 {
1031     font-size: 85%;
1032 }
1033
1034 .openerp label.oe_label_help, .openerp label.oe_label {
1035     display: block;
1036     color: #4c4c4c;
1037     font-weight: normal;
1038 }
1039 .openerp label.oe_label_help {
1040     cursor: help;
1041 }
1042 .openerp .oe_form_frame_cell  .oe_label, .openerp .oe_form_frame_cell  .oe_label_help {
1043     font-weight: normal;
1044 }
1045 .openerp #tiptip_content {
1046     font-size: 12px;
1047 }
1048 .openerp .oe_tooltip_string {
1049     color: #FD5;
1050     font-weight: bold;
1051     font-size: 13px;
1052 }
1053 .openerp .oe_tooltip_technical {
1054     padding: 0 0 4px 0;
1055     margin: 5px 0 0 15px;
1056     list-style: circle;
1057 }
1058 .openerp .oe_tooltip_technical_title {
1059     font-weight: bold;
1060 }
1061
1062 .openerp .oe_forms label.oe_label, .openerp .oe_forms label.oe_label_help {
1063     margin: 4px 0 0 3px;
1064 }
1065 .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 */
1066     margin: 3px 0 0 3px;
1067 }
1068
1069 .openerp label.oe_label_help span {
1070     font-size: 80%;
1071     color: darkgreen;
1072     vertical-align:top;
1073     position: relative;
1074     top: -4px;
1075     padding: 0 2px;
1076 }
1077 .openerp .oe_align_left {
1078     text-align: left;
1079 }
1080 .openerp .oe_align_right {
1081     text-align: right;
1082 }
1083 .openerp .oe_align_center {
1084     text-align: center;
1085 }
1086 .openerp .oe_forms .oe_form_paragraph {
1087     margin: 3px 0 0 0;
1088 }
1089
1090 /* Uneditable Form View */
1091 .openerp .oe_form_readonly {
1092
1093 }
1094 .openerp .oe_form_readonly .field_char, .openerp .oe_form_readonly .oe_form_field_email  {
1095     padding-top: 4px;
1096     background-color: white;
1097 }
1098
1099 .openerp .oe_form_readonly .field_selection {
1100     padding-top: 2px;
1101     background-color: white;
1102 }
1103
1104
1105 /* Inputs */
1106 .openerp .oe_forms input[type="text"], .openerp .oe_forms input[type="password"], .openerp .oe_forms select, .openerp .oe_forms textarea {
1107     -moz-box-sizing: border-box;
1108     -webkit-box-sizing: border-box;
1109     -ms-box-sizing: border-box;
1110     box-sizing: border-box;
1111     padding: 0 2px;
1112     margin: 0 2px;
1113     border: 1px solid #999;
1114     -moz-border-radius: 3px;
1115     -webkit-border-radius: 3px;
1116     border-radius: 3px;
1117     background: white;
1118     min-width: 90px;
1119     color: #1f1f1f;
1120 }
1121 .openerp .oe_forms select{
1122     padding-top: 2px;
1123 }
1124
1125 .openerp .oe_forms textarea {
1126     resize:vertical;
1127 }
1128 .openerp .oe_forms input[type="text"], .openerp .oe_forms input[type="password"], .openerp .oe_forms select, .openerp .oe_forms .oe_button {
1129     height: 22px;
1130 }
1131 .openerp .oe_forms input.field_datetime {
1132     min-width: 11em;
1133 }
1134 .openerp .oe_forms .oe_button {
1135     color: #4c4c4c;
1136     white-space: nowrap;
1137     min-width: 100%;
1138     width: 100%;
1139 }
1140 .openerp .oe_forms .button {
1141     height: 22px;
1142 }
1143 @-moz-document url-prefix() {
1144     /* Strange firefox behaviour on width: 100% + white-space: nowrap */
1145     .openerp .oe_forms .oe_button {
1146         width: auto;
1147     }
1148 }
1149 .openerp .oe_forms .oe_button span {
1150     position: relative;
1151     vertical-align: top;
1152 }
1153 .openerp .oe_input_icon {
1154     position: absolute;
1155     cursor: pointer;
1156     right: 5px;
1157     top: 3px;
1158     z-index: 2;
1159 }
1160 .openerp .oe_datepicker_container {
1161     position: absolute;
1162     top: 0;
1163     right: 0;
1164     display: none;
1165 }
1166 .openerp .oe_datepicker_root {
1167     position: relative;
1168     display: inline-block;
1169 }
1170 .openerp .oe_forms.oe_frame .oe_datepicker_root {
1171     width: 100%;
1172 }
1173 .openerp .oe_input_icon_disabled {
1174     position: absolute;
1175     cursor: default;
1176     opacity: 0.5;
1177     filter:alpha(opacity=50);
1178     right: 5px;
1179     top: 3px;
1180 }
1181 .openerp img.oe_field_translate {
1182     margin-left: -21px;
1183     vertical-align: top;
1184     cursor: pointer;
1185     position: relative;
1186     top: 4px;
1187 }
1188 .openerp .oe_trad_field.touched {
1189     border: 1px solid green !important;
1190 }
1191
1192 /* http://www.quirksmode.org/dom/inputfile.html
1193  * http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
1194  */
1195 .openerp .oe-binary-file-set {
1196     overflow: hidden;
1197     position: relative;
1198 }
1199 .openerp input.oe-binary-file {
1200     z-index: 0;
1201     line-height: 0;
1202     font-size: 50px;
1203     position: absolute;
1204     /* Should be adjusted for all browsers */
1205     top: -2px;
1206     left: -700px;
1207     opacity: 0;
1208     filter: alpha(opacity = 0);
1209     -ms-filter: "alpha(opacity=0)";
1210     margin: 0;
1211     padding:0;
1212 }
1213
1214 /* Widgets */
1215 .openerp .separator {
1216     border: 0 solid #666;
1217 }
1218 .openerp .separator.horizontal {
1219     font-weight: bold;
1220     border-bottom-width: 1px;
1221     margin: 3px 4px 3px 1px;
1222     height: 17px;
1223     font-size: 95%;
1224 }
1225 .openerp .separator.horizontal:empty {
1226     height: 5px;
1227 }
1228 .openerp .oe_form_frame_cell.oe_form_separator_vertical {
1229     border-left: 1px solid #666;
1230 }
1231 .openerp td.required input, .openerp td.required select {
1232     background-color: #D2D2FF !important;
1233 }
1234 .openerp td.invalid input, .openerp td.invalid select, .openerp td.invalid textarea {
1235     background-color: #F66 !important;
1236     border: 1px solid #D00 !important;
1237 }
1238 .openerp div.oe-progressbar span {
1239     position: absolute;
1240     margin-left: 10px;
1241     margin-top: 5px;
1242     font-weight: bold;
1243 }
1244
1245 /* jQuery UI override */
1246 .openerp .ui-widget {
1247     font-size: 1em;
1248 }
1249 .openerp .oe_form_field_progressbar .ui-progressbar {
1250     height: 22px;
1251     font-size: 10px;
1252     -moz-box-sizing: border-box;
1253     -webkit-box-sizing: border-box;
1254     -ms-box-sizing: border-box;
1255     box-sizing: border-box;
1256     border: 1px solid #999;
1257     -moz-border-radius: 3px;
1258     -webkit-border-radius: 3px;
1259     border-radius: 3px;
1260     background: white;
1261     min-width: 90px;
1262 }
1263 .openerp tbody.ui-widget-content {
1264     margin-bottom: 10px;
1265     border-spacing: 4px;
1266 }
1267 .openerp .ui-widget-header {
1268     background-image: none;
1269     background-color: white;
1270 }
1271
1272 /* Sidebar */
1273 .openerp .view-manager-main-table {
1274     margin: 0;
1275     width:100%;
1276     border-collapse:collapse;
1277     height:100%;
1278 }
1279
1280 .openerp .view-manager-main-table tbody {
1281     vertical-align: top;
1282 }
1283
1284 .openerp .oe-view-manager-header {
1285     overflow: auto;
1286 }
1287 .openerp .oe-view-manager-header h2 {
1288     float: left;
1289 }
1290 .openerp .oe_view_manager_menu_tips blockquote {
1291     display: none;
1292     font-size: 85%;
1293     margin: 0;
1294     background: #fff;
1295     border-bottom: 1px solid #CECBCB;
1296     padding: 1px 10px;
1297     color: #4C4C4C;
1298 }
1299 .openerp .oe_view_manager_menu_tips blockquote p {
1300     margin: 0;
1301     padding: 6px 1px 4px;
1302 }
1303 .openerp .oe_view_manager_menu_tips blockquote div {
1304     text-align: right;
1305 }
1306 .openerp .oe_view_manager_menu_tips blockquote div button {
1307     border: none;
1308     background: none;
1309     padding: 0 4px;
1310     margin: 0;
1311     display: inline;
1312     text-decoration: underline;
1313     color: inherit;
1314 }
1315 .openerp .oe-view-manager-logs {
1316     clear: both;
1317     background: #fff;
1318     margin: 0.25em 0;
1319     font-size: 85%;
1320     color: #4C4C4C;
1321     position: relative;
1322     overflow: hidden;
1323 }
1324 .openerp .oe-view-manager-logs ul {
1325     margin: 0;
1326     padding: 0 10px;
1327     list-style: none;
1328 }
1329 .openerp .oe-view-manager-logs li:before {
1330     content: '\2192 ';
1331 }
1332 .openerp .oe-view-manager-logs a {
1333     text-decoration: none;
1334     color: inherit;
1335 }
1336 /* only display first three log items of a folded logs list */
1337 .openerp .oe-view-manager-logs.oe-folded li:nth-child(n+4) {
1338     display: none;
1339 }
1340 /* display link to more logs if there are more logs to view and the logview is
1341    currently folded */
1342 .openerp .oe-view-manager-logs a.oe-more-logs {
1343     display: none;
1344 }
1345 .openerp .oe-view-manager-logs.oe-folded.oe-has-more a.oe-more-logs {
1346     display: block;
1347 }
1348 .openerp .oe-view-manager-logs a.oe-remove-everything {
1349     position: absolute;
1350     top: 0;
1351     right: 0;
1352     cursor: pointer;
1353 }
1354
1355 .openerp .view-manager-main-sidebar {
1356     width: 180px;
1357     padding: 0;
1358     margin: 0;
1359 }
1360
1361 .openerp .sidebar-main-div {
1362     height: 100%;
1363     border-left: 1px solid #D2CFCF;
1364 }
1365
1366 .openerp .sidebar-content {
1367     padding: 0;
1368     margin: 0;
1369     width: 180px;
1370     height: 100%;
1371     font-size: 0.9em;
1372 }
1373
1374 .openerp .closed-sidebar .sidebar-content {
1375     width: 22px;
1376 }
1377
1378 .openerp .closed-sidebar .sidebar-content {
1379     display: none;
1380 }
1381
1382 .openerp .sidebar-main-div a {
1383     color: #555;
1384     text-decoration: none;
1385 }
1386
1387 .openerp .sidebar-main-div a:hover {
1388     color: black;
1389 }
1390
1391 .openerp .oe-sidebar-attachments-toolbar {
1392     margin: 4px 0 0 4px;
1393 }
1394 .openerp .oe-sidebar-attachments-items {
1395     clear: both;
1396     padding-top: 5px !important;
1397 }
1398 .openerp .oe-sidebar-attachments-items li {
1399     position: relative;
1400     padding: 0 0 3px 10px !important;
1401 }
1402 .openerp .oe-sidebar-attachments-items li:hover {
1403     background: #ddd;
1404 }
1405 .openerp .oe-sidebar-attachments-link {
1406     display: block;
1407     margin-right: 15px;
1408     overflow: hidden;
1409 }
1410 .openerp .oe-sidebar-attachment-delete {
1411     position: absolute;
1412     right: 2px;
1413     top: 1px;
1414     overflow: hidden;
1415     width: 15px;
1416     height: 15px;
1417     padding: 1px;
1418     border-radius: 7px;
1419     -moz-border-radius: 7px;
1420     -webkit-border-radius: 7px;
1421 }
1422 .openerp .oe-sidebar-attachment-delete:hover {
1423     background-color: white;
1424 }
1425
1426 .openerp .view-manager-main-sidebar h2 {
1427     margin:0;
1428     font-size: 1.15em;
1429     color: #8E8E8E;
1430     text-shadow: white 0 1px 0;
1431     padding-left: 10px;
1432     padding-right: 21px;
1433     height: 21px;
1434
1435     background: #ffffff; /* Old browsers */
1436     background: -moz-linear-gradient(top, #ffffff 0%, #ebe9e9 100%); /* FF3.6+ */
1437     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ebe9e9)); /* Chrome,Safari4+ */
1438     background: -webkit-linear-gradient(top, #ffffff 0%,#ebe9e9 100%); /* Chrome10+,Safari5.1+ */
1439     background: -o-linear-gradient(top, #ffffff 0%,#ebe9e9 100%); /* Opera11.10+ */
1440     background: -ms-linear-gradient(top, #ffffff 0%,#ebe9e9 100%); /* IE10+ */
1441     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#EBE9E9',GradientType=0 ); /* IE6-9 */
1442     background: linear-gradient(top, #ffffff 0%,#ebe9e9 100%); /* W3C */
1443
1444     border: 1px solid #D2CFCF;
1445     border-right-width: 0;
1446     border-left-width: 0;
1447 }
1448
1449 .openerp .view-manager-main-sidebar ul {
1450     list-style-type: none;
1451     margin: 0;
1452     padding: 0;
1453     display: block;
1454 }
1455
1456 .openerp .view-manager-main-sidebar li {
1457     display: block;
1458     padding: 3px 3px 3px 10px;
1459 }
1460
1461 .openerp .toggle-sidebar {
1462     cursor: pointer;
1463     border: 1px solid #D2CFCF;
1464     display: block;
1465     background: url(/web/static/src/img/toggle-a-bg.png);
1466     width: 21px;
1467     height: 21px;
1468     z-index: 10;
1469 }
1470 .openerp .open-sidebar .toggle-sidebar {
1471     margin-left: 158px;
1472     background-position: 21px 0;
1473     position: absolute;
1474 }
1475 .openerp .closed-sidebar .toggle-sidebar {
1476     border-left: none;
1477 }
1478 .openerp li.oe_sidebar_print {
1479     padding-left: 20px;
1480     background: 1px 3px url(/web/static/src/img/icons/gtk-print.png) no-repeat;
1481 }
1482
1483 .openerp.kitten-mode-activated .main_table {
1484     background: url(http://placekitten.com/g/1500/800) repeat;
1485 }
1486
1487 .openerp.kitten-mode-activated .header {
1488     background: url(http://placekitten.com/g/211/65) repeat;
1489 }
1490
1491 .openerp.kitten-mode-activated .secondary_menu {
1492     background: url(http://placekitten.com/g/212/100) repeat;
1493 }
1494
1495 .openerp.kitten-mode-activated .menu {
1496     background: #828282;
1497     background: -moz-linear-gradient(top, #828282 0%, #4D4D4D 100%);
1498     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#828282), color-stop(100%,#4D4D4D));
1499     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#828282', endColorstr='#4D4D4D',GradientType=0 );
1500 }
1501 .openerp.kitten-mode-activated .menu a {
1502     background: none;
1503 }
1504 .openerp.kitten-mode-activated .menu span {
1505     background: none;
1506 }
1507 .openerp.kitten-mode-activated .sidebar-content li a,
1508 .openerp.kitten-mode-activated .oe-application .view-manager-main-content h2.oe_view_title,
1509 .openerp.kitten-mode-activated .oe-application .view-manager-main-content a.searchview_group_string,
1510 .openerp.kitten-mode-activated .oe-application .view-manager-main-content label  {
1511     color: white;
1512 }
1513 .openerp.kitten-mode-activated .menu,
1514 .openerp.kitten-mode-activated .header_corner,
1515 .openerp.kitten-mode-activated .header_title,
1516 .openerp.kitten-mode-activated .secondary_menu div,
1517 .openerp.kitten-mode-activated .oe-application,
1518 .openerp.kitten-mode-activated .oe_footer,
1519 .openerp.kitten-mode-activated .loading,
1520 .openerp.kitten-mode-activated .ui-dialog {
1521     opacity:0.8;
1522     filter:alpha(opacity=80);
1523 }
1524 .openerp.kitten-mode-activated .header .company_logo {
1525     background: url(http://placekitten.com/g/180/46);
1526 }
1527 .openerp.kitten-mode-activated .loading {
1528     background: #828282;
1529     border-color: #828282;
1530 }
1531
1532 .openerp .oe-m2o {
1533     padding-right: 20px;
1534     white-space: nowrap;
1535 }
1536 .openerp .oe_forms .oe-m2o input[type="text"] {
1537     padding-right: 20px;
1538     padding-top: 2px;
1539 }
1540 .openerp .oe-m2o-drop-down-button {
1541     margin-left: -23px;
1542 }
1543 .openerp .oe-m2o-drop-down-button img,
1544 .openerp .oe-m2o-cm-button img {
1545     margin-bottom: -4px;
1546     cursor: pointer;
1547 }
1548 .openerp .oe-m2o-disabled-cm {
1549     color: grey;
1550 }
1551 .openerp ul[role="listbox"] li a {
1552     font-size:80%;
1553 }
1554 .parent_top {
1555     vertical-align: text-top;
1556 }
1557
1558 .openerp .oe-dialog-warning p {
1559     padding-left: 1em;
1560     font-size: 1.2em;
1561     font-weight: bold;
1562 }
1563
1564 .openerp .dhx_mini_calendar {
1565     -moz-box-shadow: none;
1566     -khtml-box-shadow: none;
1567     -webkit-box-shadow: none;
1568     box-shadow: none;
1569 }
1570 .openerp .oe-treeview-table {
1571     width: 100%;
1572 }
1573 .treeview-tr, .treeview-td {
1574     cursor: pointer;
1575     vertical-align: top;
1576     text-align: left;
1577 }
1578 .treeview-tr span, .treeview-td span {
1579     display: block;
1580 }
1581 .treeview-tr:first-of-type {
1582     background: transparent url(/web/static/src/img/expand.gif) 0 50% no-repeat;
1583 }
1584 .oe-open .treeview-tr:first-of-type {
1585     background-image: url(/web/static/src/img/collapse.gif);
1586 }
1587 .treeview-tr:first-of-type span,
1588 .treeview-td:first-of-type span {
1589     margin-left: 16px;
1590 }
1591
1592 .treeview-header {
1593     text-align: left;
1594     vertical-align: top;
1595 }
1596 /* Shortcuts*/
1597 .oe-shortcut-toggle {
1598     height: 20px;
1599     margin-top: 3px;
1600     padding: 0;
1601     width: 24px;
1602     cursor: pointer;
1603     display: block;
1604     background: url(/web/static/src/img/add-shortcut.png) no-repeat center center;
1605     float: left;
1606 }
1607 .oe-shortcut-remove{
1608     background: url(/web/static/src/img/remove-shortcut.png) no-repeat center center;
1609 }
1610 .oe-shortcuts {
1611     position: absolute;
1612     margin: 0;
1613     padding: 6px 15px;
1614     top: 37px;
1615     left: 197px;
1616     right: 0;
1617     height: 17px;
1618     line-height: 1.2;
1619 }
1620 .oe-shortcuts ul {
1621     display: block;
1622     overflow: hidden;
1623     list-style: none;
1624     white-space: nowrap;
1625     padding: 0;
1626     margin: 0;
1627 }
1628 .oe-shortcuts li {
1629     cursor: pointer;
1630     display: -moz-inline-stack;
1631     display: inline-block;
1632     display: inline; /*IE7 */
1633     color: #fff;
1634     text-align: center;
1635     border-left: 1px solid #909090;
1636     padding: 0 4px;
1637     font-size: 80%;
1638     font-weight: normal;
1639     vertical-align: top;
1640 }
1641
1642 .oe-shortcuts li:hover {
1643     background-color: #666;
1644 }
1645 .oe-shortcuts li:first-child {
1646     border-left: none;
1647     padding-left: 0;
1648 }
1649
1650 ul.oe-arrow-list {
1651     padding-left: 1.1em;
1652     margin: 0;
1653     white-space: nowrap;
1654 }
1655 ul.oe-arrow-list li {
1656     display: inline-block;
1657     margin-left: -1em;
1658 }
1659 ul.oe-arrow-list li span {
1660     vertical-align: top;
1661     display: inline-block;
1662     border-width:1em;
1663     border-style:solid;
1664     border-color: #DEDEDE;
1665     line-height:0em;
1666 }
1667 ul.oe-arrow-list .oe-arrow-list-before {
1668     border-left-color: rgba(0,0,0,0);
1669     border-right-width:0;
1670 }
1671 ul.oe-arrow-list .oe-arrow-list-after {
1672     border-color: rgba(0,0,0,0);
1673     border-left-color: #DEDEDE;
1674     border-right-width:0;
1675 }
1676 ul.oe-arrow-list li.oe-arrow-list-selected span {
1677     border-color: #B5B9FF;
1678 }
1679 ul.oe-arrow-list li.oe-arrow-list-selected .oe-arrow-list-before {
1680     border-left-color: rgba(0,0,0,0);
1681 }
1682 ul.oe-arrow-list li.oe-arrow-list-selected .oe-arrow-list-after {
1683     border-color: rgba(0,0,0,0);
1684     border-left-color: #B5B9FF;
1685 }
1686 .openerp .oe_view_editor {
1687     border-collapse: collapse;
1688     padding: 0;
1689     align: left;
1690     width: 100%;
1691 }
1692 .openerp .oe_view_editor_colum{
1693     font-size: 90%;
1694     font-weight: normal;
1695     padding: 0;
1696     border-bottom: 1px solid #CFCCCC;
1697 }
1698 .openerp .oe_view_editor_row:hover{
1699     background-color: #F3F3F3;
1700 }
1701 .openerp .oe_view_editor_tree_grid{
1702     text-align: left;
1703     white-space: nowrap;
1704     border-collapse: collapse;
1705     width: 100%;
1706 }
1707 .openerp .oe_view_editor_tree_grid a:hover {
1708     color: blue;
1709 }
1710 .openerp .oe_view_editor_tree_grid a {
1711     display: block;
1712 }