From 9baa7eed8099e7ad69721ad85f6842fac539dd44 Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Sun, 24 Nov 2019 20:39:29 +0100 Subject: [PATCH] UI: Left align admin section headings Removes the custom property and consistently align the headings left, which I agree is the better choice. Context: https://chat.btcpayserver.org/btcpayserver/pl/upb3nzch7j8nmpbt7kfmoe6beo --- BTCPayServer/wwwroot/main/site.css | 5 ----- BTCPayServer/wwwroot/main/themes/casa.css | 2 -- BTCPayServer/wwwroot/main/themes/modern.css | 2 -- 3 files changed, 9 deletions(-) diff --git a/BTCPayServer/wwwroot/main/site.css b/BTCPayServer/wwwroot/main/site.css index cf6709325..928d2cabe 100644 --- a/BTCPayServer/wwwroot/main/site.css +++ b/BTCPayServer/wwwroot/main/site.css @@ -42,11 +42,6 @@ a { transition-property: background, color; } -/* Admin Sections */ -.section-heading { - text-align: var(--btcpay-section-heading-text-align, center); -} - /* Admin Sidebar Navigation */ a.nav-link { color: var(--btcpay-nav-color-link, var(--btcpay-color-neutral-600)); diff --git a/BTCPayServer/wwwroot/main/themes/casa.css b/BTCPayServer/wwwroot/main/themes/casa.css index c54ba7001..07c8c3f80 100644 --- a/BTCPayServer/wwwroot/main/themes/casa.css +++ b/BTCPayServer/wwwroot/main/themes/casa.css @@ -55,8 +55,6 @@ --btcpay-body-color-link: var(--btcpay-color-primary); --btcpay-body-color-link-accent: var(--btcpay-color-primary-accent); - --btcpay-section-heading-text-align: left; - --btcpay-nav-color-link-accent: var(--btcpay-color-neutral-100); --btcpay-header-bg: var(--btcpay-brand-darker); diff --git a/BTCPayServer/wwwroot/main/themes/modern.css b/BTCPayServer/wwwroot/main/themes/modern.css index d98217167..b1cf22876 100644 --- a/BTCPayServer/wwwroot/main/themes/modern.css +++ b/BTCPayServer/wwwroot/main/themes/modern.css @@ -46,8 +46,6 @@ --btcpay-body-color-link: var(--btcpay-color-primary); --btcpay-body-color-link-accent: var(--btcpay-color-primary-accent); - --btcpay-section-heading-text-align: left; - --btcpay-preformatted-text-color: var(--btcpay-color-neutral-900); --btcpay-font-size-base: 16px;