Commit 5615e429fb81b2cb2e8d8c083f210b4cf7577adf
1 parent
c7423940
Exists in
master
and in
2 other branches
Css fixes
Showing
2 changed files
with
6 additions
and
56 deletions
Show diff stats
style.css
... | ... | @@ -2403,7 +2403,7 @@ _software,_cultura_e_conhecimentos_livres*/ |
2403 | 2403 | } |
2404 | 2404 | |
2405 | 2405 | .common-profile-list-block .vcard .profile_link span{ |
2406 | - display: inline-block; | |
2406 | + display: block; | |
2407 | 2407 | } |
2408 | 2408 | |
2409 | 2409 | #content .communities-block .profile-image { |
... | ... | @@ -2472,20 +2472,20 @@ _software,_cultura_e_conhecimentos_livres*/ |
2472 | 2472 | |
2473 | 2473 | /*ver todas as comunidades na Página inicial*/ |
2474 | 2474 | .action-home-index .communities-block .common-profile-list-block li{ |
2475 | - height: 130px; | |
2475 | + height: 110px; | |
2476 | 2476 | width: 120px; |
2477 | 2477 | } |
2478 | 2478 | |
2479 | 2479 | .action-home-index .communities-block .common-profile-list-block li a.profile_link { |
2480 | 2480 | min-height: 130px; |
2481 | - width: 110px; | |
2482 | - padding: 5px; | |
2481 | + width: 80px; | |
2482 | + padding: 3px; | |
2483 | 2483 | margin: 0; |
2484 | 2484 | } |
2485 | 2485 | |
2486 | 2486 | .action-home-index #content .communities-block .profile-image img{ |
2487 | - max-height: 95px; | |
2488 | - max-width: 110px; | |
2487 | + max-height: 60px; | |
2488 | + max-width: 60px; | |
2489 | 2489 | } |
2490 | 2490 | |
2491 | 2491 | .action-home-index #wrap-2 .block-outer .container-block .communities-block .block-footer-content { | ... | ... |
theme.js
1 | -/* | |
2 | -(function($) { | |
3 | - | |
4 | - // Adds a link to block title - can't do that on noosfero because of | |
5 | - // field size and html escape | |
6 | - var tags_block = $('.action-home-index .tags-block'); | |
7 | - var footer = $('#theme-footer'); | |
8 | - var blocks_area = $('#box-1 .blocks'); | |
9 | - | |
10 | - circles_blocks_div = $('<div>',{ id : 'circles-blocks'}); | |
11 | - circles_blocks_div_inner = $('<div>',{ class : 'home-blocks-inner'}); | |
12 | - circles_blocks_div.prepend(circles_blocks_div_inner); | |
13 | - circles_blocks_div_inner.prepend($('.action-home-index #box-1 .raw-html-block')); | |
14 | - | |
15 | - highlight_article_blocks_div = $('<div>',{ id : 'highlight-article-blocks'}); | |
16 | - highlight_article_blocks_div_inner = $('<div>',{ class : 'home-blocks-inner'}); | |
17 | - highlight_article_blocks_div.prepend(highlight_article_blocks_div_inner); | |
18 | - highlight_article_blocks_div_inner.prepend($('.action-home-index #box-1 .article-block')); | |
19 | - | |
20 | - | |
21 | - statistics_blocks_div = $('<div>',{ id : 'statistics-blocks'}); | |
22 | - statistics_blocks_div_inner = $('<div>',{ class : 'home-blocks-inner'}); | |
23 | - statistics_blocks_div.prepend(statistics_blocks_div_inner); | |
24 | - statistics_blocks_div_inner.prepend($('.action-home-index #box-1 .statistics-block')); | |
25 | - | |
26 | - var display_content_blocks = $('.action-home-index #box-1 .display-content-block'); | |
27 | - content_blocks_div = $('<div>',{ id : 'content-blocks'}); | |
28 | - content_blocks_div_inner = $('<div>',{ class : 'home-blocks-inner'}); | |
29 | - content_blocks_div.prepend(content_blocks_div_inner); | |
30 | - display_content_blocks.each(function() { | |
31 | - var element = $(this); | |
32 | - content_blocks_div_inner.prepend(element); | |
33 | - }); | |
34 | - | |
35 | - profile_blocks_div = $('<div>',{ id : 'profile-blocks'}); | |
36 | - profile_blocks_div_inner = $('<div>',{ class : 'home-blocks-inner'}); | |
37 | - profile_blocks_div.prepend(profile_blocks_div_inner); | |
38 | - profile_blocks_div_inner.prepend($('.action-home-index #box-1 .communities-block')); | |
39 | - profile_blocks_div_inner.prepend($('.action-home-index #box-1 .display-people-block')); | |
40 | - | |
41 | - blocks_area.prepend(profile_blocks_div); | |
42 | - blocks_area.prepend(content_blocks_div); | |
43 | - blocks_area.prepend(statistics_blocks_div); | |
44 | - blocks_area.prepend(highlight_article_blocks_div); | |
45 | - blocks_area.prepend(circles_blocks_div); | |
46 | - | |
47 | - footer.prepend(tags_block); | |
48 | -})(jQuery); | |
49 | -*/ | |
50 | - | |
51 | 1 | (function($) { |
52 | 2 | // Run code |
53 | 3 | $( ".action-home-index div.block-inner-1 div.block-inner-2 div.box div.block-outer .communities-block" ).parent().parent().parent().parent().parent().addClass( "mapa_comunidades" ); | ... | ... |