Merge pull request #480 from fkloft/signout

Always show "sign out" link in IITCm.
This commit is contained in:
Jon Atkins 2013-09-09 23:43:44 -07:00
commit 9ee9380a2c
3 changed files with 8 additions and 7 deletions

View File

@ -295,12 +295,6 @@ window.setupPlayerStat = function() {
+ '</div>' + '</div>'
+ '</h2>' + '</h2>'
); );
$('#name').mouseenter(function() {
$('#signout').show();
}).mouseleave(function() {
$('#signout').hide();
});
} }
window.setupSidebarToggle = function() { window.setupSidebarToggle = function() {

View File

@ -76,6 +76,10 @@ body {
background-color: #00c5ff !important; background-color: #00c5ff !important;
} }
#name #signout { /* no hover, always show signout button */
display: block;
}
#sidebar, #chatcontrols, #chat, #chatinput { #sidebar, #chatcontrols, #chat, #chatinput {
background: #0B3351 !important; background: #0B3351 !important;
} }

View File

@ -399,7 +399,7 @@ h2 #stats {
overflow: hidden; overflow: hidden;
} }
h2 #signout { #signout {
font-size: 12px; font-size: 12px;
font-weight: normal; font-weight: normal;
line-height: 29px; line-height: 29px;
@ -410,6 +410,9 @@ h2 #signout {
background-color: rgba(8, 48, 78, 0.5); background-color: rgba(8, 48, 78, 0.5);
display: none; /* starts hidden */ display: none; /* starts hidden */
} }
#name:hover #signout {
display: block;
}
h2 sup, h2 sub { h2 sup, h2 sub {
display: block; display: block;