6de8b5deb8a0927fbdc7bf1373c9a5a9c1306140
[odoo/odoo.git] / addons / web_diagram / static / src / css / base_diagram.css
1 .openerp .oe_diagram_header h3.oe_diagram_title {
2     font-weight: normal;
3     color: #252424;
4     margin: 0 0 0 2px;
5 }
6
7 .openerp .oe_diagram_pager {
8     float:right;
9     /*text-align: right;*/
10     white-space: nowrap;
11 }
12
13 .openerp .oe_diagram_buttons {
14     float: left;
15 }
16 .openerp .clear{
17     clear:both;
18 }
19 /* We use a resizable diagram-container. The problem with a 
20  * resizable diagram is that the diagram catches the mouse events
21  * and the diagram is then impossible to resize. That's why the
22  * diagram has a height of 98.5%, so that the bottom part of the
23  * diagram can be used for resize
24  */
25 .openerp .diagram-container{
26     margin:0;
27     padding:0;
28     width:100%;
29     height:500px;
30     resize:vertical;
31     background-color:#FFF;
32     border:1px solid #DCDCDC;
33     overflow:hidden;
34 }
35 .openerp .oe_diagram_diagram{
36     margin:0;
37     padding:0;
38     background-color:#FFF;
39     width:100%;
40     height:98.5%;
41 }
42
43 /* prevent accidental selection of the text in the svg nodes */
44 .openerp .oe_diagram_diagram *{
45     -webkit-touch-callout: none;
46     -webkit-user-select: none;
47     -khtml-user-select: none;
48     -moz-user-select: none;
49     -ms-user-select: none;
50     -o-user-select: none;
51     user-select: none;
52 }
53