Skip to content

Commit

Permalink
[REFACTOR] Removed default custom css for items settings override. Up…
Browse files Browse the repository at this point in the history
…dated contents of custom.css
  • Loading branch information
michaelsharman committed Dec 11, 2013
1 parent 9fde4eb commit 0f04c0e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/views/modals/settings-items.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@
<div class="col-sm-6">
<input type="text" class="form-control" name="configuration[stylesheet]" value="<?php if (isset($con['configuration']['stylesheet'])) { echo $con['configuration']['stylesheet']; }; ?>">
</div>
<div class="col-sm-12">
<p class="help-block pull-right">eg http://demos.learnosity.com/assessment/items/custom.css</p>
</div>
</div>
</div>

Expand Down
12 changes: 11 additions & 1 deletion www/assessment/items/custom.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
h1 {
h1, .test-title-text {
color: cornflowerblue;
font-size: 130%;
}
h1, h2, p, div, body {
font-family: Georgia, Times, "Times New Roman", serif;
}
p, div, body {
font-size: 16px;
}
.subtitle {
font-size: 130%;
}
2 changes: 1 addition & 1 deletion www/assessment/items/itemsapi_assess.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
'interval' => 300,
'countdown_time' => 60
),
'stylesheet' => 'http://demos.learnosity.com/assessment/items/custom.css'
'stylesheet' => ''
)
)
);
Expand Down

0 comments on commit 0f04c0e

Please sign in to comment.