Skip to content

Commit

Permalink
Merge pull request #17 from vinsky001/patch-quiz-highlight
Browse files Browse the repository at this point in the history
Add highlight to attempted quiz answers
  • Loading branch information
vinsky001 authored Jun 29, 2023
2 parents ad1a2e7 + 904b403 commit 0fcc371
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion css/alx-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
--col-acc-400: #df3e3e;
--col-acc-500: #f36262;

/* Code custom colors*/
/* Custom colors*/
--col-code-color: #e55039;
--col-quiz-pass: #38b000;

/* Colors for the checker */
--col-code-pass: #284724;
Expand Down Expand Up @@ -871,4 +872,14 @@ body.dark .panel .list-group-item.in_second_deadline {
background-color: var(--col-bg-600) !important;
}
/* Dashboard styles ends here */

/* Quiz styles starts here */
body.dark .alert-info + .quiz_questions_show_container input:checked ~ label *:is(code) {
background-color: var(--col-bg-clear) !important;
}

body.dark .alert-info + .quiz_questions_show_container input:checked ~ label * {
color: var(--col-quiz-pass) !important;
}
/* Quiz styles ends here */
/* Main styles ends here */
2 changes: 1 addition & 1 deletion popup/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h1 class="card-title text-center"><i class="fa fas fa-sun" id="theme-icon"></i>

<div class="card-foot">
<p class="text-center copy-text">
ALX &copy; 2023 <span class="small">v1.0.3</span>
ALX &copy; 2023 <span class="small">v1.0.4</span>
</p>

<p class="text-center">
Expand Down

0 comments on commit 0fcc371

Please sign in to comment.