'
+ '
'+PLAYER.nickname+''
- + '
'
+ + '
'
+ 'XM: '+xmRatio+'%'
+ '' + (level < 8 ? 'level: '+lvlApProg+'%' : 'max level') + ''
+ '
'
+ ''
);
+
+ $('#name').mouseenter(function() {
+ $('#signout').show();
+ }).mouseleave(function() {
+ $('#signout').hide();
+ });
}
window.setupSidebarToggle = function() {
diff --git a/style.css b/style.css
index d4e30170..4863ee34 100644
--- a/style.css
+++ b/style.css
@@ -329,21 +329,34 @@ h2 {
width: 100%;
}
-h2 span {
+h2 #name {
display: inline-block;
overflow: hidden;
text-overflow: "~";
vertical-align: top;
white-space: nowrap;
width: 205px;
+ position: relative;
}
-h2 div {
+h2 #stats {
float: right;
height: 100%;
overflow: hidden;
}
+h2 #signout {
+ font-size: 12px;
+ font-weight: normal;
+ line-height: 29px;
+ padding: 0 4px;
+ position: absolute;
+ top: 0;
+ right: 0;
+ background-color: rgba(8, 48, 78, 0.5);
+ display: none; /* starts hidden */
+}
+
h2 sup, h2 sub {
display: block;
font-size: 11px;