Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

plans_page: Place text, background colors.

Karl Stolley4f8cc134170a
diff --git a/templates/corporate/plans.html b/templates/corporate/plans.html
index 90a9d6cf48b..2a853a849a9 100644
--- a/templates/corporate/plans.html
+++ b/templates/corporate/plans.html
@@ -28,69 +28,73 @@
We sponsor hundreds of worthy organizations
</p>
</header>
- <div class="discounted-community-plan">
- <h3>Community plan</h3>
+ <div class="text-content">
+ <div class="discounted-community-plan">
+ <h3>Community plan</h3>
+ <ul>
+ <li>
+ <a href="/for/open-source/">Open source projects</a>
+ </li>
+ <li>
+ <a href="/for/research/">Research groups or departments</a>
+ </li>
+ <li>
+ <a href="/for/events/">Academic conferences and most other non-profit events</a>
+ </li>
+ </ul>
+ </div>
+ <div class="discounted-business-plan">
+ <h3>Business plan with 85% discount</h3>
+ <ul>
+ <li>
+ <a href="/for/education/">Education</a> (online or in-person)
+ </li>
+ <li>
+ <a href="/for/communities/">Non-profits and communities</a>
+ </li>
+ </ul>
+ <a href="{{ sponsorship_url }}" class="sponsorship-button">Request sponsorship</a>
+ <p class="contact-note">
+ If you don’t have a Zulip account yet, contact us via
+ <a href="mailto:[email protected]">[email protected]</a>
+ </p>
+ </div>
+ </div>
+ </div>
+
+ <div class="questions-section">
+ <header>
+ <h2>Other questions?</h2>
+ <p>
+ See our <a href="/help/zulip-cloud-billing">billing help page</a> for
+ additional details
+ </p>
+ </header>
+ <div class="text-content">
<ul>
<li>
- <a href="/for/open-source/">Open source projects</a>
+ <a href="/help/zulip-cloud-billing#differences-between-zulip-cloud-plans">Differences between Zulip Cloud plans</a>
</li>
<li>
- <a href="/for/research/">Research groups or departments</a>
+ <a href="/help/zulip-cloud-billing#payment-methods">Payment methods</a>
</li>
<li>
- <a href="/for/events/">Academic conferences and most other non-profit events</a>
+ <a href="/help/zulip-cloud-billing#temporary-users-and-guests">Temporary users and guests</a>
</li>
</ul>
- </div>
- <div class="discounted-business-plan">
- <h3>Business plan with 85% discount</h3>
<ul>
<li>
- <a href="/for/education/">Education</a> (online or in-person)
+ <a href="/help/migrating-from-other-chat-tools">Migrating from other chat tools</a>
</li>
<li>
- <a href="/for/communities/">Non-profits and communities</a>
+ <a href="https://zulip.com/help/trying-out-zulip">Trying out Zulip</a>
</li>
</ul>
- <a href="{{ sponsorship_url }}" class="sponsorship-button">Request sponsorship</a>
- <p class="contact-note">
- If you don’t have a Zulip account yet, contact us via
- <a href="mailto:[email protected]">[email protected]</a>
- </p>
- </div>
- </div>
-
- <div class="questions-section">
- <header>
- <h2>Other questions?</h2>
<p>
- See our <a href="/help/zulip-cloud-billing">billing help page</a> for
- additional details
+ If you have any other questions, please don’t hesitate to reach out to
+ <a href="mailto:[email protected]">[email protected]</a>.
</p>
- </header>
- <ul>
- <li>
- <a href="/help/zulip-cloud-billing#differences-between-zulip-cloud-plans">Differences between Zulip Cloud plans</a>
- </li>
- <li>
- <a href="/help/zulip-cloud-billing#payment-methods">Payment methods</a>
- </li>
- <li>
- <a href="/help/zulip-cloud-billing#temporary-users-and-guests">Temporary users and guests</a>
- </li>
- </ul>
- <ul>
- <li>
- <a href="/help/migrating-from-other-chat-tools">Migrating from other chat tools</a>
- </li>
- <li>
- <a href="https://zulip.com/help/trying-out-zulip">Trying out Zulip</a>
- </li>
- </ul>
- <p>
- If you have any other questions, please don’t hesitate to reach out to
- <a href="mailto:[email protected]">[email protected]</a>.
- </p>
+ </div>
</div>
</div>
@@ -104,69 +108,73 @@
We sponsor hundreds of worthy organizations
</p>
</header>
- <div class="discounted-community-plan">
- <h3>Community plan</h3>
+ <div class="text-content">
+ <div class="discounted-community-plan">
+ <h3>Community plan</h3>
+ <ul>
+ <li>
+ <a href="/for/open-source/">Open source projects</a>
+ </li>
+ <li>
+ <a href="/for/research/">Research groups or departments</a>
+ </li>
+ <li>
+ <a href="/for/events/">Academic conferences and most other non-profit events</a>
+ </li>
+ </ul>
+ </div>
+ <div class="discounted-business-plan">
+ <h3>Business plan with 85% discount</h3>
+ <ul>
+ <li>
+ <a href="/for/education/">Education</a> (online or in-person)
+ </li>
+ <li>
+ <a href="/for/communities/">Non-profits and communities</a>
+ </li>
+ </ul>
+ <a href="{{ sponsorship_url }}" class="sponsorship-button">Request sponsorship</a>
+ <p class="contact-note">
+ If you don’t have a Zulip account yet, contact us via
+ <a href="mailto:[email protected]">[email protected]</a>
+ </p>
+ </div>
+ </div>
+ </div>
+
+ <div class="questions-section">
+ <header>
+ <h2>Other questions?</h2>
+ <p>
+ See our <a href="/help/zulip-cloud-billing">billing help page</a> for
+ additional details
+ </p>
+ </header>
+ <div class="text-content">
<ul>
<li>
- <a href="/for/open-source/">Open source projects</a>
+ <a href="/help/zulip-cloud-billing#differences-between-zulip-cloud-plans">Differences between Zulip Cloud plans</a>
</li>
<li>
- <a href="/for/research/">Research groups or departments</a>
+ <a href="/help/zulip-cloud-billing#payment-methods">Payment methods</a>
</li>
<li>
- <a href="/for/events/">Academic conferences and most other non-profit events</a>
+ <a href="/help/zulip-cloud-billing#temporary-users-and-guests">Temporary users and guests</a>
</li>
</ul>
- </div>
- <div class="discounted-business-plan">
- <h3>Business plan with 85% discount</h3>
<ul>
<li>
- <a href="/for/education/">Education</a> (online or in-person)
+ <a href="/help/migrating-from-other-chat-tools">Migrating from other chat tools</a>
</li>
<li>
- <a href="/for/communities/">Non-profits and communities</a>
+ <a href="https://zulip.com/help/trying-out-zulip">Trying out Zulip</a>
</li>
</ul>
- <a href="{{ sponsorship_url }}" class="sponsorship-button">Request sponsorship</a>
- <p class="contact-note">
- If you don’t have a Zulip account yet, contact us via
- <a href="mailto:[email protected]">[email protected]</a>
- </p>
- </div>
- </div>
-
- <div class="questions-section">
- <header>
- <h2>Other questions?</h2>
<p>
- See our <a href="/help/zulip-cloud-billing">billing help page</a> for
- additional details
+ If you have any other questions, please don’t hesitate to reach out to
+ <a href="mailto:[email protected]">[email protected]</a>.
</p>
- </header>
- <ul>
- <li>
- <a href="/help/zulip-cloud-billing#differences-between-zulip-cloud-plans">Differences between Zulip Cloud plans</a>
- </li>
- <li>
- <a href="/help/zulip-cloud-billing#payment-methods">Payment methods</a>
- </li>
- <li>
- <a href="/help/zulip-cloud-billing#temporary-users-and-guests">Temporary users and guests</a>
- </li>
- </ul>
- <ul>
- <li>
- <a href="/help/migrating-from-other-chat-tools">Migrating from other chat tools</a>
- </li>
- <li>
- <a href="https://zulip.com/help/trying-out-zulip">Trying out Zulip</a>
- </li>
- </ul>
- <p>
- If you have any other questions, please don’t hesitate to reach out to
- <a href="mailto:[email protected]">[email protected]</a>.
- </p>
+ </div>
</div>
</div>
</div>
diff --git a/web/styles/portico/hello.css b/web/styles/portico/hello.css
index c9c3d9fcc52..1d586a45d8b 100644
--- a/web/styles/portico/hello.css
+++ b/web/styles/portico/hello.css
@@ -1062,7 +1062,27 @@ ul {
}
.portico-pricing {
+ --color-background-box: hsl(0deg 0% 100% / 80%);
+ --color-background-box-muted: hsl(0deg 0% 100% / 50%);
+ --color-plan-tab-header: hsl(223deg 40% 30%);
+ --color-plan-tab-copy: hsl(223deg 40% 25% / 70%);
+ --color-box-header: hsl(223deg 43% 25%);
+ --color-box-copy: hsl(223deg 43% 25%);
+
padding: 102px 0 58px;
+ background: linear-gradient(
+ 180deg,
+ hsl(209deg 40% 50) 0%,
+ hsl(210deg 48% 69%) 100%
+ );
+
+ @media (prefers-color-scheme: dark) {
+ background: linear-gradient(
+ 180deg,
+ hsl(209deg 63% 40%) 30%,
+ hsl(238deg 28% 50%) 100%
+ );
+ }
h1 {
font-weight: 500;
@@ -1134,8 +1154,10 @@ ul {
.pricing-tab {
cursor: pointer;
+ background: var(--color-background-box);
h2 {
+ color: var(--color-plan-tab-header);
font-family: var(--font-ops);
font-weight: 550;
font-size: 30px;
@@ -1146,6 +1168,7 @@ ul {
}
p {
+ color: var(--color-plan-tab-copy);
font-weight: 400;
font-size: 16px;
line-height: 125%;
@@ -1156,6 +1179,8 @@ ul {
.pricing-pane {
padding: 20px;
+ color: var(--color-box-copy);
+ background: var(--color-background-box);
h2 {
font-weight: 550;
@@ -1220,6 +1245,12 @@ ul {
}
}
+ .text-content {
+ color: var(--color-box-copy);
+ background: var(--color-background-box);
+ padding: 20px 32px;
+ }
+
h3 {
margin: 0 0 6px;
font-weight: 500;
@@ -1261,6 +1292,10 @@ ul {
.self-hosted-additional-pricing {
display: none;
}
+
+ .self-hosted-plan-title {
+ background-color: var(--color-background-box-muted);
+ }
}
&.showing-self-hosted {
@@ -1268,5 +1303,9 @@ ul {
.cloud-additional-pricing {
display: none;
}
+
+ .cloud-plan-title {
+ background-color: var(--color-background-box-muted);
+ }
}
}