Nursebuddy - Remove Padding

Modifies padding and height on nurseBuddy.fi, primarily intended for the visit/schedule page though it also changes the client & carer calendar sizes and padding/transition effects globally

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name        Nursebuddy - Remove Padding
// @description Modifies padding and height on nurseBuddy.fi, primarily intended for the visit/schedule page though it also changes the client & carer calendar sizes and padding/transition effects globally
// @version     1.6
// @author      TomC
// @match       https://app.nursebuddy.fi/*
// @grant       GM_addStyle
// @license     MIT
// @namespace https://greasyfork.org/users/441
// ==/UserScript==

(function() {
    'use strict';

    GM_addStyle(`
        *,
        *::before,
        *::after {
            transition: none !important;
        }

        .contentDefaultPaddingBottom { padding-bottom: 0 !important; }
        .panel-heading { padding: 6px !important; }
        body.manager #shellContent { padding-left: 0 !important; padding-right: 0 !important; padding-top: 0 !important; }

        body.manager #mainContentContainer #breadCrumbAndContentContainer #topMenuBarContainer { height: 40px !important; min-height: 40px !important; }
        body.manager #mainContentContainer #breadCrumbAndContentContainer #breadCrumbs .breadCrumbsContainer { height: 40px !important; min-height: 40px !important; }
        [class*="MuiToolbar-regular-_react-injected-view-topMenuBarContainer-"] { height: 40px !important; min-height: 40px !important; }

        body.manager #menuContentSplitter #toggleMenu, body.manager #menuContentSplitter .toggleMenu { visibility: visible !important; opacity: 1 !important; }
        body.manager #menuContentSplitter #toggleMenu.show, body.manager #menuContentSplitter .toggleMenu.show { visibility: visible !important; opacity: 1 !important; }

        .intercom-lightweight-app-launcher { bottom: 50px !important; }
    `);

    adjustStyles();

})();