acdff30b59a552c68e5708f4536dc9ea246e937a
[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 #page-title {
156     margin: -20px -20px 1em -20px;
157 }
158
159 .plain-header {
160     margin: 1em -20px 1em -20px;
161 }
162
163 .header {
164         display: block;
165         font-family: "trebuchet ms",trebuchet,verdana,arial,sans-serif;
166         font-size: 30px;
167         text-transform: uppercase;
168         text-align: center;
169         color: white;
170         background-color: #999999;
171         height: 32px;
172         float: left;
173         padding: 0px .75em 0px .75em;
174         margin-right: 10px;
175         margin-bottom: 14px;
176 }
177
178 .subheader {
179         display: block;
180         font-family: "trebuchet ms",trebuchet,verdana,arial,sans-serif;
181         font-size: 18px;
182         text-align: left;
183         color: #666666;
184         background-color: #CCCCCC;
185         height: 26px;
186         padding: 6px 1em 0px 20px;
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 li.moveable {
255   background-color: #E5FFCC;
256   border:1px solid #4D801A;
257   cursor: move;
258   padding: 4px;
259   margin: 4px;
260 }
261
262 #sortable_list {
263   font-size: 24pt;
264   display: float;
265   float: left;
266 }
267
268 .preftable {
269         border-spacing: 0px;
270           border-width: 2px;
271           border-color: #999999;
272           border-style: solid;
273 }
274
275 .preftable th {
276         border-width: 2px;
277         border-color: #999999;
278         border-style: solid;
279         text-align: center;
280         font-weight: bold;
281         padding: 5px 5px 5px 15px;
282         background-color: #999999;
283         color: #fff;
284 }
285
286 .preftable td {
287   border-collapse: collapse;
288   border-width: 1px;
289   border-color: #999999;
290   border-style: solid;
291
292   text-align: right;
293   padding-right: 5px;
294   padding-left: 5px;
295 }
296
297 .voterbox {
298   border-spacing: 0px;
299   border-width: 2px;
300   border-color: #4D801A;
301   border-style: solid;
302 }
303
304 .voterbox th {
305   border-width: 2px;
306   border-color: #73BF26;
307   border-style: solid;
308   text-align: center;
309   font-weight: bold;
310   padding: 5px 5px 5px 15px;
311   background-color: #73BF26;
312   color: #fff;
313 }
314
315 .voterbox td {
316   border-collapse: collapse;
317   border-width: 1px;
318   border-color: #4D801A;
319   border-style: solid;
320
321   text-align: right;
322   padding-right: 5px;
323   padding-left: 5px;
324 }
325
326 .rbmoreinfo hr {
327   width: 100%;
328   height: 10px;
329   color: #4D801A;
330 }
331 .rbmoreinfo h4 {
332   border: 0px;
333   font-style: italic;
334   text-align: center;
335   font-size: 0.9em;
336 }
337
338 .rbmoreinfo p {
339   font-size: 0.8em;
340   padding-left: 30px;
341   padding-right: 30px;
342   text-align: left;
343 }
344
345 .example {
346   width: 400px;
347   border-width: 2px;
348   border-style: solid;
349   border-color: #73BF26;
350   padding: 7px;
351   padding-bottom: 12px;
352   margin-bottom: 20px;
353   background-color: #f0f0f0;
354 }
355
356 .example h4 {
357   text-align: center;
358   font-weight: bold;
359   padding: 5px 5px 5px 15px;
360   font-size: 12px;
361   margin: -7px;
362   background-color: #73BF26;
363   color: #fff;
364   border-bottom: 0px;
365 }
366                                 
367 .example p {
368   margin-bottom: 0;
369   padding: 5px;
370 }
371
372
373 .warning {
374   width: 400px;
375   border-width: 2px;
376   border-style: solid;
377   border-color: #4D801A;
378   padding: 7px;
379   padding-bottom: 12px;
380   margin-bottom: 20px;
381   background-color: #f0f0f0;
382 }
383
384 .warning h4 {
385   text-align:
386   center;
387   font-weight:
388   bold;
389   padding: 5px 5px 5px 15px;
390   font-size: 12px;
391   margin: -7px;
392   background-color: #4D801A;
393   color: #fff;
394   border-bottom: 0px;
395 }
396
397 .warning p {
398   margin-bottom: 0;
399   padding: 5px;
400 }
401
402 #election_creation_progress_bar ul li {
403   display: block;
404   list-style: default;
405 }
406
407 #election_creation_progress_bar li.step_selected {
408   font-weight: bold;
409 }
410
411 #election_creation_progress_bar li.step_unselected {
412   color: #CCCCCC;
413   font-weight: bold;
414 }
415
416
417

Benjamin Mako Hill || Want to submit a patch?