@pocketprep/ui-kit 3.4.81 → 3.4.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@pocketprep/ui-kit.js +191 -183
- package/dist/@pocketprep/ui-kit.js.map +1 -1
- package/dist/@pocketprep/ui-kit.umd.cjs +4 -4
- package/dist/@pocketprep/ui-kit.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/lib/components/Buttons/Button.vue +5 -3
- package/lib/components/Quiz/Question/ChoicesContainer.vue +9 -0
- package/lib/components/Quiz/Question/MatrixChoicesContainer.vue +2 -0
- package/lib/components/Quiz/Question/MobileMatrixChoicesContainer.vue +8 -0
- package/package.json +1 -1
|
@@ -361,9 +361,11 @@ export default class Button extends Vue {
|
|
|
361
361
|
padding: 0;
|
|
362
362
|
text-decoration: none;
|
|
363
363
|
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
364
|
+
@media (hover: hover) {
|
|
365
|
+
&:enabled:hover {
|
|
366
|
+
text-decoration: underline;
|
|
367
|
+
color: mix($brand-blue, black, 90%);
|
|
368
|
+
}
|
|
367
369
|
}
|
|
368
370
|
|
|
369
371
|
&:enabled:focus::before {
|
|
@@ -107,6 +107,11 @@
|
|
|
107
107
|
</div>
|
|
108
108
|
<div
|
|
109
109
|
class="uikit-question-choices-container__choice-text"
|
|
110
|
+
:class="{
|
|
111
|
+
'uikit-question-choices-container__choice-text--review-mode':
|
|
112
|
+
reviewMode,
|
|
113
|
+
}"
|
|
114
|
+
v-breakpoint:questionEl="breakpoints"
|
|
110
115
|
:tabindex="showAnswers ? -1 : 0"
|
|
111
116
|
:role="isMCR
|
|
112
117
|
? 'checkbox'
|
|
@@ -741,6 +746,10 @@ export default class ChoicesContainer extends Vue {
|
|
|
741
746
|
|
|
742
747
|
&__choice-text {
|
|
743
748
|
outline: none;
|
|
749
|
+
|
|
750
|
+
&--review-mode#{&}--mobile {
|
|
751
|
+
max-width: 285px;
|
|
752
|
+
}
|
|
744
753
|
}
|
|
745
754
|
|
|
746
755
|
&__toggle-explanation {
|
|
@@ -762,6 +762,7 @@ export default class MatrixChoicesContainer extends Vue {
|
|
|
762
762
|
|
|
763
763
|
&__radio-btn-correct-answer-icon {
|
|
764
764
|
margin-top: -10px;
|
|
765
|
+
margin-left: -4px;
|
|
765
766
|
width: 21px;
|
|
766
767
|
height: 22px;
|
|
767
768
|
color: $cadaverous;
|
|
@@ -773,6 +774,7 @@ export default class MatrixChoicesContainer extends Vue {
|
|
|
773
774
|
|
|
774
775
|
&__radio-btn-incorrect-answer-icon {
|
|
775
776
|
margin-top: -10px;
|
|
777
|
+
margin-left: -4px;
|
|
776
778
|
width: 21px;
|
|
777
779
|
height: 22px;
|
|
778
780
|
color: $pepper;
|
|
@@ -46,6 +46,10 @@
|
|
|
46
46
|
/>
|
|
47
47
|
<div
|
|
48
48
|
class="uikit-question-mobile-matrix-choices-container__row-label"
|
|
49
|
+
:class="{
|
|
50
|
+
'uikit-question-mobile-matrix-choices-container__row-label--review-mode':
|
|
51
|
+
showMatrixAnswers || reviewMode,
|
|
52
|
+
}"
|
|
49
53
|
v-dark="isDarkMode"
|
|
50
54
|
>
|
|
51
55
|
{{ stripHtmlTags(rowLabel) }}
|
|
@@ -663,6 +667,10 @@ export default class MobileMatrixChoicesContainer extends Vue {
|
|
|
663
667
|
&--dark {
|
|
664
668
|
color: $barely-background;
|
|
665
669
|
}
|
|
670
|
+
|
|
671
|
+
&--review-mode {
|
|
672
|
+
width: 285px;
|
|
673
|
+
}
|
|
666
674
|
}
|
|
667
675
|
|
|
668
676
|
&__toggle-row-icon {
|