Commit d6be7e30c29c50e333d6f78963d550233914295b

Authored by AurelioAHeckert
1 parent a2037121

ActionItem152: icones... parte 2

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1248 3f533792-8f58-4932-b0fe-aaf55b0a4547
app/helpers/application_helper.rb
@@ -261,7 +261,7 @@ module ApplicationHelper @@ -261,7 +261,7 @@ module ApplicationHelper
261 end 261 end
262 262
263 def button(type, label, url, html_options = {}) 263 def button(type, label, url, html_options = {})
264 - the_class = "button with-text #{type}" 264 + the_class = "button with-text icon-#{type}"
265 if html_options.has_key?(:class) 265 if html_options.has_key?(:class)
266 the_class << ' ' << html_options[:class] 266 the_class << ' ' << html_options[:class]
267 end 267 end
@@ -273,7 +273,7 @@ module ApplicationHelper @@ -273,7 +273,7 @@ module ApplicationHelper
273 273
274 html_options[:class] = [html_options[:class], 'submit'].compact.join(' ') 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 if html_options.has_key?(:class) 277 if html_options.has_key?(:class)
278 the_class << ' ' << html_options[:class] 278 the_class << ' ' << html_options[:class]
279 end 279 end
public/designs/icons/default/style.css
@@ -19,3 +19,4 @@ @@ -19,3 +19,4 @@
19 .icon-search { background-image: url(gnome-search.png); } 19 .icon-search { background-image: url(gnome-search.png); }
20 .icon-ok { background-image: url(gtk-ok.png); } 20 .icon-ok { background-image: url(gtk-ok.png); }
21 .icon-login { background-image: url(key-HC.gif); } 21 .icon-login { background-image: url(key-HC.gif); }
  22 +
public/images/icons-app/design-editor.png 0 → 100644

5.97 KB

public/images/icons-app/edit-profile.png 0 → 100644

6.52 KB

public/stylesheets/forms.css
@@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
12 12
13 .formfield input, 13 .formfield input,
14 .formfield textarea { 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 border: 1px solid #999; 16 border: 1px solid #999;
17 border-top: none; 17 border-top: none;
18 border-left: none; 18 border-left: none;
@@ -20,6 +20,11 @@ @@ -20,6 +20,11 @@
20 } 20 }
21 .formfield input { 21 .formfield input {
22 text-indent: 5px; 22 text-indent: 5px;
  23 + padding: 2px 0px;
  24 +}
  25 +.msie .formfield input {
  26 + background-attachment: fixed;
  27 + padding-left: 2px;
23 } 28 }
24 .formfield textarea { 29 .formfield textarea {
25 padding: 2px 0px 0px 5px; 30 padding: 2px 0px 0px 5px;
public/stylesheets/login-box.css
@@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
13 13
14 #login-box form { 14 #login-box form {
15 margin: 0px; 15 margin: 0px;
16 - padding: 0px; 16 + padding: 0px 0px 10px 0px;
17 } 17 }
18 18
19 #login-box h2 { 19 #login-box h2 {