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
0700f56d
Commit
0700f56d
authored
Feb 12, 2013
by
Valera Rozuvan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for correct module class name. Removed gray underline from wrapper for wrapperModule.
parent
863dae7e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
common/lib/xmodule/xmodule/css/wrapper/display.scss
+0
-4
common/lib/xmodule/xmodule/js/src/poll/poll_main.js
+5
-5
lms/static/sass/course/courseware/_courseware.scss
+6
-2
No files found.
common/lib/xmodule/xmodule/css/wrapper/display.scss
View file @
0700f56d
.vert-mod
>
li
{
border-bottom
:
none
;
margin-bottom
:
0px
;
padding
:
0
0
0px
;
}
common/lib/xmodule/xmodule/js/src/poll/poll_main.js
View file @
0700f56d
...
...
@@ -123,8 +123,8 @@ PollMain.prototype = {
function
(
response
)
{
_this
.
showAnswerGraph
(
response
.
poll_answers
,
response
.
total
);
if
(
_this
.
vertical
SectionEl
!==
null
)
{
$
(
_this
.
vertical
SectionEl
).
find
(
'.xmodule_ConditionalModule'
).
each
(
function
(
index
,
value
)
{
if
(
_this
.
wrapper
SectionEl
!==
null
)
{
$
(
_this
.
wrapper
SectionEl
).
find
(
'.xmodule_ConditionalModule'
).
each
(
function
(
index
,
value
)
{
new
window
.
Conditional
(
value
);
});
}
...
...
@@ -222,7 +222,7 @@ function PollMain(el) {
// DOM element which contains the current poll along with any conditionals. By default we assume that such
// element is not present. We will try to find it.
this
.
vertical
SectionEl
=
null
;
this
.
wrapper
SectionEl
=
null
;
(
function
(
tempEl
,
c1
)
{
while
(
tempEl
.
tagName
.
toLowerCase
()
!==
'body'
)
{
...
...
@@ -231,9 +231,9 @@ function PollMain(el) {
if
(
(
tempEl
.
tagName
.
toLowerCase
()
===
'section'
)
&&
(
$
(
tempEl
).
hasClass
(
'xmodule_
Vertical
Module'
)
===
true
)
(
$
(
tempEl
).
hasClass
(
'xmodule_
Wrapper
Module'
)
===
true
)
)
{
_this
.
vertical
SectionEl
=
tempEl
;
_this
.
wrapper
SectionEl
=
tempEl
;
break
;
}
else
if
(
c1
>
50
)
{
...
...
lms/static/sass/course/courseware/_courseware.scss
View file @
0700f56d
...
...
@@ -119,6 +119,10 @@ div.course-wrapper {
}
}
section
.xmodule_WrapperModule
ol
.vert-mod
>
li
{
border-bottom
:
none
;
}
section
.tutorials
{
h2
{
margin-bottom
:
lh
();
...
...
@@ -219,7 +223,7 @@ div.course-wrapper {
.xmodule_VideoModule
{
margin-bottom
:
30px
;
}
...
...
@@ -237,7 +241,7 @@ section.self-assessment {
margin-top
:
5px
;
margin-bottom
:
5px
;
}
div
{
margin-top
:
5px
;
margin-bottom
:
5px
;
...
...
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