mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'wip-MDL-39130-master' of git://github.com/ds125v/moodle
Conflicts: theme/bootstrapbase/style/moodle.css
This commit is contained in:
commit
a135128390
@ -188,6 +188,14 @@
|
||||
.alert-info;
|
||||
color: @textColor;
|
||||
}
|
||||
.formulation input[type="text"],
|
||||
.formulation select {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.path-mod-quiz input[size] {
|
||||
width: auto;
|
||||
}
|
||||
.que .outcome {
|
||||
}
|
||||
.que .comment {
|
||||
@ -218,21 +226,59 @@
|
||||
.que .qtext {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
.que .correct {
|
||||
.que .correctness {
|
||||
.label;
|
||||
&.correct {
|
||||
background-color: @successText;
|
||||
}
|
||||
.que .notanswered,
|
||||
.que .incorrect {
|
||||
.label;
|
||||
}
|
||||
&.partiallycorrect {
|
||||
background-color: @orange;
|
||||
}
|
||||
&.notanswered,
|
||||
&.incorrect {
|
||||
background-color: @errorText;
|
||||
}
|
||||
.que .partiallycorrect {
|
||||
background-color: @warningBackground;
|
||||
}
|
||||
}
|
||||
.que .validationerror {
|
||||
color: @errorText;
|
||||
}
|
||||
// copied from .formFieldState in mixin.less
|
||||
// and made more specific
|
||||
.answerState(@textColor, @backgroundColor) {
|
||||
@borderColor: @textColor;
|
||||
color: @textColor;
|
||||
background-color: @backgroundColor;
|
||||
border-color: @borderColor;
|
||||
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
|
||||
&:focus {
|
||||
border-color: darken(@borderColor, 10%);
|
||||
@shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%);
|
||||
.box-shadow(@shadow);
|
||||
}
|
||||
}
|
||||
|
||||
.formulation .correct {
|
||||
background-color: @successBackground;
|
||||
}
|
||||
.formulation .partiallycorrect {
|
||||
background-color: @warningBackground;
|
||||
}
|
||||
.formulation .incorrect {
|
||||
background-color: @errorBackground;
|
||||
}
|
||||
.formulation select.correct,
|
||||
.formulation input.correct {
|
||||
.answerState(@successText, @successBackground);
|
||||
}
|
||||
.formulation select.partiallycorrect,
|
||||
.formulation input.partiallycorrect {
|
||||
.answerState(@warningText, @warningBackground);
|
||||
}
|
||||
.formulation select.incorrect,
|
||||
.formulation input.incorrect {
|
||||
.answerState(@errorText, @errorBackground);
|
||||
}
|
||||
|
||||
.que .grading,
|
||||
.que .comment,
|
||||
.que .commentlink,
|
||||
@ -340,6 +386,9 @@
|
||||
border: none;
|
||||
background-color: @bodyBackground;
|
||||
}
|
||||
#page-mod-quiz-edit div.question div.content div.points label {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#page-mod-quiz-edit div.quizpage .pagecontent .pagestatus {
|
||||
background-color: @bodyBackground;
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user