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: Fix declaration-block-no-redundant-longhand-properties.

Anders Kaseorg17e72da336b1
diff --git a/static/styles/left_sidebar.css b/static/styles/left_sidebar.css
index 509eea8506b..bcdea9ce73b 100644
--- a/static/styles/left_sidebar.css
+++ b/static/styles/left_sidebar.css
@@ -100,10 +100,7 @@ li.show-more-topics {
margin-left: 0;
&.topic-list li {
- padding-top: 2px;
- padding-right: 0;
- padding-bottom: 2px;
- padding-left: calc($topic_indent - $topic_resolve_width);
+ padding: 2px 0 2px calc($topic_indent - $topic_resolve_width);
&.filter-topics {
padding-bottom: 0;
diff --git a/static/styles/portico/integrations_dev_panel.css b/static/styles/portico/integrations_dev_panel.css
index f48e7739333..aec327542b3 100644
--- a/static/styles/portico/integrations_dev_panel.css
+++ b/static/styles/portico/integrations_dev_panel.css
@@ -7,10 +7,7 @@
#dev-panel {
margin-left: 3%;
margin-right: 3%;
- padding-bottom: 15px;
- padding-top: 20px;
- padding-left: 10px;
- padding-right: 10px;
+ padding: 20px 10px 15px;
background-color: hsl(0deg 0% 100% / 48%);
box-shadow: 0 0 40px hsl(0deg 0% 0% / 6%);
}
@@ -83,8 +80,7 @@
.row3 {
display: flex;
- flex-wrap: wrap;
- flex-direction: column;
+ flex-flow: column wrap;
justify-content: flex-start;
margin-left: 2%;
margin-right: 2%;
diff --git a/static/styles/rendered_markdown.css b/static/styles/rendered_markdown.css
index bf6df755bdd..7cd3d749b38 100644
--- a/static/styles/rendered_markdown.css
+++ b/static/styles/rendered_markdown.css
@@ -577,10 +577,7 @@ pre {
margin-top: 5px;
margin-bottom: 5px;
/* Bootstrap's default here is 9.5 on all sides */
- padding-top: 5px;
- padding-bottom: 3px;
- padding-left: 7px;
- padding-right: 7px;
+ padding: 5px 7px 3px;
}
.rendered_markdown pre code {
diff --git a/static/styles/right_sidebar.css b/static/styles/right_sidebar.css
index cfc14b0625a..66d2b248636 100644
--- a/static/styles/right_sidebar.css
+++ b/static/styles/right_sidebar.css
@@ -76,10 +76,7 @@
.user_circle {
width: 8px;
height: 8px;
- margin-top: 0;
- margin-bottom: 0;
- margin-left: 5px;
- margin-right: 5px;
+ margin: 0 5px;
display: block;
}
diff --git a/static/styles/zulip.css b/static/styles/zulip.css
index 232c311a271..273419df9d4 100644
--- a/static/styles/zulip.css
+++ b/static/styles/zulip.css
@@ -1039,11 +1039,9 @@ td.pointer {
font-weight: normal;
height: 17px;
line-height: 17px;
- border-top-color: hsla(0, 0%, 0%, 0);
- border-right-color: hsla(0, 0%, 0%, 0);
- border-bottom-color: hsla(0, 0%, 0%, 0);
+ border-color: hsla(0, 0%, 0%, 0) hsla(0, 0%, 0%, 0) hsla(0, 0%, 0%, 0)
+ hsl(0, 0%, 88%);
background-color: hsl(0, 0%, 88%);
- border-left-color: hsl(0, 0%, 88%);
border-width: 0;
position: relative;
text-decoration: none;
@@ -2751,11 +2749,7 @@ select.inline_select_topic_edit {
hide little artifacts from showing up in
the gutter below the navbar. */
margin-top: $header_height;
- padding-top: $header_padding_bottom;
-
- padding-bottom: 0;
- padding-left: 15px;
- padding-right: 15px;
+ padding: $header_padding_bottom 15px 0 15px;
height: 100%;
right: 0;
}