2013-10-31 13:39:51 +01:00
|
|
|
/* IcoMoon font licensed under the GNU General Public License: http://www.gnu.org/licenses/gpl.html */
|
|
|
|
@font-face {
|
2013-11-07 13:39:27 +01:00
|
|
|
font-family: 'icomoon-questionset';
|
2013-10-31 13:39:51 +01:00
|
|
|
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;
|
2013-11-08 11:42:08 +01:00
|
|
|
}
|
2013-10-31 13:39:51 +01:00
|
|
|
|
2013-05-03 15:24:17 +02:00
|
|
|
.questionset, .intro-page, .questionset-results {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2013-05-03 10:05:49 +02:00
|
|
|
.questionset.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
2013-05-13 14:08:01 +02:00
|
|
|
.questionset, .intro-page, .questionset-results {
|
|
|
|
position: relative;
|
2013-05-15 14:16:21 +02:00
|
|
|
}
|
|
|
|
.h5p-multichoice > .h5p-question {
|
2013-10-31 13:39:51 +01:00
|
|
|
text-align: left;
|
2013-11-28 13:23:09 +01:00
|
|
|
margin: 0.5em 0.5em 0.7em;
|
2013-05-15 14:16:21 +02:00
|
|
|
background: rgba(255, 255, 255, 0.9);
|
|
|
|
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#e6FFFFFF,endColorstr=#e6FFFFFF);
|
2013-05-13 14:08:01 +02:00
|
|
|
zoom: 1;
|
|
|
|
}
|
2013-04-04 15:44:06 +02:00
|
|
|
.dots-container {
|
|
|
|
text-align: center;
|
2013-05-06 14:54:24 +02:00
|
|
|
line-height: 2em;
|
2013-04-04 15:44:06 +02:00
|
|
|
}
|
|
|
|
.progress-dot {
|
|
|
|
display: inline-block;
|
2013-10-31 13:39:51 +01:00
|
|
|
width: 0.6em;
|
|
|
|
height: 0.6em;
|
2013-04-04 15:44:06 +02:00
|
|
|
border-radius: 50%;
|
2013-05-06 14:54:24 +02:00
|
|
|
margin: 0 0.25em;
|
2013-04-04 15:44:06 +02:00
|
|
|
cursor: pointer;
|
2013-05-06 14:54:24 +02:00
|
|
|
background: #fff;
|
2013-10-31 13:39:51 +01:00
|
|
|
background: #cecece;
|
2013-05-06 14:54:24 +02:00
|
|
|
}
|
|
|
|
.progress-dot:hover {
|
|
|
|
box-shadow: 0 0 0.5em #c7c7c7;
|
2013-04-04 15:44:06 +02:00
|
|
|
}
|
|
|
|
.progress-dot.answered {
|
2014-10-21 15:20:31 +02:00
|
|
|
background: #73a2d5;
|
2013-04-04 15:44:06 +02:00
|
|
|
}
|
|
|
|
.progress-dot.current {
|
2014-10-21 15:20:31 +02:00
|
|
|
background: #285585;
|
2013-04-04 15:44:06 +02:00
|
|
|
}
|
2013-11-28 13:23:09 +01:00
|
|
|
|
2013-04-04 15:44:06 +02:00
|
|
|
.intro-page .title {
|
2013-04-26 17:27:35 +02:00
|
|
|
font-size: 2em;
|
2013-05-03 10:05:49 +02:00
|
|
|
line-height: 2em;
|
2013-04-04 15:44:06 +02:00
|
|
|
font-weight: bold;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2014-04-03 10:19:47 +02:00
|
|
|
.intro-page .title > span {
|
2014-04-03 15:07:50 +02:00
|
|
|
padding: 0.125em 0.5em;
|
|
|
|
border-radius: 0.125em;
|
2014-04-03 10:19:47 +02:00
|
|
|
background: rgb(255,255,255); /* Fallback for browsers not supporting rgba */
|
|
|
|
background: rgba(255,255,255,0.8); /* Gives WCAG contrast ratio of 5.6:1 with the current font color */
|
|
|
|
}
|
2013-04-04 15:44:06 +02:00
|
|
|
.intro-page .introduction {
|
2013-04-26 17:27:35 +02:00
|
|
|
font-size: 1.25em;
|
|
|
|
margin: 0 1em;
|
2014-04-03 15:07:50 +02:00
|
|
|
border-radius: 0.25em;
|
2014-04-03 10:19:47 +02:00
|
|
|
background: rgb(255,255,255); /* Fallback for browsers not supporting rgba */
|
|
|
|
background: rgba(255,255,255,0.8); /* Gives WCAG contrast ratio of 5.6:1 with the current font color */
|
2014-04-03 15:07:50 +02:00
|
|
|
padding: 0.25em 0.5em;
|
2014-04-03 10:19:47 +02:00
|
|
|
}
|
|
|
|
/* Overrides whatever margins have been set in site-CSS, to avoid too much spacing
|
|
|
|
on description field, aswell as getting same padding on top and bottom of field */
|
|
|
|
.intro-page .introduction > p {
|
|
|
|
margin: 0 0 0.5em 0;
|
|
|
|
}
|
|
|
|
.intro-page .introduction > p:last-child {
|
|
|
|
margin: 0;
|
2013-04-04 15:44:06 +02:00
|
|
|
}
|
|
|
|
.intro-page .buttons {
|
2013-04-26 17:27:35 +02:00
|
|
|
margin: 3em auto;
|
|
|
|
text-align: center;
|
2013-04-04 15:44:06 +02:00
|
|
|
}
|
2013-05-03 10:05:49 +02:00
|
|
|
.qs-footer {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2014-11-27 11:01:47 +01:00
|
|
|
.qs-footer .h5p-button, .qs-startbutton, .qs-finishbutton, .questionset-results .h5p-button, .video-container > .h5p-button {
|
2013-10-31 13:39:51 +01:00
|
|
|
display: inline-block;
|
2014-10-21 15:10:49 +02:00
|
|
|
padding: 0 0.7em;
|
2013-10-31 13:39:51 +01:00
|
|
|
border: 0.2em solid #fff;
|
|
|
|
border-radius: 0.4em;
|
|
|
|
margin: 0 0.5em 1em;
|
2013-04-04 15:44:06 +02:00
|
|
|
cursor: pointer;
|
2013-11-08 11:42:08 +01:00
|
|
|
color: #ffffff;
|
2013-10-31 13:39:51 +01:00
|
|
|
box-shadow: 0 0 0.5em #999;
|
2014-10-21 15:10:49 +02:00
|
|
|
line-height: 1.9em;
|
2013-10-31 13:39:51 +01:00
|
|
|
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 */
|
2013-05-03 10:05:49 +02:00
|
|
|
}
|
2014-11-27 11:01:47 +01:00
|
|
|
.qs-footer .h5p-button:hover, .qs-startbutton:hover, .questionset-results .h5p-button:hover, .video-container > .h5p-button:hover {
|
2013-05-03 10:05:49 +02:00
|
|
|
text-decoration: none;
|
2013-10-31 13:39:51 +01:00
|
|
|
box-shadow: 0 0 0.5em #999;
|
2013-11-08 11:42:08 +01:00
|
|
|
color: #ffffff;
|
2014-10-21 15:10:49 +02:00
|
|
|
border-color: #fff;
|
2013-10-31 13:39:51 +01:00
|
|
|
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 */
|
2013-05-03 10:05:49 +02:00
|
|
|
}
|
2013-10-31 13:39:51 +01:00
|
|
|
.qs-footer > .prev {
|
2013-05-03 10:05:49 +02:00
|
|
|
float: left;
|
|
|
|
}
|
2013-10-31 13:39:51 +01:00
|
|
|
|
|
|
|
.qs-footer > .qs-solutionbutton {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
2014-11-27 11:01:47 +01:00
|
|
|
.qs-footer > .qs-retrybutton {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.questionset-results a.h5p-button.qs-retrybutton:before {
|
|
|
|
font-family: 'H5PFontAwesome4';
|
|
|
|
padding-right: 0.5em;
|
|
|
|
content: "\f021";
|
|
|
|
}
|
|
|
|
|
2013-05-03 10:05:49 +02:00
|
|
|
.qs-footer > .next, .qs-footer > .finish, .qs-finishbutton {
|
|
|
|
float: right;
|
|
|
|
}
|
2013-10-31 13:39:51 +01:00
|
|
|
|
2014-11-27 11:01:47 +01:00
|
|
|
.qs-footer a.next.h5p-button:after {
|
2014-05-23 11:09:49 +02:00
|
|
|
font-family: 'H5PFontAwesome4';
|
2014-10-21 15:10:49 +02:00
|
|
|
content: "\f054"; /* TODO: Use margin not whitespace, spacing is not content! */
|
2013-10-31 13:39:51 +01:00
|
|
|
}
|
|
|
|
|
2014-11-27 11:01:47 +01:00
|
|
|
.qs-footer a.prev.h5p-button:before {
|
2014-05-23 11:09:49 +02:00
|
|
|
font-family: 'H5PFontAwesome4';
|
2014-10-21 15:10:49 +02:00
|
|
|
content: "\f053";
|
2013-10-31 13:39:51 +01:00
|
|
|
}
|
|
|
|
|
2013-05-03 10:05:49 +02:00
|
|
|
.questionset-results .qs-finishbutton {
|
|
|
|
display: none;
|
2013-04-04 15:44:06 +02:00
|
|
|
}
|
2013-10-31 13:39:51 +01:00
|
|
|
|
2014-11-27 11:01:47 +01:00
|
|
|
.qs-footer a.finish.h5p-button:before {
|
2014-05-23 11:09:49 +02:00
|
|
|
font-family: 'H5PFontAwesome4';
|
2013-10-31 13:39:51 +01:00
|
|
|
content: "\f00c ";
|
|
|
|
}
|
|
|
|
|
2014-11-27 11:01:47 +01:00
|
|
|
.questionset-results a.h5p-button.qs-solutionbutton:before {
|
2014-05-23 11:09:49 +02:00
|
|
|
font-family: 'H5PFontAwesome4';
|
2013-10-31 13:39:51 +01:00
|
|
|
content: "\f06e ";
|
|
|
|
}
|
|
|
|
|
2013-05-03 15:24:17 +02:00
|
|
|
.video-container {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.video-container > video {
|
|
|
|
background-color: #000;
|
|
|
|
}
|
2014-11-27 11:01:47 +01:00
|
|
|
.video-container > .h5p-button {
|
2013-05-03 15:24:17 +02:00
|
|
|
position: absolute;
|
|
|
|
top: 0.5em;
|
|
|
|
right: 0.5em;
|
|
|
|
}
|
2013-04-04 15:44:06 +02:00
|
|
|
|
|
|
|
.qs-progress {
|
2013-05-03 10:05:49 +02:00
|
|
|
text-align: center;
|
|
|
|
line-height: 1.5em;
|
2013-04-04 15:44:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.questionset-results {
|
|
|
|
text-align: center;
|
2013-05-22 09:04:21 +02:00
|
|
|
background: rgba(255, 255, 255, 0.9);
|
|
|
|
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#E6FFFFFF,endColorstr=#E6FFFFFF);
|
2013-10-31 13:39:51 +01:00
|
|
|
padding: 0.625em;
|
2013-04-04 15:44:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.questionset-results .greeting {
|
2013-10-31 13:39:51 +01:00
|
|
|
text-align: left;
|
|
|
|
border-bottom: 0.1em solid #ddd;
|
|
|
|
width: 100%;
|
2013-04-04 15:44:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.questionset-results .score {
|
2013-10-31 13:39:51 +01:00
|
|
|
margin: 0;
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 2em;
|
2013-04-04 15:44:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.questionset-results .resulttext {
|
2013-04-26 17:27:35 +02:00
|
|
|
text-align: left;
|
2013-05-03 10:05:49 +02:00
|
|
|
font-size: 1.25em;
|
|
|
|
line-height: 1.25em;
|
2013-10-31 13:39:51 +01:00
|
|
|
margin: 1em 0em;
|
2013-04-04 15:44:06 +02:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: left center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.questionset-results .resulttext.fail em {
|
|
|
|
font-style: normal;
|
|
|
|
color: #b9272d;
|
|
|
|
}
|
|
|
|
|
2013-10-31 13:39:51 +01:00
|
|
|
.questionset-results .score.success .emoticon:before {
|
2013-11-07 13:39:27 +01:00
|
|
|
font-family: icomoon-questionset;
|
2013-10-31 13:39:51 +01:00
|
|
|
font-size: 5em;
|
2013-11-08 13:56:58 +01:00
|
|
|
line-height: 100%;
|
2013-10-31 13:39:51 +01:00
|
|
|
content: "\e606";
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.questionset-results .score.fail .emoticon:before {
|
2013-11-07 13:39:27 +01:00
|
|
|
font-family: icomoon-questionset;
|
2013-10-31 13:39:51 +01:00
|
|
|
font-size: 5em;
|
2013-11-08 13:56:58 +01:00
|
|
|
line-height: 100%;
|
2013-10-31 13:39:51 +01:00
|
|
|
content: "\e607";
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2013-11-08 11:42:08 +01:00
|
|
|
.questionset-results .resulttext.success,
|
|
|
|
.questionset-results .resulttext.almost,
|
|
|
|
.questionset-results .resulttext.fail
|
2013-10-31 13:39:51 +01:00
|
|
|
{
|
|
|
|
display: block;
|
|
|
|
background: #eee;
|
|
|
|
padding: 1em;
|
|
|
|
border-radius: 1em;
|
|
|
|
margin-left: 6.5em;
|
|
|
|
position: relative;
|
|
|
|
font-size: 1em;
|
2013-04-04 15:44:06 +02:00
|
|
|
}
|
2013-10-31 13:39:51 +01:00
|
|
|
|
2013-11-08 11:42:08 +01:00
|
|
|
.questionset-results .resulttext.success:before,
|
|
|
|
.questionset-results .resulttext.fail:before
|
2013-10-31 13:39:51 +01:00
|
|
|
{
|
2013-11-07 13:39:27 +01:00
|
|
|
font-family: icomoon-questionset;
|
2013-11-08 11:42:08 +01:00
|
|
|
content: "";
|
2013-10-31 13:39:51 +01:00
|
|
|
font-size: 5em;
|
|
|
|
position: absolute;
|
2014-10-09 14:37:54 +02:00
|
|
|
left: -14px;
|
2013-11-08 13:56:58 +01:00
|
|
|
top: 36px;
|
2013-10-31 13:39:51 +01:00
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
border-top: 15px solid transparent;
|
|
|
|
border-bottom: 15px solid transparent;
|
|
|
|
border-right: 15px solid #eee;
|
2013-11-08 11:42:08 +01:00
|
|
|
display: inline-block;
|
2013-10-31 13:39:51 +01:00
|
|
|
}
|
|
|
|
|
2013-04-04 15:44:06 +02:00
|
|
|
.questionset-results .resulttext.success em {
|
|
|
|
font-style: normal;
|
|
|
|
color: #6aa81b;
|
2013-10-31 13:39:51 +01:00
|
|
|
text-align: left;
|
2014-11-27 11:01:47 +01:00
|
|
|
}
|