Fixing documentCanvas styles
[fnpeditor.git] / editor.css
index cf1abc2..5944312 100644 (file)
@@ -1,5 +1,5 @@
 body {\r
-    padding-top: 30px;\r
+    padding-top: 5px;\r
 }\r
 \r
 #publication_content {\r
@@ -11,12 +11,23 @@ body {
     display: none;\r
 }\r
 \r
-#rng-skelton-menu {\r
-    float: right;\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-skelton-menu ul {\r
-    list-style-type: none;\r
+#rng-visualEditor-mainArea {\r
+    margin-top:10px;\r
 }\r
 \r
 #rng-visualEditor-contentWrapper {\r
@@ -25,28 +36,36 @@ body {
     border-width: 1px;\r
     float:left;\r
     width: 600px;\r
-    height: 500px;\r
+    height: 450px;\r
     overflow-y: scroll;\r
     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
@@ -59,7 +78,7 @@ body {
 #rng-visualEditor-sidebar {\r
     float:right;\r
     width: 266px;\r
-    height:500px;\r
+    height:450px;\r
     position:relative;\r
     border-width: 1px 1px 1px 1px;\r
     border-style: solid;\r
@@ -125,6 +144,38 @@ 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-statusbar {\r
+    margin: 10px 5px;\r
+    font-size:0.9em;\r
+}\r
+\r
 .rng-visualEditor-sidebarContentItem fieldset {\r
     margin-bottom: 10px;\r
 }\r
@@ -164,6 +215,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,12 +247,19 @@ body {
     border-style:solid;\r
     border-width:1px;\r
     min-height:20px;\r
+    position:relative;\r
+    text-indent: 0;\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
-    margin-bottom: 10px;\r
+    margin: 10px 0;\r
 }\r
 \r
 [wlxml-tag=section] {\r
@@ -188,6 +267,10 @@ body {
     margin-bottom: 10px;\r
 }\r
 \r
+[wlxml-tag=section] [wlxml-tag=section] {\r
+    margin-left:10px;\r
+}\r
+\r
 [wlxml-class|="cite"] {\r
     font-style: italic;\r
 }\r
@@ -221,7 +304,7 @@ body {
     font-style: italic;\r
 }\r
 \r
-[wlxml-tag=document]  metadata {\r
+[wlxml-tag]  metadata {\r
     display:none;\r
 }\r
 \r