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
cd8051fb
Commit
cd8051fb
authored
Jun 21, 2012
by
Galen Frechette
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleans up signed in users navigation
parent
9bcdcec6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
151 additions
and
161 deletions
+151
-161
lms/static/sass/_shared_header.scss
+61
-76
lms/static/sass/application.css
+85
-82
lms/templates/navigation.html
+5
-3
No files found.
lms/static/sass/_shared_header.scss
View file @
cd8051fb
...
@@ -19,6 +19,26 @@ header.app {
...
@@ -19,6 +19,26 @@ header.app {
float
:
left
;
float
:
left
;
height
:
100%
;
height
:
100%
;
margin
:
16px
15px
0px
0px
;
margin
:
16px
15px
0px
0px
;
position
:
relative
;
img
{
position
:
relative
;
z-index
:
2
;
}
&
:hover
{
&
:
:
before
{
@include
background-image
(
radial-gradient
(
50%
50%
,
circle
closest-side
,
rgba
(
255
,
255
,
255
,
0
.8
)
0%
,
rgba
(
255
,
255
,
255
,
0
)
100%
));
content
:
""
;
display
:
block
;
height
:
90px
;
left
:
-20px
;
position
:
absolute
;
top
:
-32px
;
width
:
90px
;
z-index
:
1
;
}
}
}
}
.divider
{
.divider
{
...
@@ -79,6 +99,8 @@ header.app {
...
@@ -79,6 +99,8 @@ header.app {
}
}
li
.primary
{
li
.primary
{
position
:
relative
;
a
{
a
{
border
:
1px
solid
transparent
;
border
:
1px
solid
transparent
;
@include
border-radius
(
3px
);
@include
border-radius
(
3px
);
...
@@ -86,16 +108,16 @@ header.app {
...
@@ -86,16 +108,16 @@ header.app {
color
:
$base-font-color
;
color
:
$base-font-color
;
display
:
block
;
display
:
block
;
font
:
normal
1
.2rem
/
1
.4rem
$sans-serif
;
font
:
normal
1
.2rem
/
1
.4rem
$sans-serif
;
height
:
3
0
px
;
height
:
3
8
px
;
@include
inline-block
;
@include
inline-block
;
margin
:
5px
;
margin
:
1px
5px
;
padding
:
6
px
8px
;
padding
:
10
px
8px
;
text-decoration
:
none
;
text-decoration
:
none
;
text-transform
:
uppercase
;
text-transform
:
uppercase
;
text-shadow
:
0
1px
rgba
(
255
,
255
,
255
,
0
.6
);
text-shadow
:
0
1px
rgba
(
255
,
255
,
255
,
0
.6
);
vertical-align
:
middle
;
vertical-align
:
middle
;
&
:hover
{
&
:hover
,
&
.active
{
@include
background-image
(
linear-gradient
(
-90deg
,
rgb
(
245
,
245
,
245
)
0%
,
rgb
(
243
,
243
,
243
)
50%
,
rgb
(
237
,
237
,
237
)
50%
,
rgb
(
235
,
235
,
235
)
100%
));
@include
background-image
(
linear-gradient
(
-90deg
,
rgb
(
245
,
245
,
245
)
0%
,
rgb
(
243
,
243
,
243
)
50%
,
rgb
(
237
,
237
,
237
)
50%
,
rgb
(
235
,
235
,
235
)
100%
));
border-color
:
rgb
(
200
,
200
,
200
);
border-color
:
rgb
(
200
,
200
,
200
);
@include
box-shadow
(
0
1px
0
0
rgba
(
255
,
255
,
255
,
0
.6
));
@include
box-shadow
(
0
1px
0
0
rgba
(
255
,
255
,
255
,
0
.6
));
...
@@ -103,52 +125,13 @@ header.app {
...
@@ -103,52 +125,13 @@ header.app {
}
}
}
}
}
}
}
nav
.user
{
&
.user
{
float
:
right
;
float
:
right
;
ol
{
a
.user-link
{
font-size
:
0em
;
padding
:
9px
8px
11px
40px
;
li
{
border-right
:
1px
solid
rgb
(
200
,
200
,
200
);
@include
inline-block
;
margin-top
:
10px
;
padding
:
0px
5px
;
position
:
relative
;
position
:
relative
;
vertical-align
:
bottom
;
a
{
@include
border-radius
(
3px
);
color
:
$lighter-base-font-color
;
display
:
block
;
font
:
normal
italic
1
.2rem
/
1
.2rem
$serif
;
height
:
15px
;
padding
:
10px
;
text-decoration
:
none
;
text-transform
:
lowercase
;
text-shadow
:
0
1px
rgba
(
255
,
255
,
255
,
0
.4
);
&
:hover
{
background
:
rgb
(
220
,
220
,
220
);
color
:
$base-font-color
;
}
&
.active
{
background
:
rgb
(
220
,
220
,
220
);
color
:
$base-font-color
;
}
&
.options
{
font
:
normal
1
.2rem
/
1
.2rem
$sans-serif
;
padding-right
:
10px
;
text-transform
:
none
;
}
&
.user-link
{
font
:
normal
1
.2rem
/
1
.2rem
$sans-serif
;
padding
:
10px
10px
10px
45px
;
text-transform
:
none
;
text-transform
:
none
;
@media
screen
and
(
max-width
:
768px
)
{
@media
screen
and
(
max-width
:
768px
)
{
...
@@ -164,10 +147,10 @@ header.app {
...
@@ -164,10 +147,10 @@ header.app {
@include
box-shadow
(
0
1px
0
0
rgba
(
255
,
255
,
255
,
0
.6
));
@include
box-shadow
(
0
1px
0
0
rgba
(
255
,
255
,
255
,
0
.6
));
height
:
22px
;
height
:
22px
;
@include
inline-block
;
@include
inline-block
;
left
:
15
px
;
left
:
8
px
;
overflow
:
hidden
;
overflow
:
hidden
;
position
:
absolute
;
position
:
absolute
;
top
:
5
px
;
top
:
6
px
;
width
:
22px
;
width
:
22px
;
&
:
:
after
{
&
:
:
after
{
...
@@ -190,19 +173,19 @@ header.app {
...
@@ -190,19 +173,19 @@ header.app {
}
}
}
}
}
}
}
ol
.user-options
{
ol
.user-options
{
@include
border-radius
(
4px
);
@include
border-radius
(
4px
);
@include
box-shadow
(
0
1px
6px
0
rgba
(
0
,
0
,
0
,
0
.3
));
@include
box-shadow
(
0
1px
6px
0
rgba
(
0
,
0
,
0
,
0
.3
));
border
:
1px
solid
rgb
(
200
,
200
,
200
);
border
:
1px
solid
rgb
(
0
,
0
,
0
);
background
:
rgb
(
220
,
220
,
220
);
@include
background-image
(
linear-gradient
(
-90deg
,
rgba
(
0
,
0
,
0
,
0
.9
)
0%
,
rgba
(
0
,
0
,
0
,
0
.7
)
100%
));
display
:
none
;
display
:
none
;
right
:
4
px
;
right
:
0
px
;
padding
:
5px
10px
;
padding
:
5px
10px
;
position
:
absolute
;
position
:
absolute
;
top
:
50
px
;
top
:
52
px
;
width
:
17
0px
;
width
:
15
0px
;
z-index
:
3
;
z-index
:
3
;
&
.expanded
{
&
.expanded
{
...
@@ -212,54 +195,56 @@ header.app {
...
@@ -212,54 +195,56 @@ header.app {
&
:
:
before
{
&
:
:
before
{
background
:
transparent
;
background
:
transparent
;
border
:
{
border
:
{
top
:
8px
solid
rgb
(
220
,
220
,
220
);
top
:
6px
solid
rgba
(
0
,
0
,
0
,
1
);
right
:
8px
solid
rgb
(
220
,
220
,
220
);
right
:
6px
solid
rgba
(
0
,
0
,
0
,
1
);
bottom
:
8
px
solid
transparent
;
bottom
:
6
px
solid
transparent
;
left
:
8
px
solid
transparent
;
left
:
6
px
solid
transparent
;
}
}
@include
box-shadow
(
1px
0
0
0
rgb
(
200
,
200
,
200
)
,
0
-1px
0
0
rgb
(
200
,
200
,
20
0
));
@include
box-shadow
(
1px
0
0
0
rgb
(
0
,
0
,
0
)
,
0
-1px
0
0
rgb
(
0
,
0
,
0
));
content
:
""
;
content
:
""
;
display
:
block
;
display
:
block
;
height
:
0px
;
height
:
0px
;
position
:
absolute
;
position
:
absolute
;
@include
transform
(
rotate
(
-45deg
));
@include
transform
(
rotate
(
-45deg
));
right
:
10
px
;
right
:
12
px
;
top
:
-7
px
;
top
:
-6
px
;
width
:
0px
;
width
:
0px
;
}
}
li
{
li
{
border
:
{
display
:
block
;
top
:
1px
solid
rgb
(
200
,
200
,
200
);
border-top
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.4
);
right
:
none
;
@include
box-shadow
(
inset
0
1px
0
0
rgba
(
255
,
255
,
255
,
0
.05
));
bottom
:
none
;
left
:
none
;
}
margin
:
0px
;
padding
:
0px
;
width
:
100%
;
&
:first-child
{
&
:first-child
{
border
:
none
;
border
:
none
;
@include
box-shadow
(
none
);
}
}
a
{
>
a
{
@include
box-sizing
(
border-box
);
@include
box-sizing
(
border-box
);
color
:
rgba
(
255
,
255
,
255
,
0
.9
);
display
:
block
;
display
:
block
;
font
:
normal
1rem
/
1
.2rem
$sans-
serif
;
font
:
normal
italic
1
.2rem
/
1
.4rem
$
serif
;
height
:
auto
;
height
:
auto
;
margin
:
5px
0px
;
margin
:
5px
0px
;
overflow
:
hidden
;
overflow
:
hidden
;
padding
:
5px
;
padding
:
3px
5px
4px
;
text-shadow
:
none
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
text-transform
:
none
;
@include
transition
(
padding
,
0
.1s
,
linear
);
@include
transition
(
padding
,
0
.1s
,
linear
);
white-space
:
nowrap
;
white-space
:
nowrap
;
width
:
100%
;
width
:
100%
;
&
:hover
{
&
:hover
{
background
:
rgb
(
255
,
255
,
255
);
background
:
$blue
;
padding
:
5px
8px
;
@include
background-image
(
linear-gradient
(
-90deg
,
lighten
(
$blue
,
15%
)
0%
,
}
rgba
(
$blue
,
1
)
100%
));
border-color
:
rgba
(
0
,
0
,
0
,
1
);
@include
box-shadow
(
none
);
padding-left
:
8px
;
text-shadow
:
0
-1px
rgba
(
0
,
0
,
0
,
0
.2
);
}
}
}
}
}
}
...
...
lms/static/sass/application.css
View file @
cd8051fb
...
@@ -1030,7 +1030,25 @@ header.app {
...
@@ -1030,7 +1030,25 @@ header.app {
display
:
block
;
display
:
block
;
float
:
left
;
float
:
left
;
height
:
100%
;
height
:
100%
;
margin
:
16px
15px
0px
0px
;
}
margin
:
16px
15px
0px
0px
;
position
:
relative
;
}
header
.app
a
.logo
img
{
position
:
relative
;
z-index
:
2
;
}
header
.app
a
.logo
:hover::before
{
background-image
:
-webkit-radial-gradient
(
50%
50%
,
circle
closest-side
,
rgba
(
255
,
255
,
255
,
0.8
)
0%
,
rgba
(
255
,
255
,
255
,
0
)
100%
);
background-image
:
-moz-radial-gradient
(
50%
50%
,
circle
closest-side
,
rgba
(
255
,
255
,
255
,
0.8
)
0%
,
rgba
(
255
,
255
,
255
,
0
)
100%
);
background-image
:
-ms-radial-gradient
(
50%
50%
,
circle
closest-side
,
rgba
(
255
,
255
,
255
,
0.8
)
0%
,
rgba
(
255
,
255
,
255
,
0
)
100%
);
background-image
:
-o-radial-gradient
(
50%
50%
,
circle
closest-side
,
rgba
(
255
,
255
,
255
,
0.8
)
0%
,
rgba
(
255
,
255
,
255
,
0
)
100%
);
background-image
:
radial-gradient
(
50%
50%
,
circle
closest-side
,
rgba
(
255
,
255
,
255
,
0.8
)
0%
,
rgba
(
255
,
255
,
255
,
0
)
100%
);
content
:
""
;
display
:
block
;
height
:
90px
;
left
:
-20px
;
position
:
absolute
;
top
:
-32px
;
width
:
90px
;
z-index
:
1
;
}
header
.app
.divider
{
header
.app
.divider
{
display
:
inline-block
;
display
:
inline-block
;
vertical-align
:
baseline
;
vertical-align
:
baseline
;
...
@@ -1044,7 +1062,7 @@ header.app {
...
@@ -1044,7 +1062,7 @@ header.app {
margin-top
:
8px
;
}
margin-top
:
8px
;
}
header
.app
nav
.find-courses
{
header
.app
nav
.find-courses
{
float
:
left
;
}
float
:
left
;
}
header
.app
nav
.guest
,
header
.app
nav
.user
{
header
.app
nav
.guest
{
float
:
right
;
}
float
:
right
;
}
header
.app
nav
ol
{
header
.app
nav
ol
{
font-size
:
0em
;
}
font-size
:
0em
;
}
...
@@ -1084,6 +1102,8 @@ header.app {
...
@@ -1084,6 +1102,8 @@ header.app {
margin-right
:
0px
;
}
margin-right
:
0px
;
}
header
.app
nav
ol
li
.secondary
a
:hover
{
header
.app
nav
ol
li
.secondary
a
:hover
{
color
:
#3c3c3c
;
}
color
:
#3c3c3c
;
}
header
.app
nav
ol
li
.primary
{
position
:
relative
;
}
header
.app
nav
ol
li
.primary
a
{
header
.app
nav
ol
li
.primary
a
{
border
:
1px
solid
transparent
;
border
:
1px
solid
transparent
;
-webkit-border-radius
:
3px
;
-webkit-border-radius
:
3px
;
...
@@ -1095,19 +1115,19 @@ header.app {
...
@@ -1095,19 +1115,19 @@ header.app {
color
:
#3c3c3c
;
color
:
#3c3c3c
;
display
:
block
;
display
:
block
;
font
:
normal
1.2rem
/
1.4rem
"Open Sans"
,
Verdana
,
Geneva
,
sans-serif
;
font
:
normal
1.2rem
/
1.4rem
"Open Sans"
,
Verdana
,
Geneva
,
sans-serif
;
height
:
30
px
;
height
:
38
px
;
display
:
inline-block
;
display
:
inline-block
;
vertical-align
:
baseline
;
vertical-align
:
baseline
;
zoom
:
1
;
zoom
:
1
;
*
display
:
inline
;
*
display
:
inline
;
*
vertical-align
:
auto
;
*
vertical-align
:
auto
;
margin
:
5px
;
margin
:
1px
5px
;
padding
:
6
px
8px
;
padding
:
10
px
8px
;
text-decoration
:
none
;
text-decoration
:
none
;
text-transform
:
uppercase
;
text-transform
:
uppercase
;
text-shadow
:
0
1px
rgba
(
255
,
255
,
255
,
0.6
);
text-shadow
:
0
1px
rgba
(
255
,
255
,
255
,
0.6
);
vertical-align
:
middle
;
}
vertical-align
:
middle
;
}
header
.app
nav
ol
li
.primary
a
:hover
{
header
.app
nav
ol
li
.primary
a
:hover
,
header
.app
nav
ol
li
.primary
a
.active
{
background-image
:
-webkit-linear-gradient
(
-90deg
,
#f5f5f5
0%
,
#f3f3f3
50%
,
#ededed
50%
,
#ebebeb
100%
);
background-image
:
-webkit-linear-gradient
(
-90deg
,
#f5f5f5
0%
,
#f3f3f3
50%
,
#ededed
50%
,
#ebebeb
100%
);
background-image
:
-moz-linear-gradient
(
-90deg
,
#f5f5f5
0%
,
#f3f3f3
50%
,
#ededed
50%
,
#ebebeb
100%
);
background-image
:
-moz-linear-gradient
(
-90deg
,
#f5f5f5
0%
,
#f3f3f3
50%
,
#ededed
50%
,
#ebebeb
100%
);
background-image
:
-ms-linear-gradient
(
-90deg
,
#f5f5f5
0%
,
#f3f3f3
50%
,
#ededed
50%
,
#ebebeb
100%
);
background-image
:
-ms-linear-gradient
(
-90deg
,
#f5f5f5
0%
,
#f3f3f3
50%
,
#ededed
50%
,
#ebebeb
100%
);
...
@@ -1119,51 +1139,16 @@ header.app {
...
@@ -1119,51 +1139,16 @@ header.app {
box-shadow
:
0
1px
0
0
rgba
(
255
,
255
,
255
,
0.6
);
}
box-shadow
:
0
1px
0
0
rgba
(
255
,
255
,
255
,
0.6
);
}
header
.app
nav
.user
{
header
.app
nav
.user
{
float
:
right
;
}
float
:
right
;
}
header
.app
nav
.user
ol
{
header
.app
nav
.user
a
.user-link
{
font-size
:
0em
;
}
padding
:
9px
8px
11px
40px
;
header
.app
nav
.user
ol
li
{
border-right
:
1px
solid
#c8c8c8
;
display
:
inline-block
;
vertical-align
:
baseline
;
zoom
:
1
;
*
display
:
inline
;
*
vertical-align
:
auto
;
margin-top
:
10px
;
padding
:
0px
5px
;
position
:
relative
;
position
:
relative
;
vertical-align
:
bottom
;
}
header
.app
nav
.user
ol
li
a
{
-webkit-border-radius
:
3px
;
-moz-border-radius
:
3px
;
border-radius
:
3px
;
color
:
#a0a0a0
;
display
:
block
;
font
:
normal
italic
1.2rem
/
1.2rem
Georgia
,
Cambria
,
"Times New Roman"
,
Times
,
serif
;
height
:
15px
;
padding
:
10px
;
text-decoration
:
none
;
text-transform
:
lowercase
;
text-shadow
:
0
1px
rgba
(
255
,
255
,
255
,
0.4
);
}
header
.app
nav
.user
ol
li
a
:hover
{
background
:
#dcdcdc
;
color
:
#3c3c3c
;
}
header
.app
nav
.user
ol
li
a
.active
{
background
:
#dcdcdc
;
color
:
#3c3c3c
;
}
header
.app
nav
.user
ol
li
a
.options
{
font
:
normal
1.2rem
/
1.2rem
"Open Sans"
,
Verdana
,
Geneva
,
sans-serif
;
padding-right
:
10px
;
text-transform
:
none
;
}
header
.app
nav
.user
ol
li
a
.user-link
{
font
:
normal
1.2rem
/
1.2rem
"Open Sans"
,
Verdana
,
Geneva
,
sans-serif
;
padding
:
10px
10px
10px
45px
;
text-transform
:
none
;
}
text-transform
:
none
;
}
@media
screen
and
(
max-width
:
768px
)
{
@media
screen
and
(
max-width
:
768px
)
{
header
.app
nav
.user
ol
li
a
.user-link
{
header
.app
nav
.user
a
.user-link
{
font-size
:
0em
;
font-size
:
0em
;
padding
:
10px
0px
;
padding
:
10px
0px
;
width
:
38px
;
}
}
width
:
38px
;
}
}
header
.app
nav
.user
ol
li
a
.user-link
.avatar
{
header
.app
nav
.user
a
.user-link
.avatar
{
background
:
#dcdcdc
;
background
:
#dcdcdc
;
-webkit-border-radius
:
3px
;
-webkit-border-radius
:
3px
;
-moz-border-radius
:
3px
;
-moz-border-radius
:
3px
;
...
@@ -1178,12 +1163,12 @@ header.app {
...
@@ -1178,12 +1163,12 @@ header.app {
zoom
:
1
;
zoom
:
1
;
*
display
:
inline
;
*
display
:
inline
;
*
vertical-align
:
auto
;
*
vertical-align
:
auto
;
left
:
15
px
;
left
:
8
px
;
overflow
:
hidden
;
overflow
:
hidden
;
position
:
absolute
;
position
:
absolute
;
top
:
5
px
;
top
:
6
px
;
width
:
22px
;
}
width
:
22px
;
}
header
.app
nav
.user
ol
li
a
.user-link
.avatar
::after
{
header
.app
nav
.user
a
.user-link
.avatar
::after
{
background-image
:
-webkit-linear-gradient
(
-60deg
,
rgba
(
0
,
0
,
0
,
0
)
0%
,
rgba
(
0
,
0
,
0
,
0.1
)
50%
,
rgba
(
0
,
0
,
0
,
0.2
)
50%
,
rgba
(
0
,
0
,
0
,
0.3
)
100%
);
background-image
:
-webkit-linear-gradient
(
-60deg
,
rgba
(
0
,
0
,
0
,
0
)
0%
,
rgba
(
0
,
0
,
0
,
0.1
)
50%
,
rgba
(
0
,
0
,
0
,
0.2
)
50%
,
rgba
(
0
,
0
,
0
,
0.3
)
100%
);
background-image
:
-moz-linear-gradient
(
-60deg
,
rgba
(
0
,
0
,
0
,
0
)
0%
,
rgba
(
0
,
0
,
0
,
0.1
)
50%
,
rgba
(
0
,
0
,
0
,
0.2
)
50%
,
rgba
(
0
,
0
,
0
,
0.3
)
100%
);
background-image
:
-moz-linear-gradient
(
-60deg
,
rgba
(
0
,
0
,
0
,
0
)
0%
,
rgba
(
0
,
0
,
0
,
0.1
)
50%
,
rgba
(
0
,
0
,
0
,
0.2
)
50%
,
rgba
(
0
,
0
,
0
,
0.3
)
100%
);
background-image
:
-ms-linear-gradient
(
-60deg
,
rgba
(
0
,
0
,
0
,
0
)
0%
,
rgba
(
0
,
0
,
0
,
0.1
)
50%
,
rgba
(
0
,
0
,
0
,
0.2
)
50%
,
rgba
(
0
,
0
,
0
,
0.3
)
100%
);
background-image
:
-ms-linear-gradient
(
-60deg
,
rgba
(
0
,
0
,
0
,
0
)
0%
,
rgba
(
0
,
0
,
0
,
0.1
)
50%
,
rgba
(
0
,
0
,
0
,
0.2
)
50%
,
rgba
(
0
,
0
,
0
,
0.3
)
100%
);
...
@@ -1196,7 +1181,7 @@ header.app {
...
@@ -1196,7 +1181,7 @@ header.app {
right
:
0px
;
right
:
0px
;
top
:
0px
;
top
:
0px
;
width
:
100%
;
}
width
:
100%
;
}
header
.app
nav
.user
ol
li
a
.user-link
.avatar
img
{
header
.app
nav
.user
a
.user-link
.avatar
img
{
-webkit-border-radius
:
4px
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
border-radius
:
4px
;
...
@@ -1204,33 +1189,37 @@ header.app {
...
@@ -1204,33 +1189,37 @@ header.app {
min-height
:
100%
;
min-height
:
100%
;
min-width
:
100%
;
min-width
:
100%
;
height
:
100%
;
}
height
:
100%
;
}
header
.app
nav
.user
ol
li
ol
.user-options
{
header
.app
nav
.user
ol
.user-options
{
-webkit-border-radius
:
4px
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
border-radius
:
4px
;
-webkit-box-shadow
:
0
1px
6px
0
rgba
(
0
,
0
,
0
,
0.3
);
-webkit-box-shadow
:
0
1px
6px
0
rgba
(
0
,
0
,
0
,
0.3
);
-moz-box-shadow
:
0
1px
6px
0
rgba
(
0
,
0
,
0
,
0.3
);
-moz-box-shadow
:
0
1px
6px
0
rgba
(
0
,
0
,
0
,
0.3
);
box-shadow
:
0
1px
6px
0
rgba
(
0
,
0
,
0
,
0.3
);
box-shadow
:
0
1px
6px
0
rgba
(
0
,
0
,
0
,
0.3
);
border
:
1px
solid
#c8c8c8
;
border
:
1px
solid
black
;
background
:
#dcdcdc
;
background-image
:
-webkit-linear-gradient
(
-90deg
,
rgba
(
0
,
0
,
0
,
0.9
)
0%
,
rgba
(
0
,
0
,
0
,
0.7
)
100%
);
background-image
:
-moz-linear-gradient
(
-90deg
,
rgba
(
0
,
0
,
0
,
0.9
)
0%
,
rgba
(
0
,
0
,
0
,
0.7
)
100%
);
background-image
:
-ms-linear-gradient
(
-90deg
,
rgba
(
0
,
0
,
0
,
0.9
)
0%
,
rgba
(
0
,
0
,
0
,
0.7
)
100%
);
background-image
:
-o-linear-gradient
(
-90deg
,
rgba
(
0
,
0
,
0
,
0.9
)
0%
,
rgba
(
0
,
0
,
0
,
0.7
)
100%
);
background-image
:
linear-gradient
(
-90deg
,
rgba
(
0
,
0
,
0
,
0.9
)
0%
,
rgba
(
0
,
0
,
0
,
0.7
)
100%
);
display
:
none
;
display
:
none
;
right
:
4
px
;
right
:
0
px
;
padding
:
5px
10px
;
padding
:
5px
10px
;
position
:
absolute
;
position
:
absolute
;
top
:
50
px
;
top
:
52
px
;
width
:
17
0px
;
width
:
15
0px
;
z-index
:
3
;
}
z-index
:
3
;
}
header
.app
nav
.user
ol
li
ol
.user-options.expanded
{
header
.app
nav
.user
ol
.user-options.expanded
{
display
:
block
;
}
display
:
block
;
}
header
.app
nav
.user
ol
li
ol
.user-options
::before
{
header
.app
nav
.user
ol
.user-options
::before
{
background
:
transparent
;
background
:
transparent
;
border-top
:
8px
solid
#dcdcdc
;
border-top
:
6px
solid
black
;
border-right
:
8px
solid
#dcdcdc
;
border-right
:
6px
solid
black
;
border-bottom
:
8
px
solid
transparent
;
border-bottom
:
6
px
solid
transparent
;
border-left
:
8
px
solid
transparent
;
border-left
:
6
px
solid
transparent
;
-webkit-box-shadow
:
1px
0
0
0
#c8c8c8
,
0
-1px
0
0
#c8c8c8
;
-webkit-box-shadow
:
1px
0
0
0
black
,
0
-1px
0
0
black
;
-moz-box-shadow
:
1px
0
0
0
#c8c8c8
,
0
-1px
0
0
#c8c8c8
;
-moz-box-shadow
:
1px
0
0
0
black
,
0
-1px
0
0
black
;
box-shadow
:
1px
0
0
0
#c8c8c8
,
0
-1px
0
0
#c8c8c8
;
box-shadow
:
1px
0
0
0
black
,
0
-1px
0
0
black
;
content
:
""
;
content
:
""
;
display
:
block
;
display
:
block
;
height
:
0px
;
height
:
0px
;
...
@@ -1240,30 +1229,34 @@ header.app {
...
@@ -1240,30 +1229,34 @@ header.app {
-ms-transform
:
rotate
(
-45deg
);
-ms-transform
:
rotate
(
-45deg
);
-o-transform
:
rotate
(
-45deg
);
-o-transform
:
rotate
(
-45deg
);
transform
:
rotate
(
-45deg
);
transform
:
rotate
(
-45deg
);
right
:
10
px
;
right
:
12
px
;
top
:
-7
px
;
top
:
-6
px
;
width
:
0px
;
}
width
:
0px
;
}
header
.app
nav
.user
ol
li
ol
.user-options
li
{
header
.app
nav
.user
ol
.user-options
li
{
border-top
:
1px
solid
#c8c8c8
;
display
:
block
;
border-right
:
none
;
border-top
:
1px
solid
rgba
(
0
,
0
,
0
,
0.4
);
border-bottom
:
none
;
-webkit-box-shadow
:
inset
0
1px
0
0
rgba
(
255
,
255
,
255
,
0.05
);
border-left
:
none
;
-moz-box-shadow
:
inset
0
1px
0
0
rgba
(
255
,
255
,
255
,
0.05
);
margin
:
0px
;
box-shadow
:
inset
0
1px
0
0
rgba
(
255
,
255
,
255
,
0.05
);
}
padding
:
0px
;
header
.app
nav
.user
ol
.user-options
li
:first-child
{
width
:
100%
;
}
border
:
none
;
header
.app
nav
.user
ol
li
ol
.user-options
li
:first-child
{
-webkit-box-shadow
:
none
;
border
:
none
;
}
-moz-box-shadow
:
none
;
header
.app
nav
.user
ol
li
ol
.user-options
li
a
{
box-shadow
:
none
;
}
header
.app
nav
.user
ol
.user-options
li
>
a
{
-webkit-box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
color
:
rgba
(
255
,
255
,
255
,
0.9
);
display
:
block
;
display
:
block
;
font
:
normal
1rem
/
1.2rem
"Open Sans"
,
Verdana
,
Geneva
,
sans-
serif
;
font
:
normal
italic
1.2rem
/
1.4rem
Georgia
,
Cambria
,
"Times New Roman"
,
Times
,
serif
;
height
:
auto
;
height
:
auto
;
margin
:
5px
0px
;
margin
:
5px
0px
;
overflow
:
hidden
;
overflow
:
hidden
;
padding
:
5px
;
padding
:
3px
5px
4px
;
text-shadow
:
none
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
text-transform
:
none
;
-webkit-transition
:
padding
,
0.1s
,
linear
;
-webkit-transition
:
padding
,
0.1s
,
linear
;
-moz-transition
:
padding
,
0.1s
,
linear
;
-moz-transition
:
padding
,
0.1s
,
linear
;
-ms-transition
:
padding
,
0.1s
,
linear
;
-ms-transition
:
padding
,
0.1s
,
linear
;
...
@@ -1271,9 +1264,19 @@ header.app {
...
@@ -1271,9 +1264,19 @@ header.app {
transition
:
padding
,
0.1s
,
linear
;
transition
:
padding
,
0.1s
,
linear
;
white-space
:
nowrap
;
white-space
:
nowrap
;
width
:
100%
;
}
width
:
100%
;
}
header
.app
nav
.user
ol
li
ol
.user-options
li
a
:hover
{
header
.app
nav
.user
ol
.user-options
li
>
a
:hover
{
background
:
white
;
background
:
#1d9dd9
;
padding
:
5px
8px
;
}
background-image
:
-webkit-linear-gradient
(
-90deg
,
#5abbe9
0%
,
#1d9dd9
100%
);
background-image
:
-moz-linear-gradient
(
-90deg
,
#5abbe9
0%
,
#1d9dd9
100%
);
background-image
:
-ms-linear-gradient
(
-90deg
,
#5abbe9
0%
,
#1d9dd9
100%
);
background-image
:
-o-linear-gradient
(
-90deg
,
#5abbe9
0%
,
#1d9dd9
100%
);
background-image
:
linear-gradient
(
-90deg
,
#5abbe9
0%
,
#1d9dd9
100%
);
border-color
:
black
;
-webkit-box-shadow
:
none
;
-moz-box-shadow
:
none
;
box-shadow
:
none
;
padding-left
:
8px
;
text-shadow
:
0
-1px
rgba
(
0
,
0
,
0
,
0.2
);
}
.courses
{
.courses
{
-webkit-box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
;
...
...
lms/templates/navigation.html
View file @
cd8051fb
...
@@ -25,15 +25,17 @@
...
@@ -25,15 +25,17 @@
%if user.is_authenticated():
%if user.is_authenticated():
<nav
class=
"user"
>
<nav
class=
"user"
>
<ol>
<ol>
<li>
<li
class=
"primary"
>
<div
class=
"divider"
></div>
<a
href=
"/dashboard"
class=
"user-link"
>
<a
href=
"/dashboard"
class=
"user-link"
>
<span
class=
"avatar"
><img
src=
"${static.url('images/profile.jpg')}"
/></span>
<span
class=
"avatar"
><img
src=
"${static.url('images/profile.jpg')}"
/></span>
Neil deGrasse Tyson
Neil deGrasse Tyson
</a>
</a>
</li>
<div
class=
"divider"
></div>
<li>
<a
href=
"#"
class=
"options"
>
&
#9662
</a>
<a
href=
"#"
class=
"options"
>
&
#9662
</a>
<div
class=
"divider"
></div>
<ol
class=
"user-options"
>
<ol
class=
"user-options"
>
<li><a
href=
"#"
>
Account Settings
</a></li>
<li><a
href=
"#"
>
Help
</a></li>
<li><a
href=
"#"
>
Help
</a></li>
<li><a
href=
"/logout"
>
Log Out
</a></li>
<li><a
href=
"/logout"
>
Log Out
</a></li>
</ol>
</ol>
...
...
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