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
7e86b838
Commit
7e86b838
authored
Jan 26, 2012
by
Kyle Fiedler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added more sequence styles
--HG-- branch : kf-video-layout
parent
f2a748e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
1 deletions
+56
-1
sass/_courseware.scss
+55
-0
seq_module.js
+1
-1
No files found.
sass/_courseware.scss
View file @
7e86b838
...
...
@@ -115,6 +115,61 @@ div.course-wrapper {
padding
:
lh
(
.75
);
float
:
left
;
//problem
&
.seq_problem_inactive
{
width
:
14px
;
background
:
url('/static/images/problem-icon.png')
13px
13px
no-repeat
;
}
&
.seq_problem_visited
{
width
:
14px
;
background
:
shade
(
#F6EFD4
,
4%
)
url('/static/images/problem-icon.png')
-57px
13px
no-repeat
;
}
&
.seq_problem_active
{
width
:
14px
;
background
:
#FFFBEB
url('/static/images/problem-icon.png')
-22px
13px
no-repeat
;
border-right
:
1px
solid
#D8CFA8
;
border-left
:
1px
solid
#D8CFA8
;
}
//video
&
.seq_video_inactive
{
width
:
14px
;
background
:
url('/static/images/video-icon.png')
13px
15px
no-repeat
;
}
&
.seq_video_visited
{
width
:
14px
;
background
:
shade
(
#F6EFD4
,
4%
)
url('/static/images/video-icon.png')
-64px
15px
no-repeat
;
}
&
.seq_video_active
{
width
:
14px
;
background
:
#FFFBEB
url('/static/images/video-icon.png')
-25px
15px
no-repeat
;
border-right
:
1px
solid
#D8CFA8
;
border-left
:
1px
solid
#D8CFA8
;
}
//vertical
&
.seq_vertical_inactive
{
width
:
14px
;
background
:
url('/static/images/vertical-icon.png')
13px
15px
no-repeat
;
}
&
.seq_vertical_visited
{
width
:
14px
;
background
:
shade
(
#F6EFD4
,
4%
)
url('/static/images/vertical-icon.png')
-82px
15px
no-repeat
;
}
&
.seq_vertical_active
{
width
:
14px
;
background
:
#FFFBEB
url('/static/images/vertical-icon.png')
-35px
15px
no-repeat
;
border-right
:
1px
solid
#D8CFA8
;
border-left
:
1px
solid
#D8CFA8
;
}
&
.prev
,
&
.next
{
@include
box-shadow
(
inset
1px
0
0
lighten
(
#f6efd4
,
5%
));
background
:
darken
(
#F6EFD4
,
5%
);
...
...
seq_module.js
View file @
7e86b838
...
...
@@ -44,7 +44,7 @@ function ${ id }goto(i) {
$
{
id
}
loc
=
i
;
//$('#tt_'+i).attr("style", "background-color:red");
$
(
'#tt_'
+
i
).
removeClass
();
$
(
'#tt_'
+
i
).
addClass
(
"seq_active"
);
$
(
'#tt_'
+
i
).
addClass
(
"seq_
"
+
$
{
id
}
types
[
$
{
id
}
loc
]
+
"_
active"
);
MathJax
.
Hub
.
Queue
([
"Typeset"
,
MathJax
.
Hub
]);
}
...
...
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