h5p-question-set/css/questionset.css

253 lines
6.3 KiB
CSS

/* IcoMoon font licensed under the GNU General Public License: http://www.gnu.org/licenses/gpl.html */
@font-face {
font-family: 'icomoon';
src:url('../fonts/icomoon.eot');
src:url('../fonts/icomoon.eot?#iefix') format('embedded-opentype'),
url('../fonts/icomoon.woff') format('woff'),
url('../fonts/icomoon.ttf') format('truetype'),
url('../fonts/icomoon.svg#icomoon') format('svg');
font-weight: normal;
font-style: normal;
}
.questionset-results h2 {
font-size: 1.2em;
font-weight: bold;
padding-bottom: 0.5em;
}
.questionset, .intro-page, .questionset-results {
overflow: hidden;
}
.questionset.hidden {
display: none;
}
.questionset .h5p-multichoice > .h5p-show-solution, .questionset .dragndrop > .h5p-show-solution, .h5p-blanks .h5p-button {
display: none;
}
.questionset, .intro-page, .questionset-results {
position: relative;
}
.h5p-multichoice > .h5p-question {
text-align: left;
padding: 1em 0 0.2em;
margin: 0 0.5em 0.7em;
background: rgba(255, 255, 255, 0.9);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#e6FFFFFF,endColorstr=#e6FFFFFF);
zoom: 1;
}
.dots-container {
text-align: center;
line-height: 2em;
}
.progress-dot {
display: inline-block;
width: 0.6em;
height: 0.6em;
border-radius: 50%;
margin: 0 0.25em;
cursor: pointer;
background: #fff;
background: #cecece;
}
.progress-dot:hover {
box-shadow: 0 0 0.5em #c7c7c7;
}
.progress-dot.answered {
background: #bccade;
}
.progress-dot.current {
background: #267ec9;
}
.intro-page .title {
font-size: 2em;
line-height: 2em;
font-weight: bold;
text-align: center;
}
.intro-page .introduction {
font-size: 1.25em;
margin: 0 1em;
}
.intro-page .buttons {
margin: 3em auto;
text-align: center;
}
.qs-footer {
overflow: hidden;
}
.qs-footer .button, .qs-startbutton, .qs-finishbutton, .questionset-results .button, .video-container > .button {
display: inline-block;
padding: 0.2em 1em;
border: 0.2em solid #fff;
border-radius: 0.4em;
margin: 0 0.5em 1em;
cursor: pointer;
color: #fff;
box-shadow: 0 0 0.5em #999;
background: rgb(100,152,254); /* Old browsers */
background: -moz-linear-gradient(top, rgba(100,152,254,1) 0%, rgba(4,104,206,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(100,152,254,1)), color-stop(100%,rgba(4,104,206,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(100,152,254,1) 0%,rgba(4,104,206,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(100,152,254,1) 0%,rgba(4,104,206,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(100,152,254,1) 0%,rgba(4,104,206,1) 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6498fe', endColorstr='#0468ce',GradientType=0 ); /* IE6-9 */
}
.qs-footer .button:hover, .qs-startbutton:hover, .questionset-results .button:hover, .video-container > .button:hover {
text-decoration: none;
box-shadow: 0 0 0.5em #999;
background: rgb(4,104,206); /* Old browsers */
background: -moz-linear-gradient(top, rgba(4,104,206,1) 0%, rgba(100,152,254,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(4,104,206,1)), color-stop(100%,rgba(100,152,254,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(4,104,206,1) 0%,rgba(100,152,254,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(4,104,206,1) 0%,rgba(100,152,254,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(4,104,206,1) 0%,rgba(100,152,254,1) 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0468ce', endColorstr='#6498fe',GradientType=0 ); /* IE6-9 */
}
.qs-startbutton {
display: inline-block;
font-size: 2.5em;
}
.qs-footer > .prev {
float: left;
}
.qs-footer > .qs-solutionbutton {
float: none;
}
.qs-footer > .next, .qs-footer > .finish, .qs-finishbutton {
float: right;
}
.qs-footer a.next.button:after {
font-family: H5PFontAwesome;
content: " \f054";
}
.qs-footer a.prev.button:before {
font-family: H5PFontAwesome;
content: "\f053 ";
}
.questionset-results .qs-finishbutton {
display: none;
}
.qs-footer a.finish.button:before {
font-family: H5PFontAwesome;
content: "\f00c ";
}
.questionset-results a.button.qs-solutionbutton:before {
font-family: H5PFontAwesome;
content: "\f06e ";
}
.video-container {
position: relative;
}
.video-container > video {
background-color: #000;
}
.video-container > .button {
position: absolute;
top: 0.5em;
right: 0.5em;
}
.qs-progress {
text-align: center;
line-height: 1.5em;
}
.questionset-results {
text-align: center;
background: rgba(255, 255, 255, 0.9);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#E6FFFFFF,endColorstr=#E6FFFFFF);
padding: 0.625em;
}
.questionset-results .greeting {
text-align: left;
border-bottom: 0.1em solid #ddd;
width: 100%;
}
.questionset-results .score {
margin: 0;
display: block;
margin-bottom: 2em;
}
.questionset-results .resulttext {
text-align: left;
font-size: 1.25em;
line-height: 1.25em;
margin: 1em 0em;
background-repeat: no-repeat;
background-position: left center;
}
.questionset-results .resulttext.fail em {
font-style: normal;
color: #b9272d;
}
.questionset-results .score.success .emoticon:before {
font-family: IcoMoon;
font-size: 5em;
content: "\e606";
top: 0.5em;
position: relative;
float: left;
}
.questionset-results .score.fail .emoticon:before {
font-family: IcoMoon;
font-size: 5em;
content: "\e607";
top: 0.5em;
position: relative;
float: left;
}
.questionset-results .resulttext.success,
.resulttext.almost,
.resulttext.fail
{
display: block;
background: #eee;
padding: 1em;
border-radius: 1em;
margin-left: 6.5em;
position: relative;
font-size: 1em;
}
.questionset-results .resulttext.success:before,
.resulttext.fail:before
{
font-family: IcoMoon;
content: "";
font-size: 5em;
position: absolute;
left: -15px;
top: 36px;
height: 0;
width: 0;
border-top: 15px solid transparent;
border-bottom: 15px solid transparent;
border-right: 15px solid #eee;
display: inline-block;
}
.questionset-results .resulttext.success em {
font-style: normal;
color: #6aa81b;
text-align: left;
}