From 020a65db8a91ed85478256b42f4e9faeb1837671 Mon Sep 17 00:00:00 2001 From: gerlofvanek Date: Fri, 11 Nov 2022 15:12:56 +0100 Subject: [PATCH] ui: Fixed coin select. --- basicswap/static/css/libs/dd.min.css | 4 ++-- basicswap/static/js/libs/dd.min.js | 2 +- basicswap/templates/offer_confirm.html | 12 ++++++------ basicswap/templates/offer_new_1.html | 21 ++++++++++----------- basicswap/templates/offer_new_2.html | 13 ++++++------- 5 files changed, 25 insertions(+), 27 deletions(-) diff --git a/basicswap/static/css/libs/dd.min.css b/basicswap/static/css/libs/dd.min.css index b777d73..f986ab6 100644 --- a/basicswap/static/css/libs/dd.min.css +++ b/basicswap/static/css/libs/dd.min.css @@ -6,13 +6,13 @@ border-width: 1px; border-color: #fff } - .blaat:active { + .ms-effect:active { border-radius: 0.5rem; border-width: 1px; border-color: #3b82f6; outline: none !important } - .blaat:focus { + .ms-effect:focus { border-radius: 0.5rem; border-width: 1px; border-color: #3b82f6; diff --git a/basicswap/static/js/libs/dd.min.js b/basicswap/static/js/libs/dd.min.js index 7a4892c..0dcd3c2 100644 --- a/basicswap/static/js/libs/dd.min.js +++ b/basicswap/static/js/libs/dd.min.js @@ -49,7 +49,7 @@ }, ...t }, this._css = {}, this._onDocumentClick = null, this._onDocumentKeyDown = null, this._onDocumentKeyUp = null, this._isOpen = !1, this._DOWN_ARROW = 40, this._UP_ARROW = 38, this._LEFT_ARROW = 37, this._RIGHT_ARROW = 39, this._ESCAPE = 27, this._ENTER = 13, this._ALPHABETS_START = 47, this._SHIFT = 16, this._CONTROL = 17, this._MAC_CONTROL = 91, this._BACKSPACE = 8, this._DELETE = 46, this._SPACE = 32, this._shiftHolded = !1, this._controlHolded = !1, this._isFirstTime = !0, this._cacheEle = {}, this._isMouseDown = !1, this._itemsArr = [], this._css = { - dd: this._settings.mainCss + " ms-pr blaat", + dd: this._settings.mainCss + " ms-pr ms-effect", wrapperDisabled: "disabled", headerA: "ms-list-option option-selected ", header: "ms-dd-header ", diff --git a/basicswap/templates/offer_confirm.html b/basicswap/templates/offer_confirm.html index 2fdd2d8..3720f61 100644 --- a/basicswap/templates/offer_confirm.html +++ b/basicswap/templates/offer_confirm.html @@ -172,9 +172,9 @@ @@ -192,7 +192,7 @@ - + {% if data.swap_style == 'xmr' %}
@@ -270,9 +270,9 @@
@@ -290,7 +290,7 @@ - + {% if data.swap_style == 'xmr' %}
diff --git a/basicswap/templates/offer_new_1.html b/basicswap/templates/offer_new_1.html index fcb593e..fd16191 100644 --- a/basicswap/templates/offer_new_1.html +++ b/basicswap/templates/offer_new_1.html @@ -37,7 +37,7 @@
-
+
@@ -159,10 +159,10 @@ - + {% for c in coins_from %} - {{ c[1] }} + {{ c[1] }} {% endfor %}
@@ -170,7 +170,7 @@
- + @@ -180,7 +180,7 @@
-
+
@@ -201,9 +201,9 @@
@@ -211,7 +211,7 @@
- + @@ -221,7 +221,7 @@
-
+
@@ -241,7 +241,6 @@
- law diff --git a/basicswap/templates/offer_new_2.html b/basicswap/templates/offer_new_2.html index da43a97..55bcbee 100644 --- a/basicswap/templates/offer_new_2.html +++ b/basicswap/templates/offer_new_2.html @@ -132,7 +132,6 @@
- contacts 2 @@ -164,9 +163,9 @@
@@ -184,7 +183,7 @@
-
+ {% if data.swap_style == 'xmr' %}
@@ -248,9 +247,9 @@
@@ -268,7 +267,7 @@ - + {% if data.swap_style == 'xmr' and coin_to != '6' %}