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