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

Benjamin Mako Hill || Want to submit a patch?