fix: lock colors
Browse files- static/css/custom.css +7 -0
- templates/attestations.html +2 -2
static/css/custom.css
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
/* Custom CSS for Attestation Store */
|
| 2 |
|
| 3 |
/* Root variables for consistency */
|
|
|
|
| 1 |
+
/* Custom lock icon colors for attestation page */
|
| 2 |
+
.icon-lock-locked {
|
| 3 |
+
color: #4fc3f7 !important; /* Light blue */
|
| 4 |
+
}
|
| 5 |
+
.icon-lock-unlocked {
|
| 6 |
+
color: #ba68c8 !important; /* Purple */
|
| 7 |
+
}
|
| 8 |
/* Custom CSS for Attestation Store */
|
| 9 |
|
| 10 |
/* Root variables for consistency */
|
templates/attestations.html
CHANGED
|
@@ -126,9 +126,9 @@
|
|
| 126 |
<td>
|
| 127 |
<div class="d-inline-flex align-items-center">
|
| 128 |
{% if attestation.sig_status == 'signed' %}
|
| 129 |
-
<i data-feather="lock" class="{% if attestation.deleted %}text-secondary{% else %}
|
| 130 |
{% else %}
|
| 131 |
-
<i data-feather="unlock" class="{% if attestation.deleted %}text-secondary{% else %}
|
| 132 |
{% endif %}
|
| 133 |
{{ attestation.target_type }}
|
| 134 |
</div>
|
|
|
|
| 126 |
<td>
|
| 127 |
<div class="d-inline-flex align-items-center">
|
| 128 |
{% if attestation.sig_status == 'signed' %}
|
| 129 |
+
<i data-feather="lock" class="{% if attestation.deleted %}text-secondary{% else %}icon-lock-locked{% endif %} me-2" style="width: 16px; height: 16px;" title="Signed attestation"></i>
|
| 130 |
{% else %}
|
| 131 |
+
<i data-feather="unlock" class="{% if attestation.deleted %}text-secondary{% else %}icon-lock-unlocked{% endif %} me-2" style="width: 16px; height: 16px;" title="Unsigned attestation"></i>
|
| 132 |
{% endif %}
|
| 133 |
{{ attestation.target_type }}
|
| 134 |
</div>
|