From 75bc45f3542a127a7dbb2e03f21ea4f6d41e8e69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Tue, 10 Oct 2017 01:46:25 -0400 Subject: [PATCH] Make sure channel list close button is really absent when channel is not selected --- client/css/style.css | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/client/css/style.css b/client/css/style.css index e43e2659..f848ddb2 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -556,7 +556,7 @@ kbd { font-size: 10px; margin-top: 1px; padding: 3px 6px; - transition: opacity 0.2s, background-color 0.2s, color 0.2s; + transition: background-color 0.2s, color 0.2s; } #sidebar .badge:empty { @@ -568,17 +568,11 @@ kbd { color: #49505a; } -#sidebar .chan.active .badge, -#sidebar .badge:empty { - opacity: 0; -} - #sidebar .close { border-radius: 3px; width: 18px; height: 18px; - visibility: hidden; - opacity: 0; + display: none; transition: opacity 0.2s, background-color 0.2s; } @@ -593,8 +587,8 @@ kbd { } #sidebar .chan.active .close { - visibility: visible; opacity: 0.4; + display: unset; } #sidebar .chan.active .close:hover {