MediaWiki:Common.js: Difference between revisions

Add geo dashboard script: Users by Country with day/week/month periods, activity chart, world map
Rebrand: admin panel subtitle -> BigBro Know
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
// Hero logo image styling - white + orange glow
// Hero logo image styling - BigBro wordmark, orange glow (no recolor)
(function() {
(function() {
var s = document.createElement('style');
var s = document.createElement('style');
s.textContent = '#ax-hero-logo img { filter: hue-rotate(200deg) saturate(8) brightness(1.6) drop-shadow(0 0 20px rgba(255,120,0,0.9)) drop-shadow(0 0 50px rgba(255,80,0,0.5)); max-width:520px; width:80%; height:auto; display:inline-block; }';
s.textContent = '#ax-hero-logo img { filter: drop-shadow(0 0 20px rgba(255,120,0,0.55)) drop-shadow(0 0 50px rgba(255,80,0,0.32)); max-width:520px; width:80%; height:auto; display:inline-block; }';
document.head.appendChild(s);
document.head.appendChild(s);
})();
})();
Line 316: Line 316:


/* ================================================ */
/* ================================================ */
/* ADMIN CONTROL PANEL - AlphaX Wiki               */
/* ADMIN CONTROL PANEL - BigBro Know               */
/* ================================================ */
/* ================================================ */
(function() {
(function() {
Line 439: Line 439:
       h+='<div class="axcp-hdr">';
       h+='<div class="axcp-hdr">';
       h+='<div class="axcp-ttl">&#9881; Admin Control Panel</div>';
       h+='<div class="axcp-ttl">&#9881; Admin Control Panel</div>';
       h+='<div class="axcp-sub">AlphaX Wiki &bull; Article Database &bull; Live Data</div>';
       h+='<div class="axcp-sub">BigBro Know &bull; Article Database &bull; Live Data</div>';
       h+='<div class="axcp-sr">';
       h+='<div class="axcp-sr">';
       h+='<div class="axcp-sc"><div class="axcp-sv">'+fd.length+'</div><div class="axcp-sl">Articles</div></div>';
       h+='<div class="axcp-sc"><div class="axcp-sv">'+fd.length+'</div><div class="axcp-sl">Articles</div></div>';