Commit 20f6f0afa84bc9a1486643f7c5819da9a11d3227
1 parent
bdcd5783
Exists in
master
and in
1 other branch
Tidied up css, removed inline css from github link
Showing
4 changed files
with
3 additions
and
3 deletions
Show diff stats
app/assets/stylesheets/errbit.css
... | ... | @@ -224,6 +224,8 @@ a.action { float: right; font-size: 0.9em;} |
224 | 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 | 230 | /* Content */ |
229 | 231 | #content { |
... | ... | @@ -851,5 +853,3 @@ table.errs tr td.message .inline_comment em.commenter { |
851 | 853 | |
852 | 854 | .current.asc:after { content: ' ↑'; } |
853 | 855 | .current.desc:after { content: ' ↓'; } |
854 | - | |
855 | -span.github a { background: url(../images/github.png) no-repeat 5px 5px; } | ... | ... |
1.94 KB
app/views/devise/sessions/new.html.haml
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | - if Errbit::Config.github_authentication |
5 | 5 | - content_for :action_bar do |
6 | 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 | 9 | = form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| |
10 | 10 | .required | ... | ... |
public/images/github.png
1.94 KB