Commit 20f6f0afa84bc9a1486643f7c5819da9a11d3227

Authored by Nathan Broadbent
1 parent bdcd5783
Exists in master and in 1 other branch production

Tidied up css, removed inline css from github link

app/assets/stylesheets/errbit.css
@@ -224,6 +224,8 @@ a.action { float: right; font-size: 0.9em;} @@ -224,6 +224,8 @@ a.action { float: right; font-size: 0.9em;}
224 padding-left: 47px; 224 padding-left: 47px;
225 } 225 }
226 226
  227 +#action-bar span.github a { background: url(images/icons/github.png) no-repeat 6px 5px; }
  228 +
227 229
228 /* Content */ 230 /* Content */
229 #content { 231 #content {
@@ -851,5 +853,3 @@ table.errs tr td.message .inline_comment em.commenter { @@ -851,5 +853,3 @@ table.errs tr td.message .inline_comment em.commenter {
851 853
852 .current.asc:after { content: ' ↑'; } 854 .current.asc:after { content: ' ↑'; }
853 .current.desc:after { content: ' ↓'; } 855 .current.desc:after { content: ' ↓'; }
854 -  
855 -span.github a { background: url(../images/github.png) no-repeat 5px 5px; }  
app/assets/stylesheets/images/icons/github.png 0 → 100644

1.94 KB

app/views/devise/sessions/new.html.haml
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 - if Errbit::Config.github_authentication 4 - if Errbit::Config.github_authentication
5 - content_for :action_bar do 5 - content_for :action_bar do
6 %div.action-bar 6 %div.action-bar
7 - %span.github= link_to "Sign in with GitHub", user_omniauth_authorize_path(:github), :style => 'background: url(/images/github.png) no-repeat 5px 5px' 7 + %span.github= link_to "Sign in with GitHub", user_omniauth_authorize_path(:github)
8 8
9 = form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| 9 = form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f|
10 .required 10 .required
public/images/github.png

1.94 KB