Skip to content
Browse files

Tidied up css, removed inline css from github link

  • Loading branch information...
1 parent bdcd578 commit 20f6f0afa84bc9a1486643f7c5819da9a11d3227 @ndbroadbent ndbroadbent committed Jun 1, 2012
View
4 app/assets/stylesheets/errbit.css
@@ -224,6 +224,8 @@ a.action { float: right; font-size: 0.9em;}
padding-left: 47px;
}
+#action-bar span.github a { background: url(images/icons/github.png) no-repeat 6px 5px; }
+
/* Content */
#content {
@@ -851,5 +853,3 @@ table.errs tr td.message .inline_comment em.commenter {
.current.asc:after { content: ''; }
.current.desc:after { content: ''; }
-
-span.github a { background: url(../images/github.png) no-repeat 5px 5px; }
View
0 public/images/github.png → ...ssets/stylesheets/images/icons/github.png
File renamed without changes
View
2 app/views/devise/sessions/new.html.haml
@@ -4,7 +4,7 @@
- if Errbit::Config.github_authentication
- content_for :action_bar do
%div.action-bar
- %span.github= link_to "Sign in with GitHub", user_omniauth_authorize_path(:github), :style => 'background: url(/images/github.png) no-repeat 5px 5px'
+ %span.github= link_to "Sign in with GitHub", user_omniauth_authorize_path(:github)
= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f|
.required

0 comments on commit 20f6f0a

Please sign in to comment.
Something went wrong with that request. Please try again.