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