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