diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 1371320..4b0af03 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -261,7 +261,7 @@ module ApplicationHelper end def button(type, label, url, html_options = {}) - the_class = "button with-text #{type}" + the_class = "button with-text icon-#{type}" if html_options.has_key?(:class) the_class << ' ' << html_options[:class] end @@ -273,7 +273,7 @@ module ApplicationHelper html_options[:class] = [html_options[:class], 'submit'].compact.join(' ') - the_class = "button with-text #{type}" + the_class = "button with-text icon-#{type}" if html_options.has_key?(:class) the_class << ' ' << html_options[:class] end diff --git a/public/designs/icons/default/style.css b/public/designs/icons/default/style.css index 4679b76..a1a45ec 100644 --- a/public/designs/icons/default/style.css +++ b/public/designs/icons/default/style.css @@ -19,3 +19,4 @@ .icon-search { background-image: url(gnome-search.png); } .icon-ok { background-image: url(gtk-ok.png); } .icon-login { background-image: url(key-HC.gif); } + diff --git a/public/images/icons-app/design-editor.png b/public/images/icons-app/design-editor.png new file mode 100644 index 0000000..3cec8f4 Binary files /dev/null and b/public/images/icons-app/design-editor.png differ diff --git a/public/images/icons-app/edit-profile.png b/public/images/icons-app/edit-profile.png new file mode 100644 index 0000000..5ad1129 Binary files /dev/null and b/public/images/icons-app/edit-profile.png differ diff --git a/public/stylesheets/forms.css b/public/stylesheets/forms.css index 14139ac..d995e7f 100644 --- a/public/stylesheets/forms.css +++ b/public/stylesheets/forms.css @@ -12,7 +12,7 @@ .formfield input, .formfield textarea { - background: transparent url("../images/input-bg.gif") top left no-repeat; + background: transparent url("../images/input-bg.gif") no-repeat top left; border: 1px solid #999; border-top: none; border-left: none; @@ -20,6 +20,11 @@ } .formfield input { text-indent: 5px; + padding: 2px 0px; +} +.msie .formfield input { + background-attachment: fixed; + padding-left: 2px; } .formfield textarea { padding: 2px 0px 0px 5px; diff --git a/public/stylesheets/login-box.css b/public/stylesheets/login-box.css index 861eaa3..4ec8b4f 100644 --- a/public/stylesheets/login-box.css +++ b/public/stylesheets/login-box.css @@ -13,7 +13,7 @@ #login-box form { margin: 0px; - padding: 0px; + padding: 0px 0px 10px 0px; } #login-box h2 { -- libgit2 0.21.2