Custom SchoolLoop

Injects custom CSS on any Schoolloop portal

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name     Custom SchoolLoop
// @version  1
// @grant    none
// @include https://*.schoolloop.com/* 
// @description Injects custom CSS on any Schoolloop portal
// @namespace https://greasyfork.org/users/161237
// ==/UserScript==
function addCss(cssString) {
var head = document.getElementsByTagName('head')[0];
var newCss = document.createElement('style');
newCss.type = "text/css";
newCss.innerHTML = cssString;
head.appendChild(newCss);
} // CSS Injector
addCss (
'#container_header_links { background-color: #bb4a4a !important; } .icon_settings2 { border-left: 0 !important; } .link_block_sm { border-right: 0 !important; } #container_header_top a, .red { color: white; } .header_icons a { color: #bb4a4a !important; } .header_icons a:hover { background-color: rgba(135, 157, 252, 0.5) !important; } a.icon_calendar:hover { border-radius: 0 3px 3px 0 !important; } a.icon_locker:hover, a.icon_dropbox:hover { border-radius: 0 !important; } a.icon_mail:hover { border-radius: 3px 0 0 3px !important; } .header_icons { background: none !important; background-color: rgb(242, 240, 233) !important; }'
); // Injects custom CSS on any Schoolloop portal