From 0e50cb4f06f5dfdb167e714ad3a3a213e3dac1f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Sun, 1 Apr 2018 19:28:44 -0400 Subject: [PATCH] Add normal version of logo for themes with light sidebars --- client/css/style.css | 11 +++- client/img/logo-horizontal-transparent-bg.svg | 61 +++++++++++++++++++ client/index.html.tpl | 3 +- client/themes/morning.css | 4 +- 4 files changed, 75 insertions(+), 4 deletions(-) create mode 100644 client/img/logo-horizontal-transparent-bg.svg diff --git a/client/css/style.css b/client/css/style.css index 28d3442d..618c218e 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -501,6 +501,15 @@ kbd { width: 220px; } +#sidebar .logo, +#sidebar .logo-inverted { + height: 45px; +} + +#sidebar .logo { + display: none; +} + #viewport.menu-open #sidebar { display: none; will-change: transform; @@ -1583,7 +1592,7 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */ flex-grow: 0; } -.logo-inverted { +#windows .logo-inverted { display: none; /* In dark themes, inverted logo must be used instead */ } diff --git a/client/img/logo-horizontal-transparent-bg.svg b/client/img/logo-horizontal-transparent-bg.svg new file mode 100644 index 00000000..58ed1982 --- /dev/null +++ b/client/img/logo-horizontal-transparent-bg.svg @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/client/index.html.tpl b/client/index.html.tpl index 1d942654..97fd904a 100644 --- a/client/index.html.tpl +++ b/client/index.html.tpl @@ -50,7 +50,8 @@ " data-transports="<%- JSON.stringify(transports) %>">