Commit 393046d858fdc2a058c1f394d1d83dec46c093b6
1 parent
5b66899f
Exists in
master
and in
28 other branches
ActionItem93: cosmetic changes
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1026 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
26 additions
and
24 deletions
Show diff stats
app/helpers/application_helper.rb
@@ -195,7 +195,7 @@ module ApplicationHelper | @@ -195,7 +195,7 @@ module ApplicationHelper | ||
195 | 195 | ||
196 | def search_box | 196 | def search_box |
197 | [form_tag({:controller => 'search', :action => 'index'}, :method => 'get'), | 197 | [form_tag({:controller => 'search', :action => 'index'}, :method => 'get'), |
198 | - submit_tag(_('Search'), :id => 'button_search', :name => ''), | 198 | + design_display_button_submit('find', '', :title => _('Search')), |
199 | text_field_tag( 'query', _('your search here'), :id => "input_search", :onfocus => 'javascript: if (this.value == %s) { this.value = ""; }' % _('your search here').inspect, :onblur => "javascript: if (this.value == '') { this.value = %s}" % _('your search here').inspect), | 199 | text_field_tag( 'query', _('your search here'), :id => "input_search", :onfocus => 'javascript: if (this.value == %s) { this.value = ""; }' % _('your search here').inspect, :onblur => "javascript: if (this.value == '') { this.value = %s}" % _('your search here').inspect), |
200 | '</form>', | 200 | '</form>', |
201 | ].join("\n") | 201 | ].join("\n") |
public/stylesheets/menu.css
1 | /* Geral Bar */ | 1 | /* Geral Bar */ |
2 | #noosfero_bar { | 2 | #noosfero_bar { |
3 | width: 100%; | 3 | width: 100%; |
4 | - height: 26px; | ||
5 | - background: url("../images/bg_bgmenu.png") repeat-x; | 4 | + height: 40px; |
6 | padding: 0px; | 5 | padding: 0px; |
7 | margin-top: -5px; | 6 | margin-top: -5px; |
8 | margin-right: 5px; | 7 | margin-right: 5px; |
@@ -13,7 +12,7 @@ | @@ -13,7 +12,7 @@ | ||
13 | /* Top Bar */ | 12 | /* Top Bar */ |
14 | 13 | ||
15 | #top_bar { | 14 | #top_bar { |
16 | -height: 20px; | 15 | +height: 30px; |
17 | line-height: 20px; | 16 | line-height: 20px; |
18 | font-size: 12px !important ; | 17 | font-size: 12px !important ; |
19 | font-family: Sans-serif !important ; | 18 | font-family: Sans-serif !important ; |
@@ -44,14 +43,17 @@ font-weight: normal; | @@ -44,14 +43,17 @@ font-weight: normal; | ||
44 | #path_category { | 43 | #path_category { |
45 | font-weight: bold; | 44 | font-weight: bold; |
46 | color: #ffffff; | 45 | color: #ffffff; |
46 | +z-index: 2000; | ||
47 | +padding-top: 4px; | ||
47 | } | 48 | } |
48 | 49 | ||
49 | /* Menu Itens Accessibility */ | 50 | /* Menu Itens Accessibility */ |
50 | 51 | ||
51 | #accessibility_menu { | 52 | #accessibility_menu { |
52 | position: absolute; | 53 | position: absolute; |
54 | + top: 2px; | ||
53 | right: 10px; | 55 | right: 10px; |
54 | - width: 300px; | 56 | + width: 500px; |
55 | text-align: right; | 57 | text-align: right; |
56 | font-family: Verdana, Arial, Serif-sans; | 58 | font-family: Verdana, Arial, Serif-sans; |
57 | font-size: 9px; | 59 | font-size: 9px; |
@@ -100,6 +102,8 @@ background-image: url('../images/icons-bar/accessibility.png'); | @@ -100,6 +102,8 @@ background-image: url('../images/icons-bar/accessibility.png'); | ||
100 | } | 102 | } |
101 | 103 | ||
102 | #accessibility_menu a:hover span { | 104 | #accessibility_menu a:hover span { |
105 | + color: black; | ||
106 | + background: white; | ||
103 | } | 107 | } |
104 | 108 | ||
105 | 109 | ||
@@ -107,7 +111,7 @@ background-image: url('../images/icons-bar/accessibility.png'); | @@ -107,7 +111,7 @@ background-image: url('../images/icons-bar/accessibility.png'); | ||
107 | 111 | ||
108 | #navigation_bar { | 112 | #navigation_bar { |
109 | position: absolute; | 113 | position: absolute; |
110 | - top: 20px; | 114 | + top: 30px; |
111 | left: 0px; | 115 | left: 0px; |
112 | width: 100%; | 116 | width: 100%; |
113 | padding: 0px !important; | 117 | padding: 0px !important; |
@@ -174,11 +178,23 @@ z-index: 997; | @@ -174,11 +178,23 @@ z-index: 997; | ||
174 | position: absolute; | 178 | position: absolute; |
175 | right: 0px; | 179 | right: 0px; |
176 | margin: 0px; | 180 | margin: 0px; |
177 | -width: 200px; | ||
178 | -height: 30px; | ||
179 | -padding-top: 5px; | ||
180 | -padding-left: 10px; | ||
181 | z-index: 998; | 181 | z-index: 998; |
182 | +padding-top: 4px; | ||
183 | +padding-right: 4px; | ||
184 | +padding-bottom: 4px; | ||
185 | +} | ||
186 | +#search_box form, #search_box input { | ||
187 | + display: inline; | ||
188 | +} | ||
189 | +#search_box .button { | ||
190 | + color: white; | ||
191 | + width: 24px; | ||
192 | + padding: 0px; | ||
193 | + margin-right: 2px; | ||
194 | + margin-top: -2px; | ||
195 | +} | ||
196 | +#search_box .button:hover { | ||
197 | + color: black; | ||
182 | } | 198 | } |
183 | 199 | ||
184 | #input_search { | 200 | #input_search { |
@@ -196,20 +212,6 @@ color: black; | @@ -196,20 +212,6 @@ color: black; | ||
196 | background-color: white; | 212 | background-color: white; |
197 | } | 213 | } |
198 | 214 | ||
199 | -#button_search { | ||
200 | -border: 1px outset #545454; | ||
201 | -background-color: #dfdfdf; | ||
202 | -color: #545454; | ||
203 | -height: 20px; | ||
204 | -font-size: 11px; | ||
205 | -} | ||
206 | - | ||
207 | -#button_search:hover, #button_search:focus { | ||
208 | -background-color: #ffffff; | ||
209 | -color: #545454; | ||
210 | -border: 1px inset #dfdfdf; | ||
211 | -} | ||
212 | - | ||
213 | /* Itens Colors Change */ | 215 | /* Itens Colors Change */ |
214 | 216 | ||
215 | /* ITEM 0 */ | 217 | /* ITEM 0 */ |