Commit d6be7e30c29c50e333d6f78963d550233914295b
1 parent
a2037121
Exists in
master
and in
28 other branches
ActionItem152: icones... parte 2
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1248 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
6 changed files
with
10 additions
and
4 deletions
Show diff stats
app/helpers/application_helper.rb
| ... | ... | @@ -261,7 +261,7 @@ module ApplicationHelper |
| 261 | 261 | end |
| 262 | 262 | |
| 263 | 263 | def button(type, label, url, html_options = {}) |
| 264 | - the_class = "button with-text #{type}" | |
| 264 | + the_class = "button with-text icon-#{type}" | |
| 265 | 265 | if html_options.has_key?(:class) |
| 266 | 266 | the_class << ' ' << html_options[:class] |
| 267 | 267 | end |
| ... | ... | @@ -273,7 +273,7 @@ module ApplicationHelper |
| 273 | 273 | |
| 274 | 274 | html_options[:class] = [html_options[:class], 'submit'].compact.join(' ') |
| 275 | 275 | |
| 276 | - the_class = "button with-text #{type}" | |
| 276 | + the_class = "button with-text icon-#{type}" | |
| 277 | 277 | if html_options.has_key?(:class) |
| 278 | 278 | the_class << ' ' << html_options[:class] |
| 279 | 279 | end | ... | ... |
public/designs/icons/default/style.css
5.97 KB
6.52 KB
public/stylesheets/forms.css
| ... | ... | @@ -12,7 +12,7 @@ |
| 12 | 12 | |
| 13 | 13 | .formfield input, |
| 14 | 14 | .formfield textarea { |
| 15 | - background: transparent url("../images/input-bg.gif") top left no-repeat; | |
| 15 | + background: transparent url("../images/input-bg.gif") no-repeat top left; | |
| 16 | 16 | border: 1px solid #999; |
| 17 | 17 | border-top: none; |
| 18 | 18 | border-left: none; |
| ... | ... | @@ -20,6 +20,11 @@ |
| 20 | 20 | } |
| 21 | 21 | .formfield input { |
| 22 | 22 | text-indent: 5px; |
| 23 | + padding: 2px 0px; | |
| 24 | +} | |
| 25 | +.msie .formfield input { | |
| 26 | + background-attachment: fixed; | |
| 27 | + padding-left: 2px; | |
| 23 | 28 | } |
| 24 | 29 | .formfield textarea { |
| 25 | 30 | padding: 2px 0px 0px 5px; | ... | ... |