ngzero / Intrexx m:con Menü-fix

// ==UserScript==
// @name         Intrexx m:con Menü-fix
// @namespace    http://tampermonkey.net/
// @copyright    2020, ngzero (https://openuserjs.org/users/ngzero)
// @license      CDDL-1.0
// @version      0.3
// @description  Behebt das Problem, dass die Elemente der Navigationsleiste die Elemente eines nachrangigen Navigationsmenü überdecken.
// @author       Steven Spyrka
// @match        https://intranet-portal.mcon-mannheim.de/intranet-portal/
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    function addGlobalStyle(css) {
        var head, style;
        head = document.getElementsByTagName('head')[0];
        if (!head) { return; }
        style = document.createElement('style');
        style.type = 'text/css';
        style.innerHTML = css;
        head.appendChild(style);
    }

    addGlobalStyle(
`.level1.list { z-index: 999 }
@media only screen and (min-width: 64.0625em) {
   #Action_Search_Global { top: -40px !important }
}
#Container_Menu_Droplist + div {
   margin-right: 300px;
   top: -40px !important;
}
`);

})();