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

Benjamin Mako Hill || Want to submit a patch?