From aae5cce175593f711505b48b4040eceb9f6d22a7 Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Wed, 21 Apr 2021 14:38:53 +0200 Subject: [PATCH] Improve custom node details toggling --- .../Views/Stores/SetupLightningNode.cshtml | 60 ++++++++++++++----- 1 file changed, 44 insertions(+), 16 deletions(-) diff --git a/BTCPayServer/Views/Stores/SetupLightningNode.cshtml b/BTCPayServer/Views/Stores/SetupLightningNode.cshtml index b70bbd90b..2658dd46d 100644 --- a/BTCPayServer/Views/Stores/SetupLightningNode.cshtml +++ b/BTCPayServer/Views/Stores/SetupLightningNode.cshtml @@ -70,6 +70,29 @@ padding: .75rem 1rem; border-radius: .25rem; } + #CustomSetup > ul > li { + padding: 0; + } + #CustomSetup > ul > li + li { + border-top: 1px solid var(--btcpay-border-color-medium); + } + a[data-toggle="collapse"] { + display: flex; + align-items: center; + justify-content: space-between; + color: inherit; + padding: 1rem 0; + text-decoration: none + } + a[data-toggle="collapse"] .icon { + transform: rotate(90deg); + transition: transform 200ms; + width: 24px; + height: 24px; + } + a[data-toggle="collapse"][aria-expanded="true"] .icon { + transform: rotate(270deg); + }
@@ -94,16 +117,15 @@ -

- BTCPay Server currently supports: - (click to show examples) -

+

BTCPay Server currently supports: