User:HM100/global.js

//if (wgCityId == '177') {importStylesheetPage('User:HM100/modern.css', 'el.alpha-technologies');} //if (wgCityId == '177') {importStylesheetPage('MediaWiki:WikiaCommunityCentralTheme/code.css', 'dev');}

if (wgCityId == '177') { //importStylesheetPage('User:HM100/scratch.css', 'c');

}

importArticle({ type: 'script', article: 'u:kocka:MediaWiki:Latinify/code.js' }); /* Credit to Speedit

// global footer recolor (function gfootclr {   if ( document.querySelector('.UserProfileMasthead') !== null ) {        mw.util.addCSS('' + ' .WikiaPage .page-header .wds-button {\n' + 'background-color: ' + wgSassParams['color-body'] + ';\n' + '}');   } });

$(function { $('.featured-video-wrapper').remove; });

/* Contribute Button $(function { $('.createpage').remove;   $('.wds-community-header__wiki-buttons a[data-tracking="admin-dashboard"]').remove;    $('.wds-community-header__wiki-buttons a[data-tracking="wiki-activity"]').remove;

var config = mw.config.get([       'wgPageName'    ]);

$('.wds-community-header__wiki-buttons.wds-button-group').prepend( ' ' + ' '+ ' ' + ' Contribute ' + '' + '' + 'Edit this page' + 'Add a Page' + 'Add an Image</a></li>' + 'Wiki Activity</a></li>' + 'Admin Dashboard</a></li>' + 'Edit wiki CSS</a></li>' + 'Edit wiki navigation</a></li>' + '</ul> ');

if(wgUserGroups.indexOf('sysop') > -1 || wgUserGroups.indexOf('staff') > -1 || wgUserGroups.indexOf('helper') > -1) { return 0; } else { $('a.sysop-only').remove; } });

End */

// Handles special pages in monobook that that are "available only in Wikia skin" var monobookSpecialPageHandler = function { if (skin === "monobook") { if ((window.location.href.endsWith("Special:Chat")) ||            (window.location.href.endsWith("Special:CSS")) ||             (window.location.href.endsWith("Special:WikiFeatures"))) { window.location.href = window.location.href + "?useskin=oasis"; }       if (window.location.href.endsWith("Special:WikiActivity")) { window.location.href = "/wiki/Special:RecentChanges"; }   } };

// global footer recolor (function gfootclr {   if ( document.querySelector('.WikiaPage') !== null ) {        mw.util.addCSS('' + ' #discord-widget .widget-header {\n' + 'background-color: ' + wgSassParams['color-buttons'] + '!important;\n' + '}');   } });

/* Quick Revert Spam and Vandalism */ massBlockDelay = 440; massProtectDelay =720; massUserRightsDelay = 1000; batchDeleteDelay = 768; WHAMDelay = 480; WHAMBotMe = true; WHAMBotReason = "Διαγραφή βανδαλισμού"; massUserRightsCustom = [ "el.alpha-technologies|bot|Ρομπότ" ]; var MessageBlock = { title : 'Υπό Φραγή από εμένα', message : 'Γεια σου. Με λένε HM100. Έχετε φραχθεί για $2 για εξής λόγο($1). Παρακαλούμε να διαβάσετε πάρα πολύ καλά |την πολιτική αυτού το ΒΙΚΙ ή θα πρέπει δυστιχώς να σε φράξουμε πιο πολύ.' + ' ' +  'Hello. My name is HM100. You have been banned for a while because of Vandalism or spam. Please enforce |its policy before you contribute again or you' + "'" + 'll get blocked for more.' , autocheck : true };

window.fdButtons = [];

window.fdButtons.push(   {        summary: 'Housekeeping',        label: 'HK'    },    {        summary: 'Vandalism',        label: 'V'    },    {        summary: 'Spam',        label: 'S'    },    {        summary: 'Terms of Use violation',        label: 'ToU'    },     {        summary: 'Unused File/Video',        label: 'UF'    },    {            summary: 'Broken Redirect',        label: 'BR'    } );

/*window.fdButtons.push(   {        summary: 'Resetting Revisions',        label: 'Reset'    } ); // our config is stored in an array window.lessOpts = window.lessOpts || [];

// each target page needs separate configuration window.lessOpts.push( {   // this is the page that has the compiled CSS    target: 'MediaWiki:Common.css',    // this is the page that lists the LESS files to compile    source: 'MediaWiki:Custom-common.less',    // these are the pages that you want to be able to update the target page from    // note, you should not have more than one update button per page    load: [        'MediaWiki:Common.css',        'MediaWiki:Custom-common.less'    ],    // this is the page that contains the comment header for the target page    // all other comments are stripped during compilation    header: 'MediaWiki:Custom-css-header/common' }, {    // this is the page that has the compiled CSS    target: 'MediaWiki:Wikia.css',    // this is the page that lists the LESS files to compile    source: 'MediaWiki:Custom-wikia.less',    // these are the pages that you want to be able to update the target page from // note, you should not have more than one update button per page load: [ 'MediaWiki:Wikia.css', 'MediaWiki:Custom-wikia.less' ],   // this is the page that contains the comment header for the target page // all other comments are stripped during compilation header: 'MediaWiki:Custom-css-header/wikia' }, {   // this is the page that has the compiled CSS target: 'MediaWiki:Monobook.css', // this is the page that lists the LESS files to compile source: 'MediaWiki:Custom-monobook.less', // these are the pages that you want to be able to update the target page from // note, you should not have more than one update button per page load: [ 'MediaWiki:Monobook.css', 'MediaWiki:Custom-monobook.less' ],   // this is the page that contains the comment header for the target page // all other comments are stripped during compilation header: 'MediaWiki:Custom-css-header/monobook' });

/** Parraell Immportsss **/ importStylesheetPage('MediaWiki:BetterLandscapeCommunityHeader/main.css', 'el.alpha-styles'); //importStylesheetPage('User:HM100/better fluid layout.css', 'community'); //importStylesheetPage('Χρήστης:HM100/interlanguages.css', 'el.spongebob'); //importStylesheetPage('MediaWiki:DarkOasis/code.css', 'dev'); //importStylesheetPage('MediaWiki:DVSTFW/code.css', 'dev'); //importStylesheetPage('MediaWiki:SpecialCandyCrushWikis/main.css', 'el.alpha-styles'); //importStylesheetPage('MediaWiki:OldAWikiTheme/main.css', 'el.alpha-styles'); //importStylesheetPage('MediaWiki:CozyHeader/main.css', 'el.alpha-styles'); //importStylesheetPage('MediaWiki:FullScreenOasis/main.css', 'el.alpha-styles'); //importStylesheetPage('MediaWiki:ScrollableFanFeed/main.css', 'el.alpha-styles'); importScriptPage('SkinMover/main code', 'el.alpha-styles'); ///importScriptPage( 'DoTheHarlemShake/code.js', 'dev' );

importArticles( {   type: 'script',    articles: [        'u:dev:MediaWiki:Rollback/code.js',        'u:dev:MediaWiki:MassBlock/code.js',        'u:dev:MediaWiki:MassProtect/code.js',        'u:dev:MediaWiki:MassUserRights/code.js',        'u:dev:MediaWiki:WHAM/code.2.js',        //'u:dev:UTCClock/code.js', Removed because I'm using Κλωκάκι, a clone of UTCClock and DisplayTimer        'u:dev:Wikimarks/code.js',         'u:dev:HideRail/code.js',       // 'u:dev:FastDelete/code.js',        //'u:dev:FluidButton/code.js',        "u:dev:AjaxBatchDelete/code.2.js",        "u:nanaki:MessagingCleanup.js",        'u:dev:GlobalEditcount/code.js',        'u:dev:Multikick.js',        'u:dev:GlobalChatJS.js',        'u:dev:SeeMoreActivityButton/code.js',        'u:dev:ConsistentModules/code.js',        "u:dev:AnchoredRollback/code.js",        'u:dev:RedirectManagement/code.js',        'u:dev:ViewRemoved/code.js', 'u:dev:Less/code.2.js', 'u:dev:MessageBlock/code.js', 'u:el.alpha-styles:Κλωκάκι/script.js', 'u:el.alpha-styles:RandomWikiButton/script.js', 'u:el.alpha-styles:BetterProfileActionButton/script.js' ] } );

importArticles( {   type: 'style',    articles: [    'u:el.alpha-styles:MediaWiki:BetterLandscapeCommunityHeader/main.css',    'u:el.alpha-styles:MediaWiki:MobileOasis/main.css', //    'u:el.alpha-styles:MediaWiki:MobileOasis/fixed.css', //'u:community:User:HM100/better fluid layout.css', //'u:el.spongebob:Χρήστης:HM100/interlanguages.css', //'u:dev:MediaWiki:DarkOasis/code.css', //'u:dev.alpha-styles:MediaWiki:DVSTFW/code.css', //'u:el.alpha-styles:MediaWiki:SpecialCandyCrushWikis/main.css', //'u:el.alpha-styles:MediaWiki:OldAWikiTheme/main.css', //'u:el.alpha-styles:MediaWiki:OldAWikiTheme/material design.css', //'u:el.alpha-styles:MediaWiki:CozyHeader/main.css', //'u:el.alpha-styles:MediaWiki:FullScreenOasis/main.css', //'u:el.alpha-styles:MediaWiki:ScrollableFanFeed/main.css'    ] } );

/* End - Extra Scripts */

/* Το παρακάτω σενάριο θα βάλει το "Start a new Wiki" στο Monobook */ /* Το παρακάτω σενάριο θα βάλει το "Community Central" στο Monobook */ /* Το παρακάτω σενάριο θα βάλει το "RandomWiki" στο Monobook */ /* Το παρακάτω σενάριο θα βάλει το "Apiwiki" στο Monobook */ /* Το παρακάτω σενάριο θα βάλει το "wlb" στο Monobook */ $( function { /*	if ( !document.getElementById( 'ca-wikiamb' ) ) {		if ( skin === 'oasis' || skin === 'wikia' ) {        $( '<ul id="ca-wikiamb">Τυχαίο wiki</a></li>' ).appendTo( '.mcf-header' );		} else {			$( '<li id="ca-wikiamb">Δημιούργησε ένα Wiki</a></li>' ).appendTo( '#p-wikicities-nav  > .pBody > ul' ); $( '<li id="ca-wikiamb">Τυχαίο wiki</a></li>' ).appendTo( '#p-wikicities-nav  > .pBody > ul' );    }  }*/  if ( !document.getElementById( 'ca-central' ) ) {    if ( skin === 'oasis' || skin === 'wikia' ) {        $( '<li id="ca-central">Techinal Updates</a></li>' ).appendTo(  '#my-tools-menu'  ); } else { $( '<li id="ca-central">Community Central</a></li>' ).appendTo( '#p-wikicities-nav > .pBody > ul' );       $( '<li id="ca-central">Techinal Updates</a></li>' ).appendTo( '#p-wikicities-nav  > .pBody > ul' ); } }  if ( !document.getElementById( 'ca-apiwiki' ) ) { if ( skin === 'oasis' || skin === 'wikia' ) { } else { $( '<li id="ca-apiwiki">Wikia API</a></li>' ).appendTo( '#p-wikicities-nav > .pBody > ul' ); } }  if ( !document.getElementById( 'ca-wlb' ) ) { if ( skin === 'oasis' || skin === 'wikia' ) { } else { $( '<li id="ca-wlb"><a href="/index.php?title=w:c:wlb">Wikia Language Brigade</a></li>' ).appendTo( '#p-wikicities-nav > .pBody > ul' ); } } } );

if ( !document.getElementById( 'ca-contact' ) ) { if ( skin === 'oasis' || skin === 'wikia' ) { $( '<li id="ca-contact"><a href="/index.php?title=Special:Contact">Contact Wikia</a></li>' ).appendTo( '#my-tools-menu'  ); } else { /*$( '<li id="ca-central"><a href="/index.php?title=w:c:community">Community Central</a></li>' ).appendTo( '#p-wikicities-nav > .pBody > ul' );       $( '<li id="ca-contact"><a href="/index.php?title=Special:Contact">Contact</a></li>' ).appendTo( '#p-wikicities-nav  > .pBody > ul' );*/ } }

if ( !document.getElementById( 'ca-wwwstuff' ) ) { if ( skin === 'oasis' || skin === 'wikia' ) { $( '<li id="ca-wwwstuff"><a href="/index.php?title=Special:RandomWiki">Τυχαίο wiki</a></li>' ).appendTo( '#my-tools-menu' ); } else { $( '<li id="ca-wwwstuff"><a href="/index.php?title=Special:CreateWiki" class="button">Δημιούργησε ένα Wiki</a></li>' ).appendTo( '#p-wikicities-nav > .pBody > ul' ); $( '<li id="ca-wwwstuff"><a href="/index.php?title=Special:RandomWiki">Τυχαίο wiki</a></li>' ).appendTo( '#p-wikicities-nav  > .pBody > ul' ); } }

/* Masthead redesign **/ // global footer recolor (function gfootclr {   if ( document.querySelector('.UserProfileMasthead') !== null ) {        mw.util.addCSS('' + ' .WikiaUserPagesHeader {\n' + //           'background-color: ' + wgSassParams['color-body'] + ';\n' + 'background-color:transparent;\n' + 'background-image:none;\n' + '}' +           '.UserProfileMasthead .masthead-avatar {\n' + 'top: inherit;' + 'width: 134px;' + 'height: 134px;' + 'position:static;' + 'margin:1vh auto 2vh' + '}' +           '.UserProfileMasthead .masthead-avatar .avatar {\n'+ 'max-height: 130px;' + 'max-width: 130px;' + '}' +           '.UserProfileMasthead .masthead-info {\n' + 'margin-left: 3px;' + 'margin-right: 3px' + '}' +           '.UserProfileMasthead .masthead-avatar .avatar-controls {\n' + 'position:absoulte;' + 'top:-20px;' + '}' +   '.UserProfileMasthead .masthead-info-lower:before {\n' + 'border: none;' + '}' +       '.UserProfileMasthead .masthead-info hgroup {\n' + 'text-align:center;' + 'height: auto;' + 'overflow: visible;' + 'padding: 8.2px;' + 'background-image: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.06), rgba(0,0,0,0.02), rgba(0,0,0,0));' + 'background-color: rgba(255,255,255,0.1)!important;' + 'color:#1a1a1a;' + '}' +       '.oasis-dark-theme .UserProfileMasthead .masthead-info hgroup {\n' + 'background-image: linear-gradient(to bottom, rgba(255,255,255,0.1), rgba(255,255,255,0.06), rgba(255,255,255,0.02), rgba(0,0,0,0));' + 'background-color: rgba(0,0,0,0.1)!important;' + 'color:#d4d5d5;' + '}' +       '.UserProfileMasthead .masthead-info .tag {\n' + 'background-color:' + wgSassParams['color-links'] + ';' + 'background-image: linear-gradient(to top, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0) 33%, rgba(0,0,0,0) 42%, rgba(0,0,0,0.1) 100%));' +       '}' +    '@media screen and (min-width: 1596px) {\n' +        '.UserProfileMasthead .masthead-info h1 {\n' +            'font-size: 30px;' +            'line-height: 30px;' +        '}' +    '}' +    '.UserProfileMasthead .masthead-info h1 {\n' +        'font-size: 26px;' +        'line-height: 26px;' + //        'color:' + $('.wds-community-header__sitename a').css('color') + ';' +    '}' +    '.UserProfileMasthead .masthead-info h2 {\n' + //        'color:' + $('.wds-community-header__sitename a').css('color') + ';' +    '}' +        '.UserProfileMasthead .masthead-info > div {\n' +            'padding: 8.2px;' +        '}' +    '@media screen and (max-width: 1023px) {\n' +        '.UserProfileMasthead .masthead-info div {\n' +            'width: 265px !important;' + '}' +   '}' +    '.UserProfileMasthead .wikis span {\n' + 'text-align: left;' + 'width: 122px;' + '}' +   '.UserProfileMasthead .wikis ul {\n' + 'width: 368px;' + '}' +   '.UserProfileMasthead .details li {\n' + 'padding-top: 3px;' + '}' +   '.UserProfileMasthead .tally {\n' + 'margin-bottom: 0;' + 'padding: 0;' + '  }' +    '.UserProfileMasthead .masthead-info .group {\n' + '-webkit-border-radius: 9px;' + '-moz-border-radius: 9px;' + 'border-radius: 9px;' + 'color: black;' + '}' +   // masthead image '.masthead-avatar .avatar {\n' + '-webkit-transition: all 0.6s ease;' + '-moz-transition: all 0.6s ease;' + '-o-transition: all 0.6s ease;' + '-ms-transition: all 0.6s ease;' + 'transition-property:border-radius, filter, -webkit-filter, box-shadow, transform;' + 'transition-duration:0.6s;' + 'transition-timing-function:ease-in-out;' + 'border-color:' + wgSassParams['color-header'] + ';' + 'outline-color:' + wgSassParams['color-header'] + ';' + '}' +   '.masthead-avatar  .avatar:hover {\n' + 'border-radius: 100%!important;' + // In some wikis, avatar does not round 'filter:hue-rotate(-120deg)!important;' + '-webkit-filter:hue-rotate(-120deg)!important;' + 'box-shadow:0 0 20px ' + wgSassParams['color-links'] + ';' + '-webkit-transform: rotate(360deg);' + '-moz-transform: rotate(360deg);' + '-o-transform: rotate(360deg);' + '-ms-transform: rotate(360deg);' + 'transform:rotate(360deg);' + '}' + '.masthead-avatar .avatar:active {\n' + '-webkit-transform:skewX(7deg) skewY(-9deg);' + '-moz-transform:skewX(7deg) skewY(-9deg);' + '-o-transform:skewX(7deg) skewY(-9deg);' + '-ms-transform:skewX(7deg) skewY(-9deg);' + 'transform:skewX(7deg) skewY(-9deg);' + '}' + // Buttons '#WikiaUserPagesHeader ul.tabs li a {\n' + // 'background-image: linear-gradient(to top, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0) 33%, rgba(0,0,0,0) 42%, rgba(0,0,0,0.1) 100%);' + 'background-image:none!Important;' + // Needed to remove the gradients on wikis with new A     'background-color: ' + wgSassParams['color-body'] + ';'+ 'color:#fff;' + 'border-color: ' + wgSassParams['color-body'] + ';' + 'border-radius:5px 5px 0 0!important;' + 'transition-duration:0.17s;' + 'transition-property:background-color, border-color, color, transform, opacity;' + 'opacity:0.8;' + '}' +

'#WikiaUserPagesHeader ul.tabs li a:hover {\n' + // 'background-image: linear-gradient(to bottom, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0) 33%, rgba(0,0,0,0) 42%, rgba(0,0,0,0.1) 100%);' + 'background-color:' + wgSassParams['color-body'] + ';' + 'color:#fff;' + 'border-color:' + wgSassParams['color-body'] + ';' + 'opacity:1;' + '}' +

'#WikiaUserPagesHeader ul.tabs li a:active {\n' + // 'background-image: linear-gradient(to top, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0) 33%, rgba(0,0,0,0) 42%, rgba(0,0,0,0.1) 100%);' + 'background-color:' + wgSassParams['color-links'] + ';' + 'color:#fff;' + 'border-color:' + wgSassParams['color-links'] + ';' + 'transform:scale(0.9);' + 'box-shadow:0 0 10px 0 rgba(0,0,0,0.3) inset;' + 'opacity:1;' + '}' +   '.oasis-dark-theme #WikiaUserPagesHeader ul.tabs li a:active {' + 'box-shadow:0 0 10px 0 rgba(255,255,255,0.3) inset ;' + '}' +

'#WikiaUserPagesHeader ul.tabs li.selected a {\n' + // 'background-image: linear-gradient(to bottom, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0) 33%, rgba(0,0,0,0) 42%, rgba(0,0,0,0.1) 100%);' + 'background-color:' + wgSassParams['color-buttons'] + ';' + 'color:#fff;' + 'border-color:' + wgSassParams['color-buttons'] + ';' + 'opacity:1;' + '}' +

'#WikiaUserPagesHeader ul.tabs li.selected a:hover {\n' + // 'background-image: linear-gradient(to top, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0) 33%, rgba(0,0,0,0) 42%, rgba(0,0,0,0.1) 100%);' + 'background-color:' + wgSassParams['color-buttons'] + ';' + 'color:#fff;' + 'border-color:' + wgSassParams['color-buttons'] + ';' + 'opacity:1;' + '}' );   } });

/** Modules **/ // Rail Modules redesign (function gfootclr {   if ( document.querySelector('.WikiaRail') !== null ) {        mw.util.addCSS('' + '.WikiaRail .rail-module h2:not(#MainHeading) {\n' + 'border:2px double ' + wgSassParams['color-links'] + '!important;' + 'border-bottom:2px double ' + wgSassParams['color-links'] + '!important;' + 'font-family:"Arelousa",Audiowide, Orbitron, Arial Nova, Arial;' + 'font-size:15px!important;' + 'background-image: linear-gradient(to top, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0) 33%, rgba(0,0,0,0) 42%, rgba(0,0,0,0.1) 100%);' + 'background-color:'+ $('.wds-community-header').css('background-color') + ' !important;' + 'color:'+ wgSassParams['color-links'] + ';' + 'border-radius:1.5px;' + 'margin-top:0;' + '}' + '.WikiaRail .rail-module h3 {\n' + 'border:2px double ' + wgSassParams['color-links'] + '!important;' + 'border-bottom:2px double ' + wgSassParams['color-links'] + '!important;' + 'font-family:"Arial Nova", Arial;' + 'font-size:10px!important;' + 'background-image: linear-gradient(to bottom, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0) 33%, rgba(0,0,0,0) 66%, rgba(0,0,0,0.1) 99%);' + 'background-color:'+ $('.wds-community-header').css('background-color') + ' !important;' + 'color:'+ wgSassParams['color-links'] + ';' + 'border-radius:1.5px;' + 'margin-top:1px;' + '}' + '.WikiaRail .rail-module h2.has-icon svg, .WikiaRail .rail-module h3.has-icon svg {\n' + 'fill:'+ wgSassParams['color-links'] + ';' + '}' +

'.rail-module {\n' + 'background-color:rgba(255,255,255,0.46);' + 'border:2px double rgba(0,0,0,0.15);' + 'padding:1em 0.5em 1em;' + '}' +

'.WikiaRail .rail-module .wds-button.wds-is-secondary {\n' + 'border-color:transparent!important;' + 'color:black;' + 'background-color:transparent;' + 'transition-property:background-color,border-color,color,transform;' + '}' +

'.oasis-dark-theme .WikiaRail .rail-module .wds-button.wds-is-secondary {\n' + 'color:white;' + '}' +

' .oasis-dark-theme .WikiaRail .rail-module .wds-button.wds-is-secondary:hover, .oasis-dark-theme .WikiaRail .rail-module .wds-button.wds-is-secondary:active, .oasis-dark-theme .WikiaRail .rail-module .wds-button.wds-is-secondary:focus {\n' + 'color:white!important;' + '}' +

'.WikiaRail .rail-module .wds-button.wds-is-secondary:hover, .WikiaRail .rail-module .wds-button.wds-is-secondary:active, .WikiaRail .rail-module .wds-button.wds-is-secondary:focus {\n' + 'border-color:'+ wgSassParams['color-links'] + '66!important;' + 'color:black!important;' + 'background-color:'+ wgSassParams['color-links'] + '66!important;' + '}' +

/// Part of the active state in where it gives fluent system is not yet implemented properly

'.WikiaRail .rail-module .wds-button.wds-is-secondary:active{\n' + 'border-color: '+ wgSassParams['color-links'] + '99!important;' + 'color:black!important;' + 'background-color: '+ wgSassParams['color-links'] + '99!important;' + 'transform:scale(0.9);' + 'box-shadow:0 0 10px 0 rgba(0,0,0,0.3) inset;' + '}' +

'.oasis-dark-theme .WikiaRail .rail-module .wds-button.wds-is-secondary:active {\n' + 'box-shadow:0 0 10px 0 rgba(255,255,255,0.3) inset;' + '}' +

'.oasis-dark-theme .WikiaRail .rail-module .wds-button.wds-is-secondary {\n' + 'color:white!important;' + '}' + // Chat Module '.wds-is-secondary.wds-button.start-a-chat-button {\n' + 'padding-top:3px;' + 'padding-bottom:3px;' + //// Some additional 'padding-left:6px;' + 'padding-right:6px;' + //// End "Some additional" 'position:absolute;' + 'top:5px;' + 'right:5px;' + '}' +

'.chat-module {\n' + 'border-top:5px groove ' + wgSassParams['color-buttons'] + ';' + 'border-left:5px groove ' + wgSassParams['color-buttons'] + ';' + 'border-bottom:5px ridge ' + wgSassParams['color-buttons'] + ';' + 'border-right:5px ridge ' + wgSassParams['color-buttons'] + ';' + 'border-radius:26px;' + 'background-color:rgba(255,254,235,0.5);' + '}' +

'.rtl .chat-module {\n' + 'border-left-style:ridge!important;' + 'border-right-style:groove!important;' + '}' +

'.chat-module .avatars {\n' + 'border:2px double ' + wgSassParams['color-links'] + ';' + 'background-color:rgba(0,0,0,0.1);' + 'border-radius:14px;' + 'padding:4px;' + '}' + // Temporary CSS to fix the wikis using the new A Beta version in personal or sitewide level in where they use .chat-details to style the chat avatars container '.chat-module .chat-details {\n' + 'border:0;' + 'background-color:transparent!important;' + 'border-radius:0;' + 'padding:0;' + '}' +

'.chat-module .wds-avatar {\n' + 'border:2px double ' + wgSassParams['color-links'] + '!important;' + 'border-radius:14px 28px;' + '}' +

'.chat-module .chat-details .avatars .wds-avatar-stack {\n' + 'max-width: none !important;' +

'}' + '.chat-module .chat-details .avatars .wds-avatar-stack .wds-avatar-stack__avatar {\n' + 'transform: none;' + 'z-index: auto;' + 'height:auto;' + 'margin-right: 10px;'+ '}' + '.chat-module .chat-details .avatars .more-users-count {\n' + 'margin-left: 10px;' + '}' +   '@media screen and (max-width: 1023px) {\n' + '.chat-module .chat-details .avatars .wds-avatar-stack .wds-avatar-stack__avatar {\n' + 'margin-right: 17px;'+ '}' + '.chat-module .chat-details .avatars .more-users-count {\n' + 'margin-left: 20px;' + '}' +   '}' + // Activity Module '.activity-module {\n' + 'border-top:5px groove ' + wgSassParams['color-links'] + '!important;' + 'border-left:5px groove ' + wgSassParams['color-links'] + '!important;' + 'border-bottom:5px ridge ' + wgSassParams['color-links'] + '!important;' + 'border-right:5px ridge ' + wgSassParams['color-links'] + '!important;' + 'border-radius:26px;' + 'background-color:rgba(235,254,255,0.5);' + '}' +

'.rtl .activity-module {\n' + 'border-left-style:ridge!important;' + 'border-right-style:groove!important;' + '}' +

'.activity-module .wds-avatar {\n' + 'border:2px double ' + wgSassParams['color-buttons'] + '!important;' + 'border-radius:14px 28px;' + '}' +   // Community module tweaks '.community-page-rail-module {\n' + 'border-top-color:transparent!important;' + // submodule gets bugged if we remove the border '}' +   '.community-page-rail-module .wds-avatar-stack {\n' + 'max-width:none!important;' + 'margin:8px 18px 6px 40px!important;' + '}' +

'.community-page-rail-module .wds-avatar-stack__avatar {\n' + 'z-index: auto;' + 'transform: none;' + 'height: auto;' + 'margin-right: 20px;' + 'left: 20px;' + '}' +   '.community-page-rail-module .avatars {\n' + 'border:2px double ' + wgSassParams['color-buttons'] + ';' + 'background-color:rgba(0,0,0,0.1);' + 'padding:4px 4px 4px 0;' + 'border-radius:14px;' + 'right:-4px;' + 'margin-top:-4px!important;' + '}' +

// TFA Module '.recirculation-unit {\n' + 'border-top:5px groove ' + wgSassParams['color-body'] + '!important;' + 'border-left:5px groove ' + wgSassParams['color-body'] + '!important;' + 'border-bottom:5px ridge ' + wgSassParams['color-body'] + '!important;' + 'border-right:5px ridge ' + wgSassParams['color-body'] + '!important;' + 'border-radius:26px;' + 'background-color:rgba(255,235,254,0.5);' + '}' +

'.rtl .recirculation-unit {\n' + 'border-left-style:ridge!important;' + 'border-right-style:groove!important;' + '}' +

'.recirculation-unit .wds-avatar {\n' + 'border:2px double ' + wgSassParams['color-buttons'] + '!important;' + 'border-radius:14px 28px;' + '}' +

'.recirculation-unit h2 {\n' + 'white-space:nowrap!important;' + // Needed to fix the two-line heading 2 'font-size:14px!important;' + '}' + // Forum Activity Module '.forum-activity-module {\n' + 'border-top:5px groove ' + wgSassParams['color-body'] + '!important;' + 'border-left:5px groove ' + wgSassParams['color-body'] + '!important;' + 'border-bottom:5px ridge ' + wgSassParams['color-body'] + '!important;' + 'border-right:5px ridge ' + wgSassParams['color-body'] + '!important;' + 'border-radius:26px;' + 'background-color:rgba(235,255,254,0.5);' + '}' +

'.rtl .forum-activity-module {\n' + 'border-left-style:ridge!important;' + 'border-right-style:groove!important;' + '}' +

'.forum-activity-module .wds-avatar {\n' + 'border:2px double ' + wgSassParams['color-buttons'] + '!important;' + 'border-radius:14px 28px;' + '}' + // See more activity button fix '#seemoreactivity-button {\n' + 'padding-top:5px!important;' + 'padding-bottom:5px!important;' + 'margin-top:-28px;' + '}'

);   } });

/* Community-header change

(function gfootclr {   if ( document.querySelector('.wds-community-header') !== null ) {        mw.util.addCSS('' + '.wds-community-header {\n' + 'border:1px solid' + $('.wds-dropdown__content').css('border-left-color') + ';' + 'border-bottom:0!important;' + 'background-image:none!important;' + 'color:' + wgSassParams['color-text'] + '!important;' + 'background-color:transparent!important;' + 'color:'+ $('#WikiaPage').css('color') + '!important;' + '}' +

'.wds-community-header::before {\n' + 'opacity:' + wgSassParams['page-opacity'] + '!important;' + 'background-image:' + wgSassParams['color-page'] + '!important' + '}' +

'.WikiaPage {\n' + 'border-color:' + wgSassParams['color-page-border'] + '!important;' + 'border-top:0!important' + 'color:' + wgSassParams['color-text'] + '!important;' + '}' +

'@media only screen and (min-width: 3px) and (max-width: 1023px) {\n' + '.wds-community-header {\n' + 'width:766px;' + '}' + '}' +

'@media only screen and (min-width: 1024px) and (max-width: 1083px) {\n' + '.wds-community-header {\n' + 'width:1004px;' + '}' + '}' +

'@media only screen and (min-width: 1084px) and (max-width: 1595px) {\n' + '.wds-community-header {\n' + 'width:1064px;' + '}' + '}' +

'@media only screen and (min-width: 1596px) and (max-width: 99999999px) {\n' + '.wds-community-header {\n' + 'width:1238px;' + '}' + '}' );   } });*/