From a258798dff0038e2474a9541d87d2dbca948abee Mon Sep 17 00:00:00 2001 From: kinoru Date: Thu, 17 Dec 2015 08:12:29 +0000 Subject: [PATCH] Hide the hover-appearing close button My friends to whom I've recommended Shout are all accidentally leaving channels. This is because in the default theme, the channel close button will only show up when the mouse pointer is on the channel name, and beginners don't know that they exist at all. Even after they learn the existence of such button, it takes more unwanted channel leavings to finally be trained to avoid it. This commit disables the hover-appearing close button by default. Users who want the button can easily bring it back by adding to their theme: #sidebar .close { display: block; } It is intended as a simpler alternative to adding a prompt message dialogue, previously discussed in the pull request [558]. [558]: https://github.com/erming/shout/pull/558 --- client/css/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/client/css/style.css b/client/css/style.css index 7ce8ea86..be2cedf5 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -330,6 +330,7 @@ button { right: 0; transition: all .2s; width: 18px; + display: none; } #sidebar .close:hover { background-color: rgba(0, 0, 0, .1);