Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
441d1955
Commit
441d1955
authored
Aug 22, 2012
by
Tom Giannattasio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed anonymous header bug
parent
202eb7b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
2 deletions
+21
-2
lms/static/sass/course/layout/_courseware_header.scss
+16
-1
lms/templates/navigation.html
+5
-1
No files found.
lms/static/sass/course/layout/_courseware_header.scss
View file @
441d1955
...
...
@@ -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
;
}
}
\ No newline at end of file
lms/templates/navigation.html
View file @
441d1955
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment