Merge pull request #1623 from thelounge/astorije/channel-list-close
Make sure channel list close button is really absent when channel is not selected
This commit is contained in:
commit
b6963d98a4
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user