Commit c2223bbca02b5f3d206c4507fa64f6f13f6f633a
Exists in
master
and in
9 other branches
Merge branch 'change_members_image_size' into 'master'
Generate profile images bigger on members page This merge does not modify default application css, it just generates a profile image bigger to increase possibilities of profile images style manipulation on members list page. See merge request !726
Showing
2 changed files
with
31 additions
and
1 deletions
Show diff stats
app/views/profile/_profile_members_list.html.erb
| @@ -9,7 +9,7 @@ | @@ -9,7 +9,7 @@ | ||
| 9 | </div> | 9 | </div> |
| 10 | <ul class="profile-list-<%= role %>" > | 10 | <ul class="profile-list-<%= role %>" > |
| 11 | <% users.each do |u| %> | 11 | <% users.each do |u| %> |
| 12 | - <%= profile_image_link(u) %> | 12 | + <%= profile_image_link(u, :thumb) %> |
| 13 | <% end %> | 13 | <% end %> |
| 14 | </ul> | 14 | </ul> |
| 15 | 15 |
public/designs/themes/noosfero/style.css
| @@ -18,3 +18,33 @@ | @@ -18,3 +18,33 @@ | ||
| 18 | #buddy-list #environment-logo { | 18 | #buddy-list #environment-logo { |
| 19 | background-color: #BBB; | 19 | background-color: #BBB; |
| 20 | } | 20 | } |
| 21 | + | ||
| 22 | +/* Members list*/ | ||
| 23 | +.profile-members-tabs-container .ui-corner-all{ | ||
| 24 | + padding-bottom: 10px; | ||
| 25 | +} | ||
| 26 | + | ||
| 27 | +#content #members-tab ul.profile-list-members, | ||
| 28 | +#content #admins-tab ul.profile-list-admins{ | ||
| 29 | + margin: 10px auto; | ||
| 30 | +} | ||
| 31 | + | ||
| 32 | +.common-profile-list-block .profile-image{ | ||
| 33 | + height: auto; | ||
| 34 | +} | ||
| 35 | + | ||
| 36 | +.common-profile-list-block .profile-image img{ | ||
| 37 | + max-height: 80px; | ||
| 38 | + max-width: 80px; | ||
| 39 | +} | ||
| 40 | + | ||
| 41 | +.box-1 .common-profile-list-block span{ | ||
| 42 | + width: 84px; | ||
| 43 | +} | ||
| 44 | + | ||
| 45 | +.box-1 .common-profile-list-block span.fn { | ||
| 46 | + margin-top: 5px; | ||
| 47 | + height: 25px; | ||
| 48 | + width: 80px; | ||
| 49 | +} | ||
| 50 | + |