Skip to content

Commit

Permalink
Added CSS for the report_reason textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
rayapetkova committed Apr 20, 2024
1 parent 3272dcc commit c36d379
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions static/css/curr_task_template.css
Original file line number Diff line number Diff line change
Expand Up @@ -256,3 +256,17 @@ body {
color: #f73333bd;
}

.report-reason {
display: flex;
flex-direction: column;
background: #282a36;
box-shadow: 0 15px 25px rgba(0, 0, 0, .6);
border-radius: 10px;
margin-bottom: 10px;
margin-top: 10px;
margin-left: 10px;
padding: 20px;
color: #d2d0d0;
outline: none;
height: 200px;
}
2 changes: 1 addition & 1 deletion templates/curr_task_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ <h4><strong style="color: #03e9f4">Quest: </strong> {{ quest.quest_name }}</h4>
<input type="hidden" id="quest_language" name="quest_language" value="{{ quest.language }}">
<input type="hidden" id="quest_type" name="quest_type" value="{{ quest.type }}">
<button type="button" id="submitSolution" class="submit-button">Submit Quest</button>
<textarea class="input-row" name="report-reason" id="report-reason" style="display: none;">Report reason...</textarea>
<textarea class="report-reason" name="report-reason" id="report-reason" style="display: none;" placeholder="Report reason..."></textarea>
<button type="button" id="reportQuestWithTextarea" class="report-button">Report Quest</button>
<button type="button" id="reportQuest" class="report-button" style="display: none;">Report Quest</button>
</div>
Expand Down

0 comments on commit c36d379

Please sign in to comment.