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.

portico: Delete now-unused tour,carousel,testimonials CSS.

Tim Abbott72942c6bb9be
diff --git a/web/styles/portico/landing_page.css b/web/styles/portico/landing_page.css
index 29a07be9c22..5fce8ee04da 100644
--- a/web/styles/portico/landing_page.css
+++ b/web/styles/portico/landing_page.css
@@ -1140,507 +1140,6 @@ button {
}
}
-.carousel.carousel-fade .carousel-inner {
- .item {
- display: block;
- opacity: 0;
- height: 0;
- transition: opacity 0.4s ease;
- visibility: hidden;
-
- &.active {
- opacity: 1;
- height: auto;
- visibility: visible;
-
- &.left,
- &.right {
- left: 0;
- opacity: 0;
- z-index: 2;
- }
- }
-
- &.next.left,
- &.prev.right {
- opacity: 1;
- z-index: 1;
- }
- }
-
- .item-inner {
- position: relative;
- }
-
- .next.left .item-inner,
- .prev.right .item-inner {
- padding: 30px 20px;
- }
-}
-
-.portico-landing .tour {
- color: hsl(0deg 0% 0%);
- width: 1200px;
- max-width: 100%;
- margin: 0 auto;
-}
-
-.tour .carousel-inner .item-container {
- width: 80%;
- height: 520px;
- margin: 20px auto;
- padding: 30px 20px;
- background: linear-gradient(
- hsl(220deg 20% 97% / 40%),
- hsl(220deg 20% 97% / 90%)
- );
- border-radius: 12px;
- box-shadow: 0 3px 10px hsl(0deg 0% 0% / 2%);
- position: relative;
-}
-
-.tour .carousel-inner .start-button {
- padding: 11px 25px;
- font-size: 1.2rem;
- font-weight: 400;
- color: hsl(0deg 0% 100%);
- background: linear-gradient(
- 145deg,
- hsl(191deg 56% 55%),
- hsl(169deg 65% 42%)
- );
- box-shadow: 0 3px 10px hsl(0deg 0% 0% / 20%);
- border: 0;
- position: absolute;
- left: 50%;
- margin-left: -100px;
- top: 50%;
- margin-top: -25px;
- width: 200px;
- height: 50px;
- z-index: 10;
-
- &:hover {
- background-color: hsl(169deg 65% 42%);
- box-shadow: 0 3px 10px hsl(0deg 0% 0% / 30%);
- }
-}
-
-.tour .carousel-inner .start-image {
- position: relative;
- margin: 0 auto;
- display: block;
- width: 100%;
- max-width: 100%;
- border: 1px solid hsl(0deg 0% 87%);
- opacity: 0.4;
-}
-
-.tour .carousel-inner .tour-item-header {
- margin: 0 0 30px 54px;
- max-width: 700px;
- font-size: 1.3em;
- text-align: left;
-}
-
-.tour .carousel-inner .tour-item-header-top-push {
- margin-top: 40px;
-}
-
-.tour .carousel-inner .tour-item-header-centered {
- text-align: center;
- margin-left: auto;
- margin-right: auto;
-}
-
-.tour .carousel-inner .zulip-slack-comparison {
- display: flex;
- text-align: left;
- width: 850px;
- max-width: 100%;
- margin: 20px auto 0;
- position: relative;
-
- .comparison-zulip {
- width: 500px;
- }
-
- .comparison-slack {
- width: 300px;
- }
-
- & img {
- max-width: 100%;
-
- &.zulip-streams-selected {
- width: 320px;
- border: 0;
- }
-
- &.slack-streams-selected {
- width: 200px;
- }
-
- &.zulip-unreads-arrows {
- width: 406px;
- border: 0;
- }
-
- &.slack-stream-unreads {
- width: 200px;
- }
- }
-
- .caption {
- text-align: left;
- font-weight: bold;
- margin-bottom: 10px;
- }
-}
-
-.tour .carousel-inner img {
- border: 1px solid hsl(210deg 8% 95%);
-
- &.centered-image {
- display: block;
- margin: 0 auto;
- }
-
- &.zulip-streams {
- width: 200px;
- }
-
- &.slack-streams {
- width: 200px;
- }
-
- &.zulip-topic {
- margin: -10px 0 0 50px;
- width: 800px;
- }
-
- &.slack-overwhelming {
- border: none;
- width: 750px;
- margin: -30px 0 0 50px;
- }
-
- &.zulip-easy {
- border: none;
- width: 700px;
- margin-left: 50px;
- }
-}
-
-.tour .carousel-inner .mobile-hide,
-.tour .carousel-inner img.mobile-hide,
-.tour .carousel-inner img.centered-image.mobile-hide {
- display: block;
-}
-
-.tour .carousel-inner .mobile-show,
-.tour .carousel-inner img.mobile-show,
-.tour .carousel-inner img.centered-image.mobile-show {
- display: none;
-}
-
-.tour .carousel-inner .comparison-slack img {
- margin: 0;
-}
-
-.tour .carousel-inner .other-resources {
- text-align: left;
- margin: 30px auto;
- max-width: 600px;
-
- .other-resources-section {
- display: inline-block;
- width: 48%;
- text-align: center;
- vertical-align: top;
-
- & img {
- border: 0;
- display: block;
- margin: 0 auto;
- }
- }
-}
-
-.tour .carousel-inner .call-to-action {
- display: inline-block;
- margin: 40px auto;
- padding: 11px 25px;
-
- font-size: 1.2rem;
- line-height: 20px;
- font-weight: 400;
- color: hsl(0deg 0% 100%);
-
- background: linear-gradient(
- 145deg,
- hsl(191deg 56% 55%),
- hsl(169deg 65% 42%)
- );
- box-shadow: 0 3px 10px hsl(0deg 0% 0% / 20%);
- border-radius: 4px;
-
- &:hover {
- background-color: hsl(169deg 65% 42%);
- box-shadow: 0 3px 10px hsl(0deg 0% 0% / 30%);
- }
-}
-
-.tour .carousel-control {
- background: 0;
- border: 0;
- color: hsl(223deg 13% 52%);
- font-size: 2em;
- top: 50%;
- font-weight: 400;
- opacity: 1;
- border-radius: 0;
-
- &:hover {
- color: hsl(220deg 23% 33%);
- }
-
- &.right {
- right: 40px;
- }
-
- &.left {
- left: 40px;
- }
-}
-
-.carousel-indicators {
- margin: 20px 0 0;
- display: flex;
- justify-content: center;
- padding-left: 0;
- list-style: none;
- position: relative;
- top: auto;
- right: auto;
-
- & li {
- position: relative;
- flex: 0 1 auto;
- width: 10px;
- height: 10px;
- border-radius: 10px;
- margin-right: 10px;
- margin-left: 10px;
- text-indent: -999px;
- cursor: pointer;
- background-color: hsl(222deg 12% 66%);
- transition: background 0.1s ease;
-
- &::before {
- position: absolute;
- top: -10px;
- left: 0;
- display: inline-block;
- width: 100%;
- height: 10px;
- content: "";
- }
-
- &::after {
- position: absolute;
- bottom: -10px;
- left: 0;
- display: inline-block;
- width: 100%;
- height: 10px;
- content: "";
- }
-
- &.active {
- background-color: hsl(220deg 23% 33%);
- }
- }
-}
-
-.portico-landing .testimonials {
- color: hsl(0deg 0% 100%);
- background-color: hsl(168deg 43% 24%);
-}
-
-.portico-landing .testimonials .text-header .text-content {
- float: left;
-}
-
-.portico-landing .testimonials .quote-container {
- width: 98%;
- margin: 30px auto 20px;
- padding-left: 2%;
-
- font-size: 1.2rem;
-}
-
-.portico-landing .testimonials .carousel {
- min-height: 250px;
-}
-
-.portico-landing .testimonials .carousel-quotes {
- width: 60%;
- margin: auto;
-}
-
-.portico-landing .testimonials .carousel-inner {
- width: 100%;
- left: -2%;
-}
-
-.portico-landing .testimonials .fa-chevron-left,
-.portico-landing .testimonials .fa-chevron-right {
- color: hsl(0deg 0% 100%);
- opacity: 0.5;
- position: absolute;
- font-size: 36px;
- top: 40%;
-}
-
-.portico-landing .testimonials .fa-chevron-right {
- right: 10%;
-}
-
-.portico-landing .testimonials .fa-chevron-left {
- left: 10%;
-}
-
-.portico-landing .testimonials .fa-chevron-left:hover,
-.portico-landing .testimonials .fa-chevron-right:hover {
- opacity: 1;
-}
-
-.portico-landing .testimonials blockquote::before {
- content: "“";
- margin-left: -10px;
- margin-right: -3px;
-}
-
-.portico-landing .testimonials blockquote::after {
- content: "”";
-}
-
-.portico-landing .testimonials blockquote + cite {
- display: block;
- margin-top: 5px;
- margin-bottom: 30px;
-
- color: hsl(0deg 0% 100%);
- opacity: 0.7;
- font-weight: 400;
- font-style: normal;
-}
-
-.portico-landing .testimonials blockquote {
- padding: 0;
-
- font-weight: 400;
- line-height: 1.6;
- text-align: left;
- border: none;
- margin: 0 0 20px;
-
- opacity: 0.8;
-}
-
-.portico-landing .testimonials hr {
- width: 60%;
- margin: 0 auto;
- border: none;
- border-bottom: 1px solid hsl(0deg 0% 100% / 20%);
-}
-
-.portico-landing .testimonials .company-container {
- width: 60%;
- margin: 30px auto;
- text-align: left;
-}
-
-.portico-landing .testimonials .company-box {
- margin-top: 20px;
-}
-
-.portico-landing .testimonials .company-container header h2 {
- font-weight: 400;
- font-size: 1.5em;
-}
-
-.portico-landing .testimonials .company-container header .arrow {
- margin-top: 12px;
- font-weight: normal;
-}
-
-.portico-landing .testimonials .company-box .company {
- display: inline-block;
- margin: 10px 20px;
-
- height: 60px;
- width: calc(25% - 44px);
-
- background-color: hsl(0deg 0% 67%);
- background-size: contain;
- background-position: center;
- background-repeat: no-repeat;
-}
-
-/* -- company logos -- */
-.portico-landing .testimonials .company-box .company.akamai {
- background-image: url("../../images/landing-page/logos/akamai.png");
- background-color: transparent;
-}
-
-.portico-landing .testimonials .company-box .company.doctorondemand {
- background-image: url("../../images/landing-page/logos/doctorondemand.png");
- background-color: transparent;
-}
-
-.portico-landing .testimonials .company-box .company.layershift {
- background-image: url("../../images/landing-page/logos/layershift.png");
- background-color: transparent;
-}
-
-.portico-landing .testimonials .company-box .company.recurse {
- background-image: url("../../images/landing-page/logos/recurse.png");
- background-color: transparent;
-}
-
-.portico-landing .testimonials .company-box .company.panjiva {
- background-image: url("../../images/landing-page/logos/panjiva.png");
- background-color: transparent;
-}
-
-.portico-landing .testimonials .company-box .company.cmt {
- background-image: url("../../images/landing-page/logos/cambridge-mobile-telematics.png");
- background-color: transparent;
-}
-
-.portico-landing .testimonials .company-box .company.levelup {
- background-image: url("../../images/landing-page/logos/levelup.png");
- background-color: transparent;
-}
-
-.portico-landing .testimonials .company-box .company.mariadb {
- background-image: url("../../images/landing-page/logos/mariadb.png");
- background-color: transparent;
-}
-
-.portico-landing .testimonials .company-box .company.wikimedia-outreach {
- background-image: url("../../images/landing-page/logos/wikimedia-outreach.png");
- background-color: transparent;
-}
-
-.portico-landing .testimonials .company-box .company.mixxx {
- background-image: url("../../images/landing-page/logos/mixxx.png");
- background-color: transparent;
- height: 45px;
-}
-
.portico-landing.hello .apps {
position: relative;
padding: 200px 80px 100px;
@@ -2596,13 +2095,6 @@ button {
}
}
-@media (width >= 1296px), (687px <= width <= 985px) {
- /* while there are nine, show only two rows of four. */
- .portico-landing .testimonials .company-box > div:last-of-type {
- display: none;
- }
-}
-
@media (width <= 1295px) {
.portico-landing.hello .apps .right-side {
display: none;
@@ -2625,50 +2117,6 @@ button {
.portico-landing.hello .apps .left-side .content {
margin: 0 auto 50px;
}
-
- .portico-landing .testimonials .company-box .company {
- width: calc(33% - 44px);
- }
-}
-
-@media (width <= 1100px) {
- .tour .carousel-inner img {
- &.zulip-topic,
- &.slack-overwhelming,
- &.zulip-easy {
- width: 85%;
- left: 0;
- margin-left: auto;
- margin-right: auto;
- }
- }
-
- .tour .carousel-inner .tour-item-header {
- margin: 0 0 30px;
- }
-
- .tour .carousel-control {
- &.right {
- right: 20px;
- }
-
- &.left {
- left: 20px;
- }
- }
-
- .tour .carousel-inner .zulip-slack-comparison {
- width: 650px;
- max-width: 100%;
-
- .comparison-zulip {
- width: 450px;
- }
-
- .comparison-slack {
- width: 200px;
- }
- }
}
@media (width <= 1024px) {
@@ -2726,18 +2174,6 @@ button {
margin: 0;
}
- .portico-landing .testimonials .carousel-quotes {
- width: 100%;
- }
-
- .portico-landing .testimonials .fa-chevron-right {
- right: -40px;
- }
-
- .portico-landing .testimonials .fa-chevron-left {
- left: -40px;
- }
-
.screen .message-feed .message .content {
top: -12px;
}
@@ -2761,23 +2197,6 @@ button {
padding: 0 50px;
}
- .portico-landing .testimonials hr,
- .portico-landing .testimonials .company-container {
- width: 100%;
- }
-
- .portico-landing .testimonials .company-box .company {
- width: calc(25% - 44px);
- }
-
- .tour .carousel-inner img {
- &.slack-overwhelming,
- &.zulip-easy {
- width: 80%;
- left: 0;
- }
- }
-
.portico-landing.hello .hero {
& header {
width: calc(100% - 50px);
@@ -2797,15 +2216,6 @@ button {
}
}
}
-
- .portico-landing .testimonials .quote-container {
- width: 96%;
- padding-left: 4%;
- }
-
- .portico-landing .testimonials .carousel-inner {
- left: -4%;
- }
}
@media (width <= 830px) {
@@ -2813,38 +2223,6 @@ button {
margin: 50px 30px;
display: block;
}
-
- .portico-landing.hello .tour .carousel-inner .item-container {
- width: 85%;
- }
-
- .tour .carousel-control {
- font-size: 1.2em;
-
- &.right {
- right: -10px;
- }
-
- &.left {
- left: -10px;
- }
- }
-
- .tour .carousel-inner .zulip-slack-comparison {
- width: 100%;
-
- .comparison-zulip {
- width: 65%;
- }
-
- .comparison-slack {
- width: 35%;
- }
- }
-
- .tour .carousel-inner .tour-item-header {
- font-size: 1.1em;
- }
}
@media (width <= 768px) {
@@ -3046,35 +2424,6 @@ button {
text-align: center;
border-radius: 4px;
}
-
- .portico-landing .testimonials .company-box .company {
- margin: 10px;
- width: calc(33% - 24px);
- }
-
- .tour .carousel-control {
- font-size: 1.1em;
-
- .right {
- right: -30px;
- }
-
- .left {
- left: -30px;
- }
- }
-
- .tour .carousel-inner .zulip-slack-comparison img {
- max-width: 90%;
- }
-
- .portico-landing.hello .tour .carousel-inner .item-container {
- height: 450px;
- }
-
- .tour .carousel-inner .call-to-action {
- margin: 10px auto;
- }
}
@media (width <= 640px) {
@@ -3118,50 +2467,6 @@ button {
}
}
- .portico-landing .tour {
- max-width: 100%;
- }
-
- .portico-landing.hello .tour .carousel-inner .item-container {
- height: 400px;
- }
-
- .tour .carousel-control {
- top: 100%;
- }
-
- .tour .carousel-inner .zulip-slack-comparison {
- .comparison-zulip {
- width: 60%;
- }
-
- .comparison-slack {
- width: 38%;
- }
-
- .caption {
- font-size: 90%;
- }
-
- & img {
- max-width: 100%;
-
- &.zulip-streams {
- max-width: 140px;
- }
-
- &.zulip-streams-selected {
- max-width: 95%;
- }
- }
- }
-
- .tour .carousel-inner .tour-explanation {
- opacity: 0.8;
- font-size: 90%;
- text-align: left;
- }
-
.billing-upgrade-page {
.payment-schedule {
.box {
@@ -3220,18 +2525,6 @@ button {
margin: 0;
}
- .tour .carousel-inner .mobile-hide,
- .tour .carousel-inner img.mobile-hide,
- .tour .carousel-inner img.centered-image.mobile-hide {
- display: none;
- }
-
- .tour .carousel-inner .mobile-show,
- .tour .carousel-inner img.mobile-show,
- .tour .carousel-inner img.centered-image.mobile-show {
- display: block;
- }
-
.main .padded-content {
padding: 20px;
}
@@ -3324,17 +2617,6 @@ button {
}
}
-@media (width <= 313px) {
- .portico-landing .testimonials .quote-container {
- width: 93%;
- padding-left: 7%;
- }
-
- .portico-landing .testimonials .carousel-inner {
- left: -7%;
- }
-}
-
#download-from-microsoft-store,
#download-android-apk,
#download-mac-arm64 {