Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix styling and code/view switch.

  • Loading branch information...
commit eb429c0a1f42961ad229d2772f124247dd9da7ec 1 parent 1575298
@nbeloglazov nbeloglazov authored
View
8 resources/public/css/style.css
@@ -561,14 +561,18 @@ button:active {
#instruct{
font-weight: bold;
- padding-top: 25px;
+ padding-top: 10px;
float: left;
}
.theme-holder {
float: right;
font-weight: bold;
- padding-top: 25px;
+ padding-top: 10px;
+}
+
+.margin-right {
+ margin-right: 10px;
}
#theme-selector {
View
4 resources/public/script/codebox.js
@@ -47,9 +47,9 @@ var CodeBox = {
toggle: function() {
if(this.disableJavascript)
- $("#code-box").toggle('fast');
+ $(".codebox").toggle('fast');
else
- $("#code-div").toggle('fast');
+ $(".codebox").toggle('fast');
},
submitProblem: function(e) {
View
1  resources/public/script/foreclojure.js
@@ -195,6 +195,7 @@ function changeToCodeView() {
function configureGolf(){
$('#graph-link').show();
$('#golfgraph').hide();
+ $('.theme-holder').addClass('margin-right');
$('#graph-link').click(function() {
CodeBox.toggle();
$('#golfgraph').toggle('fast', function() {
Please sign in to comment.
Something went wrong with that request. Please try again.