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
b30c2f3b
Commit
b30c2f3b
authored
Jul 07, 2015
by
Marco Morales
Committed by
marcotuts
Jul 13, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated graded icon indicator to use data-tooltip, font-awesome, plus hides it from screenreaders
parent
d494fe22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
16 deletions
+13
-16
lms/static/sass/course/courseware/_sidebar.scss
+12
-15
lms/templates/courseware/accordion.html
+1
-1
No files found.
lms/static/sass/course/courseware/_sidebar.scss
View file @
b30c2f3b
...
...
@@ -137,10 +137,11 @@
line-height
:
1
.3
;
&
.subtitle
{
color
:
#666
;
font-size
:
13px
;
font-weight
:
normal
;
display
:
block
;
@extend
%t-copy-sub2
;
@extend
%t-weight2
;
display
:
inline-block
;
width
:
90%
;
color
:
$gray-d1
;
margin
:
0
;
&
:empty
{
...
...
@@ -153,7 +154,7 @@
background
:
$shadow-l1
;
>
a
p
{
color
:
#33
3
;
color
:
$gray-d
3
;
}
}
...
...
@@ -168,7 +169,7 @@
}
&
.active
{
font-weight
:
bold
;
@extend
%t-weight5
;
&
:after
{
content
:
'›'
;
...
...
@@ -199,19 +200,15 @@
}
span
.subtitle
{
font-weight
:
normal
;
@extend
%t-weight2
;
}
}
&
.graded
{
>
a
{
>
img
{
position
:
absolute
;
top
:
0
;
bottom
:
0
;
@include
right
(
7px
);
margin
:
auto
;
}
>
a
{
.icon
{
vertical-align
:
middle
;
}
}
&
.active
>
a
{
...
...
lms/templates/courseware/accordion.html
View file @
b30c2f3b
...
...
@@ -36,7 +36,7 @@
<p
class=
"subtitle"
>
${section['format']} ${due_date}
</p>
% if 'graded' in section and section['graded']:
<img
src=
"/static/images/graded.png"
alt=
"Graded Section"
>
<i
class=
"icon fa fa-pencil-square-o"
aria-hidden=
"true"
data-tooltip=
"${_("
This
section
is
graded
.")}"
></i
>
% endif
</a>
</li>
...
...
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