Commit 50b9061a80324dc2a55b2a52b7470bb1c0da411b
1 parent
a52ef51c
Exists in
master
and in
29 other branches
ActionItem488: correct the My Profile icons organization problem
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2340 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
15 additions
and
8 deletions
Show diff stats
app/helpers/application_helper.rb
@@ -177,7 +177,10 @@ module ApplicationHelper | @@ -177,7 +177,10 @@ module ApplicationHelper | ||
177 | end | 177 | end |
178 | 178 | ||
179 | def file_manager_button(title, icon, url) | 179 | def file_manager_button(title, icon, url) |
180 | - content_tag('div', link_to(image_tag(icon, :alt => title, :title => title) + content_tag('div', title), url), :class => 'file-manager-button') | 180 | + content_tag( 'div', |
181 | + link_to(image_tag(icon, :alt => title, :title => title) + | ||
182 | + content_tag('span', title), | ||
183 | + url), :class => 'file-manager-button' ) | ||
181 | end | 184 | end |
182 | 185 | ||
183 | def hide(id) | 186 | def hide(id) |
public/stylesheets/controller_profile_editor.css
@@ -27,12 +27,12 @@ | @@ -27,12 +27,12 @@ | ||
27 | 27 | ||
28 | /* file manager (big) style */ | 28 | /* file manager (big) style */ |
29 | 29 | ||
30 | -div.file-manager { | 30 | +.file-manager { |
31 | clear: both; | 31 | clear: both; |
32 | } | 32 | } |
33 | 33 | ||
34 | -div.file-manager | ||
35 | -div.file-manager-button { | 34 | +.file-manager |
35 | +.file-manager-button { | ||
36 | float: left; | 36 | float: left; |
37 | width: 140px; | 37 | width: 140px; |
38 | text-align: center; | 38 | text-align: center; |
@@ -40,13 +40,13 @@ div.file-manager-button { | @@ -40,13 +40,13 @@ div.file-manager-button { | ||
40 | margin-top: 0.5em; | 40 | margin-top: 0.5em; |
41 | } | 41 | } |
42 | 42 | ||
43 | -div.file-manager | ||
44 | -div.file-manager-button a img { | 43 | +.file-manager |
44 | +.file-manager-button a img { | ||
45 | border: none; | 45 | border: none; |
46 | } | 46 | } |
47 | 47 | ||
48 | -div.file-manager | ||
49 | -div.file-manager-button a { | 48 | +.file-manager |
49 | +.file-manager-button a { | ||
50 | border: 2px solid transparent; | 50 | border: 2px solid transparent; |
51 | display: block; | 51 | display: block; |
52 | padding: 3px; | 52 | padding: 3px; |
@@ -57,3 +57,7 @@ div.file-manager-button a { | @@ -57,3 +57,7 @@ div.file-manager-button a { | ||
57 | line-height: 100%; | 57 | line-height: 100%; |
58 | } | 58 | } |
59 | 59 | ||
60 | +.file-manager-button span { | ||
61 | + display: block; | ||
62 | +} | ||
63 | + |