From 55de85d8290d91cee920f43058780448888a0aa1 Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Wed, 6 Nov 2019 08:45:31 +0100 Subject: [PATCH] Casa theme color fixes --- .../Views/PaymentRequest/MinimalPaymentRequest.cshtml | 8 ++++---- .../Views/PaymentRequest/ViewPaymentRequest.cshtml | 6 +++--- BTCPayServer/wwwroot/css/themes/casa.css | 5 +++-- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/BTCPayServer/Views/PaymentRequest/MinimalPaymentRequest.cshtml b/BTCPayServer/Views/PaymentRequest/MinimalPaymentRequest.cshtml index f5760fc70..2d51424a3 100644 --- a/BTCPayServer/Views/PaymentRequest/MinimalPaymentRequest.cshtml +++ b/BTCPayServer/Views/PaymentRequest/MinimalPaymentRequest.cshtml @@ -12,19 +12,19 @@
    -
  • +
  • Request amount: @Model.AmountFormatted
  • -
  • +
  • Paid so far: @Model.AmountCollectedFormatted
  • -
  • +
  • Amount due: @Model.AmountDueFormatted @@ -143,7 +143,7 @@ {
    + Cancel current invoice
    } } diff --git a/BTCPayServer/Views/PaymentRequest/ViewPaymentRequest.cshtml b/BTCPayServer/Views/PaymentRequest/ViewPaymentRequest.cshtml index 3d8111b88..1d6be811b 100644 --- a/BTCPayServer/Views/PaymentRequest/ViewPaymentRequest.cshtml +++ b/BTCPayServer/Views/PaymentRequest/ViewPaymentRequest.cshtml @@ -68,19 +68,19 @@ else
      -
    • +
    • Request amount: {{srvModel.amountFormatted}}
    • -
    • +
    • Paid so far: {{srvModel.amountCollectedFormatted}}
    • -
    • +
    • Amount due: {{srvModel.amountDueFormatted}} diff --git a/BTCPayServer/wwwroot/css/themes/casa.css b/BTCPayServer/wwwroot/css/themes/casa.css index 4ff32a915..8c98c63af 100644 --- a/BTCPayServer/wwwroot/css/themes/casa.css +++ b/BTCPayServer/wwwroot/css/themes/casa.css @@ -26,7 +26,7 @@ --btcpay-color-secondary-alpha: rgba(130, 138, 145, 0.25); --btcpay-color-success: #60C8CE; --btcpay-color-success-accent: #147073; - --btcpay-color-success-alpha: rgba(47, 203, 208, 0.25); + --btcpay-color-success-alpha: #8EF7FF; --btcpay-color-info: #17a2b8; --btcpay-color-info-accent: #117a8b; --btcpay-color-info-alpha: rgba(58, 176, 195, 0.25); @@ -35,7 +35,7 @@ --btcpay-color-warning-alpha: rgba(222, 170, 12, 0.25); --btcpay-color-danger: #dc3545; --btcpay-color-danger-accent: #bd2130; - --btcpay-color-danger-alpha: rgba(225, 83, 97, 0.25); + --btcpay-color-danger-alpha: #EDA1B0; --btcpay-color-light: var(--btcpay-color-neutral-100); --btcpay-color-light-accent: #dae0e5; --btcpay-color-light-alpha: rgba(216, 217, 219, 0.25); @@ -77,6 +77,7 @@ body { } .logo, +.head-logo, .social-logo { filter: contrast(0) brightness(200%); }