game.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. .main{
  2. position: relative; }
  3. @media screen and (min-width: 1280px) {
  4. .main {
  5. padding-right: 20%; }
  6. }
  7. .main-container {
  8. vertical-align: middle;
  9. /*text-align: center;*/
  10. /*margin: 0 auto;*/
  11. overflow: hidden;
  12. width: 90%;
  13. padding:2%;
  14. margin: 2%;
  15. }
  16. .semi-transparent {
  17. background-color: rgba(249, 242, 236, 0.7);
  18. }
  19. .more-transparent {
  20. background-color: rgba(249, 242, 236, 0.4);
  21. }
  22. .main-footer {
  23. position: relative;
  24. text-align: center;
  25. }
  26. .main-footer > h3 {
  27. margin-top: 0px;
  28. margin-right: 0px;
  29. margin-bottom: 2%;
  30. margin-left: 0px;
  31. }
  32. @media screen and (min-width: 1280px) {
  33. .main-footer {
  34. position: absolute;
  35. top: 0%;
  36. right: 1%;
  37. width: 20%; }
  38. }
  39. .word {
  40. font-size: 180%;
  41. display:inline-block;
  42. text-align: center;
  43. padding-right: 2px;
  44. padding-left: 2px;
  45. }
  46. .not-punct{
  47. cursor: pointer;
  48. }
  49. a[data-toggle="popover"] + .popover {
  50. opacity: 0 !important;
  51. }
  52. a[data-toggle="popover"]:hover + .popover {
  53. opacity: 1 !important;
  54. }
  55. a[data-toggle="tooltip"] + .tooltip {
  56. opacity: 0 !important;
  57. }
  58. a[data-toggle="tooltip"]:hover + .tooltip {
  59. opacity: 1 !important;
  60. }
  61. .highlighted {
  62. color: #0078ae !important;
  63. }
  64. .auto-annotated {
  65. font-weight: bold;
  66. color: #CF7864;
  67. }
  68. .alert-message {
  69. color: red !important;
  70. font-weight: bold;
  71. }
  72. .progress-bar {
  73. margin-top: 0px;
  74. background-color: lightblue;
  75. color: black;
  76. }
  77. .alert-danger {
  78. background-color: #f9f2ec;
  79. border-radius: 6px;
  80. color: #b63735;
  81. border-color: #b63735;
  82. }
  83. .alert-warning {
  84. background-color: #FCF8E3;
  85. border-radius: 6px;
  86. color: #206020;
  87. border-color: #206020;
  88. }
  89. .progress {
  90. margin-top: 10px;
  91. text-align:center;
  92. background-color: #f3f3f3;
  93. border: 0;
  94. height: 18px;
  95. border-radius: 9px;
  96. width:60%;
  97. }
  98. .progressInnerLabel {
  99. position: absolute;
  100. text-align: center;
  101. color: black;
  102. font-weight: bold;
  103. height: 20px;
  104. }
  105. .selected {
  106. color: #0078ae;
  107. /* font-weight: bold; */
  108. }
  109. .categories-table {
  110. font-size: 120%;
  111. }
  112. .word-container {
  113. display: inline-block;
  114. vertical-align:top;
  115. }
  116. .sentence-container {
  117. vertical-align:top;
  118. /*margin: 20px;*/
  119. }
  120. .categorie-table-container {
  121. float:right;
  122. padding:5px;
  123. /*width: 18%;*/
  124. }
  125. .popover{
  126. max-width:500px;
  127. opacity:0.85 !important;
  128. }
  129. .main-button {
  130. margin: 10px;
  131. width: 18%;
  132. min-width: 200px;
  133. }
  134. .is-correct {
  135. color: green;
  136. }
  137. .is-in-error {
  138. color: #C22C29;
  139. }
  140. .message-error {
  141. background-color: lightpink;
  142. }
  143. .message-correct {
  144. background-color: lightgreen;
  145. }
  146. .full-name-category {
  147. color: black;
  148. font-style: italic;
  149. }
  150. #header {
  151. background:#ff0;
  152. padding:10px;
  153. }
  154. #footer {
  155. position:absolute;
  156. bottom:0;
  157. width:100%;
  158. height:60px; /* Height of the footer */
  159. background:#6cf;
  160. }
  161. #blocJeu {
  162. padding-top: 20px;
  163. }
  164. .table > tbody > tr > td{
  165. cursor: pointer;
  166. }
  167. .category-label{
  168. text-align: center;
  169. }
  170. .category-row:hover {
  171. font-weight: bold;
  172. cursor: pointer;
  173. }
  174. /*.container {
  175. width: 80%;
  176. }*/
  177. /* Style the buttons that are used to open and close the accordion panel */
  178. button.accordion {
  179. cursor: pointer;
  180. width: 100%;
  181. text-align: left;
  182. border: none;
  183. padding:18px;
  184. outline: none;
  185. transition: 0.4s;
  186. font-size: 1.4em;
  187. background-color: rgba(249, 242, 236, 0.7);
  188. }
  189. button.accordion-second {
  190. background-color:rgba(249, 242, 236, 0) !important;
  191. }
  192. /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
  193. button.accordion.active, button.accordion:hover {
  194. /*background-color: #BEDAC8;*/
  195. }
  196. /* Style the accordion panel. Note: hidden by default */
  197. div.panel {
  198. padding: 1% 1%;
  199. color: black;
  200. display: none;
  201. font-size: 16px;
  202. }
  203. .panel{
  204. margin-bottom: 0px !important;
  205. }
  206. /* The "show" class is added to the accordion panel when the user clicks on one of the buttons. This will show the panel content */
  207. div.panel.show {
  208. display: block;
  209. }
  210. button.accordion:after {
  211. content: '\02795'; Unicode character for "plus" sign (+)
  212. font-size: 13px;
  213. color: #777;
  214. float: right;
  215. margin-left: 5px;
  216. }
  217. button.accordion.active:after {
  218. content: "\2796"; /* Unicode character for "minus" sign (-) */
  219. }
  220. .other-cat{
  221. font-weight: bold;
  222. color: #f35000;
  223. }
  224. .leftlabel,.rightlabel, .question-label{
  225. cursor: pointer;
  226. }