Commit 12f1d2a58e0dcce80fe1a9501c8648a173829957

Authored by Rodrigo Souto
1 parent 87caeeb3

profile-suggestions: more style improvements

app/views/blocks/communities.html.erb
@@ -12,6 +12,8 @@ @@ -12,6 +12,8 @@
12 <div class='profiles-suggestions'> 12 <div class='profiles-suggestions'>
13 <%= render :partial => 'shared/profile_suggestions_list', :locals => { :suggestions => suggestions, :collection => :communities_suggestions } %> 13 <%= render :partial => 'shared/profile_suggestions_list', :locals => { :suggestions => suggestions, :collection => :communities_suggestions } %>
14 </div> 14 </div>
15 - <%= link_to _('See more suggestions'), profile.communities_suggestions_url, :class => 'more-suggestions' %> 15 + <div class='more-suggestions'>
  16 + <%= link_to _('See more suggestions'), profile.communities_suggestions_url %>
  17 + </div>
16 </div> 18 </div>
17 <% end %> 19 <% end %>
plugins/people_block/views/blocks/friends.html.erb
@@ -6,6 +6,8 @@ @@ -6,6 +6,8 @@
6 <div class='profiles-suggestions'> 6 <div class='profiles-suggestions'>
7 <%= render :partial => 'shared/profile_suggestions_list', :locals => { :suggestions => suggestions, :collection => :friends_suggestions } %> 7 <%= render :partial => 'shared/profile_suggestions_list', :locals => { :suggestions => suggestions, :collection => :friends_suggestions } %>
8 </div> 8 </div>
9 - <%= link_to _('See more suggestions'), profile.people_suggestions_url, :class => 'more-suggestions' %> 9 + <div class='more-suggestions'>
  10 + <%= link_to _('See more suggestions'), profile.people_suggestions_url %>
  11 + </div>
10 </div> 12 </div>
11 <% end %> 13 <% end %>
public/stylesheets/application.css
@@ -1680,7 +1680,7 @@ a.button.disabled, input.disabled { @@ -1680,7 +1680,7 @@ a.button.disabled, input.disabled {
1680 1680
1681 #content .block-footer-content .profiles-suggestions a.accept-suggestion { 1681 #content .block-footer-content .profiles-suggestions a.accept-suggestion {
1682 padding-bottom: 3px; 1682 padding-bottom: 3px;
1683 - display: block; 1683 + display: inline-block;
1684 color: #333; 1684 color: #333;
1685 font-size: 11px 1685 font-size: 11px
1686 } 1686 }
@@ -1715,12 +1715,13 @@ a.button.disabled, input.disabled { @@ -1715,12 +1715,13 @@ a.button.disabled, input.disabled {
1715 font-weight: bold; 1715 font-weight: bold;
1716 } 1716 }
1717 1717
1718 -#content .communities-block .profiles-suggestions .profile-list .extra_info {  
1719 - z-index: 10; 1718 +.more-suggestions {
  1719 + text-align: center;
1720 } 1720 }
1721 1721
1722 -#content .communities-block .block-footer-content a.more-suggestions {  
1723 - position: relative; 1722 +.profiles-suggestions .profile-list .extra_info {
  1723 + z-index: 10;
  1724 + display: inline-block;
1724 } 1725 }
1725 1726
1726 .suggestions-block .block-subtitle { 1727 .suggestions-block .block-subtitle {
@@ -4097,6 +4098,7 @@ h1#agenda-title { @@ -4097,6 +4098,7 @@ h1#agenda-title {
4097 4098
4098 .tag-connections { 4099 .tag-connections {
4099 margin-left: 2px; 4100 margin-left: 2px;
  4101 + margin-top: 3px;
4100 } 4102 }
4101 4103
4102 #content .profiles-suggestions .profile-list .extra_info .profile-suggestion-connection-icon { 4104 #content .profiles-suggestions .profile-list .extra_info .profile-suggestion-connection-icon {
@@ -4129,9 +4131,10 @@ h1#agenda-title { @@ -4129,9 +4131,10 @@ h1#agenda-title {
4129 border: 2px solid transparent; 4131 border: 2px solid transparent;
4130 } 4132 }
4131 4133
4132 -.common-profile-list-block .profiles-suggestions .profile-list li { 4134 +#content .common-profile-list-block .profiles-suggestions .profile-list li {
4133 width: 100%; 4135 width: 100%;
4134 max-width: 100%; 4136 max-width: 100%;
  4137 + padding: 3px 0;
4135 } 4138 }
4136 4139
4137 .common-profile-list-block .profiles-suggestions .profile-list li img { 4140 .common-profile-list-block .profiles-suggestions .profile-list li img {