Fix #31: Replace notify with gritter. Also solved a problem with the div
[e_cidadania.git] / src / e_cidadania / static_files / css / screen.css
blobb05a9898f265c96f38afd4d63eac09a327fe49e8
1 /*
2 Copyright (c) 2010-2012 CidadanĂ­a Coop.
3 Written by: Oscar Carballal Prego <oscar.carballal@cidadania.coop>
5 This file is part of the e-cidadania.
7 Distributed under terms of the GPLv3 license.
8 */
10 /* HTML TAGS DEFINITION */
12 body {
13 background: #FAFAFA;
14 padding: 0;
15 margin: 0;
16 font-family: 'Duru Sans', Verdana, "Lucida Sans", Arial;
17 font-size: 12px;
18 color: #000;
19 cursor: default;
22 a {
23 text-decoration: none;
26 img {
27 border: none;
30 textarea {
31 width: 510px;
32 margin: 10px;
34 /* END HTML TAGS DEFINITION */
36 /* COMMON CUSTOMIZATIONS */
37 hr { /* This hr replaces the bootstrap one */
38 border-bottom: 1px solid #DDD;
41 .hidden {
42 display: none;
45 .error {
46 background: #DDBBBB;
47 border: 1px solid #FF6666;
50 .help-inline {
51 display: inline-block;
52 *display: inline;
53 *zoom: 1;
54 margin-bottom: 9px;
55 vertical-align: middle;
56 padding-left: 5px;
57 color: #F00;
60 .nounderline:hover {
61 text-decoration: none;
64 .popover {
65 color: #222;
68 #logo {
69 float: left;
70 /* The logo image must be 75px height */
71 width: 150px;
72 height: 105px;
73 padding: 25px 37px 0px 37px;
76 #banner {
77 float: left;
78 height: 105px;
79 padding-top: 25px;
82 #jsnotify {
83 margin-top: 45px;
86 .mainfooter {
87 position: fixed;
88 bottom: 0;
89 padding-top: 5px;
90 padding-bottom: 5px;
91 width: 100%;
92 margin: auto;
93 color: #EEE;
94 background: #000;
95 opacity: 0.8;
96 border: none;
97 font-size: 10px;
100 .mainfooter a {
101 text-decoration: none;
104 .centered {
105 height: 400px;
106 position: absolute;
107 top: 20%;
108 margin-top: -200px;
111 #gritter-notice-wrapper {
112 background: #000;
113 opacity: 0.8;
114 -webkit-border-radius: 5px;
115 -moz-border-radius: 5px;
116 border-radius: 5px;
117 margin-top: 10px;
119 /* END COMMON CUSTOMIZATIONS */
121 /* BOOTSTRAP OVERRIDES */
122 .modal {
123 width: 700px;
124 height: 500px;
125 margin: -250px 0 0 -350px;
126 overflow: auto;
128 /* END BOOTSTRAP OVERRIDES */
130 /* MAIN INDEX */
131 .introtitle {
132 font-size: 3em;
135 .languageform {
136 margin:0px;
139 .indexrow {
140 width: 960px;
141 margin: 0px auto;
144 .indexblock {
145 width: 91%;
146 padding: 1% 4%;
147 padding: 40px 4.52%;
148 box-shadow: 0 -1px 1px #AAA;
151 .one {
152 background: #333;
153 border-top: 1px solid #444;
154 border-bottom: 1px solid #999;
155 box-shadow: 0 -1px 1px #AAA;
156 margin-top:25px;
159 .two {
160 background: #EFEFEF;
161 border-top: 1px solid #EFEFEF;
162 border-bottom: 1px solid #999;
163 box-shadow: 0 -1px 1px #AAA;
166 .three {
167 background: #FFF;
168 border-top: 1px solid #EFEFEF;
169 box-shadow: 0 -2px 2px #AAA;
172 .languageform img {
173 float:left;
174 padding-right:15px;
176 /* END MAIN INDEX */
178 /* SPACE INDEX */
179 .posttitle {
180 border-bottom: 1px solid #DDD;
181 font-weight:normal;
184 .postinfo {
185 margin-top: -10px;
186 padding-top: 5px;
187 padding-bottom: 5px;
188 border-bottom: 1px solid #DDD;
189 background: #EEE;
191 /* END SPACE INDEX */
193 /* NEWS LIST/ARCHIVE */
194 .listitem {
195 width: 100%;
196 color: #000;
197 margin: 20px 0 20px 0;
200 .listmonth {
201 font-size: 2em;
202 text-transform: uppercase;
205 .listdate {
206 font-size: 1.5em;
207 color: #000;
208 float: left;
209 padding: 10px;
210 border-right: 1px solid #DDD;
211 margin-right: 10px;
214 .listtitle {
215 font-size: 1.5em;
216 color: #000;
217 padding: 10px;
219 /* END NEWS LIST/ARCHIVE */
221 /* COMMENT LIST */
222 .comment {
223 border-right: 1px solid #DDD;
224 border-left: 1px solid #DDD;
225 border-bottom: 1px solid #DDD;
226 padding-bottom: 8px;
227 margin-bottom: 10px;
230 .comment_data {
231 background: #EEE;
232 border-top: 1px solid #DDD;
233 border-bottom: 1px solid #DDD;
234 padding: 5px;
235 margin-bottom: 15px;
238 .comment_text {
239 padding: 0px 10px 0px 10px;
242 .commentform {
243 border: 1px solid #DDD;
244 background: #EEE;
245 padding: 20px 0 20px 0;
247 #comments {
248 margin-top: 40px;
251 #ctitle {
252 font-size: 2em;
253 margin-left: 10px;
254 margin-bottom: 15px;
257 #comment {
258 margin: 10px;
261 #comment .comment_text {
262 margin: 20px;
263 font-size: 14px;
266 #comment .comment_data {
267 margin: 5px;
268 -webkit-border-radius: 5px;
269 -moz-border-radius: 5px;
270 border-radius: 5px;
271 background: #CCC;
272 padding: 5px;
275 /* END COMMENT LIST*/
277 /* PROPOSAL STYLES */
278 .proposal-wrapper {
279 background: none;
280 border: 1px solid #DDD;
281 padding: 10px;
282 /* Fancy round borders for Webkit, Gecko and standard
283 implementations */
284 border-bottom-left-radius: 7px;
285 border-bottom-right-radius: 7px;
286 -moz-border-radius-bottomleft: 7px;
287 -moz-border-radius-bottomright: 7px;
288 -webkit-border-bottom-left-radius: 7px;
289 -webkit-border-bottom-right-radius: 7px;
292 #votes {
293 float: left;
294 display: block;
295 text-align: center;
296 width: 50px;
297 height: 50px;
298 margin: 10px;
301 #proposal {
302 float: left;
303 margin: 10px;
304 width: 80%;
307 .proposal-title {
308 font-size: 1.7em;
309 margin-bottom: 10px;
313 .proposal-message {
314 margin-bottom: 10px;
315 font-size: 12px;
318 .proposal-creator {
319 font-size: 10px;
320 font-style: italic;
321 margin-bottom: 5px;
325 .map, #proposalmap {
326 width: 400px;
327 height: 350px;
330 .map img {
331 max-width:none;
333 /* END PROPOSAL STYLES */
335 /* NEWS */
336 .post {
337 width: 100%;
338 /* border-bottom: 5px solid #aaa;*/
339 background: #EEE;
340 margin: 20px 5px 20px 5px;
341 padding: 5px;
342 -webkit-border-top-left-radius: 20px;
343 -webkit-border-bottom-right-radius: 20px;
344 -moz-border-radius-topleft: 20px;
345 -moz-border-radius-bottomright: 20px;
346 border-top-left-radius: 20px;
347 border-bottom-right-radius: 20px;
348 overflow: hidden;
351 .post h1 {
352 padding-bottom: 3px;
353 margin: -30px 15px 20px 15px;
354 font-size: 2em;
355 font-family: 'SansationRegular';
356 border-bottom: 3px solid #999;
357 margin-top: 5px;
360 .post h4 {
361 font-size: 0.95em;
362 color: #000;
363 margin-top: -12px;
364 margin-left: 16px;
365 font-weight: normal;
367 .post a {
368 color: #333;
371 .post a:hover {
372 color: #aaa;
373 text-decoration: underline;
376 .post p {
377 font-size: 1em;
378 text-indent: 15px;
379 text-align: justify;
380 margin: 15px;
383 .post img {
384 margin: 10px;
388 /* END NEWS */
390 /* PAGES */
391 .buttons {
392 margin-top: -10px;
394 .pageinfo {
395 font-size: 9px;
396 float: right;
397 color: #555;
398 margin: 20px 10px 20px 10px;
399 text-shadow: 1px 1px 1px #FFF;
400 clear: both;
403 .pagebutton {
404 font-size: 1em;
405 padding: 6px 10px;
406 margin: 10px;
407 background: #DDD;
408 border: 1px solid #AAA;
409 color: #444;
410 /*-webkit-border-radius: 5px;
411 -moz-border-radius: 5px;
412 border-radius: 5px;*/
415 /* CALENDAR */
416 tbody td {
417 background: #EEE;
418 text-align: right;
419 width: 50px;
420 border: 2px solid #FFF;
421 padding: 5px;
424 tbody tr .month {
425 font-size: 1.6em;
426 font-weight: normal;
427 background: #999;
428 font-family: "SansationRegular";
429 color: #FFF;
430 padding: 10px;
433 th.mon, th.tue, th.wed, th.thu, th.fri, th.sat, th.sun {
434 height: 50px;
435 width: 50px;
436 line-height: 50px;
437 background: #CCC;
438 text-align: left;
439 font-size: 1.2em;
440 padding-left: 15px;
441 border: 2px solid #FFF;
444 td.mon, td.tue, td.wed, td.thu, td.fri, td.sat, td.sun {
445 font-size: 1.3em;
446 padding: 15px;
449 td.mon:hover, td.tue:hover, td.wed:hover, td.thu:hover, td.fri:hover, td.sat:hover, td.sun:hover {
450 background: #FFF;
453 td.filled ul li {
454 text-align: left;
455 margin-bottom: 10px;
458 td.filled ul li a {
459 color: #666;
460 text-decoration: underline;
461 font-size: 0.8em;
464 .noday {
465 background: #FAFAFA;
468 .filled {
469 background: #DDF;
472 .today {
473 background: #FFA;
474 border: 3px solid #DD0;
476 /* END CALENDAR */
478 /* DEBATE */
479 .specialmargin {
480 width: 90%;
481 padding: 1% 4%;
482 background: #222;
483 border-top: 1px solid #999;
484 border-bottom: 1px solid #999;
485 padding: 40px 4.52%;
486 overflow: hidden;
489 #debate, #debate td {
490 border-style: none;
493 .note #view-note a {
494 color: #000;
495 padding: 0px 5px 0px 5px;
498 .note #edit-note a {
499 color: #000;
500 padding: 0px 5px 0px 5px;
503 #debate td, th {
504 border-width: 1px;
505 border-spacing: 0px;
506 border-style: inset;
507 border-color: #CCC;
508 border-collapse: collapse;
511 tbody td {
512 width: 0;
515 tbody td.criteria-title, tbody th.criteria-title {
516 width: 160px;
519 .handler {
520 float: left;
521 height: 18px;
522 width: 110px;
523 background-color: rgba(255, 255, 255, 0.6);
524 /*background-color: #867794;*/
525 margin: -5px 0px 0px -5px;
528 .deletenote a {
529 text-decoration: none;
530 color: #F00;
531 padding: 0px 5px 0px 5px;
534 .deletenote a:hover {
535 text-decoration: none;
536 color: #F00;
539 .note, .note-alpha {
540 background-color: #dbdbfb; /*#b9a6cf; /*url('../assets/note.png');*/
541 font-size: 0.8em;
542 width: 100px;
543 height: 100px;
544 float: left;
545 margin: 5px;
546 padding: 5px;
547 -webkit-box-shadow: 0 2px 12px rgba(128,128,128,.5);
548 -moz-box-shadow: 0 2px 12px rgba(128,128,128,.5);
549 box-shadow: 0 1px 1px #888;
550 /*-webkit-transform: rotate(-2deg);
551 -moz-transform: rotate(-2deg);
552 -o-transform: rotate(-2deg);*/
555 #debate th {
556 border: none;
559 .note-text {
560 font-size: 1em;
563 .mine {
564 background-color: #FFFF99;
567 .note-alpha {
568 opacity: 0.5;
571 tbody * ul {
572 width: 100%;
573 min-height: 50px;
574 min-width: 50px;
577 #debate td, #debate th {
578 vertical-align: middle;
579 text-align: center;
582 #new-column-btn, #new-row-btn, #del-column-btn, #del-row-btn {
583 margin-right: 5px;
586 #contenttitles h2 {
587 margin-bottom: 20px;
591 #new-column-btn, #del-column-btn {
592 float: right;
595 #debate-tutorial {
596 margin: 0 auto;
599 .note textarea {
600 width: 80px;
601 height: 70px;
602 background: transparent;
603 border: none;
604 color: #000;
607 table .criteria-title {
608 width: 100px;
611 #debate td:first-child {
614 .debate-ttitle {
615 margin: 1px -10px;
616 border-top: 1px solid #CCC;
617 border-bottom: 1px solid #CCC;
618 border-left: 1px solid #CCC;
619 padding: 40px 10px;
620 width: 150px;
621 background: #EEE;
622 -webkit-border-top-left-radius: 10px;
623 -webkit-border-bottom-left-radius: 10px;
624 -moz-border-radius-topleft: 10px;
625 -moz-border-radius-bottomleft: 10px;
626 border-top-left-radius: 10px;
627 border-bottom-left-radius: 10px;
630 .criteria-title {
631 padding: 5px 0px 5px 0px;
634 #debate thead th {
635 padding: 5px 5px 5px 5px;
636 background: #EEE;
637 border-top: 1px solid #CCC;
638 border-left: 1px solid #CCC;
639 border-right: 1px solid #CCC;
640 width: 150px;
643 #debate input {
644 /* width: 100px;
645 text-align: center;*/
646 margin: 0;
649 .dynamic-form input {
650 width: 100px;
653 #debate-ttitle input {
656 #corner.corner-criteria {
657 background: transparent;
658 border: none;
661 .criteria-vtitle {
662 background-color: #eee;
663 border-top:1px solid #ccc;
664 border-left: 1px solid #ccc;
665 border-right: 1px solid #ccc;
666 width: 201px;
667 height:42px;
670 .delete-row {
673 #buttons {
674 background: transparent;
677 #debate3 {
678 margin-bottom: 30px;
681 table {
682 border-radius:10px;
683 -webkit-border-radius: 0 0 10px 10px;
684 -moz-border-radius: 0 0 10px 10px;
687 .criteria-htitle {
688 height: 125px;
689 vertical-align: middle;
690 border: 0 !important;
691 background: url('/static/assets/table/row.png') no-repeat left center;
694 #contenttitles {
695 margin-bottom: 20px;
698 /* Hide the links added by the jquery plugin - we will use our own */
699 #debate table a.delete-row, #debate table a.add-row {
700 display:none;
702 /* END DEBATE */
704 /* VOTES AND POLLS */
705 .add-row.btn.primary.small {
706 visibility:hidden;
709 .poll_info {
710 height: 30px;
713 .poll_detail {
714 margin-top: 10px;
715 margin-left: 50px;
717 .poll_question {
718 color: #006DCC;
720 .votes {
721 visibility:hidden;
724 /* Empty class for jqueryui-datepicker translate fix */
726 .notranslate{
729 /*^END VOTES AND POLLS */
731 /************************************************
732 PATCH FOR FONT-AWESOME WITH BOOTSTRAP 2.2.1
733 **************************************************/
735 [class^="icon-"], [class*=" icon-"]{
736 background:none;
740 .icon-white, .nav-pills > .active > a > [class^="icon-"], .nav-pills > .active > a > [class*=" icon-"], .nav-list > .active > a > [class^="icon-"], .nav-lis t > .active > a > [class*=" icon-"], .navbar-inverse .nav > .active > a > [cla ss^="icon-"], .navbar-inverse .nav > .active > a > [class*=" icon-"], .dropdow n-menu > li > a:hover > [class^="icon-"], .dropdown-menu > li > a:hover > [cla ss*=" icon-"], .dropdown-menu > .active > a > [class^="icon-"], .dropdown-menu > .active > a > [class*=" icon-"], .dropdown-submenu:hover > a > [class^="ico n-"], .dropdown-submenu:hover > a > [class*=" icon-"] {background:none;}