Visual editor: simple parent/children navigation in edit pane
[fnpeditor.git] / editor.css
1 body {\r
2     padding-top: 30px;\r
3 }\r
4 \r
5 #publication_content {\r
6     height: 300px;\r
7     overflow-y: scroll;\r
8 }\r
9 \r
10 .rng-tab-content {\r
11     display: none;\r
12 }\r
13 \r
14 #rng-skelton-menu {\r
15     float: right;\r
16 }\r
17 \r
18 #rng-skelton-menu ul {\r
19     list-style-type: none;\r
20 }\r
21 \r
22 #rng-visualEditor-contentWrapper {\r
23     border-color: #ddd;\r
24     border-style: solid;\r
25     border-width: 1px;\r
26     float:left;\r
27     width: 600px;\r
28     height: 500px;\r
29     overflow-y: scroll;\r
30     padding: 5px 10px;\r
31 }\r
32 \r
33 #rng-visualEditor-contentWrapper::-webkit-scrollbar,\r
34 #rng-visualEditor-editPaneNavigation::-webkit-scrollbar\r
35 {\r
36     width: 9px;\r
37 }\r
38  \r
39 #rng-visualEditor-contentWrapper::-webkit-scrollbar-track,\r
40 #rng-visualEditor-editPaneNavigation::-webkit-scrollbar-track\r
41  {\r
42     -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); \r
43     -webkit-border-radius: 10px;\r
44     border-radius: 10px;\r
45 }\r
46 \r
47 #rng-visualEditor-contentWrapper::-webkit-scrollbar-thumb,\r
48 #rng-visualEditor-editPaneNavigation::-webkit-scrollbar-thumb\r
49 {\r
50     -webkit-border-radius: 10px;\r
51     border-radius: 10px;\r
52     background: rgba(73,175,205,0.8); \r
53     -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); \r
54 }\r
55 #rng-visualEditor-contentWrapper::-webkit-scrollbar-thumb:window-inactive,\r
56 #rng-visualEditor-editPaneNavigation::-webkit-scrollbar-thumb:window-inactive\r
57  {\r
58     background: rgba(73,175,205,0.4); \r
59 }\r
60 \r
61 \r
62 #rng-visualEditor-content {\r
63 \r
64     outline: 0px solid transparent;\r
65 }\r
66 \r
67 #rng-visualEditor-sidebar {\r
68     float:right;\r
69     width: 266px;\r
70     height:500px;\r
71     position:relative;\r
72     border-width: 1px 1px 1px 1px;\r
73     border-style: solid;\r
74     border-color: #ddd;\r
75     padding: 5px 15px;\r
76 \r
77 }\r
78 \r
79 #rng-visualEditor-sidebar,\r
80 #rng-visualEditor-sidebar p,\r
81 #rng-visualEditor-sidebar td,\r
82 #rng-visualEditor-sidebar label,\r
83 #rng-visualEditor-sidebar input,\r
84 #rng-visualEditor-sidebar select {\r
85     font-size: 11px;\r
86     line-height:13px;\r
87 }\r
88 \r
89 #rng-visualEditor-sidebar select {\r
90     -webkit-appearance: button;\r
91     -moz-appearance: button;\r
92     appearance: button;\r
93     height: auto;\r
94     line-height: 14px;\r
95 }\r
96 \r
97 #rng-visualEditor-sidebar label + select {\r
98     position:relative;\r
99     top: 5px;\r
100 }\r
101 \r
102 #rng-visualEditor-sidebarButtons {\r
103             /*-webkit-transform: rotate(90deg);\r
104             -moz-transform: rotate(90deg);\r
105             -ms-transform: rotate(90deg); */\r
106             \r
107             position:absolute;\r
108             top:-1px;\r
109             right:-50px;\r
110             border-width: 1px 1px 1px 0px;\r
111             border-style: solid;\r
112             border-color: #ddd;\r
113             padding: 5px;\r
114             background: #ededed;\r
115 }\r
116 \r
117 #rng-visualEditor-sidebarButtons  ul {\r
118     margin-bottom: 0px;\r
119 }\r
120 \r
121 .rng-visualEditor-editPaneNodeForm  label ,\r
122 .rng-visualEditor-editPaneSelectionForm  label\r
123 {\r
124     width: 50px;\r
125     display: inline-block;\r
126 }\r
127 \r
128 .rng-visualEditor-editPaneNodeForm  select,\r
129 .rng-visualEditor-editPaneSelectionForm  select\r
130  {\r
131     width: 100px;\r
132 }\r
133 \r
134 \r
135 \r
136 .rng-visualEditor-sidebarContentItem fieldset {\r
137     margin-bottom: 10px;\r
138 }\r
139 \r
140 .rng-visualEditor-sidebarContentItem  legend {\r
141     font-size:11px;\r
142     height:30px;\r
143 }\r
144 \r
145 #rng-visualEditor-meta table {\r
146     margin-bottom:10px;\r
147 }\r
148 \r
149 #rng-visualEditor-meta table [contenteditable] {\r
150     cursor: pointer;\r
151 }\r
152 \r
153 #rng-visualEditor-meta table li:last-child {\r
154     border-bottom: none !important;\r
155 }\r
156 \r
157 #rng-visualEditor-meta table tr td:nth-child(1){\r
158     width: 20%;\r
159 }\r
160 \r
161 #rng-visualEditor-meta table tr td:nth-child(2)  {\r
162     width:80%;\r
163 }\r
164 \r
165 #rng-visualEditor-meta .rng-visualEditor-metaAddBtn {\r
166     float:right;\r
167     margin-right:6px;\r
168 }\r
169 \r
170 #rng-visualEditor-meta .btn{\r
171     padding:3px;\r
172     line-height:10px;\r
173 }\r
174 \r
175 #rng-visualEditor-editPaneNavigation {\r
176     overflow-y: scroll;\r
177     max-height: 150px;\r
178     width:100%;\r
179     margin-top:10px;\r
180 }\r
181 #rng-visualEditor-editPaneNavigation table {\r
182     width: 90%;\r
183     margin: 0;\r
184 }\r
185 #rng-visualEditor-editPaneNavigation table tr td:nth-child(1) {\r
186     width: 30%;\r
187 }\r
188 #rng-visualEditor-editPaneNavigation table tr td:nth-child(2) {\r
189     width: 70%;\r
190 }\r
191 \r
192 #rng-visualEditor-editPaneNavigation table tr td ul {\r
193     list-style-type: none;\r
194     margin-left:0px;\r
195 }\r
196 #rng-sourceEditor-editor {\r
197     width: 940px;\r
198     height: 500px;\r
199 }\r
200 \r
201 [wlxml-tag] {\r
202     float: none !important; /* temporaty workaround for Bootstrap's influence via [class*="span"] { float: left; } */\r
203     border-color: white;\r
204     border-style:solid;\r
205     border-width:1px;\r
206     min-height:20px;\r
207 }\r
208 \r
209 span[wlxml-tag] {\r
210     display:inline-block;\r
211     min-width: 10px;\r
212 }\r
213 \r
214 [wlxml-tag=header] {\r
215     font-size: 13px;\r
216     font-weight: bold;\r
217     margin-bottom: 10px;\r
218 }\r
219 \r
220 [wlxml-tag=section] {\r
221     margin-top: 10px;\r
222     margin-bottom: 10px;\r
223 }\r
224 \r
225 [wlxml-class|="cite"] {\r
226     font-style: italic;\r
227 }\r
228 \r
229 [wlxml-class|="cite-code"] {\r
230     font-family: monospace;\r
231 }\r
232 \r
233 [wlxml-class|="cite-code-xml"] {\r
234     color: blue;\r
235 }\r
236 \r
237 [wlxml-tag=header] > [wlxml-class=author] {\r
238     font-size: 14px;\r
239 }\r
240 \r
241 [wlxml-tag=header] > [wlxml-class=title] {\r
242     font-size:18px;\r
243 }\r
244 \r
245 [wlxml-class|="uri"] {\r
246     color: blue;\r
247     text-decoration: underline;\r
248 }\r
249 \r
250 [wlxml-class|="p"] {\r
251     text-indent: 1.5em;\r
252 }\r
253 \r
254 [wlxml-class|="emph-tech"] {\r
255     font-style: italic;\r
256 }\r
257 \r
258 [wlxml-tag=document]  metadata {\r
259     display:none;\r
260 }\r
261 \r
262 .rng-hover {\r
263     border-color: red;\r
264     border-style:solid;\r
265     border-width:1px;\r
266 }\r
267 \r
268 .rng-current {\r
269     background: #fffacd;\r
270     border-color: grey;\r
271     border-style:dashed;\r
272     border-width:1px;\r
273 }