munchboka-edutools 0.2.3__py3-none-any.whl
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.
Potentially problematic release.
This version of munchboka-edutools might be problematic. Click here for more details.
- munchboka_edutools/__init__.py +184 -0
- munchboka_edutools/_plotmath_shim.py +126 -0
- munchboka_edutools/_version.py +2 -0
- munchboka_edutools/directives/__init__.py +1 -0
- munchboka_edutools/directives/admonitions.py +389 -0
- munchboka_edutools/directives/cas_popup.py +428 -0
- munchboka_edutools/directives/clear.py +103 -0
- munchboka_edutools/directives/dialogue.py +137 -0
- munchboka_edutools/directives/escape_room.py +296 -0
- munchboka_edutools/directives/escape_room2.py +318 -0
- munchboka_edutools/directives/factor_tree.py +552 -0
- munchboka_edutools/directives/flashcards.py +233 -0
- munchboka_edutools/directives/ggb.py +209 -0
- munchboka_edutools/directives/ggb_icon.py +105 -0
- munchboka_edutools/directives/ggb_popup.py +308 -0
- munchboka_edutools/directives/horner.py +326 -0
- munchboka_edutools/directives/interactive_code.py +75 -0
- munchboka_edutools/directives/jeopardy.py +252 -0
- munchboka_edutools/directives/jeopardy2.py +636 -0
- munchboka_edutools/directives/multi_plot.py +2524 -0
- munchboka_edutools/directives/multi_plot2.py +252 -0
- munchboka_edutools/directives/pair_puzzle.py +191 -0
- munchboka_edutools/directives/parsons.py +109 -0
- munchboka_edutools/directives/plot.py +3758 -0
- munchboka_edutools/directives/poly_icon.py +111 -0
- munchboka_edutools/directives/polydiv.py +346 -0
- munchboka_edutools/directives/popup.py +245 -0
- munchboka_edutools/directives/quiz.py +291 -0
- munchboka_edutools/directives/quiz2.py +453 -0
- munchboka_edutools/directives/signchart.py +519 -0
- munchboka_edutools/directives/signchart2.py +1545 -0
- munchboka_edutools/directives/timed_quiz.py +436 -0
- munchboka_edutools/directives/turtle.py +157 -0
- munchboka_edutools/static/css/admonitions.css +2012 -0
- munchboka_edutools/static/css/cas_popup.css +242 -0
- munchboka_edutools/static/css/code_mirror_themes/github_dark_cm.css +112 -0
- munchboka_edutools/static/css/code_mirror_themes/github_dark_default_cm.css +40 -0
- munchboka_edutools/static/css/code_mirror_themes/github_dark_high_contrast_cm.css +141 -0
- munchboka_edutools/static/css/code_mirror_themes/github_light_cm.css +120 -0
- munchboka_edutools/static/css/code_mirror_themes/github_light_default_cm.css +108 -0
- munchboka_edutools/static/css/code_mirror_themes/one_dark_cm.css +121 -0
- munchboka_edutools/static/css/dialogue.css +92 -0
- munchboka_edutools/static/css/escapeRoom/escape-room.css +223 -0
- munchboka_edutools/static/css/figures.css +321 -0
- munchboka_edutools/static/css/flashcards.css +219 -0
- munchboka_edutools/static/css/general_style.css +74 -0
- munchboka_edutools/static/css/github-dark-high-contrast.css +141 -0
- munchboka_edutools/static/css/github-dark.css +147 -0
- munchboka_edutools/static/css/github-light.css +155 -0
- munchboka_edutools/static/css/interactive_code/style.css +575 -0
- munchboka_edutools/static/css/interactive_code.css +582 -0
- munchboka_edutools/static/css/jeopardy.css +553 -0
- munchboka_edutools/static/css/pairPuzzle/style.css +177 -0
- munchboka_edutools/static/css/parsons/parsonsPuzzle.css +331 -0
- munchboka_edutools/static/css/popup.css +115 -0
- munchboka_edutools/static/css/quiz.css +377 -0
- munchboka_edutools/static/css/timedQuiz.css +375 -0
- munchboka_edutools/static/icons/ggb/mode_evaluate.svg +1 -0
- munchboka_edutools/static/icons/ggb/mode_extremum.svg +1 -0
- munchboka_edutools/static/icons/ggb/mode_intersect.svg +1 -0
- munchboka_edutools/static/icons/ggb/mode_nsolve.svg +1 -0
- munchboka_edutools/static/icons/ggb/mode_numeric.svg +1 -0
- munchboka_edutools/static/icons/ggb/mode_point.svg +1 -0
- munchboka_edutools/static/icons/ggb/mode_solve.svg +1 -0
- munchboka_edutools/static/icons/misc/windows-logo.svg +1 -0
- munchboka_edutools/static/icons/outline/dark_mode/academic.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/backward.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/book.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/chat_bubble.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/check.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/cmd_line.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/file.svg +1 -0
- munchboka_edutools/static/icons/outline/dark_mode/fire.svg +4 -0
- munchboka_edutools/static/icons/outline/dark_mode/key.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/magnifying.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/pencil_square.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/play.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/question.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/square_check.svg +1 -0
- munchboka_edutools/static/icons/outline/dark_mode/stop.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/summary.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/undo.svg +3 -0
- munchboka_edutools/static/icons/outline/dark_mode/unlock.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/academic.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/backward.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/book.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/chat_bubble.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/check.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/cmd_line.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/file.svg +1 -0
- munchboka_edutools/static/icons/outline/light_mode/fire.svg +4 -0
- munchboka_edutools/static/icons/outline/light_mode/key.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/magnifying.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/pencil_square.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/play.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/question.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/square_check.svg +1 -0
- munchboka_edutools/static/icons/outline/light_mode/stop.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/summary.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/undo.svg +3 -0
- munchboka_edutools/static/icons/outline/light_mode/unlock.svg +3 -0
- munchboka_edutools/static/icons/polyicons/cubicdown.svg +3 -0
- munchboka_edutools/static/icons/polyicons/cubicup.svg +3 -0
- munchboka_edutools/static/icons/polyicons/frown.svg +3 -0
- munchboka_edutools/static/icons/polyicons/smile.svg +3 -0
- munchboka_edutools/static/icons/solid/dark_mode/academic.svg +5 -0
- munchboka_edutools/static/icons/solid/dark_mode/backward.svg +3 -0
- munchboka_edutools/static/icons/solid/dark_mode/book.svg +3 -0
- munchboka_edutools/static/icons/solid/dark_mode/brain.svg +1 -0
- munchboka_edutools/static/icons/solid/dark_mode/file.svg +1 -0
- munchboka_edutools/static/icons/solid/dark_mode/fire.svg +3 -0
- munchboka_edutools/static/icons/solid/dark_mode/key.svg +3 -0
- munchboka_edutools/static/icons/solid/dark_mode/pencil_square.svg +4 -0
- munchboka_edutools/static/icons/solid/dark_mode/play.svg +3 -0
- munchboka_edutools/static/icons/solid/dark_mode/python.svg +1 -0
- munchboka_edutools/static/icons/solid/dark_mode/scroll.svg +1 -0
- munchboka_edutools/static/icons/solid/dark_mode/stop.svg +3 -0
- munchboka_edutools/static/icons/solid/light_mode/academic.svg +5 -0
- munchboka_edutools/static/icons/solid/light_mode/backward.svg +3 -0
- munchboka_edutools/static/icons/solid/light_mode/book.svg +3 -0
- munchboka_edutools/static/icons/solid/light_mode/brain.svg +1 -0
- munchboka_edutools/static/icons/solid/light_mode/file.svg +1 -0
- munchboka_edutools/static/icons/solid/light_mode/fire.svg +3 -0
- munchboka_edutools/static/icons/solid/light_mode/key.svg +3 -0
- munchboka_edutools/static/icons/solid/light_mode/pencil_square.svg +4 -0
- munchboka_edutools/static/icons/solid/light_mode/play.svg +3 -0
- munchboka_edutools/static/icons/solid/light_mode/python.svg +1 -0
- munchboka_edutools/static/icons/solid/light_mode/scroll.svg +1 -0
- munchboka_edutools/static/icons/solid/light_mode/stop.svg +3 -0
- munchboka_edutools/static/icons/stickers/edit.svg +1 -0
- munchboka_edutools/static/icons/stickers/pencil_square.svg +3 -0
- munchboka_edutools/static/js/casThemeManager.js +99 -0
- munchboka_edutools/static/js/escapeRoom/escape-room.js +219 -0
- munchboka_edutools/static/js/flashcards.js +199 -0
- munchboka_edutools/static/js/geogebra-setup.js +6 -0
- munchboka_edutools/static/js/highlight-init.js +6 -0
- munchboka_edutools/static/js/interactiveCode/codeEditor.js +648 -0
- munchboka_edutools/static/js/interactiveCode/interactiveCodeSetup.js +441 -0
- munchboka_edutools/static/js/interactiveCode/pythonRunner.js +336 -0
- munchboka_edutools/static/js/interactiveCode/turtleCode.js +203 -0
- munchboka_edutools/static/js/interactiveCode/workerManager.js +353 -0
- munchboka_edutools/static/js/jeopardy.js +560 -0
- munchboka_edutools/static/js/pairPuzzle/draggableItem.js +64 -0
- munchboka_edutools/static/js/pairPuzzle/dropZone.js +119 -0
- munchboka_edutools/static/js/pairPuzzle/game.js +160 -0
- munchboka_edutools/static/js/parsons/parsonsPuzzle.js +641 -0
- munchboka_edutools/static/js/popup.js +85 -0
- munchboka_edutools/static/js/quiz.js +566 -0
- munchboka_edutools/static/js/skulpt/skulpt.js +35721 -0
- munchboka_edutools/static/js/timedQuiz/multipleChoiceQuestion.js +184 -0
- munchboka_edutools/static/js/timedQuiz/timedMultipleChoiceQuiz.js +244 -0
- munchboka_edutools/static/js/timedQuiz/utils.js +6 -0
- munchboka_edutools/static/js/utils.js +3 -0
- munchboka_edutools-0.2.3.dist-info/METADATA +109 -0
- munchboka_edutools-0.2.3.dist-info/RECORD +157 -0
- munchboka_edutools-0.2.3.dist-info/WHEEL +4 -0
- munchboka_edutools-0.2.3.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
/* Multiple Choice Quiz Styles */
|
|
2
|
+
|
|
3
|
+
/* Default (Light Mode) Variables */
|
|
4
|
+
:root {
|
|
5
|
+
--background-color: #f0f2f5;
|
|
6
|
+
--text-color: #1a1a1a;
|
|
7
|
+
--card-background-color: #ffffff;
|
|
8
|
+
--card-border-color: #ced4da;
|
|
9
|
+
--card-shadow-color: rgba(0, 0, 0, 0.1);
|
|
10
|
+
--answer-background-color: #f8f9fa;
|
|
11
|
+
--answer-border-color: #ced4da;
|
|
12
|
+
--answer-hover-background-color: #e2e6ea;
|
|
13
|
+
--selected-background-color: #d1e7dd;
|
|
14
|
+
--selected-border-color: #0f5132;
|
|
15
|
+
--selected-text-color: #0f5132;
|
|
16
|
+
--correct-border-color: #198754;
|
|
17
|
+
--incorrect-border-color: #dc3545;
|
|
18
|
+
--button-background-color: #0d6efd;
|
|
19
|
+
--button-text-color: #ffffff;
|
|
20
|
+
--button-hover-background-color: #0b5ed7;
|
|
21
|
+
--toast-background-color: rgba(33, 37, 41, 0.9);
|
|
22
|
+
--toast-text-color: #ffffff;
|
|
23
|
+
--toast-success-background-color: rgba(25, 135, 84, 0.9);
|
|
24
|
+
--toast-success-text-color: #ffffff;
|
|
25
|
+
--toast-error-background-color: rgba(220, 53, 69, 0.9);
|
|
26
|
+
--toast-error-text-color: #ffffff;
|
|
27
|
+
|
|
28
|
+
/* Timer Variables */
|
|
29
|
+
--timer-background-color: #e9ecef;
|
|
30
|
+
--timer-text-color: #212529;
|
|
31
|
+
--progress-bar-background-color: #28a745; /* Green */
|
|
32
|
+
--progress-bar-warning-color: #ffc107; /* Yellow */
|
|
33
|
+
--progress-bar-danger-color: #dc3545; /* Red */
|
|
34
|
+
--progress-bar-transition: width 1s linear;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* Dark Mode Variables */
|
|
38
|
+
[data-mode="dark"] {
|
|
39
|
+
--text-color: #e9ecef !important;
|
|
40
|
+
--card-background-color: #111522a4;
|
|
41
|
+
--card-border-color: #343640;
|
|
42
|
+
--card-shadow-color: rgba(0, 0, 0, 0.5);
|
|
43
|
+
--answer-background-color: #11152201;
|
|
44
|
+
--answer-border-color: #343a40;
|
|
45
|
+
--answer-hover-background-color: #80a2ff1b;
|
|
46
|
+
--selected-background-color: #0096879a;
|
|
47
|
+
--selected-border-color: #0f5132;
|
|
48
|
+
--selected-text-color: #ffffff;
|
|
49
|
+
--correct-border-color: #198754;
|
|
50
|
+
--incorrect-border-color: #dc3545;
|
|
51
|
+
--button-background-color: #0d6efd;
|
|
52
|
+
--button-text-color: #ffffff;
|
|
53
|
+
--button-hover-background-color: #0b5ed7;
|
|
54
|
+
--toast-background-color: rgba(248, 249, 250, 0.9);
|
|
55
|
+
--toast-text-color: #212529;
|
|
56
|
+
--toast-success-background-color: rgba(25, 135, 84, 0.9);
|
|
57
|
+
--toast-success-text-color: #ffffff;
|
|
58
|
+
--toast-error-background-color: rgba(220, 53, 69, 0.9);
|
|
59
|
+
--toast-error-text-color: #ffffff;
|
|
60
|
+
|
|
61
|
+
/* Timer variables */
|
|
62
|
+
--timer-background-color: #343a40;
|
|
63
|
+
--timer-text-color: #f8f9fa;
|
|
64
|
+
--progress-bar-background-color: #28a745; /* Green */
|
|
65
|
+
--progress-bar-warning-color: #ffc107; /* Yellow */
|
|
66
|
+
--progress-bar-danger-color: #dc3545; /* Red */
|
|
67
|
+
--progress-bar-transition: width 1s linear;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/* Auto Mode Variables */
|
|
71
|
+
[data-mode="auto"] { /* inherits light variables by default */ }
|
|
72
|
+
|
|
73
|
+
@media (prefers-color-scheme: dark) {
|
|
74
|
+
[data-mode="auto"] {
|
|
75
|
+
--text-color: #e9ecef !important;
|
|
76
|
+
--card-background-color: #111522a4;
|
|
77
|
+
--card-border-color: #343a40;
|
|
78
|
+
--card-shadow-color: rgba(0, 0, 0, 0.5);
|
|
79
|
+
--answer-background-color: #11152201;
|
|
80
|
+
--answer-border-color: #343a40;
|
|
81
|
+
--answer-hover-background-color: #80a2ff1b;
|
|
82
|
+
--selected-background-color: #0096879a;
|
|
83
|
+
--selected-border-color: #0f5132;
|
|
84
|
+
--selected-text-color: #ffffff;
|
|
85
|
+
--correct-border-color: #198754;
|
|
86
|
+
--incorrect-border-color: #dc3545;
|
|
87
|
+
--button-background-color: #0d6efd;
|
|
88
|
+
--button-text-color: #ffffff;
|
|
89
|
+
--button-hover-background-color: #0b5ed7;
|
|
90
|
+
--toast-background-color: rgba(248, 249, 250, 0.9);
|
|
91
|
+
--toast-text-color: #212529;
|
|
92
|
+
--toast-success-background-color: rgba(25, 135, 84, 0.9);
|
|
93
|
+
--toast-success-text-color: #ffffff;
|
|
94
|
+
--toast-error-background-color: rgba(220, 53, 69, 0.9);
|
|
95
|
+
--toast-error-text-color: #ffffff;
|
|
96
|
+
--timer-background-color: #343a40;
|
|
97
|
+
--timer-text-color: #f8f9fa;
|
|
98
|
+
--progress-bar-background-color: #28a745;
|
|
99
|
+
--progress-bar-warning-color: #ffc107;
|
|
100
|
+
--progress-bar-danger-color: #dc3545;
|
|
101
|
+
--progress-bar-transition: width 1s linear;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/* Multiple Choice Quiz Container */
|
|
106
|
+
.mcq-container {
|
|
107
|
+
margin: 20px 0;
|
|
108
|
+
position: relative;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/* Question Card Styles */
|
|
112
|
+
.question-card {
|
|
113
|
+
background-color: var(--card-background-color);
|
|
114
|
+
padding: 25px;
|
|
115
|
+
border-radius: 12px;
|
|
116
|
+
margin-bottom: 20px;
|
|
117
|
+
border: 1px solid var(--card-border-color);
|
|
118
|
+
line-height: 1.6;
|
|
119
|
+
box-shadow: 0 4px 10px var(--card-shadow-color);
|
|
120
|
+
transition: transform 0.3s, box-shadow 0.3s;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.question-card:hover {
|
|
124
|
+
transform: translateY(-5px);
|
|
125
|
+
box-shadow: 0 6px 15px var(--card-shadow-color);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/* Answers Grid */
|
|
129
|
+
.answers-grid {
|
|
130
|
+
display: flex;
|
|
131
|
+
flex-wrap: wrap;
|
|
132
|
+
gap: 15px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/* Answer Card Styles */
|
|
136
|
+
.answer-card {
|
|
137
|
+
flex: 1 1 calc(50% - 15px);
|
|
138
|
+
background-color: var(--answer-background-color);
|
|
139
|
+
padding: 15px;
|
|
140
|
+
border-radius: 8px;
|
|
141
|
+
cursor: pointer;
|
|
142
|
+
text-align: left;
|
|
143
|
+
border: 1px solid var(--answer-border-color);
|
|
144
|
+
transition: background-color 0.3s, border-color 0.3s;
|
|
145
|
+
line-height: 1.4;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.answer-card pre,
|
|
149
|
+
.answer-card code {
|
|
150
|
+
margin: 0;
|
|
151
|
+
padding: 0;
|
|
152
|
+
line-height: 1.4;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.answer-card:hover {
|
|
156
|
+
background-color: var(--answer-hover-background-color);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.answer-card.selected {
|
|
160
|
+
background-color: var(--selected-background-color);
|
|
161
|
+
border: 2px solid var(--selected-border-color);
|
|
162
|
+
color: var(--selected-text-color);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/* Correct and Incorrect Question Card Borders */
|
|
166
|
+
.question-card.correct {
|
|
167
|
+
border: 2px solid var(--correct-border-color);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.question-card.incorrect {
|
|
171
|
+
border: 2px solid var(--incorrect-border-color);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/* Buttons */
|
|
175
|
+
.quiz-main-container .button-container {
|
|
176
|
+
margin-top: 20px;
|
|
177
|
+
text-align: center; /* match original */
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/* Ensure inline layout and spacing like original */
|
|
181
|
+
.quiz-main-container .button { display: inline-block; margin: 5px; }
|
|
182
|
+
|
|
183
|
+
.button {
|
|
184
|
+
color: teal;
|
|
185
|
+
border: none;
|
|
186
|
+
padding: 8px 20px;
|
|
187
|
+
text-align: center;
|
|
188
|
+
text-decoration: none;
|
|
189
|
+
display: inline-block;
|
|
190
|
+
font-size: 16px;
|
|
191
|
+
margin: 4px 2px;
|
|
192
|
+
cursor: pointer;
|
|
193
|
+
border-radius: 8px;
|
|
194
|
+
transition: background-color 0.3s, transform 0.2s;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.button:hover {
|
|
198
|
+
background-color: var(--button-hover-background-color);
|
|
199
|
+
transform: translateY(-2px);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.button:active {
|
|
203
|
+
transform: translateY(0);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/* Run (Check) button aligns with interactive code style */
|
|
207
|
+
.button-run {
|
|
208
|
+
background-color: #28a745;
|
|
209
|
+
color: black;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.button-run:hover {
|
|
213
|
+
background-color: #218838;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.button-run:active {
|
|
217
|
+
background-color: #1e7e34;
|
|
218
|
+
box-shadow: 0 5px #666;
|
|
219
|
+
transform: translateY(4px);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/* Next button */
|
|
223
|
+
.button-next {
|
|
224
|
+
background-color: #00ffb7bd;
|
|
225
|
+
color: black !important;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.button-next:hover {
|
|
229
|
+
background-color: #02cbbe;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.button-next:active {
|
|
233
|
+
background-color: #00a095;
|
|
234
|
+
box-shadow: 0 5px #666;
|
|
235
|
+
transform: translateY(4px);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/* Previous button */
|
|
239
|
+
.button-prev {
|
|
240
|
+
background-color: #ff8800;
|
|
241
|
+
color: black !important;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.button-prev:hover {
|
|
245
|
+
background-color: #c66900;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.button-prev:active {
|
|
249
|
+
background-color: #ad5d01;
|
|
250
|
+
box-shadow: 0 5px #666;
|
|
251
|
+
transform: translateY(4px);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/* Toast Notification */
|
|
255
|
+
.toast {
|
|
256
|
+
position: absolute;
|
|
257
|
+
padding: 15px;
|
|
258
|
+
border-radius: 8px;
|
|
259
|
+
z-index: 1000;
|
|
260
|
+
display: none;
|
|
261
|
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.toast p {
|
|
265
|
+
margin: 0;
|
|
266
|
+
font-size: 16px;
|
|
267
|
+
font-weight: bold;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/* Success Toast */
|
|
271
|
+
.toast-success {
|
|
272
|
+
background-color: var(--toast-success-background-color);
|
|
273
|
+
color: var(--toast-success-text-color);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/* Error Toast */
|
|
277
|
+
.toast-error {
|
|
278
|
+
background-color: var(--toast-error-background-color) !important;
|
|
279
|
+
color: var(--toast-error-text-color);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/* Main Quiz Container */
|
|
283
|
+
.quiz-main-container {
|
|
284
|
+
position: relative;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/* Responsive Design */
|
|
288
|
+
@media (max-width: 600px) {
|
|
289
|
+
.answer-card {
|
|
290
|
+
flex: 1 1 100%;
|
|
291
|
+
}
|
|
292
|
+
.quiz-main-container .button-container { text-align: center; }
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
/* Question Counter */
|
|
296
|
+
.question-counter {
|
|
297
|
+
font-size: 18px;
|
|
298
|
+
font-weight: bold;
|
|
299
|
+
margin-bottom: 15px;
|
|
300
|
+
text-align: center;
|
|
301
|
+
color: var(--text-color);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/* Quiz Completion Message */
|
|
305
|
+
.quiz-completion-message {
|
|
306
|
+
text-align: center;
|
|
307
|
+
font-size: 24px;
|
|
308
|
+
font-weight: bold;
|
|
309
|
+
color: var(--text-color);
|
|
310
|
+
padding: 50px;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
/* Resume Prompt Styles */
|
|
314
|
+
.quiz-resume-prompt {
|
|
315
|
+
display: flex;
|
|
316
|
+
justify-content: space-between;
|
|
317
|
+
align-items: center;
|
|
318
|
+
gap: 0.75rem;
|
|
319
|
+
padding: 0.75rem 1rem;
|
|
320
|
+
border: 1px solid var(--card-border-color);
|
|
321
|
+
border-radius: 8px;
|
|
322
|
+
background: var(--card-background-color);
|
|
323
|
+
box-shadow: var(--card-shadow-color);
|
|
324
|
+
margin: 0 0 1rem 0;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.quiz-resume-text {
|
|
328
|
+
font-size: 16px;
|
|
329
|
+
font-weight: 500;
|
|
330
|
+
color: var(--text-color);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.quiz-resume-actions {
|
|
334
|
+
display: flex;
|
|
335
|
+
gap: 0.5rem;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/* Light mode specific styling for resume prompt */
|
|
339
|
+
@media (prefers-color-scheme: light) {
|
|
340
|
+
.quiz-resume-prompt {
|
|
341
|
+
background: #E8F0FE;
|
|
342
|
+
color: #000000;
|
|
343
|
+
border-color: #B3D4FF;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/* Explicit light theme overrides */
|
|
348
|
+
html.light-mode .quiz-resume-prompt,
|
|
349
|
+
body.light-mode .quiz-resume-prompt,
|
|
350
|
+
html[data-theme='light'] .quiz-resume-prompt,
|
|
351
|
+
body[data-theme='light'] .quiz-resume-prompt,
|
|
352
|
+
[data-mode='light'] .quiz-resume-prompt {
|
|
353
|
+
background: #E8F0FE !important;
|
|
354
|
+
color: #000000 !important;
|
|
355
|
+
border-color: #B3D4FF !important;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
/* Dark mode specific styling for resume prompt */
|
|
359
|
+
@media (prefers-color-scheme: dark) {
|
|
360
|
+
.quiz-resume-prompt {
|
|
361
|
+
background: var(--card-background-color);
|
|
362
|
+
color: var(--text-color);
|
|
363
|
+
border-color: var(--card-border-color);
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
/* Explicit dark theme overrides */
|
|
368
|
+
html.dark-mode .quiz-resume-prompt,
|
|
369
|
+
body.dark-mode .quiz-resume-prompt,
|
|
370
|
+
html[data-theme='dark'] .quiz-resume-prompt,
|
|
371
|
+
body[data-theme='dark'] .quiz-resume-prompt,
|
|
372
|
+
[data-mode='dark'] .quiz-resume-prompt {
|
|
373
|
+
background: var(--card-background-color) !important;
|
|
374
|
+
color: var(--text-color) !important;
|
|
375
|
+
border-color: var(--card-border-color) !important;
|
|
376
|
+
}
|
|
377
|
+
|