make unread modaction notif background the same color as all other unread shit

master
Aevann 2023-10-05 18:36:10 +03:00
parent 20ef42b9e2
commit 9640c59c9b
1 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div class="row border-bottom bg-white w-200 pr-0" style="overflow: visible"> <div class="row border-bottom w-200 pr-0" style="overflow: visible">
<div class="col p-0 w-100"> <div class="col p-0 w-100">
<ul class="nav settings-nav" style="padding:0 0 0 20px" id="notifications--nav-list"> <ul class="nav settings-nav" style="padding:0 0 0 20px" id="notifications--nav-list">
<li class="nav-item"> <li class="nav-item">
@ -65,10 +65,10 @@
</div> </div>
{% endwith %} {% endwith %}
{% elif request.path == '/notifications/modactions' %} {% elif request.path == '/notifications/modactions' %}
<div class="rounded border bg-white mx-auto mt-4"> <div class="rounded border mx-auto mt-4">
{% for ma in notifications %} {% for ma in notifications %}
<div id="action-{{ma.id}}" class="{% if ma.unread %}unread{% endif %} position-relative d-flex justify-content-between flex-wrap align-items-center h-min-16 px-3 py-3 bg-white{% if loop.index > 1 %} border-top{% endif %}"> <div id="action-{{ma.id}}" class="{% if ma.unread %}unread{% endif %} position-relative d-flex justify-content-between flex-wrap align-items-center h-min-16 px-3 py-3 {% if loop.index > 1 %} border-top{% endif %}">
<div class="d-flex flex-grow-1 align-items-center"> <div class="d-flex flex-grow-1 align-items-center">
<div class="d-flex align-items-center justify-content-center {{ma.color}} mr-3 rounded-lg flex-shrink-0" style="width: 32px;height: 32px"><i class="far text-center {{ma.icon}} text-lg text-white fa-fw"></i></div> <div class="d-flex align-items-center justify-content-center {{ma.color}} mr-3 rounded-lg flex-shrink-0" style="width: 32px;height: 32px"><i class="far text-center {{ma.icon}} text-lg text-white fa-fw"></i></div>