Visual editor: refactoring
[fnpeditor.git] / editor.css
index 01b6565..aa920c8 100644 (file)
@@ -65,6 +65,30 @@ body {
     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
@@ -86,14 +110,35 @@ body {
     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-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
-    font-size: 11px;\r
-    line-height:13px;\r
     cursor: pointer;\r
 }\r
 \r
@@ -132,8 +177,8 @@ body {
 }\r
 \r
 [wlxml-tag=header] {\r
-    font-size: 19px;\r
-    font-style: bold;\r
+    font-size: 13px;\r
+    font-weight: bold;\r
     margin-bottom: 10px;\r
 }\r
 \r
@@ -142,6 +187,43 @@ body {
     margin-bottom: 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=document]  metadata {\r
+    display:none;\r
+}\r
+\r
 .rng-hover {\r
     border-color: red;\r
     border-style:solid;\r