Skip to content

Commit

Permalink
update label
Browse files Browse the repository at this point in the history
Updated label for import, so the teacher can press on the quiztitle

Dissallow the user to mark labels, so the blue thingt doesnt appear
  • Loading branch information
Peterrahr committed Dec 5, 2024
1 parent f22091f commit 9f4b7d4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 14 additions & 2 deletions server/moodle/mod/livequiz/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
margin: auto;
width: 80%;
width: 60%;
z-index: 10;
color: #333;
background: #f5f5f5;
Expand All @@ -47,7 +46,15 @@
background-color: #f8f9fa; /* Light gray for the background */
border: 1px solid #ccc; /* Subtle border */
border-radius: 8px; /* Rounded corners */
-webkit-user-select: none; /* Safari */
-ms-user-select: none; /* IE 10 and IE 11 */
user-select: none; /* Standard syntax */
}
.question_type_checkbox:hover {
background-color: #e9ecef; /* Light gray on hover */
}


#question_type_checkbox_id {
width: 20px;
height: 20px;
Expand Down Expand Up @@ -628,6 +635,11 @@
-ms-user-select: none; /* IE 10 and IE 11 */
user-select: none; /* Standard syntax */
}
.quiz_label{
-webkit-user-select: none; /* Safari */
-ms-user-select: none; /* IE 10 and IE 11 */
user-select: none; /* Standard syntax */
}

.question_checkbox{
z-index: 20;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
class="quiz_{{quizid}}"
name="{{quiztitle}}"
/>
<label for="quiz_{{quizid}}" class="quiz_label">{{quiztitle}}</label>
<label for="{{quizid}}" class="quiz_label">{{quiztitle}}</label>
<div id="questionsdiv">
{{#questions}}
<div class="question_entry question_entry_{{quizid}}">
Expand Down

0 comments on commit 9f4b7d4

Please sign in to comment.