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 .hero .waves .wave`.

SiddharthVarshney45ea51122555
diff --git a/static/styles/portico/landing-page.scss b/static/styles/portico/landing-page.scss
index 518a79e0cef..a3b2dd4d714 100644
--- a/static/styles/portico/landing-page.scss
+++ b/static/styles/portico/landing-page.scss
@@ -706,23 +706,21 @@ nav {
animation-duration: 15s;
animation-iteration-count: infinite;
animation-timing-function: linear;
-}
-
-.portico-landing.hello .hero .waves .wave.dark-blue {
- background-color: hsl(219, 39%, 13%);
-}
-
-.portico-landing.hello .hero .waves .wave.light-blue {
- background-color: hsla(0, 67%, 57%, 0.9);
- animation-duration: 18s;
-}
+ &.dark-blue {
+ background-color: hsl(219, 39%, 13%);
+ }
-.portico-landing.hello .hero .waves .wave.light-green {
- background-color: hsla(187, 98%, 75%, 0.75);
+ &.light-blue {
+ background-color: hsla(0, 67%, 57%, 0.9);
+ animation-duration: 18s;
+ }
- animation-name: wavesBackward;
- animation-duration: 21s;
+ &.light-green {
+ background-color: hsla(187, 98%, 75%, 0.75);
+ animation-name: wavesBackward;
+ animation-duration: 21s;
+ }
}
.portico-landing.hello .hero .content {