From 41f98bbdb9460e9aae35aa471141eb3604d593c6 Mon Sep 17 00:00:00 2001 From: Brock Whittaker Date: Thu, 10 Aug 2017 13:53:42 -0700 Subject: [PATCH] Remove the slide animation from product pages. --- static/styles/landing-page.css | 14 ++------------ templates/zerver/apps.html | 2 +- templates/zerver/for-companies.html | 2 +- templates/zerver/for-open-source.html | 2 +- .../zerver/for-working-groups-and-communities.html | 2 +- templates/zerver/why-zulip.html | 2 +- 6 files changed, 7 insertions(+), 17 deletions(-) diff --git a/static/styles/landing-page.css b/static/styles/landing-page.css index 847d3f7287..fb35ec5750 100644 --- a/static/styles/landing-page.css +++ b/static/styles/landing-page.css @@ -343,24 +343,14 @@ nav ul li.active::after { padding-top: 120px; - transition: all 0.5s ease; - -webkit-transform: translateY(120px); - transform: translateY(120px); + transition: opacity 0.3s ease; + opacity: 0; z-index: 1; } -.portico-landing.no-slide { - -webkit-transform: translateY(0px); - transform: translateY(0px); - - opacity: 1; -} - .portico-landing.show { - -webkit-transform: translateY(0px); - transform: translateY(0px); opacity: 1; } diff --git a/templates/zerver/apps.html b/templates/zerver/apps.html index dadbe45e81..b51d4e068c 100644 --- a/templates/zerver/apps.html +++ b/templates/zerver/apps.html @@ -18,7 +18,7 @@ {% include 'zerver/landing_nav.html' %} {% include 'zerver/gradients.html' %} -
+
diff --git a/templates/zerver/for-companies.html b/templates/zerver/for-companies.html index d2dbaa722c..ddac6474b8 100644 --- a/templates/zerver/for-companies.html +++ b/templates/zerver/for-companies.html @@ -18,7 +18,7 @@ {% include 'zerver/landing_nav.html' %} -
+

{% trans %}The best chat for workplaces{% endtrans %}

Make better use of your managers' time, integrate your remote workers, and replace your low-content meetings

diff --git a/templates/zerver/for-open-source.html b/templates/zerver/for-open-source.html index e7eeca1f50..cf4b00c1b8 100644 --- a/templates/zerver/for-open-source.html +++ b/templates/zerver/for-open-source.html @@ -18,7 +18,7 @@ {% include 'zerver/landing_nav.html' %} -
+

{% trans %}The best chat for open source projects{% endtrans %}

Engage your community with fun, thoughtful, and organized discussion

diff --git a/templates/zerver/for-working-groups-and-communities.html b/templates/zerver/for-working-groups-and-communities.html index b0b48de347..31711256b0 100644 --- a/templates/zerver/for-working-groups-and-communities.html +++ b/templates/zerver/for-working-groups-and-communities.html @@ -18,7 +18,7 @@ {% include 'zerver/landing_nav.html' %} -
+

{% trans %}The best chat for working groups and communities{% endtrans %}

Make good use of your users' time, and engage your community with thoughtful, organized discussion

diff --git a/templates/zerver/why-zulip.html b/templates/zerver/why-zulip.html index 624e4bcd46..1788506124 100644 --- a/templates/zerver/why-zulip.html +++ b/templates/zerver/why-zulip.html @@ -18,7 +18,7 @@ {% include 'zerver/landing_nav.html' %} -
+

{% trans %}Why Zulip?{% endtrans %}