From ae1df99774e079803d78f725e2c5f23fc244af60 Mon Sep 17 00:00:00 2001 From: George Katsikas <giorgakis.katsikas@gmail.com> Date: Mon, 13 Nov 2023 15:17:30 +0100 Subject: [PATCH] change styling on anonymity setting for reports fixes #139 --- .../static/scipost/assets/css/_reports.scss | 16 ---------------- .../templates/submissions/report_form.html | 4 ++-- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/scipost_django/scipost/static/scipost/assets/css/_reports.scss b/scipost_django/scipost/static/scipost/assets/css/_reports.scss index 01290f068..d4d8030c9 100644 --- a/scipost_django/scipost/static/scipost/assets/css/_reports.scss +++ b/scipost_django/scipost/static/scipost/assets/css/_reports.scss @@ -53,22 +53,6 @@ } } -.anonymous-alert { - margin-bottom: 0.5rem; - - .anonymous-yes, - .anonymous-no { - font-weight: 600; - } - - .anonymous-yes { - color: $red; - } - .anonymous-no { - color: $green; - } -} - .report-preview { .latex-preview { border: 1px solid $scipost-darkblue; diff --git a/scipost_django/submissions/templates/submissions/report_form.html b/scipost_django/submissions/templates/submissions/report_form.html index 8a837c066..d9c8b771b 100644 --- a/scipost_django/submissions/templates/submissions/report_form.html +++ b/scipost_django/submissions/templates/submissions/report_form.html @@ -113,8 +113,8 @@ {% csrf_token %} {{ form|bootstrap:'12,12' }} <div class="anonymous-alert" style="display: none;"> - <h3 class="anonymous-yes">Your Report will remain anonymous.</h3> - <h3 class="anonymous-no"><span class="text-danger">Your Report will be <span class="text-underline">signed</span>.</span> Thank you very much!</h3> + <h3 class="anonymous-yes fw-bold">Your Report will remain anonymous.</h3> + <h3 class="anonymous-no fw-bold"><span class="text-danger">Your Report will be <span class="text-underline">signed</span>.</span> Thank you very much!</h3> </div> <p>Any fields with an asterisk (*) are required.</p> <input class="btn btn-primary" type="submit" name="save_submit" value="Submit your report"/> -- GitLab