commons-assessment 12.1.0 → 12.1.2-dev.0

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.
Files changed (82) hide show
  1. package/README.md +11 -0
  2. package/bundles/commons-assessment.umd.js +2304 -247
  3. package/bundles/commons-assessment.umd.js.map +1 -1
  4. package/esm2015/lib/modules/assessment-maker/assessment-maker.component.js +293 -32
  5. package/esm2015/lib/modules/assessment-maker/assessment-maker.module.js +10 -5
  6. package/esm2015/lib/modules/assessment-maker/components/add-edit-section-introduction/add-edit-section-introduction.component.js +1 -1
  7. package/esm2015/lib/modules/assessment-maker/components/assessment-builder/assessment-builder.component.js +77 -22
  8. package/esm2015/lib/modules/assessment-maker/components/question-bank-picker/question-bank-picker.component.js +276 -0
  9. package/esm2015/lib/modules/assessment-maker/components/question-details/question-details.component.js +22 -2
  10. package/esm2015/lib/modules/assessment-maker/services/assessment-builder.service.js +22 -7
  11. package/esm2015/lib/modules/assessment-maker/services/assessment-maker.service.js +32 -5
  12. package/esm2015/lib/modules/assessment-taker/assessment-taker.component.js +365 -42
  13. package/esm2015/lib/modules/assessment-taker/assessment-taker.module.js +9 -3
  14. package/esm2015/lib/modules/assessment-taker/components/proctoring-consent/proctoring-consent.component.js +137 -0
  15. package/esm2015/lib/modules/assessment-taker/components/proctoring-result/proctoring-result.component.js +177 -0
  16. package/esm2015/lib/modules/assessment-taker/components/question-type-date-picker/question-type-date-picker.component.js +2 -3
  17. package/esm2015/lib/modules/assessment-taker/components/question-type-editor/question-type-editor.component.js +1 -1
  18. package/esm2015/lib/modules/assessment-taker/components/question-type-file-upload/question-type-file-upload.component.js +5 -2
  19. package/esm2015/lib/modules/assessment-taker/components/question-type-long/question-type-long.component.js +1 -1
  20. package/esm2015/lib/modules/assessment-taker/components/question-type-multiselect/question-type-multiselect.component.js +7 -3
  21. package/esm2015/lib/modules/assessment-taker/components/question-type-objective/question-type-objective.component.js +7 -3
  22. package/esm2015/lib/modules/assessment-taker/components/question-type-preference/question-type-preference.component.js +9 -4
  23. package/esm2015/lib/modules/assessment-taker/components/question-type-short/question-type-short.component.js +78 -8
  24. package/esm2015/lib/modules/assessment-taker/components/section-instructions/section-instructions.component.js +1 -1
  25. package/esm2015/lib/modules/assessment-taker/services/assessment-taker.service.js +18 -3
  26. package/esm2015/lib/modules/assessment-taker/services/proctoring.service.js +125 -0
  27. package/esm2015/lib/modules/assessment-taker/services/response-builder.service.js +15 -1
  28. package/esm2015/lib/modules/question-bank/question-bank.component.js +313 -0
  29. package/esm2015/lib/modules/question-bank/question-bank.module.js +45 -0
  30. package/esm2015/lib/shared/components/confirmation-dialog/confirmation-dialog.component.js +56 -0
  31. package/esm2015/lib/shared/components/skill-allocation/skill-allocation.component.js +5 -2
  32. package/esm2015/lib/shared/controllers.js +18 -4
  33. package/esm2015/lib/shared/interfaces/assessment.interface.js +1 -1
  34. package/esm2015/lib/shared/interfaces/proctoring.interface.js +2 -0
  35. package/esm2015/lib/shared/material-modules.js +1 -16
  36. package/esm2015/lib/shared/shared.module.js +8 -3
  37. package/esm2015/lib/shared/utils.js +19 -1
  38. package/esm2015/public-api.js +4 -1
  39. package/fesm2015/commons-assessment.js +2071 -152
  40. package/fesm2015/commons-assessment.js.map +1 -1
  41. package/lib/modules/assessment-maker/assessment-maker.component.d.ts +40 -2
  42. package/lib/modules/assessment-maker/assessment-maker.module.d.ts +6 -5
  43. package/lib/modules/assessment-maker/components/assessment-builder/assessment-builder.component.d.ts +7 -0
  44. package/lib/modules/assessment-maker/components/question-bank-picker/question-bank-picker.component.d.ts +81 -0
  45. package/lib/modules/assessment-maker/components/question-details/question-details.component.d.ts +6 -1
  46. package/lib/modules/assessment-maker/services/assessment-builder.service.d.ts +10 -3
  47. package/lib/modules/assessment-maker/services/assessment-maker.service.d.ts +15 -11
  48. package/lib/modules/assessment-taker/assessment-taker.component.d.ts +81 -2
  49. package/lib/modules/assessment-taker/assessment-taker.module.d.ts +7 -5
  50. package/lib/modules/assessment-taker/components/proctoring-consent/proctoring-consent.component.d.ts +39 -0
  51. package/lib/modules/assessment-taker/components/proctoring-result/proctoring-result.component.d.ts +82 -0
  52. package/lib/modules/assessment-taker/components/question-type-file-upload/question-type-file-upload.component.d.ts +1 -0
  53. package/lib/modules/assessment-taker/components/question-type-multiselect/question-type-multiselect.component.d.ts +1 -0
  54. package/lib/modules/assessment-taker/components/question-type-objective/question-type-objective.component.d.ts +1 -0
  55. package/lib/modules/assessment-taker/components/question-type-preference/question-type-preference.component.d.ts +1 -0
  56. package/lib/modules/assessment-taker/components/question-type-short/question-type-short.component.d.ts +14 -2
  57. package/lib/modules/assessment-taker/services/assessment-taker.service.d.ts +5 -0
  58. package/lib/modules/assessment-taker/services/proctoring.service.d.ts +40 -0
  59. package/lib/modules/assessment-taker/services/response-builder.service.d.ts +9 -0
  60. package/lib/modules/question-bank/question-bank.component.d.ts +65 -0
  61. package/lib/modules/question-bank/question-bank.module.d.ts +12 -0
  62. package/lib/shared/components/confirmation-dialog/confirmation-dialog.component.d.ts +36 -0
  63. package/lib/shared/components/skill-allocation/skill-allocation.component.d.ts +1 -0
  64. package/lib/shared/controllers.d.ts +14 -1
  65. package/lib/shared/interfaces/assessment.interface.d.ts +8 -0
  66. package/lib/shared/interfaces/proctoring.interface.d.ts +101 -0
  67. package/lib/shared/material-modules.d.ts +5 -8
  68. package/lib/shared/shared.module.d.ts +5 -4
  69. package/lib/shared/utils.d.ts +4 -0
  70. package/package.json +1 -1
  71. package/public-api.d.ts +3 -0
  72. package/src/lib/assets/images/arrow-down-blue.svg +3 -0
  73. package/src/lib/assets/images/arrow-up-blue.svg +3 -0
  74. package/src/lib/assets/images/file-import.svg +11 -0
  75. package/src/lib/assets/images/plus-white.svg +1 -0
  76. package/src/lib/assets/images/proctoring.svg +3 -0
  77. package/src/lib/assets/images/user.svg +3 -0
  78. package/src/lib/assets/json/imageConfig.json +7 -1
  79. package/src/lib/assets/json/labelConfig.json +107 -2
  80. package/src/lib/assets/theme/_theme.global.scss +6 -0
  81. package/src/lib/assets/theme/_theme.scss +17 -346
  82. package/src/lib/assets/theme/styles.scss +13 -0
@@ -80,6 +80,78 @@
80
80
  "COMMONS_ASSESSMENT.ERROR.MAX_OPTIONS": "You can select a maximum of {{count}} options.",
81
81
  "COMMONS_ASSESSMENT.ERROR.MAX_FILES": "You can upload a maximum of {{count}} files.",
82
82
  "COMMONS_ASSESSMENT.ERROR.MAX_FILE_SIZE": "One or more files exceed the maximum allowed size of {{size}} MB.",
83
+ "COMMONS_ASSESSMENT.ERROR.PRIVATE_DRIVE_LINK": "This Google Drive link is private. Please share a public link (anyone with the link can view).",
84
+ "COMMONS_ASSESSMENT.WARNING.RESPONSES_EXIST": "Some people have already responded. Doing this might result in unexpected errors. Do you wish to proceed?",
85
+ "COMMONS_ASSESSMENT.LABEL.PROCEED": "Proceed",
86
+ "COMMONS_ASSESSMENT.LABEL.CANCEL": "Cancel",
87
+ "COMMONS_ASSESSMENT.LABEL.ENABLE_PROCTORING": "Enable proctoring",
88
+ "COMMONS_ASSESSMENT.LABEL.DURATION": "Duration",
89
+ "COMMONS_ASSESSMENT.LABEL.MINUTES": "minutes",
90
+ "COMMONS_ASSESSMENT.LABEL.TIMER_AUTO_SUBMIT": "Once the timer runs out, your response will be submitted automatically.",
91
+ "COMMONS_ASSESSMENT.LABEL.TIMER_EXPIRED": "Your time is up. Your responses have been submitted automatically.",
92
+ "COMMONS_ASSESSMENT.PROCTORING.CONSENT_MESSAGE": "This assessment is proctored. To verify your identity, periodic still images (photos) will be captured from your camera during the session. Your explicit consent is required before the session can start.",
93
+ "COMMONS_ASSESSMENT.PROCTORING.CONSENT_ACCEPT": "I consent, let's begin",
94
+ "COMMONS_ASSESSMENT.PROCTORING.CAPTURE_INSTRUCTION": "Before you begin, capture a clear photo of your face for identity verification. Position your face within the frame in good lighting, then capture.",
95
+ "COMMONS_ASSESSMENT.PROCTORING.CAPTURE": "Capture photo",
96
+ "COMMONS_ASSESSMENT.PROCTORING.RETAKE": "Retake",
97
+ "COMMONS_ASSESSMENT.PROCTORING.CAMERA_STARTING": "Starting camera…",
98
+ "COMMONS_ASSESSMENT.PROCTORING.INTRO_TITLE": "Before you begin",
99
+ "COMMONS_ASSESSMENT.PROCTORING.INTRO_SUBTITLE": "Please review the details below and consent to proceed.",
100
+ "COMMONS_ASSESSMENT.PROCTORING.INTRO_SECTIONS": "Sections",
101
+ "COMMONS_ASSESSMENT.PROCTORING.INTRO_TIME": "Time",
102
+ "COMMONS_ASSESSMENT.PROCTORING.INTRO_MINUTES": "min",
103
+ "COMMONS_ASSESSMENT.PROCTORING.INTRO_WARNINGS_TITLE": "Please note",
104
+ "COMMONS_ASSESSMENT.PROCTORING.WARN_AUTO_SUBMIT": "This is a timed assessment — when the time runs out, your responses will be submitted automatically.",
105
+ "COMMONS_ASSESSMENT.PROCTORING.LEAVE_WARNING_TITLE": "Leave assessment?",
106
+ "COMMONS_ASSESSMENT.PROCTORING.LEAVE_WARNING_MESSAGE": "Proctoring is active. Leaving or navigating back may impact your final report. Do you wish to proceed?",
107
+ "COMMONS_ASSESSMENT.PROCTORING.WARN_ONE_ATTEMPT": "Complete the assessment in a single attempt — multiple attempts can impact your final score.",
108
+ "COMMONS_ASSESSMENT.PROCTORING.WARN_NO_TAB_SWITCH": "Do not switch tabs or leave the assessment window.",
109
+ "COMMONS_ASSESSMENT.PROCTORING.WARN_NO_REFRESH": "Do not refresh or close the page during the assessment.",
110
+ "COMMONS_ASSESSMENT.PROCTORING.WARN_QUIET_ROOM": "Stay in a well-lit, quiet room and keep your face clearly visible.",
111
+ "COMMONS_ASSESSMENT.PROCTORING.CAMERA_DENIED": "Camera access is required for proctoring. Please allow camera access in your browser and try again.",
112
+ "COMMONS_ASSESSMENT.PROCTORING.SESSION_ERROR": "Could not start the proctoring session. Please try again.",
113
+ "COMMONS_ASSESSMENT.PROCTORING.RESULT_TITLE": "Proctoring report",
114
+ "COMMONS_ASSESSMENT.PROCTORING.VIEW_REPORT": "Proctoring report",
115
+ "COMMONS_ASSESSMENT.PROCTORING.SESSIONS_COUNT": "session(s)",
116
+ "COMMONS_ASSESSMENT.PROCTORING.SESSIONS_LOADING": "Loading sessions…",
117
+ "COMMONS_ASSESSMENT.PROCTORING.SESSIONS_ERROR": "Could not load proctoring sessions. Please try again.",
118
+ "COMMONS_ASSESSMENT.PROCTORING.SESSIONS_EMPTY": "No proctoring sessions found.",
119
+ "COMMONS_ASSESSMENT.PROCTORING.REPORT_LOADING": "Loading report…",
120
+ "COMMONS_ASSESSMENT.PROCTORING.REPORT_ERROR": "Could not load this report. Please try again.",
121
+ "COMMONS_ASSESSMENT.PROCTORING.REPORT_EMPTY": "No report available for this session yet.",
122
+ "COMMONS_ASSESSMENT.PROCTORING.REPORTS_RETRY": "Retry",
123
+ "COMMONS_ASSESSMENT.PROCTORING.LOAD_MORE": "Load more",
124
+ "COMMONS_ASSESSMENT.PROCTORING.REPORT_SESSION": "Session",
125
+ "COMMONS_ASSESSMENT.PROCTORING.REPORT_FLAGGED": "Flagged",
126
+ "COMMONS_ASSESSMENT.PROCTORING.REPORT_INTEGRITY_SCORE": "Integrity score",
127
+ "COMMONS_ASSESSMENT.PROCTORING.REPORT_IDENTITY_MATCH": "Identity match",
128
+ "COMMONS_ASSESSMENT.PROCTORING.REPORT_FAILURE_REASON": "Failure reason",
129
+ "COMMONS_ASSESSMENT.PROCTORING.REPORT_DURATION": "Duration",
130
+ "COMMONS_ASSESSMENT.PROCTORING.REPORT_STARTED": "Started",
131
+ "COMMONS_ASSESSMENT.PROCTORING.REPORT_ENDED": "Ended",
132
+ "COMMONS_ASSESSMENT.PROCTORING.REPORT_ANALYSIS": "Analysis",
133
+ "COMMONS_ASSESSMENT.PROCTORING.REPORT_FRAMES": "Frames",
134
+ "COMMONS_ASSESSMENT.PROCTORING.REPORT_NO_FACE": "No-face",
135
+ "COMMONS_ASSESSMENT.PROCTORING.REPORT_MULTI_FACE": "Multi-face",
136
+ "COMMONS_ASSESSMENT.PROCTORING.REPORT_IMPERSONATION": "Impersonation",
137
+ "COMMONS_ASSESSMENT.PROCTORING.REPORT_EVIDENCE": "Captured evidence",
138
+ "COMMONS_ASSESSMENT.PROCTORING.REPORT_REFERENCE": "reference",
139
+ "COMMONS_ASSESSMENT.PROCTORING.REPORT_TIMELINE": "Timeline",
140
+ "COMMONS_ASSESSMENT.PROCTORING.EVENT.tab.hidden": "Tab switch away",
141
+ "COMMONS_ASSESSMENT.PROCTORING.EVENT.tab.visible": "Tab return",
142
+ "COMMONS_ASSESSMENT.PROCTORING.EVENT.session.started": "Session started",
143
+ "COMMONS_ASSESSMENT.PROCTORING.EVENT.session.ended": "Session ended",
144
+ "COMMONS_ASSESSMENT.PROCTORING.EVENT.camera.granted": "Camera granted",
145
+ "COMMONS_ASSESSMENT.PROCTORING.EVENT.camera.denied": "Camera denied",
146
+ "COMMONS_ASSESSMENT.PROCTORING.EVENT.frame.captured": "Frame captured",
147
+ "COMMONS_ASSESSMENT.PROCTORING.EVENT.heartbeat": "Heartbeat",
148
+ "COMMONS_ASSESSMENT.PROCTORING.EVENT.no_face.detected": "No face detected",
149
+ "COMMONS_ASSESSMENT.PROCTORING.EVENT.multi_face.detected": "Multiple faces detected",
150
+ "COMMONS_ASSESSMENT.PROCTORING.REASON.browser_activity": "Browser activity",
151
+ "COMMONS_ASSESSMENT.PROCTORING.REASON.no_face": "No face detected",
152
+ "COMMONS_ASSESSMENT.PROCTORING.REASON.multi_face": "Multiple faces detected",
153
+ "COMMONS_ASSESSMENT.PROCTORING.REASON.impersonation": "Possible impersonation",
154
+ "COMMONS_ASSESSMENT.PROCTORING.REASON.identity_mismatch": "Identity mismatch",
83
155
  "COMMONS_ASSESSMENT.LABEL.CHARACTER": "character",
84
156
  "COMMONS_ASSESSMENT.LABEL.REMAINING": "remaining",
85
157
  "COMMONS_ASSESSMENT.PLACEHOLDER.REMARKS": "Enter remarks here",
@@ -111,5 +183,38 @@
111
183
  "COMMONS_ASSESSMENT.ERROR.CANNOT_BE_ZERO": "Limit cannot be 0.",
112
184
  "COMMONS_ASSESSMENT.ERROR.MAX_LIMIT_GREATER": " Max limit should be greater than min limit",
113
185
  "COMMONS_ASSESSMENT.ERROR.MAX_LIMIT_EXCEEDS_OPTIONS": "Max limit cannot exceed total options.",
114
- "COMMONS_ASSESSMENT.TOAST.MINIMUM_REQUIRED_SECTIONS_ERROR": "Atleast $Count sections needs to be created before proceeding."
115
- }
186
+ "COMMONS_ASSESSMENT.TOAST.MINIMUM_REQUIRED_SECTIONS_ERROR": "Atleast $Count sections needs to be created before proceeding.",
187
+
188
+ "COMMONS_ASSESSMENT.LABEL.QUESTION_BANK": "Question Bank",
189
+ "COMMONS_ASSESSMENT.LABEL.QUESTION_BANK_DESC": "Create and manage independent questions to map to assessments",
190
+ "COMMONS_ASSESSMENT.LABEL.CREATE_QUESTION": "Create Question",
191
+ "COMMONS_ASSESSMENT.LABEL.NO_QUESTIONS_IN_BANK": "No Questions in Bank!",
192
+ "COMMONS_ASSESSMENT.LABEL.NO_QUESTIONS_IN_BANK_DESC": "Create standalone questions to reuse across assessments",
193
+ "COMMONS_ASSESSMENT.TOAST.QUESTION_CREATED_SUCCESS": "Question created successfully",
194
+ "COMMONS_ASSESSMENT.LABEL.IMPORT_FROM_QUESTION_BANK": "Import from Question Bank",
195
+ "COMMONS_ASSESSMENT.LABEL.SEARCH_QUESTIONS": "Search questions...",
196
+ "COMMONS_ASSESSMENT.LABEL.ALL_TYPES": "All Types",
197
+ "COMMONS_ASSESSMENT.LABEL.ALREADY_ADDED": "Already Added",
198
+ "COMMONS_ASSESSMENT.LABEL.QUESTIONS_SELECTED": "questions selected",
199
+ "COMMONS_ASSESSMENT.LABEL.IMPORT_COUNT": "Import",
200
+ "COMMONS_ASSESSMENT.LABEL.LOAD_MORE": "Load More",
201
+ "COMMONS_ASSESSMENT.LABEL.SHOWING_OF": "Showing",
202
+ "COMMONS_ASSESSMENT.LABEL.NO_QUESTIONS_FOUND": "No questions found",
203
+ "COMMONS_ASSESSMENT.TOAST.QUESTIONS_IMPORTED_SUCCESS": "Questions imported successfully",
204
+ "COMMONS_ASSESSMENT.WARNING.QUESTION_LOCKED": "This question is part of a published assessment and cannot be edited.",
205
+ "COMMONS_ASSESSMENT.LABEL.LOCKED": "Locked",
206
+ "COMMONS_ASSESSMENT.LABEL.SELECTED_SECTION": "Selected Section",
207
+ "COMMONS_ASSESSMENT.LABEL.SEARCH_QUESTION": "Search Question",
208
+ "COMMONS_ASSESSMENT.LABEL.SELECT_ALL_QUESTIONS": "Select All Questions",
209
+ "COMMONS_ASSESSMENT.LABEL.ADDED": "Added",
210
+ "COMMONS_ASSESSMENT.LABEL.CLICK_TO_VIEW": "Click to view",
211
+ "COMMONS_ASSESSMENT.LABEL.NO_QUESTIONS_SELECTED": "No questions selected",
212
+ "COMMONS_ASSESSMENT.LABEL.ALL_QUESTIONS_LOADED": "All questions loaded",
213
+ "COMMONS_ASSESSMENT.LABEL.LOADING_MORE_QUESTIONS": "Loading more questions...",
214
+ "COMMONS_ASSESSMENT.LABEL.NO_MATCHING_QUESTIONS": "No matching questions found",
215
+ "COMMONS_ASSESSMENT.LABEL.NO_MATCHING_QUESTIONS_DESC": "Try adjusting your search terms or clearing selected question type filters.",
216
+ "COMMONS_ASSESSMENT.LABEL.CLEAR_FILTERS": "Clear Filters",
217
+ "COMMONS_ASSESSMENT.LABEL.IMPORT_QUESTIONS_INTO_NEW_SECTION": "Import questions into a new section",
218
+ "COMMONS_ASSESSMENT.LABEL.CREATE_NEW_QUESTION": "Create New Question",
219
+ "COMMONS_ASSESSMENT.LABEL.ADD_QUESTION": "Add Question"
220
+ }
@@ -19,6 +19,12 @@ $default-config: (
19
19
  danger: #ff5252,
20
20
  danger-bg: #FFECE6,
21
21
 
22
+ success: #2e9c6a,
23
+ success-bg: #E8F7F0,
24
+
25
+ warning: #e39a2b,
26
+ warning-bg: #FEF9F1,
27
+
22
28
  primary-one: #467DD6,
23
29
  primary-four: #295eb7,
24
30
 
@@ -46,13 +46,6 @@
46
46
  line-height: calc(0.9rem + 0.3vw);
47
47
  }
48
48
 
49
- .assessment-text-bold-12 {
50
- font-weight: 700;
51
- font-family: var(--assessment-font-family) !important;
52
- font-size: calc(0.48rem + 0.3vw);
53
- line-height: calc(0.9rem + 0.3vw);
54
- }
55
-
56
49
  .assessment-text-semibold-12 {
57
50
  font-weight: 600;
58
51
  font-family: var(--assessment-font-family) !important;
@@ -60,18 +53,18 @@
60
53
  line-height: calc(0.9rem + 0.3vw);
61
54
  }
62
55
 
63
- .assessment-text-semibold-11 {
64
- font-weight: 600;
56
+ .assessment-text-medium-11 {
57
+ font-weight: 500;
65
58
  font-family: var(--assessment-font-family);
66
59
  font-size: calc(0.48rem + 0.25vw);
67
60
  line-height: calc(0.8rem + 0.25vw);
68
61
  }
69
62
 
70
- .assessment-text-medium-11 {
63
+ .assessment-text-medium-10 {
71
64
  font-weight: 500;
72
65
  font-family: var(--assessment-font-family);
73
- font-size: calc(0.48rem + 0.25vw);
74
- line-height: calc(0.8rem + 0.25vw);
66
+ font-size: calc(0.42rem + 0.2vw);
67
+ line-height: calc(0.72rem + 0.2vw);
75
68
  }
76
69
 
77
70
  .assessment-text-regular-11 {
@@ -95,13 +88,6 @@
95
88
  line-height: calc(0.9rem + 0.2vw) !important;
96
89
  }
97
90
 
98
- .assessment-text-bold-13 {
99
- font-weight: 700;
100
- font-family: var(--assessment-font-family) !important;
101
- font-size: calc(0.64rem + 0.2vw) !important;
102
- line-height: calc(0.9rem + 0.2vw) !important;
103
- }
104
-
105
91
  .assessment-text-semibold-13 {
106
92
  font-weight: 600;
107
93
  font-family: var(--assessment-font-family) !important;
@@ -116,20 +102,6 @@
116
102
  line-height: calc(0.9rem + 0.2vw) !important;
117
103
  }
118
104
 
119
- .assessment-text-regular-14 {
120
- font-weight: 400;
121
- font-family: var(--assessment-font-family) !important;
122
- font-size: calc(0.7rem + 0.2vw);
123
- line-height: calc(1.2rem + 0.2vw);
124
- }
125
-
126
- .assessment-text-bold-14 {
127
- font-weight: 700;
128
- font-family: var(--assessment-font-family) !important;
129
- font-size: calc(0.7rem + 0.2vw);
130
- line-height: calc(1.2rem + 0.2vw);
131
- }
132
-
133
105
  .assessment-text-medium-14 {
134
106
  font-weight: 500;
135
107
  font-family: var(--assessment-font-family) !important;
@@ -144,20 +116,6 @@
144
116
  line-height: calc(1.2rem + 0.2vw);
145
117
  }
146
118
 
147
- .assessment-text-semibold-10 {
148
- font-weight: 600;
149
- font-family: var(--assessment-font-family) !important;
150
- font-size: calc(0.55rem + 0.1vw);
151
- line-height: calc(1rem + 0.1vw);
152
- }
153
-
154
- .assessment-text-regular-10 {
155
- font-weight: 400;
156
- font-family: var(--assessment-font-family) !important;
157
- font-size: calc(0.55rem + 0.1vw) !important;
158
- line-height: calc(1rem + 0.1vw);
159
- }
160
-
161
119
  .assessment-text-regular-15 {
162
120
  font-weight: 400;
163
121
  font-family: var(--assessment-font-family);
@@ -179,20 +137,6 @@
179
137
  line-height: calc(1.25rem + 0.1vw);
180
138
  }
181
139
 
182
- .assessment-text-bold-15 {
183
- font-weight: 700;
184
- font-family: var(--assessment-font-family) !important;
185
- font-size: calc(0.85rem + 0.1vw);
186
- line-height: calc(1.25rem + 0.1vw);
187
- }
188
-
189
- .assessment-text-regular-16 {
190
- font-weight: 400;
191
- font-family: var(--assessment-font-family) !important;
192
- font-size: calc(0.77rem + 0.25vw);
193
- line-height: calc(1.25rem + 0.2vw);
194
- }
195
-
196
140
  .assessment-text-semibold-16 {
197
141
  font-weight: 600;
198
142
  font-family: var(--assessment-font-family) !important;
@@ -200,13 +144,6 @@
200
144
  line-height: calc(1.25rem + 0.2vw);
201
145
  }
202
146
 
203
- .assessment-text-bold-16 {
204
- font-weight: 700;
205
- font-family: var(--assessment-font-family) !important;
206
- font-size: calc(0.77rem + 0.25vw);
207
- line-height: calc(1.25rem + 0.2vw);
208
- }
209
-
210
147
  .assessment-text-medium-16 {
211
148
  font-weight: 500;
212
149
  font-family: var(--assessment-font-family) !important;
@@ -214,34 +151,6 @@
214
151
  line-height: calc(1.25rem + 0.2vw);
215
152
  }
216
153
 
217
- .assessment-text-regular-20 {
218
- font-weight: 400;
219
- font-family: var(--assessment-font-family);
220
- font-size: calc(1rem + 0.3vw);
221
- line-height: calc(1.2rem + 0.3vw);
222
- }
223
-
224
- .assessment-text-bold-20 {
225
- font-weight: 700;
226
- font-family: var(--assessment-font-family) !important;
227
- font-size: calc(1rem + 0.3vw);
228
- line-height: calc(1.2rem + 0.3vw);
229
- }
230
-
231
- .assessment-text-semibold-20 {
232
- font-weight: 600;
233
- font-family: var(--assessment-font-family) !important;
234
- font-size: calc(1rem + 0.3vw);
235
- line-height: calc(1.2rem + 0.3vw);
236
- }
237
-
238
- .assessment-text-medium-20 {
239
- font-weight: 500;
240
- font-family: var(--assessment-font-family) !important;
241
- font-size: calc(1rem + 0.3vw);
242
- line-height: calc(1.2rem + 0.3vw);
243
- }
244
-
245
154
  /* // 18px ? 14px ? 13px ? 12px */
246
155
  .assessment-text-medium-18 {
247
156
  font-weight: 500;
@@ -250,20 +159,6 @@
250
159
  line-height: calc(1.5rem + 0.1vw) !important;
251
160
  }
252
161
 
253
- .assessment-text-regular-18 {
254
- font-weight: 400;
255
- font-family: var(--assessment-font-family) !important;
256
- font-size: calc(1rem + 0.125vw) !important;
257
- line-height: calc(1.5rem + 0.3vw) !important;
258
- }
259
-
260
- .assessment-text-bold-18 {
261
- font-weight: 700;
262
- font-family: var(--assessment-font-family) !important;
263
- font-size: calc(1rem + 0.125vw);
264
- line-height: calc(1.5rem + 0.1vw);
265
- }
266
-
267
162
  .assessment-text-semibold-18 {
268
163
  font-weight: 600;
269
164
  font-family: var(--assessment-font-family) !important;
@@ -271,240 +166,23 @@
271
166
  line-height: calc(1.5rem + 0.1vw) !important;
272
167
  }
273
168
 
274
- .assessment-text-bold-34 {
275
- overflow-wrap: break-word;
276
- font-weight: 700;
277
- font-family: var(--assessment-font-family) !important;
278
- font-size: calc(2rem + 0.15vw);
279
- line-height: calc(2.5rem + 0.15vw);
280
- }
281
-
282
- .assessment-text-medium-34 {
283
- font-weight: 500;
284
- font-family: var(--assessment-font-family);
285
- font-size: calc(2rem + 0.15vw);
286
- line-height: calc(2.5rem + 0.15vw);
287
- }
288
-
289
- .assessment-text-bold-32 {
290
- font-weight: 700;
291
- font-family: var(--assessment-font-family) !important;
292
- font-size: calc(1.3rem + 0.75vw);
293
- line-height: calc(1.625rem + 0.5vw);
294
- }
295
-
296
- .assessment-text-bold-22 {
297
- font-weight: 700;
298
- font-family: var(--assessment-font-family) !important;
299
- font-size: calc(1rem + 0.4vw);
300
- line-height: calc(1.5rem + 0.4vw);
301
- }
302
-
303
- .assessment-text-regular-22 {
304
- font-weight: 400;
305
- font-family: var(--assessment-font-family);
306
- font-size: calc(1rem + 0.4vw);
307
- line-height: calc(1.5rem + 0.4vw);
308
- }
309
-
310
- .assessment-text-semibold-22 {
311
- font-weight: 600;
312
- font-family: var(--assessment-font-family) !important;
313
- font-size: calc(1rem + 0.4vw);
314
- line-height: calc(1.5rem + 0.4vw);
315
- }
316
-
317
- .assessment-text-medium-22 {
318
- font-weight: 500;
319
- font-family: var(--assessment-font-family);
320
- font-size: calc(1rem + 0.4vw);
321
- line-height: calc(1.5rem + 0.4vw);
322
- }
323
-
324
- .assessment-text-bold-24 {
325
- font-weight: 700;
326
- font-family: var(--assessment-font-family) !important;
327
- font-size: calc(0.8rem + 0.75vw);
328
- line-height: calc(0.9rem + 0.75vw);
329
- }
330
-
331
- .assessment-text-regular-24 {
332
- font-weight: 400;
333
- font-family: var(--assessment-font-family);
334
- font-size: calc(0.8rem + 0.75vw);
335
- line-height: calc(0.9rem + 0.75vw);
336
- }
337
-
338
- .assessment-text-semibold-24 {
339
- font-weight: 600;
340
- font-family: var(--assessment-font-family) !important;
341
- font-size: calc(0.8rem + 0.75vw);
342
- line-height: calc(0.9rem + 0.75vw);
343
- }
344
-
345
- .assessment-text-medium-24 {
346
- font-weight: 500;
347
- font-family: var(--assessment-font-family);
348
- font-size: calc(0.8rem + 0.75vw);
349
- line-height: calc(1.2rem + 0.75vw);
350
- }
351
-
352
- .assessment-text-regular-26 {
353
- font-weight: 400;
354
- font-family: var(--assessment-font-family);
355
- font-size: calc(1.5rem + 0.1vw);
356
- line-height: calc(1.8rem + 0.1vw);
357
- }
358
-
359
- .assessment-text-medium-26 {
360
- font-weight: 500;
361
- font-family: var(--assessment-font-family);
362
- font-size: calc(1.5rem + 0.1vw);
363
- line-height: calc(1.8rem + 0.1vw);
364
- }
365
-
366
- .assessment-text-bold-26 {
367
- font-weight: 700;
368
- font-family: var(--assessment-font-family) !important;
369
- font-size: calc(1.5rem + 0.1vw);
370
- line-height: calc(1.8rem + 0.1vw);
371
- }
372
-
373
- .assessment-text-semibold-26 {
374
- font-weight: 600;
375
- font-family: var(--assessment-font-family) !important;
376
- font-size: calc(1.55rem + 0.1vw);
377
- line-height: calc(1.8rem + 0.1vw);
378
- }
379
-
380
- .assessment-text-regular-28 {
381
- font-weight: 400;
382
- font-family: var(--assessment-font-family);
383
- font-size: calc(1.55rem + 0.2vw);
384
- line-height: calc(2rem + 0.2vw);
385
- }
386
-
387
- .assessment-text-medium-28 {
388
- font-weight: 500;
389
- font-family: var(--assessment-font-family);
390
- font-size: calc(1.55rem + 0.2vw);
391
- line-height: calc(2rem + 0.2vw);
392
- }
393
-
394
- .assessment-text-semibold-28 {
395
- font-weight: 600;
396
- font-family: var(--assessment-font-family) !important;
397
- font-size: calc(1.55rem + 0.2vw);
398
- line-height: calc(2rem + 0.2vw);
399
- letter-spacing: 1;
400
- }
401
-
402
- .assessment-text-bold-28 {
403
- font-weight: 700;
404
- font-family: var(--assessment-font-family) !important;
405
- font-size: calc(1.55rem + 0.2vw);
406
- line-height: calc(2rem + 0.2vw);
407
- }
408
-
409
- .assessment-text-regular-30 {
410
- font-weight: 400;
411
- font-family: var(--assessment-font-family);
412
- font-size: calc(1.5rem + 0.4vw);
413
- }
414
-
415
- .assessment-text-medium-30 {
416
- font-weight: 500;
417
- font-family: var(--assessment-font-family);
418
- font-size: calc(1.5rem + 0.4vw);
419
- line-height: calc(1.5rem + 0.4vw);
420
- }
421
-
422
- .assessment-text-bold-30 {
423
- font-weight: 700;
424
- font-family: var(--assessment-font-family) !important;
425
- font-size: calc(1.5rem + 0.4vw);
426
- line-height: calc(2rem + 0.4vw);
427
- }
428
-
429
- .assessment-text-semibold-30 {
430
- font-weight: 600;
431
- font-family: var(--assessment-font-family) !important;
432
- font-size: calc(1.5rem + 0.4vw);
433
- line-height: calc(1.5rem + 0.4vw);
434
- letter-spacing: 0.5;
435
- }
436
-
437
- .assessment-text-bold-36 {
438
- font-weight: 700;
439
- font-family: var(--assessment-font-family) !important;
440
- font-size: calc(2rem + 0.25vw);
441
- line-height: calc(2.5rem + 0.3vw);
442
- }
443
-
444
- .assessment-text-semibold-36 {
445
- font-weight: 600;
446
- font-family: var(--assessment-font-family);
447
- font-size: calc(2rem + 0.25vw);
448
- line-height: calc(2.5rem + 0.3vw);
449
- }
450
-
451
169
  @media (min-height: 100vw) and (orientation: portrait) {
452
170
 
453
171
  /* The height is greater than the width */
454
- .assessment-text-bold-34 {
455
- font-size: calc(1.8rem + 0.15vh);
456
- line-height: calc(2.2rem + 0.15vh);
457
- }
458
-
459
- .assessment-text-bold-32 {
460
- font-size: calc(1.3rem + 1vh);
461
- line-height: calc(1.5rem + 1vh);
462
- }
463
-
464
- .assessment-text-semibold-30 {
465
- font-size: calc(1.5rem + 0.4vh);
466
- line-height: calc(1.8rem + 0.4vh);
467
- }
468
-
469
- .assessment-text-medium-24 {
470
- line-height: 2.188rem;
471
- }
472
-
473
- .assessment-text-medium-24,
474
- .assessment-text-regular-24,
475
- .assessment-text-semibold-24,
476
- .assessment-text-bold-24,
477
- .assessment-text-light-24 {
478
- font-size: calc(1.3rem + 0.5vh);
479
- line-height: calc(1.8rem + 0.5vh);
480
- }
481
-
482
172
  .assessment-text-medium-18,
483
- .assessment-text-regular-18,
484
- .assessment-text-bold-18,
485
- .assessment-text-semibold-18,
486
- .assessment-text-light-18 {
173
+ .assessment-text-semibold-18 {
487
174
  font-size: calc(1rem + 0.1vh) !important;
488
175
  line-height: calc(1.6rem + 0.1vh) !important;
489
176
  }
490
177
 
491
- .assessment-text-light-16,
492
- .assessment-text-bold-16 {
493
- font-size: calc(0.9rem + 0.3vh) !important;
494
- line-height: calc(1.2rem + 0.3vh) !important;
495
- }
496
-
497
178
  .assessment-text-medium-16,
498
- .assessment-text-semibold-16,
499
- .assessment-text-regular-16 {
179
+ .assessment-text-semibold-16 {
500
180
  font-size: calc(0.9rem + 0.2vh) !important;
501
181
  line-height: calc(1.4rem + 0.2vh) !important;
502
182
  }
503
183
 
504
184
  .assessment-text-regular-15,
505
- .assessment-text-semibold-15,
506
- .assessment-text-bold-15,
507
- .assessment-text-light-15 {
185
+ .assessment-text-semibold-15 {
508
186
  font-size: calc(0.8rem + 0.2vh);
509
187
  line-height: calc(1.27rem + 0.2vh);
510
188
  }
@@ -516,41 +194,34 @@
516
194
 
517
195
  .assessment-text-medium-12,
518
196
  .assessment-text-regular-12,
519
- .assessment-text-semibold-12,
520
- .assessment-text-bold-12,
521
- .assessment-text-medium-upper-12,
522
- .assessment-text-light-12 {
197
+ .assessment-text-semibold-12 {
523
198
  font-size: calc(0.5rem + 0.4vh);
524
199
  line-height: calc(0.8rem + 0.4vh);
525
200
  }
526
201
 
527
202
  .assessment-text-medium-14,
528
- .assessment-text-regular-14,
529
- .assessment-text-light-14,
530
- .assessment-text-medium-upper-14,
531
- .assessment-text-semibold-14,
532
- .assessment-text-bold-14 {
203
+ .assessment-text-semibold-14 {
533
204
  font-size: calc(0.8rem + 0.1vh) !important;
534
205
  line-height: calc(1.2rem + 0.2vh) !important;
535
206
  }
536
207
 
537
208
  .assessment-text-regular-13,
538
209
  .assessment-text-medium-13,
539
- .assessment-text-semibold-13,
540
- .assessment-text-bold-13,
541
- .assessment-text-light-13 {
210
+ .assessment-text-semibold-13 {
542
211
  font-size: calc(0.7rem + 0.2vh) !important;
543
212
  line-height: calc(1rem + 0.3vh) !important;
544
213
  }
545
214
 
546
215
  .assessment-text-regular-11,
547
- .assessment-text-medium-11,
548
- .assessment-text-semibold-11,
549
- .assessment-text-bold-11,
550
- .assessment-text-light-11 {
216
+ .assessment-text-medium-11 {
551
217
  font-size: calc(0.5rem + 0.2vh) !important;
552
218
  line-height: calc(0.8rem + 0.2vh) !important;
553
219
  }
220
+
221
+ .assessment-text-medium-10 {
222
+ font-size: calc(0.45rem + 0.2vh) !important;
223
+ line-height: calc(0.72rem + 0.2vh) !important;
224
+ }
554
225
  }
555
226
 
556
227
  .assessment-btn-primary {
@@ -91,4 +91,17 @@
91
91
  opacity: 0.8;
92
92
  }
93
93
  }
94
+ }
95
+
96
+ /* All form-check inputs (checkboxes / switches) use the theme primary color, without altering size */
97
+ .form-check-input {
98
+ &:checked {
99
+ background-color: var(--assessment-primary-one);
100
+ border-color: var(--assessment-primary-one);
101
+ }
102
+
103
+ &:focus {
104
+ border-color: var(--assessment-primary-one);
105
+ box-shadow: none;
106
+ }
94
107
  }