Major integration of Courtland's design into the QuickVotes.
[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         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 .plain-header {
156     margin: 1em -1.2em 1em -1.2em;
157 }
158
159 .header {
160         display: block;
161         font-family: "trebuchet ms",trebuchet,verdana,arial,sans-serif;
162         font-size: 30px;
163         text-transform: uppercase;
164         text-align: center;
165         color: white;
166         background-color: #999999;
167         height: 32px;
168         float: left;
169         padding: 0px .75em 0px .75em;
170         margin-right: 10px;
171         margin-bottom: 14px;
172 }
173
174 .subheader {
175         display: block;
176         font-family: "trebuchet ms",trebuchet,verdana,arial,sans-serif;
177         font-size: 18px;
178         text-align: left;
179         color: #666666;
180         background-color: #CCCCCC;
181         height: 26px;
182         padding: 6px 1em 0px 20px;
183         margin-bottom: 14px;
184 }
185
186 #main-box {
187         float: right;
188         width: 611px;
189         padding: 0;
190         background: #f9f9f9;
191         border: 1px solid #b3b3b3;
192 }
193
194 .main-content {
195         margin: 1.2em;
196         line-height: 1.5em;
197         text-color: #454545;
198 }
199
200 .main-content p, .main-content blockquote, .main-content ul {
201     margin-bottom: 1em;
202 }
203
204 blockquote {
205     margin-left: 3em;
206 }
207
208
209 /* css related to error in forms */
210
211 #errorExplanation {
212   border: 2px solid #C00;
213   width: 260px;
214   margin-bottom: 20px;
215   background-color: #f0f0f0;
216 }
217
218 #errorExplanation h2 {
219   font-size: 1em !important;
220   text-align: left;
221   font-weight: bold;
222   padding: 5px 5px 5px 5px;
223   background-color: #c00;
224   color: #fff;
225 }
226
227 #errorExplanation p {
228   font-size: 1em;
229   color: #333;
230   margin-bottom: 0;
231   padding: 5px;
232 }
233
234 #errorExplanation ul li {
235   font-size: 1em;
236   list-style: square;
237 }
238
239 .fieldWithErrors {
240     display: inline;
241 }
242 .fieldWithErrors input, .fieldWithErrors select, .fieldWithErrors textarea {
243     background-color: #FFFBB3; 
244 }
245
246 #status {
247   width: 400px;
248   border: 1px solid #0000FF;
249   border-width: 1px;
250   padding: 7px;
251   padding-bottom: 12px;
252   margin-bottom: 20px;
253   background-color: #f0f0f0;
254 }
255
256 li.moveable {
257   background-color: #E5FFCC;
258   border:1px solid #4D801A;
259   cursor: move;
260   padding: 4px;
261   margin: 4px;
262 }
263
264 #sortable_list {
265   font-size: 24pt;
266   display: float;
267   float: left;
268 }
269
270 .voterbox {
271   border-spacing: 0px;
272   border-width: 2px;
273   border-color: #4D801A;
274   border-style: solid;
275 }
276
277 .voterbox th {
278   border-width: 2px;
279   border-color: #73BF26;
280   border-style: solid;
281   text-align: center;
282   font-weight: bold;
283   padding: 5px 5px 5px 15px;
284   background-color: #73BF26;
285   color: #fff;
286 }
287
288 .voterbox td {
289   border-collapse: collapse;
290   border-width: 1px;
291   border-color: #4D801A;
292   border-style: solid;
293
294   text-align: right;
295   padding-right: 5px;
296   padding-left: 5px;
297 }
298
299 .rbmoreinfo hr {
300   width: 100%;
301   height: 10px;
302   color: #4D801A;
303 }
304 .rbmoreinfo h4 {
305   border: 0px;
306   font-style: italic;
307   text-align: center;
308   font-size: 0.9em;
309 }
310
311 .rbmoreinfo p {
312   font-size: 0.8em;
313   padding-left: 30px;
314   padding-right: 30px;
315   text-align: left;
316 }
317
318 .example {
319   width: 400px;
320   border-width: 2px;
321   border-style: solid;
322   border-color: #73BF26;
323   padding: 7px;
324   padding-bottom: 12px;
325   margin-bottom: 20px;
326   background-color: #f0f0f0;
327 }
328
329 .example h4 {
330   text-align: center;
331   font-weight: bold;
332   padding: 5px 5px 5px 15px;
333   font-size: 12px;
334   margin: -7px;
335   background-color: #73BF26;
336   color: #fff;
337   border-bottom: 0px;
338 }
339                                 
340 .example p {
341   margin-bottom: 0;
342   padding: 5px;
343 }
344
345
346 .warning {
347   width: 400px;
348   border-width: 2px;
349   border-style: solid;
350   border-color: #4D801A;
351   padding: 7px;
352   padding-bottom: 12px;
353   margin-bottom: 20px;
354   background-color: #f0f0f0;
355 }
356
357 .warning h4 {
358   text-align:
359   center;
360   font-weight:
361   bold;
362   padding: 5px 5px 5px 15px;
363   font-size: 12px;
364   margin: -7px;
365   background-color: #4D801A;
366   color: #fff;
367   border-bottom: 0px;
368 }
369
370 .warning p {
371   margin-bottom: 0;
372   padding: 5px;
373 }
374
375 #election_creation_progress_bar ul li {
376   display: block;
377   list-style: default;
378 }
379
380 #election_creation_progress_bar li.step_selected {
381   font-weight: bold;
382 }
383
384 #election_creation_progress_bar li.step_unselected {
385   color: #CCCCCC;
386   font-weight: bold;
387 }
388
389
390

Benjamin Mako Hill || Want to submit a patch?