Subversion Repositories wimsdev

Rev

Rev 15026 | Rev 15955 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1.  
  2. .main_body>.ui-dialog{
  3.   /* moves jquery-ui dialog box over everything else (even jmol applet) */
  4.   z-index: 10001;
  5. }
  6.  
  7. /* OEF STYLES */
  8. #oef_intro_params {
  9.    border-color: #BBB gray gray #BBB;
  10.    border-radius: 10px;
  11.    border-style: solid;
  12.    border-width: 1px;
  13.    padding: 0;
  14. }
  15.  
  16. @media print, screen and (min-width: 40em) {
  17.   #oef_intro_params {
  18.      margin: 1em auto;
  19.      width:80%;
  20.   }
  21. }
  22.  
  23. #oef_intro_params .legend{
  24.    border-top-left-radius: 10px;
  25.    border-top-right-radius: 10px;
  26. }
  27. #oef_intro_params label{font-weight:bold;}
  28. #oef_intro_params .field {
  29.    /*margin: 1em 0;*/
  30.    padding: .5em 1em;
  31. }
  32. #oef_intro_params select#exo{width:100%;}
  33.  
  34. .oef_intro_buttons{text-align: center;}
  35. #oef_devel_mode{font-size:small;}
  36. .oefform .send_answer, #oef_actions{text-align: center;}
  37. .send_answer{margin-top:1em;}
  38. #oef_actions{margin:1em 0;}
  39. #oef_actions p{margin:.2em;}
  40.  
  41. /*.oefhint {padding-top: 2px;}*/
  42.  
  43. .oefreply {margin:1em;}
  44. /*.oefanswer {}
  45. .oef_modulescore { }
  46. .oef_congratulations { }*/
  47.  
  48. .oefanswer table {
  49.    font-size: .9em;
  50.    border-collapse:collapse;
  51. }
  52. .wims_oef_input {
  53.    padding-top: 2px;
  54.    padding-right: 1px;
  55.    padding-bottom: 2px;
  56.    padding-left: 1px;
  57.    font-weight:bold;
  58.    font-size: 1.2em;
  59. }
  60. .oefanswername {font-size: 125%;}
  61. .oefstatement{
  62.    border: 1px groove ThreeDFace;
  63.    padding:5px;
  64. }
  65. .oefstatement table {border-collapse:collapse;}
  66.  
  67. .oefstatement sub{bottom:-.5em;}
  68. .oefstatement sup{top:-1em;}
  69. .oefstatement sup, .oefstatement sub{line-height: 3em;}
  70.  
  71. .oef_enterreply{font-size: 1.25rem;}
  72.  
  73. .answer_analysis {
  74.   margin-bottom: 1em;
  75.   border : 1px groove ThreeDFace;
  76.   border-bottom-left-radius: 10px;
  77.   border-bottom-right-radius: 10px;
  78. }
  79. .legend{
  80.    margin-top:0;
  81.    padding:0.5em 1em;
  82.    border-bottom: 1px groove ThreeDFace;
  83.    text-align:center;
  84.    font-weight:bold;
  85. }
  86. .answer_analysis .content {padding:1em;}
  87. .oefform {padding:.5em;}
  88. .oefnameexo {display:inline; font-style: italic;}
  89. /* answer analysis*/
  90. .feedback {
  91.     background-color: #FFF;
  92.     border-color:#EEE;
  93.     border-color: rgba(0, 0, 0, .1);
  94.     border: 1px solid;
  95.     border-radius: 5px;
  96.     box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset;
  97.     margin-right: 15em;
  98.     padding: .5em;
  99. }
  100.  
  101.  
  102. /* OEF Colors legend */
  103. #oef_indlegend ul { padding-left:1em; }
  104. #oef_indlegend li { list-style: none; }
  105. #oef_indlegend li:first-letter{text-transform: capitalize}
  106. #oef_indlegend li:before {
  107.   content:"\00B7";
  108.   font-size:70px;
  109.   vertical-align:text-bottom;
  110.   line-height:1.5rem;
  111. }
  112.  
  113. /* this class must stay empty  */
  114. .oef_empty { }
  115.  
  116. /* for exercice modules in preparation (not OEF)*/
  117. /*.module_score { }
  118. .statement { }
  119. .congratulations { }*/
  120.  
  121. /* for latex solution in print version */
  122. /*div.wims_solution {}*/
  123. /* table of questions in case of noembedding */
  124. .oefnoembed td {
  125.    min-width:70px;
  126.    margin-top:5px; margin-bottom:5px;
  127. }
  128.  
  129. ul.oef_filter {list-style:none}
  130. /* link in the help on the oef special method help must be left to the exercise*/
  131. /*.oef_specialhelp { }*/
  132.  
  133. /*** ANSTYPES ***/
  134.  
  135. /** dragfill/clickfill **/
  136.  
  137. /* replace the old "table" with a flexbox div */
  138. .wims_fill_object{
  139.   display: flex;
  140.   align-items: center;
  141.   height:100%;
  142. }
  143.  
  144. .drag_label{
  145.   display: flex;
  146.   align-items: center;
  147.   padding:2px;
  148.   border:1px solid #999;
  149.   box-sizing: border-box;
  150.   margin:1px;
  151.   background-color:#b3ddef;
  152.   overflow: auto;
  153. }
  154. .fill_container{
  155.   display: inline-flex;
  156.   flex-flow: row wrap;
  157.   font-family:sans-serif;
  158.   background-color:#ffd080;
  159.   margin:2px;
  160. }
  161. .wims_grabbable{
  162.   background-color:#87ceeb;
  163.   cursor: move; /* fallback if grab cursor is unsupported */
  164.   cursor: grab;
  165. }
  166. /* Apply a "closed-hand" cursor during drag operation. */
  167. .wims_grabbable:active {
  168.   cursor: grabbing;
  169. }
  170. .wims_droppable{
  171.   cursor: pointer;
  172.   background-color:#ffd080;
  173. }
  174. .wims_grabbable:hover, .wims_droppable:hover{
  175.   border-color:#004077;
  176. }
  177. .wims_droppable:hover{
  178.   font-weight:700;
  179. }
  180. /** prevent selecting text while grabbing **/
  181. .wims_grabbable, .wims_droppable{
  182.   user-select: none;
  183.   -webkit-user-select: none;
  184.   transition: border-color .5s;
  185.   border:1px solid transparent;
  186.   box-sizing: border-box;
  187. }
  188.  
  189. /* Used in multipleclick OEF answer */
  190. .ans_label{
  191.   display: flex;
  192.   align-items: center;
  193.   justify-content: center;
  194.   box-sizing: border-box;
  195.   height: 100%;
  196. }
  197. a.ans_label:hover{
  198.   background-color:rgba(255,255,255,.2);
  199. }
  200. .answeranalysis .ans_label{
  201.   border-width:2px;
  202.   border-style:solid;
  203. }
  204. .ans_label.oef_indgood,.feedback.oef_indgood{border-color:oef_indgood;}
  205. .ans_label.oef_indbad,.feedback.oef_indbad{border-color:oef_indbad;}
  206. .ans_label.oef_indforget,.feedback.oef_indforget{border-color:oef_indforget;}
  207. .ans_label.oef_indneutral,.feedback.oef_indneutral{color:#999;border-color:#999;}
  208. .feedback.oef_indpartial{border-color:oef_indpartial;}
  209.  
  210. /*.ans_multipleclick a{display:flex;height:100%;align-items: center;justify-content: center;}*/
  211.  
  212. .feedback.oef_indgood,.feedback.oef_indbad,
  213. .feedback.oef_indpartial,.feedback.oef_indforget{
  214.   color:#000;
  215.   font-weight: normal;
  216. }
  217.  
  218. /** change the drag_label & ans_label colors when it indicates a feedback **/
  219. .oef_indgood .drag_label,
  220. .ans_label.oef_indgood,
  221. .feedback.oef_indgood{background-color:#e1faea;}
  222. .oef_indbad .drag_label,
  223. .ans_label.oef_indbad,
  224. .feedback.oef_indbad{background-color:#f7e4e1;}
  225. .oef_indpartial .drag_label,
  226. .ans_label.oef_indpartial,
  227. .feedback.oef_indpartial{background-color:#fff3d9;}
  228. .ans_label.oef_indforget,
  229. .feedback.oef_indforget{background-color:#d9f3ff;}
  230.