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 `.compare`.

SiddharthVarshneyf28c729707d8
diff --git a/static/styles/portico/landing-page.scss b/static/styles/portico/landing-page.scss
index fe6f2c0fd82..37b45790973 100644
--- a/static/styles/portico/landing-page.scss
+++ b/static/styles/portico/landing-page.scss
@@ -868,116 +868,116 @@ nav {
.compare {
background-color: hsl(163, 22%, 31%);
color: hsl(0, 0%, 100%);
-}
-.compare .text-header .text-content h1 {
- margin-top: 0px;
-}
+ .text-header .text-content h1 {
+ margin-top: 0px;
+ }
-.compare .padded-content {
- width: 900px;
- margin: 0 auto;
-}
+ .padded-content {
+ width: 900px;
+ margin: 0 auto;
+ }
-.compare table {
- width: 100%;
- text-align: left;
- border-collapse: collapse;
+ table {
+ width: 100%;
+ text-align: left;
+ border-collapse: collapse;
- font-weight: 400;
+ font-weight: 400;
- color: hsla(0, 0%, 100%, 0.8);
+ color: hsla(0, 0%, 100%, 0.8);
- thead th {
- &:last-of-type {
- width: 120px;
- }
+ thead th {
+ &:last-of-type {
+ width: 120px;
+ }
- &.uniform {
- width: 20%;
+ &.uniform {
+ width: 20%;
+ }
}
- }
- td:not(:first-of-type),
- th:not(:first-of-type) {
- text-align: center;
+ td:not(:first-of-type),
+ th:not(:first-of-type) {
+ text-align: center;
+ }
}
-}
-.compare thead {
- border-bottom: 3px solid hsla(0, 0%, 0%, 0.1);
+ thead {
+ border-bottom: 3px solid hsla(0, 0%, 0%, 0.1);
- th {
- font-weight: 600;
- padding: 15px 0px;
+ th {
+ font-weight: 600;
+ padding: 15px 0px;
- color: hsl(0, 0%, 100%);
+ color: hsl(0, 0%, 100%);
- &.normal {
- font-weight: normal;
- color: inherit;
+ &.normal {
+ font-weight: normal;
+ color: inherit;
+ }
}
}
-}
-.compare tbody tr {
- border-bottom: 1px solid hsla(360, 0%, 100%, 0.03);
+ tbody tr {
+ border-bottom: 1px solid hsla(360, 0%, 100%, 0.03);
- td {
- padding: 10px 0px;
+ td {
+ padding: 10px 0px;
- &.no {
- text-align: center;
- }
+ &.no {
+ text-align: center;
+ }
- &.yes::before {
- content: " ";
- display: inline-block;
+ &.yes::before {
+ content: " ";
+ display: inline-block;
- width: 27px;
- height: 27px;
- background-image: url(/static/images/landing-page/checkmark.png);
- background-size: 100% auto;
- }
+ width: 27px;
+ height: 27px;
+ background-image: url(/static/images/landing-page/checkmark.png);
+ background-size: 100% auto;
+ }
- &.no::before {
- content: "\d7";
+ &.no::before {
+ content: "\d7";
- position: relative;
- display: inline-block;
+ position: relative;
+ display: inline-block;
- top: 3px;
+ top: 3px;
- font-size: 2.5rem;
- font-weight: 500;
- line-height: 0.9;
+ font-size: 2.5rem;
+ font-weight: 500;
+ line-height: 0.9;
- opacity: 0.4;
- }
+ opacity: 0.4;
+ }
- a {
- font-size: 0.9rem;
- font-weight: 400;
- text-transform: uppercase;
+ a {
+ font-size: 0.9rem;
+ font-weight: 400;
+ text-transform: uppercase;
+ }
}
}
-}
-.compare p {
- font-weight: 300;
-}
+ p {
+ font-weight: 300;
+ }
-.compare .terms {
- margin-top: 30px;
- font-weight: 400;
- font-size: 0.7em;
+ .terms {
+ margin-top: 30px;
+ font-weight: 400;
+ font-size: 0.7em;
- line-height: 1.2;
+ line-height: 1.2;
- color: hsla(0, 0%, 100%, 0.8);
+ color: hsla(0, 0%, 100%, 0.8);
- a {
- color: hsl(170, 47%, 73%);
+ a {
+ color: hsl(170, 47%, 73%);
+ }
}
}