You are here

choice.css in Opigno module 8

Same filename and directory in other branches
  1. 3.x ActivityTypes/opigno_h5p/css/choice.css
@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
  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-choices-table {
  12. width: 100%;
  13. }
  14. .h5p-choices-table td {
  15. text-align: left;
  16. border-bottom: 1px solid #ddd;
  17. padding: 5px;
  18. line-height: 2em;
  19. }
  20. .h5p-choices-table-heading {
  21. background-color: #233448;
  22. color: #ffffff;
  23. }
  24. .h5p-choices-table td.h5p-choices-choice {
  25. width: 75%;
  26. }
  27. .h5p-choices-table td.h5p-choices-choice,
  28. .h5p-choices-table td.h5p-choices-alternative {
  29. padding-left: 1em;
  30. }
  31. .h5p-choices-user-answer {
  32. width: 15%;
  33. }
  34. .h5p-choices-crp-answer {
  35. width: 10%;
  36. }
  37. .h5p-choices-table td.h5p-choices-user-answer,
  38. .h5p-choices-table td.h5p-choices-crp-answer {
  39. text-align: center;
  40. }
  41. .h5p-choices-user.h5p-choices-answered {
  42. color: #ffffff;
  43. background-color: #df465a;
  44. padding: 5px;
  45. margin-left: 5px;
  46. margin-right: 5px;
  47. border-radius: 5px;
  48. }
  49. .h5p-choices-user.h5p-choices-answered:before {
  50. font-family: 'h5p-core-16';
  51. content: "\e894";
  52. }
  53. .h5p-choices-user.h5p-choices-answered.h5p-choices-user-correct {
  54. background-color: #8ac062;
  55. color: #ffffff;
  56. padding: 5px;
  57. margin-left: 5px;
  58. margin-right: 5px;
  59. border-radius: 5px;
  60. }
  61. .h5p-choices-user.h5p-choices-answered.h5p-choices-user-correct:before {
  62. font-family: 'h5p-core-16';
  63. content: "\e90c";
  64. }
  65. .h5p-choices-crp.h5p-choices-crp-correct {
  66. color: #8ac062;
  67. border: dashed 1px #8ac062;
  68. padding: 5px;
  69. margin-left: 5px;
  70. margin-right: 5px;
  71. border-radius: 5px;
  72. }
  73. .h5p-choices-crp.h5p-choices-crp-correct:before {
  74. font-family: 'h5p-core-16';
  75. content: "\e90c";
  76. }
  77. .h5p-choices-table td.h5p-choices-icon-cell {
  78. text-align: center;
  79. }