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