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
f785f6f8
Commit
f785f6f8
authored
Sep 05, 2012
by
Kyle Fiedler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some nicer styles for dynamic math
parent
8a5e872c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
4 deletions
+25
-4
common/lib/capa/capa/templates/optioninput.html
+0
-1
common/lib/xmodule/xmodule/css/capa/display.scss
+24
-3
lms/templates/problem.html
+1
-0
No files found.
common/lib/capa/capa/templates/optioninput.html
View file @
f785f6f8
<form
class=
"option-input"
>
<form
class=
"option-input"
>
<select
name=
"input_${id}"
id=
"input_${id}"
>
<select
name=
"input_${id}"
id=
"input_${id}"
>
<option
value=
"option_${id}_dummy_default"
>
</option>
<option
value=
"option_${id}_dummy_default"
>
</option>
% for option_id, option_description in options:
% for option_id, option_description in options:
...
...
common/lib/xmodule/xmodule/css/capa/display.scss
View file @
f785f6f8
...
@@ -137,11 +137,19 @@ section.problem {
...
@@ -137,11 +137,19 @@ section.problem {
div
.equation
{
div
.equation
{
clear
:
both
;
clear
:
both
;
padding
:
6px
;
margin-top
:
3px
;
background
:
#eee
;
span
{
span
{
margin-bottom
:
0
;
margin-bottom
:
0
;
&
.math
{
padding
:
6px
;
background
:
#f1f1f1
;
border
:
1px
solid
#e3e3e3
;
@include
inline-block
;
@include
border-radius
(
4px
);
min-width
:
300px
;
}
}
}
}
}
...
@@ -227,8 +235,21 @@ section.problem {
...
@@ -227,8 +235,21 @@ section.problem {
}
}
}
}
}
}
}
// .option-problem {
// @include clearfix;
// > p {
// float: left;
// width: flex-grid(6,9);
// }
// > span {
// float: right;
// width: flex-grid(3,9);
// }
// }
}
ul
{
ul
{
list-style
:
disc
outside
none
;
list-style
:
disc
outside
none
;
...
...
lms/templates/problem.html
View file @
f785f6f8
...
@@ -53,6 +53,7 @@
...
@@ -53,6 +53,7 @@
$
(
this
).
parent
().
parent
().
toggleClass
(
'open'
);
$
(
this
).
parent
().
parent
().
toggleClass
(
'open'
);
return
false
return
false
});
});
});
});
</script>
</script>
</
%
block>
</
%
block>
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