From b59aa3104920645c8b5df6e9449122d37290b9df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Thu, 13 Oct 2016 15:57:33 +0200 Subject: [PATCH] Move unread class to buffer
  • instead of ng-if on badge Enables theming, fixes #828 which is now possible with custom CSS --- css/glowingbear.css | 8 +++++++- index.html | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/css/glowingbear.css b/css/glowingbear.css index fd021fa..f8e241a 100644 --- a/css/glowingbear.css +++ b/css/glowingbear.css @@ -216,7 +216,13 @@ input[type=text], input[type=password], #sendMessage { display:block!important; } -#sidebar .badge { + +#sidebar .buffer .badge { + display: none; +} + +#sidebar .buffer.unread .badge { + display: inline-block; border-radius: 0; margin-right: -10px; padding: 4px 7px; diff --git a/index.html b/index.html index 62e0616..a0aad32 100644 --- a/index.html +++ b/index.html @@ -271,9 +271,9 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel
  • -
  • +
  • - + {{ buffer.$quickKey }} {{ buffer.trimmedName || buffer.fullName }}