Fixing documentCanvas styles
[fnpeditor.git] / editor.css
index a1c743d..5944312 100644 (file)
@@ -1,5 +1,5 @@
 body {\r
-    padding-top: 30px;\r
+    padding-top: 5px;\r
 }\r
 \r
 #publication_content {\r
@@ -11,20 +11,312 @@ 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
+    border-color: #ddd;\r
+    border-style: solid;\r
+    border-width: 1px;\r
+    float:left;\r
+    width: 600px;\r
+    height: 450px;\r
+    overflow-y: scroll;\r
+    padding: 5px 10px;\r
+}\r
+\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-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-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-editPaneNavigation::-webkit-scrollbar-thumb:window-inactive\r
+ {\r
+    background: rgba(73,175,205,0.4); \r
+}\r
+\r
+\r
 #rng-visualEditor-content {\r
+\r
+    outline: 0px solid transparent;\r
+}\r
+\r
+#rng-visualEditor-sidebar {\r
+    float:right;\r
+    width: 266px;\r
+    height:450px;\r
+    position:relative;\r
+    border-width: 1px 1px 1px 1px;\r
+    border-style: solid;\r
+    border-color: #ddd;\r
+    padding: 5px 15px;\r
+\r
+}\r
+\r
+#rng-visualEditor-sidebar,\r
+#rng-visualEditor-sidebar p,\r
+#rng-visualEditor-sidebar td,\r
+#rng-visualEditor-sidebar label,\r
+#rng-visualEditor-sidebar input,\r
+#rng-visualEditor-sidebar select {\r
+    font-size: 11px;\r
+    line-height:13px;\r
+}\r
+\r
+#rng-visualEditor-sidebar select {\r
+    -webkit-appearance: button;\r
+    -moz-appearance: button;\r
+    appearance: button;\r
+    height: auto;\r
+    line-height: 14px;\r
+}\r
+\r
+#rng-visualEditor-sidebar label + select {\r
+    position:relative;\r
+    top: 5px;\r
+}\r
+\r
+#rng-visualEditor-sidebarButtons {\r
+            /*-webkit-transform: rotate(90deg);\r
+            -moz-transform: rotate(90deg);\r
+            -ms-transform: rotate(90deg); */\r
+            \r
+            position:absolute;\r
+            top:-1px;\r
+            right:-50px;\r
+            border-width: 1px 1px 1px 0px;\r
+            border-style: solid;\r
+            border-color: #ddd;\r
+            padding: 5px;\r
+            background: #ededed;\r
+}\r
+\r
+#rng-visualEditor-sidebarButtons  ul {\r
+    margin-bottom: 0px;\r
+}\r
+\r
+.rng-visualEditor-editPaneNodeForm  label ,\r
+.rng-visualEditor-editPaneSelectionForm  label\r
+{\r
+    width: 50px;\r
+    display: inline-block;\r
+}\r
+\r
+.rng-visualEditor-editPaneNodeForm  select,\r
+.rng-visualEditor-editPaneSelectionForm  select\r
+ {\r
+    width: 100px;\r
+}\r
+\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
-    width: 540px;\r
-    height: 500px;\r
 }\r
 \r
-#rng-visualEditor-meta {\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
+\r
+.rng-visualEditor-sidebarContentItem  legend {\r
+    font-size:11px;\r
+    height:30px;\r
+}\r
+\r
+#rng-visualEditor-meta table {\r
+    margin-bottom:10px;\r
+}\r
+\r
+#rng-visualEditor-meta table [contenteditable] {\r
+    cursor: pointer;\r
+}\r
+\r
+#rng-visualEditor-meta table li:last-child {\r
+    border-bottom: none !important;\r
+}\r
+\r
+#rng-visualEditor-meta table tr td:nth-child(1){\r
+    width: 20%;\r
+}\r
+\r
+#rng-visualEditor-meta table tr td:nth-child(2)  {\r
+    width:80%;\r
+}\r
+\r
+#rng-visualEditor-meta .rng-visualEditor-metaAddBtn {\r
     float:right;\r
+    margin-right:6px;\r
+}\r
+\r
+#rng-visualEditor-meta .btn{\r
+    padding:3px;\r
+    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
+}\r
+\r
+[wlxml-tag] {\r
+    float: none !important; /* temporaty workaround for Bootstrap's influence via [class*="span"] { float: left; } */\r
+    border-color: white;\r
+    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: 10px 0;\r
+}\r
+\r
+[wlxml-tag=section] {\r
+    margin-top: 10px;\r
+    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
+\r
+[wlxml-class|="cite-code"] {\r
+    font-family: monospace;\r
+}\r
+\r
+[wlxml-class|="cite-code-xml"] {\r
+    color: blue;\r
+}\r
+\r
+[wlxml-tag=header] > [wlxml-class=author] {\r
+    font-size: 14px;\r
+}\r
+\r
+[wlxml-tag=header] > [wlxml-class=title] {\r
+    font-size:18px;\r
+}\r
+\r
+[wlxml-class|="uri"] {\r
+    color: blue;\r
+    text-decoration: underline;\r
+}\r
+\r
+[wlxml-class|="p"] {\r
+    text-indent: 1.5em;\r
+}\r
+\r
+[wlxml-class|="emph-tech"] {\r
+    font-style: italic;\r
+}\r
+\r
+[wlxml-tag]  metadata {\r
+    display:none;\r
+}\r
+\r
+.rng-hover {\r
+    border-color: red;\r
+    border-style:solid;\r
+    border-width:1px;\r
+}\r
+\r
+.rng-current {\r
+    background: #fffacd;\r
+    border-color: grey;\r
+    border-style:dashed;\r
+    border-width:1px;\r
 }
\ No newline at end of file