Merge pull request #12853 from eduNEXT/Bound3R/TNL-3717
resolve byte-sized bug TNL-3717
This commit is contained in:
@@ -154,10 +154,8 @@ div.problem {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// +Problem - Choice Group
|
// Choice Group - silent class
|
||||||
// ====================
|
%choicegroup-base {
|
||||||
div.problem {
|
|
||||||
.choicegroup {
|
|
||||||
@include clearfix();
|
@include clearfix();
|
||||||
min-width: 100px;
|
min-width: 100px;
|
||||||
width: auto !important;
|
width: auto !important;
|
||||||
@@ -173,14 +171,18 @@ div.problem {
|
|||||||
padding: ($baseline/2);
|
padding: ($baseline/2);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
&.choicegroup_correct {
|
|
||||||
@include status-icon($correct, "\f00c");
|
|
||||||
border: 2px solid $correct;
|
|
||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
@include margin-left($baseline*.75);
|
@include margin-left($baseline*.75);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
border: 2px solid $blue;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.choicegroup_correct {
|
||||||
|
@include status-icon($correct, "\f00c");
|
||||||
|
border: 2px solid $correct;
|
||||||
|
|
||||||
// keep green for correct answers on hover.
|
// keep green for correct answers on hover.
|
||||||
&:hover {
|
&:hover {
|
||||||
border-color: $correct;
|
border-color: $correct;
|
||||||
@@ -191,10 +193,6 @@ div.problem {
|
|||||||
@include status-icon($partiallycorrect, "\f069");
|
@include status-icon($partiallycorrect, "\f069");
|
||||||
border: 2px solid $partiallycorrect;
|
border: 2px solid $partiallycorrect;
|
||||||
|
|
||||||
&:after {
|
|
||||||
@include margin-left($baseline*.75);
|
|
||||||
}
|
|
||||||
|
|
||||||
// keep green for correct answers on hover.
|
// keep green for correct answers on hover.
|
||||||
&:hover {
|
&:hover {
|
||||||
border-color: $partiallycorrect;
|
border-color: $partiallycorrect;
|
||||||
@@ -205,19 +203,11 @@ div.problem {
|
|||||||
@include status-icon($incorrect, "\f00d");
|
@include status-icon($incorrect, "\f00d");
|
||||||
border: 2px solid $incorrect;
|
border: 2px solid $incorrect;
|
||||||
|
|
||||||
&:after {
|
|
||||||
@include margin-left($baseline*.75);
|
|
||||||
}
|
|
||||||
|
|
||||||
// keep red for incorrect answers on hover.
|
// keep red for incorrect answers on hover.
|
||||||
&:hover {
|
&:hover {
|
||||||
border-color: $incorrect;
|
border-color: $incorrect;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
|
||||||
border: 2px solid $blue;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.indicator-container {
|
.indicator-container {
|
||||||
@@ -240,6 +230,25 @@ div.problem {
|
|||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// +Problem - Choice Group
|
||||||
|
// ====================
|
||||||
|
div.problem {
|
||||||
|
.choicegroup {
|
||||||
|
@extend %choicegroup-base;
|
||||||
|
label {
|
||||||
|
@include padding($baseline/2);
|
||||||
|
@include padding-left($baseline*1.75);
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="radio"],
|
||||||
|
input[type="checkbox"] {
|
||||||
|
@include left($baseline/4);
|
||||||
|
position: absolute;
|
||||||
|
top: em(11);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// +Problem - Status Indicators
|
// +Problem - Status Indicators
|
||||||
@@ -1409,7 +1418,7 @@ div.problem {
|
|||||||
// ====================
|
// ====================
|
||||||
div.problem {
|
div.problem {
|
||||||
.choicetextgroup {
|
.choicetextgroup {
|
||||||
@extend .choicegroup;
|
@extend %choicegroup-base;
|
||||||
|
|
||||||
input[type="text"]{
|
input[type="text"]{
|
||||||
margin-bottom: 0.5em;
|
margin-bottom: 0.5em;
|
||||||
|
|||||||
Reference in New Issue
Block a user