diff --git a/app/assets/js/actionbinder.js b/app/assets/js/actionbinder.js index b0c0f38..d0a4ee2 100644 --- a/app/assets/js/actionbinder.js +++ b/app/assets/js/actionbinder.js @@ -97,7 +97,6 @@ document.addEventListener('readystatechange', function(){ let pVal = 'OFFLINE' try { - console.log(serv) const serverURL = new URL('my://' + serv.server_ip) const servStat = await ServerStatus.getStatus(serverURL.hostname, serverURL.port) if(servStat.online){ diff --git a/app/overlay.ejs b/app/overlay.ejs index 38a3e53..b067cb6 100644 --- a/app/overlay.ejs +++ b/app/overlay.ejs @@ -37,8 +37,8 @@ } .serverListing { - width: 350px; - min-height: 65px; + width: 375px; + min-height: 60px; display: flex; justify-content: flex-start; align-items: center; @@ -149,7 +149,7 @@ line-height: 12px; height: 12px; border-radius: 2px; - background: rgb(174, 70, 66); + background: rgba(31, 140, 11, 0.8); padding: 0px 2px; } @@ -161,50 +161,45 @@ padding: 0px 5px; } -.serverListingDivider { - min-height: 1px; - width: 100%; - background: rgba(255, 255, 255, 0.4); - margin: 2px 0px; -} - -#starWrap { +#serverListingStarWrapper { display: flex; - position: absolute; align-items: center; - left: 322px; - top: 3px; cursor: pointer; + height: 12px; + position: relative; } -.tooltiptext { +.serverListingStarTooltip { visibility: hidden; - width: 70px; - background-color: black; + opacity: 0; + width: 65px; + background-color: rgba(0, 0, 0, 0.40); color: #fff; text-align: center; - padding: 5px 0; border-radius: 4px; position: absolute; z-index: 1; - right: 120%; + left: 130%; font-family: 'Avenir Book'; font-size: 10px; + transition: visibility 0s linear 0.25s, opacity 0.25s ease; } -.tooltiptext::after { +.serverListingStarTooltip::after { content: " "; position: absolute; top: 50%; - left: 100%; /* To the right of the tooltip */ + right: 100%; /* To the left of the tooltip */ margin-top: -5px; border-width: 5px; border-style: solid; - border-color: transparent transparent transparent black; + border-color: transparent rgba(0, 0, 0, 0.40) transparent transparent; } -#starWrap:hover .tooltiptext { +#serverListingStarWrapper:hover .serverListingStarTooltip { visibility: visible; + opacity: 1; + transition-delay:0s; } @@ -220,20 +215,19 @@
1.11.2
3.4.17
+
+ + + + + + + + Main Server +
-
- - - - - - - - Main Server -
-
@@ -245,7 +239,6 @@
-
@@ -257,7 +250,6 @@
-