From 7958c7b5250159a148b9f3880932fbe4d5b732bb Mon Sep 17 00:00:00 2001 From: Rodrigo <39995243+RodriFS@users.noreply.github.com> Date: Mon, 22 Jul 2024 13:56:11 +0200 Subject: [PATCH] Tag styling (#388) --- src/Pages/Wallets.razor | 6 +++--- src/wwwroot/css/site.css | 43 +++++++++++++++++++++++++--------------- 2 files changed, 30 insertions(+), 19 deletions(-) diff --git a/src/Pages/Wallets.razor b/src/Pages/Wallets.razor index 91bc3aef..149e3a84 100644 --- a/src/Pages/Wallets.razor +++ b/src/Pages/Wallets.razor @@ -579,17 +579,17 @@ foreach (var (_, utxo, tags, isFrozen) in _detailsUTXOs) { - + @utxo.Outpoint @utxo.Confirmations @($"{utxo.Value} BTC") - + @if (tags.Any()) { foreach (var data in tags.Select((tag, i) => new {tag, i})) { - @data.tag.Value + @data.tag.Value } } diff --git a/src/wwwroot/css/site.css b/src/wwwroot/css/site.css index ea005cf5..a944f642 100644 --- a/src/wwwroot/css/site.css +++ b/src/wwwroot/css/site.css @@ -35,7 +35,8 @@ font-style: normal; } -html, body { +html, +body { font-family: 'Baloo Da 2', cursive !important; } @@ -43,7 +44,8 @@ h1:focus { outline: none; } -a, .btn-link { +a, +.btn-link { color: #0071c1; } @@ -81,12 +83,12 @@ a, .btn-link { z-index: 1000; } - #blazor-error-ui .dismiss { - cursor: pointer; - position: absolute; - right: 0.75rem; - top: 0.5rem; - } +#blazor-error-ui .dismiss { + cursor: pointer; + position: absolute; + right: 0.75rem; + top: 0.5rem; +} .blazor-error-boundary { background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNT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TTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #9733EF; @@ -94,9 +96,9 @@ a, .btn-link { color: white; } - .blazor-error-boundary::after { - content: "An error has occurred." - } +.blazor-error-boundary::after { + content: "An error has occurred." +} /* Custom styles for .cshtml files */ .custom-primary { @@ -210,9 +212,9 @@ a, .btn-link { width: 400px; padding: 40px; transform: translate(-50%, -50%); - background: rgba(0,0,0,.5); + background: rgba(0, 0, 0, .5); box-sizing: border-box; - box-shadow: 0 15px 25px rgba(0,0,0,.6); + box-shadow: 0 15px 25px rgba(0, 0, 0, .6); border-radius: 10px; } @@ -233,7 +235,7 @@ a, .btn-link { .login-box .user-box label { position: absolute; - top:0; + top: 0; left: 0; padding: 10px 0; font-size: 16px; @@ -242,8 +244,8 @@ a, .btn-link { transition: .5s; } -.login-box .user-box input:focus ~ label, -.login-box .user-box input:valid ~ label { +.login-box .user-box input:focus~label, +.login-box .user-box input:valid~label { top: -20px; left: 0; color: #07F2B1; @@ -291,4 +293,13 @@ a, .btn-link { .field-help { margin-top: -5px; +} + +.modal-body { + overflow-y: auto; +} + +.utxo-tag { + max-width: 120px; + text-wrap: wrap !important; } \ No newline at end of file