z css

a

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name        z css
// @description a
// @match       https://chat.z.ai/*
// @run-at      document-start
// @version 0.0.1.20251201155813
// @namespace https://greasyfork.org/users/1435046
// ==/UserScript==

(function () {
    const css = `
:root {
color-scheme: light dark !important;
}

*:not(div[data-language="python"]):not(div[data-language="python"] *):not(code):not(code *) {
    color: revert !important;
}

*{
    background: revert !important;
min-width: revert !important;
}

nav {
    background-color: canvas !important;
}

div:has(> div > div > div > button > svg > path[d^="M10 3a.75.75 0 01.75.75v10.638l3.96-4.158a.75.75"]) {
    display: none !important;
}

div.chat-user > div > div > div.rounded-xl {
    background-color: red !important;
    color: black !important;
}

button:has(> svg.rotate-45 > path[d^="M512 853.333333c-25.6"]) {
    display: none !important;
}

div:has(> div > div.suggestionContainer) {
    display: none !important;
}

div[data-popover-content] {
    display: none !important;
}
  `;
    const style = document.createElement('style');
    style.id = 'zCssStyleId';
    style.textContent = css;
    document.head.appendChild(style);
})();