Visual editor: editing meta data via contenteditable instead of inputs
[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: grey;\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-meta {\r
60     float:right;\r
61 }\r
62 \r
63 #rng-visualEditor-meta table [contenteditable] {\r
64     font-size: 11px;\r
65     line-height:13px;\r
66     cursor: pointer;\r
67 \r
68 }\r
69 \r
70 #rng-visualEditor-meta table tr td:nth-child(1) [contenteditable] {\r
71     width:90px;\r
72 }\r
73 \r
74 #rng-visualEditor-meta table tr td:nth-child(2) [contenteditable]  {\r
75     width:150px;\r
76 }\r
77 \r
78 #rng-sourceEditor-editor {\r
79     width: 940px;\r
80     height: 500px;\r
81 }\r
82 \r
83 [wlxml-tag] {\r
84     float: none !important; /* temporaty workaround for Bootstrap's influence via [class*="span"] { float: left; } */\r
85     border-color: white;\r
86     border-style:solid;\r
87     border-width:1px;\r
88 }\r
89 \r
90 [wlxml-tag=header] {\r
91     font-size: 19px;\r
92     font-style: bold;\r
93     margin-bottom: 10px;\r
94 }\r
95 \r
96 [wlxml-tag=section] {\r
97     margin-top: 10px;\r
98     margin-bottom: 10px;\r
99 }\r
100 \r
101 .rng-hover {\r
102     border-color: red;\r
103     border-style:solid;\r
104     border-width:1px;\r
105 }\r
106 \r
107 .rng-current {\r
108     background: #fffacd;\r
109     border-color: grey;\r
110     border-style:dashed;\r
111     border-width:1px;\r
112 }