Visual editor: styling fix
[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 p,\r
72 #rng-visualEditor-sidebar td,\r
73 #rng-visualEditor-sidebar label,\r
74 #rng-visualEditor-sidebar input,\r
75 #rng-visualEditor-sidebar select {\r
76     font-size: 11px;\r
77     line-height:13px;\r
78 }\r
79 \r
80 #rng-visualEditor-sidebar select {\r
81     -webkit-appearance: button;\r
82     -moz-appearance: button;\r
83     appearance: button;\r
84     height: auto;\r
85     line-height: 14px;\r
86 }\r
87 \r
88 #rng-visualEditor-sidebar label + select {\r
89     position:relative;\r
90     top: 5px;\r
91 }\r
92 \r
93 #rng-visualEditor-sidebarButtons {\r
94             /*-webkit-transform: rotate(90deg);\r
95             -moz-transform: rotate(90deg);\r
96             -ms-transform: rotate(90deg); */\r
97             \r
98             position:absolute;\r
99             top:-1px;\r
100             right:-50px;\r
101             border-width: 1px 1px 1px 0px;\r
102             border-style: solid;\r
103             border-color: #ddd;\r
104             padding: 5px;\r
105             background: #ededed;\r
106 }\r
107 \r
108 #rng-visualEditor-sidebarButtons  ul {\r
109     margin-bottom: 0px;\r
110 }\r
111 \r
112 .rng-visualEditor-editPaneNodeForm  label {\r
113     width: 50px;\r
114     display: inline-block;\r
115 }\r
116 \r
117 .rng-visualEditor-editPaneNodeForm  select {\r
118     width: 100px;\r
119 }\r
120 \r
121 #rng-visualEditor-meta table {\r
122     margin-bottom:10px;\r
123 }\r
124 \r
125 #rng-visualEditor-meta table [contenteditable] {\r
126     cursor: pointer;\r
127 }\r
128 \r
129 #rng-visualEditor-meta table li:last-child {\r
130     border-bottom: none !important;\r
131 }\r
132 \r
133 #rng-visualEditor-meta table tr td:nth-child(1){\r
134     width: 20%;\r
135 }\r
136 \r
137 #rng-visualEditor-meta table tr td:nth-child(2)  {\r
138     width:80%;\r
139 }\r
140 \r
141 #rng-visualEditor-meta .rng-visualEditor-metaAddBtn {\r
142     float:right;\r
143     margin-right:6px;\r
144 }\r
145 \r
146 #rng-visualEditor-meta .btn{\r
147     padding:3px;\r
148     line-height:10px;\r
149 }\r
150 \r
151 #rng-sourceEditor-editor {\r
152     width: 940px;\r
153     height: 500px;\r
154 }\r
155 \r
156 [wlxml-tag] {\r
157     float: none !important; /* temporaty workaround for Bootstrap's influence via [class*="span"] { float: left; } */\r
158     border-color: white;\r
159     border-style:solid;\r
160     border-width:1px;\r
161 }\r
162 \r
163 [wlxml-tag=header] {\r
164     font-size: 14px;\r
165     font-weight: bold;\r
166     margin-bottom: 10px;\r
167 }\r
168 \r
169 [wlxml-tag=section] {\r
170     margin-top: 10px;\r
171     margin-bottom: 10px;\r
172 }\r
173 \r
174 .rng-hover {\r
175     border-color: red;\r
176     border-style:solid;\r
177     border-width:1px;\r
178 }\r
179 \r
180 .rng-current {\r
181     background: #fffacd;\r
182     border-color: grey;\r
183     border-style:dashed;\r
184     border-width:1px;\r
185 }