widgets wip - widgets mechanism + label widget
[fnpeditor.git] / modules / rng / mainLayout.less
index 08db00d..ac28f02 100644 (file)
@@ -1,14 +1,43 @@
-#rng-module-rng-mainLayout {\r
-    position: relative;\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
+#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