Skip to content

Commit

Permalink
Fix styling and code/view switch.
Browse files Browse the repository at this point in the history
  • Loading branch information
nbeloglazov committed Sep 1, 2012
1 parent 1575298 commit eb429c0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
8 changes: 6 additions & 2 deletions resources/public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions resources/public/script/codebox.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
1 change: 1 addition & 0 deletions resources/public/script/foreclojure.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit eb429c0

Please sign in to comment.