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 header button`.

SiddharthVarshney0453c0bc3693
diff --git a/static/styles/portico/landing-page.scss b/static/styles/portico/landing-page.scss
index 9ccc1633f9a..411b8fb253a 100644
--- a/static/styles/portico/landing-page.scss
+++ b/static/styles/portico/landing-page.scss
@@ -777,14 +777,14 @@ nav {
box-shadow: 0px 3px 10px hsla(0, 0%, 0%, 0.2);
transition: all 0.2s ease;
-}
-.portico-landing.hello .hero header button:hover {
- box-shadow: 0px 3px 10px hsla(0, 0%, 100%, 0.2);
-}
+ &:hover {
+ box-shadow: 0px 3px 10px hsla(0, 0%, 100%, 0.2);
+ }
-.portico-landing.hello .hero header button:active {
- box-shadow: 0px 3px 20px hsla(0, 0%, 100%, 0.5);
+ &:active {
+ box-shadow: 0px 3px 20px hsla(0, 0%, 100%, 0.5);
+ }
}
.portico-landing.hello .hero header .download-button {