committed css changes from courtland fixing some headerbar wonkiness
[selectricity] / public / stylesheets / main.css
1 @charset "utf-8";
2
3 /* CSS Document */
4
5 /****************************************************************
6    Selectricity || selectricity.org
7    Design by Courtland Allen
8 *****************************************************************/
9
10 /* basics */
11  
12 body {
13         color: black;
14         background: white;
15         background: url(/images/bg_main.png) repeat-x top left;
16 }
17
18 h2 {
19         font-size: 24px !important;
20         margin: 0 0 1em 0 !important;
21 }
22
23 h3 {
24         font-size: 18px !important;
25         margin: 0 0 1em 0 !important;
26 }
27
28 .special {
29         background-color: #999999;
30         color: white;
31         text-align: center;
32         pading: 0 1em 0 1em;
33 }
34
35 label {
36     font-weight: bold;
37 }
38
39
40 /* Left column. Includes logo, poll information, and graph. */
41  
42 #left-side {
43         width: 270px;
44         float: left;
45         text-align: left;
46         margin-top: 33px;
47         font-size: 13px;
48 }
49
50 #left-side h1 {
51         height: 0px;
52         overflow: hidden;
53         padding-top: 189px;
54         background: url(/images/title_main.png) no-repeat top left;
55 }
56
57
58 #left-side-content {
59         color: #666666;
60         margin-top: 40px;
61         text-align: left;
62 }
63
64 #left-side-content p {
65         color: #666666;
66         padding-left: 2em;
67         margin: 2em 0 2em 0;
68 }
69
70 #left-side-content ol {
71         color: #666666;
72 }
73
74 /* #graph {
75         margin-top: 50px;
76         background: url(/images/graph.jpg) top left no-repeat;
77         height: 0px;
78         overflow: hidden;
79         padding-top: 243px;
80 } */
81
82
83
84 /* Right column. Includes top-bar and main-box. */
85
86 #right-side {
87         width: 611px;
88         margin-top: 0px;
89         float: right;
90 }
91  
92 #top-bar {
93         float: right;
94         margin-right: 50px;
95         width: 231px;
96         text-align: center;
97         margin-bottom: 35px;
98 }
99
100 #top-bar a {
101         color: #dddddd;
102         font-size: 11px;
103 }
104
105 div#bar-left {
106         background-image: url(/images/top_bar_1.png);
107         width: 153px;
108         height: 37px;
109         padding-top: 8px;
110         float: left;
111         clear: left;
112 }
113
114 div#bar-right {
115         background-image: url(/images/top_bar_2.png);
116         width: 78px;
117         height: 37px;
118         padding-top: 8px;
119         float: left;
120         clear: right;
121 }
122
123 .green { color: #10a700; }
124
125 .left-aligned h4 {
126         float: left;
127         padding-top: 26px;
128         height: 0px;
129         overflow: hidden;
130         background: no-repeat top left;
131 }
132
133 .right-aligned h4 {
134         float: right;
135         padding-top: 26px;
136         height: 0px;
137         overflow: hidden;
138         background: no-repeat top right;
139 }
140
141 .left-aligned { text-align: left; }
142
143 .right-aligned { text-align: right; }
144
145 h5 {
146         color: #5c5c5c;
147         background-color: #d6d6d6;
148         height: 21px;
149         font-size: 16px;
150         padding: 5px 15px 0 15px;
151         margin-bottom: .75em;
152         overflow: hidden;
153 }
154
155 #title-header {
156     margin: -20px -20px 1em -20px;
157     height: 32px;
158     margin-bottom: 14px;
159         background-color: #e5e5e5;
160 }
161
162 .normal-header {
163     margin: 0 -20px 1em -20px;
164     height: 32px;
165         background-color: #e5e5e5;
166 }
167
168 .header {
169     display: block;
170     font-family: verdana,arial,helvetica,sans-serif;
171     font-size: 30px;
172     text-transform: uppercase;
173     text-align: center;
174     color: white;
175     background-color: #999999;
176     height: 32px;
177     float: left;
178     padding: 0px .75em 0px .75em;
179 }
180
181 .subheader {
182     float: left;
183     font-family: verdana,arial,helvetica,sans-serif;
184     font-size: 18px;
185     color: #666666;
186         background-color: #e5e5e5;
187     height: 26px;
188     padding: 6px 1em 0px 10px;
189
190
191 #main-box {
192         float: right;
193         width: 571px;
194         padding: 20px;
195         background: #f9f9f9;
196         border: 1px solid #b3b3b3;
197 }
198
199 #main-box p, #main-box blockquote, #main-box ul {
200     margin-bottom: 1em;
201 }
202
203 blockquote {
204     margin-left: 3em;
205 }
206
207
208 /* css related to error in forms */
209
210 #errorExplanation {
211   border: 2px solid #C00;
212   width: 260px;
213   margin-bottom: 20px;
214   background-color: #f0f0f0;
215 }
216
217 #errorExplanation h2 {
218   font-size: 1em !important;
219   text-align: left;
220   font-weight: bold;
221   padding: 5px 5px 5px 5px;
222   background-color: #c00;
223   color: #fff;
224 }
225
226 #errorExplanation p {
227   font-size: 1em;
228   color: #333;
229   margin-bottom: 0;
230   padding: 5px;
231 }
232
233 #errorExplanation ul li {
234   font-size: 1em;
235   list-style: square;
236 }
237
238 .fieldWithErrors {
239     display: inline;
240 }
241 .fieldWithErrors input, .fieldWithErrors select, .fieldWithErrors textarea {
242     background-color: #FFFBB3; 
243 }
244
245 #status {
246   width: 400px;
247   border: 1px solid #0000FF;
248   border-width: 1px;
249   padding: 7px;
250   padding-bottom: 12px;
251   margin-bottom: 20px;
252   background-color: #f0f0f0;
253 }
254
255 li.moveable {
256   background-color: #E5FFCC;
257   border:1px solid #4D801A;
258   cursor: move;
259   padding: 4px;
260   margin: 4px;
261 }
262
263 #sortable_list {
264   font-size: 24pt;
265   display: float;
266   float: left;
267 }
268
269 .preftable {
270         border-spacing: 0px;
271           border-width: 2px;
272           border-color: #999999;
273           border-style: solid;
274 }
275
276 .preftable th {
277         border-width: 2px;
278         border-color: #999999;
279         border-style: solid;
280         text-align: center;
281         font-weight: bold;
282         padding: 5px 5px 5px 15px;
283         background-color: #999999;
284         color: #fff;
285 }
286
287 .preftable td {
288   border-collapse: collapse;
289   border-width: 1px;
290   border-color: #999999;
291   border-style: solid;
292
293   text-align: right;
294   padding-right: 5px;
295   padding-left: 5px;
296 }
297
298 .voterbox {
299   border-spacing: 0px;
300   border-width: 2px;
301   border-color: #4D801A;
302   border-style: solid;
303 }
304
305 .voterbox th {
306   border-width: 2px;
307   border-color: #73BF26;
308   border-style: solid;
309   text-align: center;
310   font-weight: bold;
311   padding: 5px 5px 5px 15px;
312   background-color: #73BF26;
313   color: #fff;
314 }
315
316 .voterbox td {
317   border-collapse: collapse;
318   border-width: 1px;
319   border-color: #4D801A;
320   border-style: solid;
321
322   text-align: right;
323   padding-right: 5px;
324   padding-left: 5px;
325 }
326
327 .rbmoreinfo hr {
328   width: 100%;
329   height: 10px;
330   color: #4D801A;
331 }
332 .rbmoreinfo h4 {
333   border: 0px;
334   font-style: italic;
335   text-align: center;
336   font-size: 0.9em;
337 }
338
339 .rbmoreinfo p {
340   font-size: 0.8em;
341   padding-left: 30px;
342   padding-right: 30px;
343   text-align: left;
344 }
345
346 .example {
347   width: 400px;
348   border-width: 2px;
349   border-style: solid;
350   border-color: #73BF26;
351   padding: 7px;
352   padding-bottom: 12px;
353   margin-bottom: 20px;
354   background-color: #f0f0f0;
355 }
356
357 .example h4 {
358   text-align: center;
359   font-weight: bold;
360   padding: 5px 5px 5px 15px;
361   font-size: 12px;
362   margin: -7px;
363   background-color: #73BF26;
364   color: #fff;
365   border-bottom: 0px;
366 }
367                                 
368 .example p {
369   margin-bottom: 0;
370   padding: 5px;
371 }
372
373
374 .warning {
375   width: 400px;
376   border-width: 2px;
377   border-style: solid;
378   border-color: #4D801A;
379   padding: 7px;
380   padding-bottom: 12px;
381   margin-bottom: 20px;
382   background-color: #f0f0f0;
383 }
384
385 .warning h4 {
386   text-align:
387   center;
388   font-weight:
389   bold;
390   padding: 5px 5px 5px 15px;
391   font-size: 12px;
392   margin: -7px;
393   background-color: #4D801A;
394   color: #fff;
395   border-bottom: 0px;
396 }
397
398 .warning p {
399   margin-bottom: 0;
400   padding: 5px;
401 }
402
403 #election_creation_progress_bar ul li {
404   display: block;
405   list-style: default;
406 }
407
408 #election_creation_progress_bar li.step_selected {
409   font-weight: bold;
410 }
411
412 #election_creation_progress_bar li.step_unselected {
413   color: #CCCCCC;
414   font-weight: bold;
415 }
416
417
418

Benjamin Mako Hill || Want to submit a patch?