choice.css in Opigno module 8
@font-face {
font-family: 'h5p-core-16';
src: url('../fonts/h5p-core-16.eot?tlv5f5');
src: url('../fonts/h5p-core-16.eot?tlv5f5#iefix') format('embedded-opentype'),
url('../fonts/h5p-core-16.ttf?tlv5f5') format('truetype'),
url('../fonts/h5p-core-16.woff?tlv5f5') format('woff'),
url('../fonts/h5p-core-16.svg?tlv5f5#h5p-core-16') format('svg');
font-weight: normal;
font-style: normal;
}
.h5p-choices-table {
width: 100%;
}
.h5p-choices-table td {
text-align: left;
border-bottom: 1px solid #ddd;
padding: 5px;
line-height: 2em;
}
.h5p-choices-table-heading {
background-color: #233448;
color: #ffffff;
}
.h5p-choices-table td.h5p-choices-choice {
width: 75%;
}
.h5p-choices-table td.h5p-choices-choice,
.h5p-choices-table td.h5p-choices-alternative {
padding-left: 1em;
}
.h5p-choices-user-answer {
width: 15%;
}
.h5p-choices-crp-answer {
width: 10%;
}
.h5p-choices-table td.h5p-choices-user-answer,
.h5p-choices-table td.h5p-choices-crp-answer {
text-align: center;
}
.h5p-choices-user.h5p-choices-answered {
color: #ffffff;
background-color: #df465a;
padding: 5px;
margin-left: 5px;
margin-right: 5px;
border-radius: 5px;
}
.h5p-choices-user.h5p-choices-answered:before {
font-family: 'h5p-core-16';
content: "\e894";
}
.h5p-choices-user.h5p-choices-answered.h5p-choices-user-correct {
background-color: #8ac062;
color: #ffffff;
padding: 5px;
margin-left: 5px;
margin-right: 5px;
border-radius: 5px;
}
.h5p-choices-user.h5p-choices-answered.h5p-choices-user-correct:before {
font-family: 'h5p-core-16';
content: "\e90c";
}
.h5p-choices-crp.h5p-choices-crp-correct {
color: #8ac062;
border: dashed 1px #8ac062;
padding: 5px;
margin-left: 5px;
margin-right: 5px;
border-radius: 5px;
}
.h5p-choices-crp.h5p-choices-crp-correct:before {
font-family: 'h5p-core-16';
content: "\e90c";
}
.h5p-choices-table td.h5p-choices-icon-cell {
text-align: center;
}
File
ActivityTypes/opigno_h5p/css/choice.css
View source
- @font-face {
- font-family: 'h5p-core-16';
- src: url('../fonts/h5p-core-16.eot?tlv5f5');
- src: url('../fonts/h5p-core-16.eot?tlv5f5#iefix') format('embedded-opentype'),
- url('../fonts/h5p-core-16.ttf?tlv5f5') format('truetype'),
- url('../fonts/h5p-core-16.woff?tlv5f5') format('woff'),
- url('../fonts/h5p-core-16.svg?tlv5f5#h5p-core-16') format('svg');
- font-weight: normal;
- font-style: normal;
- }
-
- .h5p-choices-table {
- width: 100%;
- }
-
- .h5p-choices-table td {
- text-align: left;
- border-bottom: 1px solid #ddd;
- padding: 5px;
- line-height: 2em;
- }
-
- .h5p-choices-table-heading {
- background-color: #233448;
- color: #ffffff;
- }
-
- .h5p-choices-table td.h5p-choices-choice {
- width: 75%;
- }
-
- .h5p-choices-table td.h5p-choices-choice,
- .h5p-choices-table td.h5p-choices-alternative {
- padding-left: 1em;
- }
-
- .h5p-choices-user-answer {
- width: 15%;
- }
-
- .h5p-choices-crp-answer {
- width: 10%;
- }
-
- .h5p-choices-table td.h5p-choices-user-answer,
- .h5p-choices-table td.h5p-choices-crp-answer {
- text-align: center;
- }
-
-
- .h5p-choices-user.h5p-choices-answered {
- color: #ffffff;
- background-color: #df465a;
- padding: 5px;
- margin-left: 5px;
- margin-right: 5px;
- border-radius: 5px;
- }
-
- .h5p-choices-user.h5p-choices-answered:before {
- font-family: 'h5p-core-16';
- content: "\e894";
- }
-
- .h5p-choices-user.h5p-choices-answered.h5p-choices-user-correct {
- background-color: #8ac062;
- color: #ffffff;
- padding: 5px;
- margin-left: 5px;
- margin-right: 5px;
- border-radius: 5px;
- }
-
- .h5p-choices-user.h5p-choices-answered.h5p-choices-user-correct:before {
- font-family: 'h5p-core-16';
- content: "\e90c";
- }
-
- .h5p-choices-crp.h5p-choices-crp-correct {
- color: #8ac062;
- border: dashed 1px #8ac062;
- padding: 5px;
- margin-left: 5px;
- margin-right: 5px;
- border-radius: 5px;
- }
-
- .h5p-choices-crp.h5p-choices-crp-correct:before {
- font-family: 'h5p-core-16';
- content: "\e90c";
- }
-
- .h5p-choices-table td.h5p-choices-icon-cell {
- text-align: center;
- }