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
c8f8704a
Commit
c8f8704a
authored
Feb 25, 2015
by
Fred Smith
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7107 from edx/ahsan/tnl-1382-css-background-used-home-link-issue-stage
CSS issue of the change on the stage
parents
c92c8fce
7c8bdb9d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
9 deletions
+30
-9
lms/static/sass/shared/_header.scss
+25
-7
lms/templates/navigation-edx.html
+5
-2
No files found.
lms/static/sass/shared/_header.scss
View file @
c8f8704a
...
...
@@ -472,28 +472,46 @@ header.global-new {
}
}
}
a
.user-link
{
@include
padding
(
6px
,
12px
,
8px
,
35px
);
a
.user-link
{
@include
padding
(
3px
,
12px
,
8px
,
8px
);
position
:
relative
;
text-transform
:
none
;
font-size
:
14px
;
font-weight
:
bold
;
letter-spacing
:
0
;
.icon
{
display
:
inline-block
;
@include
float
(
left
);
margin
:
3px
0
-3px
0
;
font-size
:
1
.2em
;
color
:
$m-gray
;
}
.avatar
{
@include
background-image
(
url('../images/small-header-home-icon.png')
);
background-repeat
:
no-repeat
;
height
:
26px
;
// CASE: right to left layout
display
:
inline-block
;
@include
left
(
8px
);
opacity
:
0
.5
;
overflow
:
hidden
;
position
:
absolute
;
top
:
4px
;
margin-top
:
1px
;
margin-right
:
2px
;
@include
transition
(
all
0
.15s
linear
0s
);
width
:
19px
;
}
div
{
margin-top
:
3px
;
float
:
right
;
margin-left
:
4px
;
}
div
{
margin-top
:
3px
;
float
:
right
;
margin-left
:
4px
;
}
&
:hover
,
&
:focus
{
.avatar
{
...
...
lms/templates/navigation-edx.html
View file @
c8f8704a
...
...
@@ -68,8 +68,11 @@ site_status_msg = get_site_status_msg(course_id)
<ol
class=
"user"
>
<li
class=
"primary"
>
<a
href=
"${reverse('dashboard')}"
class=
"user-link"
>
<span
class=
"avatar"
></span>
<span
class=
"sr"
>
${_("Dashboard for:")}
</span>
${user.username}
<i
class=
"icon fa fa-home"
aria-hidden=
"true"
></i>
<span
class=
"sr"
>
${_("Dashboard for:")}
</span>
<div>
${user.username}
</div>
</a>
</li>
<li
class=
"primary"
>
...
...
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