User:HM100/global.js

if ($(".wds-global-navigation.wds-is-wikia-org").length === 0) { importStylesheetPage('User:HM100/navbar-customization.css', 'community'); }

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

$(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 */

/* Global Nav Links */ $(".wds-global-navigation__links").empty; $(".wds-global-navigation__links").append("Q.Qore</a>"); $(".wds-global-navigation__links").append(	"<div class='wds-dropdown wds-global-navigation__link-group wds-has-dark-shadow'>" +		"<div href='' class='wds-dropdown__toggle wds-global-navigation__dropdown-toggle wds-global-navigation__link'>" +			" Fandom " +           '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" class="wds-icon wds-icon-tiny wds-dropdown__toggle-chevron" id="wds-icons-dropdown-tiny">' +              '<path d="M6.0001895,8.80004571 C5.79538755,8.80004571 5.5905856,8.72164496 5.43458411,8.56564348 L2.23455364,5.365613 C2.00575146,5.13681083 1.93695081,4.79280755 2.06095199,4.4936047 C2.18415316,4.19440185 2.47695595,4 2.80015903,4 L9.20021997,4 C9.52342305,4 9.81542583,4.19440185 9.93942701,4.4936047 C10.0634282,4.79280755 9.99462754,5.13681083 9.76582536,5.365613 L6.56579489,8.56564348 C6.4097934,8.72164496 6.20499145,8.80004571 6.0001895,8.80004571 Z" fill-rule="evenodd">' + ' ' +		" " +		"<div class='wds-is-not-scrollable wds-dropdown__content'>" + "<ul class='wds-list wds-is-linked'>" + " Games</a>" + "</li>" + " Movies</a>" + "</li>" + " TV</a>" + "</li>" + "<li class='wds-is-sticked-to-parent wds-dropdown-level-2'> <a class='wds-dropdown-level-2__toggle'> Wikis <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' class='wds-icon wds-icon-tiny wds-dropdown-chevron' id='wds-icons-menu-control-tiny'><path d='M11.707 3.293a.999.999 0 0 0-1.414 0L6 7.586 1.707 3.293A.999.999 0 1 0 .293 4.707l5 5a.997.997 0 0 0 1.414 0l5-5a.999.999 0 0 0 0-1.414' fill-rule='evenodd'> </a>" + "<div class='wds-is-not-scrollable wds-dropdown-level-2__content'>" + "<ul class='wds-list wds-is-linked'>" + "<li> <a href='https://www.fandom.com/explore' data-tracking-label='link.explore'>Explore Wikis</a></li>" + "<li> <a href='https://community.fandom.com' data-tracking-label='link.explore'>Community Central</a></li>" + "<li> <a href='https://ucp.fandom.com/wiki/Special:CreateNewWiki' class='wds-button wds-is-secondary wds-global-navigation__link-button' data-tracking-label='link.start-a-wiki'>Start a Wiki</a> </li>" + "</ul>" + " " +				"</li>" + "</ul>" + " " +	" " ); $(".wds-global-navigation__links").append( "<div class='wds-dropdown wds-global-navigation__link-group wds-has-dark-shadow'>" + "<div href='' class='wds-dropdown__toggle wds-global-navigation__dropdown-toggle wds-global-navigation__link'>" + " A Techno " + '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" class="wds-icon wds-icon-tiny wds-dropdown__toggle-chevron" id="wds-icons-dropdown-tiny">' + '<path d="M6.0001895,8.80004571 C5.79538755,8.80004571 5.5905856,8.72164496 5.43458411,8.56564348 L2.23455364,5.365613 C2.00575146,5.13681083 1.93695081,4.79280755 2.06095199,4.4936047 C2.18415316,4.19440185 2.47695595,4 2.80015903,4 L9.20021997,4 C9.52342305,4 9.81542583,4.19440185 9.93942701,4.4936047 C10.0634282,4.79280755 9.99462754,5.13681083 9.76582536,5.365613 L6.56579489,8.56564348 C6.4097934,8.72164496 6.20499145,8.80004571 6.0001895,8.80004571 Z" fill-rule="evenodd">' + ' ' +		" " +		"<div class='wds-is-not-scrollable wds-dropdown__content'>" + "<ul class='wds-list wds-is-linked'>" + "<li> <a href='https://alphafoundation.fandom.com/el/wiki/Techno_Company'>Company</a>" + "</li>" + "<li class='wds-dropdown-level-2'> <a class='wds-dropdown-level-2__toggle'> Core Wikis <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' class='wds-icon wds-icon-tiny wds-dropdown-chevron' id='wds-icons-menu-control-tiny'><path d='M11.707 3.293a.999.999 0 0 0-1.414 0L6 7.586 1.707 3.293A.999.999 0 1 0 .293 4.707l5 5a.997.997 0 0 0 1.414 0l5-5a.999.999 0 0 0 0-1.414' fill-rule='evenodd'> </a>" + "<div class='wds-is-not-scrollable wds-dropdown-level-2__content'>" + "<ul class='wds-list wds-is-linked'>" + "<li> <a href='https://kanal.fandom.com/el/wiki/' data-tracking-label='link.explore'>Kanal</a></li>" + "<li> <a href='https://techno.fandom.com/el/wiki/' data-tracking-label='link.explore'>Techno</a></li>" + "<li> <a href='https://bision.fandom.com/el/wiki/' data-tracking-label='link.explore'>PokéQore</a></li>" + "</ul>" + " " +				"</li>" + "<li class='wds-is-sticked-to-parent wds-dropdown-level-2'> <a class='wds-dropdown-level-2__toggle'> Suppliment Wikis <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' class='wds-icon wds-icon-tiny wds-dropdown-chevron' id='wds-icons-menu-control-tiny'><path d='M11.707 3.293a.999.999 0 0 0-1.414 0L6 7.586 1.707 3.293A.999.999 0 1 0 .293 4.707l5 5a.997.997 0 0 0 1.414 0l5-5a.999.999 0 0 0 0-1.414' fill-rule='evenodd'> </a>" + "<div class='wds-is-not-scrollable wds-dropdown-level-2__content'>" + "<ul class='wds-list wds-is-linked'>" + "<li> <a href='https://wb-wiki2.fandom.com/el/wiki/' data-tracking-label='link.explore'>Wall-Nut Bowling</a></li>" + "<li> <a href='https://scratch-mods-wiki-2.fandom.com/el/wiki/' data-tracking-label='link.explore'>Scratch and Snap Mods</a></li>" + "<li> <a href='https://web-qore.fandom.com/wiki/' data-tracking-label='link.explore'>WebQore</a></li>" + "</ul>" + " " +				"</li>" + "<li class='wds-is-sticked-to-parent wds-dropdown-level-2'> <a class='wds-dropdown-level-2__toggle'> Community-Managed Wikis <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' class='wds-icon wds-icon-tiny wds-dropdown-chevron' id='wds-icons-menu-control-tiny'><path d='M11.707 3.293a.999.999 0 0 0-1.414 0L6 7.586 1.707 3.293A.999.999 0 1 0 .293 4.707l5 5a.997.997 0 0 0 1.414 0l5-5a.999.999 0 0 0 0-1.414' fill-rule='evenodd'> </a>" + "<div class='wds-is-not-scrollable wds-dropdown-level-2__content'>" + "<ul class='wds-list wds-is-linked'>" + "<li> <a href='https://alpha-technologies.fandom.com/el/wiki/' data-tracking-label='link.explore'>A Wiki</a></li>" + "<li> <a href='https://alphafoundation.fandom.com/el/wiki/' data-tracking-label='link.explore'>A Foundations</a></li>" + "<li> <a href='https://alpha-styles.fandom.com/el/wiki/' data-tracking-label='link.explore'>A Styles</a></li>" + "</ul>" + " " +				"</li>" + "</ul>" + " " +	" " );

/* 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 */

/* Won't be required for UCP */

/* Το παρακάτω σενάριο θα βάλει το "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"><a href="/index.php?title=w:c:www:Special:RandomWiki" class="wds-is-squished wds-button wds-is-secondary" style="float:right; margin-top:-26px;">Τυχαίο wiki</a></li>' ).appendTo( '.mcf-header' );		} else {			$( '<li id="ca-wikiamb"><a href="/index.php?title=w:c:www:Special:CreateWiki">Δημιούργησε ένα Wiki</a></li>' ).appendTo( '#p-wikicities-nav  > .pBody > ul' ); $( '<li id="ca-wikiamb"><a href="/index.php?title=w:c:www:Special:RandomWiki">Τυχαίο wiki</a></li>' ).appendTo( '#p-wikicities-nav  > .pBody > ul' );    }  }*/  if ( !document.getElementById( 'ca-central' ) ) {        $( '<li id="ca-central"><a href="/index.php?title=w:c:community:Board:Technical Updates">Techinal Updates</a></li>' ).appendTo(  '#my-tools-menu'  );  }

if ( !document.getElementById( 'ca-wlb' ) ) { $( '<li id="ca-contact"><a href="/index.php?title=w:c:wlb">WLB Wiki</a></li>' ).appendTo( '#my-tools-menu'  );

} } );

if ( !document.getElementById( 'ca-contact' ) ) { $( '<li id="ca-contact"><a href=' + mw.config.get('wgScriptPath') + '/wiki/Special:Contact>Contact Wikia</a></li>' ).appendTo( '#my-tools-menu'  ); }

/* 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,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!important;' + 'top:5px!important;' + 'right:5px!important;' + '}' +

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

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

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

);   } });