fix: Make AD position colors more noticeable (#4013)

* fix: Make AD position colors more noticeable

Also remove the striping of the table, which makes it easier to notice which
documents are missing a ballot.

* Make "yes" a bit darker

* Stripe the table for non-ADs
This commit is contained in:
Lars Eggert 2022-05-24 17:51:34 +03:00 committed by GitHub
parent 0a8641cc75
commit 9a24ee7e94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View file

@ -368,23 +368,23 @@ tr.position-moretime-row,
tr.position-notready-row,
tr.position-discuss-row,
tr.position-block-row {
background-color: tint-color($color-discuss, 90%);
background-color: tint-color($color-discuss, 85%);
}
tr.position-yes-row {
background-color: tint-color($color-yes, 90%);
background-color: tint-color($color-yes, 75%);
}
tr.position-noobj-row {
background-color: tint-color($color-noobj, 90%);
background-color: tint-color($color-noobj, 50%);
}
tr.position-abstain-row {
background-color: tint-color($color-abstain, 90%);
background-color: tint-color($color-abstain, 85%);
}
tr.position-recuse-row {
background-color: tint-color($color-recuse, 90%);
background-color: tint-color($color-recuse, 85%);
}

View file

@ -42,7 +42,7 @@
{% if num|sectionlevel == 3 %}<h5 class="mt-3">{{ num }} {{ section.title|safe }}</h5>{% endif %}
{% endif %}
{% if "docs" in section and section.docs %}
<table class="table table-sm table-striped tablesorter">
<table class="table table-sm {% if not user|has_role:'Area Director' %}table-striped{% endif %} tablesorter">
<thead>
<tr>
<th scope="col"></th>
@ -70,4 +70,4 @@
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>
{% endblock %}
{% endblock %}