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