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
3f6b7cb0
Commit
3f6b7cb0
authored
Feb 18, 2016
by
Christine Lytwynec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sequence navigation tooltip mechanism updated
parent
03487073
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
10 deletions
+8
-10
common/lib/xmodule/xmodule/css/sequence/display.scss
+5
-7
common/test/acceptance/pages/lms/course_nav.py
+1
-1
common/test/acceptance/pages/lms/courseware.py
+1
-1
lms/templates/seq_module.html
+1
-1
No files found.
common/lib/xmodule/xmodule/css/sequence/display.scss
View file @
3f6b7cb0
...
...
@@ -195,21 +195,22 @@ $link-color: rgb(26, 161, 222) !default;
}
}
p
{
.sequence-toolti
p
{
@extend
%ui-depth2
;
display
:
none
;
margin-top
:
(
$baseline
/
5
);
background
:
#333
;
color
:
$white
;
font-family
:
$sans-serif
;
line-height
:
lh
();
right
:
0
;
opacity
:
0
.0
;
padding
:
6px
;
position
:
absolute
;
top
:
48px
;
text-shadow
:
0
-1px
0
$black
;
@include
text-align
(
left
);
@include
transition
(
all
.1s
$ease-in-out-quart
0s
);
white-space
:
pre
;
visibility
:
hidden
;
pointer-events
:
none
;
&
:empty
{
...
...
@@ -234,11 +235,8 @@ $link-color: rgb(26, 161, 222) !default;
}
&
:hover
,
&
:focus
{
p
{
.sequence-toolti
p
{
display
:
block
;
margin-top
:
(
$baseline
/
5
);
opacity
:
1
.0
;
visibility
:
visible
;
}
}
}
...
...
common/test/acceptance/pages/lms/course_nav.py
View file @
3f6b7cb0
...
...
@@ -57,7 +57,7 @@ class CourseNavPage(PageObject):
Example return value:
['Chemical Bonds Video', 'Practice Problems', 'Homework']
"""
seq_css
=
'ol#sequence-list>li>a>p'
seq_css
=
'ol#sequence-list>li>a>
.sequence-toolti
p'
return
self
.
q
(
css
=
seq_css
)
.
map
(
self
.
_clean_seq_titles
)
.
results
def
go_to_section
(
self
,
section_title
,
subsection_title
):
...
...
common/test/acceptance/pages/lms/courseware.py
View file @
3f6b7cb0
...
...
@@ -87,7 +87,7 @@ class CoursewarePage(CoursePage):
for
index
,
tab
in
enumerate
(
self
.
q
(
css
=
'#sequence-list > li'
)):
ActionChains
(
self
.
browser
)
.
move_to_element
(
tab
)
.
perform
()
self
.
wait_for_element_visibility
(
'#tab_{index} > p'
.
format
(
index
=
index
),
'#tab_{index} >
.sequence-toolti
p'
.
format
(
index
=
index
),
'Tab {index} should appear'
.
format
(
index
=
index
)
)
...
...
lms/templates/seq_module.html
View file @
3f6b7cb0
...
...
@@ -25,7 +25,7 @@
tabindex=
"0"
>
<i
class=
"icon fa seq_${item['type']}"
aria-hidden=
"true"
></i>
<i
class=
"fa fa-fw fa-bookmark bookmark-icon ${"
is-hidden
"
if
not
item
['
bookmarked
']
else
"
bookmarked
"}"
aria-hidden=
"true"
></i>
<
p><span
class=
"sr"
>
${item['type']}
</span>
${item['title']}
<span
class=
"sr bookmark-icon-sr"
>
${_("Bookmarked") if item['bookmarked'] else ""}
</span></p
>
<
div
class=
"sequence-tooltip"
><span
class=
"sr"
>
${item['type']}
</span>
${item['title']}
<span
class=
"sr bookmark-icon-sr"
>
${_("Bookmarked") if item['bookmarked'] else ""}
</span></div
>
</a>
</li>
% endfor
...
...
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