show selected portal's color in mobile status bar
This commit is contained in:
parent
ccc3872476
commit
4162a5bbaf
@ -70,7 +70,11 @@ window.runOnSmartphonesBeforeBoot = function() {
|
||||
|
||||
window.smartphoneInfo = function(data) {
|
||||
var d = data.portalDetails;
|
||||
var t = 'L' + Math.floor(getPortalLevel(d));
|
||||
var lvl = Math.floor(getPortalLevel(d));
|
||||
if(lvl == 0)
|
||||
var t = '<span class="portallevel">L' + lvl + '</span>';
|
||||
else
|
||||
var t = '<span class="portallevel" style="background: '+COLORS_LVL[lvl]+';">L' + lvl + '</span>';
|
||||
var percentage = '0%';
|
||||
var totalEnergy = getTotalPortalEnergy(d);
|
||||
if(getTotalPortalEnergy(d) > 0) {
|
||||
|
@ -32,6 +32,11 @@ body {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#mobileinfo .portallevel {
|
||||
padding: 0 0.2em;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
#sidebar, #chatcontrols, #chat, #chatinput {
|
||||
background: #0B3351 !important;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user