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