Commit a40d317a authored by Andreas Gärtner's avatar Andreas Gärtner

Task #15988: Further adjustments on answer option icons positioning.

parent 63c51af4
......@@ -1099,6 +1099,7 @@
SHOW_STATISTIC: "Show<br/>statistics",
RELEASE_STATISTIC: "Release<br/>statistics",
RELEASE_QUESTION: "Release<br/>question",
ACTIVATE_TIMER: "Activate<br/>Timer",
RELEASE_ALL_QUESTIONS: "Release<br/>questions",
RELEASE_VOTE: "Release<br/>vote",
RELEASE_ALL_VOTES: "Release<br/>all votes",
......
......@@ -350,7 +350,7 @@ Ext.define('ARSnova.view.Question', {
correct: false
})[0];
// has to be set this way as it does not conform to the model
this.abstentionAnswer.set('formattedText', Messages.ABSTENTION);
this.abstentionAnswer.set('formattedText', '<p>' + Messages.ABSTENTION + '</p>');
}
this.mcSaveButton = Ext.create('Ext.Button', {
......
......@@ -65,39 +65,54 @@
border-radius: 10px;
}
.answerOptionCorrectItem:after {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
font-family: "Pictos";
content: "3";
font-size: 2em;
margin: 1px 0px 0px 8px;
color: $thm-green;
text-shadow: 0px 0px 1px white;
}
.answerListButton {
&.x-item-selected .x-innerhtml .answerOptionItem {
&.answerOptionCorrectItem:after {
text-shadow: 0px 0px 1px $thm-grey;
}
}
.answerOptionItem:before {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
font-family: "arsnova";
content: "\f096";
font-size: 1.2em;
margin: 11.65px 0px 0px 12px;
}
.x-innerhtml {
display: table;
.answerOptionItem {
width: 2em;
display: table-cell;
vertical-align: middle;
}
.answerOptionText {
width: 100%;
display: table-cell;
vertical-align: middle;
p {
position: relative;
bottom: 2px;
left: 10px;
}
}
.answerOptionText {
position: absolute;
margin: 13px 2.5em;
top: 0;
right: 0;
bottom: 0;
left: 0;
.answerOptionItem {
line-height: 2.25em;
&.answerOptionItem:before {
font-family: "arsnova";
content: "\f096";
font-size: 1.2em;
}
&.answerOptionCorrectItem:after {
font-family: "Pictos";
content: "3";
font-size: 2.25em;
color: $thm-green;
text-shadow: 0px 0px 1px white;
margin: 0px 0px 0px -21px;
opacity: .99;
}
}
}
}
.thm-lettering {
......
Markdown is supported
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