fixed colors on graphs
[selectricity-live] / 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   text-align: center;
76 }
77
78 /* Right column. Includes top-bar and main-box. */
79
80 #right-side {
81         width: 611px;
82         margin-top: 0px;
83         float: right;
84 }
85  
86 #top-bar {
87         float: right;
88         margin-right: 50px;
89         width: 231px;
90         text-align: center;
91         margin-bottom: 35px;
92 }
93
94 #top-bar a {
95         color: #dddddd;
96         font-size: 11px;
97 }
98
99 div#bar-left {
100         background-image: url(/images/top_bar_1.png);
101         width: 153px;
102         height: 37px;
103         padding-top: 8px;
104         float: left;
105         clear: left;
106 }
107
108 div#bar-right {
109         background-image: url(/images/top_bar_2.png);
110         width: 78px;
111         height: 37px;
112         padding-top: 8px;
113         float: left;
114         clear: right;
115 }
116
117 .green { color: #10a700; }
118
119 .left-aligned h4 {
120         float: left;
121         padding-top: 26px;
122         height: 0px;
123         overflow: hidden;
124         background: no-repeat top left;
125 }
126
127 .right-aligned h4 {
128         float: right;
129         padding-top: 26px;
130         height: 0px;
131         overflow: hidden;
132         background: no-repeat top right;
133 }
134
135 .left-aligned { text-align: left; }
136
137 .right-aligned { text-align: right; }
138
139 h5 {
140         color: #5c5c5c;
141         background-color: #d6d6d6;
142         height: 21px;
143         font-size: 16px;
144         padding: 5px 15px 0 15px;
145         margin-bottom: .75em;
146         overflow: hidden;
147 }
148
149 #title-header {
150     margin: -20px -20px 14px -20px;
151     height: 34px;
152         background-color: #e5e5e5;
153 }
154
155 .normal-header {
156     margin: 1.3em -20px 1.3em -20px;
157     height: 34px;
158         background-color: #e5e5e5;
159 }
160
161 .header {
162     display: block;
163     font-family: verdana,arial,helvetica,sans-serif;
164     font-size: 30px;
165     text-transform: uppercase;
166     text-align: center;
167     color: white;
168     background-color: #999999;
169     height: 34px;
170     float: left;
171     padding: 0px .75em 0px .75em;
172 }
173
174 .subheader {
175     float: left;
176     font-family: verdana,arial,helvetica,sans-serif;
177     font-size: 18px;
178     color: #666666;
179         background-color: #e5e5e5;
180     /* height: 26px; */
181     padding: 6px 0px 0px 10px;
182     margin-bottom: 14px;
183
184
185 #main-box {
186         float: right;
187         width: 571px;
188         padding: 20px;
189         background: #f9f9f9;
190         border: 1px solid #b3b3b3;
191 }
192
193 #main-box p, #main-box blockquote, #main-box ul {
194     margin-bottom: 1em;
195 }
196
197 blockquote {
198     margin-left: 3em;
199 }
200
201
202 /* css related to error in forms */
203
204 #errorExplanation {
205   border: 2px solid #C00;
206   width: 260px;
207   margin-bottom: 20px;
208   background-color: #f0f0f0;
209 }
210
211 #errorExplanation h2 {
212   font-size: 1em !important;
213   text-align: left;
214   font-weight: bold;
215   padding: 5px 5px 5px 5px;
216   background-color: #c00;
217   color: #fff;
218 }
219
220 #errorExplanation p {
221   font-size: 1em;
222   color: #333;
223   margin-bottom: 0;
224   padding: 5px;
225 }
226
227 #errorExplanation ul li {
228   font-size: 1em;
229   list-style: square;
230 }
231
232 .fieldWithErrors {
233     display: inline;
234 }
235 .fieldWithErrors input, .fieldWithErrors select, .fieldWithErrors textarea {
236     background-color: #FFFBB3; 
237 }
238
239 #status {
240   width: 400px;
241   border: 1px solid #0000FF;
242   border-width: 1px;
243   padding: 7px;
244   padding-bottom: 12px;
245   margin-bottom: 20px;
246   background-color: #f0f0f0;
247 }
248
249 .result_table {
250  text-align: center;
251  margin-bottom: 1em;
252 }
253
254 .voterbox {
255   border-spacing: 0px;
256   border-width: 2px;
257   border-color: #4D801A;
258   border-style: solid;
259 }
260
261 .voterbox th {
262   border-width: 2px;
263   border-color: #73BF26;
264   border-style: solid;
265   text-align: center;
266   font-weight: bold;
267   padding: 5px 5px 5px 15px;
268   background-color: #73BF26;
269   color: #fff;
270 }
271
272 .voterbox td {
273   border-collapse: collapse;
274   border-width: 1px;
275   border-color: #4D801A;
276   border-style: solid;
277
278   text-align: right;
279   padding-right: 5px;
280   padding-left: 5px;
281 }
282
283 /* voterbox#election is used on user summary page */
284 .voterbox#election { border-color: #990d13; }
285
286 .voterbox#election th {
287          background-color: #dc0d13;
288          border-color: #dc0d13; 
289 }
290         
291 .voterbox#election td { border-color: #990d13;}
292
293 .rbmoreinfo hr {
294   width: 100%;
295   height: 10px;
296   color: #4D801A;
297 }
298 .rbmoreinfo h4 {
299   border: 0px;
300   font-style: italic;
301   text-align: center;
302   font-size: 0.9em;
303 }
304
305 .rbmoreinfo p {
306   font-size: 0.8em;
307   padding-left: 30px;
308   padding-right: 30px;
309   text-align: left;
310 }
311
312 .example {
313   width: 400px;
314   border-width: 2px;
315   border-style: solid;
316   border-color: #999999;
317   padding: 7px;
318   padding-bottom: 12px;
319   margin-bottom: 20px;
320   background-color: #f0f0f0;
321 }
322
323 .example h4 {
324   text-align: center;
325   font-weight: bold;
326   padding: 5px 5px 5px 15px;
327   font-size: 12px;
328   margin: -7px;
329   background-color: #999999;
330   color: #fff;
331   border-bottom: 0px;
332 }
333                                 
334 .example p {
335   margin-bottom: 0;
336   padding: 5px;
337 }
338
339
340 .warning {
341   width: 400px;
342   border-width: 2px;
343   border-style: solid;
344   border-color: #dc0d13;
345   padding: 7px;
346   padding-bottom: 12px;
347   margin-bottom: 20px;
348   background-color: #f0f0f0;
349 }
350
351 .warning h4 {
352   text-align:
353   center;
354   font-weight:
355   bold;
356   padding: 5px 5px 5px 15px;
357   font-size: 12px;
358   margin: -7px;
359   background-color: #dc0d13;
360   color: #fff;
361   border-bottom: 0px;
362 }
363
364 .warning p {
365   margin-bottom: 0;
366   padding: 5px;
367 }
368
369 #progress_bar ul li {
370   display: block;
371   list-style: default;
372 }
373
374 #progress_bar li.step_selected {
375   font-weight: bold;
376 }
377
378 #progress_bar li.step_unselected {
379   color: #CCCCCC;
380   font-weight: bold;
381 }
382
383 #progress_bar li.step_unselected {
384   color: #CCCCCC;
385   font-weight: bold;
386 }
387
388 #progress_bar li.step_unselected a {
389   text-decoration: none;
390 }
391
392 div.photo {
393  text-align: center;
394  margin-bottom: 1.5em;
395 }
396
397 div.photo img {
398  border: 1px black solid;
399 }
400
401 .winner_text {
402  text-align: center;
403 }
404
405 #winner_box {
406  border: 3px white solid;
407  background-color: #666666;
408  color: white; 
409  margin: 0.5em 0 1em 0;
410 }
411
412 .winner_text {
413  font-size: 1.2em;
414 }
415 #winner_box .winner_text {
416  font-size: 2em;
417 }
418
419 #winner_box p {
420  margin: 0;
421  padding: 0;
422 }
423
424 /* main election candidate stylesheet information */
425
426 .candidate_box {
427 }
428 .candidate_box_name {
429  float: left;
430  font-size: 1.3em;
431  font-weight: bold;
432 }
433 .candidate_box_menu {
434  text-align: right;
435  float: right;
436  font-size: 0.8em;
437  font-weight: bold;
438 }
439 .candidate_box_info {
440  margin: 0.5em 0 0.5em 3em;
441 }
442 /*.candidate_box_picture {
443  width: 100px;
444  float: left;
445  margin: 0 0.8em 0.5em 0;
446 }*/
447 .candidate_box_picture img {
448  width: 100px;
449  border: 1px solid black;
450 }
451 .candidate_box_description {
452  display: inline;
453 }

Benjamin Mako Hill || Want to submit a patch?