ryenus / yblue

// ==UserScript==
// @name         yblue
// @namespace    https://wiki.hybris.com/
// @version      1.22
// @description  [y]blue makes hybris wiki/help blue again
// @updateURL    https://openuserjs.org/meta/ryenus/yblue.meta.js
// @downloadURL  https://openuserjs.org/install/ryenus/yblue.user.js
// @include      https://wiki.hybris.com/*
// @include      https://cxwiki.sap.com/*
// @include      https://help.hybris.com/*
// @include      https://help.sap.com/*
// @license      MIT
// @grant        GM_addStyle
// ==/UserScript==

(function(s) {
    GM_addStyle(s._all + s[location.hostname]);
})({
_all: ``,
"cxwiki.sap.com": `
#sharp_design_top { padding: 12px 0; }
#notifications-anchor { padding-top: 9px !important; }
#sharp_design_banner, header, footer, #breadcrumb-container, #versionmenu, .auth-page__hero { background: #004bb0; }
#main a, #main a *, .hyDash-widget-header { color: #27e !important; }
#content a:visited { color: #3572b0 !important; }
#rw_left_column .rw_page_left_section { display: none; }`,
"help.sap.com": `
.actions { z-index: 1; }
.hero-title { min-height: 41px; }
/* #cp-header, #cp-footer { background: #004bb0 !important; } */
#cp-hero.cp-viewer-hero { padding-bottom: 30px; background-position-y: -311px; }
#rw-container { visibility: hidden; }
#topic { top: -1.1em !important; margin-right: 0 !important; margin-bottom: -16px !important; }
#page { padding: 10px 10px 40px; margin: 0; }
#page .topictitle1 { font-size: 2.5em; }
div.next-and-prev { top: 0; bottom: 10px !important; }
a#toc-prev:after, a#toc-next:before, a#toc-prev:before, a#toc-next:after { top: 1px; }`
});