fix exercise question check

1.10.x
aragonc 10 years ago
parent 57fb21c1c9
commit f21b17feb5
  1. 44
      app/Resources/public/css/base.css
  2. 2
      main/exercice/exercise_submit.php

@ -1931,8 +1931,6 @@ div.image-social-content center.friend {
background-color:#ECECEB;
padding:12px;
}
/* GROUP TOOL */
#group_description {
@ -2476,7 +2474,34 @@ div.admin_section h4 {
height:75px;
z-index:1;
}
/* MAIN QUESTION */
.main-question {
padding: 10px 20px;
box-sizing: border-box;
border: 1px solid #dddddd;
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
box-shadow: 0px 1px 1px rgba(0,0,0,0.05);
margin-bottom: 35px;
}
.main-question .question_title{
font-size: 20px;
font-weight: bold;
margin: 15px 0px;
color:#666666 ;
}
.main-question .question_description{
color: #666666;
}
.main-question .form-actions{
clear: both;
width: 100%;
display: block;
border-top:1px solid #dddddd;
padding-top: 10px;
}
#questions {
width:40%;
height:50px;
@ -2567,10 +2592,13 @@ div.admin_section h4 {
display:block;
}
.question_options .radio, .question_options .checkbox {
.question_options .radio{
min-height: 18px;
padding-left: 25px;
}
.question_options .checkbox{
margin-left: 35px;
}
.question_options .radio input[type="radio"], .question_options .checkbox input[type="checkbox"] {
float: left;
margin-left: -25px;
@ -2585,10 +2613,6 @@ div.admin_section h4 {
margin:2px 2px 2px 0px;
}
.question_description {
padding: 0px;
}
.exercise_description {
padding:0px 0px 10px 0px;
border-bottom: 1px solid #CCCCCC;
@ -2599,12 +2623,6 @@ div.admin_section h4 {
padding:10px 0px 10px 0px;
}
.question_title {
font-size: 1.2em;
font-weight: bold;
margin: 15px 0px;
}
.question_no_answer {
background-color: #FFF7C0;
/* padding: 5px 0px 5px 0px; */

@ -1085,7 +1085,7 @@ if (!empty($error)) {
// Showing the question
echo '<div id="question_div_'.$questionId.'" class="main_question '.$remind_highlight.'" >';
echo '<div id="question_div_'.$questionId.'" class="main-question '.$remind_highlight.'" >';
// Shows the question and its answers
ExerciseLib::showQuestion($questionId, false, $origin, $i, true, false, $user_choice, false);

Loading…
Cancel
Save