From 1dc3c1c7aed960ae14c96c0631c401c2ca44aa1e Mon Sep 17 00:00:00 2001 From: gerlofvanek Date: Thu, 21 Mar 2024 11:03:55 +0100 Subject: [PATCH 1/2] ui: Fixes --- basicswap/static/css/style.css | 13 +++++++++++++ basicswap/templates/offers.html | 9 +++++---- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/basicswap/static/css/style.css b/basicswap/static/css/style.css index 14d9ee6..933cab6 100644 --- a/basicswap/static/css/style.css +++ b/basicswap/static/css/style.css @@ -148,3 +148,16 @@ 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } + +.hover-container:hover #coin_to_button, .hover-container:hover #coin_to { + border-color: #3b82f6; +} +.hover-container:hover #coin_from_button, .hover-container:hover #coin_from { + border-color: #3b82f6; +} + +#coin_to_button, #coin_from_button { + background-repeat: no-repeat; + background-position: center; + background-size: 20px 20px; +} diff --git a/basicswap/templates/offers.html b/basicswap/templates/offers.html index 6eb7a08..036f9d2 100644 --- a/basicswap/templates/offers.html +++ b/basicswap/templates/offers.html @@ -723,7 +723,8 @@ const chart = new Chart(ctx, { display: true, title: { display: true, - text: 'Price (USD)' + text: 'Price (USD)', + color: 'rgba(77, 132, 240, 1)' } } }, @@ -1017,7 +1018,7 @@ const chart = new Chart(ctx, { {% endif %} - + {% if o[9] == true %}
@@ -1079,8 +1080,8 @@ const chart = new Chart(ctx, {
-
- {{ o[4]|truncate(9, true, '', 0) }} +
+ {{ o[5]|truncate(9, true, '', 0) }}
{{ o[3] }}