Ticket 547, gallery sidebar title and styling
[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: 17px Helvetica, Verdana, sans-serif;
120     font-weight: bold;
121     float: left;
122     padding: 3px 6px 2px 6px;
123     color: #222;
124     line-height: 20px;
125 }
126
127 #header h1 a {
128     text-decoration: none;
129     color: #222;
130 }
131
132 .tabs {
133         overflow: hidden;
134     margin: 0;
135         padding: 0;
136         height: 31px;
137         border: 0px;
138         padding-left: 1em;
139     float: left;
140 }
141
142 #tabs-right {
143     float: right;
144     padding-right: 1em;
145 }
146
147 .tabs li {
148         height: 18px;
149         margin-top: 6px;
150         margin-bottom: 0px;
151
152     -webkit-user-select: none;
153     cursor: pointer;
154     display: block;
155     float: left;
156
157         padding-left: 12px;
158         padding-right: 12px;
159         padding-top: 5px;
160
161     font-weight: bold;
162     color: #222;
163     margin-left: 4px;
164
165     background-color: #A2A2A2;
166
167         -moz-box-shadow: 1px -1px 2px rgba(127, 127, 127, 0.25);
168     -webkit-box-shadow: 1px -1px 2px rgba(127, 127, 127, 0.25);
169
170     border: 1px solid #999;
171         border-bottom-width: 0px;
172         -moz-border-radius: 4px 4px 0px 0px;
173         -webkit-border-radius: 4px;
174     -webkit-border-bottom-left-radius: 0px;
175     -webkit-border-bottom-right-radius: 0px;
176 }
177
178 .tabs li.active {
179     background-color: #C1C1C1;
180 }
181
182 #tools {
183         float: right;
184         clear: right;
185         overflow: hidden;
186     margin: 0;
187         padding: 0;
188         height: 30px;
189         margin-right: 5px;
190         line-height: 30px;
191         font-size: 10px;
192         vertical-align: middle;
193 }
194
195 /* Remove extra padding in Firefox */
196 button::-moz-focus-inner {
197     border: 0;
198     padding: 0;
199 }
200
201 p { margin: 0;}
202
203 #body-wrap {
204     height: 100%;
205     width: 100%;
206 }
207
208 #content {
209     height: 100%;
210     width: 100%;
211 }
212
213 #loading-overlay {
214     background-color: #FFF;
215     position: absolute;
216     z-index: 1000;
217     padding: 0;
218     top: 0;
219     left: 0;
220     width: 100%;
221     height: 100%;
222 }
223
224 #loading-message {
225     position: absolute;
226     height: 20px;
227     width: 120px;
228     left: 50%;
229     margin-left: -60px;
230     top: 50%;
231     margin-top: -10px;
232 /*    text-align: center;*/
233 }
234
235 #loading-message img {
236     float: left;
237     margin-right: 10px;
238     margin-top: -6px;
239 }
240
241 /*
242  * CodeMirror
243  */
244
245 .CodeMirror-line-numbers {
246         padding: 0px;
247         padding-top: 5px;
248         text-align: right;
249         overflow: hidden;
250         width: 40px;
251         border-right: 1px solid black;
252         background-color: #e6e6fa;
253 }
254
255 .CodeMirror-line-numbers div {
256         display: block;
257         font-family:"Lucida Console", monospace;
258     font-size: 13px;
259     line-height: 18px;
260         padding-right: 5px;
261 }
262
263 img.tabclose {
264         padding-left: 8px;
265         width: 16px;
266         height: 16px;
267         vertical-align: middle;
268         vertical-align: text-bottom;
269 }
270
271 /*
272  * HTML Editor view
273  */
274
275 .htmlview {
276         z-index: 1;
277         overflow: hidden;
278 }
279
280 .htmlview *[x-editable] {
281     background-color: white;
282
283 }
284 .htmlview .active[x-editable] {
285     background-color: #FAFAFA;
286     border: 1px solid #DDD;
287 /*    -webkit-transition: all 1s linear;*/
288 }
289
290 .blockOverlay {
291         background-color: black;
292         opacity: 0.4;
293 }
294
295 .poezja_cyt {
296     margin:1.5em 2em 0;
297     font-size:0.875em
298 }
299
300 .wers_akap {
301         padding-left: 1em;
302 }