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