Added some nicer styles for dynamic math

This commit is contained in:
Kyle Fiedler
2012-09-05 14:24:05 -04:00
parent 8a5e872c8f
commit f785f6f8a1
3 changed files with 25 additions and 4 deletions

View File

@@ -1,5 +1,4 @@
<form class="option-input">
<select name="input_${id}" id="input_${id}" >
<option value="option_${id}_dummy_default"> </option>
% for option_id, option_description in options:

View File

@@ -137,11 +137,19 @@ section.problem {
div.equation {
clear: both;
padding: 6px;
background: #eee;
margin-top: 3px;
span {
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 {
}
}
}
}
// .option-problem {
// @include clearfix;
// > p {
// float: left;
// width: flex-grid(6,9);
// }
// > span {
// float: right;
// width: flex-grid(3,9);
// }
// }
}
ul {
list-style: disc outside none;

View File

@@ -53,6 +53,7 @@
$(this).parent().parent().toggleClass('open');
return false
});
});
</script>
</%block>