User:HM100/global.js

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

/* Per Wiki Imports */

if (wgCityId == '177' || wgCityId == '65099') { // VSTF Wiki and Community Central //importStylesheetPage('User:HM100/scratch.css', 'community'); //importStylesheetPage('MediaWiki:MiniGlobalNav.css', 'dev'); }

if (wgCityId == '7931' || wgCityId == '658996') { //Dev Wiki and Candy Crush Saga Wiki window.fdButtons = [];

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

window.railWAM = { logPage: 'User:HM100/RailWam', loadOnPage: 'Special:WikiActivity', lang: 'el', appendAfter: ['.chat-module'], };

/* Only Load LastEdited on non-MS Browsers */ if (!((navigator.userAgent.match("Edge")) || (navigator.userAgent.match("Trident")))) { importArticles( {   type: 'script',    articles: [,       'u:dev:LastEdited/code.js',       'u:dev:PageEditInfo/code.js'    ] } ); }

importArticles( {   type: 'script',    articles: [,        'u:dev:FastDelete/code.js',        'u:dev:MediaWiki:RailWAM/code.js'    ] } ); }

//importStylesheetPage('User:HM100/navbar-haks.css', 'candycrush'); if ($(".wds-global-navigation.wds-is-wikia-org").length == 0) { importStylesheetPage('User:HM100/navbar-customization.css', 'community'); } /* if (wgCityId != '177') { $(function {   var config = mw.config.get([ 'wgCityId' ]);

$('.WikiaMainContent').prepend( ' ' + config.wgCityId + '	 ' ); } );

} /**/

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 { $('div[id^="br_video_player_"]').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 */

/* 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: 'User:HM100/navbar-customization.css', // this is the page that lists the LESS files to compile source: 'User:HM100/navbar-customization.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: [ 'User:HM100/navbar-customization.css', 'User:HM100/navbar-customization.less' ],   // this is the page that contains the comment header for the target page // all other comments are stripped during compilation header: 'User:HM100/navbar-customization' });

window.lessConfig = { // reloads the page after the target page has successfully been updated // defaults to true reload: true, // wraps the parsed CSS in pre tags to prevent any unwanted links to templates, pages or files // defaults to true wrap: true, // for adding non-standard user groups that can edit the mediawiki namespace // normally this is limited to staff, vstf, helpers and sysops/admins // but if there are other groups that can edit the namespace on your wiki // add them to the array here for the script to load for them allowed: ['user'] };

//window.SeeMoreActivityButtonOld = true; /** 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:MassPatrol/code.js',        'u:dev:MassProtect/code.js',        'u:dev:MassRename/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:shining-armor:MediaWiki:ChatTags/code.js',    //    "u:nanaki:MessagingCleanup.js",        'u:dev:GlobalEditcount/code.js',        'u:dev:ViewInContentLang/code.js',       // 'u:dev:Multikick.js',        //'u:dev:LastEdited/code.js',        'u:dev:GlobalChatJS.js', 'u:dev:SeeMoreActivityButton/code.js', 'u:dev:ConsistentModules.js', 'u:dev:ConsistentModules/code.js', "u:dev:AnchoredRollback/code.js", 'u:dev:RedirectManagement/code.js', //'u:dev:ModernButtons/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:dev:MediaWiki:HorizontalMCF.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:ConnectedGlobalFooter/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' + '}' +   '@media screen and (max-width: 1083px) {\n' + '.WikiaUserPagesHeader {\n ' + 'padding:0;' + '}' +           '.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:0px;' + '}' +       '}'  + '@media screen and (min-width: 1084px) {\n' + '.UserProfileMasthead .masthead-avatar {\n' + 'top: inherit;' + 'width: 144px;' + 'height: 144px;' + '}' + '.UserProfileMasthead .masthead-avatar .avatar {\n' + 'max-height: 140px;' + 'max-width: 140px;' + '}' +       '.UserProfileMasthead .masthead-info {\n' + 'margin-left: 155px;' + '}' +

'.UserProfileMasthead .masthead-avatar .avatar-controls {\n' + '  top:-5px;' + '}' +   '}' +    '.UserProfileMasthead .masthead-info-lower:before {\n' + 'border: none;' + '}' +       '.UserProfileMasthead .masthead-info hgroup {\n' + 'text-align:center;' + 'height: auto;' + 'overflow: visible;' + 'padding: 8.2px;' + 'text-transform:none;' + 'background-image:none;' + 'border-bottom:3px solid;' + 'font-variant:small-caps;' + 'background-color:' + wgSassParams['color-buttons'] + '!important;' + '}' +       '.UserProfileMasthead .masthead-info .tag {\n' + 'background-color:' + wgSassParams['color-links'] + ';' + 'border:1px solid;' + 'border-radius:15px;' + '}' +   '@media screen and (min-width: 1596px) {\n' + '.UserProfileMasthead .masthead-info h1 {\n' + 'font-size: 32px;' + 'line-height: 30px;' + '}' +   '}' +    '.UserProfileMasthead .masthead-info h1 {\n' + 'font-size: 28px;' + '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: 8px;' + '}' +   '@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' + 'transition-property:transform, box-shadow;' + 'transition-duration:0.6s;' + 'transition-timing-function:ease;' + 'border-radius:50% 100%!important;' + 'border:0!important' + '}' +   '.masthead-avatar  .avatar:hover {\n' + 'border-radius:100% 50%!important;' + 'transform: scale(0.8);' + 'box-shadow:0 0 4px rgba(12,12,12,0.3) inset;' + '}' +

'.oasis-dark-theme .masthead-avatar .avatar:hover {\n' + 'box-shadow:0 0 4px rgba(241,241,241,0.3) inset;' + '}' +

/* Tabs Redesign */ '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;' + '}' +

'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;' + '}' +

'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 ul.tabs li a:active {' + 'box-shadow:0 0 10px 0 rgba(255,255,255,0.3) inset ;' + '}' +

'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;' + '}' +

'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;' + '}' +   '.tabs li {' + 'display:inline-block;' + 'float:none;' + 'margin:0 2px;' + '}' );   } });

/** 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 Cond,Arial Nova,Arial Narrow,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;' + 'display:flex;' + 'align-items:center;' + '}' + '.WikiaRail .rail-module h3 {\n' + 'border:2px double ' + wgSassParams['color-links'] + '!important;' + 'border-bottom:2px double ' + wgSassParams['color-links'] + '!important;' + 'font-family:"Arial Nova Cond", Arial Nova, Arial Narrow 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;' + 'display:flex;' + 'align-items:center;' + '}' + '.WikiaRail .rail-module h2.has-icon svg, .WikiaRail .rail-module h3.has-icon svg {\n' + 'fill:'+ wgSassParams['color-links'] + ';' + '}' +

'.WikiaRail .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;' + 'margin-left:5px;' + 'margin-right:5px;' + '}' +

'.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;' + 'font-size:11px!important;' + 'padding:5px 13px;' + '}' +

'.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!important;' + 'padding-bottom:3px!important;' + //// Some additional 'padding-left:6px!important;' + 'padding-right:6px!Important;' + //// End "Some additional" 'position:absolute;' + 'top:5px;' + 'right:5px;' + '}' +

'.WikiaRail .rail-module.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 .WikiaRail .rail-module.chat-module {\n' + 'border-left-style:ridge!important;' + 'border-right-style:groove!important;' + '}' +

'.WikiaRail .rail-module.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;' + '}' +

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

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

'}' + '.WikiaRail .rail-module.chat-module .chat-details .avatars .wds-avatar-stack .wds-avatar {\n' + 'transform: none;' + 'z-index: auto;' + 'height:auto;' + 'margin-right: 10px;'+ '}' + '.WikiaRail .rail-module.chat-module .chat-details .avatars .more-users-count {\n' + 'margin-left: 10px;' + '}' +   '@media screen and (max-width: 1023px) {\n' + '.WikiaRail .rail-module.chat-module .chat-details .avatars .wds-avatar-stack .wds-avatar {\n' + 'margin-right: 17px;'+ '}' + '.WikiaRail .rail-module.chat-module .chat-details .avatars .more-users-count {\n' + 'margin-left: 20px;' + '}' +   '}' + // Activity Module '.WikiaRail .rail-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 .WikiaRail .rail-module.activity-module {\n' + 'border-left-style:ridge!important;' + 'border-right-style:groove!important;' + '}' +

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

'.WikiaRail .rail-module .community-page-rail-module .wds-avatar {\n' + 'z-index: auto;' + 'transform: none;' + 'height: auto;' + 'margin-right: 20px;' + 'left: 20px;' + '}' +   '.WikiaRail .rail-module .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 '.WikiaRail .rail-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 .WikiaRail .rail-module.recirculation-unit {\n' + 'border-left-style:ridge!important;' + 'border-right-style:groove!important;' + '}' +

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

'.WikiaRail .rail-module.recirculation-unit h2 {\n' + 'white-space:nowrap!important;' + // Needed to fix the two-line heading 2 'font-size:14px!important;' + '}' + // Forum Activity Module '.WikiaRail .rail-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 .WikiaRail .rail-module.forum-activity-module {\n' + 'border-left-style:ridge!important;' + 'border-right-style:groove!important;' + '}' +

'.WikiaRail .rail-module.forum-activity-module .wds-avatar .wds-avatar__image {\n' + 'border:2px double ' + wgSassParams['color-buttons'] + '!important;' + 'border-radius:14px 28px;' + '}' + // See more activity button fix '#seemoreactivity-button {\n' + 'padding-top:3px!important;' + 'padding-bottom:3px!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;' + '}' + '}' );   } });*/