Commit ef551d3bcafd5c69b1dafcd78c070da8881c7851
1 parent
fbf6e70d
Exists in
master
and in
2 other branches
Added bg on blocks from home
Showing
6 changed files
with
32 additions
and
10 deletions
Show diff stats
1.02 KB
3.01 KB
78.5 KB
174 KB
style.css
@@ -363,6 +363,12 @@ div#article-parent { | @@ -363,6 +363,12 @@ div#article-parent { | ||
363 | 363 | ||
364 | .action-home-index #content .box-1 .block.raw-html-block { | 364 | .action-home-index #content .box-1 .block.raw-html-block { |
365 | width: 100%; | 365 | width: 100%; |
366 | + background-image: url(images/bg-palacio-do-planalto.jpg); | ||
367 | +} | ||
368 | + | ||
369 | +.action-home-index #content .box-1 .block.track-list-block { | ||
370 | + width: 100%; | ||
371 | + background-image: url(images/bg-pessoas.jpg); | ||
366 | } | 372 | } |
367 | 373 | ||
368 | .action-home-index #content .box-1 .block-title { | 374 | .action-home-index #content .box-1 .block-title { |
@@ -565,6 +571,11 @@ div#article-parent { | @@ -565,6 +571,11 @@ div#article-parent { | ||
565 | margin-left: 15px; | 571 | margin-left: 15px; |
566 | } | 572 | } |
567 | 573 | ||
574 | +.action-home-index #content .box-1 .communities-block, | ||
575 | +.action-home-index #content .box-1 .people-block { | ||
576 | + background-image: url(images/bg-linhas-cinza.png); | ||
577 | + margin-right: 0px; | ||
578 | +} | ||
568 | 579 | ||
569 | .action-home-index #content .communities-block .block-title, | 580 | .action-home-index #content .communities-block .block-title, |
570 | .action-home-index #content .people-block .block-title { | 581 | .action-home-index #content .people-block .block-title { |
@@ -591,32 +602,34 @@ div#article-parent { | @@ -591,32 +602,34 @@ div#article-parent { | ||
591 | } | 602 | } |
592 | 603 | ||
593 | /* Blocks tags */ | 604 | /* Blocks tags */ |
594 | -.action-home-index #content .box-1 .block.tags-block { | 605 | +.action-home-index #theme-footer .block.tags-block { |
595 | background: #034811; | 606 | background: #034811; |
596 | min-height: 50px; | 607 | min-height: 50px; |
597 | padding: 20px 0; | 608 | padding: 20px 0; |
598 | width: 100%; | 609 | width: 100%; |
610 | + margin-bottom: 0px; | ||
611 | + background-image: url(images/bg-fundo-verde-tags.png); | ||
599 | } | 612 | } |
600 | 613 | ||
601 | -.action-home-index #content .box-1 .block.tags-block { | ||
602 | - margin-bottom: 0px; | 614 | +.action-home-index #theme-footer .block.tags-block .block-inner-1 { |
615 | + max-width: 960px; | ||
616 | + margin: auto; | ||
603 | } | 617 | } |
604 | - | ||
605 | -.action-home-index #content .box-1 .block.tags-block .block-title { | 618 | +.action-home-index #theme-footer .block.tags-block .block-title { |
606 | display: none; | 619 | display: none; |
607 | } | 620 | } |
608 | 621 | ||
609 | -.action-home-index #content .box-1 .tags-block .block-footer-content a { | 622 | +.action-home-index #theme-footer .tags-block .block-footer-content a { |
610 | color: #FFFFFF; | 623 | color: #FFFFFF; |
611 | } | 624 | } |
612 | 625 | ||
613 | -.action-home-index .box-1 .block.tags-block a, | ||
614 | -.action-home-index .box-1 .block.tags-block a:visited, | ||
615 | -.action-home-index .box-1 .block.tags-block a:hover { | 626 | +.action-home-index #theme-footer .block.tags-block a, |
627 | +.action-home-index #theme-footer .block.tags-block a:visited, | ||
628 | +.action-home-index #theme-footer .block.tags-block a:hover { | ||
616 | color: #E7F1E9; | 629 | color: #E7F1E9; |
617 | } | 630 | } |
618 | 631 | ||
619 | -.action-home-index .box-1 .block.tags-block a:hover { | 632 | +.action-home-index #theme-footer .block.tags-block a:hover { |
620 | text-decoration: underline; | 633 | text-decoration: underline; |
621 | } | 634 | } |
622 | 635 |
@@ -0,0 +1,9 @@ | @@ -0,0 +1,9 @@ | ||
1 | +(function($) { | ||
2 | + | ||
3 | + // Adds a link to block title - can't do that on noosfero because of | ||
4 | + // field size and html escape | ||
5 | + var tags_block = $('.action-home-index .tags-block'); | ||
6 | + var footer = $('#theme-footer'); | ||
7 | + | ||
8 | + footer.prepend(tags_block); | ||
9 | +})(jQuery); |