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
2be2e2f2
Commit
2be2e2f2
authored
May 14, 2013
by
Brian Talbot
Committed by
David Baumgold
May 22, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
studio - plumbs in Font Awesome icons into header dropdown menus and user nav
parent
03382674
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
cms/static/sass/elements/_header.scss
+8
-2
cms/templates/widgets/header.html
+5
-5
No files found.
cms/static/sass/elements/_header.scss
View file @
2be2e2f2
...
@@ -131,6 +131,11 @@
...
@@ -131,6 +131,11 @@
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
@include
font-size
(
16
);
@include
font-size
(
16
);
font-weight
:
600
;
font-weight
:
600
;
[
class
^=
"icon-"
]
{
@include
font-size
(
36
);
@include
lh
(
36
);
}
}
}
}
}
...
@@ -219,10 +224,11 @@
...
@@ -219,10 +224,11 @@
.nav-item
{
.nav-item
{
position
:
relative
;
position
:
relative
;
.icon-
expand
{
.icon-
caret-down
{
@include
font-size
(
14
);
@include
font-size
(
14
);
@include
transition
(
color
0
.5s
ease-in-out
,
opacity
0
.5s
ease-in-out
);
@include
transition
(
color
0
.5s
ease-in-out
,
opacity
0
.5s
ease-in-out
);
display
:
inline-block
;
display
:
inline-block
;
vertical-align
:
middle
;
margin-left
:
2px
;
margin-left
:
2px
;
opacity
:
0
.5
;
opacity
:
0
.5
;
color
:
$gray-l2
;
color
:
$gray-l2
;
...
@@ -230,7 +236,7 @@
...
@@ -230,7 +236,7 @@
&
:hover
{
&
:hover
{
.icon-
expand
{
.icon-
caret-down
{
color
:
$blue
;
color
:
$blue
;
opacity
:
1
.0
;
opacity
:
1
.0
;
}
}
...
...
cms/templates/widgets/header.html
View file @
2be2e2f2
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<ol>
<ol>
<li
class=
"nav-item nav-course-courseware"
>
<li
class=
"nav-item nav-course-courseware"
>
<h3
class=
"title"
><span
class=
"label-prefix"
>
Course
</span>
Content
<i
class=
"
ss-icon ss-symbolicons-block icon-expand"
>
▾
</i></h3>
<h3
class=
"title"
><span
class=
"label-prefix"
>
Course
</span>
Content
<i
class=
"
icon-caret-down"
>
</i></h3>
<div
class=
"wrapper wrapper-nav-sub"
>
<div
class=
"wrapper wrapper-nav-sub"
>
<div
class=
"nav-sub"
>
<div
class=
"nav-sub"
>
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
</li>
</li>
<li
class=
"nav-item nav-course-settings"
>
<li
class=
"nav-item nav-course-settings"
>
<h3
class=
"title"
><span
class=
"label-prefix"
>
Course
</span>
Settings
<i
class=
"
ss-icon ss-symbolicons-block icon-expand"
>
▾
</i></h3>
<h3
class=
"title"
><span
class=
"label-prefix"
>
Course
</span>
Settings
<i
class=
"
icon-caret-down"
>
</i></h3>
<div
class=
"wrapper wrapper-nav-sub"
>
<div
class=
"wrapper wrapper-nav-sub"
>
<div
class=
"nav-sub"
>
<div
class=
"nav-sub"
>
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
</li>
</li>
<li
class=
"nav-item nav-course-tools"
>
<li
class=
"nav-item nav-course-tools"
>
<h3
class=
"title"
>
Tools
<i
class=
"
ss-icon ss-symbolicons-block icon-expand"
>
▾
</i></h3>
<h3
class=
"title"
>
Tools
<i
class=
"
icon-caret-down"
>
</i></h3>
<div
class=
"wrapper wrapper-nav-sub"
>
<div
class=
"wrapper wrapper-nav-sub"
>
<div
class=
"nav-sub"
>
<div
class=
"nav-sub"
>
...
@@ -76,10 +76,10 @@
...
@@ -76,10 +76,10 @@
<li
class=
"nav-item nav-account-username"
>
<li
class=
"nav-item nav-account-username"
>
<a
href=
"#"
class=
"title"
>
<a
href=
"#"
class=
"title"
>
<span
class=
"account-username"
>
<span
class=
"account-username"
>
<i
class=
"
ss-icon ss-symbolicons-standard icon-user"
>
👤
</i>
<i
class=
"
icon-user"
>
</i>
${ user.username }
${ user.username }
</span>
</span>
<i
class=
"
ss-icon ss-symbolicons-block icon-expand"
>
▾
</i>
<i
class=
"
icon-caret-down"
>
</i>
</a>
</a>
<div
class=
"wrapper wrapper-nav-sub"
>
<div
class=
"wrapper wrapper-nav-sub"
>
...
...
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