Skip to content

🛡️ Warracker is an open source, self-hostable warranty tracker to monitor expirations, store receipts, files. You own the data, your rules!

Move Total Value info icon to card corner

Omega (QA)f10aa0b02acb
diff --git a/frontend/status.html b/frontend/status.html
index 5be6b2f..0a72c9d 100644
--- a/frontend/status.html
+++ b/frontend/status.html
@@ -456,9 +456,10 @@
<i class="fas fa-coins"></i>
</div>
<div class="card-content">
- <h3><span data-i18n="status.total_value">Total Value</span> <i class="fas fa-circle-info info-hint"></i></h3>
+ <h3><span data-i18n="status.total_value">Total Value</span></h3>
<p class="count" id="totalValueCount">-</p>
</div>
+ <i class="fas fa-circle-info info-hint"></i>
<div class="info-popover" id="totalValuePopover" data-i18n="status.total_value_tooltip">Sum of the purchase prices of all non-archived warranties. Warranties without a purchase price count as 0.</div>
</div>
</div>
diff --git a/frontend/style.css b/frontend/style.css
index ecc9887..c748527 100644
--- a/frontend/style.css
+++ b/frontend/style.css
@@ -1655,10 +1655,13 @@ input:checked + .toggle-slider:before {
}
.status-card[data-status="total_value"] .info-hint {
- font-size: 0.75rem;
+ position: absolute;
+ top: 10px;
+ right: 12px;
+ font-size: 0.85rem;
color: var(--dark-gray);
- margin-left: 4px;
- vertical-align: middle;
+ opacity: 0.55;
+ pointer-events: none;
}
.status-card[data-status="total_value"] .card-content {