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: Redesign compare table.

Aman Agrawal649df3570fed
diff --git a/static/styles/portico/landing_page.css b/static/styles/portico/landing_page.css
index b782e61c493..d08e6755ba3 100644
--- a/static/styles/portico/landing_page.css
+++ b/static/styles/portico/landing_page.css
@@ -928,9 +928,17 @@ nav {
/* -- compare css -- */
.compare {
- background-color: hsl(163, 22%, 31%);
+ background: linear-gradient(
+ 198deg,
+ hsl(170deg 34% 47%),
+ hsl(146deg 31% 60%)
+ );
color: hsl(0, 0%, 100%);
+ .gradients .gradient.white-fade {
+ background: none;
+ }
+
.text-header .text-content h1 {
margin-top: 0;
}
@@ -938,9 +946,13 @@ nav {
.padded-content {
width: 900px;
margin: 0 auto;
+ position: relative; /* To place the content on top of gradients. */
+ z-index: 2;
}
table {
+ padding: 33px;
+ border: 20px solid transparent;
width: 100%;
text-align: left;
border-collapse: collapse;
@@ -971,6 +983,7 @@ nav {
th {
font-weight: 600;
padding: 15px 0;
+ font-size: 18px;
color: hsl(0, 0%, 100%);
@@ -978,15 +991,50 @@ nav {
font-weight: normal;
color: inherit;
}
+
+ &:nth-of-type(1) {
+ width: 28%;
+ background-color: hsl(222, 24%, 31%);
+ }
+
+ &:nth-of-type(2) {
+ width: 18%;
+ background-color: hsl(187, 94%, 20%);
+ }
+
+ &:nth-of-type(3),
+ &:nth-of-type(4),
+ &:nth-of-type(5) {
+ width: 18%;
+ background-color: hsl(162, 67%, 25%);
+ }
}
}
+ .gradients {
+ position: static;
+ }
+
tbody tr {
border-bottom: 1px solid hsla(360, 0%, 100%, 0.03);
td {
padding: 10px 0;
+ &:nth-of-type(1) {
+ background-color: hsl(222, 20%, 40%);
+ }
+
+ &:nth-of-type(2) {
+ background-color: hsl(186.9, 90.3%, 28.4%);
+ }
+
+ &:nth-of-type(3),
+ &:nth-of-type(4),
+ &:nth-of-type(5) {
+ background-color: hsl(162, 44%, 38%);
+ }
+
&.no {
text-align: center;
}
@@ -1035,7 +1083,7 @@ nav {
line-height: 1.2;
- color: hsla(0, 0%, 100%, 0.8);
+ color: hsl(0, 24%, 23%);
a {
color: hsl(170, 47%, 73%);
diff --git a/templates/zerver/compare.html b/templates/zerver/compare.html
index 6c50389c7ea..7ff01639d24 100644
--- a/templates/zerver/compare.html
+++ b/templates/zerver/compare.html
@@ -1,8 +1,9 @@
<div class="compare">
+ {% include 'zerver/gradients.html' %}
<div class="padded-content">
<div class="text-header">
<div class="text-content">
- <h1><span>Compare</span></h1>
+ <h1 class="center"><span>Zulip: The most complete team chat solution.</span></h1>
</div>
</div>