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.

styles: Remove duplicate properties.

Anders Kaseorg725ca116dd7e
diff --git a/static/styles/alerts.scss b/static/styles/alerts.scss
index 91bd97ffd92..8a42f33d16c 100644
--- a/static/styles/alerts.scss
+++ b/static/styles/alerts.scss
@@ -123,7 +123,6 @@ $alert-error-red: hsl(0, 80%, 40%);
.code-context {
color: hsl(0, 7%, 15%);
background-color: hsl(0, 7%, 98%);
- background-color: hsl(0, 7%, 98%);
box-shadow: inset 0px 11px 10px -10px hsl(0, 7%, 70%),
inset 0px -11px 10px -10px hsl(0, 7%, 70%);
diff --git a/static/styles/app_components.scss b/static/styles/app_components.scss
index 9a00aa2b84a..a9c83f7a452 100644
--- a/static/styles/app_components.scss
+++ b/static/styles/app_components.scss
@@ -281,7 +281,6 @@
left: 0;
width: 100%;
height: 100%;
- overflow: auto;
-webkit-overflow-scrolling: touch;
background-color: hsla(0, 0%, 13%, 0.8);
diff --git a/static/styles/left-sidebar.scss b/static/styles/left-sidebar.scss
index 116c53290ac..203d76281c4 100644
--- a/static/styles/left-sidebar.scss
+++ b/static/styles/left-sidebar.scss
@@ -428,7 +428,6 @@ ul.topic-list {
ul.expanded_private_messages {
list-style-type: none;
- font-weight: 300;
font-size: 13px;
font-weight: 400;
margin-left: 0px;
diff --git a/static/styles/lightbox.scss b/static/styles/lightbox.scss
index acc496ec79b..202d5671138 100644
--- a/static/styles/lightbox.scss
+++ b/static/styles/lightbox.scss
@@ -43,7 +43,6 @@
color: hsla(0, 0%, 100%, 0.8);
font-size: 2rem;
- font-weight: 200;
margin: 24px 20px 0px 0px;
transform: scaleY(0.75);
diff --git a/static/styles/portico/landing-page.scss b/static/styles/portico/landing-page.scss
index 4336fc43dd2..b0113ba85cf 100644
--- a/static/styles/portico/landing-page.scss
+++ b/static/styles/portico/landing-page.scss
@@ -1170,7 +1170,6 @@ nav {
margin: -300px auto 0px auto;
width: 600px;
- background-color: hsl(0, 0%, 98%);
height: 350px;
padding: 10px 30px 10px 30px;
@@ -2467,7 +2466,6 @@ nav {
top: auto;
bottom: 10px;
left: calc(50% - 17.5px);
- background-color: hsl(0, 0%, 80%);
border-radius: 8px;
background-color: hsl(0, 0%, 13%);
@@ -2552,7 +2550,6 @@ nav {
}
.portico-landing.plans .main .padded-content > h2 {
- color: hsl(0, 0%, 27%);
text-align: center;
font-size: 1.5em;
diff --git a/static/styles/recent_topics.scss b/static/styles/recent_topics.scss
index 4ceca2a8923..cc3629d36c9 100644
--- a/static/styles/recent_topics.scss
+++ b/static/styles/recent_topics.scss
@@ -158,7 +158,6 @@
font-weight: 400;
letter-spacing: 0.6px;
border-radius: 4px;
- background-color: hsl(0, 0%, 89%);
padding: 0 4px;
margin-right: 10px;
align-self: center;
diff --git a/static/styles/right-sidebar.scss b/static/styles/right-sidebar.scss
index 4633aaff704..5ef04e99e6e 100644
--- a/static/styles/right-sidebar.scss
+++ b/static/styles/right-sidebar.scss
@@ -119,7 +119,6 @@
float: right;
padding: 0 4px;
background-color: hsl(105, 2%, 50%);
- border-radius: 0px;
color: hsl(0, 0%, 100%);
font-size: 12px;
line-height: 14px;
diff --git a/static/styles/settings.scss b/static/styles/settings.scss
index 76b98555b54..56faf92fa6f 100644
--- a/static/styles/settings.scss
+++ b/static/styles/settings.scss
@@ -889,7 +889,6 @@ input[type="checkbox"] {
.api_key .api-key-value-and-button {
display: block;
margin-left: 0px;
- white-space: pre-wrap;
word-wrap: break-word;
word-break: break-all;
white-space: normal;
@@ -906,7 +905,6 @@ input[type="checkbox"] {
}
.field {
- font-weight: 300;
text-transform: uppercase;
font-weight: 600;
color: hsl(0, 0%, 67%);
@@ -1010,7 +1008,6 @@ input[type="checkbox"] {
.alert_word_listing .value {
display: block;
- white-space: pre-wrap;
word-wrap: break-word;
word-break: break-all;
white-space: normal;
diff --git a/static/styles/subscriptions.scss b/static/styles/subscriptions.scss
index 2c2277aaba4..d8f7f00c537 100644
--- a/static/styles/subscriptions.scss
+++ b/static/styles/subscriptions.scss
@@ -129,7 +129,6 @@
.stream-email .email-address {
display: block;
margin: auto;
- white-space: pre-wrap;
word-wrap: break-word;
word-break: break-all;
white-space: normal;
@@ -1152,7 +1151,6 @@ ul.grey-box {
left: 101%;
top: 45px;
- border-top: 1px solid hsl(0, 0%, 87%);
background-color: hsl(0, 0%, 100%);
border-top: none;
diff --git a/stylelint.config.js b/stylelint.config.js
index 88a3625e713..22252148464 100644
--- a/stylelint.config.js
+++ b/stylelint.config.js
@@ -8,7 +8,6 @@ module.exports = {
"property-no-unknown": [true, {ignoreProperties: [/^mso-/]}],
// Disable recommended rules we don't comply with yet
- "declaration-block-no-duplicate-properties": null,
"declaration-block-no-shorthand-property-overrides": null,
"font-family-no-missing-generic-family-keyword": null,
"no-descending-specificity": null,