Refactoring - moving key event handlers out of canvas object
[fnpeditor.git] / modules / rng / mainLayout.less
index fdaaf68..ac28f02 100644 (file)
@@ -1,40 +1,43 @@
-#rng-module-rng-mainLayout {\r
-    position: fixed;\r
-    top: 5px;\r
-    bottom: 5px;\r
-    left: 80px;\r
-    right: 80px;\r
-    \r
-    [fnpjs-place="messages"] {\r
-        position: absolute;\r
-        top: 5px;\r
-        width:100%;\r
-        text-align:center;\r
-    }\r
-    \r
-    [fnpjs-place="topPanel"] {\r
-        float: right;\r
-    }\r
-    \r
-    [fnpjs-place="mainView"] {\r
-        position: absolute;\r
-        top: 32px;\r
-        left:0;\r
-        right:0;\r
-        bottom:0; \r
-        \r
-        > .rng-view-tabs {\r
-            position: relative;\r
-            height: 100%;\r
-\r
-            > .rng-view-tabs-content {\r
-                position: absolute;\r
-                top: 45px;\r
-                left: 0;\r
-                right: 0;\r
-                bottom: 0;\r
-            }    \r
-        }\r
-        \r
-    }\r
+#rng-module-rng-mainLayout {
+    position: fixed;
+    top: 5px;
+    bottom: 5px;
+    left: 80px;
+    right: 80px;
+    
+    [fnpjs-place="messages"] {
+        position: absolute;
+        top: 5px;
+        width:100%;
+        text-align:center;
+    }
+    
+    [fnpjs-place="topPanel"] {
+        float: right;
+        position: relative;
+        z-index: 2;
+    }
+    
+    [fnpjs-place="mainView"] {
+        position: absolute;
+        top: 0;
+        left:0;
+        right:0;
+        bottom:0;
+        z-index: 1;
+        
+        > .rng-view-tabs {
+            position: relative;
+            height: 100%;
+
+            > .rng-view-tabs-content {
+                position: absolute;
+                top: 45px;
+                left: 0;
+                right: 0;
+                bottom: 0;
+            }    
+        }
+        
+    }
 }
\ No newline at end of file