Commit 405b8a443e36756098cf2b5778d13a371229ca2f
1 parent
1d34206a
Exists in
master
and in
29 other branches
ActionItem539: a better highlight in the control panel
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2164 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
7 changed files
with
54 additions
and
16 deletions
Show diff stats
app/helpers/application_helper.rb
... | ... | @@ -167,7 +167,11 @@ module ApplicationHelper |
167 | 167 | end |
168 | 168 | |
169 | 169 | def file_manager(&block) |
170 | - concat(content_tag('div', capture(&block), :class => 'file-manager') + "<br style='clear: left;'/>", block.binding) | |
170 | + concat( | |
171 | + content_tag('div', | |
172 | + content_tag('div', capture(&block) + '<br style="clear:left;"/> '), | |
173 | + :class => 'file-manager'), | |
174 | + block.binding) | |
171 | 175 | end |
172 | 176 | |
173 | 177 | def file_manager_button(title, icon, url) | ... | ... |
app/views/profile_editor/index.rhtml
public/designs/themes/ecosol/stylesheets/common.css
... | ... | @@ -70,6 +70,10 @@ body.category4 #content h4, body.category4 #content h5, body.category4 #content |
70 | 70 | list-style: url(../images/list-dot.gif); |
71 | 71 | } |
72 | 72 | |
73 | +hr { | |
74 | + border: none; | |
75 | + border-top: 2px dotted #2A5896; | |
76 | +} | |
73 | 77 | |
74 | 78 | #lightbox{ |
75 | 79 | background: #FFF url(../images/bg-top-cinza.jpg) no-repeat 50% -15px; | ... | ... |
public/designs/themes/ecosol/stylesheets/controller_profile_editor.css
... | ... | @@ -21,13 +21,30 @@ |
21 | 21 | background: #B8CFE7; |
22 | 22 | } |
23 | 23 | |
24 | -div.file-manager | |
25 | -div.file-manager-button a:hover { | |
24 | +.file-manager | |
25 | +.file-manager-button a:hover { | |
26 | 26 | color: #006; |
27 | 27 | border-color: #2A5896; |
28 | 28 | background-color: #CFDFF7; |
29 | + -moz-border-radius: 15px; | |
29 | 30 | } |
30 | 31 | |
31 | -div#profile-editor-index div.control-panel { | |
32 | +#profile-editor-index .control-panel { | |
33 | +} | |
34 | + | |
35 | +#profile-editor-index .file-manager { | |
32 | 36 | background: #B8CFE7; |
37 | + -moz-border-radius: 25px; | |
38 | + padding: 0px 0px 0px 10px; | |
39 | +} | |
40 | +.msie #profile-editor-index .file-manager { | |
41 | + border: 2px solid #2A5896; | |
42 | +} | |
43 | +.msie6 #profile-editor-index .file-manager div { | |
44 | + position: relative; | |
33 | 45 | } |
46 | + | |
47 | +.button-bar { | |
48 | + margin-bottom: 5px; | |
49 | +} | |
50 | + | ... | ... |
public/designs/themes/zen3/stylesheets/common.css
public/designs/themes/zen3/stylesheets/controller_profile_editor.css
... | ... | @@ -25,13 +25,26 @@ ul.categories li.cat_checked { |
25 | 25 | border-bottom: 1px solid #CE5C00; |
26 | 26 | } |
27 | 27 | |
28 | -div.file-manager | |
29 | -div.file-manager-button a:hover { | |
28 | +.file-manager | |
29 | +.file-manager-button a:hover { | |
30 | 30 | background: #FCAF3E !important; |
31 | 31 | color: #000 !important; |
32 | 32 | border-color: #CE5C00; |
33 | 33 | } |
34 | 34 | |
35 | -div#profile-editor-index div.control-panel { | |
35 | +#profile-editor-index .control-panel { | |
36 | +} | |
37 | + | |
38 | +#profile-editor-index .file-manager { | |
36 | 39 | background: #FFE890; |
40 | + padding: 0px 0px 0px 10px; | |
41 | + border: 2px solid #CE5C00; | |
42 | +} | |
43 | +.msie6 #profile-editor-index .file-manager div { | |
44 | + position: relative; | |
37 | 45 | } |
46 | + | |
47 | +.button-bar { | |
48 | + margin-bottom: 5px; | |
49 | +} | |
50 | + | ... | ... |
public/stylesheets/controller_profile_editor.css
... | ... | @@ -54,14 +54,6 @@ div.file-manager-button a { |
54 | 54 | overflow: hidden; |
55 | 55 | font-size: 90%; |
56 | 56 | text-decoration: none; |
57 | + line-height: 100%; | |
57 | 58 | } |
58 | 59 | |
59 | -div.file-manager | |
60 | -div.file-manager-button a:hover { | |
61 | - -moz-border-radius: 15px; | |
62 | -} | |
63 | - | |
64 | -div#profile-editor-index div.control-panel { | |
65 | - padding: 10px; | |
66 | - -moz-border-radius: 15px; | |
67 | -} | ... | ... |