Skip to content

Commit

Permalink
logout positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
kevzettler committed Apr 5, 2012
1 parent 3bdc720 commit 7fc3f7a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 4 additions & 2 deletions app/assets/stylesheets/_base.sass
Expand Up @@ -44,14 +44,16 @@
background-color: $header-bg-1
+background-image(linear-gradient($header-bg-1, $header-bg-2))
+border-radius(4px)
position: absolute
position: fixed
right: 0px
top: 0px
z-index: 9000
height: auto
height: 32px
width: 100px
padding: 5px
display: none
bottom: -24px
margin-top: 31px
a
color: #FFF

Expand Down
7 changes: 4 additions & 3 deletions app/views/main/index.html.erb
Expand Up @@ -15,9 +15,7 @@
<div class="user"></div>
</a>

<div class="user_menu">
<a href="<%= destroy_user_session_path %>">logout</a>
</div>


<div class="search">
<form method="get" action="/search" target="_blank">
Expand All @@ -36,6 +34,9 @@

<div id="mask">&nbsp;</div>

<div class="user_menu">
<a href="<%= destroy_user_session_path %>">logout</a>
</div>

</div>

0 comments on commit 7fc3f7a

Please sign in to comment.