make userbar area more compact, including removing favicon
This commit is contained in:
parent
10b3f49249
commit
5f95ef7e56
4 changed files with 8 additions and 8 deletions
|
@ -71,7 +71,7 @@ h3
|
|||
$container_width: 800px
|
||||
|
||||
#container
|
||||
margin: 1em auto
|
||||
margin: .25em auto
|
||||
padding-top: $container-top-padding
|
||||
position: relative
|
||||
width: $container_width
|
||||
|
@ -218,7 +218,8 @@ dd
|
|||
weight: bold
|
||||
left: 0
|
||||
line-height: 1
|
||||
padding: .25em
|
||||
padding-left: .25em
|
||||
padding-right: .25em
|
||||
position: absolute
|
||||
top: 0
|
||||
&:hover
|
||||
|
@ -227,6 +228,10 @@ dd
|
|||
span:before
|
||||
content: "<< "
|
||||
|
||||
#home-link, #userbar
|
||||
padding-top: 6px
|
||||
padding-bottom: 6px
|
||||
|
||||
.pagination
|
||||
a, span
|
||||
margin: 0 .5em
|
||||
|
|
|
@ -27,5 +27,5 @@ $object-width: 100px
|
|||
$object-padding: 8px
|
||||
$nc-icon-size: 16px
|
||||
|
||||
$container-top-padding: 3em
|
||||
$container-top-padding: 2.5em
|
||||
|
||||
|
|
|
@ -14,10 +14,6 @@ module ApplicationHelper
|
|||
@body_class << " #{class_name}"
|
||||
end
|
||||
|
||||
def auth_server_icon_url
|
||||
"http://#{Openneo::Auth.config.auth_server}/favicon.png"
|
||||
end
|
||||
|
||||
def body_class
|
||||
"#{params[:controller]} #{params[:controller]}-#{params[:action]}".tap do |output|
|
||||
output << @body_class if @body_class
|
||||
|
|
|
@ -49,7 +49,6 @@
|
|||
= link_to t('.userbar.logout'), logout_path_with_return_to
|
||||
- else
|
||||
= link_to login_path_with_return_to, :id => 'userbar-log-in' do
|
||||
= image_tag auth_server_icon_url
|
||||
%span= t('.userbar.login')
|
||||
|
||||
#footer
|
||||
|
|
Loading…
Reference in a new issue