From 3cb0db586df913feace1f3738605925e3c588ec3 Mon Sep 17 00:00:00 2001 From: brockwhittaker Date: Wed, 11 Jan 2017 18:13:22 -0800 Subject: [PATCH] Change the "top of messages" logo to SVG from PNG. This changes the logo that sits at the top of the messages to an SVG rather than a PNG used as the current navbar logo that is filtered to be grayscale. This fixes a significant performance regression that had been caused by adding that logo to the top of the feed. Thanks to @rishig for generating the SVG! --- static/styles/zulip.css | 5 ----- templates/zerver/home.html | 9 ++++++++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/static/styles/zulip.css b/static/styles/zulip.css index 54c4ea1079..5af7a8845f 100644 --- a/static/styles/zulip.css +++ b/static/styles/zulip.css @@ -79,11 +79,6 @@ p.n-margin { top: 67px; width: 24px; height: 24px; - background-image: url(../images/logo/zulip-icon-128x128.png); - background-size: 100%; - background-repeat: no-repeat; - -webkit-filter: saturate(0) invert(1) brightness(1.3); - filter: saturate(0) invert(1) brightness(1.3); } #unmute_muted_topic_notification { diff --git a/templates/zerver/home.html b/templates/zerver/home.html index 4d81af0998..b95bfac2bb 100644 --- a/templates/zerver/home.html +++ b/templates/zerver/home.html @@ -1,6 +1,13 @@ {# Home tab of the app, containing messages. #}
- +