Visual editor - making sure only wlxml-tags are put into edit pane navigation
[fnpeditor.git] / editor.css
index cf1abc2..4194718 100644 (file)
@@ -28,25 +28,34 @@ body {
     height: 500px;\r
     overflow-y: scroll;\r
     padding: 5px 10px;\r
+    margin-top:10px;\r
 }\r
 \r
-#rng-visualEditor-contentWrapper::-webkit-scrollbar {\r
+#rng-visualEditor-contentWrapper::-webkit-scrollbar,\r
+#rng-visualEditor-editPaneNavigation::-webkit-scrollbar\r
+{\r
     width: 9px;\r
 }\r
  \r
-#rng-visualEditor-contentWrapper::-webkit-scrollbar-track {\r
+#rng-visualEditor-contentWrapper::-webkit-scrollbar-track,\r
+#rng-visualEditor-editPaneNavigation::-webkit-scrollbar-track\r
+ {\r
     -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); \r
     -webkit-border-radius: 10px;\r
     border-radius: 10px;\r
 }\r
 \r
-#rng-visualEditor-contentWrapper::-webkit-scrollbar-thumb {\r
+#rng-visualEditor-contentWrapper::-webkit-scrollbar-thumb,\r
+#rng-visualEditor-editPaneNavigation::-webkit-scrollbar-thumb\r
+{\r
     -webkit-border-radius: 10px;\r
     border-radius: 10px;\r
     background: rgba(73,175,205,0.8); \r
     -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); \r
 }\r
-#rng-visualEditor-contentWrapper::-webkit-scrollbar-thumb:window-inactive {\r
+#rng-visualEditor-contentWrapper::-webkit-scrollbar-thumb:window-inactive,\r
+#rng-visualEditor-editPaneNavigation::-webkit-scrollbar-thumb:window-inactive\r
+ {\r
     background: rgba(73,175,205,0.4); \r
 }\r
 \r
@@ -125,6 +134,10 @@ body {
 \r
 \r
 \r
+#rng-visualEditor-toolbar {\r
+    margin: -15px 0 10px 0;\r
+}\r
+\r
 .rng-visualEditor-sidebarContentItem fieldset {\r
     margin-bottom: 10px;\r
 }\r
@@ -164,6 +177,27 @@ body {
     line-height:10px;\r
 }\r
 \r
+#rng-visualEditor-editPaneNavigation {\r
+    overflow-y: scroll;\r
+    max-height: 150px;\r
+    width:100%;\r
+    margin-top:10px;\r
+}\r
+#rng-visualEditor-editPaneNavigation table {\r
+    width: 90%;\r
+    margin: 0;\r
+}\r
+#rng-visualEditor-editPaneNavigation table tr td:nth-child(1) {\r
+    width: 30%;\r
+}\r
+#rng-visualEditor-editPaneNavigation table tr td:nth-child(2) {\r
+    width: 70%;\r
+}\r
+\r
+#rng-visualEditor-editPaneNavigation table tr td ul {\r
+    list-style-type: none;\r
+    margin: 0;\r
+}\r
 #rng-sourceEditor-editor {\r
     width: 940px;\r
     height: 500px;\r
@@ -177,6 +211,11 @@ body {
     min-height:20px;\r
 }\r
 \r
+span[wlxml-tag] {\r
+    display:inline-block;\r
+    min-width: 10px;\r
+}\r
+\r
 [wlxml-tag=header] {\r
     font-size: 13px;\r
     font-weight: bold;\r