Skip to content
Snippets Groups Projects
Commit 1f58dfd0 authored by chris's avatar chris
Browse files

qestion styles

parent 617b3b65
No related branches found
No related tags found
1 merge request!372Surface styles
...@@ -319,97 +319,4 @@ export default css` ...@@ -319,97 +319,4 @@ export default css`
.transform-icon { .transform-icon {
transform: rotate(40deg); transform: rotate(40deg);
} }
/* -- Questions ---------------------------------- */
/* -- Multiple Choice ---------------------------------- */
.multiple-choice,
.multiple-choice-single-correct,
.true-false,
.true-false-single-correct {
border: 3px solid #f5f5f7;
counter-reset: question-item-multiple;
margin: 38px;
padding: 20px;
padding-top: 0px;
&:before {
bottom: 25px;
counter-increment: multiple-question;
position: relative;
right: 20px;
}
.ProseMirror {
box-shadow: none;
padding: 5px 5px 0 5px;
}
}
.multiple-choice {
&:before {
content: 'Answer Group ' counter(multiple-question) ' (multiple choice)';
}
}
.multiple-choice-single-correct {
&:before {
content: 'Answer Group ' counter(multiple-question)
' (multiple choice single correct)';
}
}
.true-false {
&:before {
content: 'Answer Group ' counter(multiple-question) ' (true/false)';
}
}
.true-false-single-correct {
&:before {
content: 'Answer Group ' counter(multiple-question)
' (true/false single correct)';
}
}
/* -- Fill The Gap ---------------------------------- */
.fill-the-gap {
border: 3px solid #f5f5f7;
margin-bottom: 30px;
margin-top: 30px;
padding: 3px;
&:before {
background-color: #fff;
bottom: 22px;
color: #535e76;
content: 'Fill The Gap';
height: 10px;
left: -1px;
position: relative;
width: 30px;
}
}
/* -- Essay ---------------------------------- */
.essay {
border: 3px solid #f5f5f7;
margin-bottom: 30px;
margin-top: 30px;
padding: 3px;
&:before {
background-color: #fff;
bottom: 22px;
color: #535e76;
content: 'Essay';
height: 10px;
left: -1px;
position: relative;
width: 30px;
}
}
`; `;
...@@ -7,6 +7,7 @@ import EssayQuestionComponent from './components/EssayQuestionComponent'; ...@@ -7,6 +7,7 @@ import EssayQuestionComponent from './components/EssayQuestionComponent';
import EssayAnswerComponent from './components/EssayAnswerComponent'; import EssayAnswerComponent from './components/EssayAnswerComponent';
import EssayQuestionNodeView from './EssayQuestionNodeView'; import EssayQuestionNodeView from './EssayQuestionNodeView';
import EssayAnswerNodeView from './EssayAnswerNodeView'; import EssayAnswerNodeView from './EssayAnswerNodeView';
import './essay.css';
class EssayService extends Service { class EssayService extends Service {
register() { register() {
......
...@@ -5,6 +5,7 @@ import fillTheGapNode from './schema/fillTheGapNode'; ...@@ -5,6 +5,7 @@ import fillTheGapNode from './schema/fillTheGapNode';
import CreateGapService from './CreateGapService/CreateGapService'; import CreateGapService from './CreateGapService/CreateGapService';
import FillTheGapNodeView from './FillTheGapNodeView'; import FillTheGapNodeView from './FillTheGapNodeView';
import GapComponent from './components/GapComponent'; import GapComponent from './components/GapComponent';
import './fillTheGap.css';
class FillTheGapQuestionService extends Service { class FillTheGapQuestionService extends Service {
register() { register() {
......
...@@ -10,6 +10,7 @@ import QuestionNodeView from './QuestionNodeView'; ...@@ -10,6 +10,7 @@ import QuestionNodeView from './QuestionNodeView';
import MultipleChoiceSingleCorrectQuestionService from './MultipleChoiceSingleCorrectQuestionService/MultipleChoiceSingleCorrectQuestionService'; import MultipleChoiceSingleCorrectQuestionService from './MultipleChoiceSingleCorrectQuestionService/MultipleChoiceSingleCorrectQuestionService';
import TrueFalseQuestionService from './TrueFalseQuestionService/TrueFalseQuestionService'; import TrueFalseQuestionService from './TrueFalseQuestionService/TrueFalseQuestionService';
import TrueFalseSingleCorrectQuestionService from './TrueFalseSingleCorrectQuestionService/TrueFalseSingleCorrectQuestionService'; import TrueFalseSingleCorrectQuestionService from './TrueFalseSingleCorrectQuestionService/TrueFalseSingleCorrectQuestionService';
import './multipleQuestionStyles.css';
class MultipleChoiceQuestionService extends Service { class MultipleChoiceQuestionService extends Service {
register() { register() {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment