Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
portico: Extend proper background gradients to /plans.
Karl Stolley906559c2b56b
diff --git a/templates/corporate/plans.html b/templates/corporate/plans.htmlindex 8aa439bd769..69e0254241f 100644--- a/templates/corporate/plans.html+++ b/templates/corporate/plans.html@@ -16,6 +16,9 @@{% endif %}<div class="portico-pricing plans {% if is_self_hosted_realm %} showing-self-hosted {% else %} showing-cloud {% endif %}">+ <div class="body-bg">+ <div class="body-bg__layer"></div>+ </div><div class="main">{% include "corporate/pricing_model.html" %}</div>diff --git a/web/styles/portico/hello.css b/web/styles/portico/hello.cssindex e261a8260b8..0e68bcfe633 100644--- a/web/styles/portico/hello.css+++ b/web/styles/portico/hello.css@@ -40,6 +40,32 @@ ul {margin: 0;}+.body-bg {+ position: relative;+ width: 0;+ height: 0;+}++.body-bg__layer {+ position: fixed;+ z-index: -1;+ width: 100vw;+ height: 100vh;+ background: linear-gradient(+ 180deg,+ hsl(209.4deg 40.2% 50.2%) 30%,+ hsl(238.4deg 27.9% 26.7%) 70%+ );++ @media (prefers-color-scheme: dark) {+ background: linear-gradient(+ 180deg,+ hsl(209deg 63% 40%) 30%,+ hsl(238deg 28% 21%) 70%+ );+ }+}+.portico-hello-page {._full-height-no-scroll {height: 100%;@@ -63,24 +89,6 @@ ul {border-style: none;}- .body-bg {- position: relative;- width: 0;- height: 0;- }-- .body-bg__layer {- position: fixed;- z-index: -1;- width: 100vw;- height: 100vh;- background: linear-gradient(- 180deg,- hsl(209.4deg 40.2% 50.2%) 30%,- hsl(238.4deg 27.9% 26.7%) 70%- );- }-.page-wrapper {height: 100vh;overflow: scroll;@@ -603,14 +611,6 @@ ul {background: hsl(209deg 63% 40%);}- .body-bg__layer {- background: linear-gradient(- 180deg,- hsl(209deg 63% 40%) 30%,- hsl(238deg 28% 21%) 70%- );- }-.screen-1 {background: linear-gradient(180deg,diff --git a/web/styles/portico/pricing_plans.css b/web/styles/portico/pricing_plans.cssindex e3df8c17f1d..e1bdacf224f 100644--- a/web/styles/portico/pricing_plans.css+++ b/web/styles/portico/pricing_plans.css@@ -34,15 +34,15 @@padding: 102px 0 58px;background: linear-gradient(180deg,- hsl(209deg 40% 50%) 0%,- hsl(210deg 48% 69%) 100%+ var(--color-background-gradient-start) 0%,+ var(--color-background-gradient-end) 100%);@media (prefers-color-scheme: dark) {background: linear-gradient(180deg,- hsl(209deg 63% 40%) 30%,- hsl(238deg 28% 50%) 100%+ var(--color-background-gradient-start) 30%,+ var(--color-background-gradient-end) 100%);}