Ticket 818: saving reminder
[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   -moz-transform: rotate(270deg);
40   -moz-transform-origin: 50% 50%;
41   -webkit-transform: rotate(270deg);
42   -webkit-transform-origin: 50% 50%; 
43   -o-transform: rotate(-270deg);
44   -o-transform-origin:  bottom left;
45   filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
46   margin: 250px auto;
47 }
48
49 .editor {
50     position: absolute;
51     top: 0px;
52     bottom: 0;
53     left: 0;
54     right: 30px;
55     overflow: hidden;
56 }
57
58 #editor.readonly .editor {
59         right: 0px;
60 }
61
62 #html-view {
63     overflow: auto;
64     position: absolute;
65     top: 33px;
66     bottom: 0;
67     left: 0;
68     right: 0;
69         z-index: 1;
70 }
71
72 #splitter {
73         position: fixed;
74         top: 31px;
75         left: 0px;
76         right: 0px;
77         bottom: 0px;
78         overflow: hidden;
79 }
80
81
82 #header {
83         position: fixed;
84         top: 0px;
85         right: 0px;
86         left: 0px;
87         height: 30px;
88         border-bottom: 1px solid #999;
89
90     margin: 0;
91     padding: 0;
92     background-color: #C1C1C1;
93     background-image: -webkit-gradient(linear, left top, left bottom, from(#C1C1C1), color-stop(0.9, #A2A2A2));
94
95         /* Firefox 3.6 */
96         background-image: -moz-linear-gradient(top left, #C1C1C1, #A2A2A2, 90%);
97
98     font: 11px Helvetica, Verdana, sans-serif;
99     font-weight: bold;
100 }
101
102 #header.saving {
103         background-color: #E1C1C1;
104 }
105 #header.saving #save-button {
106     display: none;
107 }
108 #save-attempt-info {
109     color: #801000;
110     display: none;
111 }
112 .saving #save-attempt-info {
113     display: inline;
114 }
115
116 #header h1, #header h1 a {
117     margin: 0;
118     padding: 0;
119     font: 9px Helvetica, Verdana, sans-serif;
120     font-weight: bold;
121     float: left;
122     padding: 3px 3px 2px 3px;
123     color: #222;
124     #line-height: 20px;
125 }
126
127 #header h1 a {
128     text-decoration: none;
129     color: #222;
130 }
131
132 #header img {
133     border: 0;
134 }
135
136 .tabs {
137         overflow: hidden;
138     margin: 0;
139         padding: 0;
140         height: 31px;
141         border: 0px;
142         padding-left: 1em;
143     float: left;
144 }
145
146 #tabs-right {
147     float: right;
148     padding-right: 1em;
149 }
150
151 .tabs li {
152         height: 18px;
153         margin-top: 6px;
154         margin-bottom: 0px;
155
156     -webkit-user-select: none;
157     cursor: pointer;
158     display: block;
159     float: left;
160
161         padding-left: 12px;
162         padding-right: 12px;
163         padding-top: 5px;
164
165     font-weight: bold;
166     color: #222;
167     margin-left: 4px;
168
169     background-color: #A2A2A2;
170
171         -moz-box-shadow: 1px -1px 2px rgba(127, 127, 127, 0.25);
172     -webkit-box-shadow: 1px -1px 2px rgba(127, 127, 127, 0.25);
173
174     border: 1px solid #999;
175         border-bottom-width: 0px;
176         -moz-border-radius: 4px 4px 0px 0px;
177         -webkit-border-radius: 4px;
178     -webkit-border-bottom-left-radius: 0px;
179     -webkit-border-bottom-right-radius: 0px;
180 }
181
182 .tabs li.active {
183     background-color: #C1C1C1;
184 }
185
186 #tools {
187         float: right;
188         clear: right;
189         overflow: hidden;
190     margin: 0;
191         padding: 0;
192         height: 30px;
193         margin-right: 5px;
194         line-height: 30px;
195         font-size: 10px;
196         vertical-align: middle;
197 }
198
199 /* Remove extra padding in Firefox */
200 button::-moz-focus-inner {
201     border: 0;
202     padding: 0;
203 }
204
205 p { margin: 0;}
206
207 #body-wrap {
208     height: 100%;
209     width: 100%;
210 }
211
212 #content {
213     height: 100%;
214     width: 100%;
215 }
216
217 #loading-overlay {
218     background-color: #FFF;
219     position: absolute;
220     z-index: 1000;
221     padding: 0;
222     top: 0;
223     left: 0;
224     width: 100%;
225     height: 100%;
226 }
227
228 #loading-message {
229     position: absolute;
230     height: 20px;
231     width: 120px;
232     left: 50%;
233     margin-left: -60px;
234     top: 50%;
235     margin-top: -10px;
236 /*    text-align: center;*/
237 }
238
239 #loading-message img {
240     float: left;
241     margin-right: 10px;
242     margin-top: -6px;
243 }
244
245 /*
246  * CodeMirror
247  */
248
249 .CodeMirror-line-numbers {
250         padding: 0px;
251         padding-top: 5px;
252         text-align: right;
253         overflow: hidden;
254         width: 40px;
255         border-right: 1px solid black;
256         background-color: #e6e6fa;
257 }
258
259 .CodeMirror-line-numbers div {
260         display: block;
261         font-family:"Lucida Console", monospace;
262     font-size: 13px;
263     line-height: 18px;
264         padding-right: 5px;
265 }
266
267 img.tabclose {
268         padding-left: 8px;
269         width: 16px;
270         height: 16px;
271         vertical-align: middle;
272         vertical-align: text-bottom;
273 }
274
275 /*
276  * HTML Editor view
277  */
278
279 .htmlview {
280         z-index: 1;
281         overflow: hidden;
282 }
283
284 .htmlview *[x-editable] {
285     background-color: white;
286
287 }
288 .htmlview .active[x-editable] {
289     background-color: #FAFAFA;
290     border: 1px solid #DDD;
291 /*    -webkit-transition: all 1s linear;*/
292 }
293
294 .blockOverlay {
295         background-color: black;
296         opacity: 0.4;
297 }
298
299 .poezja_cyt {
300     margin:1.5em 2em 0;
301     font-size:0.875em
302 }
303
304 .wers_akap {
305         padding-left: 1em;
306 }
307
308 .saveNotify {
309     position:absolute; bottom:7px; left:30px; z-index:800; background-color: #E6E6E6; padding:20px; border: 1px solid black;
310 }
311
312 .notifyTip {
313     font-size:12px; float:right;
314 }
315
316 .saveNotify span {
317     font-weight: bold;
318 }