Fixed white background and background image in QS. Improved IE8 support in multichoice.
parent
a4a2a4c959
commit
5ff8612801
|
@ -7,6 +7,14 @@
|
|||
.questionset .h5p-multichoice > .h5p-show-solution, .h5p-blanks .h5p-button {
|
||||
display: none;
|
||||
}
|
||||
.questionset, .intro-page, .questionset-results {
|
||||
position: relative;
|
||||
margin: 1.5em;
|
||||
box-shadow: 0 0 0.625em 0 #515151;
|
||||
background-color: rgba(255,255,255,.75);
|
||||
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#BFFFFFFF,endColorstr=#BFFFFFFF);
|
||||
zoom: 1;
|
||||
}
|
||||
.dots-container {
|
||||
text-align: center;
|
||||
line-height: 2em;
|
||||
|
|
|
@ -269,7 +269,9 @@ H5P.QuestionSet = function (options, contentId) {
|
|||
$myDom.html(template.render(params));
|
||||
if (params.backgroundImage !== undefined) {
|
||||
$myDom.css({
|
||||
background: 'url(' + cp + params.backgroundImage.path + ')'
|
||||
overflow: 'hidden',
|
||||
background: '#000 url(' + cp + params.backgroundImage.path + ') no-repeat 50% 50%',
|
||||
backgroundSize: '100% auto'
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue