From 83dcf8d56a46b2bd07493f81022b51fb83107446 Mon Sep 17 00:00:00 2001 From: CuriousMagpie Date: Wed, 22 Mar 2023 13:15:11 -0400 Subject: [PATCH] tightening up spacing on buyModal, fixing footer --- .../src/components/shops/balanceInfo.vue | 7 ++-- .../client/src/components/shops/buyModal.vue | 8 ++--- .../src/components/shops/market/sellModal.vue | 34 ++++++++++++++----- 3 files changed, 33 insertions(+), 16 deletions(-) diff --git a/website/client/src/components/shops/balanceInfo.vue b/website/client/src/components/shops/balanceInfo.vue index aaa4b923d5..f180d7292b 100644 --- a/website/client/src/components/shops/balanceInfo.vue +++ b/website/client/src/components/shops/balanceInfo.vue @@ -22,10 +22,11 @@ @import '~@/assets/scss/colors.scss'; span { - font-weight: bold; - font-size: 12px; + font-size: 0.75rem; line-height: 1.33; - color: $gray-200; + color: $gray-100; + margin-bottom: 16px; + margin-top: -4px; display: inline-block; } diff --git a/website/client/src/components/shops/buyModal.vue b/website/client/src/components/shops/buyModal.vue index 13ca7f097c..7efa2fdf6d 100644 --- a/website/client/src/components/shops/buyModal.vue +++ b/website/client/src/components/shops/buyModal.vue @@ -221,11 +221,11 @@
- {{ $t('yourBalance') }} + {{ $t('yourBalance') }} @@ -455,7 +455,7 @@ } &.gold { - color: $gold-color; + color: $yellow-5; } &.hourglasses { diff --git a/website/client/src/components/shops/market/sellModal.vue b/website/client/src/components/shops/market/sellModal.vue index a4a319fe0a..0b5be8d77d 100644 --- a/website/client/src/components/shops/market/sellModal.vue +++ b/website/client/src/components/shops/market/sellModal.vue @@ -62,12 +62,12 @@ @updateQuantity="selectedAmountToSell = $event" />
-
+
{{ $t('sendTotal') }} @@ -90,7 +90,9 @@ class="clearfix" > {{ $t('yourBalance') }} - +
@@ -112,12 +114,12 @@ .content { text-align: center; - } .title { color: $gray-10; font-size: 1.25rem; + margin-top: 28px; } .inner-content { @@ -141,6 +143,10 @@ z-index: 1; } + .item-wrapper { + margin-top: -10px; + } + .item { width: 141px; height: 147px; @@ -201,6 +207,7 @@ .item-cost { padding-bottom: 16px; + padding-top: 8px; } .cost { @@ -220,28 +227,36 @@ } } + .total-row { + padding-top: 4px; + padding-bottom: 4px; + } + .total { - font-size: 0.825rem; + font-size: 0.875rem; line-height: 1.71; font-weight: bold; &.gold { - color: $gold-color; + color: $yellow-5; + margin-left: -4px; } } .total-text { + color: $gray-50; font-size: 0.825rem; - line-height: 1.71; font-weight: bold; + line-height: 1.71; height: 24px; width: 37px; padding-right: 4px; + // margin-left: -4px; } button.btn.btn-primary { - margin-top: 24px; - margin-bottom: 24px; + margin-top: 16px; + margin-bottom: 0px; } .balance { @@ -263,6 +278,7 @@ .how-many-to-sell { margin-bottom: 16px; + margin-top: 8px; display: block; font-size: 0.875rem; font-weight: bold;