diff --git a/make_post_sell/static/css/common.css b/make_post_sell/static/css/common.css index c934cd8..e867ad0 100644 --- a/make_post_sell/static/css/common.css +++ b/make_post_sell/static/css/common.css @@ -1687,20 +1687,30 @@ div.message-ribbon { /* ALERT END */ -/* hidden control area */ -.hidden-control { - display: none; +/* Pure CSS toggle using
element */ +.toggle-summary { + cursor: pointer; + list-style: none; + color: var(--primary-color); + text-decoration: underline; } -#toggle:checked ~ .hidden-control { - display: block; +.toggle-summary::-webkit-details-marker { + display: none; } -/* Stripe toggle */ -#toggle-stripe:checked ~ .hidden-control { - display: block; +.toggle-summary::marker { + display: none; + content: ""; +} + +.api-key-details { + margin-top: 10px; +} + +.api-key-fields { + margin-top: 10px; } -/* hidden control area */ /* Status and message styling */ .status-message { diff --git a/make_post_sell/templates/shop_settings.j2 b/make_post_sell/templates/shop_settings.j2 index a2ca7ff..abe94c0 100644 --- a/make_post_sell/templates/shop_settings.j2 +++ b/make_post_sell/templates/shop_settings.j2 @@ -128,14 +128,10 @@
- +
+ Show Public & Secret Stripe API Keys -
- - - - -
+

@@ -185,8 +181,7 @@ {% endif %}
- -
+


@@ -209,14 +204,10 @@ - +
+ Show PayPal Client ID & Secret API Keys -
- - - - -
+

@@ -266,8 +257,7 @@ {% endif %}
- -
+


@@ -290,14 +280,10 @@ - +
+ Show Adyen API Keys -
- - - - -
+

@@ -375,8 +361,7 @@ {% endif %}
- -
+


@@ -822,33 +807,23 @@ Existing sales honored for download buy purchasers. {%- endblock -%}