diff --git a/static/styles/app_components.css b/static/styles/app_components.css index 3420e9d8a1..ac14131b38 100644 --- a/static/styles/app_components.css +++ b/static/styles/app_components.css @@ -532,7 +532,7 @@ div.overlay { } &.stream_create_info { - margin: 10px 10px 0 10px; + margin: 10px 10px 0; } .bankruptcy_unread_count { diff --git a/static/styles/compose.css b/static/styles/compose.css index 6f19b721c6..b1de2de6db 100644 --- a/static/styles/compose.css +++ b/static/styles/compose.css @@ -62,7 +62,7 @@ #compose-content { border-top: 1px solid hsla(0, 0%, 0%, 0.07); transition: background-color 200ms linear; - padding: 4px 4px 8px 4px; + padding: 4px 4px 8px; border-left: 1px solid hsl(0, 0%, 93%); border-right: 1px solid hsl(0, 0%, 93%); height: 100%; @@ -246,7 +246,7 @@ .compose-all-everyone, .compose-announce, .compose_not_subscribed { - padding: 4px 0 4px 0; + padding: 4px 0; display: flex; justify-content: space-between; position: relative; @@ -288,7 +288,7 @@ /* Like .nav-tabs > li > a */ div[id^="message-edit-send-status"], #compose-send-status { - padding: 8px 14px 8px 14px; + padding: 8px 14px; margin-bottom: 8px; line-height: 20px; display: none; @@ -337,7 +337,7 @@ div[id^="message-edit-send-status"], } .compose-notifications-content { - padding: 4px 22px 4px 22px; + padding: 4px 22px; text-align: center; } diff --git a/static/styles/left_sidebar.css b/static/styles/left_sidebar.css index f3dab10a54..509eea8506 100644 --- a/static/styles/left_sidebar.css +++ b/static/styles/left_sidebar.css @@ -411,7 +411,7 @@ li.top_left_recent_topics { right: 0; font-size: 1em; text-align: center; - padding: 0 6px 0 6px; + padding: 0 6px; } /* @@ -424,7 +424,7 @@ li.top_left_recent_topics { right: 0; font-size: 0.9em; text-align: center; - padding: 1px 6px 0 6px; + padding: 1px 6px 0; } /* diff --git a/static/styles/lightbox.css b/static/styles/lightbox.css index 7e39f79083..80383d14f9 100644 --- a/static/styles/lightbox.css +++ b/static/styles/lightbox.css @@ -66,7 +66,7 @@ .image-description, .image-actions { float: left; - margin: 20px 20px; + margin: 20px; } .image-actions { @@ -223,7 +223,7 @@ .image-list { position: relative; display: inline-block; - padding: 15px 0 12px 0; + padding: 15px 0 12px; height: 50px; font-size: 0; diff --git a/static/styles/night_mode.css b/static/styles/night_mode.css index 25a8299bf8..43bd2f7cf7 100644 --- a/static/styles/night_mode.css +++ b/static/styles/night_mode.css @@ -626,7 +626,7 @@ body.night-mode { } .draft-row .message_header_private_message .message_label_clickable { - padding: 4px 6px 3px 6px; + padding: 4px 6px 3px; color: inherit; } diff --git a/static/styles/popovers.css b/static/styles/popovers.css index bce6b3bca6..7ccddaec0f 100644 --- a/static/styles/popovers.css +++ b/static/styles/popovers.css @@ -652,7 +652,7 @@ ul { .user_info_status_text { opacity: 0.8; - padding: 2px 0 3px 0; + padding: 2px 0 3px; .status_emoji { height: 18px; diff --git a/static/styles/portico/billing.css b/static/styles/portico/billing.css index 368aa93666..269004f557 100644 --- a/static/styles/portico/billing.css +++ b/static/styles/portico/billing.css @@ -127,7 +127,7 @@ } .stripe-button-el { - padding: 11px 25px 11px 25px; + padding: 11px 25px; font-weight: 400; color: hsl(0, 0%, 100%); background: linear-gradient( @@ -138,7 +138,7 @@ box-shadow: 0 3px 10px hsla(0, 0%, 0%, 0.2); border: 0; height: 40px; - margin: 5px 0 0 0; + margin: 5px 0 0; span { background: 0; diff --git a/static/styles/portico/integrations.css b/static/styles/portico/integrations.css index dccfc6b39d..26069fbbf8 100644 --- a/static/styles/portico/integrations.css +++ b/static/styles/portico/integrations.css @@ -367,7 +367,7 @@ $category-text: hsl(219, 23%, 33%); .integration-name { font-size: 1.2em; font-weight: 400; - margin: 10px 4px 0 4px; + margin: 10px 4px 0; &.create-your-own { margin-top: 27px; @@ -442,14 +442,14 @@ $category-text: hsl(219, 23%, 33%); } .button { - padding: 11px 25px 11px 25px; + padding: 11px 25px; margin: 5px; font-size: 0.9em; } } .integration-divider { - padding: 11px 15px 0 15px; + padding: 11px 15px 0; } /* -- integration instructions -- */ diff --git a/static/styles/portico/landing_page.css b/static/styles/portico/landing_page.css index 8e776f0464..2f5adf8135 100644 --- a/static/styles/portico/landing_page.css +++ b/static/styles/portico/landing_page.css @@ -426,7 +426,7 @@ nav { justify-content: center; height: 400px; - padding: 100px 100px 50px 100px; + padding: 100px 100px 50px; margin: 0; @@ -450,7 +450,7 @@ nav { h2 { font-size: 1.8em; - margin: 30px auto 0 auto; + margin: 30px auto 0; max-width: 600px; line-height: 1.3; @@ -545,7 +545,7 @@ nav { border-radius: 10px; box-shadow: 10px 20px 80px hsla(0, 0%, 0%, 0.15); - margin: 100px auto 150px auto; + margin: 100px auto 150px; text-align: center; .envelope { @@ -702,7 +702,7 @@ nav { .portico-landing.hello .hero { position: relative; - padding: 60px 50px 30px 50px; + padding: 60px 50px 30px; color: hsl(0, 0%, 100%); @@ -789,7 +789,7 @@ nav { a { display: block; - margin: 20px auto 0 auto; + margin: 20px auto 0; text-align: center; } @@ -1153,7 +1153,7 @@ nav { } .answer { - margin: 20px 0 0 0; + margin: 20px 0 0; font-weight: 400; } } @@ -1281,7 +1281,7 @@ nav { } .stream { - padding: 3px 5px 0 5px; + padding: 3px 5px 0; margin: 0 5px; background-color: hsl(0, 0%, 100%); @@ -1294,12 +1294,12 @@ nav { .portico-landing.hello .screen { position: relative; - margin: -300px auto 0 auto; + margin: -300px auto 0; width: 600px; height: 350px; - padding: 10px 30px 10px 30px; + padding: 10px 30px; border-radius: 12px; box-shadow: 0 0 50px hsla(0, 0%, 0%, 0.2); @@ -1371,7 +1371,7 @@ nav { } .portico-landing.hello .features { - padding: 50px 0 100px 0; + padding: 50px 0 100px; background-color: hsl(0, 0%, 100%); @@ -1492,7 +1492,7 @@ nav { } .tour .carousel-inner .start-button { - padding: 11px 25px 11px 25px; + padding: 11px 25px; font-size: 1.2rem; font-weight: 400; color: hsl(0, 0%, 100%); @@ -1663,7 +1663,7 @@ nav { .tour .carousel-inner .call-to-action { display: inline-block; margin: 40px auto; - padding: 11px 25px 11px 25px; + padding: 11px 25px; font-size: 1.2rem; line-height: 20px; @@ -1704,7 +1704,7 @@ nav { } .carousel-indicators { - margin: 20px 0 0 0; + margin: 20px 0 0; display: flex; justify-content: center; padding-left: 0; @@ -1768,7 +1768,7 @@ nav { .portico-landing .testimonials .quote-container { width: 98%; - margin: 30px auto 20px auto; + margin: 30px auto 20px; padding-left: 2%; font-size: 1.2rem; @@ -1976,7 +1976,7 @@ nav { .portico-landing.hello .apps { position: relative; - padding: 200px 80px 100px 80px; + padding: 200px 80px 100px; margin-top: -50px; background: linear-gradient(145deg, hsl(191, 56%, 55%), hsl(169, 65%, 42%)); @@ -2061,7 +2061,7 @@ nav { } .portico-landing.hello .integrations { - padding: 80px 80px; + padding: 80px; } .portico-landing.hello .integrations .content { @@ -2111,13 +2111,13 @@ nav { .portico-landing.hello .call-to-action-bottom { position: relative; - padding: 50px 100px 0 100px; + padding: 50px 100px 0; margin-top: 0; } .portico-landing.hello .call-to-action-bottom .button { display: table; - margin: 20px auto 0 auto; + margin: 20px auto 0; padding: 10px 20px; font-size: 1em; font-weight: 600; @@ -2129,7 +2129,7 @@ nav { } .portico-landing.hello .call-to-action-bottom .zulip-octopus { - margin: 15px auto 50px auto; + margin: 15px auto 50px; width: 32px; height: 30px; background-image: url(../../images/landing-page/zulip-octopus.png); @@ -2159,7 +2159,7 @@ nav { .portico-landing.apps .hero { position: relative; - padding: 100px 50px 50px 50px; + padding: 100px 50px 50px; background: linear-gradient(35deg, hsl(197, 100%, 16%), hsl(166, 45%, 49%)); height: 600px; @@ -2249,7 +2249,7 @@ nav { .portico-landing.apps .other-apps { background-color: hsl(0, 0%, 100%); - padding: 50px 50px 120px 50px; + padding: 50px 50px 120px; text-align: center; } @@ -2263,7 +2263,7 @@ nav { .portico-landing.apps .other-apps .apps { display: inline-block; - margin: 50px 0 0 0; + margin: 50px 0 0; } .portico-landing.apps .other-apps .apps .icon { @@ -2311,12 +2311,12 @@ nav { .download-from-google-play-store img { height: 42px; - padding: 15px 0 15px 0; + padding: 15px 0; } .download-from-apple-app-store img { height: 42px; - padding: 15px 0 15px 0; + padding: 15px 0; } /* -- /for/open-source/ -- */ @@ -2330,10 +2330,10 @@ nav { } .portico-landing.why-page .hero { - padding: 200px 50px 100px 50px; + padding: 200px 50px 100px; &.empty-hero { - padding: 50px 50px 70px 50px; + padding: 50px 50px 70px; } background-color: hsl(153, 32%, 55%); @@ -2341,12 +2341,12 @@ nav { } .portico-landing.why-page .hero.small-hero { - padding: 120px 50px 30px 50px; + padding: 120px 50px 30px; } .portico-landing.why-page .hero h1 { position: relative; - margin: 0 0 20px 0; + margin: 0 0 20px; font-size: 3.5em; font-weight: 300; @@ -2497,7 +2497,7 @@ nav { .portico-landing.why-page .testimonials .quote-container { width: 98%; - margin: 30px auto 20px auto; + margin: 30px auto 20px; padding-left: 2%; font-size: 1.2rem; @@ -2566,7 +2566,7 @@ nav { .portico-landing.hello .apps .screen.android { width: 200px; height: 370px; - padding: 10px 0 30px 0; + padding: 10px 0 30px; border-radius: 20px; transform: translateY(-110px); @@ -2711,7 +2711,7 @@ nav { .pricing-model .pricing-container .block { display: inline-block; - margin: 40px 20px 20px 20px; + margin: 40px 20px 20px; } .pricing-model .pricing-container .block .plan-title { @@ -2761,7 +2761,7 @@ nav { .pricing-model .pricing-container hr { border: none; border-bottom: 2px solid hsl(170, 47%, 53%); - margin: 15px 0 15px 0; + margin: 15px 0; } .pricing-model .pricing-container .text-content .description { @@ -2971,7 +2971,7 @@ nav { } .text-content .pricing-details { - padding: 15px 0 15px 0; + padding: 15px 0; height: 25px; font-weight: 400; @@ -2980,7 +2980,7 @@ nav { text-align: center; &.multi-line { - padding: 5px 0 25px 0; + padding: 5px 0 25px; } } @@ -2995,12 +2995,12 @@ nav { .portico-landing.jobs h2 { line-height: 1.4; - margin: 20px 0 5px 0; + margin: 20px 0 5px; } .portico-landing.jobs h3 { line-height: 1.4; - margin: 20px 0 7px 0; + margin: 20px 0 7px; } .portico-landing.jobs .open-positions-top .padded-content { @@ -3141,7 +3141,7 @@ nav { } .tour .carousel-inner .tour-item-header { - margin: 0 0 30px 0; + margin: 0 0 30px; } .tour .carousel-control { @@ -3195,7 +3195,7 @@ nav { ul { display: block; - margin: 20px auto 0 auto; + margin: 20px auto 0; float: none; text-align: center; } @@ -3296,7 +3296,7 @@ nav { .portico-landing.hello .apps, .portico-landing.hello .integrations { - padding: 200px 50px 80px 50px; + padding: 200px 50px 80px; } .portico-landing.hello .apps .left-side .content { @@ -3560,7 +3560,7 @@ nav { } .portico-landing.apps .other-apps { - padding: 50px 5px 120px 5px; + padding: 50px 5px 120px; } .portico-landing.apps .other-apps h2 { @@ -3577,14 +3577,14 @@ nav { } .portico-landing.apps .other-apps .apps .icon.fa-mobile-phone { - padding: 7px 10px 5px 10px; + padding: 7px 10px 5px; width: 35px; font-size: 2.5em; } .portico-landing.apps .other-apps .apps .icon.fa-windows { font-size: 2em; - padding: 10px 13px 2px 13px !important; + padding: 10px 13px 2px !important; } .portico-landing.apps .other-apps .apps .icon::after { @@ -3756,7 +3756,7 @@ nav { .portico-header .dropdown ul { width: 100%; height: auto; - margin: 42px 0 0 0; + margin: 42px 0 0; font-size: 0.8em; } @@ -3817,7 +3817,7 @@ nav { @media (width <= 640px) { .portico-landing.hello .integrations .integration-icons .group { - margin: 10px 16px 0 16px; + margin: 10px 16px 0; } .portico-landing.features-app { @@ -3931,11 +3931,11 @@ nav { } .portico-landing.hello .hero { - padding: 60px 5px 40px 5px; + padding: 60px 5px 40px; } .portico-landing.hello header { - padding: 0 45px 0 45px; + padding: 0 45px; } .portico-landing.hello .integrations .content header { @@ -4442,7 +4442,7 @@ nav { p { padding: 0; - margin: 0 0 -10px 0; + margin: 0 0 -10px; width: 100%; text-align: center; font-weight: 550; @@ -4470,7 +4470,7 @@ nav { .feature-intro { max-width: 800px; margin: 50px auto 0; - padding: 0 4vw 0; + padding: 0 4vw; h1 { font-size: 36px; @@ -4483,7 +4483,7 @@ nav { margin-top: 50px; .description { - margin: 0 10px 0; + margin: 0 10px; } p { diff --git a/static/styles/portico/markdown.css b/static/styles/portico/markdown.css index dd9e4ce9bd..7ba37ea96d 100644 --- a/static/styles/portico/markdown.css +++ b/static/styles/portico/markdown.css @@ -48,14 +48,14 @@ h2 { font-size: 1.5em; line-height: 1.25; - margin: 20px 0 5px 0; + margin: 20px 0 5px; } h3 { font-size: 1.25em; line-height: 1.25; opacity: 1; - margin: 20px 0 5px 0; + margin: 20px 0 5px; } h1, @@ -155,7 +155,7 @@ .warn, .tip, .keyboard_tip { - margin: 5px 25px 5px; + margin: 5px 25px; } } @@ -194,7 +194,7 @@ } i.zulip-icon { - margin: 0 2px 2px 2px; + margin: 0 2px 2px; vertical-align: middle; } @@ -382,7 +382,7 @@ } &.has-tabs .blocks { - border-radius: 0 6px 6px 6px; + border-radius: 0 6px 6px; } &.no-tabs .blocks { diff --git a/static/styles/portico/portico.css b/static/styles/portico/portico.css index 6e53851f28..865e0ae177 100644 --- a/static/styles/portico/portico.css +++ b/static/styles/portico/portico.css @@ -583,7 +583,7 @@ input.text-error { .portico-logo { height: 28px; width: auto; - padding: 6px 0 6px 0; + padding: 6px 0; } } @@ -596,7 +596,7 @@ input.text-error { display: none; position: absolute; right: 0; - margin: 10px 0 0 0; + margin: 10px 0 0; list-style-type: none; width: 300px; background-color: hsl(0, 0%, 100%); @@ -798,7 +798,7 @@ a.bottom-signup-button { /* Wrap when screen is small to prevent very short line */ min-width: 300px; font-size: 1.4em; - margin: 10px 10px 0 10px; + margin: 10px 10px 0; } .profile-description { @@ -829,7 +829,7 @@ a.bottom-signup-button { display: inline-block; padding: 10px; border: 1px solid transparent; - margin: 0 0 -1px 0; + margin: 0 0 -1px; &:hover { cursor: pointer; @@ -916,7 +916,7 @@ input#terminal:checked ~ #tab-terminal { .sponsor-picture img { height: 170px; - margin: 0 20px 0 20px; + margin: 0 20px; pointer-events: none; } } @@ -1103,7 +1103,7 @@ input.new-organization-button { .footer-main { min-width: 350px; margin: 0 auto; - padding: 0 20px 0 20px; + padding: 0 20px; position: relative; } @@ -1366,7 +1366,7 @@ input.new-organization-button { .error_page .errorcontent { text-align: left; - padding: 40px 40px 30px 40px; + padding: 40px 40px 30px; } .error_page .lead { @@ -1560,7 +1560,7 @@ input.new-organization-button { } .header { - padding: 4px 0 6px 0; + padding: 4px 0 6px; } .header-main { @@ -1753,7 +1753,7 @@ label.label-title { } #desktop-data { - padding: 13px 12px 12px 12px; + padding: 13px 12px 12px; font-family: "Source Code Pro", monospace; } } diff --git a/static/styles/portico/portico_signin.css b/static/styles/portico/portico_signin.css index 494cb95f11..a7fe1aaa86 100644 --- a/static/styles/portico/portico_signin.css +++ b/static/styles/portico/portico_signin.css @@ -135,7 +135,7 @@ html { border: 2px inset hsl(213, 23%, 25%); background-color: hsl(0, 0%, 100%); color: hsl(213, 23%, 25%); - padding: 13px 20px 11px 20px; + padding: 13px 20px 11px; &:hover { background-color: hsl(213, 65%, 97%); @@ -337,7 +337,7 @@ html { button { display: inline-block; vertical-align: top; - padding: 13px 22px 13px 22px; + padding: 13px 22px; font-family: "Source Sans 3", sans-serif; @@ -1045,7 +1045,7 @@ button#register_auth_button_gitlab { .white-box { min-width: 450px; - padding: 30px 0 50px 0; + padding: 30px 0 50px; } form { diff --git a/static/styles/portico/stats.css b/static/styles/portico/stats.css index 8386bf2596..415a0899f7 100644 --- a/static/styles/portico/stats.css +++ b/static/styles/portico/stats.css @@ -144,7 +144,7 @@ p { } .last-update { - margin: 0 0 30px 0; + margin: 0 0 30px; font-size: 0.8em; font-weight: 400; diff --git a/static/styles/reactions.css b/static/styles/reactions.css index 171595d4a8..2be3617bfd 100644 --- a/static/styles/reactions.css +++ b/static/styles/reactions.css @@ -25,7 +25,7 @@ + .reaction_button { visibility: hidden; pointer-events: none; - margin: 2px 0.1em 3px 0.1em; + margin: 2px 0.1em 3px; padding: 3px; height: 14px; border-radius: 4px; diff --git a/static/styles/recent_topics.css b/static/styles/recent_topics.css index 10c0b5cb37..e1d03183eb 100644 --- a/static/styles/recent_topics.css +++ b/static/styles/recent_topics.css @@ -27,7 +27,7 @@ td { vertical-align: middle; - padding: 3px 8px 3px 8px; + padding: 3px 8px; } .recent_topics_focusable { @@ -61,7 +61,7 @@ .fa-check-square-o, .fa-square-o { - padding: 0 2px 0 2px; + padding: 0 2px; } .fa-lock { @@ -93,7 +93,7 @@ } #recent_topics_filter_buttons { - margin: 0 10px 0 10px; + margin: 0 10px; display: flex; /* Search box has no height without this in safari. */ flex: 0 0 auto; @@ -104,7 +104,7 @@ .search_group { display: flex; flex-grow: 1; - margin: 0 0 10px 0; + margin: 0 0 10px; } #recent_topics_search { @@ -180,7 +180,7 @@ .recent_topics_participant_item { height: 24px; margin: 0; - padding: 0 1.5px 0 1.5px; + padding: 0 1.5px; position: relative; min-width: 24px; @@ -264,7 +264,7 @@ as new messages arrive from the server. */ .recent_topic_stream { width: 25%; - padding: 8px 8px; + padding: 8px; } .recent_topic_name { diff --git a/static/styles/rendered_markdown.css b/static/styles/rendered_markdown.css index b6bd0d332c..bf6df755bd 100644 --- a/static/styles/rendered_markdown.css +++ b/static/styles/rendered_markdown.css @@ -2,7 +2,7 @@ /* The default top/bottom margins for paragraphs are small, to make sure they look nice next to blockquotes, lists, etc. */ p { - margin: 3px 0 3px 0; + margin: 3px 0; } /* The spacing between two paragraphs is significantly larger. We @@ -121,7 +121,7 @@ /* Formatting for Markdown tables */ table { padding-right: 10px; - margin: 5px 5px 5px 5px; + margin: 5px; width: 99%; display: block; max-width: fit-content; @@ -216,7 +216,7 @@ position: relative; top: 1px; display: block; - margin: 5px 0 15px 0; + margin: 5px 0 15px; .spoiler-header { padding: 5px; diff --git a/static/styles/right_sidebar.css b/static/styles/right_sidebar.css index 75a5d576f4..cfc14b0625 100644 --- a/static/styles/right_sidebar.css +++ b/static/styles/right_sidebar.css @@ -32,7 +32,7 @@ font-size: 1em; display: none; text-align: center; - padding: 0 6px 0 6px; + padding: 0 6px; i { padding-right: 0.25em; diff --git a/static/styles/settings.css b/static/styles/settings.css index dd40764540..fca779a90c 100644 --- a/static/styles/settings.css +++ b/static/styles/settings.css @@ -90,7 +90,7 @@ h3 .fa-question-circle-o { #pw_strength { width: 140px; height: 8px; - margin: 6px 0 0 0; + margin: 6px 0 0; } } @@ -246,7 +246,7 @@ td .button { .settings-section-title { font-size: 1.4em; font-weight: 500; - margin: 10px 0 10px 0; + margin: 10px 0; &.transparent { background-color: transparent; @@ -426,7 +426,7 @@ td .button { .button, .input-group { - margin: 0 0 20px 0; + margin: 0 0 20px; } .input-group { @@ -460,7 +460,7 @@ input[type="checkbox"] { } .inline-block { - margin: -2px 0 0 0; + margin: -2px 0 0; } } @@ -729,7 +729,7 @@ input[type="checkbox"] { #admin-linkifier-pattern-status, #admin-linkifier-format-status { - margin: 20px 0 0 0; + margin: 20px 0 0; } .progressive-table-wrapper { @@ -871,7 +871,7 @@ input[type="checkbox"] { } .bot_edit_errors { - margin: 20px 20px 0 20px; + margin: 20px 20px 0; } #bots_lists_navbar .active a { @@ -899,7 +899,7 @@ input[type="checkbox"] { } .buttons { - margin: 10px 0 5px 0; + margin: 10px 0 5px; } button.dropdown-toggle { @@ -1015,7 +1015,7 @@ input[type="checkbox"] { label { border-bottom: 1px solid hsla(0, 0%, 0%, 0.2); - padding: 8px 0 10px 0; + padding: 8px 0 10px; &:last-of-type { border-bottom: none; @@ -1264,7 +1264,7 @@ input[type="checkbox"] { input.search { font-size: 0.9rem; - margin: 10px 0 20px 0; + margin: 10px 0 20px; } .form-sidebar { @@ -1391,7 +1391,7 @@ input[type="checkbox"] { .icon { width: 18px; height: 18px; - margin: 10px 10px; + margin: 10px; text-align: center; font-size: 1.4em; @@ -1850,7 +1850,7 @@ input[type="checkbox"] { } .subsection-failed-status p { - margin: 5px 0 0 0; + margin: 5px 0 0; } } @@ -1933,7 +1933,7 @@ input[type="checkbox"] { #settings_page .save-button-controls { display: block; - margin: 10px 0 0 0; + margin: 10px 0 0; } } diff --git a/static/styles/subscriptions.css b/static/styles/subscriptions.css index 4b3f428fce..81fe397f2d 100644 --- a/static/styles/subscriptions.css +++ b/static/styles/subscriptions.css @@ -208,7 +208,7 @@ display: inline-block; font-size: 1.5em; line-height: 1.5; - margin: 10px 0 0 0; + margin: 10px 0 0; } .new-stream-name, @@ -316,7 +316,7 @@ } .subscriber-search { - margin: 10px 0 0 0; + margin: 10px 0 0; } .subscriber_list_add .form-inline { @@ -334,7 +334,7 @@ } .remove-subscriber-form { - margin: 0 0 0 0; + margin: 0; } #subscription-status { @@ -489,9 +489,9 @@ } button { - padding: 6px 10px 8px 10px; + padding: 6px 10px 8px; display: block; - margin: 0 auto 10px auto; + margin: 0 auto 10px; } } @@ -608,7 +608,7 @@ } .stream-row { - padding: 15px 10px 11px 10px; + padding: 15px 10px 11px; border-bottom: 1px solid hsl(0, 0%, 93%); cursor: pointer; @@ -905,7 +905,7 @@ .stream_change_property_info { vertical-align: top; - margin: -5px 0 0 0; + margin: -5px 0 0; } } @@ -1042,7 +1042,7 @@ padding: 5px 0; input[type="radio"] { - margin: 3.5px 0 1px 0; + margin: 3.5px 0 1px; } &:last-of-type { diff --git a/static/styles/user_circles.css b/static/styles/user_circles.css index 8565ea6e3b..26c17f8688 100644 --- a/static/styles/user_circles.css +++ b/static/styles/user_circles.css @@ -42,6 +42,6 @@ height: 1.5px; /* 1px is too thin, 2px is too thick */ width: 6px; display: block; - margin: 3.25px auto 0 auto; /* (total height - line height) / 2 = 3.25px */ + margin: 3.25px auto 0; /* (total height - line height) / 2 = 3.25px */ } } diff --git a/static/styles/user_status.css b/static/styles/user_status.css index 62c7b21917..fddcc25390 100644 --- a/static/styles/user_status.css +++ b/static/styles/user_status.css @@ -31,7 +31,7 @@ .status_emoji_wrapper { height: 20px; width: 22px; - padding: 8px 8px 1px 8px; + padding: 8px 8px 1px; border-right: 1px solid; border-color: inherit; cursor: pointer; diff --git a/static/styles/widgets.css b/static/styles/widgets.css index c4a36ec6b5..0d017b590c 100644 --- a/static/styles/widgets.css +++ b/static/styles/widgets.css @@ -39,7 +39,7 @@ } ul { - margin: 0 0 5px 0; + margin: 0 0 5px; padding: 0; } } @@ -128,7 +128,7 @@ button { &.poll-option, &.poll-question { padding: 4px 6px; - margin: 2px 0 2px 0; + margin: 2px 0; } } diff --git a/static/styles/zulip.css b/static/styles/zulip.css index 111573cfa4..232c311a27 100644 --- a/static/styles/zulip.css +++ b/static/styles/zulip.css @@ -118,7 +118,7 @@ pre { } p.n-margin { - margin: 10px 0 0 0; + margin: 10px 0 0; } .small-line-height { @@ -474,7 +474,7 @@ li, outline-color: hsl(0, 0%, 73%); height: 18px; width: 10px; - padding: 6px 6px; + padding: 6px; display: block; /* The below two avoids the padded element from displaying it's own border and background color */ @@ -1035,7 +1035,7 @@ td.pointer { .stream_label { display: inline-block; - padding: 4px 6px 3px 6px; + padding: 4px 6px 3px; font-weight: normal; height: 17px; line-height: 17px; @@ -1186,7 +1186,7 @@ td.pointer { .message_label_clickable { background-color: hsl(0, 0%, 27%); display: inline-block; - padding: 3px 6px 2px 6px; + padding: 3px 6px 2px; font-weight: normal; height: 17px; line-height: 17px; @@ -1697,7 +1697,7 @@ div.focused_table { display: flex; align-content: flex-start; flex-wrap: nowrap; - margin: 0 0 0 0; + margin: 0; border: none; white-space: nowrap; cursor: default; @@ -1734,7 +1734,7 @@ div.focused_table { .fa-envelope { font-size: 14px; - margin: 0 5px 0 5px; + margin: 0 5px; } .fa-hashtag { @@ -1964,7 +1964,7 @@ div.focused_table { @media (width >= $sm_min) { .pill { - padding: 2px 0 2px 0 !important; + padding: 2px 0 !important; font-size: 14px; } } @@ -2090,7 +2090,7 @@ div.focused_table { border: 1px solid hsl(0, 0%, 93%); box-shadow: 0 0 1px hsla(0, 0%, 0%, 0.2); border-radius: 12px; - padding: 1px 1px 1px 1px; + padding: 1px; font-size: 9px; z-index: 15; font-weight: normal; @@ -2509,7 +2509,7 @@ div.topic_edit_spinner .loading_indicator_spinner { width: 33%; border-top: 1px solid hsl(0, 0%, 88%); border-bottom: 1px solid hsl(0, 0%, 100%); - margin: 0 5px 0 5px; + margin: 0 5px; } } @@ -2610,7 +2610,7 @@ div.topic_edit_spinner .loading_indicator_spinner { #topic_edit_form { display: inline-block; - margin: 0 0 0 0; + margin: 0; height: 22px; padding-left: 20px; padding-right: 3px; diff --git a/templates/zerver/emails/email.css b/templates/zerver/emails/email.css index 98f40398a3..9ac7bfdd14 100644 --- a/templates/zerver/emails/email.css +++ b/templates/zerver/emails/email.css @@ -53,7 +53,7 @@ table td { .content { box-sizing: border-box; display: block; - margin: 20px auto 0 auto; + margin: 20px auto 0; max-width: 580px; padding: 10px; } @@ -70,7 +70,7 @@ table td { .wrapper { box-sizing: border-box; - padding: 0 20px 20px 20px; + padding: 0 20px 20px; } .footer { @@ -339,7 +339,7 @@ a.button:hover { } table[class="body"] .wrapper { - padding: 0 10px 10px 10px; + padding: 0 10px 10px; } table[class="body"] .article {