Always show "sign out" link in IITCm. (no hover on touch screen --> an accidental click would directly log you out)
This commit is contained in:
parent
855ad003a2
commit
84b38bdd82
@ -300,12 +300,6 @@ window.setupPlayerStat = function() {
|
||||
+ '</div>'
|
||||
+ '</h2>'
|
||||
);
|
||||
|
||||
$('#name').mouseenter(function() {
|
||||
$('#signout').show();
|
||||
}).mouseleave(function() {
|
||||
$('#signout').hide();
|
||||
});
|
||||
}
|
||||
|
||||
window.setupSidebarToggle = function() {
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user