Renamed the question style class from question to que, see bug 4904

This commit is contained in:
gustav_delius 2006-03-26 11:11:29 +00:00
parent d077b8793e
commit a239d1d92c
5 changed files with 21 additions and 21 deletions

View File

@ -1,4 +1,4 @@
<table id="q<?php echo $question->id; ?>" class="question <?php echo $question->qtype; ?>"><tr><td>
<table id="q<?php echo $question->id; ?>" class="que <?php echo $question->qtype; ?>"><tr><td>
<div class="info">
<span class="edit"><?php echo $editlink; ?></span>
</div>

View File

@ -3,7 +3,7 @@
* print_question() method.
*/
?>
<table id="q<?php echo $question->id; ?>" class="question <?php echo $question->qtype; ?>"><tr><td>
<table id="q<?php echo $question->id; ?>" class="que <?php echo $question->qtype; ?>"><tr><td>
<div class="info">
<span class="no"><?php echo $number; ?></span>
<span class="edit"><?php echo $editlink; ?></span>

View File

@ -555,13 +555,13 @@ table.message_search_results td {
*** Question
***/
.question {
.que {
border-color: #DDD;
}
.question .r0 {
.que .r0 {
background-color: #F5F5F5;
}
.question .r1 {
.que .r1 {
background-color: #EEE;
}
.calculated .answer,

View File

@ -571,11 +571,11 @@ body#grade-index .grades .header {
*** Question
***/
.question .no {
.que .no {
font-size: 1.2em;
font-weight: bold;
}
.question .grade {
.que .grade {
font-size: 0.8em;
}

View File

@ -1082,54 +1082,54 @@ body#message-messages {
*** Question
***/
.question {
.que {
width: 90%;
text-align: left;
margin: 10px auto 15px auto;
border: 1px solid;
clear: both;
}
.question .info {
.que .info {
float: left;
margin: 5px;
width: 8%;
}
.question .grade {
.que .grade {
margin-top: 0.5em;
}
.question .content {
.que .content {
float: right;
margin: 5px;
width: 88%;
}
.question .qtext {
.que .qtext {
margin-bottom: 1.5em;
}
.question .ablock {
.que .ablock {
margin: 0.7em 0 0.3em 0;
}
.question .prompt {
.que .prompt {
float: left;
width: 15%;
height: 2em;
padding-top: 0.3em;
}
.question .answer {
.que .answer {
float: right;
width: 83%;
margin-bottom: 0.5em;
}
.question .submit {
.que .submit {
position: relative;
clear: both;
float: left;
}
/* MSIE Hack */
* html .question .submit {
* html .que .submit {
float: none;
}
.question .c0,
.question .c1 {
.que .c0,
.que .c1 {
padding: 0.3em 0 0.3em 0.3em;
vertical-align: top;
}
@ -1157,8 +1157,8 @@ body#message-messages {
padding: 0 0 0.3em 0.3em;
border: 1px solid;
}
.question .grading,
.question .history {
.que .grading,
.que .history {
float: right;
margin: 5px;
width: 88%;