diff --git a/code/boot.js b/code/boot.js index 9dad98cb..c8cabd7c 100644 --- a/code/boot.js +++ b/code/boot.js @@ -295,12 +295,6 @@ window.setupPlayerStat = function() { + '' + '' ); - - $('#name').mouseenter(function() { - $('#signout').show(); - }).mouseleave(function() { - $('#signout').hide(); - }); } window.setupSidebarToggle = function() { diff --git a/mobile/smartphone.css b/mobile/smartphone.css index efcbbfbe..5f8e4b86 100644 --- a/mobile/smartphone.css +++ b/mobile/smartphone.css @@ -76,6 +76,10 @@ body { background-color: #00c5ff !important; } +#name #signout { /* no hover, always show signout button */ + display: block; +} + #sidebar, #chatcontrols, #chat, #chatinput { background: #0B3351 !important; } diff --git a/style.css b/style.css index 90dcc259..225f8a56 100644 --- a/style.css +++ b/style.css @@ -399,7 +399,7 @@ h2 #stats { overflow: hidden; } -h2 #signout { +#signout { font-size: 12px; font-weight: normal; line-height: 29px; @@ -410,6 +410,9 @@ h2 #signout { background-color: rgba(8, 48, 78, 0.5); display: none; /* starts hidden */ } +#name:hover #signout { + display: block; +} h2 sup, h2 sub { display: block;