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