* Improved history view (still not there).
[redakcja.git] / platforma / static / css / master.css
1 a, a:visited, a:active {
2         color: gold;
3         text-decoration: none;  
4 }
5
6 body {
7     margin: 0;
8     overflow: hidden;
9     padding: 0;
10     min-width: 960px;
11     width: 100%;
12     height: 100%;
13 }
14
15 .vsplitbar {
16     position: absolute;
17     top: 0px;
18     bottom: 0;
19     right: 0;;
20     width: 13px;
21     background: #C1C1C1 url(../img/gallery.png) no-repeat scroll center center;
22         text-
23     border-left: 1px solid #999;
24     border-right: 1px solid #999;
25     cursor: pointer;    
26 }
27
28 .vsplitbar:hover {
29         background-color: #e6e6fa;
30 }
31
32 .vsplitbar.active {
33         background-
34     
35 }
36
37 #source-editor, #simple-editor, #history-viewer {
38     position: absolute;
39     top: 0px;
40     bottom: 0;
41     left: 0;
42     right: 15px;
43     overflow: hidden;
44 }
45
46 #html-view, #history-view {
47     overflow: auto;
48     position: absolute;
49     top: 30px;
50     bottom: 0;
51     left: 0;
52     right: 0;
53         z-index: 1;
54 }
55
56 #sidebar {
57     position: absolute;
58     overflow: hidden;
59     top: 0px;
60     right: 0;
61     bottom: 0;
62     width: 0;
63     display: none;
64     background-color: #FFF;
65 }
66
67
68 #splitter {
69         position: fixed;
70         top: 31px;
71         left: 0px;
72         right: 0px;
73         bottom: 0px;
74         overflow: hidden;
75 }
76
77
78 #header {
79         position: fixed;
80         top: 0px;
81         right: 0px;
82         left: 0px;
83         height: 30px;
84         border-bottom: 1px solid #999;
85         
86     margin: 0;
87     padding: 0;
88     background-color: #C1C1C1;
89     background-image: -webkit-gradient(linear, left top, left bottom, from(#C1C1C1), color-stop(0.9, #A2A2A2));
90         
91         /* Firefox 3.6 */
92         background-image: -moz-linear-gradient(top left, #C1C1C1, #A2A2A2, 90%);
93         
94     font: 11px Helvetica, Verdana, sans-serif;
95     font-weight: bold;
96 }
97
98 #header h1, #header h1 a {
99     margin: 0;
100     padding: 0;
101     font: 17px Helvetica, Verdana, sans-serif;
102     font-weight: bold;
103     float: left;
104     padding: 3px 6px 2px 6px;
105     color: #222;
106     line-height: 20px;
107 }
108
109 #header h1 a {
110     text-decoration: none;
111     color: #222;
112 }
113
114 #tabs {
115         overflow: hidden;
116     margin: 0;
117         height: 30px;    
118         padding-left: 1em;      
119 }
120
121 #tabs li {
122         height: 24px;
123         margin-top: 6px;        
124         
125     -webkit-user-select: none;  
126     cursor: pointer;
127     display: block;
128     float: left;
129         
130         padding-left: 12px;
131         padding-right: 12px;
132         padding-top: 5px;
133         
134     font-weight: bold;
135     color: #222;
136     margin-left: 4px;    
137         
138     background-color: #A2A2A2;
139         
140         -moz-box-shadow: 1px -1px 2px rgba(127, 127, 127, 0.25);
141     -webkit-box-shadow: 1px -1px 2px rgba(127, 127, 127, 0.25);
142
143     border: 1px solid #999;     
144         -moz-border-radius: 4px 4px 0px 0px;
145         -webkit-border-radius: 4px;
146     -webkit-border-bottom-left-radius: 0px;
147     -webkit-border-bottom-right-radius: 0px;
148 }
149
150 #tabs li.active {
151     background-color: #C1C1C1;    
152 }
153
154 #tools {
155         float: right;
156         clear: right;
157         overflow: hidden;
158     margin: 0;
159         padding: 0;
160         height: 30px;  
161         margin-right: 5px;
162         line-height: 30px;
163         font-size: 10px;
164         vertical-align: middle;
165 }
166
167
168 /*
169  * Toolbars
170  */
171
172 .toolbar {
173     width: 100%;
174     border-bottom: 1px solid #777;
175     background-color: #C1C1C1;
176     margin: 0;
177     padding: 2px;
178     z-index: 100;
179 /*    height: 22px;*/
180 }
181
182 .toolbar button {
183     display: block;
184     float: left;
185     margin: 4px 0 2px 0;
186     padding: 2px 5px;
187     border: none;
188     background: none;
189 }
190
191 .toolbar button img {
192         margin: 0;
193         padding: 0;     
194         margin-bottom: -3px;
195 }
196
197
198 .toolbar select {
199     float: left;
200     margin: 1px 5px 1px 0;
201     background: none;
202     border: 1px solid #999;
203     padding: 1px;
204 }
205
206 .toolbar input {
207     float: left;
208     font-size: 11px;
209     padding: 0;
210     margin: 4px 5px 0px 5px;
211         vertical-align:baseline;
212 }
213
214 .toolbar-end {
215     clear: both;
216 }
217
218 .toolbar button:hover, .toolbar button:active {
219     background: #777;
220     color: #FFF;
221     -webkit-border-radius: 10px;
222     -moz-border-radius: 10px;
223 }
224
225 /* Remove extra padding in Firefox */
226 button::-moz-focus-inner { 
227     border: 0;
228     padding: 0;
229 }
230
231 p { margin: 0;}
232
233 /* =========== */
234 /* = Gallery = */
235 /* =========== */
236 .change-gallery-panel {
237     width: 100%;
238     border-bottom: 1px solid #777;
239     background-color: #C1C1C1;
240     margin: 0;
241     padding: 2px;
242     z-index: 10;
243 }
244
245 .gallery-image {
246     position: absolute;
247     top: 30px;
248     right: 0;
249     bottom: 0;
250     left: 0;
251     margin: 0;
252     border: none;
253     background-color: #000;
254     overflow: hidden;
255 }
256
257 .gallery-image img {
258     position: absolute;
259     -moz-drag: none;
260     user-select: none;
261     -webkit-user-select: none;
262     -khtml-user-select: none;
263     -moz-user-select: none;
264     cursor: pointer;
265 }
266
267
268 #body-wrap {
269     height: 100%;
270     width: 100%;
271 }
272 #content {
273     height: 100%;
274     width: 100%;
275 }
276
277 #loading-overlay {
278     background-color: #FFF;
279     position: absolute;
280     z-index: 1000;
281     padding: 0;
282     top: 0;
283     left: 0;
284     width: 100%;
285     height: 100%;
286 }
287
288 #loading-message {
289     position: absolute;
290     height: 20px;
291     width: 120px;
292     left: 50%;
293     margin-left: -60px;
294     top: 50%;
295     margin-top: -10px;
296 /*    text-align: center;*/
297 }
298
299 #loading-message img {
300     float: left;
301     margin-right: 10px;
302     margin-top: -6px;
303 }
304
305
306
307
308 /*
309  * CodeMirror 
310  */
311
312 .CodeMirror-line-numbers {
313         padding: 0px;
314         padding-top: 5px;               
315         text-align: right;
316         overflow: hidden;
317         width: 40px;
318         border-right: 1px solid black;
319         background-color: #e6e6fa;
320 }
321
322 .CodeMirror-line-numbers div {
323         display: block;  
324         font-family:"Lucida Console", monospace;
325     font-size: 13px;
326     line-height: 18px;
327         padding-right: 5px;
328 }
329
330 #history-view table {
331         width: 80%;
332         margin: 1em auto;       
333 }
334
335 #history-view .diff_table {
336         width: 90%;
337 }
338  
339 /* DIFFS */
340  .diff_table { 
341         border-width: 1px;
342         border-style: solid;
343         border-color: black;
344         empty-cells: show;
345         border-spacing: 0px;            
346 }
347
348 .diff_table td {
349         border-width: 0px 1px 1px 0px;
350         border-style: dotted;
351         border-color: grey;
352         
353         font-size: 10px;
354         line-height: 20px;
355         font-family: monospace;
356         padding: 0px;
357         white-space:pre-line;
358         /*word-wrap:break-word;
359         word-break:break-all; */
360 }
361
362 .diff_table th {
363         border-width: 0px 1px 1px 0px;
364         border-style: solid;
365         border-color: black;
366         background: #e5ffe5;            
367 }
368  
369 /* .diff_table td.left, .diff_table td.right {
370         width: 50%;
371 }*/
372
373 .diff_table tr.change {
374         background-color: #dcdcdc;
375         
376 }
377
378 .diff_mark {
379         display: inline-block;
380         padding: 2px;
381 }
382
383 .diff_mark_removed {
384         background-color: #ff9c94;
385 }
386
387 .diff_mark_added {
388         background-color: #90ee90;
389 }
390
391 .diff_mark_changed {
392         background-color: yellow;
393 }
394 /*
395  * HTML Editor view
396  */ 
397  
398 .htmlview {
399         z-index: 1;
400         overflow: hidden;
401 }
402
403 .htmlview *[x-editable] {
404     background-color: white;
405         
406 }
407 .htmlview .active[x-editable] {
408     background-color: #FAFAFA;
409     border: 1px solid #DDD;
410 /*    -webkit-transition: all 1s linear;*/
411 }