Subversion Repositories wimsdev

Rev

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

  1. .main_body>.ui-dialog{
  2.   /* moves jquery-ui dialog box over everything else (even jmol applet) */
  3.   z-index: 10001;
  4. }
  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.    margin: 1em auto;
  14.    padding: 0;
  15.    width:80%;
  16. }
  17. #oef_intro_params .legend{
  18.    border-top-left-radius: 10px;
  19.    border-top-right-radius: 10px;
  20. }
  21. #oef_intro_params label{font-weight:bold;}
  22. #oef_intro_params .field {
  23.    /*margin: 1em 0;*/
  24.    padding: .5em 1em;
  25. }
  26. #oef_intro_params select#exo{width:100%;}
  27.  
  28. .oef_intro_buttons{text-align: center;}
  29. #oef_devel_mode{font-size:small;}
  30. .oefform .send_answer, #oef_actions{text-align: center;}
  31. #oef_actions{margin:1em 0;}
  32. #oef_actions p{margin:.2em;}
  33.  
  34. /*.oefhint {padding-top: 2px;}*/
  35.  
  36. .oefreply {margin:1em;}
  37. /*.oefanswer {}
  38. .oef_modulescore { }
  39. .oef_congratulations { }*/
  40.  
  41. .oefanswer table {
  42.    font-size: .9em;
  43.    border-collapse:collapse;
  44. }
  45. .wims_oef_input {
  46.    padding-top: 2px;
  47.    padding-right: 1px;
  48.    padding-bottom: 2px;
  49.    padding-left: 1px;
  50.    font-weight:bold;
  51.    font-size: 1.2em;
  52. }
  53. .oefanswername {font-size: 125%;}
  54. .oefstatement{
  55.    border: 1px groove ThreeDFace;
  56.    padding:5px;
  57. }
  58. .oefstatement table {border-collapse:collapse;}
  59.  
  60. #answeranalysis {
  61.    border : 1px groove ThreeDFace;
  62.    border-bottom-left-radius: 10px;
  63.    border-bottom-right-radius: 10px;
  64. }
  65. .legend{
  66.    margin-top:0;
  67.    padding:0.5em 1em;
  68.    border-bottom: 1px groove ThreeDFace;
  69.    text-align:center;
  70.    font-weight:bold;
  71.    /*border-radius:10px;
  72.    border-bottom-right-radius:0px;
  73.    border-bottom-left-radius:0px;
  74.    -moz-border-radius: 10px;
  75.    -moz-border-radius-bottomright:0px;
  76.    -moz-border-radius-bottomleft:0px;
  77.    -webkit-border-radius:10px;
  78.    -webkit-border-bottom-right-radius:0px;
  79.    -webkit-border-bottom-left-radius:0px;*/
  80. }
  81. #answeranalysis .content {padding:1em;}
  82. .oefform {padding:.5em;}
  83. .oefnameexo {display:inline; font-style: italic;}
  84. /* answer analysis*/
  85. .feedback {
  86.     background-color: #FFFFFF;
  87.     border-color:#EEE;
  88.     border-color: rgba(0, 0, 0, .1);
  89.     border: 1px solid;
  90.     border-radius: 5px;
  91.     box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset;
  92.     margin-right: 15em;
  93.     padding: .5em;
  94. }
  95.  
  96.  
  97. /* OEF Colors legend */
  98. #oef_indlegend ul { padding-left:1em; }
  99. #oef_indlegend li { list-style: none; }
  100. #oef_indlegend li:first-letter{text-transform: capitalize}
  101. #oef_indlegend li:before {
  102.   content:"\00B7";
  103.   font-size:70px;
  104.   vertical-align:middle;
  105.   line-height:1.5rem;
  106. }
  107.  
  108. /* this class must stay empty  */
  109. .oef_empty { }
  110.  
  111. /* for exercice modules in preparation (not OEF)*/
  112. /*.module_score { }
  113. .statement { }
  114. .congratulations { }*/
  115.  
  116. /* for latex solution in print version */
  117. /*div.wims_solution {}*/
  118. /* table of questions in case of noembedding */
  119. .oefnoembed td {
  120.    min-width:70px;
  121.    margin-top:5px; margin-bottom:5px;
  122. }
  123.  
  124. ul.oef_filter {list-style:none}
  125. /* link in the help on the oef special method help must be left to the exercise*/
  126. /*.oef_specialhelp { }*/
  127.  
  128. /*** ANSTYPES ***/
  129.  
  130. /** dragfill/clickfill **/
  131. .drag_label{
  132.   /*display:inline-block;*/
  133.   padding:2px;
  134.   border:1px solid;
  135.   box-sizing: border-box;
  136.   margin:1px;
  137.   background-color:#87ceeb;
  138.   overflow: auto;
  139. }
  140. .fill_container{
  141.   display: flex;
  142.   flex-flow: row wrap;
  143.   font-family:sans-serif;
  144.   background-color:#ffd080;
  145.   margin:2px;
  146. }
  147. .wims_grabbable{
  148.   background-color:#87ceeb;
  149.   cursor: move; /* fallback if grab cursor is unsupported */
  150.   cursor: grab;
  151. }
  152. /* Apply a "closed-hand" cursor during drag operation. */
  153. .wims_grabbable:active {
  154.   cursor: grabbing;
  155. }
  156. .wims_droppable{
  157.   cursor: pointer;
  158.   background-color:#ffd080;
  159. }
  160. .wims_grabbable:hover, .wims_droppable:hover{
  161.   opacity:.8;
  162. }
  163. /** prevent selecting text while grabbing **/
  164. .wims_grabbable, .wims_droppable{
  165.   user-select: none;
  166.   -webkit-user-select: none;
  167. }
  168. /** change the drag_label colors when it indicates a feedback **/
  169. .oef_indgood .drag_label{background-color:#e1faea;}
  170. .oef_indbad .drag_label{background-color:#f7e4e1;}
  171. .oef_indpartial .drag_label{background-color:#fff3d9;}
  172.