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 `.carousel-indicators li`.

SiddharthVarshney7f2c5a701502
diff --git a/static/styles/portico/landing-page.scss b/static/styles/portico/landing-page.scss
index eeddd170515..755a6a1bcbc 100644
--- a/static/styles/portico/landing-page.scss
+++ b/static/styles/portico/landing-page.scss
@@ -1578,30 +1578,30 @@ nav {
cursor: pointer;
background-color: hsl(222, 12%, 66%);
transition: background .1s ease;
-}
-.carousel-indicators li::before {
- position: absolute;
- top: -10px;
- left: 0;
- display: inline-block;
- width: 100%;
- height: 10px;
- content: "";
-}
+ &::before {
+ position: absolute;
+ top: -10px;
+ left: 0;
+ display: inline-block;
+ width: 100%;
+ height: 10px;
+ content: "";
+ }
-.carousel-indicators li::after {
- position: absolute;
- bottom: -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: "";
+ }
-.carousel-indicators li.active {
- background-color: hsl(220, 23%, 33%);
+ &.active {
+ background-color: hsl(220, 23%, 33%);
+ }
}
.portico-landing .testimonials {