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.

css: Use SCSS nesting for `.portico-landing.hello .gradients .gradient`.

SiddharthVarshney92059a537968
diff --git a/static/styles/portico/landing-page.scss b/static/styles/portico/landing-page.scss
index 9e17f35159b..d2ed85040e7 100644
--- a/static/styles/portico/landing-page.scss
+++ b/static/styles/portico/landing-page.scss
@@ -803,26 +803,26 @@ nav {
left: 0;
width: 100%;
height: 1100px;
-}
-.portico-landing.hello .gradients .gradient.dark-blue {
- background: linear-gradient(10deg, hsla(196, 58%, 14%, 0) 50%, hsla(196, 58%, 14%, 0.7));
-}
+ &.dark-blue {
+ background: linear-gradient(10deg, hsla(196, 58%, 14%, 0) 50%, hsla(196, 58%, 14%, 0.7));
+ }
-.portico-landing.hello .gradients .gradient.green {
- background: linear-gradient(-25deg, hsla(156, 47%, 47%, 0) 40%, hsl(156, 47%, 47%));
-}
+ &.green {
+ background: linear-gradient(-25deg, hsla(156, 47%, 47%, 0) 40%, hsl(156, 47%, 47%));
+ }
-.portico-landing.hello .gradients .gradient.blue {
- background: linear-gradient(25deg, hsla(196, 38%, 51%, 0) 40%, hsl(196, 38%, 51%));
-}
+ &.blue {
+ background: linear-gradient(25deg, hsla(196, 38%, 51%, 0) 40%, hsl(196, 38%, 51%));
+ }
-.portico-landing.hello .gradients .gradient.sunburst {
- background: linear-gradient(5deg, hsla(49, 71%, 68%, 0) 20%, hsl(49, 71%, 68%));
-}
+ &.sunburst {
+ background: linear-gradient(5deg, hsla(49, 71%, 68%, 0) 20%, hsl(49, 71%, 68%));
+ }
-.portico-landing.hello .gradients .gradient.white-fade {
- background: linear-gradient(0deg, hsl(0, 0%, 98%) 0%, hsla(0, 0%, 98%, 0) 40%);
+ &.white-fade {
+ background: linear-gradient(0deg, hsl(0, 0%, 98%) 0%, hsla(0, 0%, 98%, 0) 40%);
+ }
}
@keyframes waves {