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
a4904b38
Commit
a4904b38
authored
Sep 11, 2015
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9686 from jolyonb/feqanswer
Modifying template for formulaequationinput and fixing CSS
parents
fe1c44af
7f14a151
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
11 deletions
+13
-11
common/lib/capa/capa/templates/formulaequationinput.html
+2
-1
common/lib/xmodule/xmodule/css/capa/display.scss
+11
-10
No files found.
common/lib/capa/capa/templates/formulaequationinput.html
View file @
a4904b38
...
...
@@ -16,11 +16,12 @@
</span>
</span>
<p
id=
"answer_${id}"
class=
"answer"
></p>
<div
id=
"input_${id}_preview"
class=
"equation"
>
\[\]
<img
src=
"${STATIC_URL}images/spinner.gif"
class=
"loading"
alt=
"Loading"
/>
</div>
<p
id=
"answer_${id}"
class=
"answer"
></p>
</div>
<div
class=
"script_placeholder"
data-src=
"${previewer}"
/>
...
...
common/lib/xmodule/xmodule/css/capa/display.scss
View file @
a4904b38
...
...
@@ -406,7 +406,6 @@ div.problem {
margin-top
:
3px
;
.MathJax_Display
{
display
:
inline-block
;
width
:
auto
;
}
...
...
@@ -429,6 +428,11 @@ div.problem {
}
}
// Fix for formulaequationinput, overriding MathJax_Display default style to allow "loading" image to sit next to it
section
.formulaequationinput
div
.equation
.MathJax_Display
{
display
:
inline-block
!
important
;
}
// Hides equation previews in symbolic response problems when printing
[
id
^=
'display'
]
.equation
{
@media
print
{
...
...
@@ -713,13 +717,10 @@ div.problem {
height
:
46px
;
}
>
.incorrect
,
.correct
,
.unanswered
{
.status
{
display
:
inline-block
;
margin-top
:
(
$baseline
/
2
);
background
:
none
;
}
.status
{
display
:
inline-block
;
margin-top
:
(
$baseline
/
2
);
background
:
none
;
}
// CASE: incorrect answer
...
...
@@ -746,8 +747,8 @@ div.problem {
}
}
// CASE: unanswered
>
.unanswered
{
// CASE: unanswered
and unsubmitted
>
.unanswered
,
>
.unsubmitted
{
input
{
border
:
2px
solid
$gray-l4
;
...
...
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