8df3f738c02179446d72c762d87678e5d667bbf9
[fnpeditor.git] / editor.css
1 body {\r
2     padding-top: 5px;\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 {\r
15     position: relative;\r
16 }\r
17 \r
18 #rng-skelton-menu {\r
19     float: right;\r
20 }\r
21 \r
22 #rng-skelton-messages {\r
23     position: absolute;\r
24     top: -22px;\r
25     width:100%;\r
26     text-align:center;\r
27 }\r
28 \r
29 #rng-skelton-messages span {\r
30     font-weight: bold;\r
31     background: #f9edbe;\r
32     padding: 2px 5px;\r
33     border: solid 1px #f6e39c;\r
34 }\r
35 \r
36 #rng-skelton-menu ul {\r
37     list-style-type: none;\r
38 }\r
39 \r
40 .rng-visualEditor-nodeHoverTag {\r
41     position:absolute;\r
42     height:20px;\r
43     top:-20px;\r
44     left:0;\r
45     background: #bd362f;\r
46     color: white;\r
47     font-size:9px;\r
48     font-weight: normal;\r
49     font-style: normal;\r
50     font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;\r
51     padding: 0 5px;\r
52     text-indent: 0;\r
53 }\r
54 \r
55 #rng-visualEditor-mainArea {\r
56     margin-top:10px;\r
57 }\r
58 \r
59 #rng-visualEditor-contentWrapper {\r
60     border-color: #ddd;\r
61     border-style: solid;\r
62     border-width: 1px;\r
63     float:left;\r
64     width: 600px;\r
65     height: 450px;\r
66     overflow-y: scroll;\r
67     padding: 5px 10px;\r
68 }\r
69 \r
70 #rng-visualEditor-contentWrapper::-webkit-scrollbar,\r
71 #rng-visualEditor-editPaneNavigation::-webkit-scrollbar\r
72 {\r
73     width: 9px;\r
74 }\r
75  \r
76 #rng-visualEditor-contentWrapper::-webkit-scrollbar-track,\r
77 #rng-visualEditor-editPaneNavigation::-webkit-scrollbar-track\r
78  {\r
79     -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); \r
80     -webkit-border-radius: 10px;\r
81     border-radius: 10px;\r
82 }\r
83 \r
84 #rng-visualEditor-contentWrapper::-webkit-scrollbar-thumb,\r
85 #rng-visualEditor-editPaneNavigation::-webkit-scrollbar-thumb\r
86 {\r
87     -webkit-border-radius: 10px;\r
88     border-radius: 10px;\r
89     background: rgba(73,175,205,0.8); \r
90     -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); \r
91 }\r
92 #rng-visualEditor-contentWrapper::-webkit-scrollbar-thumb:window-inactive,\r
93 #rng-visualEditor-editPaneNavigation::-webkit-scrollbar-thumb:window-inactive\r
94  {\r
95     background: rgba(73,175,205,0.4); \r
96 }\r
97 \r
98 \r
99 #rng-visualEditor-content {\r
100 \r
101     outline: 0px solid transparent;\r
102 }\r
103 \r
104 #rng-visualEditor-sidebar {\r
105     float:right;\r
106     width: 266px;\r
107     height:450px;\r
108     position:relative;\r
109     border-width: 1px 1px 1px 1px;\r
110     border-style: solid;\r
111     border-color: #ddd;\r
112     padding: 5px 15px;\r
113 \r
114 }\r
115 \r
116 #rng-visualEditor-sidebar,\r
117 #rng-visualEditor-sidebar p,\r
118 #rng-visualEditor-sidebar td,\r
119 #rng-visualEditor-sidebar label,\r
120 #rng-visualEditor-sidebar input,\r
121 #rng-visualEditor-sidebar select {\r
122     font-size: 11px;\r
123     line-height:13px;\r
124 }\r
125 \r
126 #rng-visualEditor-sidebar select {\r
127     -webkit-appearance: button;\r
128     -moz-appearance: button;\r
129     appearance: button;\r
130     height: auto;\r
131     line-height: 14px;\r
132 }\r
133 \r
134 #rng-visualEditor-sidebar label + select {\r
135     position:relative;\r
136     top: 5px;\r
137 }\r
138 \r
139 #rng-visualEditor-sidebarButtons {\r
140             /*-webkit-transform: rotate(90deg);\r
141             -moz-transform: rotate(90deg);\r
142             -ms-transform: rotate(90deg); */\r
143             \r
144             position:absolute;\r
145             top:-1px;\r
146             right:-50px;\r
147             border-width: 1px 1px 1px 0px;\r
148             border-style: solid;\r
149             border-color: #ddd;\r
150             padding: 5px;\r
151             background: #ededed;\r
152 }\r
153 \r
154 #rng-visualEditor-sidebarButtons  ul {\r
155     margin-bottom: 0px;\r
156 }\r
157 \r
158 .rng-visualEditor-editPaneNodeForm  label ,\r
159 .rng-visualEditor-editPaneSelectionForm  label\r
160 {\r
161     width: 50px;\r
162     display: inline-block;\r
163 }\r
164 \r
165 .rng-visualEditor-editPaneNodeForm  select,\r
166 .rng-visualEditor-editPaneSelectionForm  select\r
167  {\r
168     width: 100px;\r
169 }\r
170 \r
171 \r
172 \r
173 #rng-visualEditor-toolbar {\r
174     margin: -15px 0 10px 0;\r
175     white-space:nowrap; \r
176     word-spacing:0;\r
177 }\r
178 \r
179 #rng-visualEditor-toolbar select {\r
180     line-height: 14px;\r
181     font-size:9px;\r
182     height: auto;\r
183     width: 50px;\r
184     padding: 1px;\r
185 -webkit-appearance: button;\r
186 -moz-appearance: button;\r
187 appearance: button;\r
188     margin-bottom: 0;\r
189 }\r
190 \r
191 .rng-visualEditor-toolbarGroup {\r
192     border-width: 0 1px 0 0;\r
193     border-style: solid;\r
194     border-color: #ddd;\r
195     padding: 0 8px 0 0;\r
196     margin: 0 8px 0 0;\r
197     float:left;\r
198 }\r
199 \r
200 #rng-visualEditor-statusbar {\r
201     margin: 10px 5px;\r
202     font-size:0.9em;\r
203 }\r
204 \r
205 .rng-visualEditor-sidebarContentItem fieldset {\r
206     margin-bottom: 10px;\r
207 }\r
208 \r
209 .rng-visualEditor-sidebarContentItem  legend {\r
210     font-size:11px;\r
211     height:30px;\r
212 }\r
213 \r
214 #rng-visualEditor-meta table {\r
215     margin-bottom:10px;\r
216 }\r
217 \r
218 #rng-visualEditor-meta table [contenteditable] {\r
219     cursor: pointer;\r
220 }\r
221 \r
222 #rng-visualEditor-meta table li:last-child {\r
223     border-bottom: none !important;\r
224 }\r
225 \r
226 #rng-visualEditor-meta table tr td:nth-child(1){\r
227     width: 20%;\r
228 }\r
229 \r
230 #rng-visualEditor-meta table tr td:nth-child(2)  {\r
231     width:80%;\r
232 }\r
233 \r
234 #rng-visualEditor-meta .rng-visualEditor-metaAddBtn {\r
235     float:right;\r
236     margin-right:6px;\r
237 }\r
238 \r
239 #rng-visualEditor-meta .btn{\r
240     padding:3px;\r
241     line-height:10px;\r
242 }\r
243 \r
244 #rng-visualEditor-editPaneNavigation {\r
245     overflow-y: scroll;\r
246     max-height: 150px;\r
247     width:100%;\r
248     margin-top:10px;\r
249 }\r
250 #rng-visualEditor-editPaneNavigation table {\r
251     width: 90%;\r
252     margin: 0;\r
253 }\r
254 #rng-visualEditor-editPaneNavigation table tr td:nth-child(1) {\r
255     width: 30%;\r
256 }\r
257 #rng-visualEditor-editPaneNavigation table tr td:nth-child(2) {\r
258     width: 70%;\r
259 }\r
260 \r
261 #rng-visualEditor-editPaneNavigation table tr td ul {\r
262     list-style-type: none;\r
263     margin: 0;\r
264 }\r
265 #rng-sourceEditor-editor {\r
266     width: 940px;\r
267     height: 500px;\r
268 }\r
269 \r
270 [wlxml-tag] {\r
271     float: none !important; /* temporaty workaround for Bootstrap's influence via [class*="span"] { float: left; } */\r
272     border-color: white;\r
273     border-style:solid;\r
274     border-width:1px;\r
275     min-height:20px;\r
276     position:relative;\r
277 }\r
278 \r
279 span[wlxml-tag] {\r
280     display:inline-block;\r
281     min-width: 10px;\r
282 }\r
283 \r
284 [wlxml-tag=header] {\r
285     font-size: 13px;\r
286     font-weight: bold;\r
287     margin-bottom: 10px;\r
288 }\r
289 \r
290 [wlxml-tag=section] {\r
291     margin-top: 10px;\r
292     margin-bottom: 10px;\r
293 }\r
294 \r
295 [wlxml-class|="cite"] {\r
296     font-style: italic;\r
297 }\r
298 \r
299 [wlxml-class|="cite-code"] {\r
300     font-family: monospace;\r
301 }\r
302 \r
303 [wlxml-class|="cite-code-xml"] {\r
304     color: blue;\r
305 }\r
306 \r
307 [wlxml-tag=header] > [wlxml-class=author] {\r
308     font-size: 14px;\r
309 }\r
310 \r
311 [wlxml-tag=header] > [wlxml-class=title] {\r
312     font-size:18px;\r
313 }\r
314 \r
315 [wlxml-class|="uri"] {\r
316     color: blue;\r
317     text-decoration: underline;\r
318 }\r
319 \r
320 [wlxml-class|="p"] {\r
321     text-indent: 1.5em;\r
322 }\r
323 \r
324 [wlxml-class|="emph-tech"] {\r
325     font-style: italic;\r
326 }\r
327 \r
328 [wlxml-tag]  metadata {\r
329     display:none;\r
330 }\r
331 \r
332 .rng-hover {\r
333     border-color: red;\r
334     border-style:solid;\r
335     border-width:1px;\r
336 }\r
337 \r
338 .rng-current {\r
339     background: #fffacd;\r
340     border-color: grey;\r
341     border-style:dashed;\r
342     border-width:1px;\r
343 }