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