You are here

long-choice.css in Quiz 7.4

@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-long-choice-container {
  line-height: 2.25;
}

.h5p-long-choice-task-description {
  border-bottom: 1px solid #e5e5e5;
}

.h5p-long-choice-word {
  margin-left: 0.25em;
}

.h5p-long-choice-word.h5p-long-choice-answered,
.h5p-long-choice-word.h5p-long-choice-correct {
  padding: 3px 10px;
  margin-left: 5px;
  margin-right: 5px;
  border-radius: 5px;
}

.h5p-long-choice-word.h5p-long-choice-answered.h5p-long-choice-correct {
  color: #ffffff;
  background: #8AC062;
  border: dashed 1px #8AC062;
}

.h5p-long-choice-word.h5p-long-choice-answered.h5p-long-choice-correct:before {
  font-family: 'h5p-core-16';
  content: "\e90c";
}

.h5p-long-choice-word.h5p-long-choice-answered {
  color: #ffffff;
  background-color: #DF465A;
  border: dashed 1px #DF465A;
}

.h5p-long-choice-word.h5p-long-choice-answered:before {
  font-family: 'h5p-core-16';
  content: "\e894";
}

.h5p-long-choice-word.h5p-long-choice-correct {
  color: #79B74B;
  background-color: #fff;
  border: dashed 1px #79B74B;
}

.h5p-long-choice-footer {
  font-size: 14px;
  text-align: right;
  margin-top: 30px;
  color: #5C5C5C;
  margin-left: auto;
  margin-right: auto;
}

.h5p-long-choice-correct,
.h5p-long-choice-answered.h5p-long-choice-correct,
.h5p-long-choice-answered {
  white-space: nowrap;
  display: inline-block;
  line-height: 1.5;
}

File

question_types/quiz_h5p/report/styles/long-choice.css
View source
  1. @font-face {
  2. font-family: 'h5p-core-16';
  3. src: url('../fonts/h5p-core-16.eot?tlv5f5');
  4. src: url('../fonts/h5p-core-16.eot?tlv5f5#iefix') format('embedded-opentype'),
  5. url('../fonts/h5p-core-16.ttf?tlv5f5') format('truetype'),
  6. url('../fonts/h5p-core-16.woff?tlv5f5') format('woff'),
  7. url('../fonts/h5p-core-16.svg?tlv5f5#h5p-core-16') format('svg');
  8. font-weight: normal;
  9. font-style: normal;
  10. }
  11. .h5p-long-choice-container {
  12. line-height: 2.25;
  13. }
  14. .h5p-long-choice-task-description {
  15. border-bottom: 1px solid #e5e5e5;
  16. }
  17. .h5p-long-choice-word {
  18. margin-left: 0.25em;
  19. }
  20. .h5p-long-choice-word.h5p-long-choice-answered,
  21. .h5p-long-choice-word.h5p-long-choice-correct {
  22. padding: 3px 10px;
  23. margin-left: 5px;
  24. margin-right: 5px;
  25. border-radius: 5px;
  26. }
  27. .h5p-long-choice-word.h5p-long-choice-answered.h5p-long-choice-correct {
  28. color: #ffffff;
  29. background: #8AC062;
  30. border: dashed 1px #8AC062;
  31. }
  32. .h5p-long-choice-word.h5p-long-choice-answered.h5p-long-choice-correct:before {
  33. font-family: 'h5p-core-16';
  34. content: "\e90c";
  35. }
  36. .h5p-long-choice-word.h5p-long-choice-answered {
  37. color: #ffffff;
  38. background-color: #DF465A;
  39. border: dashed 1px #DF465A;
  40. }
  41. .h5p-long-choice-word.h5p-long-choice-answered:before {
  42. font-family: 'h5p-core-16';
  43. content: "\e894";
  44. }
  45. .h5p-long-choice-word.h5p-long-choice-correct {
  46. color: #79B74B;
  47. background-color: #fff;
  48. border: dashed 1px #79B74B;
  49. }
  50. .h5p-long-choice-footer {
  51. font-size: 14px;
  52. text-align: right;
  53. margin-top: 30px;
  54. color: #5C5C5C;
  55. margin-left: auto;
  56. margin-right: auto;
  57. }
  58. .h5p-long-choice-correct,
  59. .h5p-long-choice-answered.h5p-long-choice-correct,
  60. .h5p-long-choice-answered {
  61. white-space: nowrap;
  62. display: inline-block;
  63. line-height: 1.5;
  64. }