Visual editor - fixing margins
[fnpeditor.git] / editor.css
index cf1abc2..c587b50 100644 (file)
@@ -19,6 +19,25 @@ body {
     list-style-type: none;\r
 }\r
 \r
+.rng-visualEditor-nodeHoverTag {\r
+    position:absolute;\r
+    height:20px;\r
+    top:-20px;\r
+    left:0;\r
+    background: #bd362f;\r
+    color: white;\r
+    font-size:9px;\r
+    font-weight: normal;\r
+    font-style: normal;\r
+    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;\r
+    padding: 0 5px;\r
+    text-indent: 0;\r
+}\r
+\r
+#rng-visualEditor-mainArea {\r
+    margin-top:10px;\r
+}\r
+\r
 #rng-visualEditor-contentWrapper {\r
     border-color: #ddd;\r
     border-style: solid;\r
@@ -30,23 +49,31 @@ body {
     padding: 5px 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 +152,33 @@ body {
 \r
 \r
 \r
+#rng-visualEditor-toolbar {\r
+    margin: -15px 0 10px 0;\r
+    white-space:nowrap; \r
+    word-spacing:0;\r
+}\r
+\r
+#rng-visualEditor-toolbar select {\r
+    line-height: 14px;\r
+    font-size:9px;\r
+    height: auto;\r
+    width: 50px;\r
+    padding: 1px;\r
+-webkit-appearance: button;\r
+-moz-appearance: button;\r
+appearance: button;\r
+    margin-bottom: 0;\r
+}\r
+\r
+.rng-visualEditor-toolbarGroup {\r
+    border-width: 0 1px 0 0;\r
+    border-style: solid;\r
+    border-color: #ddd;\r
+    padding: 0 8px 0 0;\r
+    margin: 0 8px 0 0;\r
+    float:left;\r
+}\r
+\r
 .rng-visualEditor-sidebarContentItem fieldset {\r
     margin-bottom: 10px;\r
 }\r
@@ -164,6 +218,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
@@ -175,6 +250,12 @@ body {
     border-style:solid;\r
     border-width:1px;\r
     min-height:20px;\r
+    position:relative;\r
+}\r
+\r
+span[wlxml-tag] {\r
+    display:inline-block;\r
+    min-width: 10px;\r
 }\r
 \r
 [wlxml-tag=header] {\r