Make sure channel list close button is really absent when channel is not selected

This commit is contained in:
Jérémie Astori 2017-10-10 01:46:25 -04:00
parent 09878a5568
commit 75bc45f354
No known key found for this signature in database
GPG key ID: B9A4F245CD67BDE8

View file

@ -556,7 +556,7 @@ kbd {
font-size: 10px; font-size: 10px;
margin-top: 1px; margin-top: 1px;
padding: 3px 6px; 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 { #sidebar .badge:empty {
@ -568,17 +568,11 @@ kbd {
color: #49505a; color: #49505a;
} }
#sidebar .chan.active .badge,
#sidebar .badge:empty {
opacity: 0;
}
#sidebar .close { #sidebar .close {
border-radius: 3px; border-radius: 3px;
width: 18px; width: 18px;
height: 18px; height: 18px;
visibility: hidden; display: none;
opacity: 0;
transition: opacity 0.2s, background-color 0.2s; transition: opacity 0.2s, background-color 0.2s;
} }
@ -593,8 +587,8 @@ kbd {
} }
#sidebar .chan.active .close { #sidebar .chan.active .close {
visibility: visible;
opacity: 0.4; opacity: 0.4;
display: unset;
} }
#sidebar .chan.active .close:hover { #sidebar .chan.active .close:hover {