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
5950520e
Commit
5950520e
authored
12 years ago
by
Tom Giannattasio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweaked sequence nav and discussion profile sidebar
parent
a2372e65
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
15 deletions
+12
-15
common/lib/xmodule/xmodule/css/sequence/display.scss
+6
-7
common/lib/xmodule/xmodule/js/src/sequence/display.coffee
+1
-0
lms/static/js/jquery.sequence.js
+0
-5
lms/static/sass/_discussion.scss
+5
-0
lms/templates/seq_module.html
+0
-3
No files found.
common/lib/xmodule/xmodule/css/sequence/display.scss
View file @
5950520e
...
...
@@ -61,13 +61,12 @@ nav.sequence-nav {
min-width
:
20px
;
a
{
width
:
34px
;
height
:
34
px
;
margin
:
4px
auto
;
background-position
:
center
1
0
px
;
width
:
100%
;
height
:
42
px
;
margin
:
0
;
background-position
:
center
1
4
px
;
background-repeat
:
no-repeat
;
border
:
1px
solid
transparent
;
@include
border-radius
(
35px
);
cursor
:
pointer
;
display
:
block
;
padding
:
0
;
...
...
@@ -82,7 +81,7 @@ nav.sequence-nav {
&
:hover
{
background-color
:
#fff
;
background-repeat
:
no-repeat
;
background-position
:
center
1
0
px
;
background-position
:
center
1
4
px
;
}
&
.active
{
...
...
@@ -103,7 +102,7 @@ nav.sequence-nav {
&
:hover
{
background-color
:
#fff
;
background-repeat
:
no-repeat
;
background-position
:
center
1
0
px
;
background-position
:
center
1
4
px
;
}
}
...
...
This diff is collapsed.
Click to expand it.
common/lib/xmodule/xmodule/js/src/sequence/display.coffee
View file @
5950520e
...
...
@@ -55,6 +55,7 @@ class @Sequence
element
.
removeClass
(
'progress-none'
)
.
removeClass
(
'progress-some'
)
.
removeClass
(
'progress-done'
)
switch
progress
when
'none'
then
element
.
addClass
(
'progress-none'
)
when
'in_progress'
then
element
.
addClass
(
'progress-some'
)
...
...
This diff is collapsed.
Click to expand it.
lms/static/js/jquery.sequence.js
View file @
5950520e
...
...
@@ -27,11 +27,6 @@ var SequenceNav = function($element) {
var
offset
=
e
.
pageX
-
mouseOrigin
;
var
targetLeft
=
clamp
(
listOrigin
+
offset
,
-
maxScroll
,
0
);
console
.
log
(
'---------------'
);
console
.
log
(
'offset: '
+
offset
);
console
.
log
(
'target left: '
+
targetLeft
);
console
.
log
(
'max: '
+
maxScroll
);
updateHorizontalPosition
(
targetLeft
);
setShadows
(
targetLeft
);
...
...
This diff is collapsed.
Click to expand it.
lms/static/sass/_discussion.scss
View file @
5950520e
...
...
@@ -150,10 +150,15 @@ $tag-text-color: #5b614f;
//user profile
.user-profile
{
@extend
.sidebar
;
}
.sidebar-username
{
font-size
:
1
.5em
;
font-weight
:
bold
;
line-height
:
1
.5em
;
margin-top
:
20px
;
}
.sidebar-user-roles
{
...
...
This diff is collapsed.
Click to expand it.
lms/templates/seq_module.html
View file @
5950520e
...
...
@@ -40,9 +40,6 @@
<script
type=
"text/javascript"
>
var
sequenceNav
;
$
(
document
).
ready
(
function
()
{
// console.log($('.sequence-nav'));
sequenceNav
=
new
SequenceNav
(
$
(
'.sequence-nav'
));
console
.
log
(
sequenceNav
);
});
</script>
This diff is collapsed.
Click to expand it.
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