fixed anonymous header bug

This commit is contained in:
Tom Giannattasio
2012-08-22 07:34:55 -04:00
parent 202eb7b1e9
commit 441d1955f9
2 changed files with 20 additions and 2 deletions

View File

@@ -55,12 +55,16 @@ nav.course-material {
}
}
header.global {
header.global.slim {
border-bottom: 1px solid #bbb;
@include box-shadow(0 1px 2px rgba(0, 0, 0, .1));
height: 50px;
@include linear-gradient(top, #fff, #eee);
.guest .secondary {
display: none;
}
nav {
padding-top: 5px;
}
@@ -124,4 +128,14 @@ header.global {
font-weight: bold;
}
}
a#signup {
position: relative;
margin-top: 4px;
padding: 6px 12px 8px;
text-transform: none;
font-size: 14px;
font-weight: bold;
letter-spacing: 0;
}
}

View File

@@ -5,7 +5,11 @@
<%namespace name='static' file='static_content.html'/>
<%! from django.core.urlresolvers import reverse %>
<header class="global" aria-label="Global Navigation">
%if course:
<header class="global slim" aria-label="Global Navigation">
%else:
<header class="global" aria-label="Global Navigation">
%endif
<nav>
<h1 class="logo"><a href="${reverse('root')}"></a></h1>