Skip to content

Commit

Permalink
styling on import question
Browse files Browse the repository at this point in the history
  • Loading branch information
Peterrahr committed Dec 5, 2024
1 parent 158e3a7 commit f22091f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
22 changes: 11 additions & 11 deletions server/moodle/mod/livequiz/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@
padding: 20px;
border-radius: 15px;
margin-top: 20px;
box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
}
#saved_questions_list {
list-style-type: decimal;
Expand Down Expand Up @@ -366,15 +365,6 @@
cursor: pointer;
transition: background-color 0.3s;
}
/* Styles for active button */
.nav_tabs .tab_button.active {
background-color: var(--button-active-bg, #9da6b0);
font-weight: bold;
}
/* Optional: Hover effect */
.nav_tabs .tab_button:hover {
background-color: var(--button-hover-bg, #9da6b0);
}

/* Form Styling */
form {
Expand Down Expand Up @@ -548,6 +538,7 @@

.correct_not_chosen {
background-color: rgba(255, 200, 12);
}
/* Responsive Adjustments */
@media (max-width: 768px) {
.main-container-runner {
Expand All @@ -560,6 +551,7 @@
}
}


/* Back-to-Menu Button */
#menuPageBtn {
display: inline-block;
Expand All @@ -582,14 +574,22 @@
}

/* Import Question Styling */
#import_question_button{
#import_question_button {
background-color: rgb(32, 138, 176);
color: white;
padding: 10px 20px;
font-size: large;
border-radius: 5px;
cursor: pointer;
}
.import_question_button {
background-color: rgb(32, 138, 176);
color: white;
padding: 10px 20px;
font-size: large;
border-radius: 5px;
cursor: pointer;
}

.quiz_label{
font-size: 20px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<h1>{{quizdata.title}}</h1>

<div id="form_container" class="quiz_form_container">
<button type='button' id='add_question_button'>Add Question </button>
<button type='button' id='import_question_button'>Import Question </button>
<button id='add_question_button'>Add Question </button>
<button id='import_question_button'>Import Question </button>
</div>

<div id="saved_questions_container" style="border-radius: 10px; padding: 15px; background-color: #f9f9f9;">
Expand Down
2 changes: 1 addition & 1 deletion server/moodle/mod/livequiz/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@


$plugin = new stdClass(); // Initialize $plugin as an object.
$plugin->version = 2024072543;
$plugin->version = 2024072550;
$plugin->requires = 2024041600;
$plugin->component = 'mod_livequiz';

0 comments on commit f22091f

Please sign in to comment.